Using versionCheckHook Running phase: unpackPhase unpacking source archive /nix/store/favvlmnf8qmxmbg1kwhzlf8gzvnv6gm3-source source root is source Executing cargoSetupPostUnpackHook Finished cargoSetupPostUnpackHook Running phase: patchPhase Executing cargoSetupPostPatchHook Validating consistency between /build/source/Cargo.lock and /build/ai-memory-3.4.4-vendor/Cargo.lock Finished cargoSetupPostPatchHook Running phase: updateAutotoolsGnuConfigScriptsPhase Running phase: configurePhase Running phase: buildPhase Executing cargoBuildHook cargoBuildHook flags: -j 32 --target x86_64-unknown-linux-gnu --offline --profile release --package ai-memory-cli Compiling proc-macro2 v1.0.106 Compiling unicode-ident v1.0.24 Compiling quote v1.0.45 Compiling libc v0.2.186 Compiling cfg-if v1.0.4 Compiling version_check v0.9.5 Compiling serde_core v1.0.228 Compiling memchr v2.8.0 Compiling once_cell v1.21.4 Compiling log v0.4.29 Compiling shlex v1.3.0 Compiling serde v1.0.228 Compiling smallvec v1.15.1 Compiling find-msvc-tools v0.1.9 Compiling bitflags v2.11.1 Compiling stable_deref_trait v1.2.1 Compiling itoa v1.0.18 Compiling libm v0.2.16 Compiling zerocopy v0.8.48 Compiling getrandom v0.3.4 Compiling pin-project-lite v0.2.17 Compiling autocfg v1.5.0 Compiling equivalent v1.0.2 Compiling hashbrown v0.17.1 Compiling zmij v1.0.21 Compiling pkg-config v0.3.33 Compiling icu_normalizer_data v2.2.0 Compiling crossbeam-utils v0.8.21 Compiling icu_properties_data v2.2.0 Compiling scopeguard v1.2.0 Compiling bytes v1.11.1 Compiling futures-core v0.3.32 Compiling parking_lot_core v0.9.12 Compiling serde_json v1.0.150 Compiling crossbeam-epoch v0.9.20 Compiling regex-syntax v0.8.10 Compiling tracing-core v0.1.36 Compiling lock_api v0.4.14 Compiling litemap v0.8.2 Compiling writeable v0.6.3 Compiling rayon-core v1.13.0 Compiling generic-array v0.14.7 Compiling ident_case v1.0.1 Compiling utf8_iter v1.0.4 Compiling futures-sink v0.3.32 Compiling either v1.16.0 Compiling strsim v0.11.1 Compiling percent-encoding v2.3.2 Compiling paste v1.0.15 Compiling num-traits v0.2.19 Compiling subtle v2.6.1 Compiling ahash v0.8.12 Compiling aho-corasick v1.1.4 Compiling rand_core v0.10.1 Compiling rustversion v1.0.22 Compiling vcpkg v0.2.15 Compiling thiserror v2.0.18 Compiling futures-channel v0.3.32 Compiling write16 v1.0.0 Compiling getrandom v0.4.2 Compiling utf16_iter v1.0.5 Compiling futures-task v0.3.32 Compiling futures-io v0.3.32 Compiling slab v0.4.12 Compiling http v1.4.0 Compiling pulp v0.22.3 Compiling unicase v2.9.0 Compiling raw-cpuid v11.6.0 Compiling dyn-stack-macros v0.1.3 Compiling reborrow v0.5.5 Compiling zeroize v1.8.2 Compiling pulp-wasm-simd-flag v0.1.1 Compiling form_urlencoded v1.2.2 Compiling rustix v1.1.4 Compiling fnv v1.0.7 Compiling seq-macro v0.3.6 Compiling linux-raw-sys v0.12.1 Compiling httparse v1.10.1 Compiling typenum v1.20.0 Compiling untrusted v0.9.0 Compiling tower-service v0.3.3 Compiling syn v2.0.117 Compiling syn v3.0.4 Compiling rustls-pki-types v1.14.1 Compiling anyhow v1.0.103 Compiling rustls v0.23.46 Compiling crc32fast v1.5.0 Compiling jobserver v0.1.34 Compiling crossbeam-deque v0.8.6 Compiling try-lock v0.2.5 Compiling thiserror v1.0.69 Compiling ryu v1.0.23 Compiling httpdate v1.0.3 Compiling base64 v0.22.1 Compiling errno v0.3.14 Compiling mio v1.2.0 Compiling socket2 v0.6.3 Compiling getrandom v0.2.17 Compiling cc v1.2.62 Compiling signal-hook-registry v1.4.8 Compiling want v0.3.1 Compiling sync_wrapper v1.0.2 Compiling mime v0.3.17 Compiling simd-adler32 v0.3.9 Compiling rand_core v0.9.5 Compiling ref-cast v1.0.25 Compiling tower-layer v0.3.3 Compiling bit-vec v0.8.0 Compiling http-body v1.0.1 Compiling atomic-waker v1.1.2 Compiling parking_lot v0.12.5 Compiling regex-automata v0.4.14 Compiling http-body-util v0.1.3 Compiling mime_guess v2.0.5 Compiling ipnet v2.12.0 Compiling pastey v0.2.3 Compiling minimal-lexical v0.2.1 Compiling openssl-probe v0.2.1 Compiling adler2 v2.0.1 Compiling rustc-hash v2.1.2 Compiling bit-set v0.8.0 Compiling esaxx-rs v0.1.10 Compiling miniz_oxide v0.8.9 Compiling nom v7.1.3 Compiling type-map v0.5.1 Compiling rayon v1.12.0 Compiling rustls-native-certs v0.8.4 Compiling castaway v0.2.4 Compiling itertools v0.14.0 Compiling static_assertions v1.1.0 Compiling foldhash v0.2.0 Compiling same-file v1.0.6 Compiling toml_write v0.1.2 Compiling bumpalo v3.20.2 Compiling base64 v0.13.1 Compiling heck v0.5.0 Compiling allocator-api2 v0.2.21 Compiling macro_rules_attribute-proc_macro v0.2.3 Compiling unicode_categories v0.1.1 Compiling indexmap v2.14.0 Compiling crypto-common v0.1.7 Compiling block-buffer v0.10.4 Compiling powerfmt v0.2.0 Compiling dyn-clone v1.0.20 Compiling winnow v0.7.15 Compiling fastrand v2.4.1 Compiling unicode-segmentation v1.13.3 Compiling anstyle v1.0.14 Compiling sha1_smol v1.0.1 Compiling zlib-rs v0.6.3 Compiling macro_rules_attribute v0.2.3 Compiling zopfli v0.8.3 Compiling hashbrown v0.16.1 Compiling digest v0.10.7 Compiling ring v0.17.14 Compiling onig_sys v69.9.3 Compiling libsqlite3-sys v0.30.1 Compiling deranged v0.5.8 Compiling libz-sys v1.1.31 Compiling walkdir v2.5.0 Compiling uuid v1.23.1 Compiling unicode-normalization-alignments v0.1.12 Compiling fallible-iterator v0.3.0 Compiling num-conv v0.2.2 Compiling time-core v0.1.8 Compiling http-range-header v0.4.2 error: failed to run custom build command for `onig_sys v69.9.3` Caused by: process didn't exit successfully: `/build/source/target/release/build/onig_sys-8b8a1fea06428a0a/build-script-build` (exit status: 101) --- stdout cargo:rerun-if-env-changed=RUSTONIG_DYNAMIC_LIBONIG cargo:rerun-if-env-changed=RUSTONIG_STATIC_LIBONIG cargo:rerun-if-env-changed=RUSTONIG_SYSTEM_LIBONIG cargo:rerun-if-env-changed=ONIGURUMA_NO_PKG_CONFIG cargo:rerun-if-env-changed=PKG_CONFIG_x86_64-unknown-linux-gnu cargo:rerun-if-env-changed=PKG_CONFIG_x86_64_unknown_linux_gnu cargo:rerun-if-env-changed=HOST_PKG_CONFIG cargo:rerun-if-env-changed=PKG_CONFIG cargo:rerun-if-env-changed=ONIGURUMA_STATIC cargo:rerun-if-env-changed=ONIGURUMA_DYNAMIC cargo:rerun-if-env-changed=PKG_CONFIG_ALL_STATIC cargo:rerun-if-env-changed=PKG_CONFIG_ALL_DYNAMIC cargo:rerun-if-env-changed=PKG_CONFIG_PATH_x86_64-unknown-linux-gnu cargo:rerun-if-env-changed=PKG_CONFIG_PATH_x86_64_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_x86_64-unknown-linux-gnu cargo:rerun-if-env-changed=PKG_CONFIG_LIBDIR_x86_64_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_x86_64-unknown-linux-gnu cargo:rerun-if-env-changed=PKG_CONFIG_SYSROOT_DIR_x86_64_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=ONIGURUMA_STATIC cargo:rerun-if-env-changed=ONIGURUMA_DYNAMIC cargo:rerun-if-env-changed=PKG_CONFIG_ALL_STATIC cargo:rerun-if-env-changed=PKG_CONFIG_ALL_DYNAMIC cargo:rerun-if-env-changed=PKG_CONFIG_PATH_x86_64-unknown-linux-gnu cargo:rerun-if-env-changed=PKG_CONFIG_PATH_x86_64_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_x86_64-unknown-linux-gnu cargo:rerun-if-env-changed=PKG_CONFIG_LIBDIR_x86_64_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_x86_64-unknown-linux-gnu cargo:rerun-if-env-changed=PKG_CONFIG_SYSROOT_DIR_x86_64_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' (2077) panicked at /build/ai-memory-3.4.4-vendor/source-registry-0/onig_sys-69.9.3/build.rs:281:17: Unable to find oniguruma in pkg-config, and RUSTONIG_SYSTEM_LIBONIG is set: Could not run `PKG_CONFIG_ALLOW_SYSTEM_LIBS=1 PKG_CONFIG_ALLOW_SYSTEM_CFLAGS=1 pkg-config --libs --cflags oniguruma 'oniguruma >= 6.9.3'` 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 onig_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...