[INFO] fetching crate reson-agentic 0.1.5... [INFO] testing reson-agentic-0.1.5 against master#2fd6efc32704647e64d3d646d21c4c68eae100e4 for pr-149852-1 [INFO] extracting crate reson-agentic 0.1.5 into /workspace/builds/worker-7-tc1/source [INFO] started tweaking crates.io crate reson-agentic 0.1.5 [INFO] removed 0 missing examples [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate reson-agentic 0.1.5 [INFO] tweaked toml for crates.io crate reson-agentic 0.1.5 written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate reson-agentic 0.1.5 on toolchain 2fd6efc32704647e64d3d646d21c4c68eae100e4 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2fd6efc32704647e64d3d646d21c4c68eae100e4" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate reson-agentic 0.1.5 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" "+2fd6efc32704647e64d3d646d21c4c68eae100e4" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded tokio-retry v0.3.0 [INFO] [stderr] Downloaded libloading v0.8.8 [INFO] [stderr] Downloaded reqwest v0.12.23 [INFO] [stderr] Downloaded resonai-macros v0.1.3 [INFO] [stderr] Downloaded aws-smithy-observability v0.1.4 [INFO] [stderr] Downloaded aws-smithy-query v0.60.8 [INFO] [stderr] Downloaded xmlparser v0.13.6 [INFO] [stderr] Downloaded aws-smithy-async v1.2.6 [INFO] [stderr] Downloaded aws-smithy-xml v0.60.11 [INFO] [stderr] Downloaded aws-smithy-json v0.61.6 [INFO] [stderr] Downloaded aws-smithy-runtime-api v1.9.1 [INFO] [stderr] Downloaded aws-sdk-sso v1.85.0 [INFO] [stderr] Downloaded aws-sdk-ssooidc v1.87.0 [INFO] [stderr] Downloaded aws-smithy-runtime v1.9.3 [INFO] [stderr] Downloaded aws-sigv4 v1.3.4 [INFO] [stderr] Downloaded aws-config v1.8.7 [INFO] [stderr] Downloaded aws-sdk-sts v1.87.0 [INFO] [stderr] Downloaded minijinja v2.12.0 [INFO] [stderr] Downloaded proptest v1.8.0 [INFO] [stderr] Downloaded opentelemetry_sdk v0.24.1 [INFO] [stderr] Downloaded aws-smithy-http-client v1.1.3 [INFO] [stderr] Downloaded redis v0.26.1 [INFO] [stderr] Downloaded aws-smithy-types v1.3.3 [INFO] [stderr] Downloaded aws-sdk-bedrockruntime v1.108.0 [INFO] [stderr] Downloaded regex-lite v0.1.7 [INFO] [stderr] Downloaded opentelemetry v0.24.0 [INFO] [stderr] Downloaded aws-runtime v1.5.11 [INFO] [stderr] Downloaded aws-types v1.3.8 [INFO] [stderr] Downloaded aws-smithy-http v0.62.4 [INFO] [stderr] Downloaded aws-credential-types v1.2.7 [INFO] [stderr] Downloaded bytes-utils v0.1.4 [INFO] [stderr] Downloaded aws-smithy-eventstream v0.60.12 [INFO] [stderr] Downloaded gcp_auth v0.12.4 [INFO] [stderr] Downloaded nu-ansi-term v0.50.1 [INFO] [stderr] Downloaded aws-lc-sys v0.32.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:98afbf2d16093dec2546ff8915fddc74e65664aa03fc460b3712b1c2c54a33e4" "/opt/rustwide/cargo-home/bin/cargo" "+2fd6efc32704647e64d3d646d21c4c68eae100e4" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 02f5b5a9b5c040b517566ac368b803b7bb37e4b663d6d63399a65cd304966a21 [INFO] running `Command { std: "docker" "start" "-a" "02f5b5a9b5c040b517566ac368b803b7bb37e4b663d6d63399a65cd304966a21", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "02f5b5a9b5c040b517566ac368b803b7bb37e4b663d6d63399a65cd304966a21", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "02f5b5a9b5c040b517566ac368b803b7bb37e4b663d6d63399a65cd304966a21", kill_on_drop: false }` [INFO] [stdout] 02f5b5a9b5c040b517566ac368b803b7bb37e4b663d6d63399a65cd304966a21 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:98afbf2d16093dec2546ff8915fddc74e65664aa03fc460b3712b1c2c54a33e4" "/opt/rustwide/cargo-home/bin/cargo" "+2fd6efc32704647e64d3d646d21c4c68eae100e4" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b624ad8f603a48caacf76e1808bcc50c3a1e2d423bd3c6c915d5386fb349f131 [INFO] running `Command { std: "docker" "start" "-a" "b624ad8f603a48caacf76e1808bcc50c3a1e2d423bd3c6c915d5386fb349f131", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.176 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling find-msvc-tools v0.1.3 [INFO] [stderr] Compiling openssl v0.10.73 [INFO] [stderr] Compiling yoke v0.8.0 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Compiling rustls-pki-types v1.12.0 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling instant v0.1.13 [INFO] [stderr] Compiling encoding_rs v0.8.35 [INFO] [stderr] Compiling nu-ansi-term v0.50.1 [INFO] [stderr] Compiling resonai-macros v0.1.3 [INFO] [stderr] Compiling async-trait v0.1.89 [INFO] [stderr] Compiling zerovec v0.11.4 [INFO] [stderr] Compiling zerotrie v0.2.2 [INFO] [stderr] Compiling cc v1.2.40 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling tracing-subscriber v0.3.20 [INFO] [stderr] Compiling parking_lot_core v0.9.12 [INFO] [stderr] Compiling signal-hook-registry v1.4.6 [INFO] [stderr] Compiling socket2 v0.6.0 [INFO] [stderr] Compiling mio v1.0.4 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling uuid v1.18.1 [INFO] [stderr] Compiling tinystr v0.8.1 [INFO] [stderr] Compiling openssl-sys v0.9.109 [INFO] [stderr] Compiling potential_utf v0.1.3 [INFO] [stderr] Compiling eventsource-stream v0.2.3 [INFO] [stderr] Compiling icu_locale_core v2.0.0 [INFO] [stderr] Compiling icu_collections v2.0.0 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling parking_lot v0.12.5 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling tokio v1.47.1 [INFO] [stderr] Compiling icu_provider v2.0.0 [INFO] [stderr] Compiling icu_properties v2.0.1 [INFO] [stderr] Compiling icu_normalizer v2.0.0 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling idna v1.1.0 [INFO] [stderr] Compiling url v2.5.7 [INFO] [stderr] Compiling tokio-util v0.7.16 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling tower v0.5.2 [INFO] [stderr] Compiling backoff v0.4.0 [INFO] [stderr] Compiling h2 v0.4.12 [INFO] [stderr] Compiling tower-http v0.6.6 [INFO] [stderr] Compiling hyper v1.7.0 [INFO] [stderr] Compiling hyper-util v0.1.17 [INFO] [stderr] Compiling hyper-tls v0.6.0 [INFO] [stderr] Compiling reqwest v0.12.23 [INFO] [stderr] Compiling reson-agentic v0.1.5 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `futures::StreamExt` [INFO] [stdout] --> src/providers/bedrock.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use futures::StreamExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `TokenUsage` [INFO] [stdout] --> src/providers/bedrock.rs:18:73 [INFO] [stdout] | [INFO] [stdout] 18 | GenerationConfig, GenerationResponse, InferenceClient, StreamChunk, TokenUsage, TraceCallback, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/providers/google.rs:813:13 [INFO] [stdout] | [INFO] [stdout] 813 | let mut request = client [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Tool` [INFO] [stdout] --> src/tools/execution.rs:6:20 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::tools::{Tool, ToolRegistry}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `context_id` [INFO] [stdout] --> src/runtime/context.rs:57:13 [INFO] [stdout] | [INFO] [stdout] 57 | let context_id = format!("__context__{}", key); [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context_id` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `store_mut` [INFO] [stdout] --> src/runtime/context.rs:63:13 [INFO] [stdout] | [INFO] [stdout] 63 | let store_mut = self.store.clone(); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_store_mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `messages` [INFO] [stdout] --> src/runtime/context.rs:68:13 [INFO] [stdout] | [INFO] [stdout] 68 | let messages = vec![message]; [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_messages` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `messages` [INFO] [stdout] --> src/providers/bedrock.rs:171:9 [INFO] [stdout] | [INFO] [stdout] 171 | messages: &[ConversationMessage], [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_messages` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `config` [INFO] [stdout] --> src/providers/bedrock.rs:172:9 [INFO] [stdout] | [INFO] [stdout] 172 | config: &GenerationConfig, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_config` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `messages` [INFO] [stdout] --> src/providers/bedrock.rs:249:9 [INFO] [stdout] | [INFO] [stdout] 249 | messages: &[ConversationMessage], [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_messages` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `config` [INFO] [stdout] --> src/providers/bedrock.rs:250:9 [INFO] [stdout] | [INFO] [stdout] 250 | config: &GenerationConfig, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_config` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `has_tools` [INFO] [stdout] --> src/providers/google.rs:933:13 [INFO] [stdout] | [INFO] [stdout] 933 | let has_tools = config.tools.is_some() && !config.tools.as_ref().unwrap().is_empty(); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_has_tools` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `messages` is never read [INFO] [stdout] --> src/runtime/mod.rs:60:5 [INFO] [stdout] | [INFO] [stdout] 45 | pub struct Runtime { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 60 | messages: Arc>>, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `model`, `region_name`, and `anthropic_version` are never read [INFO] [stdout] --> src/providers/bedrock.rs:43:5 [INFO] [stdout] | [INFO] [stdout] 42 | pub struct BedrockClient { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 43 | model: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 44 | region_name: String, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 45 | anthropic_version: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `BedrockClient` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `build_request_body` and `extract_system_message` are never used [INFO] [stdout] --> src/providers/bedrock.rs:81:8 [INFO] [stdout] | [INFO] [stdout] 51 | impl BedrockClient { [INFO] [stdout] | ------------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 81 | fn build_request_body( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 152 | fn extract_system_message<'a>( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `is_vertex_ai` is never used [INFO] [stdout] --> src/providers/google.rs:778:8 [INFO] [stdout] | [INFO] [stdout] 87 | impl GoogleGenAIClient { [INFO] [stdout] | ---------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 778 | fn is_vertex_ai(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `trace_request` and `trace_response` are never used [INFO] [stdout] --> src/providers/tracing_client.rs:200:14 [INFO] [stdout] | [INFO] [stdout] 79 | impl TracingInferenceClient { [INFO] [stdout] | --------------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 200 | async fn trace_request(&self, _messages: &[ConversationMessage], _id: u64) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 207 | async fn trace_response(&self, _response: &str, _id: u64) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 37.47s [INFO] running `Command { std: "docker" "inspect" "b624ad8f603a48caacf76e1808bcc50c3a1e2d423bd3c6c915d5386fb349f131", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b624ad8f603a48caacf76e1808bcc50c3a1e2d423bd3c6c915d5386fb349f131", kill_on_drop: false }` [INFO] [stdout] b624ad8f603a48caacf76e1808bcc50c3a1e2d423bd3c6c915d5386fb349f131 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:98afbf2d16093dec2546ff8915fddc74e65664aa03fc460b3712b1c2c54a33e4" "/opt/rustwide/cargo-home/bin/cargo" "+2fd6efc32704647e64d3d646d21c4c68eae100e4" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 916c6c900367eb5c7d4f450115683c3980e89ad5091146c7129901bf7264d810 [INFO] running `Command { std: "docker" "start" "-a" "916c6c900367eb5c7d4f450115683c3980e89ad5091146c7129901bf7264d810", kill_on_drop: false }` [INFO] [stderr] Compiling bitflags v2.9.4 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling tokio v1.47.1 [INFO] [stderr] Compiling wait-timeout v0.2.1 [INFO] [stderr] Compiling async-stream-impl v0.3.6 [INFO] [stderr] Compiling regex-syntax v0.8.6 [INFO] [stderr] Compiling rand_core v0.9.3 [INFO] [stderr] Compiling uuid v1.18.1 [INFO] [stderr] Compiling rand v0.9.2 [INFO] [stderr] Compiling rand_chacha v0.9.0 [INFO] [stderr] Compiling rand_xorshift v0.4.0 [INFO] [stderr] Compiling openssl v0.10.73 [INFO] [stderr] Compiling rustix v1.1.2 [INFO] [stderr] Compiling async-stream v0.3.6 [INFO] [stderr] Compiling tempfile v3.23.0 [INFO] [stderr] Compiling rusty-fork v0.3.1 [INFO] [stderr] Compiling proptest v1.8.0 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Compiling tokio-util v0.7.16 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling tower v0.5.2 [INFO] [stderr] Compiling tokio-stream v0.1.17 [INFO] [stderr] Compiling backoff v0.4.0 [INFO] [stderr] Compiling tokio-test v0.4.4 [INFO] [stderr] Compiling tower-http v0.6.6 [INFO] [stderr] Compiling h2 v0.4.12 [INFO] [stderr] Compiling hyper v1.7.0 [INFO] [stderr] Compiling hyper-util v0.1.17 [INFO] [stderr] Compiling hyper-tls v0.6.0 [INFO] [stderr] Compiling reqwest v0.12.23 [INFO] [stderr] Compiling reson-agentic v0.1.5 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `futures::StreamExt` [INFO] [stdout] --> src/providers/bedrock.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use futures::StreamExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `TokenUsage` [INFO] [stdout] --> src/providers/bedrock.rs:18:73 [INFO] [stdout] | [INFO] [stdout] 18 | GenerationConfig, GenerationResponse, InferenceClient, StreamChunk, TokenUsage, TraceCallback, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/providers/google.rs:813:13 [INFO] [stdout] | [INFO] [stdout] 813 | let mut request = client [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Tool` [INFO] [stdout] --> src/tools/execution.rs:6:20 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::tools::{Tool, ToolRegistry}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `context_id` [INFO] [stdout] --> src/runtime/context.rs:57:13 [INFO] [stdout] | [INFO] [stdout] 57 | let context_id = format!("__context__{}", key); [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context_id` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `store_mut` [INFO] [stdout] --> src/runtime/context.rs:63:13 [INFO] [stdout] | [INFO] [stdout] 63 | let store_mut = self.store.clone(); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_store_mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `messages` [INFO] [stdout] --> src/runtime/context.rs:68:13 [INFO] [stdout] | [INFO] [stdout] 68 | let messages = vec![message]; [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_messages` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `messages` [INFO] [stdout] --> src/providers/bedrock.rs:171:9 [INFO] [stdout] | [INFO] [stdout] 171 | messages: &[ConversationMessage], [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_messages` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `config` [INFO] [stdout] --> src/providers/bedrock.rs:172:9 [INFO] [stdout] | [INFO] [stdout] 172 | config: &GenerationConfig, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_config` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `messages` [INFO] [stdout] --> src/providers/bedrock.rs:249:9 [INFO] [stdout] | [INFO] [stdout] 249 | messages: &[ConversationMessage], [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_messages` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `config` [INFO] [stdout] --> src/providers/bedrock.rs:250:9 [INFO] [stdout] | [INFO] [stdout] 250 | config: &GenerationConfig, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_config` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `has_tools` [INFO] [stdout] --> src/providers/google.rs:933:13 [INFO] [stdout] | [INFO] [stdout] 933 | let has_tools = config.tools.is_some() && !config.tools.as_ref().unwrap().is_empty(); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_has_tools` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `futures::StreamExt` [INFO] [stdout] --> src/providers/bedrock.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use futures::StreamExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `TokenUsage` [INFO] [stdout] --> src/providers/bedrock.rs:18:73 [INFO] [stdout] | [INFO] [stdout] 18 | GenerationConfig, GenerationResponse, InferenceClient, StreamChunk, TokenUsage, TraceCallback, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::storage::MemoryStore` [INFO] [stdout] --> src/providers/tracing_client.rs:341:9 [INFO] [stdout] | [INFO] [stdout] 341 | use crate::storage::MemoryStore; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `messages` is never read [INFO] [stdout] --> src/runtime/mod.rs:60:5 [INFO] [stdout] | [INFO] [stdout] 45 | pub struct Runtime { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 60 | messages: Arc>>, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `model`, `region_name`, and `anthropic_version` are never read [INFO] [stdout] --> src/providers/bedrock.rs:43:5 [INFO] [stdout] | [INFO] [stdout] 42 | pub struct BedrockClient { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 43 | model: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 44 | region_name: String, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 45 | anthropic_version: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `BedrockClient` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `build_request_body` and `extract_system_message` are never used [INFO] [stdout] --> src/providers/bedrock.rs:81:8 [INFO] [stdout] | [INFO] [stdout] 51 | impl BedrockClient { [INFO] [stdout] | ------------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 81 | fn build_request_body( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 152 | fn extract_system_message<'a>( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `is_vertex_ai` is never used [INFO] [stdout] --> src/providers/google.rs:778:8 [INFO] [stdout] | [INFO] [stdout] 87 | impl GoogleGenAIClient { [INFO] [stdout] | ---------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 778 | fn is_vertex_ai(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `trace_request` and `trace_response` are never used [INFO] [stdout] --> src/providers/tracing_client.rs:200:14 [INFO] [stdout] | [INFO] [stdout] 79 | impl TracingInferenceClient { [INFO] [stdout] | --------------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 200 | async fn trace_request(&self, _messages: &[ConversationMessage], _id: u64) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 207 | async fn trace_response(&self, _response: &str, _id: u64) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/providers/google.rs:813:13 [INFO] [stdout] | [INFO] [stdout] 813 | let mut request = client [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Tool` [INFO] [stdout] --> src/tools/execution.rs:6:20 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::tools::{Tool, ToolRegistry}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `context_id` [INFO] [stdout] --> src/runtime/context.rs:57:13 [INFO] [stdout] | [INFO] [stdout] 57 | let context_id = format!("__context__{}", key); [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context_id` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `store_mut` [INFO] [stdout] --> src/runtime/context.rs:63:13 [INFO] [stdout] | [INFO] [stdout] 63 | let store_mut = self.store.clone(); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_store_mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `messages` [INFO] [stdout] --> src/runtime/context.rs:68:13 [INFO] [stdout] | [INFO] [stdout] 68 | let messages = vec![message]; [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_messages` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/runtime/context.rs:86:13 [INFO] [stdout] | [INFO] [stdout] 86 | let ctx = ContextApi::new(store); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `futures::future::BoxFuture` [INFO] [stdout] --> examples/simple_tools.rs:31:9 [INFO] [stdout] | [INFO] [stdout] 31 | use futures::future::BoxFuture; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `OAIClient` [INFO] [stdout] --> tests/test_native_tools_integration.rs:10:76 [INFO] [stdout] | [INFO] [stdout] 10 | AnthropicClient, GenerationConfig, GoogleGenAIClient, InferenceClient, OAIClient, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> examples/simple_tools.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | / runtime [INFO] [stdout] 20 | | .register_tool( [INFO] [stdout] 21 | | "get_weather", [INFO] [stdout] 22 | | ToolFunction::Sync(Box::new(|args: serde_json::Value| { [INFO] [stdout] ... | [INFO] [stdout] 28 | | .await; [INFO] [stdout] | |______________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 19 | let _ = runtime [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> examples/simple_tools.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 32 | / runtime [INFO] [stdout] 33 | | .register_tool( [INFO] [stdout] 34 | | "calculate", [INFO] [stdout] 35 | | ToolFunction::Async(Box::new(|args: serde_json::Value| { [INFO] [stdout] ... | [INFO] [stdout] 54 | | .await; [INFO] [stdout] | |______________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 32 | let _ = runtime [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `AnthropicClient` [INFO] [stdout] --> tests/test_reasoning.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | AnthropicClient, GenerationConfig, GoogleGenAIClient, InferenceClient, OpenRouterClient, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `GenerationResponse` and `InferenceClient` [INFO] [stdout] --> tests/test_anthropic_client.rs:7:50 [INFO] [stdout] | [INFO] [stdout] 7 | use reson_agentic::providers::{GenerationConfig, GenerationResponse, InferenceClient}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `messages` [INFO] [stdout] --> tests/test_anthropic_client.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 19 | let messages = vec![ [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_messages` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `config` [INFO] [stdout] --> tests/test_anthropic_client.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 24 | let config = GenerationConfig::new("claude-3-opus-20240229") [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_config` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `messages` [INFO] [stdout] --> tests/test_anthropic_client.rs:42:9 [INFO] [stdout] | [INFO] [stdout] 42 | let messages = vec![ [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_messages` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `config` [INFO] [stdout] --> tests/test_anthropic_client.rs:50:9 [INFO] [stdout] | [INFO] [stdout] 50 | let config = GenerationConfig::new("claude-3-opus-20240229"); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_config` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `messages` [INFO] [stdout] --> tests/test_anthropic_client.rs:62:9 [INFO] [stdout] | [INFO] [stdout] 62 | let messages = vec![ [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_messages` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `AnthropicClient` [INFO] [stdout] --> tests/test_tool_formats.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | AnthropicClient, GenerationConfig, GoogleGenAIClient, InferenceClient, OpenRouterClient, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `config` [INFO] [stdout] --> tests/test_anthropic_client.rs:78:9 [INFO] [stdout] | [INFO] [stdout] 78 | let config = GenerationConfig::new("claude-3-opus-20240229") [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_config` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `messages` [INFO] [stdout] --> tests/test_anthropic_client.rs:93:9 [INFO] [stdout] | [INFO] [stdout] 93 | let messages = vec![ [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_messages` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `config` [INFO] [stdout] --> tests/test_anthropic_client.rs:97:9 [INFO] [stdout] | [INFO] [stdout] 97 | let config = GenerationConfig::new("claude-3-opus-20240229") [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_config` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `messages` [INFO] [stdout] --> tests/test_anthropic_client.rs:109:9 [INFO] [stdout] | [INFO] [stdout] 109 | let messages = vec![ [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_messages` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `messages` [INFO] [stdout] --> tests/test_anthropic_client.rs:126:9 [INFO] [stdout] | [INFO] [stdout] 126 | let messages = vec![ [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_messages` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `config` [INFO] [stdout] --> tests/test_anthropic_client.rs:132:9 [INFO] [stdout] | [INFO] [stdout] 132 | let config = GenerationConfig::new("claude-3-opus-20240229"); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_config` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `messages` [INFO] [stdout] --> tests/test_anthropic_client.rs:148:9 [INFO] [stdout] | [INFO] [stdout] 148 | let messages = vec![ [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_messages` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `config` [INFO] [stdout] --> tests/test_anthropic_client.rs:152:9 [INFO] [stdout] | [INFO] [stdout] 152 | let config = GenerationConfig::new("claude-3-opus-20240229"); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_config` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `reson_agentic::runtime::Runtime` [INFO] [stdout] --> examples/tool_hydration.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use reson_agentic::runtime::Runtime; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `reson_agentic::runtime::Runtime` [INFO] [stdout] --> tests/macro_tests.rs:155:9 [INFO] [stdout] | [INFO] [stdout] 155 | use reson_agentic::runtime::Runtime; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_anthropic_key` is never used [INFO] [stdout] --> tests/test_reasoning.rs:22:4 [INFO] [stdout] | [INFO] [stdout] 22 | fn get_anthropic_key() -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `has_signature` is assigned to, but never used [INFO] [stdout] --> tests/test_streaming.rs:331:9 [INFO] [stdout] | [INFO] [stdout] 331 | let mut has_signature = false; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_has_signature` instead [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `has_signature` is never read [INFO] [stdout] --> tests/test_streaming.rs:346:21 [INFO] [stdout] | [INFO] [stdout] 346 | has_signature = 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: unused variable: `signature` [INFO] [stdout] --> tests/test_streaming.rs:423:9 [INFO] [stdout] | [INFO] [stdout] 423 | let signature = StreamChunk::Signature("sig123".to_string()); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_signature` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tool_partial` [INFO] [stdout] --> tests/test_streaming.rs:429:9 [INFO] [stdout] | [INFO] [stdout] 429 | let tool_partial = StreamChunk::ToolCallPartial(serde_json::json!({ [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_tool_partial` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_openai_key` is never used [INFO] [stdout] --> tests/test_native_tools_integration.rs:25:4 [INFO] [stdout] | [INFO] [stdout] 25 | fn get_openai_key() -> Option { [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 `get_anthropic_key` is never used [INFO] [stdout] --> tests/test_tool_formats.rs:20:4 [INFO] [stdout] | [INFO] [stdout] 20 | fn get_anthropic_key() -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `messages` [INFO] [stdout] --> src/providers/bedrock.rs:171:9 [INFO] [stdout] | [INFO] [stdout] 171 | messages: &[ConversationMessage], [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_messages` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `config` [INFO] [stdout] --> src/providers/bedrock.rs:172:9 [INFO] [stdout] | [INFO] [stdout] 172 | config: &GenerationConfig, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_config` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `messages` [INFO] [stdout] --> src/providers/bedrock.rs:249:9 [INFO] [stdout] | [INFO] [stdout] 249 | messages: &[ConversationMessage], [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_messages` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `config` [INFO] [stdout] --> src/providers/bedrock.rs:250:9 [INFO] [stdout] | [INFO] [stdout] 250 | config: &GenerationConfig, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_config` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `has_tools` [INFO] [stdout] --> src/providers/google.rs:933:13 [INFO] [stdout] | [INFO] [stdout] 933 | let has_tools = config.tools.is_some() && !config.tools.as_ref().unwrap().is_empty(); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_has_tools` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `reson_agentic::runtime::Runtime` [INFO] [stdout] --> tests/test_native_tools.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use reson_agentic::runtime::Runtime; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `messages` is never read [INFO] [stdout] --> src/runtime/mod.rs:60:5 [INFO] [stdout] | [INFO] [stdout] 45 | pub struct Runtime { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 60 | messages: Arc>>, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `model` is never read [INFO] [stdout] --> src/providers/bedrock.rs:43:5 [INFO] [stdout] | [INFO] [stdout] 42 | pub struct BedrockClient { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] 43 | model: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `BedrockClient` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `is_vertex_ai` is never used [INFO] [stdout] --> src/providers/google.rs:778:8 [INFO] [stdout] | [INFO] [stdout] 87 | impl GoogleGenAIClient { [INFO] [stdout] | ---------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 778 | fn is_vertex_ai(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `trace_request` and `trace_response` are never used [INFO] [stdout] --> src/providers/tracing_client.rs:200:14 [INFO] [stdout] | [INFO] [stdout] 79 | impl TracingInferenceClient { [INFO] [stdout] | --------------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 200 | async fn trace_request(&self, _messages: &[ConversationMessage], _id: u64) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 207 | async fn trace_response(&self, _response: &str, _id: u64) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `reson-agentic` (lib test); 18 warnings emitted [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `/opt/rustwide/rustup-home/toolchains/2fd6efc32704647e64d3d646d21c4c68eae100e4/bin/rustc --crate-name reson_agentic --edition=2021 src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --emit=dep-info,link -C embed-bitcode=no -C debuginfo=2 --test --cfg 'feature="default"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("aws-config", "aws-sdk-bedrockruntime", "bedrock", "default", "full", "gcp_auth", "google-adc", "minijinja", "opentelemetry", "opentelemetry_sdk", "redis", "sqlx", "storage", "telemetry", "templating"))' -C metadata=c362cd3ade932fed -C extra-filename=-755dca92d30a6418 --out-dir /opt/rustwide/target/debug/deps -L dependency=/opt/rustwide/target/debug/deps --extern anyhow=/opt/rustwide/target/debug/deps/libanyhow-7e5dcd40304f6dad.rlib --extern async_trait=/opt/rustwide/target/debug/deps/libasync_trait-4d47c8718692c4bb.so --extern backoff=/opt/rustwide/target/debug/deps/libbackoff-f1d176ade263438f.rlib --extern bytes=/opt/rustwide/target/debug/deps/libbytes-bfe11088fe358bd1.rlib --extern eventsource_stream=/opt/rustwide/target/debug/deps/libeventsource_stream-dd0e8c112d71c8ed.rlib --extern futures=/opt/rustwide/target/debug/deps/libfutures-963baf32cf9fa7ed.rlib --extern log=/opt/rustwide/target/debug/deps/liblog-28f8cc0684f4f944.rlib --extern proptest=/opt/rustwide/target/debug/deps/libproptest-ec11a30c5931001c.rlib --extern reqwest=/opt/rustwide/target/debug/deps/libreqwest-71a83453b4716f70.rlib --extern resonai_macros=/opt/rustwide/target/debug/deps/libresonai_macros-5dab1355a452803d.so --extern serde=/opt/rustwide/target/debug/deps/libserde-20bddeb1603a7acd.rlib --extern serde_json=/opt/rustwide/target/debug/deps/libserde_json-fdc869d8040768c0.rlib --extern thiserror=/opt/rustwide/target/debug/deps/libthiserror-1e43e3e1cee5f0ac.rlib --extern tokio=/opt/rustwide/target/debug/deps/libtokio-f12fafa69286ecb8.rlib --extern tokio_test=/opt/rustwide/target/debug/deps/libtokio_test-6470c929aa1c7d47.rlib --extern tracing=/opt/rustwide/target/debug/deps/libtracing-f7e6f18a3a65b692.rlib --extern tracing_subscriber=/opt/rustwide/target/debug/deps/libtracing_subscriber-df854cb9f20e35cb.rlib --extern uuid=/opt/rustwide/target/debug/deps/libuuid-db057902490cd05f.rlib --cap-lints=forbid` (signal: 9, SIGKILL: kill) [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "916c6c900367eb5c7d4f450115683c3980e89ad5091146c7129901bf7264d810", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "916c6c900367eb5c7d4f450115683c3980e89ad5091146c7129901bf7264d810", kill_on_drop: false }` [INFO] [stdout] 916c6c900367eb5c7d4f450115683c3980e89ad5091146c7129901bf7264d810