Using versionCheckHook Running phase: unpackPhase unpacking source archive /nix/store/bpwfanbm43c4a9snnrh5lrkqp3h1a4v1-source source root is source Executing cargoSetupPostUnpackHook Finished cargoSetupPostUnpackHook Running phase: patchPhase Executing cargoSetupPostPatchHook Validating consistency between /build/source/Cargo.lock and /build/aichat-0.30.0-vendor/Cargo.lock Finished cargoSetupPostPatchHook Running phase: updateAutotoolsGnuConfigScriptsPhase Running phase: configurePhase Running phase: buildPhase Executing cargoBuildHook cargoBuildHook flags: -j 12 --target x86_64-unknown-linux-gnu --offline --profile release Compiling proc-macro2 v1.0.95 Compiling unicode-ident v1.0.18 Compiling libc v0.2.174 Compiling serde v1.0.219 Compiling cfg-if v1.0.1 Compiling log v0.4.27 Compiling smallvec v1.15.1 Compiling autocfg v1.5.0 Compiling memchr v2.7.5 Compiling itoa v1.0.15 Compiling shlex v1.3.0 Compiling allocator-api2 v0.2.21 Compiling version_check v0.9.5 Compiling once_cell v1.21.3 Compiling bytes v1.10.1 Compiling cc v1.2.28 Compiling equivalent v1.0.2 Compiling foldhash v0.1.5 Compiling siphasher v1.0.1 Compiling rand_core v0.6.4 Compiling typenum v1.18.0 Compiling pin-project-lite v0.2.16 Compiling stable_deref_trait v1.2.0 Compiling hashbrown v0.15.4 Compiling phf_shared v0.11.3 Compiling parking_lot_core v0.9.11 Compiling rand v0.8.5 Compiling generic-array v0.14.7 Compiling lock_api v0.4.13 Compiling scopeguard v1.2.0 Compiling futures-core v0.3.31 Compiling fnv v1.0.7 Compiling pkg-config v0.3.32 Compiling pin-utils v0.1.0 Compiling new_debug_unreachable v1.0.6 Compiling ryu v1.0.20 Compiling quote v1.0.40 Compiling rustix v0.38.44 Compiling precomputed-hash v0.1.1 Compiling subtle v2.6.1 Compiling signal-hook v0.3.18 Compiling phf_generator v0.11.3 Compiling slab v0.4.10 Compiling zerocopy v0.8.26 Compiling syn v2.0.104 Compiling phf_codegen v0.11.3 Compiling string_cache_codegen v0.5.4 Compiling linux-raw-sys v0.4.15 Compiling mac v0.1.1 Compiling getrandom v0.3.3 Compiling http v1.3.1 Compiling futf v0.1.5 Compiling num-traits v0.2.19 Compiling utf-8 v0.7.6 Compiling either v1.15.0 Compiling writeable v0.6.1 Compiling crossbeam-utils v0.8.21 Compiling serde_json v1.0.140 Compiling regex-syntax v0.8.5 Compiling zeroize v1.8.1 Compiling litemap v0.8.0 Compiling rustls-pki-types v1.12.0 Compiling tendril v0.4.3 Compiling wayland-sys v0.31.6 Compiling aho-corasick v1.1.3 Compiling tracing-core v0.1.34 Compiling ring v0.17.14 Compiling rustix v1.0.7 Compiling icu_normalizer_data v2.0.0 Compiling futures-task v0.3.31 Compiling signal-hook-registry v1.4.5 Compiling mio v1.0.4 Compiling socket2 v0.5.10 Compiling parking_lot v0.12.4 Compiling futures-sink v0.3.31 Compiling icu_properties_data v2.0.1 Compiling heck v0.5.0 Compiling percent-encoding v2.3.1 Compiling thiserror v1.0.69 Compiling byteorder v1.5.0 Compiling getrandom v0.2.16 Compiling http-body v1.0.1 Compiling wayland-backend v0.3.10 Compiling untrusted v0.9.0 Compiling utf8parse v0.2.2 Compiling time-core v0.1.4 Compiling powerfmt v0.2.0 Compiling linux-raw-sys v0.9.4 Compiling thiserror v2.0.12 Compiling regex-automata v0.4.9 Compiling same-file v1.0.6 Compiling httparse v1.10.1 Compiling num-conv v0.1.0 Compiling walkdir v2.5.0 Compiling crossbeam-epoch v0.9.18 Compiling deranged v0.4.0 Compiling anstyle-parse v0.2.7 Compiling time-macros v0.2.22 Compiling markup5ever v0.12.1 Compiling quick-xml v0.37.5 Compiling bitflags v1.3.2 Compiling downcast-rs v1.2.1 Compiling rayon-core v1.12.1 Compiling is_terminal_polyfill v1.70.1 Compiling wayland-client v0.31.10 Compiling colorchoice v1.0.4 Compiling try-lock v0.2.5 Compiling strsim v0.11.1 Compiling ident_case v1.0.1 Compiling atomic-waker v1.1.2 Compiling tower-service v0.3.3 Compiling anstyle v1.0.11 Compiling rustls v0.23.28 Compiling num_threads v0.1.7 Compiling minimal-lexical v0.2.1 Compiling base64 v0.22.1 Compiling anstyle-query v1.1.3 Compiling anstream v0.6.19 Compiling want v0.3.1 Compiling nom v7.1.3 Compiling wayland-scanner v0.31.6 Compiling crossbeam-deque v0.8.6 Compiling crypto-common v0.1.6 Compiling block-buffer v0.10.4 Compiling mio v0.8.11 Compiling os_pipe v1.2.2 Compiling futures-channel v0.3.31 Compiling synstructure v0.13.2 Compiling darling_core v0.20.11 Compiling time v0.3.41 Compiling memoffset v0.7.1 Compiling ahash v0.8.12 Compiling unicase v2.8.1 Compiling anyhow v1.0.98 Compiling httpdate v1.0.3 Compiling mime_guess v2.0.5 Compiling signal-hook-mio v0.2.4 Compiling digest v0.10.7 Compiling fxhash v0.2.1 Compiling form_urlencoded v1.2.1 Compiling onig_sys v69.9.1 Compiling markup5ever v0.14.1 Compiling sync_wrapper v1.0.2 Compiling cpufeatures v0.2.17 Compiling unicode-segmentation v1.12.0 Compiling fixedbitset v0.4.2 Compiling rustversion v1.0.21 Compiling ipnet v2.11.0 Compiling regex v1.11.1 Compiling openssl-probe v0.1.6 Compiling dtoa v1.0.10 Compiling tower-layer v0.3.3 Compiling utf8_iter v1.0.4 Compiling dtoa-short v0.3.5 Compiling sha2 v0.10.9 Compiling env_filter v0.1.3 Compiling rustls-native-certs v0.8.1 Compiling rayon v1.10.0 Compiling serde_derive v1.0.219 Compiling zerofrom-derive v0.1.6 Compiling yoke-derive v0.8.0 Compiling tokio-macros v2.5.0 Compiling zerovec-derive v0.11.1 Compiling displaydoc v0.2.5 Compiling phf_macros v0.11.3 Compiling tokio v1.46.1 Compiling tracing-attributes v0.1.30 Compiling futures-macro v0.3.31 Compiling phf v0.11.3 Compiling thiserror-impl v1.0.69 Compiling thiserror-impl v2.0.12 Compiling rustls-webpki v0.103.3 Compiling darling_macro v0.20.11 Compiling zerofrom v0.1.6 Compiling yoke v0.8.0 Compiling zerovec v0.11.2 Compiling zerotrie v0.2.2 Compiling futures-util v0.3.31 Compiling tracing v0.1.41 Compiling html5ever v0.27.0 Compiling darling v0.20.11 Compiling enum-as-inner v0.6.1 Compiling cssparser-macros v0.6.1 Compiling ppv-lite86 v0.2.21 Compiling tinystr v0.8.1 Compiling potential_utf v0.1.2 Compiling stop-words v0.8.1 Compiling rand_core v0.9.3 Compiling icu_locale_core v2.0.0 Compiling icu_collections v2.0.0 Compiling webpki-roots v1.0.1 Compiling selectors v0.26.0 Compiling crc32fast v1.4.2 Compiling fastrand v2.3.0 Compiling jiff v0.2.15 Compiling iri-string v0.7.8 Compiling vsimd v0.8.0 Compiling adler2 v2.0.1 Compiling mime v0.3.17 Compiling outref v0.5.2 Compiling miniz_oxide v0.8.9 Compiling icu_provider v2.0.0 Compiling base64-simd v0.8.0 Compiling icu_properties v2.0.1 Compiling icu_normalizer v2.0.0 Compiling rand_chacha v0.9.0 Compiling cssparser v0.34.0 Compiling cached_proc_macro v0.24.0 Compiling hashbrown v0.14.5 Compiling rust-embed-utils v8.7.2 Compiling nix v0.26.4 Compiling match_token v0.1.0 Compiling derive_more v0.99.20 Compiling tokio-util v0.7.15 Compiling idna_adapter v1.2.1 Compiling idna v1.0.3 Compiling tower v0.5.2 Compiling tokio-rustls v0.26.2 Compiling sigchld v0.2.3 Compiling url v2.5.4 Compiling num-integer v0.1.46 Compiling http-body-util v0.1.3 Compiling num_cpus v1.17.0 Compiling cpu-time v1.0.0 Compiling bytes-utils v0.1.4 Compiling combine v4.6.7 Compiling vte v0.14.1 Compiling servo_arc v0.4.1 Compiling thread_local v1.1.9 Compiling unicode-width v0.2.1 Compiling bitflags v2.9.1 Compiling indexmap v2.10.0 Compiling string_cache v0.8.9 Compiling serde_urlencoded v0.7.1 Compiling tower-http v0.6.6 Compiling env_logger v0.11.8 Compiling h2 v0.4.11 Compiling petgraph v0.6.5 Compiling xml5ever v0.18.1 Compiling sysctl v0.5.5 Compiling tempfile v3.20.0 Compiling bincode v1.3.3 Compiling iana-time-zone v0.1.63 Compiling bit-vec v0.8.0 Compiling bytemuck v1.23.1 Compiling cached_proc_macro_types v0.1.1 Compiling clap_lex v0.7.5 Compiling web-time v1.1.0 Compiling option-ext v0.2.0 Compiling x11rb-protocol v0.13.1 Compiling lazy_static v1.5.0 Compiling anndists v0.1.3 Compiling rgb v0.8.50 Compiling dirs-sys v0.5.0 Compiling tree_magic_mini v3.1.6 Compiling clap_builder v4.5.40 Compiling bit-set v0.8.0 Compiling cached v0.55.1 Compiling chrono v0.4.41 Compiling fd-lock v4.0.4 Compiling markup5ever_rcdom v0.3.0 Compiling jsonptr v0.7.1 Compiling html5ever v0.29.1 Compiling plist v1.7.2 Compiling hyper v1.6.0 Compiling mmap-rs v0.6.1 Compiling onig v6.5.1 Compiling fuzzy-matcher v0.3.7 Compiling crossterm v0.28.1 Compiling rust-stemmers v1.2.0 Compiling aws-smithy-types v1.3.2 Compiling hyper-util v0.1.14 Compiling strip-ansi-escapes v0.2.1 Compiling strum_macros v0.26.4 Compiling shared_child v1.1.1 Compiling rust-embed-impl v8.7.2 Compiling rand v0.9.1 Compiling flate2 v1.1.2 Compiling clap_derive v4.5.40 Compiling x11rb v0.13.1 Compiling newline-converter v0.3.0 Compiling eventsource-stream v0.2.3 Compiling crossterm v0.25.0 Compiling terminal-trx v0.2.4 Compiling itertools v0.13.0 Compiling path-dedot v3.1.1 Compiling futures-timer v3.0.3 Compiling hyper-rustls v0.27.7 Compiling ego-tree v0.10.0 Compiling wayland-protocols v0.32.8 Compiling reqwest v0.12.22 Compiling xterm-color v1.0.1 Compiling unicode-width v0.1.14 Compiling env_home v0.1.0 Compiling deunicode v1.6.2 Compiling smawk v0.3.2 Compiling shared_thread v0.1.0 Compiling dyn-clone v1.0.19 Compiling nu-ansi-term v0.50.1 Compiling unsafe-libyaml v0.2.11 Compiling unty v0.0.4 Compiling termcolor v1.4.1 Compiling strum v0.26.3 Compiling unicode-linebreak v0.1.5 Compiling bincode v2.0.1 Compiling simplelog v0.12.2 Compiling textwrap v0.16.2 Compiling inquire v0.7.5 Compiling duct v1.0.0 Compiling bm25 v2.3.0 Compiling clap v4.5.40 Compiling reedline v0.40.0 Compiling which v8.0.0 Compiling serde_yaml v0.9.34+deprecated Compiling terminal-colorsaurus v0.4.8 Compiling reqwest-eventsource v0.6.0 Compiling scraper v0.23.1 Compiling path-absolutize v3.1.1 Compiling hnsw_rs v0.3.2 Compiling rust-embed v8.7.2 Compiling syntect v5.2.0 Compiling aws-smithy-eventstream v0.60.9 Compiling json-patch v4.0.0 Compiling html_to_markdown v0.1.0 Compiling fancy-regex v0.14.0 Compiling ansi_colours v1.2.3 Compiling dirs v6.0.0 Compiling tokio-stream v0.1.17 Compiling tokio-graceful v0.2.2 Compiling async-trait v0.1.88 Compiling async-recursion v1.1.1 Compiling hmac v0.12.1 Compiling uuid v1.17.0 Compiling is-terminal v0.4.16 Compiling os_info v3.12.0 Compiling urlencoding v2.1.3 Compiling shell-words v1.1.0 Compiling wayland-protocols-wlr v0.3.8 Compiling sys-locale v0.3.2 Compiling wl-clipboard-rs v0.9.2 Compiling arboard v3.6.0 Compiling aichat v0.30.0 (/build/source) warning: hiding a lifetime that's elided elsewhere is confusing --> src/repl/prompt.rs:20:27 | 20 | fn render_prompt_left(&self) -> Cow { | ^^^^^ ^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default help: use `'_` for type paths | 20 | fn render_prompt_left(&self) -> Cow<'_, str> { | +++ warning: hiding a lifetime that's elided elsewhere is confusing --> src/repl/prompt.rs:24:28 | 24 | fn render_prompt_right(&self) -> Cow { | ^^^^^ ^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 24 | fn render_prompt_right(&self) -> Cow<'_, str> { | +++ warning: hiding a lifetime that's elided elsewhere is confusing --> src/repl/prompt.rs:28:32 | 28 | fn render_prompt_indicator(&self, _prompt_mode: reedline::PromptEditMode) -> Cow { | ^^^^^ the lifetime is elided here ^^^^^^^^ the same lifetime is hidden here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 28 | fn render_prompt_indicator(&self, _prompt_mode: reedline::PromptEditMode) -> Cow<'_, str> { | +++ warning: hiding a lifetime that's elided elsewhere is confusing --> src/repl/prompt.rs:32:42 | 32 | fn render_prompt_multiline_indicator(&self) -> Cow { | ^^^^^ ^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 32 | fn render_prompt_multiline_indicator(&self) -> Cow<'_, str> { | +++ warning: hiding a lifetime that's elided elsewhere is confusing --> src/repl/prompt.rs:37:9 | 37 | &self, | ^^^^^ the lifetime is elided here 38 | history_search: PromptHistorySearch, 39 | ) -> Cow { | ^^^^^^^^ the same lifetime is hidden here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 39 | ) -> Cow<'_, str> { | +++ warning: hiding a lifetime that's elided elsewhere is confusing --> src/utils/mod.rs:89:30 | 89 | pub fn strip_think_tag(text: &str) -> Cow { | ^^^^ ^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 89 | pub fn strip_think_tag(text: &str) -> Cow<'_, str> { | +++ warning: `aichat` (bin "aichat") generated 6 warnings (run `cargo fix --bin "aichat" -p aichat` to apply 6 suggestions) Finished `release` profile [optimized] target(s) in 33m 44s Executing cargoInstallPostBuildHook Finished cargoInstallPostBuildHook Finished cargoBuildHook buildPhase completed in 33 minutes 45 seconds Running phase: checkPhase Executing cargoCheckHook cargoCheckHook flags: -j 12 --profile release --target x86_64-unknown-linux-gnu --offline -- Compiling diff v0.1.13 Compiling yansi v1.0.1 Compiling pretty_assertions v1.4.1 Compiling aichat v0.30.0 (/build/source) warning: hiding a lifetime that's elided elsewhere is confusing --> src/repl/prompt.rs:20:27 | 20 | fn render_prompt_left(&self) -> Cow { | ^^^^^ ^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default help: use `'_` for type paths | 20 | fn render_prompt_left(&self) -> Cow<'_, str> { | +++ warning: hiding a lifetime that's elided elsewhere is confusing --> src/repl/prompt.rs:24:28 | 24 | fn render_prompt_right(&self) -> Cow { | ^^^^^ ^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 24 | fn render_prompt_right(&self) -> Cow<'_, str> { | +++ warning: hiding a lifetime that's elided elsewhere is confusing --> src/repl/prompt.rs:28:32 | 28 | fn render_prompt_indicator(&self, _prompt_mode: reedline::PromptEditMode) -> Cow { | ^^^^^ the lifetime is elided here ^^^^^^^^ the same lifetime is hidden here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 28 | fn render_prompt_indicator(&self, _prompt_mode: reedline::PromptEditMode) -> Cow<'_, str> { | +++ warning: hiding a lifetime that's elided elsewhere is confusing --> src/repl/prompt.rs:32:42 | 32 | fn render_prompt_multiline_indicator(&self) -> Cow { | ^^^^^ ^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 32 | fn render_prompt_multiline_indicator(&self) -> Cow<'_, str> { | +++ warning: hiding a lifetime that's elided elsewhere is confusing --> src/repl/prompt.rs:37:9 | 37 | &self, | ^^^^^ the lifetime is elided here 38 | history_search: PromptHistorySearch, 39 | ) -> Cow { | ^^^^^^^^ the same lifetime is hidden here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 39 | ) -> Cow<'_, str> { | +++ warning: hiding a lifetime that's elided elsewhere is confusing --> src/utils/mod.rs:89:30 | 89 | pub fn strip_think_tag(text: &str) -> Cow { | ^^^^ ^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 89 | pub fn strip_think_tag(text: &str) -> Cow<'_, str> { | +++ warning: `aichat` (bin "aichat" test) generated 6 warnings (run `cargo fix --bin "aichat" -p aichat --tests` to apply 6 suggestions) Finished `release` profile [optimized] target(s) in 13m 26s Running unittests src/main.rs (target/x86_64-unknown-linux-gnu/release/deps/aichat-24bfc0dcc1ad32b8) running 21 tests test client::stream::tests::test_json_stream_ndjson ... ok test rag::splitter::tests::test_html_splitter ... ok test render::markdown::tests::test_detect_code_block ... ok test client::stream::tests::test_json_stream_array ... ok test repl::completer::test_split_line ... ok test config::role::tests::test_parse_structure_prompt3 ... ok test repl::tests::test_split_args_text ... ok test config::role::tests::test_parse_structure_prompt2 ... ok test utils::path::tests::test_parse_glob ... ok test utils::tests::test_safe_join_path ... ok test rag::splitter::tests::test_chunk_header ... ok test rag::splitter::tests::test_markdown_splitter ... ok test rag::splitter::tests::test_create_document ... ok test config::role::tests::test_parse_structure_prompt1 ... ok test repl::tests::test_process_command_line ... ok test utils::render_prompt::tests::test_render ... ok test rag::splitter::tests::test_split_text ... ok test render::markdown::tests::no_wrap_code ... ok test render::markdown::tests::wrap_all ... ok test render::markdown::tests::test_render ... ok test render::markdown::tests::no_theme ... ok test result: ok. 21 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.18s Finished cargoCheckHook checkPhase completed in 13 minutes 28 seconds Running phase: installPhase Executing cargoInstallHook Finished cargoInstallHook Running phase: fixupPhase shrinking RPATHs of ELF executables and libraries in /nix/store/di7i21c25ikyslwkpkcj6bgwmd6g9fsh-aichat-0.30.0 shrinking /nix/store/di7i21c25ikyslwkpkcj6bgwmd6g9fsh-aichat-0.30.0/bin/aichat checking for references to /build/ in /nix/store/di7i21c25ikyslwkpkcj6bgwmd6g9fsh-aichat-0.30.0... patching script interpreter paths in /nix/store/di7i21c25ikyslwkpkcj6bgwmd6g9fsh-aichat-0.30.0 stripping (with command strip and flags -S -p) in /nix/store/di7i21c25ikyslwkpkcj6bgwmd6g9fsh-aichat-0.30.0/bin Running phase: installCheckPhase Executing versionCheckPhase Successfully managed to find version 0.30.0 in the output of the command /nix/store/di7i21c25ikyslwkpkcj6bgwmd6g9fsh-aichat-0.30.0/bin/aichat --version aichat 0.30.0 Finished versionCheckPhase no Makefile or custom installCheckPhase, doing nothing