[INFO] cloning repository https://github.com/chenxizhang/rustcli [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/chenxizhang/rustcli" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fchenxizhang%2Frustcli", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fchenxizhang%2Frustcli'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] d1ce55ddcfde26d8448dd335debede1f13d02203 [INFO] checking chenxizhang/rustcli against master#779e19d8baa3e3625bd4fc5c85cbb2ad47b43155 for pr-147589-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fchenxizhang%2Frustcli" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/chenxizhang/rustcli [INFO] finished tweaking git repo https://github.com/chenxizhang/rustcli [INFO] tweaked toml for git repo https://github.com/chenxizhang/rustcli written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/chenxizhang/rustcli on toolchain 779e19d8baa3e3625bd4fc5c85cbb2ad47b43155 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+779e19d8baa3e3625bd4fc5c85cbb2ad47b43155" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/chenxizhang/rustcli 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" "+779e19d8baa3e3625bd4fc5c85cbb2ad47b43155" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 7 packages to latest compatible versions [INFO] [stderr] Adding dyn-clone v1.0.20 [INFO] [stderr] Adding schemars v0.8.22 (available: v1.0.4) [INFO] [stderr] Adding schemars_derive v0.8.22 [INFO] [stderr] Adding serde_derive_internals v0.29.1 [INFO] [stderr] Adding serde_yaml v0.9.34+deprecated [INFO] [stderr] Adding tokio-stream v0.1.17 [INFO] [stderr] Adding unsafe-libyaml v0.2.11 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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" "+779e19d8baa3e3625bd4fc5c85cbb2ad47b43155" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c99add2afbf81b6edfd7e0696be121382951c394595c4be39918f60c70e37dcb [INFO] running `Command { std: "docker" "start" "-a" "c99add2afbf81b6edfd7e0696be121382951c394595c4be39918f60c70e37dcb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c99add2afbf81b6edfd7e0696be121382951c394595c4be39918f60c70e37dcb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c99add2afbf81b6edfd7e0696be121382951c394595c4be39918f60c70e37dcb", kill_on_drop: false }` [INFO] [stdout] c99add2afbf81b6edfd7e0696be121382951c394595c4be39918f60c70e37dcb [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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" "+779e19d8baa3e3625bd4fc5c85cbb2ad47b43155" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5abca8ac75f5122ee5dbc598b5b609f61fd67a5f167a0e2beb6687c65bbc34ee [INFO] running `Command { std: "docker" "start" "-a" "5abca8ac75f5122ee5dbc598b5b609f61fd67a5f167a0e2beb6687c65bbc34ee", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.174 [INFO] [stderr] Compiling cc v1.2.32 [INFO] [stderr] Checking hashbrown v0.15.5 [INFO] [stderr] Compiling openssl v0.10.73 [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Compiling serde_json v1.0.142 [INFO] [stderr] Compiling schemars v0.8.22 [INFO] [stderr] Checking rustix v1.0.8 [INFO] [stderr] Checking unicode-width v0.2.1 [INFO] [stderr] Checking clap_builder v4.5.43 [INFO] [stderr] Checking dyn-clone v1.0.20 [INFO] [stderr] Checking indexmap v2.10.0 [INFO] [stderr] Checking parking_lot_core v0.9.11 [INFO] [stderr] Checking signal-hook-registry v1.4.6 [INFO] [stderr] Checking socket2 v0.6.0 [INFO] [stderr] Checking mio v1.0.4 [INFO] [stderr] Checking socket2 v0.5.10 [INFO] [stderr] Checking getrandom v0.3.3 [INFO] [stderr] Checking console v0.15.11 [INFO] [stderr] Checking parking_lot v0.12.4 [INFO] [stderr] Checking tempfile v3.20.0 [INFO] [stderr] Compiling openssl-sys v0.9.109 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling serde_derive_internals v0.29.1 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.0 [INFO] [stderr] Compiling zerovec-derive v0.11.1 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling clap_derive v4.5.41 [INFO] [stderr] Compiling schemars_derive v0.8.22 [INFO] [stderr] Checking tokio v1.47.1 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Checking zerofrom v0.1.6 [INFO] [stderr] Checking yoke v0.8.0 [INFO] [stderr] Checking zerotrie v0.2.2 [INFO] [stderr] Checking zerovec v0.11.4 [INFO] [stderr] Checking clap v4.5.43 [INFO] [stderr] Checking thiserror v1.0.69 [INFO] [stderr] Checking dialoguer v0.11.0 [INFO] [stderr] Checking tinystr v0.8.1 [INFO] [stderr] Checking potential_utf v0.1.2 [INFO] [stderr] Checking icu_collections v2.0.0 [INFO] [stderr] Checking icu_locale_core v2.0.0 [INFO] [stderr] Checking serde v1.0.219 [INFO] [stderr] Checking icu_provider v2.0.0 [INFO] [stderr] Checking icu_normalizer v2.0.0 [INFO] [stderr] Checking icu_properties v2.0.1 [INFO] [stderr] Checking idna_adapter v1.2.1 [INFO] [stderr] Checking idna v1.0.3 [INFO] [stderr] Checking url v2.5.4 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking serde_yaml v0.9.34+deprecated [INFO] [stderr] Checking tokio-util v0.7.16 [INFO] [stderr] Checking tokio-native-tls v0.3.1 [INFO] [stderr] Checking tokio-stream v0.1.17 [INFO] [stderr] Checking h2 v0.3.27 [INFO] [stderr] Checking hyper v0.14.32 [INFO] [stderr] Checking hyper-tls v0.5.0 [INFO] [stderr] Checking reqwest v0.11.27 [INFO] [stderr] Checking rust-openai-chat v0.1.7 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `path::Path` [INFO] [stdout] --> src/mcp/config.rs:4:15 [INFO] [stdout] | [INFO] [stdout] 4 | use std::{fs, path::Path}; [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 imports: `FramedRead` and `LinesCodec` [INFO] [stdout] --> src/mcp/client.rs:5:25 [INFO] [stdout] | [INFO] [stdout] 5 | use tokio_util::codec::{FramedRead, LinesCodec}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `path::Path` [INFO] [stdout] --> src/mcp/config.rs:4:15 [INFO] [stdout] | [INFO] [stdout] 4 | use std::{fs, path::Path}; [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 imports: `FramedRead` and `LinesCodec` [INFO] [stdout] --> src/mcp/client.rs:5:25 [INFO] [stdout] | [INFO] [stdout] 5 | use tokio_util::codec::{FramedRead, LinesCodec}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:387:17 [INFO] [stdout] | [INFO] [stdout] 387 | let mut host = mcp_host.as_mut().unwrap(); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `name` and `child` are never read [INFO] [stdout] --> src/mcp/client.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct McpClient { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 9 | pub name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 10 | child: Child, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `McpClient` 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: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:387:17 [INFO] [stdout] | [INFO] [stdout] 387 | let mut host = mcp_host.as_mut().unwrap(); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `name` and `child` are never read [INFO] [stdout] --> src/mcp/client.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct McpClient { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 9 | pub name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 10 | child: Child, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `McpClient` 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 36.58s [INFO] running `Command { std: "docker" "inspect" "5abca8ac75f5122ee5dbc598b5b609f61fd67a5f167a0e2beb6687c65bbc34ee", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5abca8ac75f5122ee5dbc598b5b609f61fd67a5f167a0e2beb6687c65bbc34ee", kill_on_drop: false }` [INFO] [stdout] 5abca8ac75f5122ee5dbc598b5b609f61fd67a5f167a0e2beb6687c65bbc34ee