[INFO] cloning repository https://github.com/6elphegor/agentic_terminal [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/6elphegor/agentic_terminal" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2F6elphegor%2Fagentic_terminal", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2F6elphegor%2Fagentic_terminal'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 985d6dc0b9b3a67dcab1761da554547df1ab4033 [INFO] building 6elphegor/agentic_terminal against try#d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6 for pr-146237-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2F6elphegor%2Fagentic_terminal" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/6elphegor/agentic_terminal [INFO] finished tweaking git repo https://github.com/6elphegor/agentic_terminal [INFO] tweaked toml for git repo https://github.com/6elphegor/agentic_terminal written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/6elphegor/agentic_terminal on toolchain d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/6elphegor/agentic_terminal 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" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/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" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8312e8e6d281ff338755648c59f05882ee10bc1f94a6be2926d3e8c10c816de8 [INFO] running `Command { std: "docker" "start" "-a" "8312e8e6d281ff338755648c59f05882ee10bc1f94a6be2926d3e8c10c816de8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8312e8e6d281ff338755648c59f05882ee10bc1f94a6be2926d3e8c10c816de8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8312e8e6d281ff338755648c59f05882ee10bc1f94a6be2926d3e8c10c816de8", kill_on_drop: false }` [INFO] [stdout] 8312e8e6d281ff338755648c59f05882ee10bc1f94a6be2926d3e8c10c816de8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/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" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 20c0916310cecb09df42bfa80aa48624b9ef643b4856553d350773e4e2dbfc1d [INFO] running `Command { std: "docker" "start" "-a" "20c0916310cecb09df42bfa80aa48624b9ef643b4856553d350773e4e2dbfc1d", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.92 [INFO] [stderr] Compiling libc v0.2.169 [INFO] [stderr] Compiling bytes v1.9.0 [INFO] [stderr] Compiling cc v1.2.7 [INFO] [stderr] Compiling litemap v0.7.4 [INFO] [stderr] Compiling tracing-core v0.1.33 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling indexmap v2.7.0 [INFO] [stderr] Compiling rustix v0.38.42 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling serde_json v1.0.134 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling fastrand v2.3.0 [INFO] [stderr] Compiling rustls-pki-types v1.10.1 [INFO] [stderr] Compiling option-ext v0.2.0 [INFO] [stderr] Compiling clap_lex v0.7.4 [INFO] [stderr] Compiling comma v1.0.0 [INFO] [stderr] Compiling clap_builder v4.5.23 [INFO] [stderr] Compiling quote v1.0.38 [INFO] [stderr] Compiling http v1.2.0 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling rustls-pemfile v2.2.0 [INFO] [stderr] Compiling syn v2.0.94 [INFO] [stderr] Compiling openssl-sys v0.9.104 [INFO] [stderr] Compiling http-body v1.0.1 [INFO] [stderr] Compiling http-body-util v0.1.2 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling openssl v0.10.68 [INFO] [stderr] Compiling native-tls v0.2.12 [INFO] [stderr] Compiling socket2 v0.5.8 [INFO] [stderr] Compiling mio v1.0.3 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling dirs-sys v0.4.1 [INFO] [stderr] Compiling nix v0.27.1 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling tempfile v3.15.0 [INFO] [stderr] Compiling tokio v1.42.0 [INFO] [stderr] Compiling dirs v5.0.1 [INFO] [stderr] Compiling synstructure v0.13.1 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling zerofrom-derive v0.1.5 [INFO] [stderr] Compiling yoke-derive v0.7.5 [INFO] [stderr] Compiling zerovec-derive v0.10.3 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling icu_provider_macros v1.5.0 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling serde_derive v1.0.217 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling clap_derive v4.5.18 [INFO] [stderr] Compiling tokio-util v0.7.13 [INFO] [stderr] Compiling tower v0.5.2 [INFO] [stderr] Compiling zerocopy v0.7.35 [INFO] [stderr] Compiling zerofrom v0.1.5 [INFO] [stderr] Compiling ppv-lite86 v0.2.20 [INFO] [stderr] Compiling yoke v0.7.5 [INFO] [stderr] Compiling h2 v0.4.7 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling zerovec v0.10.4 [INFO] [stderr] Compiling rexpect v0.6.0 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling clap v4.5.23 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling tinystr v0.7.6 [INFO] [stderr] Compiling icu_collections v1.5.0 [INFO] [stderr] Compiling icu_locid v1.5.0 [INFO] [stderr] Compiling serde v1.0.217 [INFO] [stderr] Compiling uuid v1.11.0 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling icu_provider v1.5.0 [INFO] [stderr] Compiling hyper v1.5.2 [INFO] [stderr] Compiling icu_locid_transform v1.5.0 [INFO] [stderr] Compiling icu_properties v1.5.1 [INFO] [stderr] Compiling hyper-util v0.1.10 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling hyper-tls v0.6.0 [INFO] [stderr] Compiling icu_normalizer v1.5.0 [INFO] [stderr] Compiling idna_adapter v1.2.0 [INFO] [stderr] Compiling idna v1.0.3 [INFO] [stderr] Compiling url v2.5.4 [INFO] [stderr] Compiling reqwest v0.12.12 [INFO] [stderr] Compiling agentic_terminal v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> src/llm.rs:533:15 [INFO] [stdout] | [INFO] [stdout] 533 | use std::io::{self, Read, BufReader}; [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: `Role` [INFO] [stdout] --> src/openai.rs:2:79 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::llm::{self, LLMApi, ApiResponse, StopReason, LLMApiError, Message, Role}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/main.rs:405:17 [INFO] [stdout] | [INFO] [stdout] 405 | Err(e) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `last_msg_id` is never used [INFO] [stdout] --> src/llm.rs:164:12 [INFO] [stdout] | [INFO] [stdout] 136 | impl LLM { [INFO] [stdout] | -------------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 164 | pub fn last_msg_id(&self) -> 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: methods `is_error`, `is_success`, and `into_response` are never used [INFO] [stdout] --> src/anthropic.rs:206:12 [INFO] [stdout] | [INFO] [stdout] 205 | impl AnthropicResult { [INFO] [stdout] | -------------------- methods in this implementation [INFO] [stdout] 206 | pub fn is_error(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 210 | pub fn is_success(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 214 | pub fn into_response(self) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `id`, `model`, `role`, `stop_sequence`, and `message_type` are never read [INFO] [stdout] --> src/anthropic.rs:225:9 [INFO] [stdout] | [INFO] [stdout] 223 | pub struct AnthropicResponse { [INFO] [stdout] | ----------------- fields in this struct [INFO] [stdout] 224 | pub content: Vec, [INFO] [stdout] 225 | pub id: String, [INFO] [stdout] | ^^ [INFO] [stdout] 226 | pub model: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 227 | pub role: AnthropicRole, [INFO] [stdout] | ^^^^ [INFO] [stdout] 228 | pub stop_reason: StopReason, [INFO] [stdout] 229 | pub stop_sequence: Option, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 230 | #[serde(rename = "type")] [INFO] [stdout] 231 | pub message_type: String, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AnthropicResponse` 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: method `get_message` is never used [INFO] [stdout] --> src/llm.rs:315:12 [INFO] [stdout] | [INFO] [stdout] 310 | impl MaskableMessage { [INFO] [stdout] | -------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 315 | pub fn get_message(&self) -> &Message { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `max_output_tokens` is never used [INFO] [stdout] --> src/openai.rs:45:12 [INFO] [stdout] | [INFO] [stdout] 34 | impl Model { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 45 | pub fn max_output_tokens(self) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Temperature` and `TopP` are never constructed [INFO] [stdout] --> src/openai.rs:59:5 [INFO] [stdout] | [INFO] [stdout] 58 | pub enum Sampling { [INFO] [stdout] | -------- variants in this enum [INFO] [stdout] 59 | Temperature { temperature: f32 }, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 60 | TopP { top_p: f32 }, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Sampling` 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: variants `Low`, `Medium`, and `High` are never constructed [INFO] [stdout] --> src/openai.rs:236:5 [INFO] [stdout] | [INFO] [stdout] 235 | pub enum ReasoningEffort { [INFO] [stdout] | --------------- variants in this enum [INFO] [stdout] 236 | Low, [INFO] [stdout] | ^^^ [INFO] [stdout] 237 | Medium, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 238 | High, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ReasoningEffort` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `item_type` is never read [INFO] [stdout] --> src/anthropic.rs:238:9 [INFO] [stdout] | [INFO] [stdout] 236 | pub struct ContentItem { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] 237 | #[serde(rename = "type")] [INFO] [stdout] 238 | pub item_type: String, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ContentItem` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `response_type` is never read [INFO] [stdout] --> src/anthropic.rs:282:9 [INFO] [stdout] | [INFO] [stdout] 280 | pub struct ErrorResponse { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] 281 | #[serde(rename = "type")] [INFO] [stdout] 282 | pub response_type: String, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ErrorResponse` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `message` is never read [INFO] [stdout] --> src/anthropic.rs:290:9 [INFO] [stdout] | [INFO] [stdout] 287 | pub struct AnthropicError { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 290 | pub message: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AnthropicError` 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: fields `id`, `object`, `created`, `model`, and `system_fingerprint` are never read [INFO] [stdout] --> src/openai.rs:243:9 [INFO] [stdout] | [INFO] [stdout] 242 | pub struct OAIResponse { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 243 | pub id: String, [INFO] [stdout] | ^^ [INFO] [stdout] 244 | pub object: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 245 | pub created: u64, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 246 | pub model: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 247 | pub system_fingerprint: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `OAIResponse` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `index` is never read [INFO] [stdout] --> src/openai.rs:254:9 [INFO] [stdout] | [INFO] [stdout] 253 | pub struct Choice { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 254 | pub index: u32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Choice` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `role` is never read [INFO] [stdout] --> src/openai.rs:261:5 [INFO] [stdout] | [INFO] [stdout] 260 | struct OAIMessageResp { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] 261 | role: OAIRole, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `OAIMessageResp` 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: fields `total_tokens` and `completion_tokens_details` are never read [INFO] [stdout] --> src/openai.rs:291:9 [INFO] [stdout] | [INFO] [stdout] 288 | pub struct UsageInfo { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 291 | pub total_tokens: u32, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 292 | pub completion_tokens_details: TokenDetails, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `UsageInfo` 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: fields `reasoning_tokens`, `accepted_prediction_tokens`, and `rejected_prediction_tokens` are never read [INFO] [stdout] --> src/openai.rs:306:9 [INFO] [stdout] | [INFO] [stdout] 305 | pub struct TokenDetails { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 306 | pub reasoning_tokens: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 307 | pub accepted_prediction_tokens: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 308 | pub rejected_prediction_tokens: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TokenDetails` 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: type `OAIMessageResp` is more private than the item `Choice::message` [INFO] [stdout] --> src/openai.rs:255:5 [INFO] [stdout] | [INFO] [stdout] 255 | pub message: OAIMessageResp, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ field `Choice::message` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `OAIMessageResp` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/openai.rs:260:1 [INFO] [stdout] | [INFO] [stdout] 260 | struct OAIMessageResp { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(private_interfaces)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 54.09s [INFO] running `Command { std: "docker" "inspect" "20c0916310cecb09df42bfa80aa48624b9ef643b4856553d350773e4e2dbfc1d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "20c0916310cecb09df42bfa80aa48624b9ef643b4856553d350773e4e2dbfc1d", kill_on_drop: false }` [INFO] [stdout] 20c0916310cecb09df42bfa80aa48624b9ef643b4856553d350773e4e2dbfc1d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/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" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ff1e868595d7ff7de6cb4feee5736fc00e5d53e1cd06f54ae919dfafce132ac0 [INFO] running `Command { std: "docker" "start" "-a" "ff1e868595d7ff7de6cb4feee5736fc00e5d53e1cd06f54ae919dfafce132ac0", kill_on_drop: false }` [INFO] [stderr] Compiling agentic_terminal v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> src/llm.rs:533:15 [INFO] [stdout] | [INFO] [stdout] 533 | use std::io::{self, Read, BufReader}; [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: `Role` [INFO] [stdout] --> src/openai.rs:2:79 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::llm::{self, LLMApi, ApiResponse, StopReason, LLMApiError, Message, Role}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/main.rs:405:17 [INFO] [stdout] | [INFO] [stdout] 405 | Err(e) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `max_output_tokens` is never used [INFO] [stdout] --> src/openai.rs:45:12 [INFO] [stdout] | [INFO] [stdout] 34 | impl Model { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 45 | pub fn max_output_tokens(self) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `last_msg_id` is never used [INFO] [stdout] --> src/llm.rs:164:12 [INFO] [stdout] | [INFO] [stdout] 136 | impl LLM { [INFO] [stdout] | -------------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 164 | pub fn last_msg_id(&self) -> Option { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Temperature` and `TopP` are never constructed [INFO] [stdout] --> src/openai.rs:59:5 [INFO] [stdout] | [INFO] [stdout] 58 | pub enum Sampling { [INFO] [stdout] | -------- variants in this enum [INFO] [stdout] 59 | Temperature { temperature: f32 }, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 60 | TopP { top_p: f32 }, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Sampling` 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: variants `Low`, `Medium`, and `High` are never constructed [INFO] [stdout] --> src/openai.rs:236:5 [INFO] [stdout] | [INFO] [stdout] 235 | pub enum ReasoningEffort { [INFO] [stdout] | --------------- variants in this enum [INFO] [stdout] 236 | Low, [INFO] [stdout] | ^^^ [INFO] [stdout] 237 | Medium, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 238 | High, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ReasoningEffort` 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: fields `id`, `object`, `created`, `model`, and `system_fingerprint` are never read [INFO] [stdout] --> src/openai.rs:243:9 [INFO] [stdout] | [INFO] [stdout] 242 | pub struct OAIResponse { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 243 | pub id: String, [INFO] [stdout] | ^^ [INFO] [stdout] 244 | pub object: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 245 | pub created: u64, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 246 | pub model: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 247 | pub system_fingerprint: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `OAIResponse` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `index` is never read [INFO] [stdout] --> src/openai.rs:254:9 [INFO] [stdout] | [INFO] [stdout] 253 | pub struct Choice { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 254 | pub index: u32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Choice` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `role` is never read [INFO] [stdout] --> src/openai.rs:261:5 [INFO] [stdout] | [INFO] [stdout] 260 | struct OAIMessageResp { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] 261 | role: OAIRole, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `OAIMessageResp` 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: fields `total_tokens` and `completion_tokens_details` are never read [INFO] [stdout] --> src/openai.rs:291:9 [INFO] [stdout] | [INFO] [stdout] 288 | pub struct UsageInfo { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 291 | pub total_tokens: u32, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 292 | pub completion_tokens_details: TokenDetails, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `UsageInfo` 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: fields `reasoning_tokens`, `accepted_prediction_tokens`, and `rejected_prediction_tokens` are never read [INFO] [stdout] --> src/openai.rs:306:9 [INFO] [stdout] | [INFO] [stdout] 305 | pub struct TokenDetails { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 306 | pub reasoning_tokens: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 307 | pub accepted_prediction_tokens: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 308 | pub rejected_prediction_tokens: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TokenDetails` 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: methods `is_error`, `is_success`, and `into_response` are never used [INFO] [stdout] --> src/anthropic.rs:206:12 [INFO] [stdout] | [INFO] [stdout] 205 | impl AnthropicResult { [INFO] [stdout] | -------------------- methods in this implementation [INFO] [stdout] 206 | pub fn is_error(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 210 | pub fn is_success(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 214 | pub fn into_response(self) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `id`, `model`, `role`, `stop_sequence`, and `message_type` are never read [INFO] [stdout] --> src/anthropic.rs:225:9 [INFO] [stdout] | [INFO] [stdout] 223 | pub struct AnthropicResponse { [INFO] [stdout] | ----------------- fields in this struct [INFO] [stdout] 224 | pub content: Vec, [INFO] [stdout] 225 | pub id: String, [INFO] [stdout] | ^^ [INFO] [stdout] 226 | pub model: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 227 | pub role: AnthropicRole, [INFO] [stdout] | ^^^^ [INFO] [stdout] 228 | pub stop_reason: StopReason, [INFO] [stdout] 229 | pub stop_sequence: Option, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 230 | #[serde(rename = "type")] [INFO] [stdout] 231 | pub message_type: String, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AnthropicResponse` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `item_type` is never read [INFO] [stdout] --> src/anthropic.rs:238:9 [INFO] [stdout] | [INFO] [stdout] 236 | pub struct ContentItem { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] 237 | #[serde(rename = "type")] [INFO] [stdout] 238 | pub item_type: String, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ContentItem` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `response_type` is never read [INFO] [stdout] --> src/anthropic.rs:282:9 [INFO] [stdout] | [INFO] [stdout] 280 | pub struct ErrorResponse { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] 281 | #[serde(rename = "type")] [INFO] [stdout] 282 | pub response_type: String, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ErrorResponse` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `message` is never read [INFO] [stdout] --> src/anthropic.rs:290:9 [INFO] [stdout] | [INFO] [stdout] 287 | pub struct AnthropicError { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 290 | pub message: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AnthropicError` 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: method `get_message` is never used [INFO] [stdout] --> src/llm.rs:315:12 [INFO] [stdout] | [INFO] [stdout] 310 | impl MaskableMessage { [INFO] [stdout] | -------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 315 | pub fn get_message(&self) -> &Message { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `OAIMessageResp` is more private than the item `Choice::message` [INFO] [stdout] --> src/openai.rs:255:5 [INFO] [stdout] | [INFO] [stdout] 255 | pub message: OAIMessageResp, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ field `Choice::message` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `OAIMessageResp` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/openai.rs:260:1 [INFO] [stdout] | [INFO] [stdout] 260 | struct OAIMessageResp { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(private_interfaces)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.55s [INFO] running `Command { std: "docker" "inspect" "ff1e868595d7ff7de6cb4feee5736fc00e5d53e1cd06f54ae919dfafce132ac0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ff1e868595d7ff7de6cb4feee5736fc00e5d53e1cd06f54ae919dfafce132ac0", kill_on_drop: false }` [INFO] [stdout] ff1e868595d7ff7de6cb4feee5736fc00e5d53e1cd06f54ae919dfafce132ac0