[INFO] fetching crate language-barrier-core 0.1.9... [INFO] checking language-barrier-core-0.1.9 against master#8c32e313cccf7df531e2d49ffb8227bb92304aee for pr-145608-1 [INFO] extracting crate language-barrier-core 0.1.9 into /workspace/builds/worker-1-tc1/source [INFO] started tweaking crates.io crate language-barrier-core 0.1.9 [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate language-barrier-core 0.1.9 [INFO] tweaked toml for crates.io crate language-barrier-core 0.1.9 written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate language-barrier-core 0.1.9 on toolchain 8c32e313cccf7df531e2d49ffb8227bb92304aee [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate language-barrier-core 0.1.9 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" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded parameterized-macro v2.0.0 [INFO] [stderr] Downloaded parameterized v2.0.0 [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b784f9900749e351a2bcfc4a06caccc71877ed2c08d76d6f728cf292e306c930 [INFO] running `Command { std: "docker" "start" "-a" "b784f9900749e351a2bcfc4a06caccc71877ed2c08d76d6f728cf292e306c930", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b784f9900749e351a2bcfc4a06caccc71877ed2c08d76d6f728cf292e306c930", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b784f9900749e351a2bcfc4a06caccc71877ed2c08d76d6f728cf292e306c930", kill_on_drop: false }` [INFO] [stdout] b784f9900749e351a2bcfc4a06caccc71877ed2c08d76d6f728cf292e306c930 [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 21377023e54a42738f7d99603fd14264ee29b6e78ba288c0f684f5aa7fd1e2c1 [INFO] running `Command { std: "docker" "start" "-a" "21377023e54a42738f7d99603fd14264ee29b6e78ba288c0f684f5aa7fd1e2c1", kill_on_drop: false }` [INFO] [stderr] Checking smallvec v1.15.0 [INFO] [stderr] Compiling cc v1.2.23 [INFO] [stderr] Checking mio v1.0.3 [INFO] [stderr] Checking tracing-core v0.1.33 [INFO] [stderr] Checking serde v1.0.219 [INFO] [stderr] Compiling icu_properties_data v2.0.0 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling serde_derive_internals v0.29.1 [INFO] [stderr] Checking icu_properties v2.0.0 [INFO] [stderr] Checking parking_lot_core v0.9.10 [INFO] [stderr] Checking icu_normalizer v2.0.0 [INFO] [stderr] Checking thread_local v1.1.8 [INFO] [stderr] Compiling hashbrown v0.12.3 [INFO] [stderr] Checking tracing v0.1.41 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Checking tracing-log v0.2.0 [INFO] [stderr] Checking tokio v1.45.0 [INFO] [stderr] Compiling async-stream-impl v0.3.6 [INFO] [stderr] Compiling tracing-test-macro v0.2.5 [INFO] [stderr] Checking uuid v1.16.0 [INFO] [stderr] Compiling schemars_derive v0.8.22 [INFO] [stderr] Checking idna_adapter v1.2.1 [INFO] [stderr] Checking async-stream v0.3.6 [INFO] [stderr] Compiling openssl-sys v0.9.108 [INFO] [stderr] Checking idna v1.0.3 [INFO] [stderr] Compiling parameterized-macro v2.0.0 [INFO] [stderr] Checking url v2.5.4 [INFO] [stderr] Compiling openssl v0.10.72 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Checking parameterized v2.0.0 [INFO] [stderr] Checking serde_json v1.0.140 [INFO] [stderr] Checking tracing-serde v0.2.0 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking tracing-subscriber v0.3.19 [INFO] [stderr] Checking schemars v0.8.22 [INFO] [stderr] Checking tokio-util v0.7.15 [INFO] [stderr] Checking tokio-stream v0.1.17 [INFO] [stderr] Checking tracing-test v0.2.5 [INFO] [stderr] Checking tokio-test v0.4.4 [INFO] [stderr] Checking h2 v0.3.26 [INFO] [stderr] Checking tokio-native-tls v0.3.1 [INFO] [stderr] Checking hyper v0.14.32 [INFO] [stderr] Checking hyper-tls v0.5.0 [INFO] [stderr] Checking reqwest v0.11.27 [INFO] [stderr] Checking language-barrier-core v0.1.9 (/opt/rustwide/workdir) [INFO] [stdout] warning: struct `GeminiFunction` is never constructed [INFO] [stdout] --> src/provider/gemini.rs:533:19 [INFO] [stdout] | [INFO] [stdout] 533 | pub(crate) struct GeminiFunction { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `GeminiFunction` is never constructed [INFO] [stdout] --> src/provider/gemini.rs:533:19 [INFO] [stdout] | [INFO] [stdout] 533 | pub(crate) struct GeminiFunction { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `simple_eval` is never used [INFO] [stdout] --> tests/test_tools.rs:65:4 [INFO] [stdout] | [INFO] [stdout] 65 | fn simple_eval(expr: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `location` and `units` are never read [INFO] [stdout] --> tests/test_tools.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct WeatherRequest { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] 9 | pub location: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 10 | pub units: Option, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `WeatherRequest` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CalculatorRequest` is never constructed [INFO] [stdout] --> tests/test_tools.rs:39:12 [INFO] [stdout] | [INFO] [stdout] 39 | pub struct CalculatorRequest { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CalculatorResponse` is never constructed [INFO] [stdout] --> tests/test_tools.rs:44:12 [INFO] [stdout] | [INFO] [stdout] 44 | pub struct CalculatorResponse { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CalculatorTool` is never constructed [INFO] [stdout] --> tests/test_tools.rs:49:12 [INFO] [stdout] | [INFO] [stdout] 49 | pub struct CalculatorTool; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `simple_eval` is never used [INFO] [stdout] --> tests/test_tools.rs:65:4 [INFO] [stdout] | [INFO] [stdout] 65 | fn simple_eval(expr: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `extract_text_content` is never used [INFO] [stdout] --> tests/test_utils.rs:94:8 [INFO] [stdout] | [INFO] [stdout] 94 | pub fn extract_text_content(message: &Message) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `has_tool_calls` is never used [INFO] [stdout] --> tests/test_utils.rs:127:8 [INFO] [stdout] | [INFO] [stdout] 127 | pub fn has_tool_calls(message: &Message) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `WeatherRequest` is never constructed [INFO] [stdout] --> tests/test_tools.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct WeatherRequest { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `WeatherResponse` is never constructed [INFO] [stdout] --> tests/test_tools.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct WeatherResponse { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `WeatherTool` is never constructed [INFO] [stdout] --> tests/test_tools.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 21 | pub struct WeatherTool; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `expression` is never read [INFO] [stdout] --> tests/test_tools.rs:40:9 [INFO] [stdout] | [INFO] [stdout] 39 | pub struct CalculatorRequest { [INFO] [stdout] | ----------------- field in this struct [INFO] [stdout] 40 | pub expression: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CalculatorRequest` 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: function `simple_eval` is never used [INFO] [stdout] --> tests/test_tools.rs:65:4 [INFO] [stdout] | [INFO] [stdout] 65 | fn simple_eval(expr: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `extract_text_content` is never used [INFO] [stdout] --> tests/test_utils.rs:94:8 [INFO] [stdout] | [INFO] [stdout] 94 | pub fn extract_text_content(message: &Message) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `has_tool_calls` is never used [INFO] [stdout] --> tests/test_utils.rs:127:8 [INFO] [stdout] | [INFO] [stdout] 127 | pub fn has_tool_calls(message: &Message) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> tests/weather_tool_tests.rs:123:13 [INFO] [stdout] | [INFO] [stdout] 123 | Err(e) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `location` and `units` are never read [INFO] [stdout] --> tests/test_tools.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct WeatherRequest { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] 9 | pub location: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 10 | pub units: Option, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `WeatherRequest` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CalculatorRequest` is never constructed [INFO] [stdout] --> tests/test_tools.rs:39:12 [INFO] [stdout] | [INFO] [stdout] 39 | pub struct CalculatorRequest { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CalculatorResponse` is never constructed [INFO] [stdout] --> tests/test_tools.rs:44:12 [INFO] [stdout] | [INFO] [stdout] 44 | pub struct CalculatorResponse { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CalculatorTool` is never constructed [INFO] [stdout] --> tests/test_tools.rs:49:12 [INFO] [stdout] | [INFO] [stdout] 49 | pub struct CalculatorTool; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `simple_eval` is never used [INFO] [stdout] --> tests/test_tools.rs:65:4 [INFO] [stdout] | [INFO] [stdout] 65 | fn simple_eval(expr: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_openai_provider` is never used [INFO] [stdout] --> tests/test_utils.rs:48:8 [INFO] [stdout] | [INFO] [stdout] 48 | pub fn get_openai_provider() -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_google_provider` is never used [INFO] [stdout] --> tests/test_utils.rs:64:8 [INFO] [stdout] | [INFO] [stdout] 64 | pub fn get_google_provider() -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_mistral_provider` is never used [INFO] [stdout] --> tests/test_utils.rs:79:8 [INFO] [stdout] | [INFO] [stdout] 79 | pub fn get_mistral_provider() -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `extract_text_content` is never used [INFO] [stdout] --> tests/test_utils.rs:94:8 [INFO] [stdout] | [INFO] [stdout] 94 | pub fn extract_text_content(message: &Message) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `has_tool_calls` is never used [INFO] [stdout] --> tests/test_utils.rs:127:8 [INFO] [stdout] | [INFO] [stdout] 127 | pub fn has_tool_calls(message: &Message) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `location` and `units` are never read [INFO] [stdout] --> tests/test_tools.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct WeatherRequest { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] 9 | pub location: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 10 | pub units: Option, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `WeatherRequest` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CalculatorRequest` is never constructed [INFO] [stdout] --> tests/test_tools.rs:39:12 [INFO] [stdout] | [INFO] [stdout] 39 | pub struct CalculatorRequest { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CalculatorResponse` is never constructed [INFO] [stdout] --> tests/test_tools.rs:44:12 [INFO] [stdout] | [INFO] [stdout] 44 | pub struct CalculatorResponse { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CalculatorTool` is never constructed [INFO] [stdout] --> tests/test_tools.rs:49:12 [INFO] [stdout] | [INFO] [stdout] 49 | pub struct CalculatorTool; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `simple_eval` is never used [INFO] [stdout] --> tests/test_tools.rs:65:4 [INFO] [stdout] | [INFO] [stdout] 65 | fn simple_eval(expr: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_google_provider` is never used [INFO] [stdout] --> tests/test_utils.rs:64:8 [INFO] [stdout] | [INFO] [stdout] 64 | pub fn get_google_provider() -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `extract_text_content` is never used [INFO] [stdout] --> tests/test_utils.rs:94:8 [INFO] [stdout] | [INFO] [stdout] 94 | pub fn extract_text_content(message: &Message) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `has_tool_calls` is never used [INFO] [stdout] --> tests/test_utils.rs:127:8 [INFO] [stdout] | [INFO] [stdout] 127 | pub fn has_tool_calls(message: &Message) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 40.23s [INFO] running `Command { std: "docker" "inspect" "21377023e54a42738f7d99603fd14264ee29b6e78ba288c0f684f5aa7fd1e2c1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "21377023e54a42738f7d99603fd14264ee29b6e78ba288c0f684f5aa7fd1e2c1", kill_on_drop: false }` [INFO] [stdout] 21377023e54a42738f7d99603fd14264ee29b6e78ba288c0f684f5aa7fd1e2c1