[INFO] fetching crate trae-agent-rs-core 0.0.1... [INFO] testing trae-agent-rs-core-0.0.1 against try#b83b707f97d809763b7861afa7638871f3339a33 for pr-145838-1 [INFO] extracting crate trae-agent-rs-core 0.0.1 into /workspace/builds/worker-1-tc2/source [INFO] started tweaking crates.io crate trae-agent-rs-core 0.0.1 [INFO] removed 0 missing examples [INFO] finished tweaking crates.io crate trae-agent-rs-core 0.0.1 [INFO] tweaked toml for crates.io crate trae-agent-rs-core 0.0.1 written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate trae-agent-rs-core 0.0.1 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 trae-agent-rs-core 0.0.1 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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 710f7145a2be9ac352ac41add23d4e46516f58b6b68a1a76168f8662f922acc8 [INFO] running `Command { std: "docker" "start" "-a" "710f7145a2be9ac352ac41add23d4e46516f58b6b68a1a76168f8662f922acc8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "710f7145a2be9ac352ac41add23d4e46516f58b6b68a1a76168f8662f922acc8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "710f7145a2be9ac352ac41add23d4e46516f58b6b68a1a76168f8662f922acc8", kill_on_drop: false }` [INFO] [stdout] 710f7145a2be9ac352ac41add23d4e46516f58b6b68a1a76168f8662f922acc8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1f8508e3a35afe5002a6543f16e9743d71cbde39d33a71137ebab206492164eb [INFO] running `Command { std: "docker" "start" "-a" "1f8508e3a35afe5002a6543f16e9743d71cbde39d33a71137ebab206492164eb", kill_on_drop: false }` [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Compiling cc v1.2.31 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling signal-hook-registry v1.4.6 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Compiling socket2 v0.6.0 [INFO] [stderr] Compiling foldhash v0.1.5 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling parking_lot v0.12.4 [INFO] [stderr] Compiling hashbrown v0.15.4 [INFO] [stderr] Compiling thiserror v2.0.12 [INFO] [stderr] Compiling tree-sitter-language v0.1.5 [INFO] [stderr] Compiling libc v0.2.174 [INFO] [stderr] Compiling ahash v0.8.12 [INFO] [stderr] Compiling crunchy v0.2.4 [INFO] [stderr] Compiling ucd-trie v0.1.7 [INFO] [stderr] Compiling tiny-keccak v2.0.2 [INFO] [stderr] Compiling openssl v0.10.73 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling rustls v0.23.31 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Compiling once_cell v1.21.3 [INFO] [stderr] Compiling unicase v2.8.1 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling indexmap v2.10.0 [INFO] [stderr] Compiling sync_wrapper v1.0.2 [INFO] [stderr] Compiling encoding_rs v0.8.35 [INFO] [stderr] Compiling mime_guess v2.0.5 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling iri-string v0.7.8 [INFO] [stderr] Compiling const-random-macro v0.1.16 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling openssl-sys v0.9.109 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling const-random v0.1.18 [INFO] [stderr] Compiling dlv-list v0.5.2 [INFO] [stderr] Compiling libsqlite3-sys v0.30.1 [INFO] [stderr] Compiling winnow v0.7.12 [INFO] [stderr] Compiling dirs-sys v0.5.0 [INFO] [stderr] Compiling crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling ordered-multimap v0.7.3 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling tree-sitter-rust v0.23.3 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling darling_core v0.20.11 [INFO] [stderr] Compiling toml_parser v1.0.2 [INFO] [stderr] Compiling tree-sitter v0.24.7 [INFO] [stderr] Compiling tree-sitter-java v0.23.5 [INFO] [stderr] Compiling tree-sitter-cpp v0.23.4 [INFO] [stderr] Compiling tree-sitter-python v0.23.6 [INFO] [stderr] Compiling tree-sitter-go v0.23.4 [INFO] [stderr] Compiling tree-sitter-c v0.23.4 [INFO] [stderr] Compiling tree-sitter-javascript v0.23.1 [INFO] [stderr] Compiling tree-sitter-typescript v0.23.2 [INFO] [stderr] Compiling eventsource-stream v0.2.3 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling hashlink v0.10.0 [INFO] [stderr] Compiling bstr v1.12.0 [INFO] [stderr] Compiling instant v0.1.13 [INFO] [stderr] Compiling arraydeque v0.5.1 [INFO] [stderr] Compiling futures-timer v3.0.3 [INFO] [stderr] Compiling num-modular v0.6.1 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling yoke-derive v0.8.0 [INFO] [stderr] Compiling zerovec-derive v0.11.1 [INFO] [stderr] Compiling tokio v1.47.1 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling thiserror-impl v2.0.12 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling yoke v0.8.0 [INFO] [stderr] Compiling tracing-attributes v0.1.30 [INFO] [stderr] Compiling zerovec v0.11.4 [INFO] [stderr] Compiling zerotrie v0.2.2 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling darling_macro v0.20.11 [INFO] [stderr] Compiling rustls-webpki v0.103.4 [INFO] [stderr] Compiling tinystr v0.8.1 [INFO] [stderr] Compiling potential_utf v0.1.2 [INFO] [stderr] Compiling icu_collections v2.0.0 [INFO] [stderr] Compiling icu_locale_core v2.0.0 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling pest 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_meta v2.8.1 [INFO] [stderr] Compiling darling v0.20.11 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling idna v1.0.3 [INFO] [stderr] Compiling derive_builder_core v0.20.2 [INFO] [stderr] Compiling pest_generator v2.8.1 [INFO] [stderr] Compiling tokio-util v0.7.16 [INFO] [stderr] Compiling tower v0.5.2 [INFO] [stderr] Compiling bitflags v2.9.1 [INFO] [stderr] Compiling serde_json v1.0.142 [INFO] [stderr] Compiling h2 v0.4.12 [INFO] [stderr] Compiling pest_derive v2.8.1 [INFO] [stderr] Compiling tower-http v0.6.6 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling derive_builder_macro v0.20.2 [INFO] [stderr] Compiling url v2.5.4 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling derive_builder v0.20.2 [INFO] [stderr] Compiling rustix v1.0.8 [INFO] [stderr] Compiling tokio-rustls v0.26.2 [INFO] [stderr] Compiling serde_spanned v1.0.0 [INFO] [stderr] Compiling toml_datetime v0.7.0 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling toml v0.9.5 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling json5 v0.4.1 [INFO] [stderr] Compiling ron v0.8.1 [INFO] [stderr] Compiling secrecy v0.10.3 [INFO] [stderr] Compiling backoff v0.4.0 [INFO] [stderr] Compiling tokio-stream v0.1.17 [INFO] [stderr] Compiling num-order v1.2.0 [INFO] [stderr] Compiling hyper v1.6.0 [INFO] [stderr] Compiling globset v0.4.16 [INFO] [stderr] Compiling async-trait v0.1.88 [INFO] [stderr] Compiling async-openai-macros v0.1.0 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling yaml-rust2 v0.10.3 [INFO] [stderr] Compiling hyper-util v0.1.16 [INFO] [stderr] Compiling rust-ini v0.21.2 [INFO] [stderr] Compiling crossbeam-deque v0.8.6 [INFO] [stderr] Compiling dirs v6.0.0 [INFO] [stderr] Compiling hashlink v0.9.1 [INFO] [stderr] Compiling env_home v0.1.0 [INFO] [stderr] Compiling streaming-iterator v0.1.9 [INFO] [stderr] Compiling fallible-streaming-iterator v0.1.9 [INFO] [stderr] Compiling pathdiff v0.2.3 [INFO] [stderr] Compiling fallible-iterator v0.3.0 [INFO] [stderr] Compiling config v0.15.13 [INFO] [stderr] Compiling tempfile v3.20.0 [INFO] [stderr] Compiling hyper-tls v0.6.0 [INFO] [stderr] Compiling hyper-rustls v0.27.7 [INFO] [stderr] Compiling rusqlite v0.32.1 [INFO] [stderr] Compiling reqwest v0.12.22 [INFO] [stderr] Compiling which v8.0.0 [INFO] [stderr] Compiling chrono v0.4.41 [INFO] [stderr] Compiling tracing-subscriber v0.3.19 [INFO] [stderr] Compiling ignore v0.4.23 [INFO] [stderr] Compiling shellexpand v3.1.1 [INFO] [stderr] Compiling handlebars v6.3.2 [INFO] [stderr] Compiling jsonpath-rust v0.7.5 [INFO] [stderr] Compiling uuid v1.17.0 [INFO] [stderr] Compiling reqwest-eventsource v0.6.0 [INFO] [stderr] Compiling async-openai v0.29.0 [INFO] [stderr] Compiling trae-agent-rs-core v0.0.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/llm/providers/anthropic.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | use std::collections::HashMap; [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 variable: `e` [INFO] [stdout] --> src/config/loader.rs:93:23 [INFO] [stdout] | [INFO] [stdout] 93 | .map_err(|e| ConfigError::InvalidFormat)?; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `async_openai::types::ChatCompletionRequestAssistantMessage::function_call` [INFO] [stdout] --> src/llm/providers/openai.rs:115:37 [INFO] [stdout] | [INFO] [stdout] 115 | ... function_call: None, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `async_openai::types::ChatCompletionRequestAssistantMessage::function_call` [INFO] [stdout] --> src/llm/providers/openai.rs:164:37 [INFO] [stdout] | [INFO] [stdout] 164 | ... function_call: None, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::os::unix::process::CommandExt` [INFO] [stdout] --> src/tools/builtin/bash.rs:53:17 [INFO] [stdout] | [INFO] [stdout] 53 | use std::os::unix::process::CommandExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `execute_step_with_streaming` is never used [INFO] [stdout] --> src/agent/trae_agent.rs:174:14 [INFO] [stdout] | [INFO] [stdout] 33 | impl TraeAgent { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 174 | async fn execute_step_with_streaming( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `id`, `response_type`, `role`, and `stop_sequence` are never read [INFO] [stdout] --> src/llm/providers/anthropic.rs:209:5 [INFO] [stdout] | [INFO] [stdout] 208 | struct AnthropicResponse { [INFO] [stdout] | ----------------- fields in this struct [INFO] [stdout] 209 | id: String, [INFO] [stdout] | ^^ [INFO] [stdout] ... [INFO] [stdout] 212 | response_type: String, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 213 | role: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 216 | stop_sequence: Option, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AnthropicResponse` 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 `content_type` is never read [INFO] [stdout] --> src/llm/providers/anthropic.rs:223:5 [INFO] [stdout] | [INFO] [stdout] 221 | struct AnthropicContent { [INFO] [stdout] | ---------------- field in this struct [INFO] [stdout] 222 | #[serde(rename = "type")] [INFO] [stdout] 223 | content_type: String, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AnthropicContent` 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 `model_config` and `base_url` are never read [INFO] [stdout] --> src/llm/providers/openai.rs:45:5 [INFO] [stdout] | [INFO] [stdout] 42 | pub struct OpenAiClient { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] ... [INFO] [stdout] 45 | model_config: ModelConfig, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 46 | // Store base URL to determine streaming compatibility at runtime [INFO] [stdout] 47 | base_url: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 3m 25s [INFO] running `Command { std: "docker" "inspect" "1f8508e3a35afe5002a6543f16e9743d71cbde39d33a71137ebab206492164eb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1f8508e3a35afe5002a6543f16e9743d71cbde39d33a71137ebab206492164eb", kill_on_drop: false }` [INFO] [stdout] 1f8508e3a35afe5002a6543f16e9743d71cbde39d33a71137ebab206492164eb [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b6a190986b00538f1823cfca2495e46efbfcf9412ae0e536f6190543bab029ac [INFO] running `Command { std: "docker" "start" "-a" "b6a190986b00538f1823cfca2495e46efbfcf9412ae0e536f6190543bab029ac", kill_on_drop: false }` [INFO] [stderr] Compiling tokio v1.47.1 [INFO] [stderr] Compiling async-stream-impl v0.3.6 [INFO] [stderr] Compiling async-stream v0.3.6 [INFO] [stderr] Compiling tokio-util v0.7.16 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling tower v0.5.2 [INFO] [stderr] Compiling tokio-rustls v0.26.2 [INFO] [stderr] Compiling tokio-stream v0.1.17 [INFO] [stderr] Compiling backoff v0.4.0 [INFO] [stderr] Compiling tokio-test v0.4.4 [INFO] [stderr] Compiling tower-http v0.6.6 [INFO] [stderr] Compiling h2 v0.4.12 [INFO] [stderr] Compiling hyper v1.6.0 [INFO] [stderr] Compiling hyper-util v0.1.16 [INFO] [stderr] Compiling hyper-tls v0.6.0 [INFO] [stderr] Compiling hyper-rustls v0.27.7 [INFO] [stderr] Compiling reqwest v0.12.22 [INFO] [stderr] Compiling reqwest-eventsource v0.6.0 [INFO] [stderr] Compiling async-openai v0.29.0 [INFO] [stderr] Compiling trae-agent-rs-core v0.0.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/llm/providers/anthropic.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | use std::collections::HashMap; [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 variable: `e` [INFO] [stdout] --> src/config/loader.rs:93:23 [INFO] [stdout] | [INFO] [stdout] 93 | .map_err(|e| ConfigError::InvalidFormat)?; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `async_openai::types::ChatCompletionRequestAssistantMessage::function_call` [INFO] [stdout] --> src/llm/providers/openai.rs:115:37 [INFO] [stdout] | [INFO] [stdout] 115 | ... function_call: None, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `async_openai::types::ChatCompletionRequestAssistantMessage::function_call` [INFO] [stdout] --> src/llm/providers/openai.rs:164:37 [INFO] [stdout] | [INFO] [stdout] 164 | ... function_call: None, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/llm/providers/anthropic.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | use std::collections::HashMap; [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: `std::os::unix::process::CommandExt` [INFO] [stdout] --> src/tools/builtin/bash.rs:53:17 [INFO] [stdout] | [INFO] [stdout] 53 | use std::os::unix::process::CommandExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/config/loader.rs:93:23 [INFO] [stdout] | [INFO] [stdout] 93 | .map_err(|e| ConfigError::InvalidFormat)?; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `async_openai::types::ChatCompletionRequestAssistantMessage::function_call` [INFO] [stdout] --> src/llm/providers/openai.rs:115:37 [INFO] [stdout] | [INFO] [stdout] 115 | ... function_call: None, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `async_openai::types::ChatCompletionRequestAssistantMessage::function_call` [INFO] [stdout] --> src/llm/providers/openai.rs:164:37 [INFO] [stdout] | [INFO] [stdout] 164 | ... function_call: None, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::os::unix::process::CommandExt` [INFO] [stdout] --> src/tools/builtin/bash.rs:53:17 [INFO] [stdout] | [INFO] [stdout] 53 | use std::os::unix::process::CommandExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `execute_step_with_streaming` is never used [INFO] [stdout] --> src/agent/trae_agent.rs:174:14 [INFO] [stdout] | [INFO] [stdout] 33 | impl TraeAgent { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 174 | async fn execute_step_with_streaming( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `id`, `response_type`, `role`, and `stop_sequence` are never read [INFO] [stdout] --> src/llm/providers/anthropic.rs:209:5 [INFO] [stdout] | [INFO] [stdout] 208 | struct AnthropicResponse { [INFO] [stdout] | ----------------- fields in this struct [INFO] [stdout] 209 | id: String, [INFO] [stdout] | ^^ [INFO] [stdout] ... [INFO] [stdout] 212 | response_type: String, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 213 | role: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 216 | stop_sequence: Option, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AnthropicResponse` 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 `content_type` is never read [INFO] [stdout] --> src/llm/providers/anthropic.rs:223:5 [INFO] [stdout] | [INFO] [stdout] 221 | struct AnthropicContent { [INFO] [stdout] | ---------------- field in this struct [INFO] [stdout] 222 | #[serde(rename = "type")] [INFO] [stdout] 223 | content_type: String, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AnthropicContent` 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 `model_config` and `base_url` are never read [INFO] [stdout] --> src/llm/providers/openai.rs:45:5 [INFO] [stdout] | [INFO] [stdout] 42 | pub struct OpenAiClient { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] ... [INFO] [stdout] 45 | model_config: ModelConfig, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 46 | // Store base URL to determine streaming compatibility at runtime [INFO] [stdout] 47 | base_url: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `execute_step_with_streaming` is never used [INFO] [stdout] --> src/agent/trae_agent.rs:174:14 [INFO] [stdout] | [INFO] [stdout] 33 | impl TraeAgent { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 174 | async fn execute_step_with_streaming( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `id`, `response_type`, `role`, and `stop_sequence` are never read [INFO] [stdout] --> src/llm/providers/anthropic.rs:209:5 [INFO] [stdout] | [INFO] [stdout] 208 | struct AnthropicResponse { [INFO] [stdout] | ----------------- fields in this struct [INFO] [stdout] 209 | id: String, [INFO] [stdout] | ^^ [INFO] [stdout] ... [INFO] [stdout] 212 | response_type: String, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 213 | role: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 216 | stop_sequence: Option, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AnthropicResponse` 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 `content_type` is never read [INFO] [stdout] --> src/llm/providers/anthropic.rs:223:5 [INFO] [stdout] | [INFO] [stdout] 221 | struct AnthropicContent { [INFO] [stdout] | ---------------- field in this struct [INFO] [stdout] 222 | #[serde(rename = "type")] [INFO] [stdout] 223 | content_type: String, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AnthropicContent` 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 `model_config` and `base_url` are never read [INFO] [stdout] --> src/llm/providers/openai.rs:45:5 [INFO] [stdout] | [INFO] [stdout] 42 | pub struct OpenAiClient { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] ... [INFO] [stdout] 45 | model_config: ModelConfig, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 46 | // Store base URL to determine streaming compatibility at runtime [INFO] [stdout] 47 | base_url: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1m 06s [INFO] running `Command { std: "docker" "inspect" "b6a190986b00538f1823cfca2495e46efbfcf9412ae0e536f6190543bab029ac", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b6a190986b00538f1823cfca2495e46efbfcf9412ae0e536f6190543bab029ac", kill_on_drop: false }` [INFO] [stdout] b6a190986b00538f1823cfca2495e46efbfcf9412ae0e536f6190543bab029ac [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 246aab5a9e629185ccf695e9149883e42381cfabba7d0faeae4299c2ebaefdbe [INFO] running `Command { std: "docker" "start" "-a" "246aab5a9e629185ccf695e9149883e42381cfabba7d0faeae4299c2ebaefdbe", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `std::collections::HashMap` [INFO] [stderr] --> src/llm/providers/anthropic.rs:19:5 [INFO] [stderr] | [INFO] [stderr] 19 | use std::collections::HashMap; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `e` [INFO] [stderr] --> src/config/loader.rs:93:23 [INFO] [stderr] | [INFO] [stderr] 93 | .map_err(|e| ConfigError::InvalidFormat)?; [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated field `async_openai::types::ChatCompletionRequestAssistantMessage::function_call` [INFO] [stderr] --> src/llm/providers/openai.rs:115:37 [INFO] [stderr] | [INFO] [stderr] 115 | ... function_call: None, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated field `async_openai::types::ChatCompletionRequestAssistantMessage::function_call` [INFO] [stderr] --> src/llm/providers/openai.rs:164:37 [INFO] [stderr] | [INFO] [stderr] 164 | ... function_call: None, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::os::unix::process::CommandExt` [INFO] [stderr] --> src/tools/builtin/bash.rs:53:17 [INFO] [stderr] | [INFO] [stderr] 53 | use std::os::unix::process::CommandExt; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: method `execute_step_with_streaming` is never used [INFO] [stderr] --> src/agent/trae_agent.rs:174:14 [INFO] [stderr] | [INFO] [stderr] 33 | impl TraeAgent { [INFO] [stderr] | -------------- method in this implementation [INFO] [stderr] ... [INFO] [stderr] 174 | async fn execute_step_with_streaming( [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: fields `id`, `response_type`, `role`, and `stop_sequence` are never read [INFO] [stderr] --> src/llm/providers/anthropic.rs:209:5 [INFO] [stderr] | [INFO] [stderr] 208 | struct AnthropicResponse { [INFO] [stderr] | ----------------- fields in this struct [INFO] [stderr] 209 | id: String, [INFO] [stderr] | ^^ [INFO] [stderr] ... [INFO] [stderr] 212 | response_type: String, [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] 213 | role: String, [INFO] [stderr] | ^^^^ [INFO] [stderr] ... [INFO] [stderr] 216 | stop_sequence: Option, [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `AnthropicResponse` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: field `content_type` is never read [INFO] [stderr] --> src/llm/providers/anthropic.rs:223:5 [INFO] [stderr] | [INFO] [stderr] 221 | struct AnthropicContent { [INFO] [stderr] | ---------------- field in this struct [INFO] [stderr] 222 | #[serde(rename = "type")] [INFO] [stderr] 223 | content_type: String, [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `AnthropicContent` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: fields `model_config` and `base_url` are never read [INFO] [stderr] --> src/llm/providers/openai.rs:45:5 [INFO] [stderr] | [INFO] [stderr] 42 | pub struct OpenAiClient { [INFO] [stderr] | ------------ fields in this struct [INFO] [stderr] ... [INFO] [stderr] 45 | model_config: ModelConfig, [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] 46 | // Store base URL to determine streaming compatibility at runtime [INFO] [stderr] 47 | base_url: String, [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `trae-agent-rs-core` (lib) generated 9 warnings (run `cargo fix --lib -p trae-agent-rs-core` to apply 1 suggestion) [INFO] [stderr] warning: `trae-agent-rs-core` (lib test) generated 9 warnings (9 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.53s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/trae_agent_rs_core-06fda7b25d277548) [INFO] [stdout] [INFO] [stdout] running 27 tests [INFO] [stdout] test agent::trae_agent::tests::test_system_prompt_default_none ... ok [INFO] [stdout] test agent::trae_agent::tests::test_system_prompt_serialization ... ok [INFO] [stdout] test config::cache::tests::test_cache_expiry ... ok [INFO] [stdout] test agent::trae_agent::tests::test_custom_system_prompt_excludes_project_context ... ok [INFO] [stdout] test agent::trae_agent::tests::test_system_prompt_configuration ... ok [INFO] [stdout] test config::loader::tests::test_load_env_config ... ok [INFO] [stdout] test config::cache::tests::test_cache_load_nonexistent ... ok [INFO] [stdout] test tools::registry::tests::test_default_registry_has_all_tools ... ok [INFO] [stdout] test config::loader::test_load_config_no_config_returns_error ... ok [INFO] [stdout] test tools::registry::tests::test_executor_creation ... ok [INFO] [stdout] test config::loader::test_select_config_single_and_cache ... ok [INFO] [stdout] test tools::registry::tests::test_tool_creation ... ok [INFO] [stdout] test config::loader::test_discover_configs_prefers_json_over_env ... ok [INFO] [stdout] test tools::registry::tests::test_tool_examples ... ok [INFO] [stdout] test config::config::config_tests::test_from_api_configs_builds_full_config ... ok [INFO] [stdout] test tools::registry::tests::test_tool_info ... ok [INFO] [stdout] test tools::registry::tests::test_tool_parameter_schemas ... ok [INFO] [stdout] test tools::utils::run::tests::test_command_safety_validation ... ok [INFO] [stdout] test tools::utils::tests::test_expand_tabs ... ok [INFO] [stdout] test config::loader::test_load_config_uses_cache_file ... ok [INFO] [stdout] test tools::utils::run::tests::test_output_truncation ... ok [INFO] [stdout] test config::loader::tests::test_load_json_config ... ok [INFO] [stdout] test tools::utils::tests::test_format_with_line_numbers ... ok [INFO] [stdout] test tools::utils::tests::test_maybe_truncate ... ok [INFO] [stdout] test config::cache::tests::test_cache_save_load ... ok [INFO] [stdout] test tools::utils::run::tests::test_simple_command ... ok [INFO] [stdout] test tools::utils::run::tests::test_command_timeout ... ok [INFO] [stderr] Doc-tests trae_agent_rs_core [INFO] [stdout] [INFO] [stdout] test result: ok. 27 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 1.02s [INFO] [stdout] [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" "246aab5a9e629185ccf695e9149883e42381cfabba7d0faeae4299c2ebaefdbe", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "246aab5a9e629185ccf695e9149883e42381cfabba7d0faeae4299c2ebaefdbe", kill_on_drop: false }` [INFO] [stdout] 246aab5a9e629185ccf695e9149883e42381cfabba7d0faeae4299c2ebaefdbe