[INFO] cloning repository https://github.com/eliird/mac [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/eliird/mac" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Feliird%2Fmac", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Feliird%2Fmac'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 1e2d8a4c8b8212573e3e780f5bb825d959fc10c2 [INFO] building eliird/mac against master#ad85bc524b1ad696e42061ad8338d382dffbdbe5 for pr-146237-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Feliird%2Fmac" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/eliird/mac [INFO] finished tweaking git repo https://github.com/eliird/mac [INFO] tweaked toml for git repo https://github.com/eliird/mac written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/eliird/mac 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/eliird/mac 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 as-any v0.3.2 [INFO] [stderr] Downloaded mcp-core v0.1.50 [INFO] [stderr] Downloaded rig-core v0.13.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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] 7cd5b196d262087e244833ee879636197a6eef1d7ad13f82e36cd86196120897 [INFO] running `Command { std: "docker" "start" "-a" "7cd5b196d262087e244833ee879636197a6eef1d7ad13f82e36cd86196120897", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7cd5b196d262087e244833ee879636197a6eef1d7ad13f82e36cd86196120897", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7cd5b196d262087e244833ee879636197a6eef1d7ad13f82e36cd86196120897", kill_on_drop: false }` [INFO] [stdout] 7cd5b196d262087e244833ee879636197a6eef1d7ad13f82e36cd86196120897 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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] bb812576b3cf9cebb23141f4818e2c30f206aeab4d3dde816c8929f56e4aba0f [INFO] running `Command { std: "docker" "start" "-a" "bb812576b3cf9cebb23141f4818e2c30f206aeab4d3dde816c8929f56e4aba0f", kill_on_drop: false }` [INFO] [stderr] Compiling mio v1.0.4 [INFO] [stderr] Compiling cc v1.2.29 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling mime_guess v2.0.5 [INFO] [stderr] Compiling bytes v1.10.1 [INFO] [stderr] Compiling tracing-core v0.1.34 [INFO] [stderr] Compiling derive_more-impl v2.0.1 [INFO] [stderr] Compiling actix-service v2.0.3 [INFO] [stderr] Compiling bytestring v1.4.0 [INFO] [stderr] Compiling sha1 v0.10.6 [INFO] [stderr] Compiling time v0.3.41 [INFO] [stderr] Compiling url v2.5.4 [INFO] [stderr] Compiling eventsource-stream v0.2.3 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling actix-macros v0.2.4 [INFO] [stderr] Compiling serde_derive_internals v0.29.1 [INFO] [stderr] Compiling actix-router v0.5.3 [INFO] [stderr] Compiling schemars v0.8.22 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling uuid v1.17.0 [INFO] [stderr] Compiling async-stream-impl v0.3.6 [INFO] [stderr] Compiling clap_builder v4.5.41 [INFO] [stderr] Compiling clap_derive v4.5.41 [INFO] [stderr] Compiling axum-core v0.4.5 [INFO] [stderr] Compiling tokio v1.46.1 [INFO] [stderr] Compiling async-stream v0.3.6 [INFO] [stderr] Compiling ordered-float v4.6.0 [INFO] [stderr] Compiling serde_path_to_error v0.1.17 [INFO] [stderr] Compiling matchit v0.7.3 [INFO] [stderr] Compiling as-any v0.3.2 [INFO] [stderr] Compiling chrono v0.4.41 [INFO] [stderr] Compiling tracing-subscriber v0.3.19 [INFO] [stderr] Compiling schemars_derive v0.8.22 [INFO] [stderr] Compiling openssl-sys v0.9.109 [INFO] [stderr] Compiling zstd-sys v2.0.15+zstd.1.5.7 [INFO] [stderr] Compiling actix-web-codegen v4.3.0 [INFO] [stderr] Compiling openssl v0.10.73 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Compiling cookie v0.16.2 [INFO] [stderr] Compiling derive_more v2.0.1 [INFO] [stderr] Compiling clap v4.5.41 [INFO] [stderr] Compiling zstd-safe v7.2.4 [INFO] [stderr] Compiling zstd v0.13.3 [INFO] [stderr] Compiling tokio-util v0.7.15 [INFO] [stderr] Compiling tower v0.5.2 [INFO] [stderr] Compiling actix-rt v2.10.0 [INFO] [stderr] Compiling actix-server v2.6.0 [INFO] [stderr] Compiling tower-http v0.6.6 [INFO] [stderr] Compiling h2 v0.4.11 [INFO] [stderr] Compiling actix-codec v0.5.2 [INFO] [stderr] Compiling h2 v0.3.27 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling actix-http v3.11.0 [INFO] [stderr] Compiling hyper v1.6.0 [INFO] [stderr] Compiling hyper-util v0.1.15 [INFO] [stderr] Compiling actix-web v4.11.0 [INFO] [stderr] Compiling hyper-tls v0.6.0 [INFO] [stderr] Compiling axum v0.7.9 [INFO] [stderr] Compiling reqwest v0.12.22 [INFO] [stderr] Compiling reqwest-eventsource v0.6.0 [INFO] [stderr] Compiling mcp-core v0.1.50 [INFO] [stderr] Compiling rig-core v0.13.0 [INFO] [stderr] Compiling LLMO v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `DateTime` and `Local` [INFO] [stdout] --> src/main.rs:4:14 [INFO] [stdout] | [INFO] [stdout] 4 | use chrono::{DateTime, Local}; [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::io::Write` [INFO] [stdout] --> src/file_tools.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use std::io::Write; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Chat` [INFO] [stdout] --> src/main.rs:17:40 [INFO] [stdout] | [INFO] [stdout] 17 | use rig::completion::{Message, Prompt, Chat}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Prompt` [INFO] [stdout] --> src/main.rs:17:32 [INFO] [stdout] | [INFO] [stdout] 17 | use rig::completion::{Message, Prompt, Chat}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_agent` is never used [INFO] [stdout] --> src/local.rs:19:8 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn get_agent(prompt: &str, mcp_config: Option<(MCPClient, ToolsListResponse)>) -> Agent { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/mcp_test.rs:28:18 [INFO] [stdout] | [INFO] [stdout] 27 | impl MCPClient { [INFO] [stdout] | -------------- associated function in this implementation [INFO] [stdout] 28 | pub async fn new() -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_agent` is never used [INFO] [stdout] --> src/model_selector.rs:42:8 [INFO] [stdout] | [INFO] [stdout] 42 | pub fn get_agent(prompt: &str, mcp_config: Option<(MCPClient, ToolsListResponse)>) -> AgentWrapper { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SetContextArgs` is never constructed [INFO] [stdout] --> src/file_tools.rs:755:12 [INFO] [stdout] | [INFO] [stdout] 755 | pub struct SetContextArgs { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ContextManager` is never constructed [INFO] [stdout] --> src/file_tools.rs:763:12 [INFO] [stdout] | [INFO] [stdout] 763 | pub struct ContextManager { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `get_all_context` are never used [INFO] [stdout] --> src/file_tools.rs:768:12 [INFO] [stdout] | [INFO] [stdout] 767 | impl ContextManager { [INFO] [stdout] | ------------------- associated items in this implementation [INFO] [stdout] 768 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 774 | pub fn get_all_context(&self) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 30s [INFO] running `Command { std: "docker" "inspect" "bb812576b3cf9cebb23141f4818e2c30f206aeab4d3dde816c8929f56e4aba0f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bb812576b3cf9cebb23141f4818e2c30f206aeab4d3dde816c8929f56e4aba0f", kill_on_drop: false }` [INFO] [stdout] bb812576b3cf9cebb23141f4818e2c30f206aeab4d3dde816c8929f56e4aba0f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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] 1cdcdc0f94550748c7b7fb88cce16036900d3b6ea3d0289fb1f44a80b0e43f44 [INFO] running `Command { std: "docker" "start" "-a" "1cdcdc0f94550748c7b7fb88cce16036900d3b6ea3d0289fb1f44a80b0e43f44", kill_on_drop: false }` [INFO] [stderr] Compiling LLMO v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `DateTime` and `Local` [INFO] [stdout] --> src/main.rs:4:14 [INFO] [stdout] | [INFO] [stdout] 4 | use chrono::{DateTime, Local}; [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::io::Write` [INFO] [stdout] --> src/file_tools.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use std::io::Write; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Chat` [INFO] [stdout] --> src/main.rs:17:40 [INFO] [stdout] | [INFO] [stdout] 17 | use rig::completion::{Message, Prompt, Chat}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Prompt` [INFO] [stdout] --> src/main.rs:17:32 [INFO] [stdout] | [INFO] [stdout] 17 | use rig::completion::{Message, Prompt, Chat}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_agent` is never used [INFO] [stdout] --> src/local.rs:19:8 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn get_agent(prompt: &str, mcp_config: Option<(MCPClient, ToolsListResponse)>) -> Agent { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/mcp_test.rs:28:18 [INFO] [stdout] | [INFO] [stdout] 27 | impl MCPClient { [INFO] [stdout] | -------------- associated function in this implementation [INFO] [stdout] 28 | pub async fn new() -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_agent` is never used [INFO] [stdout] --> src/model_selector.rs:42:8 [INFO] [stdout] | [INFO] [stdout] 42 | pub fn get_agent(prompt: &str, mcp_config: Option<(MCPClient, ToolsListResponse)>) -> AgentWrapper { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SetContextArgs` is never constructed [INFO] [stdout] --> src/file_tools.rs:755:12 [INFO] [stdout] | [INFO] [stdout] 755 | pub struct SetContextArgs { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ContextManager` is never constructed [INFO] [stdout] --> src/file_tools.rs:763:12 [INFO] [stdout] | [INFO] [stdout] 763 | pub struct ContextManager { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `get_all_context` are never used [INFO] [stdout] --> src/file_tools.rs:768:12 [INFO] [stdout] | [INFO] [stdout] 767 | impl ContextManager { [INFO] [stdout] | ------------------- associated items in this implementation [INFO] [stdout] 768 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 774 | pub fn get_all_context(&self) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 3.57s [INFO] running `Command { std: "docker" "inspect" "1cdcdc0f94550748c7b7fb88cce16036900d3b6ea3d0289fb1f44a80b0e43f44", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1cdcdc0f94550748c7b7fb88cce16036900d3b6ea3d0289fb1f44a80b0e43f44", kill_on_drop: false }` [INFO] [stdout] 1cdcdc0f94550748c7b7fb88cce16036900d3b6ea3d0289fb1f44a80b0e43f44