[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#b83b707f97d809763b7861afa7638871f3339a33 for pr-145838-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Feliird%2Fmac" "/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/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-5-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/eliird/mac on toolchain b83b707f97d809763b7861afa7638871f3339a33 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "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" "+b83b707f97d809763b7861afa7638871f3339a33" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5c785530d6fa96b19a7d097aee79908231a78d355d678b9f22041eca1de9d6da [INFO] running `Command { std: "docker" "start" "-a" "5c785530d6fa96b19a7d097aee79908231a78d355d678b9f22041eca1de9d6da", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5c785530d6fa96b19a7d097aee79908231a78d355d678b9f22041eca1de9d6da", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5c785530d6fa96b19a7d097aee79908231a78d355d678b9f22041eca1de9d6da", kill_on_drop: false }` [INFO] [stdout] 5c785530d6fa96b19a7d097aee79908231a78d355d678b9f22041eca1de9d6da [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 134788763dd3f68b77f3e637b5a16d5cfa60782f23ba1302ca60c65d60a656ad [INFO] running `Command { std: "docker" "start" "-a" "134788763dd3f68b77f3e637b5a16d5cfa60782f23ba1302ca60c65d60a656ad", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.174 [INFO] [stderr] Compiling cfg-if v1.0.1 [INFO] [stderr] Compiling autocfg v1.5.0 [INFO] [stderr] Compiling memchr v2.7.5 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Compiling tracing-core v0.1.34 [INFO] [stderr] Compiling slab v0.4.10 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling futures-io v0.3.31 [INFO] [stderr] Compiling hashbrown v0.15.4 [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Compiling writeable v0.6.1 [INFO] [stderr] Compiling litemap v0.8.0 [INFO] [stderr] Compiling bitflags v2.9.1 [INFO] [stderr] Compiling typenum v1.18.0 [INFO] [stderr] Compiling icu_properties_data v2.0.1 [INFO] [stderr] Compiling icu_normalizer_data v2.0.0 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling zerocopy v0.8.26 [INFO] [stderr] Compiling openssl v0.10.73 [INFO] [stderr] Compiling sync_wrapper v1.0.2 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Compiling local-waker v0.1.4 [INFO] [stderr] Compiling unicase v2.8.1 [INFO] [stderr] Compiling ipnet v2.11.0 [INFO] [stderr] Compiling crc32fast v1.5.0 [INFO] [stderr] Compiling zstd-safe v7.2.4 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling encoding_rs v0.8.35 [INFO] [stderr] Compiling mime_guess v2.0.5 [INFO] [stderr] Compiling http v0.2.12 [INFO] [stderr] Compiling adler2 v2.0.1 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling unicode-xid v0.2.6 [INFO] [stderr] Compiling bytes v1.10.1 [INFO] [stderr] Compiling regex-lite v0.1.6 [INFO] [stderr] Compiling lock_api v0.4.13 [INFO] [stderr] Compiling log v0.4.27 [INFO] [stderr] Compiling indexmap v2.10.0 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling bytestring v1.4.0 [INFO] [stderr] Compiling time-macros v0.2.22 [INFO] [stderr] Compiling deranged v0.4.0 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling miniz_oxide v0.8.9 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling brotli-decompressor v5.0.0 [INFO] [stderr] Compiling actix-utils v3.0.1 [INFO] [stderr] Compiling jobserver v0.1.33 [INFO] [stderr] Compiling socket2 v0.5.10 [INFO] [stderr] Compiling signal-hook-registry v1.4.5 [INFO] [stderr] Compiling cc v1.2.29 [INFO] [stderr] Compiling parking_lot v0.12.4 [INFO] [stderr] Compiling mio v1.0.4 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling cookie v0.16.2 [INFO] [stderr] Compiling actix-service v2.0.3 [INFO] [stderr] Compiling rand_core v0.9.3 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling cpufeatures v0.2.17 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling iri-string v0.7.8 [INFO] [stderr] Compiling rustls-pki-types v1.12.0 [INFO] [stderr] Compiling time v0.3.41 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling sha1 v0.10.6 [INFO] [stderr] Compiling rand_chacha v0.9.0 [INFO] [stderr] Compiling brotli v8.0.1 [INFO] [stderr] Compiling flate2 v1.1.2 [INFO] [stderr] Compiling rand v0.9.1 [INFO] [stderr] Compiling local-channel v0.1.5 [INFO] [stderr] Compiling language-tags v0.3.2 [INFO] [stderr] Compiling foldhash v0.1.5 [INFO] [stderr] Compiling rustversion v1.0.21 [INFO] [stderr] Compiling anstyle-parse v0.2.7 [INFO] [stderr] Compiling schemars v0.8.22 [INFO] [stderr] Compiling impl-more v0.1.9 [INFO] [stderr] Compiling anstyle-query v1.1.3 [INFO] [stderr] Compiling anstyle v1.0.11 [INFO] [stderr] Compiling colorchoice v1.0.4 [INFO] [stderr] Compiling futures-timer v3.0.3 [INFO] [stderr] Compiling openssl-sys v0.9.109 [INFO] [stderr] Compiling zstd-sys v2.0.15+zstd.1.5.7 [INFO] [stderr] Compiling anstream v0.6.19 [INFO] [stderr] Compiling eventsource-stream v0.2.3 [INFO] [stderr] Compiling uuid v1.17.0 [INFO] [stderr] Compiling dyn-clone v1.0.19 [INFO] [stderr] Compiling clap_lex v0.7.5 [INFO] [stderr] Compiling ordered-float v4.6.0 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling serde_derive_internals v0.29.1 [INFO] [stderr] Compiling tracing-log v0.2.0 [INFO] [stderr] Compiling clap_builder v4.5.41 [INFO] [stderr] Compiling actix-router v0.5.3 [INFO] [stderr] Compiling thread_local v1.1.9 [INFO] [stderr] Compiling as-any v0.3.2 [INFO] [stderr] Compiling iana-time-zone v0.1.63 [INFO] [stderr] Compiling glob v0.3.2 [INFO] [stderr] Compiling walkdir v2.5.0 [INFO] [stderr] Compiling chrono v0.4.41 [INFO] [stderr] Compiling tracing-subscriber v0.3.19 [INFO] [stderr] Compiling dotenv v0.15.0 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling tracing-attributes v0.1.30 [INFO] [stderr] Compiling yoke-derive v0.8.0 [INFO] [stderr] Compiling tokio v1.46.1 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling zerovec-derive v0.11.1 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling derive_more-impl v2.0.1 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling async-trait v0.1.88 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling actix-macros v0.2.4 [INFO] [stderr] Compiling yoke v0.8.0 [INFO] [stderr] Compiling actix-web-codegen v4.3.0 [INFO] [stderr] Compiling zerotrie v0.2.2 [INFO] [stderr] Compiling async-stream-impl v0.3.6 [INFO] [stderr] Compiling zerovec v0.11.2 [INFO] [stderr] Compiling schemars_derive v0.8.22 [INFO] [stderr] Compiling clap_derive v4.5.41 [INFO] [stderr] Compiling async-stream v0.3.6 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling tinystr v0.8.1 [INFO] [stderr] Compiling potential_utf v0.1.2 [INFO] [stderr] Compiling icu_collections v2.0.0 [INFO] [stderr] Compiling icu_locale_core v2.0.0 [INFO] [stderr] Compiling clap v4.5.41 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling axum-core v0.4.5 [INFO] [stderr] Compiling derive_more v2.0.1 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling zstd v0.13.3 [INFO] [stderr] Compiling icu_provider v2.0.0 [INFO] [stderr] Compiling tokio-util v0.7.15 [INFO] [stderr] Compiling tower v0.5.2 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling actix-rt v2.10.0 [INFO] [stderr] Compiling icu_properties v2.0.1 [INFO] [stderr] Compiling icu_normalizer v2.0.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 h2 v0.3.27 [INFO] [stderr] Compiling actix-codec v0.5.2 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling idna v1.0.3 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling url v2.5.4 [INFO] [stderr] Compiling serde_path_to_error v0.1.17 [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 53.84s [INFO] running `Command { std: "docker" "inspect" "134788763dd3f68b77f3e637b5a16d5cfa60782f23ba1302ca60c65d60a656ad", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "134788763dd3f68b77f3e637b5a16d5cfa60782f23ba1302ca60c65d60a656ad", kill_on_drop: false }` [INFO] [stdout] 134788763dd3f68b77f3e637b5a16d5cfa60782f23ba1302ca60c65d60a656ad [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 95657e82b3c52d324d36e7b02eee5aaf55f6a8bc0e504626959b59fc16a28416 [INFO] running `Command { std: "docker" "start" "-a" "95657e82b3c52d324d36e7b02eee5aaf55f6a8bc0e504626959b59fc16a28416", 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 1.14s [INFO] running `Command { std: "docker" "inspect" "95657e82b3c52d324d36e7b02eee5aaf55f6a8bc0e504626959b59fc16a28416", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "95657e82b3c52d324d36e7b02eee5aaf55f6a8bc0e504626959b59fc16a28416", kill_on_drop: false }` [INFO] [stdout] 95657e82b3c52d324d36e7b02eee5aaf55f6a8bc0e504626959b59fc16a28416 [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 6a7db9b8680cc8fda0da3ce41b8c83792d9d5371222d5e66b336b5fabc117ea7 [INFO] running `Command { std: "docker" "start" "-a" "6a7db9b8680cc8fda0da3ce41b8c83792d9d5371222d5e66b336b5fabc117ea7", 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.21s [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" "6a7db9b8680cc8fda0da3ce41b8c83792d9d5371222d5e66b336b5fabc117ea7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6a7db9b8680cc8fda0da3ce41b8c83792d9d5371222d5e66b336b5fabc117ea7", kill_on_drop: false }` [INFO] [stdout] 6a7db9b8680cc8fda0da3ce41b8c83792d9d5371222d5e66b336b5fabc117ea7