[INFO] fetching crate tiny-trae 0.1.0... [INFO] testing tiny-trae-0.1.0 against try#b83b707f97d809763b7861afa7638871f3339a33 for pr-145838-1 [INFO] extracting crate tiny-trae 0.1.0 into /workspace/builds/worker-6-tc2/source [INFO] started tweaking crates.io crate tiny-trae 0.1.0 [INFO] finished tweaking crates.io crate tiny-trae 0.1.0 [INFO] tweaked toml for crates.io crate tiny-trae 0.1.0 written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate tiny-trae 0.1.0 on toolchain b83b707f97d809763b7861afa7638871f3339a33 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate tiny-trae 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" "+b83b707f97d809763b7861afa7638871f3339a33" "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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 76007ae3728dc34e53fd58d5497e89704fa25112ab8a49a35f5198a0a845cdf6 [INFO] running `Command { std: "docker" "start" "-a" "76007ae3728dc34e53fd58d5497e89704fa25112ab8a49a35f5198a0a845cdf6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "76007ae3728dc34e53fd58d5497e89704fa25112ab8a49a35f5198a0a845cdf6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "76007ae3728dc34e53fd58d5497e89704fa25112ab8a49a35f5198a0a845cdf6", kill_on_drop: false }` [INFO] [stdout] 76007ae3728dc34e53fd58d5497e89704fa25112ab8a49a35f5198a0a845cdf6 [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] bb70823125d66dd8c91cbb6a7835bd378afcfdc79062b7c0ac25ca85a2945f73 [INFO] running `Command { std: "docker" "start" "-a" "bb70823125d66dd8c91cbb6a7835bd378afcfdc79062b7c0ac25ca85a2945f73", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.174 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Compiling vcpkg v0.2.15 [INFO] [stderr] Compiling pkg-config v0.3.32 [INFO] [stderr] Compiling lock_api v0.4.13 [INFO] [stderr] Compiling cc v1.2.29 [INFO] [stderr] Compiling bitflags v2.9.1 [INFO] [stderr] Compiling thiserror v2.0.12 [INFO] [stderr] Compiling equivalent v1.0.2 [INFO] [stderr] Compiling hashbrown v0.15.4 [INFO] [stderr] Compiling ucd-trie v0.1.7 [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Compiling ahash v0.7.8 [INFO] [stderr] Compiling openssl v0.10.73 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Compiling tracing-core v0.1.34 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Compiling httparse v1.10.1 [INFO] [stderr] Compiling utf8parse v0.2.2 [INFO] [stderr] Compiling futures-task v0.3.31 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling slab v0.4.10 [INFO] [stderr] Compiling try-lock v0.2.5 [INFO] [stderr] Compiling openssl-probe v0.1.6 [INFO] [stderr] Compiling signal-hook v0.3.18 [INFO] [stderr] Compiling rustix v0.38.44 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling percent-encoding v2.3.1 [INFO] [stderr] Compiling want v0.3.1 [INFO] [stderr] Compiling indexmap v2.10.0 [INFO] [stderr] Compiling anstyle-parse v0.2.7 [INFO] [stderr] Compiling form_urlencoded v1.2.1 [INFO] [stderr] Compiling http-body v0.4.6 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling tower-service v0.3.3 [INFO] [stderr] Compiling linux-raw-sys v0.4.15 [INFO] [stderr] Compiling is_terminal_polyfill v1.70.1 [INFO] [stderr] Compiling anstyle-query v1.1.3 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling colorchoice v1.0.4 [INFO] [stderr] Compiling dlv-list v0.3.0 [INFO] [stderr] Compiling httpdate v1.0.3 [INFO] [stderr] Compiling anstream v0.6.19 [INFO] [stderr] Compiling nibble_vec v0.1.0 [INFO] [stderr] Compiling toml_write v0.1.2 [INFO] [stderr] Compiling winnow v0.7.11 [INFO] [stderr] Compiling option-ext v0.2.0 [INFO] [stderr] Compiling base64 v0.13.1 [INFO] [stderr] Compiling endian-type v0.1.2 [INFO] [stderr] Compiling strsim v0.11.1 [INFO] [stderr] Compiling anyhow v1.0.98 [INFO] [stderr] Compiling linked-hash-map v0.5.6 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Compiling radix_trie v0.2.1 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling openssl-sys v0.9.109 [INFO] [stderr] Compiling rustls-pemfile v1.0.4 [INFO] [stderr] Compiling signal-hook-registry v1.4.5 [INFO] [stderr] Compiling mio v1.0.4 [INFO] [stderr] Compiling socket2 v0.5.10 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling mio v0.8.11 [INFO] [stderr] Compiling nix v0.26.4 [INFO] [stderr] Compiling dirs-sys v0.4.1 [INFO] [stderr] Compiling parking_lot v0.12.4 [INFO] [stderr] Compiling hashbrown v0.12.3 [INFO] [stderr] Compiling is-terminal v0.4.16 [INFO] [stderr] Compiling signal-hook-mio v0.2.4 [INFO] [stderr] Compiling yaml-rust v0.4.5 [INFO] [stderr] Compiling clap_builder v4.5.41 [INFO] [stderr] Compiling encoding_rs v0.8.35 [INFO] [stderr] Compiling sync_wrapper v0.1.2 [INFO] [stderr] Compiling unicode-width v0.1.14 [INFO] [stderr] Compiling termcolor v1.4.1 [INFO] [stderr] Compiling home v0.5.11 [INFO] [stderr] Compiling pathdiff v0.2.3 [INFO] [stderr] Compiling ipnet v2.11.0 [INFO] [stderr] Compiling ordered-multimap v0.4.3 [INFO] [stderr] Compiling humantime v2.2.0 [INFO] [stderr] Compiling unicode-segmentation v1.12.0 [INFO] [stderr] Compiling rust-ini v0.18.0 [INFO] [stderr] Compiling crossterm v0.27.0 [INFO] [stderr] Compiling dirs v5.0.1 [INFO] [stderr] Compiling uuid v1.17.0 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling fd-lock v3.0.13 [INFO] [stderr] Compiling rustyline v12.0.0 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling zerovec-derive v0.11.1 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling thiserror-impl v2.0.12 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling async-trait v0.1.88 [INFO] [stderr] Compiling clap_derive v4.5.41 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.0 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling tokio v1.46.1 [INFO] [stderr] Compiling env_logger v0.10.2 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling yoke v0.8.0 [INFO] [stderr] Compiling zerovec v0.11.2 [INFO] [stderr] Compiling zerotrie v0.2.2 [INFO] [stderr] Compiling pest v2.8.1 [INFO] [stderr] Compiling clap v4.5.41 [INFO] [stderr] Compiling tinystr v0.8.1 [INFO] [stderr] Compiling potential_utf v0.1.2 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling icu_collections v2.0.0 [INFO] [stderr] Compiling pest_meta v2.8.1 [INFO] [stderr] Compiling icu_locale_core v2.0.0 [INFO] [stderr] Compiling pest_generator v2.8.1 [INFO] [stderr] Compiling icu_provider v2.0.0 [INFO] [stderr] Compiling icu_properties v2.0.1 [INFO] [stderr] Compiling icu_normalizer v2.0.0 [INFO] [stderr] Compiling pest_derive v2.8.1 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling idna v1.0.3 [INFO] [stderr] Compiling serde_spanned v0.6.9 [INFO] [stderr] Compiling toml_datetime v0.6.11 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling ron v0.7.1 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling json5 v0.4.1 [INFO] [stderr] Compiling toml v0.5.11 [INFO] [stderr] Compiling toml_edit v0.22.27 [INFO] [stderr] Compiling url v2.5.4 [INFO] [stderr] Compiling config v0.13.4 [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 toml v0.8.23 [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 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: `info` [INFO] [stdout] --> src/cli/mod.rs:3:18 [INFO] [stdout] | [INFO] [stdout] 3 | use log::{debug, info, warn}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde_json::Value` [INFO] [stdout] --> src/cli/mod.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use serde_json::Value; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/cli/mod.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Write` and `self` [INFO] [stdout] --> src/cli/mod.rs:7:15 [INFO] [stdout] | [INFO] [stdout] 7 | use std::io::{self, Write}; [INFO] [stdout] | ^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `uuid::Uuid` [INFO] [stdout] --> src/cli/mod.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use uuid::Uuid; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ToolResult` [INFO] [stdout] --> src/cli/mod.rs:12:32 [INFO] [stdout] | [INFO] [stdout] 12 | use crate::tools::{ToolSystem, ToolResult}; [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 variable: `id` [INFO] [stdout] --> src/cli/mod.rs:161:50 [INFO] [stdout] | [INFO] [stdout] 161 | ContentBlockWithTools::ToolUse { id, name, input } => { [INFO] [stdout] | ^^ help: try ignoring the field: `id: _` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [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: unused `Result` that must be used [INFO] [stdout] --> src/cli/mod.rs:59:21 [INFO] [stdout] | [INFO] [stdout] 59 | self.editor.add_history_entry(line.as_str()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 59 | let _ = self.editor.add_history_entry(line.as_str()); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 54.39s [INFO] running `Command { std: "docker" "inspect" "bb70823125d66dd8c91cbb6a7835bd378afcfdc79062b7c0ac25ca85a2945f73", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bb70823125d66dd8c91cbb6a7835bd378afcfdc79062b7c0ac25ca85a2945f73", kill_on_drop: false }` [INFO] [stdout] bb70823125d66dd8c91cbb6a7835bd378afcfdc79062b7c0ac25ca85a2945f73 [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 00c66e7fb16a36ce4a09bcd55c03a21d4c3be7c05b40d2878170c4e83a306b16 [INFO] running `Command { std: "docker" "start" "-a" "00c66e7fb16a36ce4a09bcd55c03a21d4c3be7c05b40d2878170c4e83a306b16", kill_on_drop: false }` [INFO] [stderr] Compiling tiny-trae 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: `info` [INFO] [stdout] --> src/cli/mod.rs:3:18 [INFO] [stdout] | [INFO] [stdout] 3 | use log::{debug, info, warn}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde_json::Value` [INFO] [stdout] --> src/cli/mod.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use serde_json::Value; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/cli/mod.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Write` and `self` [INFO] [stdout] --> src/cli/mod.rs:7:15 [INFO] [stdout] | [INFO] [stdout] 7 | use std::io::{self, Write}; [INFO] [stdout] | ^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `uuid::Uuid` [INFO] [stdout] --> src/cli/mod.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use uuid::Uuid; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ToolResult` [INFO] [stdout] --> src/cli/mod.rs:12:32 [INFO] [stdout] | [INFO] [stdout] 12 | use crate::tools::{ToolSystem, ToolResult}; [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 variable: `id` [INFO] [stdout] --> src/cli/mod.rs:161:50 [INFO] [stdout] | [INFO] [stdout] 161 | ContentBlockWithTools::ToolUse { id, name, input } => { [INFO] [stdout] | ^^ help: try ignoring the field: `id: _` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [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: unused `Result` that must be used [INFO] [stdout] --> src/cli/mod.rs:59:21 [INFO] [stdout] | [INFO] [stdout] 59 | self.editor.add_history_entry(line.as_str()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 59 | let _ = self.editor.add_history_entry(line.as_str()); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 2.54s [INFO] running `Command { std: "docker" "inspect" "00c66e7fb16a36ce4a09bcd55c03a21d4c3be7c05b40d2878170c4e83a306b16", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "00c66e7fb16a36ce4a09bcd55c03a21d4c3be7c05b40d2878170c4e83a306b16", kill_on_drop: false }` [INFO] [stdout] 00c66e7fb16a36ce4a09bcd55c03a21d4c3be7c05b40d2878170c4e83a306b16 [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 1f6a314a7eefc2a065d9f1f7ed65316da1c48d0a6c16ba4e340fede7633d2148 [INFO] running `Command { std: "docker" "start" "-a" "1f6a314a7eefc2a065d9f1f7ed65316da1c48d0a6c16ba4e340fede7633d2148", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `debug` [INFO] [stderr] --> src/main.rs:5:11 [INFO] [stderr] | [INFO] [stderr] 5 | use log::{debug, info}; [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `info` [INFO] [stderr] --> src/cli/mod.rs:3:18 [INFO] [stderr] | [INFO] [stderr] 3 | use log::{debug, info, warn}; [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `serde_json::Value` [INFO] [stderr] --> src/cli/mod.rs:5:5 [INFO] [stderr] | [INFO] [stderr] 5 | use serde_json::Value; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::collections::HashMap` [INFO] [stderr] --> src/cli/mod.rs:6:5 [INFO] [stderr] | [INFO] [stderr] 6 | use std::collections::HashMap; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `Write` and `self` [INFO] [stderr] --> src/cli/mod.rs:7:15 [INFO] [stderr] | [INFO] [stderr] 7 | use std::io::{self, Write}; [INFO] [stderr] | ^^^^ ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `uuid::Uuid` [INFO] [stderr] --> src/cli/mod.rs:8:5 [INFO] [stderr] | [INFO] [stderr] 8 | use uuid::Uuid; [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `ToolResult` [INFO] [stderr] --> src/cli/mod.rs:12:32 [INFO] [stderr] | [INFO] [stderr] 12 | use crate::tools::{ToolSystem, ToolResult}; [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `regex::Regex` [INFO] [stderr] --> src/tools/mod.rs:2:5 [INFO] [stderr] | [INFO] [stderr] 2 | use regex::Regex; [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::process::Command` [INFO] [stderr] --> src/tools/mod.rs:7:5 [INFO] [stderr] | [INFO] [stderr] 7 | use std::process::Command; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `info` [INFO] [stderr] --> src/tools/mod.rs:9:18 [INFO] [stderr] | [INFO] [stderr] 9 | use log::{debug, info, warn}; [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::collections::HashMap` [INFO] [stderr] --> src/claude/mod.rs:5:5 [INFO] [stderr] | [INFO] [stderr] 5 | use std::collections::HashMap; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused variable: `id` [INFO] [stderr] --> src/cli/mod.rs:161:50 [INFO] [stderr] | [INFO] [stderr] 161 | ContentBlockWithTools::ToolUse { id, name, input } => { [INFO] [stderr] | ^^ help: try ignoring the field: `id: _` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: struct `ChatRequest` is never constructed [INFO] [stderr] --> src/claude/mod.rs:17:12 [INFO] [stderr] | [INFO] [stderr] 17 | pub struct ChatRequest { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: struct `ChatResponse` is never constructed [INFO] [stderr] --> src/claude/mod.rs:25:12 [INFO] [stderr] | [INFO] [stderr] 25 | pub struct ChatResponse { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `ContentBlock` is never constructed [INFO] [stderr] --> src/claude/mod.rs:37:12 [INFO] [stderr] | [INFO] [stderr] 37 | pub struct ContentBlock { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: fields `input_tokens` and `output_tokens` are never read [INFO] [stderr] --> src/claude/mod.rs:44:9 [INFO] [stderr] | [INFO] [stderr] 43 | pub struct Usage { [INFO] [stderr] | ----- fields in this struct [INFO] [stderr] 44 | pub input_tokens: u32, [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] 45 | pub output_tokens: u32, [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `Usage` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: method `chat` is never used [INFO] [stderr] --> src/claude/mod.rs:63:18 [INFO] [stderr] | [INFO] [stderr] 53 | impl ClaudeClient { [INFO] [stderr] | ----------------- method in this implementation [INFO] [stderr] ... [INFO] [stderr] 63 | pub async fn chat(&self, messages: Vec) -> Result { [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: multiple fields are never read [INFO] [stderr] --> src/claude/mod.rs:211:9 [INFO] [stderr] | [INFO] [stderr] 210 | pub struct ChatResponseWithTools { [INFO] [stderr] | --------------------- fields in this struct [INFO] [stderr] 211 | pub id: String, [INFO] [stderr] | ^^ [INFO] [stderr] 212 | pub content: Vec, [INFO] [stderr] 213 | pub model: String, [INFO] [stderr] | ^^^^^ [INFO] [stderr] 214 | pub role: String, [INFO] [stderr] | ^^^^ [INFO] [stderr] 215 | pub stop_reason: Option, [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] 216 | pub stop_sequence: Option, [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] 217 | pub r#type: String, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] 218 | pub usage: Usage, [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `ChatResponseWithTools` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: fields `object` and `created` are never read [INFO] [stderr] --> src/claude/mod.rs:225:9 [INFO] [stderr] | [INFO] [stderr] 223 | pub struct OpenAIResponse { [INFO] [stderr] | -------------- fields in this struct [INFO] [stderr] 224 | pub id: String, [INFO] [stderr] 225 | pub object: String, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] 226 | pub created: u64, [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `OpenAIResponse` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: field `index` is never read [INFO] [stderr] --> src/claude/mod.rs:234:9 [INFO] [stderr] | [INFO] [stderr] 233 | pub struct OpenAIChoice { [INFO] [stderr] | ------------ field in this struct [INFO] [stderr] 234 | pub index: u32, [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `OpenAIChoice` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: field `role` is never read [INFO] [stderr] --> src/claude/mod.rs:241:9 [INFO] [stderr] | [INFO] [stderr] 240 | pub struct OpenAIMessage { [INFO] [stderr] | ------------- field in this struct [INFO] [stderr] 241 | pub role: String, [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `OpenAIMessage` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: field `type` is never read [INFO] [stderr] --> src/claude/mod.rs:249:9 [INFO] [stderr] | [INFO] [stderr] 247 | pub struct OpenAIToolCall { [INFO] [stderr] | -------------- field in this struct [INFO] [stderr] 248 | pub id: String, [INFO] [stderr] 249 | pub r#type: String, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `OpenAIToolCall` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: field `total_tokens` is never read [INFO] [stderr] --> src/claude/mod.rs:263:9 [INFO] [stderr] | [INFO] [stderr] 260 | pub struct OpenAIUsage { [INFO] [stderr] | ----------- field in this struct [INFO] [stderr] ... [INFO] [stderr] 263 | pub total_tokens: u32, [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `OpenAIUsage` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: unused `Result` that must be used [INFO] [stderr] --> src/cli/mod.rs:59:21 [INFO] [stderr] | [INFO] [stderr] 59 | self.editor.add_history_entry(line.as_str()); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stderr] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] help: use `let _ = ...` to ignore the resulting value [INFO] [stderr] | [INFO] [stderr] 59 | let _ = self.editor.add_history_entry(line.as_str()); [INFO] [stderr] | +++++++ [INFO] [stderr] [INFO] [stderr] warning: `tiny-trae` (bin "tiny-trae" test) generated 24 warnings (run `cargo fix --bin "tiny-trae" --tests` to apply 11 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.30s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/tiny_trae-45488c7b5ee49785) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "1f6a314a7eefc2a065d9f1f7ed65316da1c48d0a6c16ba4e340fede7633d2148", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1f6a314a7eefc2a065d9f1f7ed65316da1c48d0a6c16ba4e340fede7633d2148", kill_on_drop: false }` [INFO] [stdout] 1f6a314a7eefc2a065d9f1f7ed65316da1c48d0a6c16ba4e340fede7633d2148