[INFO] cloning repository https://github.com/jshachm/pi-rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/jshachm/pi-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjshachm%2Fpi-rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjshachm%2Fpi-rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] c0cd3dd76efee2ee6d2f9710eaeb0d86bd156109 [INFO] testing jshachm/pi-rs against master#562dee4820c458d823175268e41601d4c060588a for pr-154210-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjshachm%2Fpi-rs" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/jshachm/pi-rs [INFO] finished tweaking git repo https://github.com/jshachm/pi-rs [INFO] tweaked toml for git repo https://github.com/jshachm/pi-rs written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/jshachm/pi-rs on toolchain 562dee4820c458d823175268e41601d4c060588a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/jshachm/pi-rs 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" "+562dee4820c458d823175268e41601d4c060588a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded getrandom v0.4.1 [INFO] [stderr] Downloaded uuid v1.21.0 [INFO] [stderr] Downloaded tokio-test v0.4.5 [INFO] [stderr] Downloaded libredox v0.1.12 [INFO] [stderr] Downloaded instability v0.3.11 [INFO] [stderr] Downloaded unicode-truncate v1.1.0 [INFO] [stderr] Downloaded lru v0.12.5 [INFO] [stderr] Downloaded tokio-retry v0.3.0 [INFO] [stderr] Downloaded castaway v0.2.4 [INFO] [stderr] Downloaded dirs-sys v0.4.1 [INFO] [stderr] Downloaded dirs v5.0.1 [INFO] [stderr] Downloaded indoc v2.0.7 [INFO] [stderr] Downloaded ipnet v2.11.0 [INFO] [stderr] Downloaded tempfile v3.26.0 [INFO] [stderr] Downloaded cassowary v0.3.0 [INFO] [stderr] Downloaded socket2 v0.6.2 [INFO] [stderr] Downloaded similar v2.7.0 [INFO] [stderr] Downloaded clap v4.5.60 [INFO] [stderr] Downloaded schannel v0.1.28 [INFO] [stderr] Downloaded zerocopy-derive v0.8.40 [INFO] [stderr] Downloaded openssl-sys v0.9.111 [INFO] [stderr] Downloaded compact_str v0.8.1 [INFO] [stderr] Downloaded crossterm v0.28.1 [INFO] [stderr] Downloaded clap_builder v4.5.60 [INFO] [stderr] Downloaded tracing-subscriber v0.3.22 [INFO] [stderr] Downloaded zerocopy v0.8.40 [INFO] [stderr] Downloaded openssl v0.10.75 [INFO] [stderr] Downloaded ratatui v0.28.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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" "+562dee4820c458d823175268e41601d4c060588a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d70046481fc8ef3f086f37b7e4b06fab7b6ba3919d57208eb5dbd204d4c8a3e9 [INFO] running `Command { std: "docker" "start" "-a" "d70046481fc8ef3f086f37b7e4b06fab7b6ba3919d57208eb5dbd204d4c8a3e9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d70046481fc8ef3f086f37b7e4b06fab7b6ba3919d57208eb5dbd204d4c8a3e9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d70046481fc8ef3f086f37b7e4b06fab7b6ba3919d57208eb5dbd204d4c8a3e9", kill_on_drop: false }` [INFO] [stdout] d70046481fc8ef3f086f37b7e4b06fab7b6ba3919d57208eb5dbd204d4c8a3e9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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" "+562dee4820c458d823175268e41601d4c060588a" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 46267797cb7151ce60a70bee7a6ef84fbb2bbb6a865213deb2df52828275e763 [INFO] running `Command { std: "docker" "start" "-a" "46267797cb7151ce60a70bee7a6ef84fbb2bbb6a865213deb2df52828275e763", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.106 [INFO] [stderr] Compiling unicode-ident v1.0.24 [INFO] [stderr] Compiling quote v1.0.44 [INFO] [stderr] Compiling libc v0.2.182 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling log v0.4.29 [INFO] [stderr] Compiling pin-project-lite v0.2.17 [INFO] [stderr] Compiling parking_lot_core v0.9.12 [INFO] [stderr] Compiling lock_api v0.4.14 [INFO] [stderr] Compiling futures-core v0.3.32 [INFO] [stderr] Compiling memchr v2.8.0 [INFO] [stderr] Compiling stable_deref_trait v1.2.1 [INFO] [stderr] Compiling bytes v1.11.1 [INFO] [stderr] Compiling itoa v1.0.17 [INFO] [stderr] Compiling futures-sink v0.3.32 [INFO] [stderr] Compiling find-msvc-tools v0.1.9 [INFO] [stderr] Compiling cc v1.2.56 [INFO] [stderr] Compiling slab v0.4.12 [INFO] [stderr] Compiling vcpkg v0.2.15 [INFO] [stderr] Compiling futures-channel v0.3.32 [INFO] [stderr] Compiling bitflags v2.11.0 [INFO] [stderr] Compiling http v1.4.0 [INFO] [stderr] Compiling tracing-core v0.1.36 [INFO] [stderr] Compiling futures-io v0.3.32 [INFO] [stderr] Compiling litemap v0.8.1 [INFO] [stderr] Compiling syn v2.0.117 [INFO] [stderr] Compiling errno v0.3.14 [INFO] [stderr] Compiling mio v1.1.1 [INFO] [stderr] Compiling socket2 v0.6.2 [INFO] [stderr] Compiling signal-hook-registry v1.4.8 [INFO] [stderr] Compiling parking_lot v0.12.5 [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Compiling writeable v0.6.2 [INFO] [stderr] Compiling futures-task v0.3.32 [INFO] [stderr] Compiling strsim v0.11.1 [INFO] [stderr] Compiling icu_properties_data v2.1.2 [INFO] [stderr] Compiling rustversion v1.0.22 [INFO] [stderr] Compiling icu_normalizer_data v2.1.1 [INFO] [stderr] Compiling http-body v1.0.1 [INFO] [stderr] Compiling httparse v1.10.1 [INFO] [stderr] Compiling hashbrown v0.16.1 [INFO] [stderr] Compiling zerocopy v0.8.40 [INFO] [stderr] Compiling openssl v0.10.75 [INFO] [stderr] Compiling percent-encoding v2.3.2 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Compiling try-lock v0.2.5 [INFO] [stderr] Compiling tower-service v0.3.3 [INFO] [stderr] Compiling openssl-sys v0.9.111 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Compiling signal-hook v0.3.18 [INFO] [stderr] Compiling native-tls v0.2.18 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling indexmap v2.13.0 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling want v0.3.1 [INFO] [stderr] Compiling getrandom v0.2.17 [INFO] [stderr] Compiling aho-corasick v1.1.4 [INFO] [stderr] Compiling rustix v0.38.44 [INFO] [stderr] Compiling ryu v1.0.23 [INFO] [stderr] Compiling utf8parse v0.2.2 [INFO] [stderr] Compiling regex-syntax v0.8.10 [INFO] [stderr] Compiling openssl-probe v0.2.1 [INFO] [stderr] Compiling zmij v1.0.21 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling anstyle-parse v0.2.7 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling form_urlencoded v1.2.2 [INFO] [stderr] Compiling sync_wrapper v1.0.2 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling is_terminal_polyfill v1.70.2 [INFO] [stderr] Compiling paste v1.0.15 [INFO] [stderr] Compiling base64 v0.22.1 [INFO] [stderr] Compiling instability v0.3.11 [INFO] [stderr] Compiling ipnet v2.11.0 [INFO] [stderr] Compiling anstyle v1.0.13 [INFO] [stderr] Compiling anstyle-query v1.1.5 [INFO] [stderr] Compiling tower-layer v0.3.3 [INFO] [stderr] Compiling colorchoice v1.0.4 [INFO] [stderr] Compiling linux-raw-sys v0.4.15 [INFO] [stderr] Compiling getrandom v0.4.1 [INFO] [stderr] Compiling serde_json v1.0.149 [INFO] [stderr] Compiling anstream v0.6.21 [INFO] [stderr] Compiling regex-automata v0.4.14 [INFO] [stderr] Compiling itertools v0.13.0 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling darling_core v0.23.0 [INFO] [stderr] Compiling signal-hook-mio v0.2.5 [INFO] [stderr] Compiling castaway v0.2.4 [INFO] [stderr] Compiling http-body-util v0.1.3 [INFO] [stderr] Compiling iri-string v0.7.10 [INFO] [stderr] Compiling option-ext v0.2.0 [INFO] [stderr] Compiling indoc v2.0.7 [INFO] [stderr] Compiling anyhow v1.0.102 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Compiling clap_lex v1.0.0 [INFO] [stderr] Compiling unicode-width v0.1.14 [INFO] [stderr] Compiling unicode-segmentation v1.12.0 [INFO] [stderr] Compiling zeroize v1.8.2 [INFO] [stderr] Compiling clap_builder v4.5.60 [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 tokio v1.49.0 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling futures-macro v0.3.32 [INFO] [stderr] Compiling yoke v0.8.1 [INFO] [stderr] Compiling tracing-attributes v0.1.31 [INFO] [stderr] Compiling zerovec v0.11.5 [INFO] [stderr] Compiling zerotrie v0.2.3 [INFO] [stderr] Compiling futures-util v0.3.32 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling tinystr v0.8.2 [INFO] [stderr] Compiling potential_utf v0.1.4 [INFO] [stderr] Compiling icu_collections v2.1.1 [INFO] [stderr] Compiling icu_locale_core v2.1.1 [INFO] [stderr] Compiling tracing v0.1.44 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling darling_macro v0.23.0 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling icu_provider v2.1.1 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling icu_properties v2.1.2 [INFO] [stderr] Compiling icu_normalizer v2.1.1 [INFO] [stderr] Compiling darling v0.23.0 [INFO] [stderr] Compiling strum_macros v0.26.4 [INFO] [stderr] Compiling pin-project-internal v1.1.11 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling idna v1.1.0 [INFO] [stderr] Compiling futures-executor v0.3.32 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling pin-project v1.1.11 [INFO] [stderr] Compiling url v2.5.8 [INFO] [stderr] Compiling strum v0.26.3 [INFO] [stderr] Compiling matchers v0.2.0 [INFO] [stderr] Compiling unicode-truncate v1.1.0 [INFO] [stderr] Compiling rustls-pki-types v1.14.0 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling tokio-util v0.7.18 [INFO] [stderr] Compiling tower v0.5.3 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling tower-http v0.6.8 [INFO] [stderr] Compiling clap_derive v4.5.55 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling sharded-slab v0.1.7 [INFO] [stderr] Compiling h2 v0.4.13 [INFO] [stderr] Compiling dirs-sys v0.4.1 [INFO] [stderr] Compiling compact_str v0.8.1 [INFO] [stderr] Compiling crossterm v0.28.1 [INFO] [stderr] Compiling lru v0.12.5 [INFO] [stderr] Compiling tracing-log v0.2.0 [INFO] [stderr] Compiling encoding_rs v0.8.35 [INFO] [stderr] Compiling thread_local v1.1.9 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling mime v0.3.17 [INFO] [stderr] Compiling iana-time-zone v0.1.65 [INFO] [stderr] Compiling nu-ansi-term v0.50.3 [INFO] [stderr] Compiling cassowary v0.3.0 [INFO] [stderr] Compiling tracing-subscriber v0.3.22 [INFO] [stderr] Compiling clap v4.5.60 [INFO] [stderr] Compiling chrono v0.4.44 [INFO] [stderr] Compiling ratatui v0.28.1 [INFO] [stderr] Compiling walkdir v2.5.0 [INFO] [stderr] Compiling uuid v1.21.0 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling dirs v5.0.1 [INFO] [stderr] Compiling tokio-retry v0.3.0 [INFO] [stderr] Compiling futures v0.3.32 [INFO] [stderr] Compiling regex v1.12.3 [INFO] [stderr] Compiling async-trait v0.1.89 [INFO] [stderr] Compiling similar v2.7.0 [INFO] [stderr] Compiling glob v0.3.3 [INFO] [stderr] Compiling dotenv v0.15.0 [INFO] [stderr] Compiling hyper v1.8.1 [INFO] [stderr] Compiling hyper-util v0.1.20 [INFO] [stderr] Compiling hyper-tls v0.6.0 [INFO] [stderr] Compiling reqwest v0.12.28 [INFO] [stderr] Compiling pi-rs v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `timeout` [INFO] [stdout] --> src/tools/epkg.rs:159:9 [INFO] [stdout] | [INFO] [stdout] 159 | let timeout = std::time::Duration::from_millis(input.timeout_ms.unwrap_or(DEFAULT_TIMEOUT_MS)); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_timeout` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `role` is never read [INFO] [stdout] --> src/providers/openai.rs:233:5 [INFO] [stdout] | [INFO] [stdout] 232 | struct OpenAIMessage { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] 233 | role: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `OpenAIMessage` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `call_type` is never read [INFO] [stdout] --> src/providers/openai.rs:244:5 [INFO] [stdout] | [INFO] [stdout] 241 | struct OpenAIToolCall { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 244 | call_type: String, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `OpenAIToolCall` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `total_tokens` is never read [INFO] [stdout] --> src/providers/openai.rs:260:5 [INFO] [stdout] | [INFO] [stdout] 257 | struct OpenAIUsage { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 260 | total_tokens: u64, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `OpenAIUsage` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `role` is never read [INFO] [stdout] --> src/providers/google.rs:185:5 [INFO] [stdout] | [INFO] [stdout] 183 | struct GoogleContent { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] 184 | parts: Vec, [INFO] [stdout] 185 | role: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `GoogleContent` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `object`, `created`, and `model` are never read [INFO] [stdout] --> src/providers/moonshot.rs:219:5 [INFO] [stdout] | [INFO] [stdout] 217 | struct MoonshotResponse { [INFO] [stdout] | ---------------- fields in this struct [INFO] [stdout] 218 | id: String, [INFO] [stdout] 219 | object: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 220 | created: u64, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 221 | model: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MoonshotResponse` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `role` is never read [INFO] [stdout] --> src/providers/moonshot.rs:235:5 [INFO] [stdout] | [INFO] [stdout] 234 | struct MoonshotMessage { [INFO] [stdout] | --------------- field in this struct [INFO] [stdout] 235 | role: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MoonshotMessage` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `total_tokens` is never read [INFO] [stdout] --> src/providers/moonshot.rs:246:5 [INFO] [stdout] | [INFO] [stdout] 243 | struct MoonshotUsage { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 246 | total_tokens: u64, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MoonshotUsage` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `id`, `call_type`, and `index` are never read [INFO] [stdout] --> src/providers/moonshot.rs:252:5 [INFO] [stdout] | [INFO] [stdout] 251 | struct MoonshotToolCall { [INFO] [stdout] | ---------------- fields in this struct [INFO] [stdout] 252 | id: String, [INFO] [stdout] | ^^ [INFO] [stdout] 253 | #[serde(rename = "type")] [INFO] [stdout] 254 | call_type: String, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 255 | function: MoonshotFunctionCall, [INFO] [stdout] 256 | index: Option, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MoonshotToolCall` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `object`, `created`, `model`, and `done` are never read [INFO] [stdout] --> src/providers/ollama.rs:169:5 [INFO] [stdout] | [INFO] [stdout] 167 | struct OllamaResponse { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] 168 | id: Option, [INFO] [stdout] 169 | object: Option, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 170 | created: Option, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 171 | model: Option, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 172 | message: OllamaMessage, [INFO] [stdout] 173 | done: Option, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `OllamaResponse` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `role` is never read [INFO] [stdout] --> src/providers/ollama.rs:178:5 [INFO] [stdout] | [INFO] [stdout] 177 | struct OllamaMessage { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] 178 | role: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `OllamaMessage` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `role` is never read [INFO] [stdout] --> src/providers/mistral.rs:201:5 [INFO] [stdout] | [INFO] [stdout] 199 | struct MistralMessage { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] 200 | content: Option, [INFO] [stdout] 201 | role: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `role` is never read [INFO] [stdout] --> src/providers/groq.rs:222:5 [INFO] [stdout] | [INFO] [stdout] 220 | struct GroqMessage { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] 221 | content: Option, [INFO] [stdout] 222 | role: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `tools` is never read [INFO] [stdout] --> src/cli/interactive.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct InteractiveMode { [INFO] [stdout] | --------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 15 | tools: Vec, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `project_path` is never read [INFO] [stdout] --> src/settings/manager.rs:78:5 [INFO] [stdout] | [INFO] [stdout] 74 | pub struct SettingsManager { [INFO] [stdout] | --------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 78 | project_path: Option, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `tools` is never read [INFO] [stdout] --> src/tui/app.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 25 | pub struct TuiApp { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 29 | tools: Vec, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `timeout` [INFO] [stdout] --> src/tools/epkg.rs:159:9 [INFO] [stdout] | [INFO] [stdout] 159 | let timeout = std::time::Duration::from_millis(input.timeout_ms.unwrap_or(DEFAULT_TIMEOUT_MS)); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_timeout` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `tools` is never read [INFO] [stdout] --> src/cli/interactive.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct InteractiveMode { [INFO] [stdout] | --------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 15 | tools: Vec, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> src/session/manager.rs:189:12 [INFO] [stdout] | [INFO] [stdout] 47 | impl SessionManager { [INFO] [stdout] | ------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 189 | pub fn is_persisted(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 199 | pub fn get_session_dir(&self) -> &Path { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 209 | pub fn get_session_file(&self) -> Option<&Path> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 214 | pub fn get_leaf_id(&self) -> Option<&str> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 219 | pub fn get_leaf_entry(&self) -> Option<&SessionEntry> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 224 | pub fn get_entry(&self, id: &str) -> Option<&SessionEntry> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 229 | pub fn get_label(&self, id: &str) -> Option<&str> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 234 | pub fn get_children(&self, parent_id: &str) -> Vec<&SessionEntry> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 256 | pub fn get_header(&self) -> Option<&SessionHeader> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 285 | pub fn append_model_change(&mut self, provider: &str, model_id: &str) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 294 | pub fn append_compaction( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 314 | pub fn append_custom_entry(&mut self, custom_type: &str) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 323 | pub fn append_session_info(&mut self, name: &str) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 344 | pub fn append_label(&mut self, target_id: &str, label: Option<&str>) -> String { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 574 | pub fn branch(&mut self, branch_from_id: &str) -> Result<(), String> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 583 | pub fn reset_leaf(&mut self) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 588 | pub fn branch_with_summary( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/session/entry.rs:104:12 [INFO] [stdout] | [INFO] [stdout] 103 | impl ModelChangeEntry { [INFO] [stdout] | --------------------- associated function in this implementation [INFO] [stdout] 104 | pub fn new(id: String, parent_id: Option, provider: &str, model_id: &str) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/session/entry.rs:134:12 [INFO] [stdout] | [INFO] [stdout] 133 | impl CompactionEntry { [INFO] [stdout] | -------------------- associated function in this implementation [INFO] [stdout] 134 | pub fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/session/entry.rs:172:12 [INFO] [stdout] | [INFO] [stdout] 171 | impl BranchSummaryEntry { [INFO] [stdout] | ----------------------- associated function in this implementation [INFO] [stdout] 172 | pub fn new(id: String, parent_id: Option, from_id: &str, summary: &str) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/session/entry.rs:200:12 [INFO] [stdout] | [INFO] [stdout] 199 | impl CustomEntry { [INFO] [stdout] | ---------------- associated function in this implementation [INFO] [stdout] 200 | pub fn new(id: String, parent_id: Option, custom_type: &str) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/session/entry.rs:228:12 [INFO] [stdout] | [INFO] [stdout] 227 | impl CustomMessageEntry { [INFO] [stdout] | ----------------------- associated function in this implementation [INFO] [stdout] 228 | pub fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/session/entry.rs:261:12 [INFO] [stdout] | [INFO] [stdout] 260 | impl LabelEntry { [INFO] [stdout] | --------------- associated function in this implementation [INFO] [stdout] 261 | pub fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/session/entry.rs:290:12 [INFO] [stdout] | [INFO] [stdout] 289 | impl SessionInfoEntry { [INFO] [stdout] | --------------------- associated function in this implementation [INFO] [stdout] 290 | pub fn new(id: String, parent_id: Option, name: &str) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `model` is never read [INFO] [stdout] --> src/session/entry.rs:375:9 [INFO] [stdout] | [INFO] [stdout] 372 | pub struct SessionContext { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 375 | pub model: Option<(String, String)>, // (provider, model_id) [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SessionContext` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `label` is never read [INFO] [stdout] --> src/session/entry.rs:383:9 [INFO] [stdout] | [INFO] [stdout] 380 | pub struct SessionTreeNode { [INFO] [stdout] | --------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 383 | pub label: Option, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SessionTreeNode` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SessionInfo` is never constructed [INFO] [stdout] --> src/session/entry.rs:388:12 [INFO] [stdout] | [INFO] [stdout] 388 | pub struct SessionInfo { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `coding_tools_arc` is never used [INFO] [stdout] --> src/tools/mod.rs:34:8 [INFO] [stdout] | [INFO] [stdout] 34 | pub fn coding_tools_arc() -> Vec> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `read_only_tools` is never used [INFO] [stdout] --> src/tools/mod.rs:44:8 [INFO] [stdout] | [INFO] [stdout] 44 | pub fn read_only_tools() -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `read_only_tools_arc` is never used [INFO] [stdout] --> src/tools/mod.rs:49:8 [INFO] [stdout] | [INFO] [stdout] 49 | pub fn read_only_tools_arc() -> Vec> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_tool_by_name` is never used [INFO] [stdout] --> src/tools/mod.rs:59:8 [INFO] [stdout] | [INFO] [stdout] 59 | pub fn get_tool_by_name(name: &str) -> Option> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `description` is never read [INFO] [stdout] --> src/tools/bash.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 18 | pub struct BashToolInput { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 23 | pub description: Option, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `BashToolInput` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `description` is never read [INFO] [stdout] --> src/tools/epkg.rs:37:9 [INFO] [stdout] | [INFO] [stdout] 16 | pub struct EpkgToolInput { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 37 | pub description: Option, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `EpkgToolInput` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `include` is never read [INFO] [stdout] --> src/tools/grep.rs:25:9 [INFO] [stdout] | [INFO] [stdout] 19 | pub struct GrepToolInput { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 25 | pub include: Option, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `GrepToolInput` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `from_json` is never used [INFO] [stdout] --> src/tools/tool.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 14 | impl ToolSchema { [INFO] [stdout] | --------------- associated function in this implementation [INFO] [stdout] 15 | pub fn from_json(schema: serde_json::Value) -> Self { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ToolCall` is never constructed [INFO] [stdout] --> src/tools/tool.rs:26:12 [INFO] [stdout] | [INFO] [stdout] 26 | pub struct ToolCall { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `with_code` is never used [INFO] [stdout] --> src/providers/provider.rs:26:12 [INFO] [stdout] | [INFO] [stdout] 18 | impl ProviderError { [INFO] [stdout] | ------------------ associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 26 | pub fn with_code(message: impl Into, code: impl Into) -> Self { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `StreamingChunk` is never constructed [INFO] [stdout] --> src/providers/provider.rs:58:12 [INFO] [stdout] | [INFO] [stdout] 58 | pub struct StreamingChunk { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `StreamingChoice` is never constructed [INFO] [stdout] --> src/providers/provider.rs:65:12 [INFO] [stdout] | [INFO] [stdout] 65 | pub struct StreamingChoice { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `StreamingDelta` is never constructed [INFO] [stdout] --> src/providers/provider.rs:73:12 [INFO] [stdout] | [INFO] [stdout] 73 | pub struct StreamingDelta { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ToolCall` is never constructed [INFO] [stdout] --> src/providers/provider.rs:84:12 [INFO] [stdout] | [INFO] [stdout] 84 | pub struct ToolCall { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `FunctionCall` is never constructed [INFO] [stdout] --> src/providers/provider.rs:92:12 [INFO] [stdout] | [INFO] [stdout] 92 | pub struct FunctionCall { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `name`, `chat_stream`, and `estimate_tokens` are never used [INFO] [stdout] --> src/providers/provider.rs:101:8 [INFO] [stdout] | [INFO] [stdout] 99 | pub trait Provider: Send + Sync { [INFO] [stdout] | -------- methods in this trait [INFO] [stdout] 100 | /// Get provider name [INFO] [stdout] 101 | fn name(&self) -> &str; [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 116 | async fn chat_stream( [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 125 | fn estimate_tokens(&self, text: &str) -> u64; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `role` is never read [INFO] [stdout] --> src/providers/openai.rs:233:5 [INFO] [stdout] | [INFO] [stdout] 232 | struct OpenAIMessage { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] 233 | role: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `OpenAIMessage` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `call_type` is never read [INFO] [stdout] --> src/providers/openai.rs:244:5 [INFO] [stdout] | [INFO] [stdout] 241 | struct OpenAIToolCall { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 244 | call_type: String, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `OpenAIToolCall` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `total_tokens` is never read [INFO] [stdout] --> src/providers/openai.rs:260:5 [INFO] [stdout] | [INFO] [stdout] 257 | struct OpenAIUsage { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 260 | total_tokens: u64, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `OpenAIUsage` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `role` is never read [INFO] [stdout] --> src/providers/google.rs:185:5 [INFO] [stdout] | [INFO] [stdout] 183 | struct GoogleContent { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] 184 | parts: Vec, [INFO] [stdout] 185 | role: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `GoogleContent` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `object`, `created`, and `model` are never read [INFO] [stdout] --> src/providers/moonshot.rs:219:5 [INFO] [stdout] | [INFO] [stdout] 217 | struct MoonshotResponse { [INFO] [stdout] | ---------------- fields in this struct [INFO] [stdout] 218 | id: String, [INFO] [stdout] 219 | object: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 220 | created: u64, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 221 | model: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MoonshotResponse` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `role` is never read [INFO] [stdout] --> src/providers/moonshot.rs:235:5 [INFO] [stdout] | [INFO] [stdout] 234 | struct MoonshotMessage { [INFO] [stdout] | --------------- field in this struct [INFO] [stdout] 235 | role: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MoonshotMessage` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `total_tokens` is never read [INFO] [stdout] --> src/providers/moonshot.rs:246:5 [INFO] [stdout] | [INFO] [stdout] 243 | struct MoonshotUsage { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 246 | total_tokens: u64, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MoonshotUsage` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `id`, `call_type`, and `index` are never read [INFO] [stdout] --> src/providers/moonshot.rs:252:5 [INFO] [stdout] | [INFO] [stdout] 251 | struct MoonshotToolCall { [INFO] [stdout] | ---------------- fields in this struct [INFO] [stdout] 252 | id: String, [INFO] [stdout] | ^^ [INFO] [stdout] 253 | #[serde(rename = "type")] [INFO] [stdout] 254 | call_type: String, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 255 | function: MoonshotFunctionCall, [INFO] [stdout] 256 | index: Option, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MoonshotToolCall` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `object`, `created`, `model`, and `done` are never read [INFO] [stdout] --> src/providers/ollama.rs:169:5 [INFO] [stdout] | [INFO] [stdout] 167 | struct OllamaResponse { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] 168 | id: Option, [INFO] [stdout] 169 | object: Option, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 170 | created: Option, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 171 | model: Option, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 172 | message: OllamaMessage, [INFO] [stdout] 173 | done: Option, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `OllamaResponse` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `role` is never read [INFO] [stdout] --> src/providers/ollama.rs:178:5 [INFO] [stdout] | [INFO] [stdout] 177 | struct OllamaMessage { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] 178 | role: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `OllamaMessage` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `role` is never read [INFO] [stdout] --> src/providers/mistral.rs:201:5 [INFO] [stdout] | [INFO] [stdout] 199 | struct MistralMessage { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] 200 | content: Option, [INFO] [stdout] 201 | role: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `role` is never read [INFO] [stdout] --> src/providers/groq.rs:222:5 [INFO] [stdout] | [INFO] [stdout] 220 | struct GroqMessage { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] 221 | content: Option, [INFO] [stdout] 222 | role: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_model` is never used [INFO] [stdout] --> src/providers/registry.rs:150:12 [INFO] [stdout] | [INFO] [stdout] 17 | impl ModelRegistry { [INFO] [stdout] | ------------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 150 | pub fn get_model(&self, model_id: &str) -> Option { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `as_str` is never used [INFO] [stdout] --> src/core/types.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 17 | impl Role { [INFO] [stdout] | --------- method in this implementation [INFO] [stdout] 18 | pub fn as_str(&self) -> &'static str { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TextContent` is never constructed [INFO] [stdout] --> src/core/types.rs:32:12 [INFO] [stdout] | [INFO] [stdout] 32 | pub struct TextContent { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/core/types.rs:38:12 [INFO] [stdout] | [INFO] [stdout] 37 | impl TextContent { [INFO] [stdout] | ---------------- associated function in this implementation [INFO] [stdout] 38 | pub fn new(text: impl Into) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ImageContent` is never constructed [INFO] [stdout] --> src/core/types.rs:49:12 [INFO] [stdout] | [INFO] [stdout] 49 | pub struct ImageContent { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/core/types.rs:63:12 [INFO] [stdout] | [INFO] [stdout] 62 | impl ImageContent { [INFO] [stdout] | ----------------- associated function in this implementation [INFO] [stdout] 63 | pub fn new(media_type: impl Into, data: impl Into) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `text` and `blocks` are never used [INFO] [stdout] --> src/core/types.rs:84:12 [INFO] [stdout] | [INFO] [stdout] 83 | impl MessageContent { [INFO] [stdout] | ------------------- associated functions in this implementation [INFO] [stdout] 84 | pub fn text(text: impl Into) -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 88 | pub fn blocks(blocks: Vec) -> Self { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `system` is never used [INFO] [stdout] --> src/core/types.rs:193:12 [INFO] [stdout] | [INFO] [stdout] 144 | impl Message { [INFO] [stdout] | ------------ associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 193 | pub fn system(content: impl Into) -> Self { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ToolResultBlock` is never constructed [INFO] [stdout] --> src/core/types.rs:232:12 [INFO] [stdout] | [INFO] [stdout] 232 | pub struct ToolResultBlock { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ProviderConfig` is never constructed [INFO] [stdout] --> src/core/types.rs:264:12 [INFO] [stdout] | [INFO] [stdout] 264 | pub struct ProviderConfig { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `LlmResponse` is never constructed [INFO] [stdout] --> src/core/types.rs:335:12 [INFO] [stdout] | [INFO] [stdout] 335 | pub struct LlmResponse { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ResponseChoice` is never constructed [INFO] [stdout] --> src/core/types.rs:345:12 [INFO] [stdout] | [INFO] [stdout] 345 | pub struct ResponseChoice { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `StreamingChunk` is never constructed [INFO] [stdout] --> src/core/types.rs:354:12 [INFO] [stdout] | [INFO] [stdout] 354 | pub struct StreamingChunk { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `StreamingChoice` is never constructed [INFO] [stdout] --> src/core/types.rs:361:12 [INFO] [stdout] | [INFO] [stdout] 361 | pub struct StreamingChoice { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Delta` is never constructed [INFO] [stdout] --> src/core/types.rs:369:12 [INFO] [stdout] | [INFO] [stdout] 369 | pub struct Delta { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `AgentConfig` is never constructed [INFO] [stdout] --> src/core/types.rs:380:12 [INFO] [stdout] | [INFO] [stdout] 380 | pub struct AgentConfig { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/core/types.rs:388:12 [INFO] [stdout] | [INFO] [stdout] 387 | impl AgentConfig { [INFO] [stdout] | ---------------- associated function in this implementation [INFO] [stdout] 388 | pub fn new(model: Model, provider: impl Into) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_config_path` is never used [INFO] [stdout] --> src/core/config.rs:19:8 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn get_config_path() -> PathBuf { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_auth_path` is never used [INFO] [stdout] --> src/core/config.rs:24:8 [INFO] [stdout] | [INFO] [stdout] 24 | pub fn get_auth_path() -> PathBuf { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_models_path` is never used [INFO] [stdout] --> src/core/config.rs:29:8 [INFO] [stdout] | [INFO] [stdout] 29 | pub fn get_models_path() -> PathBuf { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_extensions_dir` is never used [INFO] [stdout] --> src/core/config.rs:34:8 [INFO] [stdout] | [INFO] [stdout] 34 | pub fn get_extensions_dir() -> PathBuf { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_skills_dir` is never used [INFO] [stdout] --> src/core/config.rs:39:8 [INFO] [stdout] | [INFO] [stdout] 39 | pub fn get_skills_dir() -> PathBuf { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_prompts_dir` is never used [INFO] [stdout] --> src/core/config.rs:44:8 [INFO] [stdout] | [INFO] [stdout] 44 | pub fn get_prompts_dir() -> PathBuf { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_themes_dir` is never used [INFO] [stdout] --> src/core/config.rs:49:8 [INFO] [stdout] | [INFO] [stdout] 49 | pub fn get_themes_dir() -> PathBuf { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Settings` is never constructed [INFO] [stdout] --> src/core/config.rs:56:12 [INFO] [stdout] | [INFO] [stdout] 56 | pub struct Settings { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `default_true` is never used [INFO] [stdout] --> src/core/config.rs:79:4 [INFO] [stdout] | [INFO] [stdout] 79 | fn default_true() -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SessionSettings` is never constructed [INFO] [stdout] --> src/core/config.rs:103:12 [INFO] [stdout] | [INFO] [stdout] 103 | pub struct SessionSettings { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple variants are never constructed [INFO] [stdout] --> src/core/errors.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 7 | pub enum PiError { [INFO] [stdout] | ------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 18 | Provider(String), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 21 | Session(String), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 27 | Extension(String), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 30 | Auth(String), [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 36 | InvalidRequest(String), [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 39 | RateLimited(String), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 42 | NotFound(String), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PiError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ExtensionRuntime` is never constructed [INFO] [stdout] --> src/extensions/api.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct ExtensionRuntime { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ExtensionState` is never constructed [INFO] [stdout] --> src/extensions/api.rs:15:8 [INFO] [stdout] | [INFO] [stdout] 15 | struct ExtensionState { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `RegisteredTool` is never constructed [INFO] [stdout] --> src/extensions/api.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 21 | pub struct RegisteredTool { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `RegisteredCommand` is never constructed [INFO] [stdout] --> src/extensions/api.rs:28:12 [INFO] [stdout] | [INFO] [stdout] 28 | pub struct RegisteredCommand { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `EventHandler` is never used [INFO] [stdout] --> src/extensions/api.rs:33:11 [INFO] [stdout] | [INFO] [stdout] 33 | pub trait EventHandler: Send + Sync { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/extensions/api.rs:38:12 [INFO] [stdout] | [INFO] [stdout] 37 | impl ExtensionRuntime { [INFO] [stdout] | --------------------- associated items in this implementation [INFO] [stdout] 38 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 47 | pub fn register_extension(&self, info: ExtensionInfo) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 58 | pub fn unregister_extension(&self, name: &str) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 69 | pub fn register_tool( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 88 | pub fn register_command(&self, extension: &str, name: &str, description: &str) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 100 | pub fn on_event(&self, event: &str, handler: Box) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 105 | pub fn emit_event(&self, event: &str, data: serde_json::Value) -> Vec { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 118 | pub fn get_tools(&self) -> Vec { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 123 | pub fn get_commands(&self) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 128 | pub fn list_extensions(&self) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 133 | pub fn is_enabled(&self, name: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 138 | pub fn set_enabled(&self, name: &str, enabled: bool) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Extension` is never constructed [INFO] [stdout] --> src/extensions/loader.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct Extension { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ExtensionLoader` is never constructed [INFO] [stdout] --> src/extensions/loader.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct ExtensionLoader { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/extensions/loader.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 19 | impl ExtensionLoader { [INFO] [stdout] | -------------------- associated items in this implementation [INFO] [stdout] 20 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 27 | pub fn add_search_path(&mut self, path: PathBuf) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 31 | pub fn load_extensions(&mut self) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 53 | fn load_extension(&self, path: &Path) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 70 | pub fn get_extensions(&self) -> &[Extension] { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 74 | pub fn get_extension(&self, name: &str) -> Option<&Extension> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 78 | pub fn enable_extension(&mut self, name: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 90 | pub fn disable_extension(&mut self, name: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 102 | pub fn reload(&mut self) -> Vec { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ExtensionInfo` is never constructed [INFO] [stdout] --> src/extensions/types.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct ExtensionInfo { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ExtensionAPI` is never constructed [INFO] [stdout] --> src/extensions/types.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct ExtensionAPI { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/extensions/types.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 24 | impl ExtensionAPI { [INFO] [stdout] | ----------------- associated function in this implementation [INFO] [stdout] 25 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ExtensionResult` is never constructed [INFO] [stdout] --> src/extensions/types.rs:32:12 [INFO] [stdout] | [INFO] [stdout] 32 | pub struct ExtensionResult { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_shell_config` is never used [INFO] [stdout] --> src/utils/mod.rs:6:8 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn get_shell_config() -> ShellConfig { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ShellConfig` is never constructed [INFO] [stdout] --> src/utils/mod.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct ShellConfig { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ShellConfig` is never constructed [INFO] [stdout] --> src/utils/shell.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct ShellConfig { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_shell_config` is never used [INFO] [stdout] --> src/utils/shell.rs:11:8 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn get_shell_config() -> ShellConfig { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `tools` is never read [INFO] [stdout] --> src/agent/session.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct AgentConfig { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 18 | pub tools: Vec, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AgentConfig` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/agent/session.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 21 | impl AgentConfig { [INFO] [stdout] | ---------------- associated function in this implementation [INFO] [stdout] 22 | pub fn new(provider: &str, model: &str) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `WaitingForInput` is never constructed [INFO] [stdout] --> src/agent/session.rs:42:5 [INFO] [stdout] | [INFO] [stdout] 37 | pub enum AgentState { [INFO] [stdout] | ---------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 42 | WaitingForInput, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AgentState` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> src/agent/session.rs:78:12 [INFO] [stdout] | [INFO] [stdout] 56 | impl AgentSession { [INFO] [stdout] | ----------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 78 | pub fn event_bus(&self) -> Arc { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 83 | pub fn state(&self) -> AgentState { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 88 | pub fn cwd(&self) -> &str { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 93 | pub fn tools(&self) -> &[Arc] { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 98 | pub fn model(&self) -> Option { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 104 | pub fn thinking_level(&self) -> ThinkingLevel { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 109 | pub fn set_thinking_level(&mut self, level: ThinkingLevel) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 115 | pub fn on(&self, event_type: EventType, handler: F) [INFO] [stdout] | ^^ [INFO] [stdout] ... [INFO] [stdout] 277 | pub async fn execute_tool(&self, name: &str, args: serde_json::Value) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 301 | pub async fn process_tool_calls(&mut self, tool_calls: Vec) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 327 | pub async fn continue_prompt(&mut self, tool_results: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 384 | pub fn session(&self) -> &SessionManager { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 389 | pub fn session_mut(&mut self) -> &mut SessionManager { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `subscribe`, `unsubscribe`, `get_history`, and `clear_history` are never used [INFO] [stdout] --> src/agent/events.rs:121:12 [INFO] [stdout] | [INFO] [stdout] 112 | impl EventBus { [INFO] [stdout] | ------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 121 | pub fn subscribe(&self, event_type: EventType, listener: EventListener) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 126 | pub fn unsubscribe(&self, event_type: &EventType, listener: &EventListener) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 160 | pub fn get_history(&self, event_type: Option) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 172 | pub fn clear_history(&self) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_skill`, `get_skill_by_trigger`, `interpolate`, and `reload` are never used [INFO] [stdout] --> src/skills/loader.rs:103:12 [INFO] [stdout] | [INFO] [stdout] 29 | impl SkillLoader { [INFO] [stdout] | ---------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 103 | pub fn get_skill(&self, name: &str) -> Option<&Skill> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 107 | pub fn get_skill_by_trigger(&self, trigger: &str) -> Option<&Skill> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 111 | pub fn interpolate(&self, name: &str, variables: &[(String, String)]) -> Option { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 122 | pub fn reload(&mut self) -> Vec { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `with_mounts`, `with_env_vars`, and `with_sandbox_type` are never used [INFO] [stdout] --> src/sandbox/mod.rs:43:12 [INFO] [stdout] | [INFO] [stdout] 33 | impl Sandbox { [INFO] [stdout] | ------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 43 | pub fn with_mounts(self, mounts: Vec) -> Self { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 49 | pub fn with_env_vars(self, env_vars: HashMap) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 55 | pub fn with_sandbox_type(self, sandbox_type: String) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2m 20s [INFO] running `Command { std: "docker" "inspect" "46267797cb7151ce60a70bee7a6ef84fbb2bbb6a865213deb2df52828275e763", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "46267797cb7151ce60a70bee7a6ef84fbb2bbb6a865213deb2df52828275e763", kill_on_drop: false }` [INFO] [stdout] 46267797cb7151ce60a70bee7a6ef84fbb2bbb6a865213deb2df52828275e763 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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" "+562dee4820c458d823175268e41601d4c060588a" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a5cfcea2724a3fb808361b55cfaaf675eec387fa01a15dfda9b3b03b9f4650e6 [INFO] running `Command { std: "docker" "start" "-a" "a5cfcea2724a3fb808361b55cfaaf675eec387fa01a15dfda9b3b03b9f4650e6", kill_on_drop: false }` [INFO] [stderr] Compiling tokio v1.49.0 [INFO] [stderr] Compiling rustix v1.1.4 [INFO] [stderr] Compiling linux-raw-sys v0.12.1 [INFO] [stderr] Compiling tempfile v3.26.0 [INFO] [stderr] Compiling tokio-util v0.7.18 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling tower v0.5.3 [INFO] [stderr] Compiling tokio-retry v0.3.0 [INFO] [stderr] Compiling tokio-stream v0.1.18 [INFO] [stderr] Compiling tokio-test v0.4.5 [INFO] [stderr] Compiling h2 v0.4.13 [INFO] [stderr] Compiling tower-http v0.6.8 [INFO] [stderr] Compiling hyper v1.8.1 [INFO] [stderr] Compiling hyper-util v0.1.20 [INFO] [stderr] Compiling hyper-tls v0.6.0 [INFO] [stderr] Compiling reqwest v0.12.28 [INFO] [stderr] Compiling pi-rs v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `timeout` [INFO] [stdout] --> src/tools/epkg.rs:159:9 [INFO] [stdout] | [INFO] [stdout] 159 | let timeout = std::time::Duration::from_millis(input.timeout_ms.unwrap_or(DEFAULT_TIMEOUT_MS)); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_timeout` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `timeout` [INFO] [stdout] --> src/tools/epkg.rs:159:9 [INFO] [stdout] | [INFO] [stdout] 159 | let timeout = std::time::Duration::from_millis(input.timeout_ms.unwrap_or(DEFAULT_TIMEOUT_MS)); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_timeout` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `role` is never read [INFO] [stdout] --> src/providers/openai.rs:233:5 [INFO] [stdout] | [INFO] [stdout] 232 | struct OpenAIMessage { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] 233 | role: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `OpenAIMessage` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `call_type` is never read [INFO] [stdout] --> src/providers/openai.rs:244:5 [INFO] [stdout] | [INFO] [stdout] 241 | struct OpenAIToolCall { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 244 | call_type: String, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `OpenAIToolCall` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `total_tokens` is never read [INFO] [stdout] --> src/providers/openai.rs:260:5 [INFO] [stdout] | [INFO] [stdout] 257 | struct OpenAIUsage { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 260 | total_tokens: u64, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `OpenAIUsage` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `role` is never read [INFO] [stdout] --> src/providers/google.rs:185:5 [INFO] [stdout] | [INFO] [stdout] 183 | struct GoogleContent { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] 184 | parts: Vec, [INFO] [stdout] 185 | role: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `GoogleContent` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `object`, `created`, and `model` are never read [INFO] [stdout] --> src/providers/moonshot.rs:219:5 [INFO] [stdout] | [INFO] [stdout] 217 | struct MoonshotResponse { [INFO] [stdout] | ---------------- fields in this struct [INFO] [stdout] 218 | id: String, [INFO] [stdout] 219 | object: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 220 | created: u64, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 221 | model: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MoonshotResponse` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `role` is never read [INFO] [stdout] --> src/providers/moonshot.rs:235:5 [INFO] [stdout] | [INFO] [stdout] 234 | struct MoonshotMessage { [INFO] [stdout] | --------------- field in this struct [INFO] [stdout] 235 | role: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MoonshotMessage` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `total_tokens` is never read [INFO] [stdout] --> src/providers/moonshot.rs:246:5 [INFO] [stdout] | [INFO] [stdout] 243 | struct MoonshotUsage { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 246 | total_tokens: u64, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MoonshotUsage` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `id`, `call_type`, and `index` are never read [INFO] [stdout] --> src/providers/moonshot.rs:252:5 [INFO] [stdout] | [INFO] [stdout] 251 | struct MoonshotToolCall { [INFO] [stdout] | ---------------- fields in this struct [INFO] [stdout] 252 | id: String, [INFO] [stdout] | ^^ [INFO] [stdout] 253 | #[serde(rename = "type")] [INFO] [stdout] 254 | call_type: String, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 255 | function: MoonshotFunctionCall, [INFO] [stdout] 256 | index: Option, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MoonshotToolCall` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `object`, `created`, `model`, and `done` are never read [INFO] [stdout] --> src/providers/ollama.rs:169:5 [INFO] [stdout] | [INFO] [stdout] 167 | struct OllamaResponse { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] 168 | id: Option, [INFO] [stdout] 169 | object: Option, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 170 | created: Option, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 171 | model: Option, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 172 | message: OllamaMessage, [INFO] [stdout] 173 | done: Option, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `OllamaResponse` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `role` is never read [INFO] [stdout] --> src/providers/ollama.rs:178:5 [INFO] [stdout] | [INFO] [stdout] 177 | struct OllamaMessage { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] 178 | role: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `OllamaMessage` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `role` is never read [INFO] [stdout] --> src/providers/mistral.rs:201:5 [INFO] [stdout] | [INFO] [stdout] 199 | struct MistralMessage { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] 200 | content: Option, [INFO] [stdout] 201 | role: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `role` is never read [INFO] [stdout] --> src/providers/groq.rs:222:5 [INFO] [stdout] | [INFO] [stdout] 220 | struct GroqMessage { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] 221 | content: Option, [INFO] [stdout] 222 | role: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `tools` is never read [INFO] [stdout] --> src/cli/interactive.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct InteractiveMode { [INFO] [stdout] | --------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 15 | tools: Vec, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `project_path` is never read [INFO] [stdout] --> src/settings/manager.rs:78:5 [INFO] [stdout] | [INFO] [stdout] 74 | pub struct SettingsManager { [INFO] [stdout] | --------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 78 | project_path: Option, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `tools` is never read [INFO] [stdout] --> src/tui/app.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 25 | pub struct TuiApp { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 29 | tools: Vec, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `role` is never read [INFO] [stdout] --> src/providers/openai.rs:233:5 [INFO] [stdout] | [INFO] [stdout] 232 | struct OpenAIMessage { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] 233 | role: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `OpenAIMessage` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `call_type` is never read [INFO] [stdout] --> src/providers/openai.rs:244:5 [INFO] [stdout] | [INFO] [stdout] 241 | struct OpenAIToolCall { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 244 | call_type: String, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `OpenAIToolCall` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `total_tokens` is never read [INFO] [stdout] --> src/providers/openai.rs:260:5 [INFO] [stdout] | [INFO] [stdout] 257 | struct OpenAIUsage { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 260 | total_tokens: u64, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `OpenAIUsage` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `role` is never read [INFO] [stdout] --> src/providers/google.rs:185:5 [INFO] [stdout] | [INFO] [stdout] 183 | struct GoogleContent { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] 184 | parts: Vec, [INFO] [stdout] 185 | role: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `GoogleContent` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `object`, `created`, and `model` are never read [INFO] [stdout] --> src/providers/moonshot.rs:219:5 [INFO] [stdout] | [INFO] [stdout] 217 | struct MoonshotResponse { [INFO] [stdout] | ---------------- fields in this struct [INFO] [stdout] 218 | id: String, [INFO] [stdout] 219 | object: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 220 | created: u64, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 221 | model: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MoonshotResponse` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `role` is never read [INFO] [stdout] --> src/providers/moonshot.rs:235:5 [INFO] [stdout] | [INFO] [stdout] 234 | struct MoonshotMessage { [INFO] [stdout] | --------------- field in this struct [INFO] [stdout] 235 | role: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MoonshotMessage` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `total_tokens` is never read [INFO] [stdout] --> src/providers/moonshot.rs:246:5 [INFO] [stdout] | [INFO] [stdout] 243 | struct MoonshotUsage { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 246 | total_tokens: u64, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MoonshotUsage` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `id`, `call_type`, and `index` are never read [INFO] [stdout] --> src/providers/moonshot.rs:252:5 [INFO] [stdout] | [INFO] [stdout] 251 | struct MoonshotToolCall { [INFO] [stdout] | ---------------- fields in this struct [INFO] [stdout] 252 | id: String, [INFO] [stdout] | ^^ [INFO] [stdout] 253 | #[serde(rename = "type")] [INFO] [stdout] 254 | call_type: String, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 255 | function: MoonshotFunctionCall, [INFO] [stdout] 256 | index: Option, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MoonshotToolCall` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `object`, `created`, `model`, and `done` are never read [INFO] [stdout] --> src/providers/ollama.rs:169:5 [INFO] [stdout] | [INFO] [stdout] 167 | struct OllamaResponse { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] 168 | id: Option, [INFO] [stdout] 169 | object: Option, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 170 | created: Option, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 171 | model: Option, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 172 | message: OllamaMessage, [INFO] [stdout] 173 | done: Option, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `OllamaResponse` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `role` is never read [INFO] [stdout] --> src/providers/ollama.rs:178:5 [INFO] [stdout] | [INFO] [stdout] 177 | struct OllamaMessage { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] 178 | role: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `OllamaMessage` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `role` is never read [INFO] [stdout] --> src/providers/mistral.rs:201:5 [INFO] [stdout] | [INFO] [stdout] 199 | struct MistralMessage { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] 200 | content: Option, [INFO] [stdout] 201 | role: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `role` is never read [INFO] [stdout] --> src/providers/groq.rs:222:5 [INFO] [stdout] | [INFO] [stdout] 220 | struct GroqMessage { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] 221 | content: Option, [INFO] [stdout] 222 | role: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `tools` is never read [INFO] [stdout] --> src/cli/interactive.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct InteractiveMode { [INFO] [stdout] | --------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 15 | tools: Vec, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `project_path` is never read [INFO] [stdout] --> src/settings/manager.rs:78:5 [INFO] [stdout] | [INFO] [stdout] 74 | pub struct SettingsManager { [INFO] [stdout] | --------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 78 | project_path: Option, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `tools` is never read [INFO] [stdout] --> src/tui/app.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 25 | pub struct TuiApp { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 29 | tools: Vec, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `pi_rs::extensions::ExtensionInfo`, `pi_rs::extensions::ExtensionLoader`, `pi_rs::extensions::ExtensionRuntime` [INFO] [stdout] --> tests/extension_test.rs:3:29 [INFO] [stdout] | [INFO] [stdout] 3 | use pi_rs::extensions::{ExtensionInfo, ExtensionLoader, ExtensionRuntime}; [INFO] [stdout] | ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ no `ExtensionRuntime` in `extensions` [INFO] [stdout] | | | [INFO] [stdout] | | no `ExtensionLoader` in `extensions` [INFO] [stdout] | no `ExtensionInfo` in `extensions` [INFO] [stdout] | [INFO] [stdout] = help: consider importing this struct instead: [INFO] [stdout] pi_rs::extensions::types::ExtensionInfo [INFO] [stdout] = help: consider importing this struct instead: [INFO] [stdout] pi_rs::extensions::loader::ExtensionLoader [INFO] [stdout] = help: consider importing this struct instead: [INFO] [stdout] pi_rs::extensions::api::ExtensionRuntime [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `pi-rs` (test "extension_test") due to 1 previous error [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0433]: cannot find `ExtensionLoader` in `extensions` [INFO] [stdout] --> tests/resource_loader_test.rs:21:46 [INFO] [stdout] | [INFO] [stdout] 21 | let mut loader3 = pi_rs::extensions::ExtensionLoader::new(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ could not find `ExtensionLoader` in `extensions` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 + use pi_rs::extensions::loader::ExtensionLoader; [INFO] [stdout] | [INFO] [stdout] help: if you import `ExtensionLoader`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 21 - let mut loader3 = pi_rs::extensions::ExtensionLoader::new(); [INFO] [stdout] 21 + let mut loader3 = ExtensionLoader::new(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::path::PathBuf` [INFO] [stdout] --> tests/resource_loader_test.rs:3:9 [INFO] [stdout] | [INFO] [stdout] 3 | use std::path::PathBuf; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stderr] error: could not compile `pi-rs` (test "resource_loader_test") due to 1 previous error; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "a5cfcea2724a3fb808361b55cfaaf675eec387fa01a15dfda9b3b03b9f4650e6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a5cfcea2724a3fb808361b55cfaaf675eec387fa01a15dfda9b3b03b9f4650e6", kill_on_drop: false }` [INFO] [stdout] a5cfcea2724a3fb808361b55cfaaf675eec387fa01a15dfda9b3b03b9f4650e6