mac02: building m83pixi8q3j6sdwrbgf2p2k8ivfwb584-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 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" Running phase: patchPhase Executing cargoSetupPostPatchHook Validating consistency between /nix/var/nix/builds/nix-21724-4183820860/source/Cargo.lock and /nix/var/nix/builds/nix-21724-4183820860/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 /nix/var/nix/builds/nix-21724-4183820860/source/crates/primp-python /nix/var/nix/builds/nix-21724-4183820860/source maturinBuildHook flags: --jobs=10 --offline --target aarch64-apple-darwin --manylinux off --strip --out /nix/var/nix/builds/nix-21724-4183820860/source/dist --interpreter python3.14 --release 🐍 Found CPython 3.14 at /nix/store/3j0hvszcqcb2vwm5dz0xxfb06cx49k86-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 shlex v2.0.1 Compiling find-msvc-tools v0.1.12 Compiling parking_lot_core v0.9.12 Compiling pkg-config v0.3.34 Compiling scopeguard v1.2.0 Compiling portable-atomic v1.15.0 Compiling serde_core v1.0.229 Compiling lock_api v0.4.14 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 autocfg v1.5.1 Compiling futures-core v0.3.34 Compiling target-lexicon v0.13.5 Compiling dunce v1.0.5 Compiling equivalent v1.0.2 Compiling writeable v0.6.4 Compiling itoa v1.0.18 Compiling num-traits v0.2.19 Compiling fs_extra v1.3.0 Compiling litemap v0.8.3 Compiling icu_properties_data v2.3.0 Compiling utf8_iter v1.0.4 Compiling icu_normalizer_data v2.3.0 Compiling hashbrown v0.17.1 Compiling serde v1.0.229 Compiling pyo3-build-config v0.29.2 Compiling syn v2.0.119 Compiling syn v3.0.5 Compiling once_cell v1.21.4 Compiling jobserver v0.1.35 Compiling errno v0.3.14 Compiling signal-hook-registry v1.4.8 Compiling mio v1.2.3 Compiling parking_lot v0.12.5 Compiling cc v1.4.5 Compiling socket2 v0.6.5 Compiling aws-lc-rs v1.18.1 Compiling slab v0.4.12 Compiling percent-encoding v2.3.2 Compiling http v1.5.0 Compiling core-foundation-sys v0.8.7 Compiling siphasher v1.0.3 Compiling pyo3-ffi v0.29.2 Compiling phf_shared v0.13.1 Compiling tracing-core v0.1.36 Compiling fastrand v2.5.0 Compiling futures-sink v0.3.34 Compiling rand_core v0.10.1 Compiling version_check v0.9.5 Compiling getrandom v0.4.3 Compiling phf_generator v0.13.1 Compiling form_urlencoded v1.2.2 Compiling untrusted v0.7.1 Compiling rustversion v1.0.23 Compiling zstd-safe v8.0.0 Compiling futures-task v0.3.34 Compiling pyo3 v0.29.2 Compiling crc32fast v1.5.2 Compiling untrusted v0.9.0 Compiling thiserror v2.0.20 Compiling heck v0.5.0 Compiling anyhow v1.0.104 Compiling crossbeam-utils v0.8.23 Compiling atomic-waker v1.1.2 Compiling cmake v0.1.58 Compiling bitflags v2.13.2 Compiling alloc-no-stdlib v2.0.4 Compiling alloc-stdlib v0.2.4 Compiling string_cache_codegen v0.6.1 Compiling phf_codegen v0.13.1 Compiling aws-lc-sys v0.45.0 Compiling zstd-sys v2.1.0+zstd.1.5.7 Compiling num-integer v0.1.47 Compiling futures-channel v0.3.34 Compiling system-configuration-sys v0.6.0 Compiling memchr v2.8.3 error: failed to run custom build command for `zstd-sys v2.1.0+zstd.1.5.7` Caused by: process didn't exit successfully: `/nix/var/nix/builds/nix-21724-4183820860/source/target/release/build/zstd-sys-c385ce4074825191/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-apple-darwin cargo:rerun-if-env-changed=PKG_CONFIG_aarch64_apple_darwin cargo:rerun-if-env-changed=HOST_PKG_CONFIG cargo:rerun-if-env-changed=PKG_CONFIG cargo:rerun-if-env-changed=PKG_CONFIG_PATH_aarch64-apple-darwin cargo:rerun-if-env-changed=PKG_CONFIG_PATH_aarch64_apple_darwin 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-apple-darwin cargo:rerun-if-env-changed=PKG_CONFIG_LIBDIR_aarch64_apple_darwin 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-apple-darwin cargo:rerun-if-env-changed=PKG_CONFIG_SYSROOT_DIR_aarch64_apple_darwin 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-apple-darwin cargo:rerun-if-env-changed=PKG_CONFIG_PATH_aarch64_apple_darwin 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-apple-darwin cargo:rerun-if-env-changed=PKG_CONFIG_LIBDIR_aarch64_apple_darwin 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-apple-darwin cargo:rerun-if-env-changed=PKG_CONFIG_SYSROOT_DIR_aarch64_apple_darwin cargo:rerun-if-env-changed=HOST_PKG_CONFIG_SYSROOT_DIR cargo:rerun-if-env-changed=PKG_CONFIG_SYSROOT_DIR --- stderr thread 'main' (5378532) panicked at /nix/var/nix/builds/nix-21724-4183820860/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 `brew install pkgconf` if you have Homebrew. 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 CARGO_ENCODED_RUSTFLAGS="-Cforce-frame-pointers=yes\u{1f}-C\u{1f}link-arg=-undefined\u{1f}-C\u{1f}link-arg=dynamic_lookup" PYO3_BUILD_EXTENSION_MODULE="1" PYO3_CONFIG_FILE="/nix/var/nix/builds/nix-21724-4183820860/source/target/maturin/pyo3-config-aarch64-apple-darwin-3.14-abi3.txt" PYO3_ENVIRONMENT_SIGNATURE="cpython-3.14-64bit" PYO3_PYTHON="/nix/store/3j0hvszcqcb2vwm5dz0xxfb06cx49k86-python3-3.14.10/bin/python3.14" PYTHON_SYS_EXECUTABLE="/nix/store/3j0hvszcqcb2vwm5dz0xxfb06cx49k86-python3-3.14.10/bin/python3.14" "cargo" "rustc" "--jobs" "10" "--profile" "release" "--target" "aarch64-apple-darwin" "--message-format" "json-render-diagnostics" "--offline" "--manifest-path" "/nix/var/nix/builds/nix-21724-4183820860/source/crates/primp-python/Cargo.toml" "--lib" "--" "-C" "link-args=-Wl,-install_name,@rpath/primp.abi3.so" "-C" "strip=symbols"`