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 quote v1.0.45 Compiling unicode-ident v1.0.24 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 find-msvc-tools v0.1.9 Compiling smallvec v1.15.1 Compiling bitflags v2.11.1 Compiling stable_deref_trait v1.2.1 Compiling itoa v1.0.18 Compiling zerocopy v0.8.48 Compiling libm v0.2.16 Compiling getrandom v0.3.4 Compiling autocfg v1.5.0 Compiling pin-project-lite v0.2.17 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 parking_lot_core v0.9.12 Compiling futures-core v0.3.32 Compiling serde_json v1.0.150 Compiling crossbeam-epoch v0.9.20 Compiling lock_api v0.4.14 Compiling rayon-core v1.13.0 Compiling regex-syntax v0.8.10 Compiling litemap v0.8.2 Compiling writeable v0.6.3 Compiling strsim v0.11.1 Compiling either v1.16.0 Compiling tracing-core v0.1.36 Compiling futures-sink v0.3.32 Compiling generic-array v0.14.7 Compiling utf8_iter v1.0.4 Compiling ident_case v1.0.1 Compiling percent-encoding v2.3.2 Compiling subtle v2.6.1 Compiling paste v1.0.15 Compiling futures-channel v0.3.32 Compiling ahash v0.8.12 Compiling utf16_iter v1.0.5 Compiling futures-io v0.3.32 Compiling futures-task v0.3.32 Compiling num-traits v0.2.19 Compiling aho-corasick v1.1.4 Compiling getrandom v0.4.2 Compiling thiserror v2.0.18 Compiling slab v0.4.12 Compiling vcpkg v0.2.15 Compiling write16 v1.0.0 Compiling rand_core v0.10.1 Compiling rustversion v1.0.22 Compiling pulp v0.22.3 Compiling unicase v2.9.0 Compiling raw-cpuid v11.6.0 Compiling http v1.4.0 Compiling reborrow v0.5.5 Compiling dyn-stack-macros v0.1.3 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 typenum v1.20.0 Compiling untrusted v0.9.0 Compiling tower-service v0.3.3 Compiling httparse v1.10.1 Compiling rustls-pki-types v1.14.1 Compiling anyhow v1.0.103 Compiling thiserror v1.0.69 Compiling rustls v0.23.46 Compiling httpdate v1.0.3 Compiling try-lock v0.2.5 Compiling ryu v1.0.23 Compiling crc32fast v1.5.0 Compiling base64 v0.22.1 Compiling want v0.3.1 Compiling sync_wrapper v1.0.2 Compiling bit-vec v0.8.0 Compiling atomic-waker v1.1.2 Compiling mime v0.3.17 Compiling simd-adler32 v0.3.9 Compiling tower-layer v0.3.3 Compiling ref-cast v1.0.25 Compiling mime_guess v2.0.5 Compiling adler2 v2.0.1 Compiling ipnet v2.12.0 Compiling esaxx-rs v0.1.10 Compiling pastey v0.2.3 Compiling openssl-probe v0.2.1 Compiling minimal-lexical v0.2.1 Compiling jobserver v0.1.34 Compiling syn v2.0.117 Compiling syn v3.0.4 Compiling rustc-hash v2.1.2 Compiling rustls-native-certs v0.8.4 Compiling bit-set v0.8.0 Compiling crossbeam-deque v0.8.6 Compiling miniz_oxide v0.8.9 Compiling itertools v0.14.0 Compiling type-map v0.5.1 Compiling powerfmt v0.2.0 Compiling winnow v0.7.15 Compiling nom v7.1.3 Compiling castaway v0.2.4 Compiling fastrand v2.4.1 Compiling foldhash v0.2.0 Compiling same-file v1.0.6 Compiling cc v1.2.62 Compiling mio v1.2.0 Compiling errno v0.3.14 Compiling socket2 v0.6.3 Compiling getrandom v0.2.17 Compiling signal-hook-registry v1.4.8 Compiling zlib-rs v0.6.3 Compiling bumpalo v3.20.2 Compiling allocator-api2 v0.2.21 Compiling rand_core v0.9.5 Compiling heck v0.5.0 Compiling toml_write v0.1.2 Compiling parking_lot v0.12.5 Compiling static_assertions v1.1.0 Compiling unicode_categories v0.1.1 Compiling http-body v1.0.1 Compiling anstyle v1.0.14 Compiling sha1_smol v1.0.1 Compiling base64 v0.13.1 Compiling macro_rules_attribute-proc_macro v0.2.3 Compiling http-body-util v0.1.3 Compiling unicode-segmentation v1.13.3 Compiling dyn-clone v1.0.20 Compiling zopfli v0.8.3 Compiling deranged v0.5.8 Compiling walkdir v2.5.0 Compiling crypto-common v0.1.7 Compiling block-buffer v0.10.4 Compiling rayon v1.12.0 Compiling macro_rules_attribute v0.2.3 Compiling digest v0.10.7 Compiling unicode-normalization-alignments v0.1.12 Compiling typed-path v0.12.3 Compiling time-core v0.1.8 Compiling fallible-streaming-iterator v0.1.9 Compiling cpufeatures v0.2.17 Compiling self_cell v1.3.0 Compiling http-range-header v0.4.2 Compiling num-conv v0.2.2 Compiling fallible-iterator v0.3.0 Compiling num_cpus v1.17.0 Compiling memmap2 v0.9.11 Compiling encoding_rs v0.8.42 Compiling byteorder v1.5.0 Compiling siphasher v1.0.3 Compiling sha2 v0.10.9 Compiling regex-automata v0.4.14 Compiling rand_core v0.6.4 Compiling inotify-sys v0.1.5 Compiling core_detect v1.0.0 Compiling base64ct v1.8.3 Compiling multiversion_no_op v1.0.0 Compiling simdutf8 v0.1.5 Compiling inotify v0.11.1 Compiling blake2 v0.10.6 Compiling notify-types v2.1.0 Compiling option-ext v0.2.0 Compiling arraydeque v0.5.1 Compiling unicode-width v0.2.2 Compiling time v0.3.47 Compiling dirs-sys v0.4.1 Compiling fs2 v0.4.3 Compiling filetime v0.2.29 Compiling ring v0.17.14 Compiling onig_sys v69.9.3 Compiling libsqlite3-sys v0.30.1 Compiling libz-sys v1.1.31 Compiling libgit2-sys v0.18.4+1.9.3 Compiling password-hash v0.5.0 Compiling annotate-snippets v0.12.16 Compiling notify v8.2.0 Compiling granit-parser v1.3.0 Compiling nohash-hasher v0.2.0 Compiling file-id v0.2.3 Compiling dirs v5.0.1 Compiling proc-macro2-diagnostics v0.10.1 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' (2460) 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...