[INFO] cloning repository https://github.com/Adiao1973/ad-ai-agent
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Adiao1973/ad-ai-agent" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAdiao1973%2Fad-ai-agent", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAdiao1973%2Fad-ai-agent'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 3f84c549c12a4506d07c2005d376644c525bab41
[INFO] testing Adiao1973/ad-ai-agent against try#db823df02fd0c2cf67b43025ac3fef3f2d743245 for pr-150681
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAdiao1973%2Fad-ai-agent" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/Adiao1973/ad-ai-agent
[INFO] finished tweaking git repo https://github.com/Adiao1973/ad-ai-agent
[INFO] tweaked toml for git repo https://github.com/Adiao1973/ad-ai-agent written to /workspace/builds/worker-5-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/Adiao1973/ad-ai-agent on toolchain db823df02fd0c2cf67b43025ac3fef3f2d743245
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+db823df02fd0c2cf67b43025ac3fef3f2d743245" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/Adiao1973/ad-ai-agent 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" "+db823df02fd0c2cf67b43025ac3fef3f2d743245" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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" "+db823df02fd0c2cf67b43025ac3fef3f2d743245" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] c25b1c758cb7657b507a5a6b6c9678ebb85758308247e2c69c66b39dc0dffe28
[INFO] running `Command { std: "docker" "start" "-a" "c25b1c758cb7657b507a5a6b6c9678ebb85758308247e2c69c66b39dc0dffe28", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "c25b1c758cb7657b507a5a6b6c9678ebb85758308247e2c69c66b39dc0dffe28", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "c25b1c758cb7657b507a5a6b6c9678ebb85758308247e2c69c66b39dc0dffe28", kill_on_drop: false }`
[INFO] [stdout] c25b1c758cb7657b507a5a6b6c9678ebb85758308247e2c69c66b39dc0dffe28
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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" "+db823df02fd0c2cf67b43025ac3fef3f2d743245" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] ba1d2ca3ac6e52fda05818682e2b848efa7f6ca686c3eb83f1d41e18f34d8d4f
[INFO] running `Command { std: "docker" "start" "-a" "ba1d2ca3ac6e52fda05818682e2b848efa7f6ca686c3eb83f1d41e18f34d8d4f", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.94
[INFO] [stderr]    Compiling libc v0.2.170
[INFO] [stderr]    Compiling libm v0.2.11
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]    Compiling tracing-core v0.1.33
[INFO] [stderr]    Compiling ahash v0.8.11
[INFO] [stderr]    Compiling arrow-schema v54.2.1
[INFO] [stderr]    Compiling serde v1.0.218
[INFO] [stderr]    Compiling lexical-util v1.0.6
[INFO] [stderr]    Compiling http v1.2.0
[INFO] [stderr]    Compiling openssl-sys v0.9.106
[INFO] [stderr]    Compiling semver v1.0.26
[INFO] [stderr]    Compiling quote v1.0.39
[INFO] [stderr]    Compiling bitflags v2.9.0
[INFO] [stderr]    Compiling getrandom v0.2.15
[INFO] [stderr]    Compiling parking_lot_core v0.9.10
[INFO] [stderr]    Compiling signal-hook-registry v1.4.2
[INFO] [stderr]    Compiling mio v1.0.3
[INFO] [stderr]    Compiling syn v2.0.99
[INFO] [stderr]    Compiling socket2 v0.5.8
[INFO] [stderr]    Compiling parking_lot v0.12.3
[INFO] [stderr]    Compiling lexical-write-integer v1.0.5
[INFO] [stderr]    Compiling num-integer v0.1.46
[INFO] [stderr]    Compiling num-complex v0.4.6
[INFO] [stderr]    Compiling half v2.4.1
[INFO] [stderr]    Compiling chrono v0.4.39
[INFO] [stderr]    Compiling http-body v1.0.1
[INFO] [stderr]    Compiling lexical-parse-integer v1.0.5
[INFO] [stderr]    Compiling aho-corasick v1.1.3
[INFO] [stderr]    Compiling lexical-parse-float v1.0.5
[INFO] [stderr]    Compiling num-bigint v0.4.6
[INFO] [stderr]    Compiling num-iter v0.1.45
[INFO] [stderr]    Compiling rustc_version v0.4.1
[INFO] [stderr]    Compiling lexical-write-float v1.0.5
[INFO] [stderr]    Compiling either v1.14.0
[INFO] [stderr]    Compiling openssl v0.10.71
[INFO] [stderr]    Compiling flatbuffers v24.12.23
[INFO] [stderr]    Compiling atoi v2.0.0
[INFO] [stderr]    Compiling itertools v0.12.1
[INFO] [stderr]    Compiling lexical-core v1.0.5
[INFO] [stderr]    Compiling rand_core v0.6.4
[INFO] [stderr]    Compiling http v0.2.12
[INFO] [stderr]    Compiling indexmap v1.9.3
[INFO] [stderr]    Compiling sync_wrapper v1.0.2
[INFO] [stderr]    Compiling native-tls v0.2.14
[INFO] [stderr]    Compiling regex-syntax v0.6.29
[INFO] [stderr]    Compiling num-rational v0.4.2
[INFO] [stderr]    Compiling regex-automata v0.4.9
[INFO] [stderr]    Compiling crossbeam-utils v0.8.21
[INFO] [stderr]    Compiling num v0.4.3
[INFO] [stderr]    Compiling arrow-buffer v54.2.1
[INFO] [stderr]    Compiling http-body v0.4.6
[INFO] [stderr]    Compiling csv-core v0.1.12
[INFO] [stderr]    Compiling num_threads v0.1.7
[INFO] [stderr]    Compiling time v0.3.39
[INFO] [stderr]    Compiling tracing-log v0.2.0
[INFO] [stderr]    Compiling thread_local v1.1.8
[INFO] [stderr]    Compiling arrow-data v54.2.1
[INFO] [stderr]    Compiling regex-automata v0.1.10
[INFO] [stderr]    Compiling rustix v0.38.44
[INFO] [stderr]    Compiling crossbeam-channel v0.5.14
[INFO] [stderr]    Compiling console v0.15.11
[INFO] [stderr]    Compiling synstructure v0.13.1
[INFO] [stderr]    Compiling regex v1.11.1
[INFO] [stderr]    Compiling matchers v0.1.0
[INFO] [stderr]    Compiling getrandom v0.3.1
[INFO] [stderr]    Compiling clap_builder v4.5.31
[INFO] [stderr]    Compiling zeroize v1.8.1
[INFO] [stderr]    Compiling indicatif v0.17.11
[INFO] [stderr]    Compiling colored v2.2.0
[INFO] [stderr]    Compiling urlencoding v2.1.3
[INFO] [stderr]    Compiling zerocopy-derive v0.7.35
[INFO] [stderr]    Compiling futures-macro v0.3.31
[INFO] [stderr]    Compiling tokio-macros v2.5.0
[INFO] [stderr]    Compiling tracing-attributes v0.1.28
[INFO] [stderr]    Compiling zerofrom-derive v0.1.6
[INFO] [stderr]    Compiling yoke-derive v0.7.5
[INFO] [stderr]    Compiling tokio v1.43.0
[INFO] [stderr]    Compiling futures-util v0.3.31
[INFO] [stderr]    Compiling zerocopy v0.7.35
[INFO] [stderr]    Compiling zerovec-derive v0.10.3
[INFO] [stderr]    Compiling tracing v0.1.41
[INFO] [stderr]    Compiling zerofrom v0.1.6
[INFO] [stderr]    Compiling serde_derive v1.0.218
[INFO] [stderr]    Compiling yoke v0.7.5
[INFO] [stderr]    Compiling displaydoc v0.2.5
[INFO] [stderr]    Compiling arrow-array v54.2.1
[INFO] [stderr]    Compiling icu_provider_macros v1.5.0
[INFO] [stderr]    Compiling ppv-lite86 v0.2.20
[INFO] [stderr]    Compiling openssl-macros v0.1.1
[INFO] [stderr]    Compiling zerovec v0.10.4
[INFO] [stderr]    Compiling rand_chacha v0.3.1
[INFO] [stderr]    Compiling pin-project-internal v1.1.10
[INFO] [stderr]    Compiling tinystr v0.7.6
[INFO] [stderr]    Compiling icu_locid v1.5.0
[INFO] [stderr]    Compiling icu_collections v1.5.0
[INFO] [stderr]    Compiling icu_provider v1.5.0
[INFO] [stderr]    Compiling http-body-util v0.1.2
[INFO] [stderr]    Compiling arrow-select v54.2.1
[INFO] [stderr]    Compiling icu_locid_transform v1.5.0
[INFO] [stderr]    Compiling prost-derive v0.13.5
[INFO] [stderr]    Compiling async-trait v0.1.87
[INFO] [stderr]    Compiling icu_properties v1.5.1
[INFO] [stderr]    Compiling tokio-util v0.7.13
[INFO] [stderr]    Compiling arrow-cast v54.2.1
[INFO] [stderr]    Compiling prost v0.13.5
[INFO] [stderr]    Compiling h2 v0.4.8
[INFO] [stderr]    Compiling h2 v0.3.26
[INFO] [stderr]    Compiling icu_normalizer v1.5.0
[INFO] [stderr]    Compiling serde_json v1.0.140
[INFO] [stderr]    Compiling idna_adapter v1.2.0
[INFO] [stderr]    Compiling axum-core v0.4.5
[INFO] [stderr]    Compiling pin-project v1.1.10
[INFO] [stderr]    Compiling tower v0.5.2
[INFO] [stderr]    Compiling rand v0.8.5
[INFO] [stderr]    Compiling thiserror-impl v1.0.69
[INFO] [stderr]    Compiling async-stream-impl v0.3.6
[INFO] [stderr]    Compiling hyper v1.6.0
[INFO] [stderr]    Compiling tower v0.4.13
[INFO] [stderr]    Compiling thiserror v1.0.69
[INFO] [stderr]    Compiling async-stream v0.3.6
[INFO] [stderr]    Compiling hyper v0.14.32
[INFO] [stderr]    Compiling tokio-native-tls v0.3.1
[INFO] [stderr]    Compiling axum v0.7.9
[INFO] [stderr]    Compiling idna v1.0.3
[INFO] [stderr]    Compiling csv v1.3.1
[INFO] [stderr]    Compiling tokio-stream v0.1.17
[INFO] [stderr]    Compiling hyper-util v0.1.10
[INFO] [stderr]    Compiling arrow-ipc v54.2.1
[INFO] [stderr]    Compiling futures-executor v0.3.31
[INFO] [stderr]    Compiling futures v0.3.31
[INFO] [stderr]    Compiling arrow-csv v54.2.1
[INFO] [stderr]    Compiling url v2.5.4
[INFO] [stderr]    Compiling arrow-json v54.2.1
[INFO] [stderr]    Compiling hyper-timeout v0.5.2
[INFO] [stderr]    Compiling hyper-tls v0.5.0
[INFO] [stderr]    Compiling serde_urlencoded v0.7.1
[INFO] [stderr]    Compiling prost-types v0.13.5
[INFO] [stderr]    Compiling arrow-string v54.2.1
[INFO] [stderr]    Compiling arrow-ord v54.2.1
[INFO] [stderr]    Compiling arrow-arith v54.2.1
[INFO] [stderr]    Compiling arrow-row v54.2.1
[INFO] [stderr]    Compiling tracing-subscriber v0.3.19
[INFO] [stderr]    Compiling tonic v0.12.3
[INFO] [stderr]    Compiling arrow v54.2.1
[INFO] [stderr]    Compiling reqwest v0.11.27
[INFO] [stderr]    Compiling tracing-appender v0.2.3
[INFO] [stderr]    Compiling tempfile v3.17.1
[INFO] [stderr]    Compiling arrow-flight v54.2.1
[INFO] [stderr]    Compiling clap_derive v4.5.28
[INFO] [stderr]    Compiling dialoguer v0.11.0
[INFO] [stderr]    Compiling rust_agent_core v0.1.0 (/opt/rustwide/workdir/rust_agent_core)
[INFO] [stdout] warning: unused imports: `error` and `warn`
[INFO] [stdout]   --> rust_agent_core/src/logging/setup.rs:10:15
[INFO] [stdout]    |
[INFO] [stdout] 10 | use tracing::{error, info, warn, Level};
[INFO] [stdout]    |               ^^^^^        ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `finish_reason` is never read
[INFO] [stdout]   --> rust_agent_core/src/api/types.rs:35:9
[INFO] [stdout]    |
[INFO] [stdout] 33 | pub struct StreamChoice {
[INFO] [stdout]    |            ------------ field in this struct
[INFO] [stdout] 34 |     pub delta: Message,
[INFO] [stdout] 35 |     pub finish_reason: Option<String>,
[INFO] [stdout]    |         ^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `StreamChoice` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `TOOL_CALL_START` is never used
[INFO] [stdout]  --> rust_agent_core/src/tools/parser.rs:8:7
[INFO] [stdout]   |
[INFO] [stdout] 8 | const TOOL_CALL_START: &str = "```tool";
[INFO] [stdout]   |       ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `TOOL_CALL_END` is never used
[INFO] [stdout]  --> rust_agent_core/src/tools/parser.rs:9:7
[INFO] [stdout]   |
[INFO] [stdout] 9 | const TOOL_CALL_END: &str = "```";
[INFO] [stdout]   |       ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Compiling clap v4.5.31
[INFO] [stderr]    Compiling tools_server v0.1.0 (/opt/rustwide/workdir/tools_server)
[INFO] [stderr]    Compiling rust_agent_cli v0.1.0 (/opt/rustwide/workdir/rust_agent_cli)
[INFO] [stdout] warning: unused import: `print_assistant_message`
[INFO] [stdout]  --> rust_agent_cli/src/ui/mod.rs:6:18
[INFO] [stdout]   |
[INFO] [stdout] 6 | pub use output::{print_assistant_message, print_debug, print_error, print_goodbye, print_welcome};
[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: `create_progress_bar`
[INFO] [stdout]  --> rust_agent_cli/src/ui/mod.rs:7:19
[INFO] [stdout]   |
[INFO] [stdout] 7 | pub use spinner::{create_progress_bar, create_spinner};
[INFO] [stdout]   |                   ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated function `ui::spinner::create_progress_bar`: 请使用 create_spinner 替代
[INFO] [stdout]  --> rust_agent_cli/src/ui/mod.rs:7:19
[INFO] [stdout]   |
[INFO] [stdout] 7 | pub use spinner::{create_progress_bar, create_spinner};
[INFO] [stdout]   |                   ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::path::PathBuf`
[INFO] [stdout]  --> tools_server/src/tools/file_tool/types.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::path::PathBuf;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `has_tools` is never used
[INFO] [stdout]   --> rust_agent_cli/src/chat/session.rs:34:12
[INFO] [stdout]    |
[INFO] [stdout] 18 | impl ChatSession {
[INFO] [stdout]    | ---------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 34 |     pub fn has_tools(&self) -> bool {
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `print_assistant_message` is never used
[INFO] [stdout]   --> rust_agent_cli/src/ui/output.rs:11:8
[INFO] [stdout]    |
[INFO] [stdout] 11 | pub fn print_assistant_message(message: &str) {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `create_progress_bar` is never used
[INFO] [stdout]   --> rust_agent_cli/src/ui/spinner.rs:33:8
[INFO] [stdout]    |
[INFO] [stdout] 33 | pub fn create_progress_bar(message: &str) -> ProgressBar {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `page_range` is never read
[INFO] [stdout]   --> tools_server/src/tools/file_tool/types.rs:30:9
[INFO] [stdout]    |
[INFO] [stdout] 25 | pub struct ConvertOptions {
[INFO] [stdout]    |            -------------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 30 |     pub page_range: Option<String>,
[INFO] [stdout]    |         ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `ConvertOptions` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 3m 45s
[INFO] running `Command { std: "docker" "inspect" "ba1d2ca3ac6e52fda05818682e2b848efa7f6ca686c3eb83f1d41e18f34d8d4f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "ba1d2ca3ac6e52fda05818682e2b848efa7f6ca686c3eb83f1d41e18f34d8d4f", kill_on_drop: false }`
[INFO] [stdout] ba1d2ca3ac6e52fda05818682e2b848efa7f6ca686c3eb83f1d41e18f34d8d4f
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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" "+db823df02fd0c2cf67b43025ac3fef3f2d743245" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] a8ef8055b50516c475fb01d7e15198414a7bd0a3ee3bbe8671e0a3e2adc98ed2
[INFO] running `Command { std: "docker" "start" "-a" "a8ef8055b50516c475fb01d7e15198414a7bd0a3ee3bbe8671e0a3e2adc98ed2", kill_on_drop: false }`
[INFO] [stdout] warning: unused imports: `error` and `warn`
[INFO] [stdout]   --> rust_agent_core/src/logging/setup.rs:10:15
[INFO] [stdout]    |
[INFO] [stdout] 10 | use tracing::{error, info, warn, Level};
[INFO] [stdout]    |               ^^^^^        ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `finish_reason` is never read
[INFO] [stdout]   --> rust_agent_core/src/api/types.rs:35:9
[INFO] [stdout]    |
[INFO] [stdout] 33 | pub struct StreamChoice {
[INFO] [stdout]    |            ------------ field in this struct
[INFO] [stdout] 34 |     pub delta: Message,
[INFO] [stdout] 35 |     pub finish_reason: Option<String>,
[INFO] [stdout]    |         ^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `StreamChoice` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `TOOL_CALL_START` is never used
[INFO] [stdout]  --> rust_agent_core/src/tools/parser.rs:8:7
[INFO] [stdout]   |
[INFO] [stdout] 8 | const TOOL_CALL_START: &str = "```tool";
[INFO] [stdout]   |       ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `TOOL_CALL_END` is never used
[INFO] [stdout]  --> rust_agent_core/src/tools/parser.rs:9:7
[INFO] [stdout]   |
[INFO] [stdout] 9 | const TOOL_CALL_END: &str = "```";
[INFO] [stdout]   |       ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Compiling tools_server v0.1.0 (/opt/rustwide/workdir/tools_server)
[INFO] [stderr]    Compiling rust_agent_core v0.1.0 (/opt/rustwide/workdir/rust_agent_core)
[INFO] [stderr]    Compiling rust_agent_cli v0.1.0 (/opt/rustwide/workdir/rust_agent_cli)
[INFO] [stdout] warning: unused import: `print_assistant_message`
[INFO] [stdout]  --> rust_agent_cli/src/ui/mod.rs:6:18
[INFO] [stdout]   |
[INFO] [stdout] 6 | pub use output::{print_assistant_message, print_debug, print_error, print_goodbye, print_welcome};
[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: `create_progress_bar`
[INFO] [stdout]  --> rust_agent_cli/src/ui/mod.rs:7:19
[INFO] [stdout]   |
[INFO] [stdout] 7 | pub use spinner::{create_progress_bar, create_spinner};
[INFO] [stdout]   |                   ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated function `ui::spinner::create_progress_bar`: 请使用 create_spinner 替代
[INFO] [stdout]  --> rust_agent_cli/src/ui/mod.rs:7:19
[INFO] [stdout]   |
[INFO] [stdout] 7 | pub use spinner::{create_progress_bar, create_spinner};
[INFO] [stdout]   |                   ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::path::PathBuf`
[INFO] [stdout]  --> tools_server/src/tools/file_tool/types.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::path::PathBuf;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `has_tools` is never used
[INFO] [stdout]   --> rust_agent_cli/src/chat/session.rs:34:12
[INFO] [stdout]    |
[INFO] [stdout] 18 | impl ChatSession {
[INFO] [stdout]    | ---------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 34 |     pub fn has_tools(&self) -> bool {
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `print_assistant_message` is never used
[INFO] [stdout]   --> rust_agent_cli/src/ui/output.rs:11:8
[INFO] [stdout]    |
[INFO] [stdout] 11 | pub fn print_assistant_message(message: &str) {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `create_progress_bar` is never used
[INFO] [stdout]   --> rust_agent_cli/src/ui/spinner.rs:33:8
[INFO] [stdout]    |
[INFO] [stdout] 33 | pub fn create_progress_bar(message: &str) -> ProgressBar {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `error` and `warn`
[INFO] [stdout]   --> rust_agent_core/src/logging/setup.rs:10:15
[INFO] [stdout]    |
[INFO] [stdout] 10 | use tracing::{error, info, warn, Level};
[INFO] [stdout]    |               ^^^^^        ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `page_range` is never read
[INFO] [stdout]   --> tools_server/src/tools/file_tool/types.rs:30:9
[INFO] [stdout]    |
[INFO] [stdout] 25 | pub struct ConvertOptions {
[INFO] [stdout]    |            -------------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 30 |     pub page_range: Option<String>,
[INFO] [stdout]    |         ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `ConvertOptions` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `finish_reason` is never read
[INFO] [stdout]   --> rust_agent_core/src/api/types.rs:35:9
[INFO] [stdout]    |
[INFO] [stdout] 33 | pub struct StreamChoice {
[INFO] [stdout]    |            ------------ field in this struct
[INFO] [stdout] 34 |     pub delta: Message,
[INFO] [stdout] 35 |     pub finish_reason: Option<String>,
[INFO] [stdout]    |         ^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `StreamChoice` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `TOOL_CALL_START` is never used
[INFO] [stdout]  --> rust_agent_core/src/tools/parser.rs:8:7
[INFO] [stdout]   |
[INFO] [stdout] 8 | const TOOL_CALL_START: &str = "```tool";
[INFO] [stdout]   |       ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `TOOL_CALL_END` is never used
[INFO] [stdout]  --> rust_agent_core/src/tools/parser.rs:9:7
[INFO] [stdout]   |
[INFO] [stdout] 9 | const TOOL_CALL_END: &str = "```";
[INFO] [stdout]   |       ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 2.09s
[INFO] running `Command { std: "docker" "inspect" "a8ef8055b50516c475fb01d7e15198414a7bd0a3ee3bbe8671e0a3e2adc98ed2", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "a8ef8055b50516c475fb01d7e15198414a7bd0a3ee3bbe8671e0a3e2adc98ed2", kill_on_drop: false }`
[INFO] [stdout] a8ef8055b50516c475fb01d7e15198414a7bd0a3ee3bbe8671e0a3e2adc98ed2
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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" "+db823df02fd0c2cf67b43025ac3fef3f2d743245" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 028bd2833f1b8bbe0d0370aae17f2305840f35cd5f3142cdcac36d26a89f7d95
[INFO] running `Command { std: "docker" "start" "-a" "028bd2833f1b8bbe0d0370aae17f2305840f35cd5f3142cdcac36d26a89f7d95", kill_on_drop: false }`
[INFO] [stderr] warning: unused imports: `error` and `warn`
[INFO] [stderr]   --> rust_agent_core/src/logging/setup.rs:10:15
[INFO] [stderr]    |
[INFO] [stderr] 10 | use tracing::{error, info, warn, Level};
[INFO] [stderr]    |               ^^^^^        ^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: field `finish_reason` is never read
[INFO] [stderr]   --> rust_agent_core/src/api/types.rs:35:9
[INFO] [stderr]    |
[INFO] [stderr] 33 | pub struct StreamChoice {
[INFO] [stderr]    |            ------------ field in this struct
[INFO] [stderr] 34 |     pub delta: Message,
[INFO] [stderr] 35 |     pub finish_reason: Option<String>,
[INFO] [stderr]    |         ^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `StreamChoice` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stderr]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: constant `TOOL_CALL_START` is never used
[INFO] [stderr]  --> rust_agent_core/src/tools/parser.rs:8:7
[INFO] [stderr]   |
[INFO] [stderr] 8 | const TOOL_CALL_START: &str = "```tool";
[INFO] [stderr]   |       ^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: constant `TOOL_CALL_END` is never used
[INFO] [stderr]  --> rust_agent_core/src/tools/parser.rs:9:7
[INFO] [stderr]   |
[INFO] [stderr] 9 | const TOOL_CALL_END: &str = "```";
[INFO] [stderr]   |       ^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: `rust_agent_core` (lib) generated 4 warnings (run `cargo fix --lib -p rust_agent_core` to apply 1 suggestion)
[INFO] [stderr] warning: unused import: `std::path::PathBuf`
[INFO] [stderr]  --> tools_server/src/tools/file_tool/types.rs:2:5
[INFO] [stderr]   |
[INFO] [stderr] 2 | use std::path::PathBuf;
[INFO] [stderr]   |     ^^^^^^^^^^^^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: field `page_range` is never read
[INFO] [stderr]   --> tools_server/src/tools/file_tool/types.rs:30:9
[INFO] [stderr]    |
[INFO] [stderr] 25 | pub struct ConvertOptions {
[INFO] [stderr]    |            -------------- field in this struct
[INFO] [stderr] ...
[INFO] [stderr] 30 |     pub page_range: Option<String>,
[INFO] [stderr]    |         ^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `ConvertOptions` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stderr]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: `tools_server` (bin "tools_server" test) generated 2 warnings (run `cargo fix --bin "tools_server" -p tools_server --tests` to apply 1 suggestion)
[INFO] [stderr] warning: `rust_agent_core` (lib test) generated 4 warnings (4 duplicates)
[INFO] [stderr] warning: unused import: `print_assistant_message`
[INFO] [stderr]  --> rust_agent_cli/src/ui/mod.rs:6:18
[INFO] [stderr]   |
[INFO] [stderr] 6 | pub use output::{print_assistant_message, print_debug, print_error, print_goodbye, print_welcome};
[INFO] [stderr]   |                  ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `create_progress_bar`
[INFO] [stderr]  --> rust_agent_cli/src/ui/mod.rs:7:19
[INFO] [stderr]   |
[INFO] [stderr] 7 | pub use spinner::{create_progress_bar, create_spinner};
[INFO] [stderr]   |                   ^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated function `ui::spinner::create_progress_bar`: 请使用 create_spinner 替代
[INFO] [stderr]  --> rust_agent_cli/src/ui/mod.rs:7:19
[INFO] [stderr]   |
[INFO] [stderr] 7 | pub use spinner::{create_progress_bar, create_spinner};
[INFO] [stderr]   |                   ^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(deprecated)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: method `has_tools` is never used
[INFO] [stderr]   --> rust_agent_cli/src/chat/session.rs:34:12
[INFO] [stderr]    |
[INFO] [stderr] 18 | impl ChatSession {
[INFO] [stderr]    | ---------------- method in this implementation
[INFO] [stderr] ...
[INFO] [stderr] 34 |     pub fn has_tools(&self) -> bool {
[INFO] [stderr]    |            ^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: function `print_assistant_message` is never used
[INFO] [stderr]   --> rust_agent_cli/src/ui/output.rs:11:8
[INFO] [stderr]    |
[INFO] [stderr] 11 | pub fn print_assistant_message(message: &str) {
[INFO] [stderr]    |        ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `create_progress_bar` is never used
[INFO] [stderr]   --> rust_agent_cli/src/ui/spinner.rs:33:8
[INFO] [stderr]    |
[INFO] [stderr] 33 | pub fn create_progress_bar(message: &str) -> ProgressBar {
[INFO] [stderr]    |        ^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: `rust_agent_cli` (bin "rust_agent_cli" test) generated 6 warnings (run `cargo fix --bin "rust_agent_cli" -p rust_agent_cli --tests` to apply 2 suggestions)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.38s
[INFO] [stderr]      Running unittests src/main.rs (/opt/rustwide/target/debug/deps/rust_agent_cli-93e583c4c47c3fba)
[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] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/rust_agent_core-d065961b6637079b)
[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] [stderr]      Running unittests src/main.rs (/opt/rustwide/target/debug/deps/tools_server-0fbfcd89bb073103)
[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] [stderr]    Doc-tests rust_agent_core
[INFO] [stdout] 
[INFO] [stdout] running 1 test
[INFO] [stdout] test rust_agent_core/src/logging/setup.rs - logging::setup::init_logger (line 88) ... FAILED
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- rust_agent_core/src/logging/setup.rs - logging::setup::init_logger (line 88) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `document_search_engine`
[INFO] [stdout]   --> rust_agent_core/src/logging/setup.rs:89:5
[INFO] [stdout]    |
[INFO] [stdout] 89 | use document_search_engine::utils::logger::{init_logger, LoggerConfig};
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `document_search_engine`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `document_search_engine`, use `cargo add document_search_engine` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0433`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout]     rust_agent_core/src/logging/setup.rs - logging::setup::init_logger (line 88)
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 0 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.15s
[INFO] [stdout] 
[INFO] [stderr] error: doctest failed, to rerun pass `-p rust_agent_core --doc`
[INFO] running `Command { std: "docker" "inspect" "028bd2833f1b8bbe0d0370aae17f2305840f35cd5f3142cdcac36d26a89f7d95", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "028bd2833f1b8bbe0d0370aae17f2305840f35cd5f3142cdcac36d26a89f7d95", kill_on_drop: false }`
[INFO] [stdout] 028bd2833f1b8bbe0d0370aae17f2305840f35cd5f3142cdcac36d26a89f7d95
