elastic-arm-894d4556: building 47l07piyf39h5l4swsfj4rspyvlr99vb-python3.14-primp-2.0.1.drv Sourcing python-remove-tests-dir-hook Sourcing python-catch-conflicts-hook.sh Sourcing python-remove-bin-bytecode-hook.sh Sourcing pypa-build-hook Using pypaBuildPhase Sourcing python-runtime-deps-check-hook Using pythonRuntimeDepsCheckHook Sourcing pypa-install-hook Using pypaInstallPhase Sourcing python-imports-check-hook.sh Using pythonImportsCheckPhase Sourcing python-metadata-check-hook.sh Using pythonMetadataCheckPhase Sourcing python-namespaces-hook Sourcing python-catch-conflicts-hook.sh Sourcing pytest-check-hook Using pytestCheckPhase Running phase: unpackPhase unpacking source archive /nix/store/1mi085f09gzzh8kd1rlxjzwwfsghn98d-source source root is source Executing cargoSetupPostUnpackHook Finished cargoSetupPostUnpackHook setting SOURCE_DATE_EPOCH to timestamp 315619200 of file "source/crates/primp/tests/zstd.rs" unpackPhase completed in 43 seconds Running phase: patchPhase Executing cargoSetupPostPatchHook Validating consistency between /build/source/Cargo.lock and /build/primp-2.0.1-vendor/Cargo.lock Finished cargoSetupPostPatchHook Running phase: updateAutotoolsGnuConfigScriptsPhase Running phase: configurePhase no configure script, doing nothing Running phase: buildPhase Executing maturinBuildHook /build/source/crates/primp-python /build/source maturinBuildHook flags: --jobs=16 --offline --target aarch64-unknown-linux-gnu --manylinux off --strip --out /build/source/dist --interpreter python3.14 --release 🐍 Found CPython 3.14 at /nix/store/9zyabiswyisqky2gd1d3z1ig5rm7dd94-python3-3.14.10/bin/python3.14 🔗 Found pyo3 bindings with abi3-py3.10 support 📡 Using build options features from pyproject.toml Compiling proc-macro2 v1.0.107 Compiling unicode-ident v1.0.24 Compiling quote v1.0.47 Compiling libc v0.2.189 Compiling cfg-if v1.0.4 Compiling smallvec v1.16.1 Compiling find-msvc-tools v0.1.12 Compiling shlex v2.0.1 Compiling parking_lot_core v0.9.12 Compiling scopeguard v1.2.0 Compiling pkg-config v0.3.34 Compiling portable-atomic v1.15.0 Compiling serde_core v1.0.229 Compiling critical-section v1.2.0 Compiling stable_deref_trait v1.2.1 Compiling pin-project-lite v0.2.17 Compiling bytes v1.12.1 Compiling log v0.4.34 Compiling lock_api v0.4.14 Compiling autocfg v1.5.1 Compiling futures-core v0.3.34 Compiling target-lexicon v0.13.5 Compiling fs_extra v1.3.0 Compiling litemap v0.8.3 Compiling itoa v1.0.18 Compiling dunce v1.0.5 Compiling equivalent v1.0.2 Compiling writeable v0.6.4 Compiling icu_properties_data v2.3.0 Compiling utf8_iter v1.0.4 Compiling hashbrown v0.17.1 Compiling icu_normalizer_data v2.3.0 Compiling serde v1.0.229 Compiling aws-lc-rs v1.18.1 Compiling slab v0.4.12 Compiling num-traits v0.2.19 Compiling percent-encoding v2.3.2 Compiling siphasher v1.0.3 Compiling rand_core v0.10.1 Compiling fastrand v2.5.0 Compiling version_check v0.9.5 Compiling getrandom v0.4.3 Compiling futures-sink v0.3.34 Compiling form_urlencoded v1.2.2 Compiling phf_shared v0.13.1 Compiling rustversion v1.0.23 Compiling untrusted v0.7.1 Compiling futures-task v0.3.34 Compiling zstd-safe v8.0.0 Compiling alloc-no-stdlib v2.0.4 Compiling heck v0.5.0 Compiling pyo3-build-config v0.29.2 Compiling http v1.5.0 Compiling phf_generator v0.13.1 Compiling crc32fast v1.5.2 Compiling crossbeam-utils v0.8.23 Compiling untrusted v0.9.0 Compiling anyhow v1.0.104 Compiling thiserror v2.0.20 Compiling atomic-waker v1.1.2 Compiling phf_codegen v0.13.1 Compiling syn v2.0.119 Compiling syn v3.0.5 Compiling once_cell v1.21.4 Compiling string_cache_codegen v0.6.1 Compiling alloc-stdlib v0.2.4 Compiling futures-channel v0.3.34 Compiling memchr v2.8.3 Compiling simd-adler32 v0.3.10 Compiling tracing-core v0.1.36 Compiling fnv v1.0.7 Compiling rustls v0.23.44 Compiling new_debug_unreachable v1.0.6 Compiling adler2 v2.0.1 Compiling subtle v2.6.1 Compiling jobserver v0.1.35 Compiling web_atoms v0.2.6 Compiling miniz_oxide v0.9.1 Compiling errno v0.3.14 Compiling mio v1.2.3 Compiling cc v1.4.5 Compiling signal-hook-registry v1.4.8 Compiling socket2 v0.6.5 Compiling parking_lot v0.12.5 Compiling pyo3-ffi v0.29.2 Compiling pyo3 v0.29.2 Compiling num-integer v0.1.47 Compiling http-body v1.1.0 Compiling brotli-decompressor v5.0.3 Compiling chacha20 v0.10.2 Compiling num-conv v0.2.2 Compiling crossbeam-epoch v0.9.21 Compiling num-bigint v0.4.8 Compiling either v1.18.0 Compiling tinyvec_macros v0.1.1 Compiling time-core v0.1.9 Compiling alloc-no-stdlib v3.0.0 Compiling httparse v1.10.1 Compiling precomputed-hash v0.1.1 Compiling inventory v0.3.24 Compiling zmij v1.0.23 Compiling string_cache v0.9.0 Compiling alloc-stdlib v0.3.0 Compiling tinyvec v1.13.2 Compiling time-macros v0.2.32 Compiling rand v0.10.2 Compiling flate2 v1.1.10 Compiling phf v0.13.1 Compiling cookie v0.18.2 Compiling psl-types v2.0.11 Compiling radium v0.7.0 Compiling cmake v0.1.58 Compiling getrandom v0.3.4 Compiling deranged v0.5.8 Compiling unicase v2.9.0 Compiling serde_json v1.0.151 Compiling compression-core v0.4.33 Compiling brotli v8.0.4 Compiling powerfmt v0.2.0 Compiling zerocopy v0.8.57 Compiling data-encoding v2.11.1 Compiling tower-service v0.3.3 Compiling try-lock v0.2.5 Compiling mime_guess v2.0.5 Compiling want v0.3.1 Compiling indexmap v2.14.2 Compiling crossbeam-channel v0.5.17 Compiling brotli-decompressor v6.0.0 Compiling aws-lc-sys v0.45.0 Compiling zstd-sys v2.1.0+zstd.1.5.7 Compiling uuid v1.26.1 Compiling encoding_rs v0.8.41 Compiling tendril v0.5.1 Compiling ahash v0.8.12 error: failed to run custom build command for `zstd-sys v2.1.0+zstd.1.5.7` Caused by: process didn't exit successfully: `/build/source/target/release/build/zstd-sys-ff80f613a6a607c5/build-script-build` (exit status: 101) --- stdout cargo:rerun-if-env-changed=ZSTD_SYS_USE_PKG_CONFIG cargo:rerun-if-env-changed=LIBZSTD_NO_PKG_CONFIG cargo:rerun-if-env-changed=PKG_CONFIG_aarch64-unknown-linux-gnu cargo:rerun-if-env-changed=PKG_CONFIG_aarch64_unknown_linux_gnu cargo:rerun-if-env-changed=HOST_PKG_CONFIG cargo:rerun-if-env-changed=PKG_CONFIG cargo:rerun-if-env-changed=PKG_CONFIG_PATH_aarch64-unknown-linux-gnu cargo:rerun-if-env-changed=PKG_CONFIG_PATH_aarch64_unknown_linux_gnu cargo:rerun-if-env-changed=HOST_PKG_CONFIG_PATH cargo:rerun-if-env-changed=PKG_CONFIG_PATH cargo:rerun-if-env-changed=PKG_CONFIG_LIBDIR_aarch64-unknown-linux-gnu cargo:rerun-if-env-changed=PKG_CONFIG_LIBDIR_aarch64_unknown_linux_gnu cargo:rerun-if-env-changed=HOST_PKG_CONFIG_LIBDIR cargo:rerun-if-env-changed=PKG_CONFIG_LIBDIR cargo:rerun-if-env-changed=PKG_CONFIG_SYSROOT_DIR_aarch64-unknown-linux-gnu cargo:rerun-if-env-changed=PKG_CONFIG_SYSROOT_DIR_aarch64_unknown_linux_gnu cargo:rerun-if-env-changed=HOST_PKG_CONFIG_SYSROOT_DIR cargo:rerun-if-env-changed=PKG_CONFIG_SYSROOT_DIR cargo:rerun-if-env-changed=PKG_CONFIG_PATH_aarch64-unknown-linux-gnu cargo:rerun-if-env-changed=PKG_CONFIG_PATH_aarch64_unknown_linux_gnu cargo:rerun-if-env-changed=HOST_PKG_CONFIG_PATH cargo:rerun-if-env-changed=PKG_CONFIG_PATH cargo:rerun-if-env-changed=PKG_CONFIG_LIBDIR_aarch64-unknown-linux-gnu cargo:rerun-if-env-changed=PKG_CONFIG_LIBDIR_aarch64_unknown_linux_gnu cargo:rerun-if-env-changed=HOST_PKG_CONFIG_LIBDIR cargo:rerun-if-env-changed=PKG_CONFIG_LIBDIR cargo:rerun-if-env-changed=PKG_CONFIG_SYSROOT_DIR_aarch64-unknown-linux-gnu cargo:rerun-if-env-changed=PKG_CONFIG_SYSROOT_DIR_aarch64_unknown_linux_gnu cargo:rerun-if-env-changed=HOST_PKG_CONFIG_SYSROOT_DIR cargo:rerun-if-env-changed=PKG_CONFIG_SYSROOT_DIR --- stderr thread 'main' (1741) panicked at /build/primp-2.0.1-vendor/source-registry-0/zstd-sys-2.1.0+zstd.1.5.7/build.rs:201:10: Can't probe for zstd in pkg-config: Could not run `PKG_CONFIG_ALLOW_SYSTEM_LIBS=1 PKG_CONFIG_ALLOW_SYSTEM_CFLAGS=1 pkg-config --static --libs --cflags libzstd` The pkg-config command could not be found. Most likely, you need to install a pkg-config package for your OS. Try `apt install pkg-config`, or `yum install pkg-config`, or `brew install pkgconf` or `pkg install pkg-config`, or `apk add pkgconfig` depending on your distribution. If you've already installed it, ensure the pkg-config command is one of the directories in the PATH environment variable. If you did not expect this build to link to a pre-installed system library, then check documentation of the zstd-sys crate for an option to build the library from source, or disable features or dependencies that require pkg-config. note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace warning: build failed, waiting for other jobs to finish... 💥 maturin failed Caused by: Failed to build a native library through cargo Caused by: Cargo build finished with "exit status: 101": `env -u CARGO PYO3_BUILD_EXTENSION_MODULE="1" PYO3_CONFIG_FILE="/build/source/target/maturin/pyo3-config-aarch64-unknown-linux-gnu-3.14-abi3.txt" PYO3_ENVIRONMENT_SIGNATURE="cpython-3.14-64bit" PYO3_PYTHON="/nix/store/9zyabiswyisqky2gd1d3z1ig5rm7dd94-python3-3.14.10/bin/python3.14" PYTHON_SYS_EXECUTABLE="/nix/store/9zyabiswyisqky2gd1d3z1ig5rm7dd94-python3-3.14.10/bin/python3.14" "cargo" "rustc" "--jobs" "16" "--profile" "release" "--target" "aarch64-unknown-linux-gnu" "--message-format" "json-render-diagnostics" "--offline" "--manifest-path" "/build/source/crates/primp-python/Cargo.toml" "--lib" "--" "-C" "strip=symbols"`