[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] building Adiao1973/ad-ai-agent against master#ad85bc524b1ad696e42061ad8338d382dffbdbe5 for pr-146237-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAdiao1973%2Fad-ai-agent" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/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-0-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/Adiao1973/ad-ai-agent on toolchain ad85bc524b1ad696e42061ad8338d382dffbdbe5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate 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" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded flatbuffers v24.12.23 [INFO] [stderr] Downloaded arrow-cast v54.2.1 [INFO] [stderr] Downloaded arrow-data v54.2.1 [INFO] [stderr] Downloaded arrow-arith v54.2.1 [INFO] [stderr] Downloaded arrow-ord v54.2.1 [INFO] [stderr] Downloaded lexical-parse-integer v1.0.5 [INFO] [stderr] Downloaded lexical-write-float v1.0.5 [INFO] [stderr] Downloaded arrow v54.2.1 [INFO] [stderr] Downloaded arrow-array v54.2.1 [INFO] [stderr] Downloaded lexical-util v1.0.6 [INFO] [stderr] Downloaded arrow-ipc v54.2.1 [INFO] [stderr] Downloaded lexical-write-integer v1.0.5 [INFO] [stderr] Downloaded arrow-flight v54.2.1 [INFO] [stderr] Downloaded lexical-parse-float v1.0.5 [INFO] [stderr] Downloaded arrow-select v54.2.1 [INFO] [stderr] Downloaded arrow-buffer v54.2.1 [INFO] [stderr] Downloaded arrow-schema v54.2.1 [INFO] [stderr] Downloaded arrow-csv v54.2.1 [INFO] [stderr] Downloaded arrow-row v54.2.1 [INFO] [stderr] Downloaded arrow-string v54.2.1 [INFO] [stderr] Downloaded lexical-core v1.0.5 [INFO] [stderr] Downloaded arrow-json v54.2.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 03250923bc787c51ac401f058aba53e19635d9e28c75030f1b59c6ca4094e8c5 [INFO] running `Command { std: "docker" "start" "-a" "03250923bc787c51ac401f058aba53e19635d9e28c75030f1b59c6ca4094e8c5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "03250923bc787c51ac401f058aba53e19635d9e28c75030f1b59c6ca4094e8c5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "03250923bc787c51ac401f058aba53e19635d9e28c75030f1b59c6ca4094e8c5", kill_on_drop: false }` [INFO] [stdout] 03250923bc787c51ac401f058aba53e19635d9e28c75030f1b59c6ca4094e8c5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 587cc291e7b48ff3cb4e90a677b20c5f367a22653fd6fc1e64bc6c7ae1aa0243 [INFO] running `Command { std: "docker" "start" "-a" "587cc291e7b48ff3cb4e90a677b20c5f367a22653fd6fc1e64bc6c7ae1aa0243", kill_on_drop: false }` [INFO] [stderr] Compiling libm v0.2.11 [INFO] [stderr] Compiling smallvec v1.14.0 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling tracing-core v0.1.33 [INFO] [stderr] Compiling quote v1.0.39 [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 log v0.4.26 [INFO] [stderr] Compiling either v1.14.0 [INFO] [stderr] Compiling openssl v0.10.71 [INFO] [stderr] Compiling flatbuffers v24.12.23 [INFO] [stderr] Compiling http v0.2.12 [INFO] [stderr] Compiling time-core v0.1.3 [INFO] [stderr] Compiling time v0.3.39 [INFO] [stderr] Compiling thread_local v1.1.8 [INFO] [stderr] Compiling rustix v0.38.44 [INFO] [stderr] Compiling crossbeam-channel v0.5.14 [INFO] [stderr] Compiling linux-raw-sys v0.4.15 [INFO] [stderr] Compiling itertools v0.12.1 [INFO] [stderr] Compiling syn v2.0.99 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling portable-atomic v1.11.0 [INFO] [stderr] Compiling console v0.15.11 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Compiling getrandom v0.3.1 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling tracing-log v0.2.0 [INFO] [stderr] Compiling lexical-parse-integer v1.0.5 [INFO] [stderr] Compiling lexical-write-integer v1.0.5 [INFO] [stderr] Compiling http-body v0.4.6 [INFO] [stderr] Compiling clap_lex v0.7.4 [INFO] [stderr] Compiling lexical-parse-float v1.0.5 [INFO] [stderr] Compiling lexical-write-float v1.0.5 [INFO] [stderr] Compiling http-body v1.0.1 [INFO] [stderr] Compiling clap_builder v4.5.31 [INFO] [stderr] Compiling lexical-core 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 atoi v2.0.0 [INFO] [stderr] Compiling indicatif v0.17.11 [INFO] [stderr] Compiling num-bigint v0.4.6 [INFO] [stderr] Compiling num-iter v0.1.45 [INFO] [stderr] Compiling tempfile v3.17.1 [INFO] [stderr] Compiling num-rational v0.4.2 [INFO] [stderr] Compiling num v0.4.3 [INFO] [stderr] Compiling arrow-buffer v54.2.1 [INFO] [stderr] Compiling synstructure v0.13.1 [INFO] [stderr] Compiling arrow-data v54.2.1 [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 zerofrom-derive v0.1.6 [INFO] [stderr] Compiling tracing-attributes v0.1.28 [INFO] [stderr] Compiling yoke-derive v0.7.5 [INFO] [stderr] Compiling zerovec-derive v0.10.3 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling serde_derive v1.0.218 [INFO] [stderr] Compiling icu_provider_macros v1.5.0 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling prost-derive v0.13.5 [INFO] [stderr] Compiling async-trait v0.1.87 [INFO] [stderr] Compiling pin-project-internal v1.1.10 [INFO] [stderr] Compiling async-stream-impl v0.3.6 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling clap_derive v4.5.28 [INFO] [stderr] Compiling tokio v1.43.0 [INFO] [stderr] Compiling zerocopy v0.7.35 [INFO] [stderr] Compiling async-stream v0.3.6 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling yoke v0.7.5 [INFO] [stderr] Compiling pin-project v1.1.10 [INFO] [stderr] Compiling zerovec v0.10.4 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling dialoguer v0.11.0 [INFO] [stderr] Compiling prost v0.13.5 [INFO] [stderr] Compiling tracing-subscriber v0.3.19 [INFO] [stderr] Compiling ppv-lite86 v0.2.20 [INFO] [stderr] Compiling prost-types v0.13.5 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling arrow-array v54.2.1 [INFO] [stderr] Compiling clap v4.5.31 [INFO] [stderr] Compiling tinystr v0.7.6 [INFO] [stderr] Compiling icu_collections v1.5.0 [INFO] [stderr] Compiling icu_locid v1.5.0 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling tracing-appender v0.2.3 [INFO] [stderr] Compiling icu_provider v1.5.0 [INFO] [stderr] Compiling icu_locid_transform v1.5.0 [INFO] [stderr] Compiling icu_properties v1.5.1 [INFO] [stderr] Compiling http-body-util v0.1.2 [INFO] [stderr] Compiling tower v0.5.2 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling arrow-select v54.2.1 [INFO] [stderr] Compiling arrow-ipc v54.2.1 [INFO] [stderr] Compiling arrow-arith v54.2.1 [INFO] [stderr] Compiling arrow-row v54.2.1 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling axum-core v0.4.5 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling csv v1.3.1 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling tokio-util v0.7.13 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling icu_normalizer v1.5.0 [INFO] [stderr] Compiling h2 v0.4.8 [INFO] [stderr] Compiling h2 v0.3.26 [INFO] [stderr] Compiling tokio-stream v0.1.17 [INFO] [stderr] Compiling tower v0.4.13 [INFO] [stderr] Compiling arrow-cast v54.2.1 [INFO] [stderr] Compiling arrow-ord v54.2.1 [INFO] [stderr] Compiling idna_adapter v1.2.0 [INFO] [stderr] Compiling arrow-string v54.2.1 [INFO] [stderr] Compiling idna v1.0.3 [INFO] [stderr] Compiling axum v0.7.9 [INFO] [stderr] Compiling url v2.5.4 [INFO] [stderr] Compiling hyper v1.6.0 [INFO] [stderr] Compiling arrow-json v54.2.1 [INFO] [stderr] Compiling arrow-csv v54.2.1 [INFO] [stderr] Compiling hyper v0.14.32 [INFO] [stderr] Compiling arrow v54.2.1 [INFO] [stderr] Compiling hyper-util v0.1.10 [INFO] [stderr] Compiling hyper-timeout v0.5.2 [INFO] [stderr] Compiling tonic v0.12.3 [INFO] [stderr] Compiling hyper-tls v0.5.0 [INFO] [stderr] Compiling reqwest v0.11.27 [INFO] [stderr] Compiling arrow-flight v54.2.1 [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, [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 rust_agent_cli v0.1.0 (/opt/rustwide/workdir/rust_agent_cli) [INFO] [stderr] Compiling tools_server v0.1.0 (/opt/rustwide/workdir/tools_server) [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, [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 1m 53s [INFO] running `Command { std: "docker" "inspect" "587cc291e7b48ff3cb4e90a677b20c5f367a22653fd6fc1e64bc6c7ae1aa0243", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "587cc291e7b48ff3cb4e90a677b20c5f367a22653fd6fc1e64bc6c7ae1aa0243", kill_on_drop: false }` [INFO] [stdout] 587cc291e7b48ff3cb4e90a677b20c5f367a22653fd6fc1e64bc6c7ae1aa0243 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9b3b9b9776b5b183d0bf4b3455768e9f3e3395b2b172c6f4ca82fcae9be1493f [INFO] running `Command { std: "docker" "start" "-a" "9b3b9b9776b5b183d0bf4b3455768e9f3e3395b2b172c6f4ca82fcae9be1493f", 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, [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 rust_agent_core v0.1.0 (/opt/rustwide/workdir/rust_agent_core) [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 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: 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 `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, [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] [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, [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 `test` profile [unoptimized + debuginfo] target(s) in 2.56s [INFO] running `Command { std: "docker" "inspect" "9b3b9b9776b5b183d0bf4b3455768e9f3e3395b2b172c6f4ca82fcae9be1493f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9b3b9b9776b5b183d0bf4b3455768e9f3e3395b2b172c6f4ca82fcae9be1493f", kill_on_drop: false }` [INFO] [stdout] 9b3b9b9776b5b183d0bf4b3455768e9f3e3395b2b172c6f4ca82fcae9be1493f