[INFO] fetching crate radkit 0.0.2... [INFO] checking radkit-0.0.2 against master#779e19d8baa3e3625bd4fc5c85cbb2ad47b43155 for pr-147589-1 [INFO] extracting crate radkit 0.0.2 into /workspace/builds/worker-1-tc1/source [INFO] started tweaking crates.io crate radkit 0.0.2 [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate radkit 0.0.2 [INFO] tweaked toml for crates.io crate radkit 0.0.2 written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate radkit 0.0.2 on toolchain 779e19d8baa3e3625bd4fc5c85cbb2ad47b43155 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+779e19d8baa3e3625bd4fc5c85cbb2ad47b43155" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate radkit 0.0.2 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" "+779e19d8baa3e3625bd4fc5c85cbb2ad47b43155" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded bitflags v2.9.3 [INFO] [stderr] Downloaded tempfile v3.21.0 [INFO] [stderr] Downloaded rmcp-macros v0.6.3 [INFO] [stderr] Downloaded sse-stream v0.2.1 [INFO] [stderr] Downloaded cc v1.2.34 [INFO] [stderr] Downloaded process-wrap v8.2.1 [INFO] [stderr] Downloaded rmcp v0.6.3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+779e19d8baa3e3625bd4fc5c85cbb2ad47b43155" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 93cd9d1b5147490519aa1c12ab3e06afe7fe8e58967000441bc1ff8e26886ba8 [INFO] running `Command { std: "docker" "start" "-a" "93cd9d1b5147490519aa1c12ab3e06afe7fe8e58967000441bc1ff8e26886ba8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "93cd9d1b5147490519aa1c12ab3e06afe7fe8e58967000441bc1ff8e26886ba8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "93cd9d1b5147490519aa1c12ab3e06afe7fe8e58967000441bc1ff8e26886ba8", kill_on_drop: false }` [INFO] [stdout] 93cd9d1b5147490519aa1c12ab3e06afe7fe8e58967000441bc1ff8e26886ba8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+779e19d8baa3e3625bd4fc5c85cbb2ad47b43155" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] cd17677462f1bc3012b3b675992b01b3eb7e95f29f5f2a42d58df7f4e21d1e8d [INFO] running `Command { std: "docker" "start" "-a" "cd17677462f1bc3012b3b675992b01b3eb7e95f29f5f2a42d58df7f4e21d1e8d", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.175 [INFO] [stderr] Compiling cc v1.2.34 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling lock_api v0.4.13 [INFO] [stderr] Checking hashbrown v0.15.5 [INFO] [stderr] Checking bitflags v2.9.3 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling rustls v0.23.31 [INFO] [stderr] Compiling serde_json v1.0.143 [INFO] [stderr] Compiling nix v0.30.1 [INFO] [stderr] Compiling ref-cast v1.0.24 [INFO] [stderr] Checking webpki-roots v1.0.2 [INFO] [stderr] Compiling itoa v1.0.15 [INFO] [stderr] Compiling thiserror v2.0.16 [INFO] [stderr] Compiling ryu v1.0.20 [INFO] [stderr] Checking dyn-clone v1.0.20 [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Checking dotenvy v0.15.7 [INFO] [stderr] Checking indexmap v2.11.0 [INFO] [stderr] Compiling openssl-sys v0.9.109 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Compiling openssl v0.10.73 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Checking signal-hook-registry v1.4.6 [INFO] [stderr] Checking mio v1.0.4 [INFO] [stderr] Checking socket2 v0.6.0 [INFO] [stderr] Checking getrandom v0.2.16 [INFO] [stderr] Checking getrandom v0.3.3 [INFO] [stderr] Checking parking_lot v0.12.4 [INFO] [stderr] Checking dashmap v6.1.0 [INFO] [stderr] Checking rustls-webpki v0.103.4 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling darling_core v0.21.3 [INFO] [stderr] Compiling serde_derive_internals v0.29.1 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling zerovec-derive v0.11.1 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling tracing-attributes v0.1.30 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling ref-cast-impl v1.0.24 [INFO] [stderr] Compiling thiserror-impl v2.0.16 [INFO] [stderr] Compiling async-trait v0.1.89 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.0 [INFO] [stderr] Compiling schemars_derive v1.0.4 [INFO] [stderr] Checking tokio v1.47.1 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Checking zerofrom v0.1.6 [INFO] [stderr] Checking tracing v0.1.41 [INFO] [stderr] Checking yoke v0.8.0 [INFO] [stderr] Checking zerovec v0.11.4 [INFO] [stderr] Checking zerotrie v0.2.2 [INFO] [stderr] Checking tinystr v0.8.1 [INFO] [stderr] Checking potential_utf v0.1.2 [INFO] [stderr] Compiling darling_macro v0.21.3 [INFO] [stderr] Checking icu_locale_core v2.0.0 [INFO] [stderr] Checking icu_collections v2.0.0 [INFO] [stderr] Compiling darling v0.21.3 [INFO] [stderr] Compiling rmcp-macros v0.6.3 [INFO] [stderr] Checking icu_provider v2.0.0 [INFO] [stderr] Checking icu_normalizer v2.0.0 [INFO] [stderr] Checking icu_properties v2.0.1 [INFO] [stderr] Checking idna_adapter v1.2.1 [INFO] [stderr] Checking idna v1.1.0 [INFO] [stderr] Checking futures-executor v0.3.31 [INFO] [stderr] Checking sse-stream v0.2.1 [INFO] [stderr] Checking futures v0.3.31 [INFO] [stderr] Checking tokio-util v0.7.16 [INFO] [stderr] Checking tokio-native-tls v0.3.1 [INFO] [stderr] Checking tokio-rustls v0.26.2 [INFO] [stderr] Checking tower v0.5.2 [INFO] [stderr] Checking process-wrap v8.2.1 [INFO] [stderr] Checking tokio-stream v0.1.17 [INFO] [stderr] Checking tower-http v0.6.6 [INFO] [stderr] Checking h2 v0.4.12 [INFO] [stderr] Checking url v2.5.7 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking chrono v0.4.41 [INFO] [stderr] Checking uuid v1.18.0 [INFO] [stderr] Checking schemars v1.0.4 [INFO] [stderr] Checking hyper v1.7.0 [INFO] [stderr] Checking hyper-util v0.1.16 [INFO] [stderr] Checking hyper-tls v0.6.0 [INFO] [stderr] Checking hyper-rustls v0.27.7 [INFO] [stderr] Checking reqwest v0.12.23 [INFO] [stderr] Checking rmcp v0.6.3 [INFO] [stderr] Checking radkit v0.0.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: enum `ToolChoice` is never used [INFO] [stdout] --> src/models/openai_llm.rs:51:6 [INFO] [stdout] | [INFO] [stdout] 51 | enum ToolChoice { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ToolChoiceFunction` is never constructed [INFO] [stdout] --> src/models/openai_llm.rs:63:8 [INFO] [stdout] | [INFO] [stdout] 63 | struct ToolChoiceFunction { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `id`, `object`, `created`, `model`, and `usage` are never read [INFO] [stdout] --> src/models/openai_llm.rs:129:5 [INFO] [stdout] | [INFO] [stdout] 128 | struct OpenAIResponse { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] 129 | id: String, [INFO] [stdout] | ^^ [INFO] [stdout] 130 | object: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 131 | created: i64, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 132 | model: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 133 | choices: Vec, [INFO] [stdout] 134 | usage: Option, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `OpenAIResponse` 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 `index` and `finish_reason` are never read [INFO] [stdout] --> src/models/openai_llm.rs:139:5 [INFO] [stdout] | [INFO] [stdout] 138 | struct Choice { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 139 | index: i32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 140 | message: OpenAIMessage, [INFO] [stdout] 141 | finish_reason: Option, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Choice` 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 `prompt_tokens`, `completion_tokens`, and `total_tokens` are never read [INFO] [stdout] --> src/models/openai_llm.rs:146:5 [INFO] [stdout] | [INFO] [stdout] 145 | struct Usage { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 146 | prompt_tokens: i32, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 147 | completion_tokens: i32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 148 | total_tokens: i32, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Usage` 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 `error_type` and `code` are never read [INFO] [stdout] --> src/models/openai_llm.rs:160:5 [INFO] [stdout] | [INFO] [stdout] 157 | struct OpenAIErrorDetail { [INFO] [stdout] | ----------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 160 | error_type: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 161 | code: Option, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `OpenAIErrorDetail` 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`, `object`, `created`, and `model` are never read [INFO] [stdout] --> src/models/openai_llm.rs:167:5 [INFO] [stdout] | [INFO] [stdout] 166 | struct StreamResponse { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] 167 | id: String, [INFO] [stdout] | ^^ [INFO] [stdout] 168 | object: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 169 | created: i64, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 170 | model: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `StreamResponse` 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 `index` is never read [INFO] [stdout] --> src/models/openai_llm.rs:176:5 [INFO] [stdout] | [INFO] [stdout] 175 | struct StreamChoice { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] 176 | index: i32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `StreamChoice` 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/models/openai_llm.rs:183:5 [INFO] [stdout] | [INFO] [stdout] 182 | struct Delta { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 183 | role: Option, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Delta` 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 `index` and `tool_type` are never read [INFO] [stdout] --> src/models/openai_llm.rs:190:5 [INFO] [stdout] | [INFO] [stdout] 189 | struct ToolCallDelta { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 190 | index: usize, [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 193 | tool_type: Option, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ToolCallDelta` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/agents/agent.rs:434:26 [INFO] [stdout] | [INFO] [stdout] 434 | pub fn authenticated(&self, app_name: String, user_id: String) -> AuthenticatedAgent { [INFO] [stdout] | ^^^^^ the lifetime is elided here ^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 434 | pub fn authenticated(&self, app_name: String, user_id: String) -> AuthenticatedAgent<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `has_anthropic_key` is never used [INFO] [stdout] --> tests/common/mod.rs:27:8 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn has_anthropic_key() -> 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: function `has_gemini_key` is never used [INFO] [stdout] --> tests/common/mod.rs:32:8 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn has_gemini_key() -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `has_openai_key` is never used [INFO] [stdout] --> tests/common/mod.rs:37:8 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn has_openai_key() -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_gemini_key` is never used [INFO] [stdout] --> tests/common/mod.rs:47:8 [INFO] [stdout] | [INFO] [stdout] 47 | pub fn get_gemini_key() -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_openai_key` is never used [INFO] [stdout] --> tests/common/mod.rs:52:8 [INFO] [stdout] | [INFO] [stdout] 52 | pub fn get_openai_key() -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `has_anthropic_key` is never used [INFO] [stdout] --> tests/common/mod.rs:27:8 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn has_anthropic_key() -> 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: function `has_gemini_key` is never used [INFO] [stdout] --> tests/common/mod.rs:32:8 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn has_gemini_key() -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `has_openai_key` is never used [INFO] [stdout] --> tests/common/mod.rs:37:8 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn has_openai_key() -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_anthropic_key` is never used [INFO] [stdout] --> tests/common/mod.rs:42:8 [INFO] [stdout] | [INFO] [stdout] 42 | pub fn get_anthropic_key() -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_openai_key` is never used [INFO] [stdout] --> tests/common/mod.rs:52:8 [INFO] [stdout] | [INFO] [stdout] 52 | pub fn get_openai_key() -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `has_anthropic_key` is never used [INFO] [stdout] --> tests/common/mod.rs:27:8 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn has_anthropic_key() -> 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: function `has_gemini_key` is never used [INFO] [stdout] --> tests/common/mod.rs:32:8 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn has_gemini_key() -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `has_openai_key` is never used [INFO] [stdout] --> tests/common/mod.rs:37:8 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn has_openai_key() -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_anthropic_key` is never used [INFO] [stdout] --> tests/common/mod.rs:42:8 [INFO] [stdout] | [INFO] [stdout] 42 | pub fn get_anthropic_key() -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_openai_key` is never used [INFO] [stdout] --> tests/common/mod.rs:52:8 [INFO] [stdout] | [INFO] [stdout] 52 | pub fn get_openai_key() -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `has_anthropic_key` is never used [INFO] [stdout] --> tests/common/mod.rs:27:8 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn has_anthropic_key() -> 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: function `has_gemini_key` is never used [INFO] [stdout] --> tests/common/mod.rs:32:8 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn has_gemini_key() -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `has_openai_key` is never used [INFO] [stdout] --> tests/common/mod.rs:37:8 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn has_openai_key() -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_gemini_key` is never used [INFO] [stdout] --> tests/common/mod.rs:47:8 [INFO] [stdout] | [INFO] [stdout] 47 | pub fn get_gemini_key() -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_openai_key` is never used [INFO] [stdout] --> tests/common/mod.rs:52:8 [INFO] [stdout] | [INFO] [stdout] 52 | pub fn get_openai_key() -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `has_anthropic_key` is never used [INFO] [stdout] --> tests/common/mod.rs:27:8 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn has_anthropic_key() -> 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: function `has_gemini_key` is never used [INFO] [stdout] --> tests/common/mod.rs:32:8 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn has_gemini_key() -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `has_openai_key` is never used [INFO] [stdout] --> tests/common/mod.rs:37:8 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn has_openai_key() -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_openai_key` is never used [INFO] [stdout] --> tests/common/mod.rs:52:8 [INFO] [stdout] | [INFO] [stdout] 52 | pub fn get_openai_key() -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `has_anthropic_key` is never used [INFO] [stdout] --> tests/common/mod.rs:27:8 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn has_anthropic_key() -> 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: function `has_gemini_key` is never used [INFO] [stdout] --> tests/common/mod.rs:32:8 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn has_gemini_key() -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `has_openai_key` is never used [INFO] [stdout] --> tests/common/mod.rs:37:8 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn has_openai_key() -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_anthropic_key` is never used [INFO] [stdout] --> tests/common/mod.rs:42:8 [INFO] [stdout] | [INFO] [stdout] 42 | pub fn get_anthropic_key() -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_openai_key` is never used [INFO] [stdout] --> tests/common/mod.rs:52:8 [INFO] [stdout] | [INFO] [stdout] 52 | pub fn get_openai_key() -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `has_anthropic_key` is never used [INFO] [stdout] --> tests/common/mod.rs:27:8 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn has_anthropic_key() -> 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: function `has_gemini_key` is never used [INFO] [stdout] --> tests/common/mod.rs:32:8 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn has_gemini_key() -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `has_openai_key` is never used [INFO] [stdout] --> tests/common/mod.rs:37:8 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn has_openai_key() -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_anthropic_key` is never used [INFO] [stdout] --> tests/common/mod.rs:42:8 [INFO] [stdout] | [INFO] [stdout] 42 | pub fn get_anthropic_key() -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_gemini_key` is never used [INFO] [stdout] --> tests/common/mod.rs:47:8 [INFO] [stdout] | [INFO] [stdout] 47 | pub fn get_gemini_key() -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> tests/mcp_weather_simple.rs:442:13 [INFO] [stdout] | [INFO] [stdout] 442 | _ => { [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> tests/mcp_weather_simple.rs:442:13 [INFO] [stdout] | [INFO] [stdout] 392 | SendStreamingMessageResult::Message(message) => { [INFO] [stdout] | -------------------------------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 425 | SendStreamingMessageResult::Task(task) => { [INFO] [stdout] | -------------------------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 434 | SendStreamingMessageResult::TaskStatusUpdate(status_update) => { [INFO] [stdout] | ----------------------------------------------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 438 | SendStreamingMessageResult::TaskArtifactUpdate(artifact_update) => { [INFO] [stdout] | --------------------------------------------------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 442 | _ => { [INFO] [stdout] | ^ collectively making this unreachable [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `has_anthropic_key` is never used [INFO] [stdout] --> tests/common/mod.rs:27:8 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn has_anthropic_key() -> 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: function `has_gemini_key` is never used [INFO] [stdout] --> tests/common/mod.rs:32:8 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn has_gemini_key() -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `has_openai_key` is never used [INFO] [stdout] --> tests/common/mod.rs:37:8 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn has_openai_key() -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_openai_key` is never used [INFO] [stdout] --> tests/common/mod.rs:52:8 [INFO] [stdout] | [INFO] [stdout] 52 | pub fn get_openai_key() -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `has_anthropic_key` is never used [INFO] [stdout] --> tests/common/mod.rs:27:8 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn has_anthropic_key() -> 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: function `has_gemini_key` is never used [INFO] [stdout] --> tests/common/mod.rs:32:8 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn has_gemini_key() -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `has_openai_key` is never used [INFO] [stdout] --> tests/common/mod.rs:37:8 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn has_openai_key() -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `has_anthropic_key` is never used [INFO] [stdout] --> tests/common/mod.rs:27:8 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn has_anthropic_key() -> 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: function `has_gemini_key` is never used [INFO] [stdout] --> tests/common/mod.rs:32:8 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn has_gemini_key() -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `has_openai_key` is never used [INFO] [stdout] --> tests/common/mod.rs:37:8 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn has_openai_key() -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_anthropic_key` is never used [INFO] [stdout] --> tests/common/mod.rs:42:8 [INFO] [stdout] | [INFO] [stdout] 42 | pub fn get_anthropic_key() -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_gemini_key` is never used [INFO] [stdout] --> tests/common/mod.rs:47:8 [INFO] [stdout] | [INFO] [stdout] 47 | pub fn get_gemini_key() -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `mentioned_memory` is assigned to, but never used [INFO] [stdout] --> tests/openai_multi_turn.rs:380:9 [INFO] [stdout] | [INFO] [stdout] 380 | let mut mentioned_memory = false; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_mentioned_memory` instead [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `mentioned_counter` is assigned to, but never used [INFO] [stdout] --> tests/openai_multi_turn.rs:381:9 [INFO] [stdout] | [INFO] [stdout] 381 | let mut mentioned_counter = false; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_mentioned_counter` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `mentioned_memory` is never read [INFO] [stdout] --> tests/openai_multi_turn.rs:389:25 [INFO] [stdout] | [INFO] [stdout] 389 | mentioned_memory = true; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `mentioned_counter` is never read [INFO] [stdout] --> tests/openai_multi_turn.rs:393:25 [INFO] [stdout] | [INFO] [stdout] 393 | mentioned_counter = true; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `has_anthropic_key` is never used [INFO] [stdout] --> tests/common/mod.rs:27:8 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn has_anthropic_key() -> 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: function `has_gemini_key` is never used [INFO] [stdout] --> tests/common/mod.rs:32:8 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn has_gemini_key() -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `has_openai_key` is never used [INFO] [stdout] --> tests/common/mod.rs:37:8 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn has_openai_key() -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_gemini_key` is never used [INFO] [stdout] --> tests/common/mod.rs:47:8 [INFO] [stdout] | [INFO] [stdout] 47 | pub fn get_gemini_key() -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_openai_key` is never used [INFO] [stdout] --> tests/common/mod.rs:52:8 [INFO] [stdout] | [INFO] [stdout] 52 | pub fn get_openai_key() -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `has_anthropic_key` is never used [INFO] [stdout] --> tests/common/mod.rs:27:8 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn has_anthropic_key() -> 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: function `has_gemini_key` is never used [INFO] [stdout] --> tests/common/mod.rs:32:8 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn has_gemini_key() -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `has_openai_key` is never used [INFO] [stdout] --> tests/common/mod.rs:37:8 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn has_openai_key() -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_openai_key` is never used [INFO] [stdout] --> tests/common/mod.rs:52:8 [INFO] [stdout] | [INFO] [stdout] 52 | pub fn get_openai_key() -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `has_anthropic_key` is never used [INFO] [stdout] --> tests/common/mod.rs:27:8 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn has_anthropic_key() -> 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: function `has_gemini_key` is never used [INFO] [stdout] --> tests/common/mod.rs:32:8 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn has_gemini_key() -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `has_openai_key` is never used [INFO] [stdout] --> tests/common/mod.rs:37:8 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn has_openai_key() -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_anthropic_key` is never used [INFO] [stdout] --> tests/common/mod.rs:42:8 [INFO] [stdout] | [INFO] [stdout] 42 | pub fn get_anthropic_key() -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_gemini_key` is never used [INFO] [stdout] --> tests/common/mod.rs:47:8 [INFO] [stdout] | [INFO] [stdout] 47 | pub fn get_gemini_key() -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `has_anthropic_key` is never used [INFO] [stdout] --> tests/common/mod.rs:27:8 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn has_anthropic_key() -> 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: function `has_gemini_key` is never used [INFO] [stdout] --> tests/common/mod.rs:32:8 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn has_gemini_key() -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `has_openai_key` is never used [INFO] [stdout] --> tests/common/mod.rs:37:8 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn has_openai_key() -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_anthropic_key` is never used [INFO] [stdout] --> tests/common/mod.rs:42:8 [INFO] [stdout] | [INFO] [stdout] 42 | pub fn get_anthropic_key() -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_gemini_key` is never used [INFO] [stdout] --> tests/common/mod.rs:47:8 [INFO] [stdout] | [INFO] [stdout] 47 | pub fn get_gemini_key() -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `ToolChoice` is never used [INFO] [stdout] --> src/models/openai_llm.rs:51:6 [INFO] [stdout] | [INFO] [stdout] 51 | enum ToolChoice { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ToolChoiceFunction` is never constructed [INFO] [stdout] --> src/models/openai_llm.rs:63:8 [INFO] [stdout] | [INFO] [stdout] 63 | struct ToolChoiceFunction { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `id`, `object`, `created`, `model`, and `usage` are never read [INFO] [stdout] --> src/models/openai_llm.rs:129:5 [INFO] [stdout] | [INFO] [stdout] 128 | struct OpenAIResponse { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] 129 | id: String, [INFO] [stdout] | ^^ [INFO] [stdout] 130 | object: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 131 | created: i64, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 132 | model: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 133 | choices: Vec, [INFO] [stdout] 134 | usage: Option, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `OpenAIResponse` 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 `index` and `finish_reason` are never read [INFO] [stdout] --> src/models/openai_llm.rs:139:5 [INFO] [stdout] | [INFO] [stdout] 138 | struct Choice { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 139 | index: i32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 140 | message: OpenAIMessage, [INFO] [stdout] 141 | finish_reason: Option, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Choice` 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 `prompt_tokens`, `completion_tokens`, and `total_tokens` are never read [INFO] [stdout] --> src/models/openai_llm.rs:146:5 [INFO] [stdout] | [INFO] [stdout] 145 | struct Usage { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 146 | prompt_tokens: i32, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 147 | completion_tokens: i32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 148 | total_tokens: i32, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Usage` 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 `error_type` and `code` are never read [INFO] [stdout] --> src/models/openai_llm.rs:160:5 [INFO] [stdout] | [INFO] [stdout] 157 | struct OpenAIErrorDetail { [INFO] [stdout] | ----------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 160 | error_type: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 161 | code: Option, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `OpenAIErrorDetail` 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`, `object`, `created`, and `model` are never read [INFO] [stdout] --> src/models/openai_llm.rs:167:5 [INFO] [stdout] | [INFO] [stdout] 166 | struct StreamResponse { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] 167 | id: String, [INFO] [stdout] | ^^ [INFO] [stdout] 168 | object: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 169 | created: i64, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 170 | model: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `StreamResponse` 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 `index` is never read [INFO] [stdout] --> src/models/openai_llm.rs:176:5 [INFO] [stdout] | [INFO] [stdout] 175 | struct StreamChoice { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] 176 | index: i32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `StreamChoice` 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/models/openai_llm.rs:183:5 [INFO] [stdout] | [INFO] [stdout] 182 | struct Delta { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 183 | role: Option, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Delta` 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 `index` and `tool_type` are never read [INFO] [stdout] --> src/models/openai_llm.rs:190:5 [INFO] [stdout] | [INFO] [stdout] 189 | struct ToolCallDelta { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 190 | index: usize, [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 193 | tool_type: Option, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ToolCallDelta` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/agents/agent.rs:434:26 [INFO] [stdout] | [INFO] [stdout] 434 | pub fn authenticated(&self, app_name: String, user_id: String) -> AuthenticatedAgent { [INFO] [stdout] | ^^^^^ the lifetime is elided here ^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 434 | pub fn authenticated(&self, app_name: String, user_id: String) -> AuthenticatedAgent<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 50.12s [INFO] running `Command { std: "docker" "inspect" "cd17677462f1bc3012b3b675992b01b3eb7e95f29f5f2a42d58df7f4e21d1e8d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cd17677462f1bc3012b3b675992b01b3eb7e95f29f5f2a42d58df7f4e21d1e8d", kill_on_drop: false }` [INFO] [stdout] cd17677462f1bc3012b3b675992b01b3eb7e95f29f5f2a42d58df7f4e21d1e8d