[INFO] fetching crate gitbuddy 0.1.7... [INFO] testing gitbuddy-0.1.7 against beta-2025-09-21 for beta-1.91-3 [INFO] extracting crate gitbuddy 0.1.7 into /workspace/builds/worker-6-tc2/source [INFO] started tweaking crates.io crate gitbuddy 0.1.7 [INFO] finished tweaking crates.io crate gitbuddy 0.1.7 [INFO] tweaked toml for crates.io crate gitbuddy 0.1.7 written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate gitbuddy 0.1.7 on toolchain beta-2025-09-21 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2025-09-21" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate gitbuddy 0.1.7 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" "+beta-2025-09-21" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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" "+beta-2025-09-21" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] bea6691ef4bbd171bdbb0d9d6e23ba7c453a709c839a1e4234831f7010ca81f3 [INFO] running `Command { std: "docker" "start" "-a" "bea6691ef4bbd171bdbb0d9d6e23ba7c453a709c839a1e4234831f7010ca81f3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "bea6691ef4bbd171bdbb0d9d6e23ba7c453a709c839a1e4234831f7010ca81f3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bea6691ef4bbd171bdbb0d9d6e23ba7c453a709c839a1e4234831f7010ca81f3", kill_on_drop: false }` [INFO] [stdout] bea6691ef4bbd171bdbb0d9d6e23ba7c453a709c839a1e4234831f7010ca81f3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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" "+beta-2025-09-21" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 55297412817d3bf1430ce20350eaf15e0e3226ff27c00f1f2b99e9fe7c902211 [INFO] running `Command { std: "docker" "start" "-a" "55297412817d3bf1430ce20350eaf15e0e3226ff27c00f1f2b99e9fe7c902211", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.85 [INFO] [stderr] Compiling libc v0.2.155 [INFO] [stderr] Compiling autocfg v1.3.0 [INFO] [stderr] Compiling pin-project-lite v0.2.14 [INFO] [stderr] Compiling memchr v2.7.2 [INFO] [stderr] Compiling bytes v1.6.0 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling itoa v1.0.11 [INFO] [stderr] Compiling cc v1.0.98 [INFO] [stderr] Compiling log v0.4.21 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling pkg-config v0.3.30 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling futures-sink v0.3.30 [INFO] [stderr] Compiling serde v1.0.203 [INFO] [stderr] Compiling syn v2.0.66 [INFO] [stderr] Compiling regex-syntax v0.8.3 [INFO] [stderr] Compiling equivalent v1.0.1 [INFO] [stderr] Compiling http v1.1.0 [INFO] [stderr] Compiling indexmap v2.2.6 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling socket2 v0.5.7 [INFO] [stderr] Compiling signal-hook-registry v1.4.2 [INFO] [stderr] Compiling openssl-sys v0.9.105 [INFO] [stderr] Compiling num_cpus v1.16.0 [INFO] [stderr] Compiling mio v0.8.11 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling openssl v0.10.70 [INFO] [stderr] Compiling futures-task v0.3.30 [INFO] [stderr] Compiling futures-io v0.3.30 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Compiling futures-util v0.3.30 [INFO] [stderr] Compiling http-body v1.0.0 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling atomic-waker v1.1.2 [INFO] [stderr] Compiling bitflags v2.5.0 [INFO] [stderr] Compiling native-tls v0.2.12 [INFO] [stderr] Compiling cpufeatures v0.2.12 [INFO] [stderr] Compiling sha2 v0.10.8 [INFO] [stderr] Compiling bstr v1.9.1 [INFO] [stderr] Compiling futures-channel v0.3.30 [INFO] [stderr] Compiling openssl-probe v0.1.5 [INFO] [stderr] Compiling utf8parse v0.2.1 [INFO] [stderr] Compiling unicode-normalization v0.1.23 [INFO] [stderr] Compiling anstyle-parse v0.2.4 [INFO] [stderr] Compiling anstyle-query v1.0.3 [INFO] [stderr] Compiling regex-automata v0.4.6 [INFO] [stderr] Compiling is_terminal_polyfill v1.70.0 [INFO] [stderr] Compiling unicode-bidi v0.3.15 [INFO] [stderr] Compiling ryu v1.0.18 [INFO] [stderr] Compiling serde_json v1.0.117 [INFO] [stderr] Compiling anstyle v1.0.7 [INFO] [stderr] Compiling colorchoice v1.0.1 [INFO] [stderr] Compiling anstream v0.6.14 [INFO] [stderr] Compiling idna v0.5.0 [INFO] [stderr] Compiling http-body-util v0.1.1 [INFO] [stderr] Compiling clap_lex v0.7.0 [INFO] [stderr] Compiling winnow v0.6.14 [INFO] [stderr] Compiling anyhow v1.0.86 [INFO] [stderr] Compiling tokio-macros v2.3.0 [INFO] [stderr] Compiling serde_derive v1.0.203 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling pin-project-internal v1.1.5 [INFO] [stderr] Compiling tokio v1.38.0 [INFO] [stderr] Compiling globset v0.4.14 [INFO] [stderr] Compiling pin-project v1.1.5 [INFO] [stderr] Compiling rust-embed-utils v8.4.0 [INFO] [stderr] Compiling dirs-sys v0.4.1 [INFO] [stderr] Compiling clap_builder v4.5.2 [INFO] [stderr] Compiling clap_derive v4.5.4 [INFO] [stderr] Compiling url v2.5.0 [INFO] [stderr] Compiling rust-embed-impl v8.4.0 [INFO] [stderr] Compiling encoding_rs v0.8.34 [INFO] [stderr] Compiling colored v2.1.0 [INFO] [stderr] Compiling rust-embed v8.4.0 [INFO] [stderr] Compiling dirs v5.0.1 [INFO] [stderr] Compiling clap v4.5.4 [INFO] [stderr] Compiling tokio-util v0.7.11 [INFO] [stderr] Compiling tower v0.4.13 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling serde_spanned v0.6.6 [INFO] [stderr] Compiling toml_datetime v0.6.6 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling h2 v0.4.5 [INFO] [stderr] Compiling toml_edit v0.22.16 [INFO] [stderr] Compiling toml v0.8.15 [INFO] [stderr] Compiling hyper v1.3.1 [INFO] [stderr] Compiling hyper-util v0.1.5 [INFO] [stderr] Compiling hyper-tls v0.6.0 [INFO] [stderr] Compiling reqwest v0.12.4 [INFO] [stderr] Compiling gitbuddy v0.1.7 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `crate::prompt::Prompt` [INFO] [stdout] --> src/llm/openai_compatible.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::prompt::Prompt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/config/mod.rs:70:12 [INFO] [stdout] | [INFO] [stdout] 68 | impl GlobalConfig { [INFO] [stdout] | ----------------- associated function in this implementation [INFO] [stdout] 69 | /// Create a new configuration with default values [INFO] [stdout] 70 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ModelConfig` is never constructed [INFO] [stdout] --> src/config/vendor.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct ModelConfig { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ModelParameters` is never constructed [INFO] [stdout] --> src/config/vendor.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct ModelParameters { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `DefaultConfig` is never constructed [INFO] [stdout] --> src/config/vendor.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 17 | pub struct DefaultConfig { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `GlobalConfig` is never constructed [INFO] [stdout] --> src/config/vendor.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 23 | pub struct GlobalConfig { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `RequestsWrap` is never constructed [INFO] [stdout] --> src/llm/mod.rs:46:8 [INFO] [stdout] | [INFO] [stdout] 46 | struct RequestsWrap { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/llm/mod.rs:53:8 [INFO] [stdout] | [INFO] [stdout] 52 | impl RequestsWrap { [INFO] [stdout] | ----------------- associated function in this implementation [INFO] [stdout] 53 | fn new(vendor: PromptModel, model: String, api_key: String) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 51s [INFO] running `Command { std: "docker" "inspect" "55297412817d3bf1430ce20350eaf15e0e3226ff27c00f1f2b99e9fe7c902211", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "55297412817d3bf1430ce20350eaf15e0e3226ff27c00f1f2b99e9fe7c902211", kill_on_drop: false }` [INFO] [stdout] 55297412817d3bf1430ce20350eaf15e0e3226ff27c00f1f2b99e9fe7c902211 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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" "+beta-2025-09-21" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b43f09f33b9fcefb0a048e3c6beb87c7a07744dc7c74761707bf1464b8418d90 [INFO] running `Command { std: "docker" "start" "-a" "b43f09f33b9fcefb0a048e3c6beb87c7a07744dc7c74761707bf1464b8418d90", kill_on_drop: false }` [INFO] [stderr] Compiling gitbuddy v0.1.7 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `crate::prompt::Prompt` [INFO] [stdout] --> src/llm/openai_compatible.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::prompt::Prompt; [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 variable: `params` [INFO] [stdout] --> src/config/mod.rs:144:13 [INFO] [stdout] | [INFO] [stdout] 144 | let params = ModelConfig { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_params` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/config/mod.rs:149:13 [INFO] [stdout] | [INFO] [stdout] 149 | let mut cfg = GlobalConfig::new(); [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: unused variable: `toml_str` [INFO] [stdout] --> src/config/mod.rs:158:13 [INFO] [stdout] | [INFO] [stdout] 158 | let toml_str = r#" [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_toml_str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cfg` [INFO] [stdout] --> src/config/mod.rs:169:17 [INFO] [stdout] | [INFO] [stdout] 169 | let mut cfg = GlobalConfig::new(); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cfg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/config/mod.rs:169:13 [INFO] [stdout] | [INFO] [stdout] 169 | let mut cfg = GlobalConfig::new(); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ModelParameters` is never constructed [INFO] [stdout] --> src/config/vendor.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct ModelParameters { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `DefaultConfig` is never constructed [INFO] [stdout] --> src/config/vendor.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 17 | pub struct DefaultConfig { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `GlobalConfig` is never constructed [INFO] [stdout] --> src/config/vendor.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 23 | pub struct GlobalConfig { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `RequestsWrap` is never constructed [INFO] [stdout] --> src/llm/mod.rs:46:8 [INFO] [stdout] | [INFO] [stdout] 46 | struct RequestsWrap { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/llm/mod.rs:53:8 [INFO] [stdout] | [INFO] [stdout] 52 | impl RequestsWrap { [INFO] [stdout] | ----------------- associated function in this implementation [INFO] [stdout] 53 | fn new(vendor: PromptModel, model: String, api_key: String) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.78s [INFO] running `Command { std: "docker" "inspect" "b43f09f33b9fcefb0a048e3c6beb87c7a07744dc7c74761707bf1464b8418d90", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b43f09f33b9fcefb0a048e3c6beb87c7a07744dc7c74761707bf1464b8418d90", kill_on_drop: false }` [INFO] [stdout] b43f09f33b9fcefb0a048e3c6beb87c7a07744dc7c74761707bf1464b8418d90 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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" "+beta-2025-09-21" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 0d3874e4f1cbfaed5a6c1418e53f662dc7dc3ecefdf16e4ee13f6d2b7b92bfbe [INFO] running `Command { std: "docker" "start" "-a" "0d3874e4f1cbfaed5a6c1418e53f662dc7dc3ecefdf16e4ee13f6d2b7b92bfbe", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `crate::prompt::Prompt` [INFO] [stderr] --> src/llm/openai_compatible.rs:3:5 [INFO] [stderr] | [INFO] [stderr] 3 | use crate::prompt::Prompt; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `params` [INFO] [stderr] --> src/config/mod.rs:144:13 [INFO] [stderr] | [INFO] [stderr] 144 | let params = ModelConfig { [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_params` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/config/mod.rs:149:13 [INFO] [stderr] | [INFO] [stderr] 149 | let mut cfg = GlobalConfig::new(); [INFO] [stderr] | ----^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `toml_str` [INFO] [stderr] --> src/config/mod.rs:158:13 [INFO] [stderr] | [INFO] [stderr] 158 | let toml_str = r#" [INFO] [stderr] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_toml_str` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `cfg` [INFO] [stderr] --> src/config/mod.rs:169:17 [INFO] [stderr] | [INFO] [stderr] 169 | let mut cfg = GlobalConfig::new(); [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_cfg` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/config/mod.rs:169:13 [INFO] [stderr] | [INFO] [stderr] 169 | let mut cfg = GlobalConfig::new(); [INFO] [stderr] | ----^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: struct `ModelParameters` is never constructed [INFO] [stderr] --> src/config/vendor.rs:10:12 [INFO] [stderr] | [INFO] [stderr] 10 | pub struct ModelParameters { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: struct `DefaultConfig` is never constructed [INFO] [stderr] --> src/config/vendor.rs:17:12 [INFO] [stderr] | [INFO] [stderr] 17 | pub struct DefaultConfig { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `GlobalConfig` is never constructed [INFO] [stderr] --> src/config/vendor.rs:23:12 [INFO] [stderr] | [INFO] [stderr] 23 | pub struct GlobalConfig { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `RequestsWrap` is never constructed [INFO] [stderr] --> src/llm/mod.rs:46:8 [INFO] [stderr] | [INFO] [stderr] 46 | struct RequestsWrap { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function `new` is never used [INFO] [stderr] --> src/llm/mod.rs:53:8 [INFO] [stderr] | [INFO] [stderr] 52 | impl RequestsWrap { [INFO] [stderr] | ----------------- associated function in this implementation [INFO] [stderr] 53 | fn new(vendor: PromptModel, model: String, api_key: String) -> Self { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: `gitbuddy` (bin "gitbuddy" test) generated 11 warnings (run `cargo fix --bin "gitbuddy" --tests` to apply 3 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.23s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/gitbuddy-7205a73d11da0d16) [INFO] [stdout] [INFO] [stdout] running 7 tests [INFO] [stdout] test config::test::config_serialization ... ok [INFO] [stdout] test config::storage::test::test_get_config_dir ... ok [INFO] [stdout] test config::test::save_config ... ok [INFO] [stdout] test config::storage::test::test_save_config ... ok [INFO] [stdout] test config::test::test_config ... ok [INFO] [stdout] test ai::git::test::test_git_stage_filename ... ok [INFO] [stdout] test ai::git::test::test_git_stage_diff ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- ai::git::test::test_git_stage_diff stdout ---- [INFO] [stdout] diff: "" [INFO] [stdout] [INFO] [stdout] thread 'ai::git::test::test_git_stage_diff' (17) panicked at src/ai/git.rs:123:9: [INFO] [stdout] assertion failed: !diff.is_empty() [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x59a1377d16c2 - std::backtrace_rs::backtrace::libunwind::trace::hcab59e1e990fdc24 [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x59a1377d16c2 - std::backtrace_rs::backtrace::trace_unsynchronized::he24cc57f3d2f47b7 [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x59a1377d16c2 - std::sys::backtrace::_print_fmt::hf8d65ede198eeb54 [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x59a1377d16c2 - ::fmt::h67edf0e4d33c343c [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x59a1377e21ef - core::fmt::rt::Argument::fmt::hef94184842aeafdd [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x59a1377e21ef - core::fmt::write::hcf0c66b48a8fa606 [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/core/src/fmt/mod.rs:1468:25 [INFO] [stdout] 6: 0x59a13779d6a1 - std::io::default_write_fmt::h69967ac0ba93195f [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x59a13779d6a1 - std::io::Write::write_fmt::h8db9396209deaa1c [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x59a1377a98c2 - std::sys::backtrace::BacktraceLock::print::h07e5435aa717b414 [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x59a1377aef2f - std::panicking::default_hook::{{closure}}::h91001850288db5f7 [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/panicking.rs:301:27 [INFO] [stdout] 10: 0x59a1377aedc1 - std::panicking::default_hook::h2346dbb704ef5512 [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/panicking.rs:325:9 [INFO] [stdout] 11: 0x59a13775e59e - as core::ops::function::Fn>::call::h18383b2e29377420 [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/alloc/src/boxed.rs:1999:9 [INFO] [stdout] 12: 0x59a13775e59e - test::test_main_with_exit_callback::{{closure}}::h272d7ef99aef06dc [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x59a1377af5ef - as core::ops::function::Fn>::call::h6dba6e441651a0d1 [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/alloc/src/boxed.rs:1999:9 [INFO] [stdout] 14: 0x59a1377af5ef - std::panicking::panic_with_hook::hd2b063a6090d23a4 [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/panicking.rs:842:13 [INFO] [stdout] 15: 0x59a1377af416 - std::panicking::panic_handler::{{closure}}::he666d95f139a333e [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/panicking.rs:700:13 [INFO] [stdout] 16: 0x59a1377a99f9 - std::sys::backtrace::__rust_end_short_backtrace::h631ad224854ebee5 [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/sys/backtrace.rs:174:18 [INFO] [stdout] 17: 0x59a13779149d - __rustc[1d67440d6e82e4f]::rust_begin_unwind [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/panicking.rs:698:5 [INFO] [stdout] 18: 0x59a1377ea3b0 - core::panicking::panic_fmt::h420ddb7fd73daf53 [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/core/src/panicking.rs:75:14 [INFO] [stdout] 19: 0x59a1377ea38c - core::panicking::panic::h355c5fec13755e30 [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/core/src/panicking.rs:145:5 [INFO] [stdout] 20: 0x59a1376e8473 - gitbuddy::ai::git::test::test_git_stage_diff::ha70c3aa27020b66a [INFO] [stdout] at /opt/rustwide/workdir/src/ai/git.rs:123:9 [INFO] [stdout] 21: 0x59a1376e84a7 - gitbuddy::ai::git::test::test_git_stage_diff::{{closure}}::h8b263445a446ecc8 [INFO] [stdout] at /opt/rustwide/workdir/src/ai/git.rs:119:29 [INFO] [stdout] 22: 0x59a1376eb626 - core::ops::function::FnOnce::call_once::he0d5a26e33c2443b [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 23: 0x59a13775e35b - core::ops::function::FnOnce::call_once::h70887edf07a630ba [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 24: 0x59a13775e35b - test::__rust_begin_short_backtrace::h27763c4cbbdb8601 [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/test/src/lib.rs:663:18 [INFO] [stdout] 25: 0x59a137773fc5 - test::run_test_in_process::{{closure}}::h4dc8bc6d5e3924d3 [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/test/src/lib.rs:686:74 [INFO] [stdout] 26: 0x59a137773fc5 - as core::ops::function::FnOnce<()>>::call_once::h75905e8ffe81974f [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 27: 0x59a137773fc5 - std::panicking::catch_unwind::do_call::h0bc60366ba66eba5 [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/panicking.rs:590:40 [INFO] [stdout] 28: 0x59a137773fc5 - std::panicking::catch_unwind::hae1ec7bf94407afa [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/panicking.rs:553:19 [INFO] [stdout] 29: 0x59a137773fc5 - std::panic::catch_unwind::h0f4ff4773d84d3cd [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/panic.rs:359:14 [INFO] [stdout] 30: 0x59a137773fc5 - test::run_test_in_process::h03fbc77ae48b3f10 [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/test/src/lib.rs:686:27 [INFO] [stdout] 31: 0x59a137773fc5 - test::run_test::{{closure}}::h83476a9c453dc4d3 [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/test/src/lib.rs:607:43 [INFO] [stdout] 32: 0x59a13774a7b4 - test::run_test::{{closure}}::h515482ad1e7fe7de [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/test/src/lib.rs:637:41 [INFO] [stdout] 33: 0x59a13774a7b4 - std::sys::backtrace::__rust_begin_short_backtrace::hed09f6ac5fe9d647 [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/sys/backtrace.rs:158:18 [INFO] [stdout] 34: 0x59a13774e07a - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h988e2cd969319888 [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/thread/mod.rs:559:17 [INFO] [stdout] 35: 0x59a13774e07a - as core::ops::function::FnOnce<()>>::call_once::hd70e28dc46ec20be [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 36: 0x59a13774e07a - std::panicking::catch_unwind::do_call::hdc29e11311eb7655 [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/panicking.rs:590:40 [INFO] [stdout] 37: 0x59a13774e07a - std::panicking::catch_unwind::h9e402d6a96fef41c [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/panicking.rs:553:19 [INFO] [stderr] error: test failed, to rerun pass `--bin gitbuddy` [INFO] [stdout] 38: 0x59a13774e07a - std::panic::catch_unwind::h9213c0c54aec70e0 [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/panic.rs:359:14 [INFO] [stdout] 39: 0x59a13774e07a - std::thread::Builder::spawn_unchecked_::{{closure}}::h6262965869ed2b87 [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/thread/mod.rs:557:30 [INFO] [stdout] 40: 0x59a13774e07a - core::ops::function::FnOnce::call_once{{vtable.shim}}::h05c05ed02619e462 [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 41: 0x59a1377a4a7f - as core::ops::function::FnOnce>::call_once::h2044e71c41d3958a [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/alloc/src/boxed.rs:1985:9 [INFO] [stdout] 42: 0x59a1377a4a7f - std::sys::thread::unix::Thread::new::thread_start::hf277835320aa8e5a [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/sys/thread/unix.rs:126:17 [INFO] [stdout] 43: 0x734773874aa4 - [INFO] [stdout] 44: 0x734773901a34 - clone [INFO] [stdout] 45: 0x0 - [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] ai::git::test::test_git_stage_diff [INFO] [stdout] [INFO] [stdout] test result: FAILED. 6 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.20s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "0d3874e4f1cbfaed5a6c1418e53f662dc7dc3ecefdf16e4ee13f6d2b7b92bfbe", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0d3874e4f1cbfaed5a6c1418e53f662dc7dc3ecefdf16e4ee13f6d2b7b92bfbe", kill_on_drop: false }` [INFO] [stdout] 0d3874e4f1cbfaed5a6c1418e53f662dc7dc3ecefdf16e4ee13f6d2b7b92bfbe