[INFO] fetching crate tiny-trae-ai 0.1.0... [INFO] building tiny-trae-ai-0.1.0 against master#ad85bc524b1ad696e42061ad8338d382dffbdbe5 for pr-146237-1 [INFO] extracting crate tiny-trae-ai 0.1.0 into /workspace/builds/worker-0-tc1/source [INFO] started tweaking crates.io crate tiny-trae-ai 0.1.0 [INFO] finished tweaking crates.io crate tiny-trae-ai 0.1.0 [INFO] tweaked toml for crates.io crate tiny-trae-ai 0.1.0 written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate tiny-trae-ai 0.1.0 on toolchain ad85bc524b1ad696e42061ad8338d382dffbdbe5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate tiny-trae-ai 0.1.0 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" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded fd-lock v3.0.13 [INFO] [stderr] Downloaded rustyline v12.0.0 [INFO] [stderr] Downloaded dlv-list v0.3.0 [INFO] [stderr] Downloaded ordered-multimap v0.4.3 [INFO] [stderr] Downloaded rust-ini v0.18.0 [INFO] [stderr] Downloaded config v0.13.4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ad25eb8f1986be50b80b362b69642c25938925bccb5e668af80ea7fc95e68166 [INFO] running `Command { std: "docker" "start" "-a" "ad25eb8f1986be50b80b362b69642c25938925bccb5e668af80ea7fc95e68166", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ad25eb8f1986be50b80b362b69642c25938925bccb5e668af80ea7fc95e68166", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ad25eb8f1986be50b80b362b69642c25938925bccb5e668af80ea7fc95e68166", kill_on_drop: false }` [INFO] [stdout] ad25eb8f1986be50b80b362b69642c25938925bccb5e668af80ea7fc95e68166 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] efa734dce39e4aa3df4fcb30c023859d96552170ba67af7b2593665251a8d9d1 [INFO] running `Command { std: "docker" "start" "-a" "efa734dce39e4aa3df4fcb30c023859d96552170ba67af7b2593665251a8d9d1", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.174 [INFO] [stderr] Compiling cc v1.2.29 [INFO] [stderr] Compiling hashbrown v0.15.4 [INFO] [stderr] Compiling ahash v0.7.8 [INFO] [stderr] Compiling rustix v0.38.44 [INFO] [stderr] Compiling pest v2.8.1 [INFO] [stderr] Compiling darling_core v0.20.11 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling linked-hash-map v0.5.6 [INFO] [stderr] Compiling anstyle-query v1.1.3 [INFO] [stderr] Compiling dlv-list v0.3.0 [INFO] [stderr] Compiling time v0.3.41 [INFO] [stderr] Compiling strum_macros v0.26.4 [INFO] [stderr] Compiling castaway v0.2.3 [INFO] [stderr] Compiling toml_datetime v0.6.11 [INFO] [stderr] Compiling serde_spanned v0.6.9 [INFO] [stderr] Compiling anstream v0.6.19 [INFO] [stderr] Compiling yaml-rust v0.4.5 [INFO] [stderr] Compiling quick-xml v0.38.0 [INFO] [stderr] Compiling crc32fast v1.4.2 [INFO] [stderr] Compiling nibble_vec v0.1.0 [INFO] [stderr] Compiling pulldown-cmark v0.10.3 [INFO] [stderr] Compiling winnow v0.7.11 [INFO] [stderr] Compiling endian-type v0.1.2 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling clap_builder v4.5.41 [INFO] [stderr] Compiling indexmap v2.10.0 [INFO] [stderr] Compiling radix_trie v0.2.1 [INFO] [stderr] Compiling lru v0.12.5 [INFO] [stderr] Compiling compact_str v0.8.1 [INFO] [stderr] Compiling pest_meta v2.8.1 [INFO] [stderr] Compiling flate2 v1.1.2 [INFO] [stderr] Compiling ron v0.7.1 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling openssl-sys v0.9.109 [INFO] [stderr] Compiling onig_sys v69.9.1 [INFO] [stderr] Compiling url v2.5.4 [INFO] [stderr] Compiling unicode-truncate v1.1.0 [INFO] [stderr] Compiling clap_derive v4.5.41 [INFO] [stderr] Compiling toml v0.5.11 [INFO] [stderr] Compiling pulldown-cmark-escape v0.10.1 [INFO] [stderr] Compiling pest_generator v2.8.1 [INFO] [stderr] Compiling strum v0.26.3 [INFO] [stderr] Compiling unicase v2.8.1 [INFO] [stderr] Compiling home v0.5.11 [INFO] [stderr] Compiling cassowary v0.3.0 [INFO] [stderr] Compiling openssl v0.10.73 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Compiling signal-hook-registry v1.4.5 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Compiling mio v1.0.4 [INFO] [stderr] Compiling parking_lot v0.12.4 [INFO] [stderr] Compiling socket2 v0.5.10 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling signal-hook v0.3.18 [INFO] [stderr] Compiling pest_derive v2.8.1 [INFO] [stderr] Compiling tokio v1.46.1 [INFO] [stderr] Compiling plist v1.7.4 [INFO] [stderr] Compiling hashbrown v0.12.3 [INFO] [stderr] Compiling signal-hook-mio v0.2.4 [INFO] [stderr] Compiling fd-lock v3.0.13 [INFO] [stderr] Compiling json5 v0.4.1 [INFO] [stderr] Compiling crossterm v0.28.1 [INFO] [stderr] Compiling toml_edit v0.22.27 [INFO] [stderr] Compiling ordered-multimap v0.4.3 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling darling_macro v0.20.11 [INFO] [stderr] Compiling is-terminal v0.4.16 [INFO] [stderr] Compiling nix v0.26.4 [INFO] [stderr] Compiling dirs-sys v0.4.1 [INFO] [stderr] Compiling uuid v1.17.0 [INFO] [stderr] Compiling dirs v5.0.1 [INFO] [stderr] Compiling rust-ini v0.18.0 [INFO] [stderr] Compiling darling v0.20.11 [INFO] [stderr] Compiling env_logger v0.10.2 [INFO] [stderr] Compiling instability v0.3.7 [INFO] [stderr] Compiling clap v4.5.41 [INFO] [stderr] Compiling config v0.13.4 [INFO] [stderr] Compiling ratatui v0.28.1 [INFO] [stderr] Compiling rustyline v12.0.0 [INFO] [stderr] Compiling toml v0.8.23 [INFO] [stderr] Compiling onig v6.5.1 [INFO] [stderr] Compiling syntect v5.2.0 [INFO] [stderr] Compiling tokio-util v0.7.15 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling h2 v0.3.26 [INFO] [stderr] Compiling hyper v0.14.32 [INFO] [stderr] Compiling hyper-tls v0.5.0 [INFO] [stderr] Compiling reqwest v0.11.27 [INFO] [stderr] Compiling tiny-trae-ai v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `debug` [INFO] [stdout] --> src/main.rs:5:11 [INFO] [stdout] | [INFO] [stdout] 5 | use log::{debug, info}; [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: `KeyCode` [INFO] [stdout] --> src/cli/tui_cli.rs:4:67 [INFO] [stdout] | [INFO] [stdout] 4 | event::{self, DisableMouseCapture, EnableMouseCapture, Event, KeyCode}, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `regex::Regex` [INFO] [stdout] --> src/tools/mod.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use regex::Regex; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::process::Command` [INFO] [stdout] --> src/tools/mod.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use std::process::Command; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `info` [INFO] [stdout] --> src/tools/mod.rs:9:18 [INFO] [stdout] | [INFO] [stdout] 9 | use log::{debug, info, warn}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/claude/mod.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Context` [INFO] [stdout] --> src/session/mod.rs:1:14 [INFO] [stdout] | [INFO] [stdout] 1 | use anyhow::{Context, Result}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde_json::Value` [INFO] [stdout] --> src/session/mod.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use serde_json::Value; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ChatRequest` is never constructed [INFO] [stdout] --> src/claude/mod.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 17 | pub struct ChatRequest { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ChatResponse` is never constructed [INFO] [stdout] --> src/claude/mod.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 25 | pub struct ChatResponse { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ContentBlock` is never constructed [INFO] [stdout] --> src/claude/mod.rs:37:12 [INFO] [stdout] | [INFO] [stdout] 37 | pub struct ContentBlock { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `input_tokens` and `output_tokens` are never read [INFO] [stdout] --> src/claude/mod.rs:44:9 [INFO] [stdout] | [INFO] [stdout] 43 | pub struct Usage { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 44 | pub input_tokens: u32, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 45 | pub output_tokens: u32, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Usage` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `chat` is never used [INFO] [stdout] --> src/claude/mod.rs:63:18 [INFO] [stdout] | [INFO] [stdout] 53 | impl ClaudeClient { [INFO] [stdout] | ----------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 63 | pub async fn chat(&self, messages: Vec) -> Result { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/claude/mod.rs:211:9 [INFO] [stdout] | [INFO] [stdout] 210 | pub struct ChatResponseWithTools { [INFO] [stdout] | --------------------- fields in this struct [INFO] [stdout] 211 | pub id: String, [INFO] [stdout] | ^^ [INFO] [stdout] 212 | pub content: Vec, [INFO] [stdout] 213 | pub model: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 214 | pub role: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 215 | pub stop_reason: Option, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 216 | pub stop_sequence: Option, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 217 | pub r#type: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 218 | pub usage: Usage, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ChatResponseWithTools` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `object` and `created` are never read [INFO] [stdout] --> src/claude/mod.rs:225:9 [INFO] [stdout] | [INFO] [stdout] 223 | pub struct OpenAIResponse { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] 224 | pub id: String, [INFO] [stdout] 225 | pub object: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 226 | pub created: u64, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `OpenAIResponse` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `index` is never read [INFO] [stdout] --> src/claude/mod.rs:234:9 [INFO] [stdout] | [INFO] [stdout] 233 | pub struct OpenAIChoice { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] 234 | pub index: u32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `OpenAIChoice` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `role` is never read [INFO] [stdout] --> src/claude/mod.rs:241:9 [INFO] [stdout] | [INFO] [stdout] 240 | pub struct OpenAIMessage { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] 241 | pub role: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `OpenAIMessage` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `type` is never read [INFO] [stdout] --> src/claude/mod.rs:249:9 [INFO] [stdout] | [INFO] [stdout] 247 | pub struct OpenAIToolCall { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] 248 | pub id: String, [INFO] [stdout] 249 | pub r#type: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `OpenAIToolCall` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `total_tokens` is never read [INFO] [stdout] --> src/claude/mod.rs:263:9 [INFO] [stdout] | [INFO] [stdout] 260 | pub struct OpenAIUsage { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 263 | pub total_tokens: u32, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `OpenAIUsage` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `id` is never read [INFO] [stdout] --> src/claude/mod.rs:273:9 [INFO] [stdout] | [INFO] [stdout] 272 | ToolUse { [INFO] [stdout] | ------- field in this variant [INFO] [stdout] 273 | id: String, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `ContentBlockWithTools` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `show_warning` and `show_info` are never used [INFO] [stdout] --> src/ui/mod.rs:73:12 [INFO] [stdout] | [INFO] [stdout] 13 | impl UIRenderer { [INFO] [stdout] | --------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 73 | pub fn show_warning(&self, warning: &str) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 78 | pub fn show_info(&self, info: &str) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `SessionEvent` is never constructed [INFO] [stdout] --> src/ui/tui.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 23 | pub enum AppEvent { [INFO] [stdout] | -------- variant in this enum [INFO] [stdout] 24 | Input(String), [INFO] [stdout] 25 | SessionEvent(SessionEvent), [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AppEvent` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 02s [INFO] running `Command { std: "docker" "inspect" "efa734dce39e4aa3df4fcb30c023859d96552170ba67af7b2593665251a8d9d1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "efa734dce39e4aa3df4fcb30c023859d96552170ba67af7b2593665251a8d9d1", kill_on_drop: false }` [INFO] [stdout] efa734dce39e4aa3df4fcb30c023859d96552170ba67af7b2593665251a8d9d1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0aa6530ee6305b80c3ace1992fe62063b933275eea2e253bfdf365c585ff2909 [INFO] running `Command { std: "docker" "start" "-a" "0aa6530ee6305b80c3ace1992fe62063b933275eea2e253bfdf365c585ff2909", kill_on_drop: false }` [INFO] [stderr] Compiling tiny-trae-ai v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `debug` [INFO] [stdout] --> src/main.rs:5:11 [INFO] [stdout] | [INFO] [stdout] 5 | use log::{debug, info}; [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: `KeyCode` [INFO] [stdout] --> src/cli/tui_cli.rs:4:67 [INFO] [stdout] | [INFO] [stdout] 4 | event::{self, DisableMouseCapture, EnableMouseCapture, Event, KeyCode}, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `regex::Regex` [INFO] [stdout] --> src/tools/mod.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use regex::Regex; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::process::Command` [INFO] [stdout] --> src/tools/mod.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use std::process::Command; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `info` [INFO] [stdout] --> src/tools/mod.rs:9:18 [INFO] [stdout] | [INFO] [stdout] 9 | use log::{debug, info, warn}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/claude/mod.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Context` [INFO] [stdout] --> src/session/mod.rs:1:14 [INFO] [stdout] | [INFO] [stdout] 1 | use anyhow::{Context, Result}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde_json::Value` [INFO] [stdout] --> src/session/mod.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use serde_json::Value; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ChatRequest` is never constructed [INFO] [stdout] --> src/claude/mod.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 17 | pub struct ChatRequest { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ChatResponse` is never constructed [INFO] [stdout] --> src/claude/mod.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 25 | pub struct ChatResponse { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ContentBlock` is never constructed [INFO] [stdout] --> src/claude/mod.rs:37:12 [INFO] [stdout] | [INFO] [stdout] 37 | pub struct ContentBlock { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `input_tokens` and `output_tokens` are never read [INFO] [stdout] --> src/claude/mod.rs:44:9 [INFO] [stdout] | [INFO] [stdout] 43 | pub struct Usage { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 44 | pub input_tokens: u32, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 45 | pub output_tokens: u32, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Usage` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `chat` is never used [INFO] [stdout] --> src/claude/mod.rs:63:18 [INFO] [stdout] | [INFO] [stdout] 53 | impl ClaudeClient { [INFO] [stdout] | ----------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 63 | pub async fn chat(&self, messages: Vec) -> Result { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/claude/mod.rs:211:9 [INFO] [stdout] | [INFO] [stdout] 210 | pub struct ChatResponseWithTools { [INFO] [stdout] | --------------------- fields in this struct [INFO] [stdout] 211 | pub id: String, [INFO] [stdout] | ^^ [INFO] [stdout] 212 | pub content: Vec, [INFO] [stdout] 213 | pub model: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 214 | pub role: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 215 | pub stop_reason: Option, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 216 | pub stop_sequence: Option, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 217 | pub r#type: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 218 | pub usage: Usage, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ChatResponseWithTools` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `object` and `created` are never read [INFO] [stdout] --> src/claude/mod.rs:225:9 [INFO] [stdout] | [INFO] [stdout] 223 | pub struct OpenAIResponse { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] 224 | pub id: String, [INFO] [stdout] 225 | pub object: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 226 | pub created: u64, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `OpenAIResponse` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `index` is never read [INFO] [stdout] --> src/claude/mod.rs:234:9 [INFO] [stdout] | [INFO] [stdout] 233 | pub struct OpenAIChoice { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] 234 | pub index: u32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `OpenAIChoice` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `role` is never read [INFO] [stdout] --> src/claude/mod.rs:241:9 [INFO] [stdout] | [INFO] [stdout] 240 | pub struct OpenAIMessage { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] 241 | pub role: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `OpenAIMessage` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `type` is never read [INFO] [stdout] --> src/claude/mod.rs:249:9 [INFO] [stdout] | [INFO] [stdout] 247 | pub struct OpenAIToolCall { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] 248 | pub id: String, [INFO] [stdout] 249 | pub r#type: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `OpenAIToolCall` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `total_tokens` is never read [INFO] [stdout] --> src/claude/mod.rs:263:9 [INFO] [stdout] | [INFO] [stdout] 260 | pub struct OpenAIUsage { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 263 | pub total_tokens: u32, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `OpenAIUsage` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `id` is never read [INFO] [stdout] --> src/claude/mod.rs:273:9 [INFO] [stdout] | [INFO] [stdout] 272 | ToolUse { [INFO] [stdout] | ------- field in this variant [INFO] [stdout] 273 | id: String, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `ContentBlockWithTools` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `show_warning` and `show_info` are never used [INFO] [stdout] --> src/ui/mod.rs:73:12 [INFO] [stdout] | [INFO] [stdout] 13 | impl UIRenderer { [INFO] [stdout] | --------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 73 | pub fn show_warning(&self, warning: &str) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 78 | pub fn show_info(&self, info: &str) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `SessionEvent` is never constructed [INFO] [stdout] --> src/ui/tui.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 23 | pub enum AppEvent { [INFO] [stdout] | -------- variant in this enum [INFO] [stdout] 24 | Input(String), [INFO] [stdout] 25 | SessionEvent(SessionEvent), [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AppEvent` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 2.64s [INFO] running `Command { std: "docker" "inspect" "0aa6530ee6305b80c3ace1992fe62063b933275eea2e253bfdf365c585ff2909", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0aa6530ee6305b80c3ace1992fe62063b933275eea2e253bfdf365c585ff2909", kill_on_drop: false }` [INFO] [stdout] 0aa6530ee6305b80c3ace1992fe62063b933275eea2e253bfdf365c585ff2909