[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] testing eliird/mac against try#2440211fe03bc45c89b6dc1a3df18382ce91e32b for pr-146098-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Feliird%2Fmac" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/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-2-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/eliird/mac on toolchain 2440211fe03bc45c89b6dc1a3df18382ce91e32b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "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" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] bdac28fd5fa9b398d92b8176c9737f6c455c15b9bc49960c59aefe00d89c752d [INFO] running `Command { std: "docker" "start" "-a" "bdac28fd5fa9b398d92b8176c9737f6c455c15b9bc49960c59aefe00d89c752d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "bdac28fd5fa9b398d92b8176c9737f6c455c15b9bc49960c59aefe00d89c752d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bdac28fd5fa9b398d92b8176c9737f6c455c15b9bc49960c59aefe00d89c752d", kill_on_drop: false }` [INFO] [stdout] bdac28fd5fa9b398d92b8176c9737f6c455c15b9bc49960c59aefe00d89c752d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2c7a458fa60058bab2a27f126f12f360469eb9d8c5eab48a49983f9ef5d0f00d [INFO] running `Command { std: "docker" "start" "-a" "2c7a458fa60058bab2a27f126f12f360469eb9d8c5eab48a49983f9ef5d0f00d", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.95 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Compiling libc v0.2.174 [INFO] [stderr] Compiling cfg-if v1.0.1 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling log v0.4.27 [INFO] [stderr] Compiling memchr v2.7.5 [INFO] [stderr] Compiling tracing-core v0.1.34 [INFO] [stderr] Compiling slab v0.4.10 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling http v1.3.1 [INFO] [stderr] Compiling hashbrown v0.15.4 [INFO] [stderr] Compiling bitflags v2.9.1 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling zerocopy v0.8.26 [INFO] [stderr] Compiling sync_wrapper v1.0.2 [INFO] [stderr] Compiling tower-layer v0.3.3 [INFO] [stderr] Compiling unicase v2.8.1 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling zstd-safe v7.2.4 [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Compiling indexmap v2.10.0 [INFO] [stderr] Compiling mime_guess v2.0.5 [INFO] [stderr] Compiling jobserver v0.1.33 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Compiling mio v1.0.4 [INFO] [stderr] Compiling cc v1.2.29 [INFO] [stderr] Compiling parking_lot v0.12.4 [INFO] [stderr] Compiling signal-hook-registry v1.4.5 [INFO] [stderr] Compiling socket2 v0.5.10 [INFO] [stderr] Compiling http-body v1.0.1 [INFO] [stderr] Compiling http-body-util v0.1.3 [INFO] [stderr] Compiling rand_core v0.9.3 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling encoding_rs v0.8.35 [INFO] [stderr] Compiling bytes v1.10.1 [INFO] [stderr] Compiling time-core v0.1.4 [INFO] [stderr] Compiling time-macros v0.2.22 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling bytestring v1.4.0 [INFO] [stderr] Compiling openssl-sys v0.9.109 [INFO] [stderr] Compiling zstd-sys v2.0.15+zstd.1.5.7 [INFO] [stderr] Compiling rand_chacha v0.9.0 [INFO] [stderr] Compiling openssl v0.10.73 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Compiling deranged v0.4.0 [INFO] [stderr] Compiling crc32fast v1.5.0 [INFO] [stderr] Compiling brotli-decompressor v5.0.0 [INFO] [stderr] Compiling actix-service v2.0.3 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling iri-string v0.7.8 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling brotli v8.0.1 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling actix-router v0.5.3 [INFO] [stderr] Compiling rustls-pki-types v1.12.0 [INFO] [stderr] Compiling sha1 v0.10.6 [INFO] [stderr] Compiling flate2 v1.1.2 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling tracing-attributes v0.1.30 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.0 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling tokio v1.46.1 [INFO] [stderr] Compiling zerovec-derive v0.11.1 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling yoke v0.8.0 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling zerotrie v0.2.2 [INFO] [stderr] Compiling zerovec v0.11.2 [INFO] [stderr] Compiling derive_more-impl v2.0.1 [INFO] [stderr] Compiling async-trait v0.1.88 [INFO] [stderr] Compiling tinystr v0.8.1 [INFO] [stderr] Compiling potential_utf v0.1.2 [INFO] [stderr] Compiling icu_locale_core v2.0.0 [INFO] [stderr] Compiling icu_collections v2.0.0 [INFO] [stderr] Compiling icu_provider v2.0.0 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling icu_normalizer v2.0.0 [INFO] [stderr] Compiling icu_properties v2.0.1 [INFO] [stderr] Compiling time v0.3.41 [INFO] [stderr] Compiling tokio-util v0.7.15 [INFO] [stderr] Compiling tower v0.5.2 [INFO] [stderr] Compiling h2 v0.4.11 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling idna v1.0.3 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling actix-rt v2.10.0 [INFO] [stderr] Compiling tower-http v0.6.6 [INFO] [stderr] Compiling h2 v0.3.27 [INFO] [stderr] Compiling actix-codec v0.5.2 [INFO] [stderr] Compiling derive_more v2.0.1 [INFO] [stderr] Compiling rand v0.9.1 [INFO] [stderr] Compiling foldhash v0.1.5 [INFO] [stderr] Compiling rustversion v1.0.21 [INFO] [stderr] Compiling utf8parse v0.2.2 [INFO] [stderr] Compiling anyhow v1.0.98 [INFO] [stderr] Compiling anstyle-parse v0.2.7 [INFO] [stderr] Compiling actix-server v2.6.0 [INFO] [stderr] Compiling cookie v0.16.2 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling url v2.5.4 [INFO] [stderr] Compiling actix-macros v0.2.4 [INFO] [stderr] Compiling actix-web-codegen v4.3.0 [INFO] [stderr] Compiling eventsource-stream v0.2.3 [INFO] [stderr] Compiling serde_derive_internals v0.29.1 [INFO] [stderr] Compiling zstd v0.13.3 [INFO] [stderr] Compiling is_terminal_polyfill v1.70.1 [INFO] [stderr] Compiling schemars v0.8.22 [INFO] [stderr] Compiling futures-timer v3.0.3 [INFO] [stderr] Compiling anstyle v1.0.11 [INFO] [stderr] Compiling colorchoice v1.0.4 [INFO] [stderr] Compiling anstyle-query v1.1.3 [INFO] [stderr] Compiling anstream v0.6.19 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling hyper v1.6.0 [INFO] [stderr] Compiling async-stream-impl v0.3.6 [INFO] [stderr] Compiling uuid v1.17.0 [INFO] [stderr] Compiling schemars_derive v0.8.22 [INFO] [stderr] Compiling overload v0.1.1 [INFO] [stderr] Compiling dyn-clone v1.0.19 [INFO] [stderr] Compiling clap_lex v0.7.5 [INFO] [stderr] Compiling actix-http v3.11.0 [INFO] [stderr] Compiling clap_builder v4.5.41 [INFO] [stderr] Compiling async-stream v0.3.6 [INFO] [stderr] Compiling sharded-slab v0.1.7 [INFO] [stderr] Compiling nu-ansi-term v0.46.0 [INFO] [stderr] Compiling clap_derive v4.5.41 [INFO] [stderr] Compiling axum-core v0.4.5 [INFO] [stderr] Compiling hyper-util v0.1.15 [INFO] [stderr] Compiling ordered-float v4.6.0 [INFO] [stderr] Compiling serde_path_to_error v0.1.17 [INFO] [stderr] Compiling tracing-log v0.2.0 [INFO] [stderr] Compiling thread_local v1.1.9 [INFO] [stderr] Compiling matchit v0.7.3 [INFO] [stderr] Compiling as-any v0.3.2 [INFO] [stderr] Compiling glob v0.3.2 [INFO] [stderr] Compiling iana-time-zone v0.1.63 [INFO] [stderr] Compiling clap v4.5.41 [INFO] [stderr] Compiling actix-web v4.11.0 [INFO] [stderr] Compiling hyper-tls v0.6.0 [INFO] [stderr] Compiling chrono v0.4.41 [INFO] [stderr] Compiling tracing-subscriber v0.3.19 [INFO] [stderr] Compiling reqwest v0.12.22 [INFO] [stderr] Compiling axum v0.7.9 [INFO] [stderr] Compiling dotenv v0.15.0 [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 3m 41s [INFO] running `Command { std: "docker" "inspect" "2c7a458fa60058bab2a27f126f12f360469eb9d8c5eab48a49983f9ef5d0f00d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2c7a458fa60058bab2a27f126f12f360469eb9d8c5eab48a49983f9ef5d0f00d", kill_on_drop: false }` [INFO] [stdout] 2c7a458fa60058bab2a27f126f12f360469eb9d8c5eab48a49983f9ef5d0f00d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a15944b4a5ce3a1a97de4d21964bcf7d76aeaaa50a0e0bee18a51bd1783a7bad [INFO] running `Command { std: "docker" "start" "-a" "a15944b4a5ce3a1a97de4d21964bcf7d76aeaaa50a0e0bee18a51bd1783a7bad", 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.80s [INFO] running `Command { std: "docker" "inspect" "a15944b4a5ce3a1a97de4d21964bcf7d76aeaaa50a0e0bee18a51bd1783a7bad", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a15944b4a5ce3a1a97de4d21964bcf7d76aeaaa50a0e0bee18a51bd1783a7bad", kill_on_drop: false }` [INFO] [stdout] a15944b4a5ce3a1a97de4d21964bcf7d76aeaaa50a0e0bee18a51bd1783a7bad [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] be13de7f6e6233321b12a4cd6865dca99dc80533e488a655baa8fbee24c077fe [INFO] running `Command { std: "docker" "start" "-a" "be13de7f6e6233321b12a4cd6865dca99dc80533e488a655baa8fbee24c077fe", kill_on_drop: false }` [INFO] [stderr] warning: unused imports: `DateTime` and `Local` [INFO] [stderr] --> src/main.rs:4:14 [INFO] [stderr] | [INFO] [stderr] 4 | use chrono::{DateTime, Local}; [INFO] [stderr] | ^^^^^^^^ ^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::io::Write` [INFO] [stderr] --> src/file_tools.rs:11:5 [INFO] [stderr] | [INFO] [stderr] 11 | use std::io::Write; [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `Chat` [INFO] [stderr] --> src/main.rs:17:40 [INFO] [stderr] | [INFO] [stderr] 17 | use rig::completion::{Message, Prompt, Chat}; [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `Prompt` [INFO] [stderr] --> src/main.rs:17:32 [INFO] [stderr] | [INFO] [stderr] 17 | use rig::completion::{Message, Prompt, Chat}; [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `get_agent` is never used [INFO] [stderr] --> src/local.rs:19:8 [INFO] [stderr] | [INFO] [stderr] 19 | pub fn get_agent(prompt: &str, mcp_config: Option<(MCPClient, ToolsListResponse)>) -> Agent { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: associated function `new` is never used [INFO] [stderr] --> src/mcp_test.rs:28:18 [INFO] [stderr] | [INFO] [stderr] 27 | impl MCPClient { [INFO] [stderr] | -------------- associated function in this implementation [INFO] [stderr] 28 | pub async fn new() -> Result { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: function `get_agent` is never used [INFO] [stderr] --> src/model_selector.rs:42:8 [INFO] [stderr] | [INFO] [stderr] 42 | pub fn get_agent(prompt: &str, mcp_config: Option<(MCPClient, ToolsListResponse)>) -> AgentWrapper { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `SetContextArgs` is never constructed [INFO] [stderr] --> src/file_tools.rs:755:12 [INFO] [stderr] | [INFO] [stderr] 755 | pub struct SetContextArgs { [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `ContextManager` is never constructed [INFO] [stderr] --> src/file_tools.rs:763:12 [INFO] [stderr] | [INFO] [stderr] 763 | pub struct ContextManager { [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated items `new` and `get_all_context` are never used [INFO] [stderr] --> src/file_tools.rs:768:12 [INFO] [stderr] | [INFO] [stderr] 767 | impl ContextManager { [INFO] [stderr] | ------------------- associated items in this implementation [INFO] [stderr] 768 | pub fn new() -> Self { [INFO] [stderr] | ^^^ [INFO] [stderr] ... [INFO] [stderr] 774 | pub fn get_all_context(&self) -> String { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `LLMO` (bin "LLMO" test) generated 10 warnings (run `cargo fix --bin "LLMO" --tests` to apply 1 suggestion) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.41s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/LLMO-7eba31245e3c2baf) [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" "be13de7f6e6233321b12a4cd6865dca99dc80533e488a655baa8fbee24c077fe", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "be13de7f6e6233321b12a4cd6865dca99dc80533e488a655baa8fbee24c077fe", kill_on_drop: false }` [INFO] [stdout] be13de7f6e6233321b12a4cd6865dca99dc80533e488a655baa8fbee24c077fe