[INFO] fetching crate tiny-trae-ai 0.1.0...
[INFO] building tiny-trae-ai-0.1.0 against try#58b1b3c5342a414c161338871f8004258ccef2a7 for pr-149937
[INFO] extracting crate tiny-trae-ai 0.1.0 into /workspace/builds/worker-6-tc2/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-6-tc2/source/Cargo.toml
[INFO] validating manifest of crates.io crate tiny-trae-ai 0.1.0 on toolchain 58b1b3c5342a414c161338871f8004258ccef2a7
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+58b1b3c5342a414c161338871f8004258ccef2a7" "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" "+58b1b3c5342a414c161338871f8004258ccef2a7" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+58b1b3c5342a414c161338871f8004258ccef2a7" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] ab35498606d5fd9dd9b9a98638d5fc15df067a098574c667011a51985e85cb76
[INFO] running `Command { std: "docker" "start" "-a" "ab35498606d5fd9dd9b9a98638d5fc15df067a098574c667011a51985e85cb76", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "ab35498606d5fd9dd9b9a98638d5fc15df067a098574c667011a51985e85cb76", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "ab35498606d5fd9dd9b9a98638d5fc15df067a098574c667011a51985e85cb76", kill_on_drop: false }`
[INFO] [stdout] ab35498606d5fd9dd9b9a98638d5fc15df067a098574c667011a51985e85cb76
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+58b1b3c5342a414c161338871f8004258ccef2a7" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 8fb46e28af9400c4a2adce45bc4f0b892530f8ec10ea9cd2004442a0ec4f7aa1
[INFO] running `Command { std: "docker" "start" "-a" "8fb46e28af9400c4a2adce45bc4f0b892530f8ec10ea9cd2004442a0ec4f7aa1", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.174
[INFO] [stderr]    Compiling serde v1.0.219
[INFO] [stderr]    Compiling cc v1.2.29
[INFO] [stderr]    Compiling rustversion v1.0.21
[INFO] [stderr]    Compiling ahash v0.7.8
[INFO] [stderr]    Compiling ucd-trie v0.1.7
[INFO] [stderr]    Compiling rustix v0.38.44
[INFO] [stderr]    Compiling futures-util v0.3.31
[INFO] [stderr]    Compiling http v0.2.12
[INFO] [stderr]    Compiling signal-hook v0.3.18
[INFO] [stderr]    Compiling linux-raw-sys v0.4.15
[INFO] [stderr]    Compiling serde_json v1.0.140
[INFO] [stderr]    Compiling darling_core v0.20.11
[INFO] [stderr]    Compiling tracing v0.1.41
[INFO] [stderr]    Compiling icu_normalizer v2.0.0
[INFO] [stderr]    Compiling deranged v0.4.0
[INFO] [stderr]    Compiling anstyle v1.0.11
[INFO] [stderr]    Compiling pest v2.8.1
[INFO] [stderr]    Compiling time-core v0.1.4
[INFO] [stderr]    Compiling anstyle-query v1.1.3
[INFO] [stderr]    Compiling dlv-list v0.3.0
[INFO] [stderr]    Compiling getrandom v0.3.3
[INFO] [stderr]    Compiling anstream v0.6.19
[INFO] [stderr]    Compiling yaml-rust v0.4.5
[INFO] [stderr]    Compiling miniz_oxide v0.8.9
[INFO] [stderr]    Compiling idna_adapter v1.2.1
[INFO] [stderr]    Compiling quick-xml v0.38.0
[INFO] [stderr]    Compiling idna v1.0.3
[INFO] [stderr]    Compiling crc32fast v1.4.2
[INFO] [stderr]    Compiling nibble_vec v0.1.0
[INFO] [stderr]    Compiling winnow v0.7.11
[INFO] [stderr]    Compiling strum_macros v0.26.4
[INFO] [stderr]    Compiling http-body v0.4.6
[INFO] [stderr]    Compiling time v0.3.41
[INFO] [stderr]    Compiling castaway v0.2.3
[INFO] [stderr]    Compiling pulldown-cmark v0.10.3
[INFO] [stderr]    Compiling toml_write v0.1.2
[INFO] [stderr]    Compiling option-ext v0.2.0
[INFO] [stderr]    Compiling indoc v2.0.6
[INFO] [stderr]    Compiling endian-type v0.1.2
[INFO] [stderr]    Compiling clap_lex v0.7.5
[INFO] [stderr]    Compiling minimal-lexical v0.2.1
[INFO] [stderr]    Compiling unicode-width v0.2.1
[INFO] [stderr]    Compiling pest_meta v2.8.1
[INFO] [stderr]    Compiling nom v7.1.3
[INFO] [stderr]    Compiling rustls-pemfile v1.0.4
[INFO] [stderr]    Compiling compact_str v0.8.1
[INFO] [stderr]    Compiling clap_builder v4.5.41
[INFO] [stderr]    Compiling openssl-sys v0.9.109
[INFO] [stderr]    Compiling onig_sys v69.9.1
[INFO] [stderr]    Compiling getopts v0.2.23
[INFO] [stderr]    Compiling radix_trie v0.2.1
[INFO] [stderr]    Compiling url v2.5.4
[INFO] [stderr]    Compiling openssl v0.10.73
[INFO] [stderr]    Compiling native-tls v0.2.14
[INFO] [stderr]    Compiling flate2 v1.1.2
[INFO] [stderr]    Compiling unicode-truncate v1.1.0
[INFO] [stderr]    Compiling clap_derive v4.5.41
[INFO] [stderr]    Compiling lru v0.12.5
[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 socket2 v0.5.10
[INFO] [stderr]    Compiling getrandom v0.2.16
[INFO] [stderr]    Compiling parking_lot v0.12.4
[INFO] [stderr]    Compiling hashbrown v0.12.3
[INFO] [stderr]    Compiling tokio v1.46.1
[INFO] [stderr]    Compiling darling_macro v0.20.11
[INFO] [stderr]    Compiling pest_generator v2.8.1
[INFO] [stderr]    Compiling serde_spanned v0.6.9
[INFO] [stderr]    Compiling signal-hook-mio v0.2.4
[INFO] [stderr]    Compiling toml_datetime v0.6.11
[INFO] [stderr]    Compiling darling v0.20.11
[INFO] [stderr]    Compiling ron v0.7.1
[INFO] [stderr]    Compiling crossterm v0.28.1
[INFO] [stderr]    Compiling instability v0.3.7
[INFO] [stderr]    Compiling toml v0.5.11
[INFO] [stderr]    Compiling toml_edit v0.22.27
[INFO] [stderr]    Compiling plist v1.7.4
[INFO] [stderr]    Compiling ordered-multimap v0.4.3
[INFO] [stderr]    Compiling serde_urlencoded v0.7.1
[INFO] [stderr]    Compiling bincode v1.3.3
[INFO] [stderr]    Compiling strum v0.26.3
[INFO] [stderr]    Compiling pest_derive v2.8.1
[INFO] [stderr]    Compiling rust-ini v0.18.0
[INFO] [stderr]    Compiling futures-executor v0.3.31
[INFO] [stderr]    Compiling json5 v0.4.1
[INFO] [stderr]    Compiling fd-lock v3.0.13
[INFO] [stderr]    Compiling dirs-sys v0.4.1
[INFO] [stderr]    Compiling is-terminal v0.4.16
[INFO] [stderr]    Compiling nix v0.26.4
[INFO] [stderr]    Compiling pulldown-cmark-escape v0.10.1
[INFO] [stderr]    Compiling cassowary v0.3.0
[INFO] [stderr]    Compiling humantime v2.2.0
[INFO] [stderr]    Compiling unicase v2.8.1
[INFO] [stderr]    Compiling pathdiff v0.2.3
[INFO] [stderr]    Compiling uuid v1.17.0
[INFO] [stderr]    Compiling config v0.13.4
[INFO] [stderr]    Compiling ratatui v0.28.1
[INFO] [stderr]    Compiling env_logger v0.10.2
[INFO] [stderr]    Compiling clap v4.5.41
[INFO] [stderr]    Compiling dirs v5.0.1
[INFO] [stderr]    Compiling futures v0.3.31
[INFO] [stderr]    Compiling rustyline v12.0.0
[INFO] [stderr]    Compiling onig v6.5.1
[INFO] [stderr]    Compiling toml v0.8.23
[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<Message>) -> Result<String> {
[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<ContentBlockWithTools>,
[INFO] [stdout] 213 |     pub model: String,
[INFO] [stdout]     |         ^^^^^
[INFO] [stdout] 214 |     pub role: String,
[INFO] [stdout]     |         ^^^^
[INFO] [stdout] 215 |     pub stop_reason: Option<String>,
[INFO] [stdout]     |         ^^^^^^^^^^^
[INFO] [stdout] 216 |     pub stop_sequence: Option<String>,
[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 00s
[INFO] running `Command { std: "docker" "inspect" "8fb46e28af9400c4a2adce45bc4f0b892530f8ec10ea9cd2004442a0ec4f7aa1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "8fb46e28af9400c4a2adce45bc4f0b892530f8ec10ea9cd2004442a0ec4f7aa1", kill_on_drop: false }`
[INFO] [stdout] 8fb46e28af9400c4a2adce45bc4f0b892530f8ec10ea9cd2004442a0ec4f7aa1
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+58b1b3c5342a414c161338871f8004258ccef2a7" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] c9dff4a558d940ac6ac77bb9d89d24976538e06702ab9b03e330e42ee87af823
[INFO] running `Command { std: "docker" "start" "-a" "c9dff4a558d940ac6ac77bb9d89d24976538e06702ab9b03e330e42ee87af823", 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<Message>) -> Result<String> {
[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<ContentBlockWithTools>,
[INFO] [stdout] 213 |     pub model: String,
[INFO] [stdout]     |         ^^^^^
[INFO] [stdout] 214 |     pub role: String,
[INFO] [stdout]     |         ^^^^
[INFO] [stdout] 215 |     pub stop_reason: Option<String>,
[INFO] [stdout]     |         ^^^^^^^^^^^
[INFO] [stdout] 216 |     pub stop_sequence: Option<String>,
[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 1.90s
[INFO] running `Command { std: "docker" "inspect" "c9dff4a558d940ac6ac77bb9d89d24976538e06702ab9b03e330e42ee87af823", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "c9dff4a558d940ac6ac77bb9d89d24976538e06702ab9b03e330e42ee87af823", kill_on_drop: false }`
[INFO] [stdout] c9dff4a558d940ac6ac77bb9d89d24976538e06702ab9b03e330e42ee87af823
