[INFO] cloning repository https://github.com/fluffypony/nsh [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/fluffypony/nsh" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffluffypony%2Fnsh", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffluffypony%2Fnsh'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 8e9682bed6a27c0182b8e829e416c1bd0f668e50 [INFO] linting fluffypony/nsh/8e9682bed6a27c0182b8e829e416c1bd0f668e50 against nightly for clippy-nonminimal_bool-denied [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffluffypony%2Fnsh" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/fluffypony/nsh [INFO] finished tweaking git repo https://github.com/fluffypony/nsh [INFO] tweaked toml for git repo https://github.com/fluffypony/nsh written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/fluffypony/nsh on toolchain nightly [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+nightly" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/fluffypony/nsh already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+nightly" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded vte v0.15.0 [INFO] [stderr] Downloaded vt100 v0.16.2 [INFO] [stderr] Downloaded signal-hook v0.4.3 [INFO] [stderr] Downloaded toml v1.0.1+spec-1.1.0 [INFO] [stderr] Downloaded clap v4.5.57 [INFO] [stderr] Downloaded toml_edit v0.25.1+spec-1.1.0 [INFO] [stderr] Downloaded rusqlite v0.38.0 [INFO] [stderr] Downloaded clap_builder v4.5.57 [INFO] [stderr] Downloaded hashlink v0.11.0 [INFO] [stderr] Downloaded toml_parser v1.0.8+spec-1.1.0 [INFO] [stderr] Downloaded wiremock v0.6.5 [INFO] [stderr] Downloaded libsqlite3-sys v0.36.0 [INFO] [stderr] Downloaded sqlite-wasm-rs v0.5.2 [INFO] [stderr] Downloaded rsqlite-vfs v0.1.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+nightly" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7c35ac5059ecd6fb6926fb7d3037a1b090544d510e9eaeb803f90bf6c6daf650 [INFO] running `Command { std: "docker" "start" "-a" "7c35ac5059ecd6fb6926fb7d3037a1b090544d510e9eaeb803f90bf6c6daf650", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7c35ac5059ecd6fb6926fb7d3037a1b090544d510e9eaeb803f90bf6c6daf650", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7c35ac5059ecd6fb6926fb7d3037a1b090544d510e9eaeb803f90bf6c6daf650", kill_on_drop: false }` [INFO] [stdout] 7c35ac5059ecd6fb6926fb7d3037a1b090544d510e9eaeb803f90bf6c6daf650 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+nightly" "clippy" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7e34e425c39bb65a2757c9dbd97401bbdb88f664ee63895569ed9925ff62cd60 [INFO] running `Command { std: "docker" "start" "-a" "7e34e425c39bb65a2757c9dbd97401bbdb88f664ee63895569ed9925ff62cd60", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.180 [INFO] [stderr] Compiling quote v1.0.44 [INFO] [stderr] Compiling proc-macro2 v1.0.106 [INFO] [stderr] Checking critical-section v1.2.0 [INFO] [stderr] Checking hashbrown v0.16.1 [INFO] [stderr] Checking aho-corasick v1.1.4 [INFO] [stderr] Checking regex-syntax v0.8.9 [INFO] [stderr] Compiling aws-lc-rs v1.15.4 [INFO] [stderr] Checking once_cell v1.21.3 [INFO] [stderr] Checking bitflags v2.10.0 [INFO] [stderr] Checking tracing-core v0.1.36 [INFO] [stderr] Compiling rustix v1.1.3 [INFO] [stderr] Checking indexmap v2.13.0 [INFO] [stderr] Compiling zerocopy v0.8.39 [INFO] [stderr] Compiling zmij v1.0.19 [INFO] [stderr] Checking linux-raw-sys v0.11.0 [INFO] [stderr] Compiling syn v2.0.114 [INFO] [stderr] Compiling rustls v0.23.36 [INFO] [stderr] Checking errno v0.3.14 [INFO] [stderr] Checking parking_lot_core v0.9.12 [INFO] [stderr] Checking mio v1.1.1 [INFO] [stderr] Checking socket2 v0.6.2 [INFO] [stderr] Checking getrandom v0.2.17 [INFO] [stderr] Checking signal-hook-registry v1.4.8 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking regex-automata v0.4.14 [INFO] [stderr] Checking getrandom v0.3.4 [INFO] [stderr] Checking parking_lot v0.12.5 [INFO] [stderr] Checking crypto-common v0.1.7 [INFO] [stderr] Compiling jobserver v0.1.34 [INFO] [stderr] Checking rand_core v0.9.5 [INFO] [stderr] Checking crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling signal-hook v0.3.18 [INFO] [stderr] Compiling thiserror v2.0.18 [INFO] [stderr] Compiling cc v1.2.55 [INFO] [stderr] Compiling convert_case v0.10.0 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking cipher v0.4.4 [INFO] [stderr] Checking serde_json v1.0.149 [INFO] [stderr] Checking universal-hash v0.5.1 [INFO] [stderr] Checking winnow v0.7.14 [INFO] [stderr] Checking clap_lex v0.7.7 [INFO] [stderr] Compiling anyhow v1.0.101 [INFO] [stderr] Checking bit-set v0.5.3 [INFO] [stderr] Checking clap_builder v4.5.57 [INFO] [stderr] Checking polyval v0.6.2 [INFO] [stderr] Compiling cmake v0.1.57 [INFO] [stderr] Checking uuid v1.20.0 [INFO] [stderr] Compiling aws-lc-sys v0.37.1 [INFO] [stderr] Compiling libsqlite3-sys v0.36.0 [INFO] [stderr] Checking toml_parser v1.0.8+spec-1.1.0 [INFO] [stderr] Compiling signal-hook v0.4.3 [INFO] [stderr] Checking http-body-util v0.1.3 [INFO] [stderr] Checking toml_datetime v1.0.0+spec-1.1.0 [INFO] [stderr] Checking bstr v1.12.1 [INFO] [stderr] Checking regex v1.12.3 [INFO] [stderr] Checking data-encoding v2.10.0 [INFO] [stderr] Compiling litrs v1.0.0 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Checking tagptr v0.2.0 [INFO] [stderr] Checking toml_writer v1.0.6+spec-1.1.0 [INFO] [stderr] Checking simd-adler32 v0.3.8 [INFO] [stderr] Checking globset v0.4.18 [INFO] [stderr] Checking miniz_oxide v0.8.9 [INFO] [stderr] Checking dirs-sys v0.5.0 [INFO] [stderr] Compiling document-features v0.2.12 [INFO] [stderr] Checking moka v0.12.13 [INFO] [stderr] Checking vte v0.15.0 [INFO] [stderr] Checking ppv-lite86 v0.2.21 [INFO] [stderr] Checking nom v7.1.3 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking fancy-regex v0.13.0 [INFO] [stderr] Checking matchers v0.2.0 [INFO] [stderr] Checking rand_chacha v0.9.0 [INFO] [stderr] Checking xattr v1.6.1 [INFO] [stderr] Checking rand v0.9.2 [INFO] [stderr] Checking signal-hook-mio v0.2.5 [INFO] [stderr] Checking ghash v0.5.1 [INFO] [stderr] Checking ctr v0.9.2 [INFO] [stderr] Checking aes v0.8.4 [INFO] [stderr] Checking crossbeam-deque v0.8.6 [INFO] [stderr] Checking aead v0.5.2 [INFO] [stderr] Checking filetime v0.2.27 [INFO] [stderr] Checking tracing-log v0.2.0 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.1 [INFO] [stderr] Compiling zerovec-derive v0.11.2 [INFO] [stderr] Compiling tokio-macros v2.6.0 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling tracing-attributes v0.1.31 [INFO] [stderr] Checking tokio v1.49.0 [INFO] [stderr] Compiling zeroize_derive v1.4.3 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Checking zerofrom v0.1.6 [INFO] [stderr] Checking yoke v0.8.1 [INFO] [stderr] Checking zerovec v0.11.5 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Checking zerotrie v0.2.3 [INFO] [stderr] Checking tinystr v0.8.2 [INFO] [stderr] Checking potential_utf v0.1.4 [INFO] [stderr] Checking icu_locale_core v2.1.1 [INFO] [stderr] Checking tracing v0.1.44 [INFO] [stderr] Checking icu_collections v2.1.1 [INFO] [stderr] Checking zeroize v1.8.2 [INFO] [stderr] Compiling thiserror-impl v2.0.18 [INFO] [stderr] Checking rustls-pki-types v1.14.0 [INFO] [stderr] Checking icu_provider v2.1.1 [INFO] [stderr] Checking rustls-native-certs v0.8.3 [INFO] [stderr] Compiling clap_derive v4.5.55 [INFO] [stderr] Checking icu_normalizer v2.1.1 [INFO] [stderr] Checking icu_properties v2.1.2 [INFO] [stderr] Compiling derive_more-impl v2.1.1 [INFO] [stderr] Checking futures-executor v0.3.31 [INFO] [stderr] Compiling enum-as-inner v0.6.1 [INFO] [stderr] Compiling async-trait v0.1.89 [INFO] [stderr] Checking idna_adapter v1.2.1 [INFO] [stderr] Checking idna v1.1.0 [INFO] [stderr] Checking derive_more v2.1.1 [INFO] [stderr] Checking futures v0.3.31 [INFO] [stderr] Checking hashlink v0.11.0 [INFO] [stderr] Checking url v2.5.8 [INFO] [stderr] Checking serde_spanned v1.0.4 [INFO] [stderr] Checking vte v0.14.1 [INFO] [stderr] Checking clap v4.5.57 [INFO] [stderr] Checking fallible-streaming-iterator v0.1.9 [INFO] [stderr] Checking iana-time-zone v0.1.65 [INFO] [stderr] Checking fallible-iterator v0.3.0 [INFO] [stderr] Checking env_home v0.1.0 [INFO] [stderr] Checking resolv-conf v0.7.6 [INFO] [stderr] Compiling nsh v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Checking serde v1.0.228 [INFO] [stderr] Checking tracing-subscriber v0.3.22 [INFO] [stderr] Checking which v8.0.0 [INFO] [stderr] Checking tempfile v3.24.0 [INFO] [stderr] Checking vt100 v0.16.2 [INFO] [stderr] Checking clap_complete v4.5.65 [INFO] [stderr] Checking tiktoken-rs v0.9.1 [INFO] [stderr] Checking chrono v0.4.43 [INFO] [stderr] Checking strip-ansi-escapes v0.2.1 [INFO] [stderr] Checking toml v1.0.1+spec-1.1.0 [INFO] [stderr] Checking tokio-util v0.7.18 [INFO] [stderr] Checking tower v0.5.3 [INFO] [stderr] Checking hickory-proto v0.25.2 [INFO] [stderr] Checking h2 v0.4.13 [INFO] [stderr] Checking crossterm v0.29.0 [INFO] [stderr] Checking tower-http v0.6.8 [INFO] [stderr] Checking eventsource-stream v0.2.3 [INFO] [stderr] Checking aes-gcm v0.10.3 [INFO] [stderr] Checking tar v0.4.44 [INFO] [stderr] Checking ignore v0.4.25 [INFO] [stderr] Checking flate2 v1.1.9 [INFO] [stderr] Checking sha2 v0.10.9 [INFO] [stderr] Checking dirs v6.0.0 [INFO] [stderr] Checking toml_edit v0.25.1+spec-1.1.0 [INFO] [stderr] Checking glob v0.3.3 [INFO] [stderr] Checking shell-words v1.1.1 [INFO] [stderr] Checking num_cpus v1.17.0 [INFO] [stderr] Checking sdd v3.0.10 [INFO] [stderr] Checking assert-json-diff v2.0.2 [INFO] [stderr] Checking deadpool v0.12.3 [INFO] [stderr] Compiling serial_test_derive v3.3.1 [INFO] [stderr] Checking scc v2.4.0 [INFO] [stderr] Checking hickory-resolver v0.25.2 [INFO] [stderr] Checking hyper v1.8.1 [INFO] [stderr] Checking serial_test v3.3.1 [INFO] [stderr] Checking rusqlite v0.38.0 [INFO] [stderr] Checking hyper-util v0.1.20 [INFO] [stderr] Checking wiremock v0.6.5 [INFO] [stderr] Checking rustls-webpki v0.103.9 [INFO] [stderr] Checking tokio-rustls v0.26.4 [INFO] [stderr] Checking rustls-platform-verifier v0.6.2 [INFO] [stderr] Checking hyper-rustls v0.27.7 [INFO] [stderr] Checking reqwest v0.13.2 [INFO] [stdout] warning: unused import: `Duration` [INFO] [stdout] --> src/context/mod.rs:11:17 [INFO] [stdout] | [INFO] [stdout] 11 | use std::time::{Duration, Instant}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `SemiDynamicInfoSnapshot` and `StaticSystemInfoSnapshot` [INFO] [stdout] --> src/context/mod.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | SemiDynamicInfoSnapshot, StaticSystemInfo, StaticSystemInfoSnapshot, SystemInfoBundle, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ShellEventType` [INFO] [stdout] --> src/memory/mod.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | ShellEventType, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: empty line after doc comment [INFO] [stdout] --> src/query/prompt.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | / /// tool instructions, security guidance, and memory context. [INFO] [stdout] 5 | | [INFO] [stdout] | |_^ [INFO] [stdout] 6 | pub fn build_system_prompt( [INFO] [stdout] | -------------------------- the comment documents this function [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#empty_line_after_doc_comments [INFO] [stdout] = note: `#[warn(clippy::empty_line_after_doc_comments)]` on by default [INFO] [stdout] = help: if the empty line is unintentional, remove it [INFO] [stdout] help: if the comment should document the parent module use an inner doc comment [INFO] [stdout] | [INFO] [stdout] 1 ~ //! System prompt construction for LLM queries. [INFO] [stdout] 2 ~ //! [INFO] [stdout] 3 ~ //! Builds the full XML system prompt including environment context, [INFO] [stdout] 4 ~ //! tool instructions, security guidance, and memory context. [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `prompt_tty_confirmation_default_yes`, `prompt_tty_confirmation_safe`, and `prompt_tty_yes_confirmation` [INFO] [stdout] --> src/tools/mod.rs:36:30 [INFO] [stdout] | [INFO] [stdout] 36 | prompt_tty_confirmation, prompt_tty_confirmation_default_yes, prompt_tty_confirmation_safe, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 37 | prompt_tty_yes_confirmation, read_tty_confirmation, read_tty_confirmation_default_yes, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Duration` [INFO] [stdout] --> src/context/mod.rs:11:17 [INFO] [stdout] | [INFO] [stdout] 11 | use std::time::{Duration, Instant}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `SemiDynamicInfoSnapshot` and `StaticSystemInfoSnapshot` [INFO] [stdout] --> src/context/mod.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | SemiDynamicInfoSnapshot, StaticSystemInfo, StaticSystemInfoSnapshot, SystemInfoBundle, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: empty line after doc comment [INFO] [stdout] --> src/query/prompt.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | / /// tool instructions, security guidance, and memory context. [INFO] [stdout] 5 | | [INFO] [stdout] | |_^ [INFO] [stdout] 6 | pub fn build_system_prompt( [INFO] [stdout] | -------------------------- the comment documents this function [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#empty_line_after_doc_comments [INFO] [stdout] = note: `#[warn(clippy::empty_line_after_doc_comments)]` on by default [INFO] [stdout] = help: if the empty line is unintentional, remove it [INFO] [stdout] help: if the comment should document the parent module use an inner doc comment [INFO] [stdout] | [INFO] [stdout] 1 ~ //! System prompt construction for LLM queries. [INFO] [stdout] 2 ~ //! [INFO] [stdout] 3 ~ //! Builds the full XML system prompt including environment context, [INFO] [stdout] 4 ~ //! tool instructions, security guidance, and memory context. [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `prompt_tty_confirmation_default_yes`, `prompt_tty_confirmation_safe`, and `prompt_tty_yes_confirmation` [INFO] [stdout] --> src/tools/mod.rs:36:30 [INFO] [stdout] | [INFO] [stdout] 36 | prompt_tty_confirmation, prompt_tty_confirmation_default_yes, prompt_tty_confirmation_safe, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 37 | prompt_tty_yes_confirmation, read_tty_confirmation, read_tty_confirmation_default_yes, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/context/system_info.rs:1195:5 [INFO] [stdout] | [INFO] [stdout] 1155 | return (load1 / cores * 100.0).clamp(0.0, 100.0); [INFO] [stdout] | ------------------------------------------------ any code following this expression is unreachable [INFO] [stdout] ... [INFO] [stdout] 1195 | 0.0 [INFO] [stdout] | ^^^ unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `query` [INFO] [stdout] --> src/query/mod.rs:831:9 [INFO] [stdout] | [INFO] [stdout] 831 | let query = query.as_str(); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_query` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `config::ProviderConfig::web_search_model`: use [web_search].model instead [INFO] [stdout] --> src/config.rs:1839:20 [INFO] [stdout] | [INFO] [stdout] 1839 | assert_eq!(config.provider.web_search_model, "perplexity/sonar"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `config::ProviderConfig::web_search_model`: use [web_search].model instead [INFO] [stdout] --> src/config.rs:1890:20 [INFO] [stdout] | [INFO] [stdout] 1890 | assert_eq!(config.provider.web_search_model, "perplexity/sonar-pro"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `config::ProviderConfig::web_search_model`: use [web_search].model instead [INFO] [stdout] --> src/config.rs:4118:20 [INFO] [stdout] | [INFO] [stdout] 4118 | assert_eq!(p.web_search_model, "perplexity/sonar"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `config::ProviderConfig::web_search_model`: use [web_search].model instead [INFO] [stdout] --> src/config.rs:4766:16 [INFO] [stdout] | [INFO] [stdout] 4766 | && config.provider.web_search_model != ProviderConfig::default().web_search_model [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `config::ProviderConfig::web_search_model`: use [web_search].model instead [INFO] [stdout] --> src/config.rs:4766:52 [INFO] [stdout] | [INFO] [stdout] 4766 | && config.provider.web_search_model != ProviderConfig::default().web_search_model [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `config::ProviderConfig::web_search_model`: use [web_search].model instead [INFO] [stdout] --> src/config.rs:4768:39 [INFO] [stdout] | [INFO] [stdout] 4768 | config.web_search.model = config.provider.web_search_model.clone(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `config::ProviderConfig::web_search_model`: use [web_search].model instead [INFO] [stdout] --> src/config.rs:4786:16 [INFO] [stdout] | [INFO] [stdout] 4786 | && config.provider.web_search_model != ProviderConfig::default().web_search_model [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `config::ProviderConfig::web_search_model`: use [web_search].model instead [INFO] [stdout] --> src/config.rs:4786:52 [INFO] [stdout] | [INFO] [stdout] 4786 | && config.provider.web_search_model != ProviderConfig::default().web_search_model [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `config::ProviderConfig::web_search_model`: use [web_search].model instead [INFO] [stdout] --> src/config.rs:4788:39 [INFO] [stdout] | [INFO] [stdout] 4788 | config.web_search.model = config.provider.web_search_model.clone(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/context/system_info.rs:1195:5 [INFO] [stdout] | [INFO] [stdout] 1155 | return (load1 / cores * 100.0).clamp(0.0, 100.0); [INFO] [stdout] | ------------------------------------------------ any code following this expression is unreachable [INFO] [stdout] ... [INFO] [stdout] 1195 | 0.0 [INFO] [stdout] | ^^^ unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `rotate_audit_log` is never used [INFO] [stdout] --> src/audit.rs:64:8 [INFO] [stdout] | [INFO] [stdout] 64 | pub fn rotate_audit_log() -> anyhow::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `update_command` is never used [INFO] [stdout] --> src/db/commands.rs:87:12 [INFO] [stdout] | [INFO] [stdout] 7 | impl Db { [INFO] [stdout] | ------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 87 | pub fn update_command( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `conn_execute_batch` is never used [INFO] [stdout] --> src/db/import.rs:92:12 [INFO] [stdout] | [INFO] [stdout] 6 | impl Db { [INFO] [stdout] | ------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 92 | pub fn conn_execute_batch(&self, sql: &str) -> rusqlite::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `prune_if_due` is never used [INFO] [stdout] --> src/db/maintenance.rs:41:12 [INFO] [stdout] | [INFO] [stdout] 5 | impl Db { [INFO] [stdout] | ------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 41 | pub fn prune_if_due(&self, retention_days: u32) -> rusqlite::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `list_all_semantic`, `list_all_procedural`, and `set_memory_config` are never used [INFO] [stdout] --> src/db/memory_ops.rs:233:12 [INFO] [stdout] | [INFO] [stdout] 6 | impl Db { [INFO] [stdout] | ------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 233 | pub fn list_all_semantic(&self) -> rusqlite::Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 289 | pub fn list_all_procedural( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 419 | pub fn set_memory_config(&self, key: &str, value: &str) -> rusqlite::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `pending_generation_ids` is never used [INFO] [stdout] --> src/db/usage.rs:79:12 [INFO] [stdout] | [INFO] [stdout] 6 | impl Db { [INFO] [stdout] | ------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 79 | pub fn pending_generation_ids(&self) -> rusqlite::Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `has_tool` is never used [INFO] [stdout] --> src/mcp.rs:500:12 [INFO] [stdout] | [INFO] [stdout] 286 | impl McpClient { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 500 | pub fn has_tool(&self, prefixed_name: &str) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `is_ignored_path` and `apply_op` are never used [INFO] [stdout] --> src/memory/mod.rs:197:12 [INFO] [stdout] | [INFO] [stdout] 34 | impl MemorySystem { [INFO] [stdout] | ----------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 197 | pub fn is_ignored_path(&self, path: &Path) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 214 | fn apply_op(&self, conn: &Connection, op: &MemoryOp) -> anyhow::Result<()> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `GEMINI_25_PRO_OPENROUTER` is never used [INFO] [stdout] --> src/model_defaults.rs:17:11 [INFO] [stdout] | [INFO] [stdout] 17 | pub const GEMINI_25_PRO_OPENROUTER: &str = "google/gemini-2.5-pro"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `GEMINI_3_PRO_OPENROUTER` is never used [INFO] [stdout] --> src/model_defaults.rs:18:11 [INFO] [stdout] | [INFO] [stdout] 18 | pub const GEMINI_3_PRO_OPENROUTER: &str = "google/gemini-3-pro"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_online` is never used [INFO] [stdout] --> src/runtime/connectivity.rs:129:8 [INFO] [stdout] | [INFO] [stdout] 129 | pub fn is_online() -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `status` is never used [INFO] [stdout] --> src/runtime/connectivity.rs:133:8 [INFO] [stdout] | [INFO] [stdout] 133 | pub fn status() -> ConnectivityStatus { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `sidecar_status_inline` is never used [INFO] [stdout] --> src/runtime/global_daemon.rs:2553:12 [INFO] [stdout] | [INFO] [stdout] 2553 | pub fn sidecar_status_inline() -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `has_binary_changed` is never used [INFO] [stdout] --> src/runtime/live_update.rs:22:8 [INFO] [stdout] | [INFO] [stdout] 22 | pub fn has_binary_changed() -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `running_version` is never used [INFO] [stdout] --> src/runtime/live_update.rs:42:8 [INFO] [stdout] | [INFO] [stdout] 42 | pub fn running_version() -> &'static str { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `running_fingerprint` is never used [INFO] [stdout] --> src/runtime/live_update.rs:47:8 [INFO] [stdout] | [INFO] [stdout] 47 | pub fn running_fingerprint() -> &'static str { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `running_wrapper_protocol` is never used [INFO] [stdout] --> src/runtime/live_update.rs:52:8 [INFO] [stdout] | [INFO] [stdout] 52 | pub fn running_wrapper_protocol() -> &'static str { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `running_hook_hash` is never used [INFO] [stdout] --> src/runtime/live_update.rs:57:8 [INFO] [stdout] | [INFO] [stdout] 57 | pub fn running_hook_hash() -> &'static str { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `execute_with_access` is never used [INFO] [stdout] --> src/tools/glob.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 7 | pub fn execute_with_access( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `execute` is never used [INFO] [stdout] --> src/tools/glob.rs:14:8 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn execute(input: &serde_json::Value) -> anyhow::Result { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `execute_outcome` is never used [INFO] [stdout] --> src/tools/glob.rs:18:8 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn execute_outcome(input: &serde_json::Value) -> anyhow::Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `execute_with_access` is never used [INFO] [stdout] --> src/tools/grep_file.rs:12:8 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn execute_with_access( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `execute` is never used [INFO] [stdout] --> src/tools/list_directory.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 7 | pub fn execute(input: &serde_json::Value) -> anyhow::Result { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `execute_with_access` is never used [INFO] [stdout] --> src/tools/list_directory.rs:11:8 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn execute_with_access( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `execute_with_access` is never used [INFO] [stdout] --> src/tools/read_file.rs:41:8 [INFO] [stdout] | [INFO] [stdout] 41 | pub fn execute_with_access( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `execute` is never used [INFO] [stdout] --> src/tools/skill_exists.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | pub fn execute(input: &serde_json::Value) -> anyhow::Result { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `execute` is never used [INFO] [stdout] --> src/tools/uninstall_skill.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn execute(input: &serde_json::Value) -> anyhow::Result { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `execute_outcome` is never used [INFO] [stdout] --> src/tools/uninstall_skill.rs:50:8 [INFO] [stdout] | [INFO] [stdout] 50 | pub fn execute_outcome(input: &serde_json::Value) -> anyhow::Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `execute_with_active_provider` is never used [INFO] [stdout] --> src/tools/web_search.rs:101:10 [INFO] [stdout] | [INFO] [stdout] 101 | async fn execute_with_active_provider( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `execute_file_tool_content` is never used [INFO] [stdout] --> src/tools/runtime/file_tools.rs:8:15 [INFO] [stdout] | [INFO] [stdout] 8 | pub(crate) fn execute_file_tool_content( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `execute_file_tool_result` is never used [INFO] [stdout] --> src/tools/runtime/file_tools.rs:19:15 [INFO] [stdout] | [INFO] [stdout] 19 | pub(crate) fn execute_file_tool_result( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `failure` is never used [INFO] [stdout] --> src/tools/runtime/invocation.rs:79:12 [INFO] [stdout] | [INFO] [stdout] 74 | impl ToolInvocationResult { [INFO] [stdout] | ------------------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 79 | pub fn failure(content: impl Into) -> Self { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `outcome_to_content` is never used [INFO] [stdout] --> src/tools/runtime/outcome.rs:37:8 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn outcome_to_content(result: anyhow::Result) -> anyhow::Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `outcome_to_result` is never used [INFO] [stdout] --> src/tools/runtime/outcome.rs:41:8 [INFO] [stdout] | [INFO] [stdout] 41 | pub fn outcome_to_result(result: anyhow::Result) -> anyhow::Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `validate_read_path` is never used [INFO] [stdout] --> src/tools/runtime/path_access.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn validate_read_path(raw_path: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `prompt_tty_yes_confirmation` is never used [INFO] [stdout] --> src/tools/runtime/tty_prompts.rs:137:8 [INFO] [stdout] | [INFO] [stdout] 137 | pub fn prompt_tty_yes_confirmation(prompt: &str) -> std::io::Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `prompt_tty_confirmation_default_yes` is never used [INFO] [stdout] --> src/tools/runtime/tty_prompts.rs:150:8 [INFO] [stdout] | [INFO] [stdout] 150 | pub fn prompt_tty_confirmation_default_yes(prompt: &str) -> std::io::Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `prompt_tty_confirmation_safe` is never used [INFO] [stdout] --> src/tools/runtime/tty_prompts.rs:164:8 [INFO] [stdout] | [INFO] [stdout] 164 | pub fn prompt_tty_confirmation_safe(prompt: &str) -> std::io::Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Info` is never constructed [INFO] [stdout] --> src/ui/mod.rs:104:5 [INFO] [stdout] | [INFO] [stdout] 100 | pub enum BoxStyle { [INFO] [stdout] | -------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 104 | Info, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `render_simple_box` is never used [INFO] [stdout] --> src/ui/mod.rs:172:8 [INFO] [stdout] | [INFO] [stdout] 172 | pub fn render_simple_box(label: &str, text: &str, box_style: BoxStyle) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `section_header` is never used [INFO] [stdout] --> src/ui/mod.rs:186:8 [INFO] [stdout] | [INFO] [stdout] 186 | pub fn section_header(title: &str) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `hr` is never used [INFO] [stdout] --> src/ui/mod.rs:202:8 [INFO] [stdout] | [INFO] [stdout] 202 | pub fn hr() { [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `tool_error` is never used [INFO] [stdout] --> src/ui/mod.rs:220:8 [INFO] [stdout] | [INFO] [stdout] 220 | pub fn tool_error(message: &str) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `tool_success` is never used [INFO] [stdout] --> src/ui/mod.rs:229:8 [INFO] [stdout] | [INFO] [stdout] 229 | pub fn tool_success(message: &str) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `tool_divider` is never used [INFO] [stdout] --> src/ui/mod.rs:240:8 [INFO] [stdout] | [INFO] [stdout] 240 | pub fn tool_divider(tool_name: &str) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TerminalDisplay` is never constructed [INFO] [stdout] --> src/ui/display.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct TerminalDisplay { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `handle_event` are never used [INFO] [stdout] --> src/ui/display.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 10 | impl TerminalDisplay { [INFO] [stdout] | -------------------- associated items in this implementation [INFO] [stdout] 11 | pub fn new(config: &DisplayConfig) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 18 | pub fn handle_event(&mut self, event: DisplayEvent) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `last_stream_had_text` is never used [INFO] [stdout] --> src/ui/streaming.rs:50:12 [INFO] [stdout] | [INFO] [stdout] 25 | impl StreamDisplay { [INFO] [stdout] | ------------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 50 | pub fn last_stream_had_text(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `text`, `subtext`, and `italic` are never read [INFO] [stdout] --> src/ui/theme.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct Theme { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 4 | pub text: &'static str, [INFO] [stdout] | ^^^^ [INFO] [stdout] 5 | pub subtext: &'static str, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 14 | pub italic: &'static str, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `RESET` is never used [INFO] [stdout] --> src/ui/mod.rs:15:15 [INFO] [stdout] | [INFO] [stdout] 15 | pub const RESET: &str = "\x1b[0m"; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `BOLD` is never used [INFO] [stdout] --> src/ui/mod.rs:16:15 [INFO] [stdout] | [INFO] [stdout] 16 | pub const BOLD: &str = "\x1b[1m"; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `DIM` is never used [INFO] [stdout] --> src/ui/mod.rs:17:15 [INFO] [stdout] | [INFO] [stdout] 17 | pub const DIM: &str = "\x1b[2m"; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `ITALIC` is never used [INFO] [stdout] --> src/ui/mod.rs:18:15 [INFO] [stdout] | [INFO] [stdout] 18 | pub const ITALIC: &str = "\x1b[3m"; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `UNDERLINE` is never used [INFO] [stdout] --> src/ui/mod.rs:19:15 [INFO] [stdout] | [INFO] [stdout] 19 | pub const UNDERLINE: &str = "\x1b[4m"; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `RED` is never used [INFO] [stdout] --> src/ui/mod.rs:21:15 [INFO] [stdout] | [INFO] [stdout] 21 | pub const RED: &str = "\x1b[31m"; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `GREEN` is never used [INFO] [stdout] --> src/ui/mod.rs:22:15 [INFO] [stdout] | [INFO] [stdout] 22 | pub const GREEN: &str = "\x1b[32m"; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `YELLOW` is never used [INFO] [stdout] --> src/ui/mod.rs:23:15 [INFO] [stdout] | [INFO] [stdout] 23 | pub const YELLOW: &str = "\x1b[33m"; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `BLUE` is never used [INFO] [stdout] --> src/ui/mod.rs:24:15 [INFO] [stdout] | [INFO] [stdout] 24 | pub const BLUE: &str = "\x1b[34m"; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MAGENTA` is never used [INFO] [stdout] --> src/ui/mod.rs:25:15 [INFO] [stdout] | [INFO] [stdout] 25 | pub const MAGENTA: &str = "\x1b[35m"; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `CYAN` is never used [INFO] [stdout] --> src/ui/mod.rs:26:15 [INFO] [stdout] | [INFO] [stdout] 26 | pub const CYAN: &str = "\x1b[36m"; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `WHITE` is never used [INFO] [stdout] --> src/ui/mod.rs:27:15 [INFO] [stdout] | [INFO] [stdout] 27 | pub const WHITE: &str = "\x1b[37m"; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `BOLD_RED` is never used [INFO] [stdout] --> src/ui/mod.rs:29:15 [INFO] [stdout] | [INFO] [stdout] 29 | pub const BOLD_RED: &str = "\x1b[1;31m"; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `BOLD_GREEN` is never used [INFO] [stdout] --> src/ui/mod.rs:30:15 [INFO] [stdout] | [INFO] [stdout] 30 | pub const BOLD_GREEN: &str = "\x1b[1;32m"; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `BOLD_YELLOW` is never used [INFO] [stdout] --> src/ui/mod.rs:31:15 [INFO] [stdout] | [INFO] [stdout] 31 | pub const BOLD_YELLOW: &str = "\x1b[1;33m"; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `BOLD_MAGENTA` is never used [INFO] [stdout] --> src/ui/mod.rs:33:15 [INFO] [stdout] | [INFO] [stdout] 33 | pub const BOLD_MAGENTA: &str = "\x1b[1;35m"; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this function has too many arguments (9/7) [INFO] [stdout] --> src/app/daemon_transport.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | / pub(super) fn record_request( [INFO] [stdout] 5 | | session: String, [INFO] [stdout] 6 | | command: String, [INFO] [stdout] 7 | | cwd: String, [INFO] [stdout] ... | [INFO] [stdout] 13 | | shell: String, [INFO] [stdout] 14 | | ) -> crate::daemon::DaemonRequest { [INFO] [stdout] | |_________________________________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#too_many_arguments [INFO] [stdout] = note: `#[warn(clippy::too_many_arguments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this `if` can be collapsed into the outer `match` [INFO] [stdout] --> src/query/tool_health.rs:80:17 [INFO] [stdout] | [INFO] [stdout] 80 | / if error.contains("timed out") || error.contains("timeout") { [INFO] [stdout] 81 | | parts.push("DIAGNOSTIC: Network request timed out.".into()); [INFO] [stdout] 82 | | parts.push( [INFO] [stdout] 83 | | "SUGGESTION: Try local alternatives — search_history, read_file, man_page." [INFO] [stdout] 84 | | .into(), [INFO] [stdout] 85 | | ); [INFO] [stdout] 86 | | } [INFO] [stdout] | |_________________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#collapsible_match [INFO] [stdout] = note: `#[warn(clippy::collapsible_match)]` on by default [INFO] [stdout] help: collapse nested if block [INFO] [stdout] | [INFO] [stdout] 79 ~ "web_search" | "github" [INFO] [stdout] 80 ~ if (error.contains("timed out") || error.contains("timeout")) => { [INFO] [stdout] 81 | parts.push("DIAGNOSTIC: Network request timed out.".into()); [INFO] [stdout] ... [INFO] [stdout] 85 | ); [INFO] [stdout] 86 ~ } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this `if` statement can be collapsed [INFO] [stdout] --> src/runtime/global_daemon.rs:1258:13 [INFO] [stdout] | [INFO] [stdout] 1258 | / if command.starts_with("ssh ") || command == "ssh" { [INFO] [stdout] 1259 | | if let Err(error) = db.backfill_command_entities_if_needed() { [INFO] [stdout] 1260 | | tracing::warn!( [INFO] [stdout] 1261 | | "failed to backfill command entities after recording command {id} for session `{session}`: {error}" [INFO] [stdout] ... | [INFO] [stdout] 1264 | | } [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#collapsible_if [INFO] [stdout] = note: `#[warn(clippy::collapsible_if)]` on by default [INFO] [stdout] help: collapse nested if block [INFO] [stdout] | [INFO] [stdout] 1258 ~ if (command.starts_with("ssh ") || command == "ssh") { [INFO] [stdout] 1259 ~ && let Err(error) = db.backfill_command_entities_if_needed() { [INFO] [stdout] 1260 | tracing::warn!( [INFO] [stdout] 1261 | "failed to backfill command entities after recording command {id} for session `{session}`: {error}" [INFO] [stdout] 1262 | ); [INFO] [stdout] 1263 ~ } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this `if` can be collapsed into the outer `match` [INFO] [stdout] --> src/security.rs:109:17 [INFO] [stdout] | [INFO] [stdout] 109 | / if chars.peek() == Some(&'|') { [INFO] [stdout] 110 | | chars.next(); [INFO] [stdout] 111 | | let trimmed = current.trim().to_string(); [INFO] [stdout] 112 | | if !trimmed.is_empty() { [INFO] [stdout] ... | [INFO] [stdout] 117 | | current.push(c); [INFO] [stdout] 118 | | } [INFO] [stdout] | |_________________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#collapsible_match [INFO] [stdout] help: collapse nested if block [INFO] [stdout] | [INFO] [stdout] 108 ~ '|' [INFO] [stdout] 109 ~ if chars.peek() == Some(&'|') => { [INFO] [stdout] 110 | chars.next(); [INFO] [stdout] ... [INFO] [stdout] 115 | current.clear(); [INFO] [stdout] 116 ~ } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this `if` can be collapsed into the outer `match` [INFO] [stdout] --> src/security.rs:121:17 [INFO] [stdout] | [INFO] [stdout] 121 | / if chars.peek() == Some(&'&') { [INFO] [stdout] 122 | | chars.next(); [INFO] [stdout] 123 | | let trimmed = current.trim().to_string(); [INFO] [stdout] 124 | | if !trimmed.is_empty() { [INFO] [stdout] ... | [INFO] [stdout] 129 | | current.push(c); [INFO] [stdout] 130 | | } [INFO] [stdout] | |_________________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#collapsible_match [INFO] [stdout] help: collapse nested if block [INFO] [stdout] | [INFO] [stdout] 120 ~ '&' [INFO] [stdout] 121 ~ if chars.peek() == Some(&'&') => { [INFO] [stdout] 122 | chars.next(); [INFO] [stdout] ... [INFO] [stdout] 127 | current.clear(); [INFO] [stdout] 128 ~ } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this function has too many arguments (8/7) [INFO] [stdout] --> src/tools/chat.rs:52:1 [INFO] [stdout] | [INFO] [stdout] 52 | / fn execute( [INFO] [stdout] 53 | | input: &serde_json::Value, [INFO] [stdout] 54 | | original_query: &str, [INFO] [stdout] 55 | | db: &dyn DbAccess, [INFO] [stdout] ... | [INFO] [stdout] 60 | | json_output: bool, [INFO] [stdout] 61 | | ) -> anyhow::Result<()> { [INFO] [stdout] | |_______________________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#too_many_arguments [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this function has too many arguments (8/7) [INFO] [stdout] --> src/tools/command.rs:66:1 [INFO] [stdout] | [INFO] [stdout] 66 | / fn execute( [INFO] [stdout] 67 | | input: &serde_json::Value, [INFO] [stdout] 68 | | original_query: &str, [INFO] [stdout] 69 | | db: &dyn DbAccess, [INFO] [stdout] ... | [INFO] [stdout] 74 | | json_output: bool, [INFO] [stdout] 75 | | ) -> anyhow::Result { [INFO] [stdout] | |____________________________________________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#too_many_arguments [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this `if` can be collapsed into the outer `match` [INFO] [stdout] --> src/ui/streaming.rs:132:21 [INFO] [stdout] | [INFO] [stdout] 132 | / if is_streaming { [INFO] [stdout] 133 | | eprintln!("{}", theme::current_theme().reset); [INFO] [stdout] 134 | | io::stderr().flush().ok(); [INFO] [stdout] 135 | | is_streaming = false; [INFO] [stdout] 136 | | } [INFO] [stdout] | |_____________________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#collapsible_match [INFO] [stdout] help: collapse nested if block [INFO] [stdout] | [INFO] [stdout] 131 ~ crate::stream_consumer::DisplayEvent::Done [INFO] [stdout] 132 ~ if is_streaming => { [INFO] [stdout] 133 | eprintln!("{}", theme::current_theme().reset); [INFO] [stdout] 134 | io::stderr().flush().ok(); [INFO] [stdout] 135 | is_streaming = false; [INFO] [stdout] 136 ~ } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `query` [INFO] [stdout] --> src/query/mod.rs:831:9 [INFO] [stdout] | [INFO] [stdout] 831 | let query = query.as_str(); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_query` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `result` [INFO] [stdout] --> src/context/tests.rs:3808:13 [INFO] [stdout] | [INFO] [stdout] 3808 | let result = detect_container(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_result` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `is_ignored_path` is never used [INFO] [stdout] --> src/memory/mod.rs:197:12 [INFO] [stdout] | [INFO] [stdout] 34 | impl MemorySystem { [INFO] [stdout] | ----------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 197 | pub fn is_ignored_path(&self, path: &Path) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `default_limit` is never used [INFO] [stdout] --> src/memory/types.rs:71:12 [INFO] [stdout] | [INFO] [stdout] 50 | impl CoreLabel { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 71 | pub fn default_limit(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `DetectedSecret` is never constructed [INFO] [stdout] --> src/redact.rs:876:12 [INFO] [stdout] | [INFO] [stdout] 876 | pub struct DetectedSecret { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `detect_secrets_for_vault` is never used [INFO] [stdout] --> src/redact.rs:886:8 [INFO] [stdout] | [INFO] [stdout] 886 | pub fn detect_secrets_for_vault(text: &str) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `sidecar_status_inline` is never used [INFO] [stdout] --> src/runtime/global_daemon.rs:2553:12 [INFO] [stdout] | [INFO] [stdout] 2553 | pub fn sidecar_status_inline() -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `execute_outcome` is never used [INFO] [stdout] --> src/tools/glob.rs:18:8 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn execute_outcome(input: &serde_json::Value) -> anyhow::Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `execute_with_access` is never used [INFO] [stdout] --> src/tools/grep_file.rs:12:8 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn execute_with_access( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `execute_with_access` is never used [INFO] [stdout] --> src/tools/list_directory.rs:11:8 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn execute_with_access( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `execute_with_access` is never used [INFO] [stdout] --> src/tools/read_file.rs:41:8 [INFO] [stdout] | [INFO] [stdout] 41 | pub fn execute_with_access( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `execute_outcome` is never used [INFO] [stdout] --> src/tools/uninstall_skill.rs:50:8 [INFO] [stdout] | [INFO] [stdout] 50 | pub fn execute_outcome(input: &serde_json::Value) -> anyhow::Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `failure` is never used [INFO] [stdout] --> src/tools/runtime/invocation.rs:79:12 [INFO] [stdout] | [INFO] [stdout] 74 | impl ToolInvocationResult { [INFO] [stdout] | ------------------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 79 | pub fn failure(content: impl Into) -> Self { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `prompt_tty_yes_confirmation` is never used [INFO] [stdout] --> src/tools/runtime/tty_prompts.rs:137:8 [INFO] [stdout] | [INFO] [stdout] 137 | pub fn prompt_tty_yes_confirmation(prompt: &str) -> std::io::Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `prompt_tty_confirmation_default_yes` is never used [INFO] [stdout] --> src/tools/runtime/tty_prompts.rs:150:8 [INFO] [stdout] | [INFO] [stdout] 150 | pub fn prompt_tty_confirmation_default_yes(prompt: &str) -> std::io::Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `prompt_tty_confirmation_safe` is never used [INFO] [stdout] --> src/tools/runtime/tty_prompts.rs:164:8 [INFO] [stdout] | [INFO] [stdout] 164 | pub fn prompt_tty_confirmation_safe(prompt: &str) -> std::io::Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Info` is never constructed [INFO] [stdout] --> src/ui/mod.rs:104:5 [INFO] [stdout] | [INFO] [stdout] 100 | pub enum BoxStyle { [INFO] [stdout] | -------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 104 | Info, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `render_simple_box` is never used [INFO] [stdout] --> src/ui/mod.rs:172:8 [INFO] [stdout] | [INFO] [stdout] 172 | pub fn render_simple_box(label: &str, text: &str, box_style: BoxStyle) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `section_header` is never used [INFO] [stdout] --> src/ui/mod.rs:186:8 [INFO] [stdout] | [INFO] [stdout] 186 | pub fn section_header(title: &str) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `hr` is never used [INFO] [stdout] --> src/ui/mod.rs:202:8 [INFO] [stdout] | [INFO] [stdout] 202 | pub fn hr() { [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `tool_error` is never used [INFO] [stdout] --> src/ui/mod.rs:220:8 [INFO] [stdout] | [INFO] [stdout] 220 | pub fn tool_error(message: &str) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `tool_success` is never used [INFO] [stdout] --> src/ui/mod.rs:229:8 [INFO] [stdout] | [INFO] [stdout] 229 | pub fn tool_success(message: &str) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `tool_divider` is never used [INFO] [stdout] --> src/ui/mod.rs:240:8 [INFO] [stdout] | [INFO] [stdout] 240 | pub fn tool_divider(tool_name: &str) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `text`, `subtext`, and `italic` are never read [INFO] [stdout] --> src/ui/theme.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct Theme { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 4 | pub text: &'static str, [INFO] [stdout] | ^^^^ [INFO] [stdout] 5 | pub subtext: &'static str, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 14 | pub italic: &'static str, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `RESET` is never used [INFO] [stdout] --> src/ui/mod.rs:15:15 [INFO] [stdout] | [INFO] [stdout] 15 | pub const RESET: &str = "\x1b[0m"; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `BOLD` is never used [INFO] [stdout] --> src/ui/mod.rs:16:15 [INFO] [stdout] | [INFO] [stdout] 16 | pub const BOLD: &str = "\x1b[1m"; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `DIM` is never used [INFO] [stdout] --> src/ui/mod.rs:17:15 [INFO] [stdout] | [INFO] [stdout] 17 | pub const DIM: &str = "\x1b[2m"; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `ITALIC` is never used [INFO] [stdout] --> src/ui/mod.rs:18:15 [INFO] [stdout] | [INFO] [stdout] 18 | pub const ITALIC: &str = "\x1b[3m"; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `UNDERLINE` is never used [INFO] [stdout] --> src/ui/mod.rs:19:15 [INFO] [stdout] | [INFO] [stdout] 19 | pub const UNDERLINE: &str = "\x1b[4m"; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `RED` is never used [INFO] [stdout] --> src/ui/mod.rs:21:15 [INFO] [stdout] | [INFO] [stdout] 21 | pub const RED: &str = "\x1b[31m"; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `GREEN` is never used [INFO] [stdout] --> src/ui/mod.rs:22:15 [INFO] [stdout] | [INFO] [stdout] 22 | pub const GREEN: &str = "\x1b[32m"; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `YELLOW` is never used [INFO] [stdout] --> src/ui/mod.rs:23:15 [INFO] [stdout] | [INFO] [stdout] 23 | pub const YELLOW: &str = "\x1b[33m"; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `BLUE` is never used [INFO] [stdout] --> src/ui/mod.rs:24:15 [INFO] [stdout] | [INFO] [stdout] 24 | pub const BLUE: &str = "\x1b[34m"; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MAGENTA` is never used [INFO] [stdout] --> src/ui/mod.rs:25:15 [INFO] [stdout] | [INFO] [stdout] 25 | pub const MAGENTA: &str = "\x1b[35m"; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `CYAN` is never used [INFO] [stdout] --> src/ui/mod.rs:26:15 [INFO] [stdout] | [INFO] [stdout] 26 | pub const CYAN: &str = "\x1b[36m"; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `WHITE` is never used [INFO] [stdout] --> src/ui/mod.rs:27:15 [INFO] [stdout] | [INFO] [stdout] 27 | pub const WHITE: &str = "\x1b[37m"; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `BOLD_RED` is never used [INFO] [stdout] --> src/ui/mod.rs:29:15 [INFO] [stdout] | [INFO] [stdout] 29 | pub const BOLD_RED: &str = "\x1b[1;31m"; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `BOLD_GREEN` is never used [INFO] [stdout] --> src/ui/mod.rs:30:15 [INFO] [stdout] | [INFO] [stdout] 30 | pub const BOLD_GREEN: &str = "\x1b[1;32m"; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `BOLD_YELLOW` is never used [INFO] [stdout] --> src/ui/mod.rs:31:15 [INFO] [stdout] | [INFO] [stdout] 31 | pub const BOLD_YELLOW: &str = "\x1b[1;33m"; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `BOLD_MAGENTA` is never used [INFO] [stdout] --> src/ui/mod.rs:33:15 [INFO] [stdout] | [INFO] [stdout] 33 | pub const BOLD_MAGENTA: &str = "\x1b[1;35m"; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this function has too many arguments (9/7) [INFO] [stdout] --> src/app/daemon_transport.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | / pub(super) fn record_request( [INFO] [stdout] 5 | | session: String, [INFO] [stdout] 6 | | command: String, [INFO] [stdout] 7 | | cwd: String, [INFO] [stdout] ... | [INFO] [stdout] 13 | | shell: String, [INFO] [stdout] 14 | | ) -> crate::daemon::DaemonRequest { [INFO] [stdout] | |_________________________________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#too_many_arguments [INFO] [stdout] = note: `#[warn(clippy::too_many_arguments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: used `unwrap()` on `Some` value [INFO] [stdout] --> src/db/tests.rs:2497:32 [INFO] [stdout] | [INFO] [stdout] 2497 | assert!(hb2.unwrap() > hb1.unwrap()); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: remove the `Some` and `unwrap()` [INFO] [stdout] --> src/db/tests.rs:2483:19 [INFO] [stdout] | [INFO] [stdout] 2483 | let hb1 = Some("2025-01-01T00:00:00Z".to_string()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_literal_unwrap [INFO] [stdout] = note: `#[warn(clippy::unnecessary_literal_unwrap)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this `if` can be collapsed into the outer `match` [INFO] [stdout] --> src/query/tool_health.rs:80:17 [INFO] [stdout] | [INFO] [stdout] 80 | / if error.contains("timed out") || error.contains("timeout") { [INFO] [stdout] 81 | | parts.push("DIAGNOSTIC: Network request timed out.".into()); [INFO] [stdout] 82 | | parts.push( [INFO] [stdout] 83 | | "SUGGESTION: Try local alternatives — search_history, read_file, man_page." [INFO] [stdout] 84 | | .into(), [INFO] [stdout] 85 | | ); [INFO] [stdout] 86 | | } [INFO] [stdout] | |_________________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#collapsible_match [INFO] [stdout] = note: `#[warn(clippy::collapsible_match)]` on by default [INFO] [stdout] help: collapse nested if block [INFO] [stdout] | [INFO] [stdout] 79 ~ "web_search" | "github" [INFO] [stdout] 80 ~ if (error.contains("timed out") || error.contains("timeout")) => { [INFO] [stdout] 81 | parts.push("DIAGNOSTIC: Network request timed out.".into()); [INFO] [stdout] ... [INFO] [stdout] 85 | ); [INFO] [stdout] 86 ~ } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this `if` statement can be collapsed [INFO] [stdout] --> src/runtime/global_daemon.rs:1258:13 [INFO] [stdout] | [INFO] [stdout] 1258 | / if command.starts_with("ssh ") || command == "ssh" { [INFO] [stdout] 1259 | | if let Err(error) = db.backfill_command_entities_if_needed() { [INFO] [stdout] 1260 | | tracing::warn!( [INFO] [stdout] 1261 | | "failed to backfill command entities after recording command {id} for session `{session}`: {error}" [INFO] [stdout] ... | [INFO] [stdout] 1264 | | } [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#collapsible_if [INFO] [stdout] = note: `#[warn(clippy::collapsible_if)]` on by default [INFO] [stdout] help: collapse nested if block [INFO] [stdout] | [INFO] [stdout] 1258 ~ if (command.starts_with("ssh ") || command == "ssh") { [INFO] [stdout] 1259 ~ && let Err(error) = db.backfill_command_entities_if_needed() { [INFO] [stdout] 1260 | tracing::warn!( [INFO] [stdout] 1261 | "failed to backfill command entities after recording command {id} for session `{session}`: {error}" [INFO] [stdout] 1262 | ); [INFO] [stdout] 1263 ~ } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this `if` can be collapsed into the outer `match` [INFO] [stdout] --> src/security.rs:109:17 [INFO] [stdout] | [INFO] [stdout] 109 | / if chars.peek() == Some(&'|') { [INFO] [stdout] 110 | | chars.next(); [INFO] [stdout] 111 | | let trimmed = current.trim().to_string(); [INFO] [stdout] 112 | | if !trimmed.is_empty() { [INFO] [stdout] ... | [INFO] [stdout] 117 | | current.push(c); [INFO] [stdout] 118 | | } [INFO] [stdout] | |_________________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#collapsible_match [INFO] [stdout] help: collapse nested if block [INFO] [stdout] | [INFO] [stdout] 108 ~ '|' [INFO] [stdout] 109 ~ if chars.peek() == Some(&'|') => { [INFO] [stdout] 110 | chars.next(); [INFO] [stdout] ... [INFO] [stdout] 115 | current.clear(); [INFO] [stdout] 116 ~ } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this `if` can be collapsed into the outer `match` [INFO] [stdout] --> src/security.rs:121:17 [INFO] [stdout] | [INFO] [stdout] 121 | / if chars.peek() == Some(&'&') { [INFO] [stdout] 122 | | chars.next(); [INFO] [stdout] 123 | | let trimmed = current.trim().to_string(); [INFO] [stdout] 124 | | if !trimmed.is_empty() { [INFO] [stdout] ... | [INFO] [stdout] 129 | | current.push(c); [INFO] [stdout] 130 | | } [INFO] [stdout] | |_________________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#collapsible_match [INFO] [stdout] help: collapse nested if block [INFO] [stdout] | [INFO] [stdout] 120 ~ '&' [INFO] [stdout] 121 ~ if chars.peek() == Some(&'&') => { [INFO] [stdout] 122 | chars.next(); [INFO] [stdout] ... [INFO] [stdout] 127 | current.clear(); [INFO] [stdout] 128 ~ } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this function has too many arguments (8/7) [INFO] [stdout] --> src/tools/chat.rs:52:1 [INFO] [stdout] | [INFO] [stdout] 52 | / fn execute( [INFO] [stdout] 53 | | input: &serde_json::Value, [INFO] [stdout] 54 | | original_query: &str, [INFO] [stdout] 55 | | db: &dyn DbAccess, [INFO] [stdout] ... | [INFO] [stdout] 60 | | json_output: bool, [INFO] [stdout] 61 | | ) -> anyhow::Result<()> { [INFO] [stdout] | |_______________________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#too_many_arguments [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this function has too many arguments (8/7) [INFO] [stdout] --> src/tools/command.rs:66:1 [INFO] [stdout] | [INFO] [stdout] 66 | / fn execute( [INFO] [stdout] 67 | | input: &serde_json::Value, [INFO] [stdout] 68 | | original_query: &str, [INFO] [stdout] 69 | | db: &dyn DbAccess, [INFO] [stdout] ... | [INFO] [stdout] 74 | | json_output: bool, [INFO] [stdout] 75 | | ) -> anyhow::Result { [INFO] [stdout] | |____________________________________________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#too_many_arguments [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `len` is never smaller than `0` and has therefore no effect [INFO] [stdout] --> src/tools/command.rs:1099:34 [INFO] [stdout] | [INFO] [stdout] 1099 | let clamp = |len: usize| len.max(0).clamp(20, 60); [INFO] [stdout] | ^^^^^^^^^^ help: try: `len` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_min_or_max [INFO] [stdout] = note: `#[warn(clippy::unnecessary_min_or_max)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this `if` can be collapsed into the outer `match` [INFO] [stdout] --> src/ui/streaming.rs:132:21 [INFO] [stdout] | [INFO] [stdout] 132 | / if is_streaming { [INFO] [stdout] 133 | | eprintln!("{}", theme::current_theme().reset); [INFO] [stdout] 134 | | io::stderr().flush().ok(); [INFO] [stdout] 135 | | is_streaming = false; [INFO] [stdout] 136 | | } [INFO] [stdout] | |_____________________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#collapsible_match [INFO] [stdout] help: collapse nested if block [INFO] [stdout] | [INFO] [stdout] 131 ~ crate::stream_consumer::DisplayEvent::Done [INFO] [stdout] 132 ~ if is_streaming => { [INFO] [stdout] 133 | eprintln!("{}", theme::current_theme().reset); [INFO] [stdout] 134 | io::stderr().flush().ok(); [INFO] [stdout] 135 | is_streaming = false; [INFO] [stdout] 136 ~ } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 3m 14s [INFO] running `Command { std: "docker" "inspect" "7e34e425c39bb65a2757c9dbd97401bbdb88f664ee63895569ed9925ff62cd60", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7e34e425c39bb65a2757c9dbd97401bbdb88f664ee63895569ed9925ff62cd60", kill_on_drop: false }` [INFO] [stdout] 7e34e425c39bb65a2757c9dbd97401bbdb88f664ee63895569ed9925ff62cd60