Using versionCheckHook Running phase: unpackPhase unpacking source archive /nix/store/qh20qcqmji3s1y2rgfz40xzznshxx0sp-source source root is source Executing cargoSetupPostUnpackHook Finished cargoSetupPostUnpackHook Running phase: patchPhase Executing cargoSetupPostPatchHook Validating consistency between /build/source/Cargo.lock and /build/prime-agent-unwrapped-0.10.0-vendor/Cargo.lock Finished cargoSetupPostPatchHook Running phase: updateAutotoolsGnuConfigScriptsPhase Running phase: configurePhase Running phase: buildPhase Executing cargoBuildHook cargoBuildHook flags: -j 48 --target x86_64-unknown-linux-gnu --offline --profile release -p pa-cli --bin prime-agent Compiling proc-macro2 v1.0.107 Compiling quote v1.0.47 Compiling unicode-ident v1.0.24 Compiling libc v0.2.189 Compiling cfg-if v1.0.4 Compiling memchr v2.8.3 Compiling smallvec v1.16.1 Compiling log v0.4.34 Compiling pin-project-lite v0.2.17 Compiling parking_lot_core v0.9.12 Compiling itoa v1.0.18 Compiling futures-core v0.3.34 Compiling bytes v1.12.1 Compiling scopeguard v1.2.0 Compiling stable_deref_trait v1.2.1 Compiling zeroize v1.9.0 Compiling equivalent v1.0.2 Compiling futures-sink v0.3.34 Compiling shlex v2.0.1 Compiling find-msvc-tools v0.1.12 Compiling futures-task v0.3.34 Compiling futures-io v0.3.34 Compiling subtle v2.6.1 Compiling slab v0.4.12 Compiling version_check v0.9.5 Compiling once_cell v1.21.4 Compiling litemap v0.8.3 Compiling bitflags v2.13.2 Compiling hashbrown v0.17.1 Compiling writeable v0.6.4 Compiling const-oid v0.9.6 Compiling typenum v1.20.1 Compiling icu_normalizer_data v2.3.0 Compiling serde_core v1.0.229 Compiling icu_properties_data v2.3.0 Compiling zerocopy v0.8.57 Compiling utf8_iter v1.0.4 Compiling percent-encoding v2.3.2 Compiling httparse v1.10.1 Compiling untrusted v0.9.0 Compiling serde v1.0.229 Compiling rustls v0.23.45 Compiling crc32fast v1.5.2 Compiling simd-adler32 v0.3.10 Compiling adler2 v2.0.1 Compiling zmij v1.0.23 Compiling ryu v1.0.23 Compiling try-lock v0.2.5 Compiling lock_api v0.4.14 Compiling regex-syntax v0.8.11 Compiling libm v0.2.16 Compiling autocfg v1.5.1 Compiling tower-service v0.3.3 Compiling futures-channel v0.3.34 Compiling fnv v1.0.7 Compiling serde_json v1.0.151 Compiling getrandom v0.3.4 Compiling thiserror v2.0.20 Compiling atomic-waker v1.1.2 Compiling want v0.3.1 Compiling rustls-pki-types v1.15.1 Compiling anyhow v1.0.104 Compiling cc v1.4.6 Compiling form_urlencoded v1.2.2 Compiling miniz_oxide v0.9.1 Compiling compression-core v0.4.33 Compiling tracing-core v0.1.36 Compiling base64 v0.22.1 Compiling base64ct v1.8.3 Compiling sync_wrapper v1.0.2 Compiling tower-layer v0.3.3 Compiling ipnet v2.12.2 Compiling cpufeatures v0.2.17 Compiling crossbeam-utils v0.8.23 Compiling rustversion v1.0.23 Compiling num-bigint-dig v0.8.6 Compiling rustix v1.1.4 Compiling spin v0.9.9 Compiling getrandom v0.4.3 Compiling crossbeam-epoch v0.9.21 Compiling signal-hook v0.3.18 Compiling data-encoding v2.11.1 Compiling linux-raw-sys v0.12.1 Compiling ident_case v1.0.1 Compiling crossbeam-deque v0.8.8 Compiling strsim v0.11.1 Compiling heck v0.5.0 Compiling generic-array v0.14.7 Compiling lazy_static v1.5.0 Compiling utf-8 v0.7.6 Compiling same-file v1.0.6 Compiling utf8parse v0.2.2 Compiling rustix v0.38.44 Compiling bit-vec v0.8.0 Compiling cfg_aliases v0.2.2 Compiling colorchoice v1.0.5 Compiling linux-raw-sys v0.4.15 Compiling is_terminal_polyfill v1.70.2 Compiling nix v0.29.0 Compiling paste v1.0.15 Compiling anstyle-parse v1.0.0 Compiling walkdir v2.5.0 Compiling foldhash v0.1.5 Compiling allocator-api2 v0.2.21 Compiling instability v0.3.13 Compiling anstyle-query v1.1.5 Compiling either v1.18.0 Compiling anstyle v1.0.14 Compiling pem-rfc7468 v0.7.0 Compiling hex v0.4.3 Compiling unsafe-libyaml v0.2.11 Compiling unicode-segmentation v1.13.3 Compiling indoc v2.0.7 Compiling tinyvec v1.13.3 Compiling clap_lex v1.1.1 Compiling num-traits v0.2.19 Compiling unicode-width v0.1.14 Compiling webpki-roots v1.0.9 Compiling bit-set v0.8.0 Compiling aho-corasick v1.1.5 Compiling bstr v1.13.1 Compiling static_assertions v1.1.0 Compiling der v0.7.10 Compiling webpki-roots v0.26.11 Compiling anstream v1.0.0 Compiling itertools v0.13.0 Compiling cassowary v0.3.0 Compiling unicode-width v0.2.0 Compiling flate2 v1.1.10 Compiling unicode-properties v0.1.4 Compiling http v1.5.0 Compiling indexmap v2.14.2 Compiling clap_builder v4.6.7 Compiling hashbrown v0.15.5 Compiling unicode-normalization v0.1.25 Compiling syn v3.0.5 Compiling syn v2.0.119 Compiling compression-codecs v0.4.42 Compiling castaway v0.2.4 Compiling compact_str v0.8.2 Compiling crypto-common v0.1.7 Compiling block-buffer v0.10.4 Compiling digest v0.10.7 Compiling ring v0.17.14 Compiling lru v0.12.5 Compiling sha1 v0.10.7 Compiling sha2 v0.10.9 Compiling hmac v0.12.1 Compiling http-body v1.1.0 Compiling http-body-util v0.1.5 Compiling spki v0.7.3 Compiling errno v0.3.14 Compiling mio v1.2.3 Compiling getrandom v0.2.17 Compiling socket2 v0.6.5 Compiling filetime v0.2.29 Compiling pkcs8 v0.10.2 Compiling signal-hook-registry v1.4.8 Compiling uuid v1.26.1 Compiling regex-automata v0.4.18 Compiling rand_core v0.9.5 Compiling num-integer v0.1.47 Compiling rand_core v0.6.4 Compiling pkcs1 v0.7.5 Compiling parking_lot v0.12.5 Compiling signature v2.2.0 Compiling num-iter v0.1.46 Compiling signal-hook-mio v0.2.5 Compiling xattr v1.6.1 Compiling crossterm v0.28.1 (/build/source/vendor/crossterm) Compiling tar v0.4.46 warning: unexpected `cfg` condition name: `winapi` --> vendor/crossterm/src/lib.rs:256:11 | 256 | #[cfg(all(winapi, not(feature = "winapi")))] | ^^^^^^ | = help: expected names are: `docsrs`, `feature`, and `test` and 32 more = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(winapi)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(winapi)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: `#[warn(unexpected_cfgs)]` on by default warning: unexpected `cfg` condition value: `winapi` --> vendor/crossterm/src/lib.rs:256:23 | 256 | #[cfg(all(winapi, not(feature = "winapi")))] | ^^^^^^^^^^^^^^^^^^ | = note: expected values for `feature` are: `bracketed-paste`, `default`, `event-stream`, `events`, `filedescriptor`, `libc`, `serde`, `use-dev-tty`, and `windows` = help: consider adding `winapi` as a feature in `Cargo.toml` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `crossterm_winapi` --> vendor/crossterm/src/lib.rs:259:11 | 259 | #[cfg(all(crossterm_winapi, not(feature = "crossterm_winapi")))] | ^^^^^^^^^^^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(crossterm_winapi)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(crossterm_winapi)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition value: `crossterm_winapi` --> vendor/crossterm/src/lib.rs:259:33 | 259 | #[cfg(all(crossterm_winapi, not(feature = "crossterm_winapi")))] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = note: expected values for `feature` are: `bracketed-paste`, `default`, `event-stream`, `events`, `filedescriptor`, `libc`, `serde`, `use-dev-tty`, and `windows` = help: consider adding `crossterm_winapi` as a feature in `Cargo.toml` = note: see for more information about checking conditional configuration warning: unnecessary parentheses around closure body --> vendor/crossterm/src/terminal/sys/unix.rs:85:50 | 85 | let file = File::open("/dev/tty").map(|file| (FileDesc::Owned(file.into()))); | ^ ^ | = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default help: remove these parentheses | 85 - let file = File::open("/dev/tty").map(|file| (FileDesc::Owned(file.into()))); 85 + let file = File::open("/dev/tty").map(|file| FileDesc::Owned(file.into())); | Compiling unicode-truncate v1.1.0 warning: struct `InternalEventFilter` is never constructed --> vendor/crossterm/src/event/filter.rs:65:19 | 65 | pub(crate) struct InternalEventFilter; | ^^^^^^^^^^^^^^^^^^^ | = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default warning: `crossterm` (lib) generated 6 warnings (run `cargo fix --lib -p crossterm` to apply 1 suggestion) Compiling synstructure v0.14.0 Compiling darling_core v0.24.1 Compiling ppv-lite86 v0.2.21 Compiling tracing-attributes v0.1.31 Compiling strum_macros v0.26.4 Compiling rand_chacha v0.9.0 Compiling rand_chacha v0.3.1 Compiling zerofrom-derive v0.1.8 Compiling yoke-derive v0.8.4 Compiling tokio-macros v2.7.2 Compiling zerovec-derive v0.11.6 Compiling displaydoc v0.2.7 Compiling futures-macro v0.3.34 Compiling serde_derive v1.0.229 Compiling thiserror-impl v2.0.20 Compiling clap_derive v4.6.7 Compiling rand v0.9.5 Compiling rand v0.8.8 Compiling tokio v1.53.1 Compiling futures-util v0.3.34 Compiling regex v1.13.1 Compiling globset v0.4.20 Compiling fancy-regex v0.14.0 Compiling tracing v0.1.44 Compiling zerofrom v0.1.8 Compiling yoke v0.8.3 Compiling strum v0.26.3 Compiling zerovec v0.11.8 Compiling zerotrie v0.2.5 Compiling ignore v0.4.33 Compiling clap v4.6.7 Compiling darling_macro v0.24.1 Compiling rsa v0.9.10 Compiling tinystr v0.8.4 Compiling potential_utf v0.1.6 Compiling icu_collections v2.3.0 Compiling icu_locale_core v2.3.0 Compiling darling v0.24.1 Compiling icu_provider v2.3.1 Compiling serde_urlencoded v0.7.1 Compiling serde_yaml v0.9.34+deprecated Compiling ratatui v0.29.0 Compiling icu_normalizer v2.3.0 Compiling icu_properties v2.3.0 Compiling futures-executor v0.3.34 Compiling futures v0.3.34 Compiling idna_adapter v1.2.2 Compiling idna v1.1.0 Compiling url v2.5.8 Compiling rustls-webpki v0.103.15 Compiling tokio-util v0.7.19 Compiling async-compression v0.4.47 Compiling tower v0.5.3 Compiling pa-types v0.10.0 (/build/source/crates/pa-types) Compiling h2 v0.4.19 Compiling tower-http v0.6.11 Compiling hyper v1.11.1 Compiling tokio-rustls v0.26.5 Compiling tungstenite v0.28.0 Compiling tokio-tungstenite v0.28.0 Compiling hyper-util v0.1.20 Compiling hyper-rustls v0.27.9 Compiling reqwest v0.12.28 Compiling pa-telemetry v0.10.0 (/build/source/crates/pa-telemetry) Compiling pa-agent v0.10.0 (/build/source/crates/pa-agent) Compiling pa-ai v0.10.0 (/build/source/crates/pa-ai) Compiling pa-tui v0.10.0 (/build/source/crates/pa-tui) Compiling pa-models v0.10.0 (/build/source/crates/pa-models) Compiling pa-core v0.10.0 (/build/source/crates/pa-core) Compiling pa-daemon v0.10.0 (/build/source/crates/pa-daemon) Compiling pa-cli v0.10.0 (/build/source/crates/pa-cli) Finished `release` profile [optimized + debuginfo] target(s) in 3m 35s Executing cargoInstallPostBuildHook Finished cargoInstallPostBuildHook Finished cargoBuildHook buildPhase completed in 3 minutes 37 seconds Running phase: installPhase Executing cargoInstallHook Finished cargoInstallHook Running phase: fixupPhase shrinking RPATHs of ELF executables and libraries in /nix/store/x0bbf6b1dp1h1cm57d295pikfimrvhb4-prime-agent-unwrapped-0.10.0 shrinking /nix/store/x0bbf6b1dp1h1cm57d295pikfimrvhb4-prime-agent-unwrapped-0.10.0/bin/prime-agent checking for references to /build/ in /nix/store/x0bbf6b1dp1h1cm57d295pikfimrvhb4-prime-agent-unwrapped-0.10.0... patching script interpreter paths in /nix/store/x0bbf6b1dp1h1cm57d295pikfimrvhb4-prime-agent-unwrapped-0.10.0 stripping (with command strip and flags -S -p) in /nix/store/x0bbf6b1dp1h1cm57d295pikfimrvhb4-prime-agent-unwrapped-0.10.0/bin Running phase: installCheckPhase Executing versionCheckPhase Successfully managed to find version 0.10.0 in the output of the command /nix/store/x0bbf6b1dp1h1cm57d295pikfimrvhb4-prime-agent-unwrapped-0.10.0/bin/prime-agent --version 0.10.0 Finished versionCheckPhase no Makefile or custom installCheckPhase, doing nothing