[INFO] cloning repository https://github.com/KayanoLiam/spark_cli [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/KayanoLiam/spark_cli" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKayanoLiam%2Fspark_cli", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKayanoLiam%2Fspark_cli'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 02efb4a345fef9484ae31cf505f5da68cb677cf5 [INFO] building KayanoLiam/spark_cli against master#c7f6aa2869acdbf014d094c6e427e554e160b6db for pr-146237-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKayanoLiam%2Fspark_cli" "/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/KayanoLiam/spark_cli [INFO] finished tweaking git repo https://github.com/KayanoLiam/spark_cli [INFO] tweaked toml for git repo https://github.com/KayanoLiam/spark_cli written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/KayanoLiam/spark_cli on toolchain c7f6aa2869acdbf014d094c6e427e554e160b6db [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/KayanoLiam/spark_cli 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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded lru-slab v0.1.2 [INFO] [stderr] Downloaded thread_local v1.1.9 [INFO] [stderr] Downloaded libredox v0.1.9 [INFO] [stderr] Downloaded shell-words v1.1.0 [INFO] [stderr] Downloaded hyper-util v0.1.16 [INFO] [stderr] Downloaded clap_derive v4.5.41 [INFO] [stderr] Downloaded quinn-udp v0.5.13 [INFO] [stderr] Downloaded clap v4.5.43 [INFO] [stderr] Downloaded dialoguer v0.11.0 [INFO] [stderr] Downloaded rand v0.9.2 [INFO] [stderr] Downloaded quinn v0.11.8 [INFO] [stderr] Downloaded portable-atomic v1.11.1 [INFO] [stderr] Downloaded clap_builder v4.5.43 [INFO] [stderr] Downloaded quinn-proto v0.11.12 [INFO] [stderr] Downloaded reqwest v0.12.22 [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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 60fb52729f1583798838f7552ee01d66f010dc18c77b7155e2598d938c86de8a [INFO] running `Command { std: "docker" "start" "-a" "60fb52729f1583798838f7552ee01d66f010dc18c77b7155e2598d938c86de8a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "60fb52729f1583798838f7552ee01d66f010dc18c77b7155e2598d938c86de8a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "60fb52729f1583798838f7552ee01d66f010dc18c77b7155e2598d938c86de8a", kill_on_drop: false }` [INFO] [stdout] 60fb52729f1583798838f7552ee01d66f010dc18c77b7155e2598d938c86de8a [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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2c67d4ca1fe0345b5e9a48d3cd98216e5559eed7d69bd908ecb0fb103e8ffa18 [INFO] running `Command { std: "docker" "start" "-a" "2c67d4ca1fe0345b5e9a48d3cd98216e5559eed7d69bd908ecb0fb103e8ffa18", 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 stable_deref_trait v1.2.0 [INFO] [stderr] Compiling once_cell v1.21.3 [INFO] [stderr] Compiling bytes v1.10.1 [INFO] [stderr] Compiling cfg-if v1.0.1 [INFO] [stderr] Compiling futures-core v0.3.31 [INFO] [stderr] Compiling itoa v1.0.15 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling litemap v0.8.0 [INFO] [stderr] Compiling zeroize v1.8.1 [INFO] [stderr] Compiling writeable v0.6.1 [INFO] [stderr] Compiling cc v1.2.32 [INFO] [stderr] Compiling icu_normalizer_data v2.0.0 [INFO] [stderr] Compiling futures-task v0.3.31 [INFO] [stderr] Compiling icu_properties_data v2.0.1 [INFO] [stderr] Compiling slab v0.4.11 [INFO] [stderr] Compiling memchr v2.7.5 [INFO] [stderr] Compiling rustls-pki-types v1.12.0 [INFO] [stderr] Compiling httparse v1.10.1 [INFO] [stderr] Compiling bitflags v2.9.1 [INFO] [stderr] Compiling tracing-core v0.1.34 [INFO] [stderr] Compiling rustls v0.23.31 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling subtle v2.6.1 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling rustix v1.0.8 [INFO] [stderr] Compiling autocfg v1.5.0 [INFO] [stderr] Compiling utf8parse v0.2.2 [INFO] [stderr] Compiling sync_wrapper v1.0.2 [INFO] [stderr] Compiling http v1.3.1 [INFO] [stderr] Compiling anstyle-parse v0.2.7 [INFO] [stderr] Compiling portable-atomic v1.11.1 [INFO] [stderr] Compiling log v0.4.27 [INFO] [stderr] Compiling unicode-width v0.2.1 [INFO] [stderr] Compiling colorchoice v1.0.4 [INFO] [stderr] Compiling ryu v1.0.20 [INFO] [stderr] Compiling tower-layer v0.3.3 [INFO] [stderr] Compiling anstyle v1.0.11 [INFO] [stderr] Compiling linux-raw-sys v0.9.4 [INFO] [stderr] Compiling ipnet v2.11.0 [INFO] [stderr] Compiling serde_json v1.0.142 [INFO] [stderr] Compiling hashbrown v0.15.5 [INFO] [stderr] Compiling utf8_iter v1.0.4 [INFO] [stderr] Compiling is_terminal_polyfill v1.70.1 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling regex-syntax v0.6.29 [INFO] [stderr] Compiling equivalent v1.0.2 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling base64 v0.22.1 [INFO] [stderr] Compiling anstyle-query v1.1.4 [INFO] [stderr] Compiling webpki-roots v1.0.2 [INFO] [stderr] Compiling anstream v0.6.20 [INFO] [stderr] Compiling overload v0.1.1 [INFO] [stderr] Compiling clap_lex v0.7.5 [INFO] [stderr] Compiling futures-sink v0.3.31 [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Compiling mio v1.0.4 [INFO] [stderr] Compiling socket2 v0.6.0 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling console v0.15.11 [INFO] [stderr] Compiling strsim v0.11.1 [INFO] [stderr] Compiling http-body v1.0.1 [INFO] [stderr] Compiling winnow v0.7.12 [INFO] [stderr] Compiling option-ext v0.2.0 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Compiling anyhow v1.0.98 [INFO] [stderr] Compiling fastrand v2.3.0 [INFO] [stderr] Compiling indexmap v2.10.0 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Compiling iri-string v0.7.8 [INFO] [stderr] Compiling toml_write v0.1.2 [INFO] [stderr] Compiling clap_builder v4.5.43 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Compiling sharded-slab v0.1.7 [INFO] [stderr] Compiling dirs-sys v0.4.1 [INFO] [stderr] Compiling http-body-util v0.1.3 [INFO] [stderr] Compiling nu-ansi-term v0.46.0 [INFO] [stderr] Compiling tracing-log v0.2.0 [INFO] [stderr] Compiling thread_local v1.1.9 [INFO] [stderr] Compiling number_prefix v0.4.0 [INFO] [stderr] Compiling shell-words v1.1.0 [INFO] [stderr] Compiling iana-time-zone v0.1.63 [INFO] [stderr] Compiling dirs v5.0.1 [INFO] [stderr] Compiling indicatif v0.17.11 [INFO] [stderr] Compiling chrono v0.4.41 [INFO] [stderr] Compiling regex-automata v0.1.10 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling tempfile v3.20.0 [INFO] [stderr] Compiling matchers v0.1.0 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling zerovec-derive v0.11.1 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling tracing-attributes v0.1.30 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling clap_derive v4.5.41 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.0 [INFO] [stderr] Compiling rustls-webpki v0.103.4 [INFO] [stderr] Compiling tokio v1.47.1 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling yoke v0.8.0 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling dialoguer v0.11.0 [INFO] [stderr] Compiling tracing-subscriber v0.3.19 [INFO] [stderr] Compiling zerovec v0.11.4 [INFO] [stderr] Compiling zerotrie v0.2.2 [INFO] [stderr] Compiling clap v4.5.43 [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 icu_provider v2.0.0 [INFO] [stderr] Compiling icu_normalizer v2.0.0 [INFO] [stderr] Compiling icu_properties v2.0.1 [INFO] [stderr] Compiling hyper v1.6.0 [INFO] [stderr] Compiling tower v0.5.2 [INFO] [stderr] Compiling tokio-rustls v0.26.2 [INFO] [stderr] Compiling tokio-util v0.7.16 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling idna v1.0.3 [INFO] [stderr] Compiling tower-http v0.6.6 [INFO] [stderr] Compiling url v2.5.4 [INFO] [stderr] Compiling hyper-util v0.1.16 [INFO] [stderr] Compiling serde_spanned v0.6.9 [INFO] [stderr] Compiling toml_datetime v0.6.11 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling toml_edit v0.22.27 [INFO] [stderr] Compiling hyper-rustls v0.27.7 [INFO] [stderr] Compiling reqwest v0.12.22 [INFO] [stderr] Compiling toml v0.8.23 [INFO] [stderr] Compiling spark_cli v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `choose_best_block` [INFO] [stdout] --> src/cli/commands.rs:13:47 [INFO] [stdout] | [INFO] [stdout] 13 | use crate::utils::code::{extract_code_blocks, choose_best_block, guess_ext_from_lang}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `HttpClient` is never constructed [INFO] [stdout] --> src/api/client.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct HttpClient { [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/api/client.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 9 | impl HttpClient { [INFO] [stdout] | --------------- associated function in this implementation [INFO] [stdout] 10 | pub fn new() -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Provider` is never used [INFO] [stdout] --> src/api/providers.rs:2:10 [INFO] [stdout] | [INFO] [stdout] 2 | pub enum Provider { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `from_str` is never used [INFO] [stdout] --> src/api/providers.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 10 | impl Provider { [INFO] [stdout] | ------------- associated function in this implementation [INFO] [stdout] 11 | pub fn from_str(value: &str) -> Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ChatResponse` is never constructed [INFO] [stdout] --> src/api/models.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 18 | pub struct ChatResponse { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `content` is never read [INFO] [stdout] --> src/api/openai_compat.rs:55:28 [INFO] [stdout] | [INFO] [stdout] 55 | struct OaChoiceDelta { content: Option } [INFO] [stdout] | ------------- ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = note: `OaChoiceDelta` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `delta` is never read [INFO] [stdout] --> src/api/openai_compat.rs:59:23 [INFO] [stdout] | [INFO] [stdout] 59 | struct OaChoice { delta: Option, message: Option } [INFO] [stdout] | -------- ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = note: `OaChoice` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `load` is never used [INFO] [stdout] --> src/config/settings.rs:71:12 [INFO] [stdout] | [INFO] [stdout] 44 | impl Settings { [INFO] [stdout] | ------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 71 | pub fn load() -> Result { Self::load_with(None, None) } [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `success` is never used [INFO] [stdout] --> src/utils/format.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn success(msg: &str) -> String { style(msg).green().to_string() } [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `warn` is never used [INFO] [stdout] --> src/utils/format.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn warn(msg: &str) -> String { style(msg).yellow().to_string() } [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `error` is never used [INFO] [stdout] --> src/utils/format.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn error(msg: &str) -> String { style(msg).red().to_string() } [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 27s [INFO] running `Command { std: "docker" "inspect" "2c67d4ca1fe0345b5e9a48d3cd98216e5559eed7d69bd908ecb0fb103e8ffa18", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2c67d4ca1fe0345b5e9a48d3cd98216e5559eed7d69bd908ecb0fb103e8ffa18", kill_on_drop: false }` [INFO] [stdout] 2c67d4ca1fe0345b5e9a48d3cd98216e5559eed7d69bd908ecb0fb103e8ffa18 [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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7e6cdc1a044e3b57a0e6a35e6639f54a267bf54ea031d723c1313951e99a69a2 [INFO] running `Command { std: "docker" "start" "-a" "7e6cdc1a044e3b57a0e6a35e6639f54a267bf54ea031d723c1313951e99a69a2", kill_on_drop: false }` [INFO] [stderr] Compiling spark_cli v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `choose_best_block` [INFO] [stdout] --> src/cli/commands.rs:13:47 [INFO] [stdout] | [INFO] [stdout] 13 | use crate::utils::code::{extract_code_blocks, choose_best_block, guess_ext_from_lang}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `HttpClient` is never constructed [INFO] [stdout] --> src/api/client.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct HttpClient { [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/api/client.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 9 | impl HttpClient { [INFO] [stdout] | --------------- associated function in this implementation [INFO] [stdout] 10 | pub fn new() -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Provider` is never used [INFO] [stdout] --> src/api/providers.rs:2:10 [INFO] [stdout] | [INFO] [stdout] 2 | pub enum Provider { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `from_str` is never used [INFO] [stdout] --> src/api/providers.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 10 | impl Provider { [INFO] [stdout] | ------------- associated function in this implementation [INFO] [stdout] 11 | pub fn from_str(value: &str) -> Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ChatResponse` is never constructed [INFO] [stdout] --> src/api/models.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 18 | pub struct ChatResponse { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `content` is never read [INFO] [stdout] --> src/api/openai_compat.rs:55:28 [INFO] [stdout] | [INFO] [stdout] 55 | struct OaChoiceDelta { content: Option } [INFO] [stdout] | ------------- ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = note: `OaChoiceDelta` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `delta` is never read [INFO] [stdout] --> src/api/openai_compat.rs:59:23 [INFO] [stdout] | [INFO] [stdout] 59 | struct OaChoice { delta: Option, message: Option } [INFO] [stdout] | -------- ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = note: `OaChoice` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `load` is never used [INFO] [stdout] --> src/config/settings.rs:71:12 [INFO] [stdout] | [INFO] [stdout] 44 | impl Settings { [INFO] [stdout] | ------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 71 | pub fn load() -> Result { Self::load_with(None, None) } [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `success` is never used [INFO] [stdout] --> src/utils/format.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn success(msg: &str) -> String { style(msg).green().to_string() } [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `warn` is never used [INFO] [stdout] --> src/utils/format.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn warn(msg: &str) -> String { style(msg).yellow().to_string() } [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `error` is never used [INFO] [stdout] --> src/utils/format.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn error(msg: &str) -> String { style(msg).red().to_string() } [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `choose_best_block` [INFO] [stdout] --> src/cli/commands.rs:13:47 [INFO] [stdout] | [INFO] [stdout] 13 | use crate::utils::code::{extract_code_blocks, choose_best_block, guess_ext_from_lang}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `HttpClient` is never constructed [INFO] [stdout] --> src/api/client.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct HttpClient { [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/api/client.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 9 | impl HttpClient { [INFO] [stdout] | --------------- associated function in this implementation [INFO] [stdout] 10 | pub fn new() -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Provider` is never used [INFO] [stdout] --> src/api/providers.rs:2:10 [INFO] [stdout] | [INFO] [stdout] 2 | pub enum Provider { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `from_str` is never used [INFO] [stdout] --> src/api/providers.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 10 | impl Provider { [INFO] [stdout] | ------------- associated function in this implementation [INFO] [stdout] 11 | pub fn from_str(value: &str) -> Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ChatResponse` is never constructed [INFO] [stdout] --> src/api/models.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 18 | pub struct ChatResponse { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `content` is never read [INFO] [stdout] --> src/api/openai_compat.rs:55:28 [INFO] [stdout] | [INFO] [stdout] 55 | struct OaChoiceDelta { content: Option } [INFO] [stdout] | ------------- ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = note: `OaChoiceDelta` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `delta` is never read [INFO] [stdout] --> src/api/openai_compat.rs:59:23 [INFO] [stdout] | [INFO] [stdout] 59 | struct OaChoice { delta: Option, message: Option } [INFO] [stdout] | -------- ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = note: `OaChoice` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `load` is never used [INFO] [stdout] --> src/config/settings.rs:71:12 [INFO] [stdout] | [INFO] [stdout] 44 | impl Settings { [INFO] [stdout] | ------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 71 | pub fn load() -> Result { Self::load_with(None, None) } [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `success` is never used [INFO] [stdout] --> src/utils/format.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn success(msg: &str) -> String { style(msg).green().to_string() } [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `warn` is never used [INFO] [stdout] --> src/utils/format.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn warn(msg: &str) -> String { style(msg).yellow().to_string() } [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `error` is never used [INFO] [stdout] --> src/utils/format.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn error(msg: &str) -> String { style(msg).red().to_string() } [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 4.27s [INFO] running `Command { std: "docker" "inspect" "7e6cdc1a044e3b57a0e6a35e6639f54a267bf54ea031d723c1313951e99a69a2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7e6cdc1a044e3b57a0e6a35e6639f54a267bf54ea031d723c1313951e99a69a2", kill_on_drop: false }` [INFO] [stdout] 7e6cdc1a044e3b57a0e6a35e6639f54a267bf54ea031d723c1313951e99a69a2