[INFO] cloning repository https://github.com/123hi123/how2cli
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/123hi123/how2cli" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2F123hi123%2Fhow2cli", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2F123hi123%2Fhow2cli'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] be7e46c102c0634ffcf350dfc1676a0c8b9e53e6
[INFO] checking 123hi123/how2cli against 6e4b95ed0735c3bbfb308e6f158f479b4d14f1aa for pr-159356
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2F123hi123%2Fhow2cli" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/123hi123/how2cli
[INFO] finished tweaking git repo https://github.com/123hi123/how2cli
[INFO] tweaked toml for git repo https://github.com/123hi123/how2cli written to /workspace/builds/worker-1-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/123hi123/how2cli on toolchain 6e4b95ed0735c3bbfb308e6f158f479b4d14f1aa
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+6e4b95ed0735c3bbfb308e6f158f479b4d14f1aa" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/123hi123/how2cli 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" "+6e4b95ed0735c3bbfb308e6f158f479b4d14f1aa" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr] warning: Cargo.toml: file `/workspace/builds/worker-1-tc2/source/src/main.rs` found to be present in multiple build targets:
[INFO] [stderr]   * `bin` target `h`
[INFO] [stderr]   * `bin` target `ht`
[INFO] [stderr] warning: `how2cli` (manifest) generated 1 warning
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:c36f533e8924a726b63f9d01e781fa8c8c28c96d1d595403829afb31452ee0f5" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 5a389e6fa25aac0753f1fddfd020c25c0cf03210991bd32c1d37e06ad9e716ba
[INFO] running `Command { std: "docker" "start" "5a389e6fa25aac0753f1fddfd020c25c0cf03210991bd32c1d37e06ad9e716ba", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "5a389e6fa25aac0753f1fddfd020c25c0cf03210991bd32c1d37e06ad9e716ba", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "5a389e6fa25aac0753f1fddfd020c25c0cf03210991bd32c1d37e06ad9e716ba" "/opt/rustwide/cargo-home/bin/cargo" "+6e4b95ed0735c3bbfb308e6f158f479b4d14f1aa" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "5a389e6fa25aac0753f1fddfd020c25c0cf03210991bd32c1d37e06ad9e716ba", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "5a389e6fa25aac0753f1fddfd020c25c0cf03210991bd32c1d37e06ad9e716ba" "/opt/rustwide/cargo-home/bin/cargo" "+6e4b95ed0735c3bbfb308e6f158f479b4d14f1aa" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr] warning: Cargo.toml: file `/opt/rustwide/workdir/src/main.rs` found to be present in multiple build targets:
[INFO] [stderr]   * `bin` target `h`
[INFO] [stderr]   * `bin` target `ht`
[INFO] [stderr] warning: `how2cli` (manifest) generated 1 warning
[INFO] [stderr]    Compiling proc-macro2 v1.0.106
[INFO] [stderr]    Compiling unicode-ident v1.0.24
[INFO] [stderr]    Compiling quote v1.0.45
[INFO] [stderr]    Compiling libc v0.2.183
[INFO] [stderr]     Checking smallvec v1.15.1
[INFO] [stderr]     Checking log v0.4.29
[INFO] [stderr]     Checking once_cell v1.21.4
[INFO] [stderr]     Checking bytes v1.11.1
[INFO] [stderr]     Checking pin-project-lite v0.2.17
[INFO] [stderr]     Checking bitflags v2.11.0
[INFO] [stderr]     Checking futures-core v0.3.32
[INFO] [stderr]     Checking memchr v2.8.0
[INFO] [stderr]    Compiling serde_core v1.0.228
[INFO] [stderr]    Compiling find-msvc-tools v0.1.9
[INFO] [stderr]    Compiling signal-hook v0.3.18
[INFO] [stderr]     Checking itoa v1.0.18
[INFO] [stderr]    Compiling vcpkg v0.2.15
[INFO] [stderr]    Compiling pkg-config v0.3.32
[INFO] [stderr]    Compiling unicode-segmentation v1.13.1
[INFO] [stderr]     Checking futures-sink v0.3.32
[INFO] [stderr]    Compiling serde v1.0.228
[INFO] [stderr]     Checking slab v0.4.12
[INFO] [stderr]    Compiling rustix v1.1.4
[INFO] [stderr]     Checking hashbrown v0.16.1
[INFO] [stderr]    Compiling cc v1.2.57
[INFO] [stderr]    Compiling crossbeam-utils v0.8.21
[INFO] [stderr]     Checking http v1.4.0
[INFO] [stderr]    Compiling icu_properties_data v2.1.2
[INFO] [stderr]     Checking linux-raw-sys v0.12.1
[INFO] [stderr]    Compiling litrs v1.0.0
[INFO] [stderr]     Checking tracing-core v0.1.36
[INFO] [stderr]    Compiling openssl v0.10.76
[INFO] [stderr]    Compiling convert_case v0.10.0
[INFO] [stderr]     Checking foreign-types-shared v0.1.1
[INFO] [stderr]     Checking futures-io v0.3.32
[INFO] [stderr]    Compiling cfg-if v1.0.4
[INFO] [stderr]     Checking indexmap v2.13.0
[INFO] [stderr]    Compiling httparse v1.10.1
[INFO] [stderr]    Compiling document-features v0.2.12
[INFO] [stderr]     Checking http-body v1.0.1
[INFO] [stderr]    Compiling scopeguard v1.2.0
[INFO] [stderr]     Checking futures-task v0.3.32
[INFO] [stderr]    Compiling syn v2.0.117
[INFO] [stderr]     Checking futures-util v0.3.32
[INFO] [stderr]    Compiling lock_api v0.4.14
[INFO] [stderr]     Checking tracing v0.1.44
[INFO] [stderr]     Checking foreign-types v0.3.2
[INFO] [stderr]    Compiling aho-corasick v1.1.4
[INFO] [stderr]     Checking atomic-waker v1.1.2
[INFO] [stderr]     Checking errno v0.3.14
[INFO] [stderr]     Checking mio v1.1.1
[INFO] [stderr]     Checking parking_lot_core v0.9.12
[INFO] [stderr]     Checking socket2 v0.6.3
[INFO] [stderr]     Checking tower-service v0.3.3
[INFO] [stderr]    Compiling regex-syntax v0.8.10
[INFO] [stderr]     Checking signal-hook-registry v1.4.8
[INFO] [stderr]     Checking parking_lot v0.12.5
[INFO] [stderr]    Compiling native-tls v0.2.18
[INFO] [stderr]     Checking try-lock v0.2.5
[INFO] [stderr]     Checking want v0.3.1
[INFO] [stderr]     Checking futures-channel v0.3.32
[INFO] [stderr]     Checking openssl-probe v0.2.1
[INFO] [stderr]    Compiling getrandom v0.4.2
[INFO] [stderr]    Compiling zmij v1.0.21
[INFO] [stderr]     Checking signal-hook-mio v0.2.5
[INFO] [stderr]    Compiling openssl-sys v0.9.112
[INFO] [stderr]     Checking anstyle-parse v1.0.0
[INFO] [stderr]     Checking crossbeam-epoch v0.9.18
[INFO] [stderr]     Checking form_urlencoded v1.2.2
[INFO] [stderr]     Checking sync_wrapper v1.0.2
[INFO] [stderr]    Compiling serde_json v1.0.149
[INFO] [stderr]     Checking colorchoice v1.0.5
[INFO] [stderr]     Checking anstyle v1.0.14
[INFO] [stderr]     Checking ipnet v2.12.0
[INFO] [stderr]     Checking tower-layer v0.3.3
[INFO] [stderr]     Checking zeroize v1.8.2
[INFO] [stderr]    Compiling strict v0.2.0
[INFO] [stderr]     Checking crossbeam-deque v0.8.6
[INFO] [stderr]     Checking anstream v1.0.0
[INFO] [stderr]     Checking http-body-util v0.1.3
[INFO] [stderr]     Checking crossbeam-channel v0.5.15
[INFO] [stderr]     Checking crossbeam-queue v0.3.12
[INFO] [stderr]     Checking thread_local v1.1.9
[INFO] [stderr]     Checking iri-string v0.7.11
[INFO] [stderr]     Checking ryu v1.0.23
[INFO] [stderr]     Checking clap_lex v1.1.0
[INFO] [stderr]     Checking winnow v0.7.15
[INFO] [stderr]     Checking toml_write v0.1.2
[INFO] [stderr]     Checking unicode-width v0.2.2
[INFO] [stderr]     Checking option-ext v0.2.0
[INFO] [stderr]     Checking fastrand v2.3.0
[INFO] [stderr]     Checking clap_builder v4.6.0
[INFO] [stderr]     Checking dirs-sys v0.5.0
[INFO] [stderr]     Checking fuzzy-matcher v0.3.7
[INFO] [stderr]     Checking rustls-pki-types v1.14.0
[INFO] [stderr]     Checking tempfile v3.27.0
[INFO] [stderr]     Checking console v0.15.11
[INFO] [stderr]     Checking minimad v0.13.1
[INFO] [stderr]     Checking crossbeam v0.8.4
[INFO] [stderr]     Checking encoding_rs v0.8.35
[INFO] [stderr]    Compiling regex-automata v0.4.14
[INFO] [stderr]     Checking unicode-width v0.1.14
[INFO] [stderr]     Checking shell-words v1.1.1
[INFO] [stderr]     Checking mime v0.3.17
[INFO] [stderr]     Checking dirs v6.0.0
[INFO] [stderr]     Checking dotenvy v0.15.7
[INFO] [stderr]     Checking colored v3.1.1
[INFO] [stderr]    Compiling synstructure v0.13.2
[INFO] [stderr]    Compiling zerofrom-derive v0.1.6
[INFO] [stderr]    Compiling yoke-derive v0.8.1
[INFO] [stderr]    Compiling zerovec-derive v0.11.2
[INFO] [stderr]    Compiling displaydoc v0.2.5
[INFO] [stderr]    Compiling tokio-macros v2.6.1
[INFO] [stderr]    Compiling serde_derive v1.0.228
[INFO] [stderr]    Compiling derive_more-impl v2.1.1
[INFO] [stderr]    Compiling openssl-macros v0.1.1
[INFO] [stderr]    Compiling thiserror-impl v1.0.69
[INFO] [stderr]    Compiling clap_derive v4.6.0
[INFO] [stderr]    Compiling regex v1.12.3
[INFO] [stderr]     Checking tokio v1.50.0
[INFO] [stderr]    Compiling lazy-regex-proc_macros v3.6.0
[INFO] [stderr]     Checking derive_more v2.1.1
[INFO] [stderr]    Compiling crossterm v0.29.0
[INFO] [stderr]     Checking zerofrom v0.1.6
[INFO] [stderr]     Checking yoke v0.8.1
[INFO] [stderr]     Checking thiserror v1.0.69
[INFO] [stderr]     Checking dialoguer v0.11.0
[INFO] [stderr]     Checking zerovec v0.11.5
[INFO] [stderr]     Checking zerotrie v0.2.3
[INFO] [stderr]     Checking lazy-regex v3.6.0
[INFO] [stderr]     Checking coolor v1.1.0
[INFO] [stderr]     Checking tinystr v0.8.2
[INFO] [stderr]     Checking potential_utf v0.1.4
[INFO] [stderr]     Checking clap v4.6.0
[INFO] [stderr]     Checking icu_collections v2.1.1
[INFO] [stderr]     Checking icu_locale_core v2.1.1
[INFO] [stderr]    Compiling crokey-proc_macros v1.4.0
[INFO] [stderr]     Checking icu_provider v2.1.1
[INFO] [stderr]     Checking icu_normalizer v2.1.1
[INFO] [stderr]     Checking icu_properties v2.1.2
[INFO] [stderr]     Checking toml_datetime v0.6.11
[INFO] [stderr]     Checking serde_spanned v0.6.9
[INFO] [stderr]     Checking serde_urlencoded v0.7.1
[INFO] [stderr]     Checking crokey v1.4.0
[INFO] [stderr]     Checking termimad v0.30.1
[INFO] [stderr]     Checking toml_edit v0.22.27
[INFO] [stderr]     Checking idna_adapter v1.2.1
[INFO] [stderr]     Checking idna v1.1.0
[INFO] [stderr]     Checking url v2.5.8
[INFO] [stderr]     Checking toml v0.8.23
[INFO] [stderr]     Checking tokio-util v0.7.18
[INFO] [stderr]     Checking tokio-native-tls v0.3.1
[INFO] [stderr]     Checking tower v0.5.3
[INFO] [stderr]     Checking tower-http v0.6.8
[INFO] [stderr]     Checking h2 v0.4.13
[INFO] [stderr]     Checking hyper v1.8.1
[INFO] [stderr]     Checking hyper-util v0.1.20
[INFO] [stderr]     Checking hyper-tls v0.6.0
[INFO] [stderr]     Checking reqwest v0.12.28
[INFO] [stderr]     Checking how2cli v0.3.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: fields `input_tokens` and `output_tokens` are never read
[INFO] [stdout]   --> src/api.rs:10:9
[INFO] [stdout]    |
[INFO] [stdout]  9 | pub struct TokenUsage {
[INFO] [stdout]    |            ---------- fields in this struct
[INFO] [stdout] 10 |     pub input_tokens: u64,
[INFO] [stdout]    |         ^^^^^^^^^^^^
[INFO] [stdout] 11 |     pub output_tokens: u64,
[INFO] [stdout]    |         ^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `TokenUsage` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `chat_completion_stream` is never used
[INFO] [stdout]   --> src/api.rs:60:14
[INFO] [stdout]    |
[INFO] [stdout] 60 | pub async fn chat_completion_stream(
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `list_models` is never used
[INFO] [stdout]    --> src/api.rs:162:14
[INFO] [stdout]     |
[INFO] [stdout] 162 | pub async fn list_models(
[INFO] [stdout]     |              ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple fields are never read
[INFO] [stdout]   --> src/config.rs:17:9
[INFO] [stdout]    |
[INFO] [stdout] 13 | pub struct Config {
[INFO] [stdout]    |            ------ fields in this struct
[INFO] [stdout] ...
[INFO] [stdout] 17 |     pub slow_model: String,
[INFO] [stdout]    |         ^^^^^^^^^^
[INFO] [stdout] 18 |     pub fast_timeout: u64,
[INFO] [stdout]    |         ^^^^^^^^^^^^
[INFO] [stdout] 19 |     pub slow_timeout: u64,
[INFO] [stdout]    |         ^^^^^^^^^^^^
[INFO] [stdout] 20 |     pub custom_prompt: String,
[INFO] [stdout]    |         ^^^^^^^^^^^^^
[INFO] [stdout] 21 |     pub session_limit: u64,
[INFO] [stdout]    |         ^^^^^^^^^^^^^
[INFO] [stdout] 22 |     pub modes: Vec<ModeConfig>,
[INFO] [stdout]    |         ^^^^^
[INFO] [stdout] 23 |     pub show_token_usage: bool,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^
[INFO] [stdout] 24 |     pub stream_output: bool,
[INFO] [stdout]    |         ^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Config` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `search_model` is never used
[INFO] [stdout]   --> src/config.rs:29:12
[INFO] [stdout]    |
[INFO] [stdout] 27 | impl Config {
[INFO] [stdout]    | ----------- method in this implementation
[INFO] [stdout] 28 |     /// Derived search model: fast_model + "-search"
[INFO] [stdout] 29 |     pub fn search_model(&self) -> String {
[INFO] [stdout]    |            ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `interactive_setup` is never used
[INFO] [stdout]    --> src/config.rs:150:8
[INFO] [stdout]     |
[INFO] [stdout] 150 | pub fn interactive_setup() {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `make_skin` is never used
[INFO] [stdout]  --> src/format.rs:5:4
[INFO] [stdout]   |
[INFO] [stdout] 5 | fn make_skin() -> MadSkin {
[INFO] [stdout]   |    ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `format_result` is never used
[INFO] [stdout]   --> src/format.rs:14:8
[INFO] [stdout]    |
[INFO] [stdout] 14 | pub fn format_result(command: &str, explanation: &str, show_explanation: bool) {
[INFO] [stdout]    |        ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `format_raw` is never used
[INFO] [stdout]   --> src/format.rs:31:8
[INFO] [stdout]    |
[INFO] [stdout] 31 | pub fn format_raw(command: &str) {
[INFO] [stdout]    |        ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `format_talk` is never used
[INFO] [stdout]   --> src/format.rs:36:8
[INFO] [stdout]    |
[INFO] [stdout] 36 | pub fn format_talk(response: &str) {
[INFO] [stdout]    |        ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `format_token_usage` is never used
[INFO] [stdout]   --> src/format.rs:47:8
[INFO] [stdout]    |
[INFO] [stdout] 47 | pub fn format_token_usage(input_tokens: u64, output_tokens: u64) {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `build_talk_prompt` is never used
[INFO] [stdout]  --> src/prompt.rs:3:8
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub fn build_talk_prompt(custom_prompt: &str) -> String {
[INFO] [stdout]   |        ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `build_search_prompt` is never used
[INFO] [stdout]   --> src/prompt.rs:29:8
[INFO] [stdout]    |
[INFO] [stdout] 29 | pub fn build_search_prompt(shell_ctx: &ShellContext, custom_prompt: &str) -> String {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Message` is never constructed
[INFO] [stdout]  --> src/session.rs:6:8
[INFO] [stdout]   |
[INFO] [stdout] 6 | struct Message {
[INFO] [stdout]   |        ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `session_dir` is never used
[INFO] [stdout]   --> src/session.rs:11:4
[INFO] [stdout]    |
[INFO] [stdout] 11 | fn session_dir() -> PathBuf {
[INFO] [stdout]    |    ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `sanitize_path` is never used
[INFO] [stdout]   --> src/session.rs:18:4
[INFO] [stdout]    |
[INFO] [stdout] 18 | fn sanitize_path(path: &str) -> String {
[INFO] [stdout]    |    ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `session_path` is never used
[INFO] [stdout]   --> src/session.rs:25:4
[INFO] [stdout]    |
[INFO] [stdout] 25 | fn session_path() -> PathBuf {
[INFO] [stdout]    |    ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `load_history` is never used
[INFO] [stdout]   --> src/session.rs:35:8
[INFO] [stdout]    |
[INFO] [stdout] 35 | pub fn load_history(limit: Option<usize>) -> Vec<(String, String)> {
[INFO] [stdout]    |        ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `append` is never used
[INFO] [stdout]   --> src/session.rs:80:8
[INFO] [stdout]    |
[INFO] [stdout] 80 | pub fn append(user_msg: &str, assistant_msg: &str) {
[INFO] [stdout]    |        ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `load_all_history` is never used
[INFO] [stdout]    --> src/session.rs:113:8
[INFO] [stdout]     |
[INFO] [stdout] 113 | pub fn load_all_history(limit: Option<usize>) -> Vec<(String, String)> {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `clear` is never used
[INFO] [stdout]    --> src/session.rs:157:8
[INFO] [stdout]     |
[INFO] [stdout] 157 | pub fn clear() {
[INFO] [stdout]     |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `input_tokens` and `output_tokens` are never read
[INFO] [stdout]   --> src/api.rs:10:9
[INFO] [stdout]    |
[INFO] [stdout]  9 | pub struct TokenUsage {
[INFO] [stdout]    |            ---------- fields in this struct
[INFO] [stdout] 10 |     pub input_tokens: u64,
[INFO] [stdout]    |         ^^^^^^^^^^^^
[INFO] [stdout] 11 |     pub output_tokens: u64,
[INFO] [stdout]    |         ^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `TokenUsage` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `chat_completion_stream` is never used
[INFO] [stdout]   --> src/api.rs:60:14
[INFO] [stdout]    |
[INFO] [stdout] 60 | pub async fn chat_completion_stream(
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `list_models` is never used
[INFO] [stdout]    --> src/api.rs:162:14
[INFO] [stdout]     |
[INFO] [stdout] 162 | pub async fn list_models(
[INFO] [stdout]     |              ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple fields are never read
[INFO] [stdout]   --> src/config.rs:17:9
[INFO] [stdout]    |
[INFO] [stdout] 13 | pub struct Config {
[INFO] [stdout]    |            ------ fields in this struct
[INFO] [stdout] ...
[INFO] [stdout] 17 |     pub slow_model: String,
[INFO] [stdout]    |         ^^^^^^^^^^
[INFO] [stdout] 18 |     pub fast_timeout: u64,
[INFO] [stdout]    |         ^^^^^^^^^^^^
[INFO] [stdout] 19 |     pub slow_timeout: u64,
[INFO] [stdout]    |         ^^^^^^^^^^^^
[INFO] [stdout] 20 |     pub custom_prompt: String,
[INFO] [stdout]    |         ^^^^^^^^^^^^^
[INFO] [stdout] 21 |     pub session_limit: u64,
[INFO] [stdout]    |         ^^^^^^^^^^^^^
[INFO] [stdout] 22 |     pub modes: Vec<ModeConfig>,
[INFO] [stdout]    |         ^^^^^
[INFO] [stdout] 23 |     pub show_token_usage: bool,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^
[INFO] [stdout] 24 |     pub stream_output: bool,
[INFO] [stdout]    |         ^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Config` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `search_model` is never used
[INFO] [stdout]   --> src/config.rs:29:12
[INFO] [stdout]    |
[INFO] [stdout] 27 | impl Config {
[INFO] [stdout]    | ----------- method in this implementation
[INFO] [stdout] 28 |     /// Derived search model: fast_model + "-search"
[INFO] [stdout] 29 |     pub fn search_model(&self) -> String {
[INFO] [stdout]    |            ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `interactive_setup` is never used
[INFO] [stdout]    --> src/config.rs:150:8
[INFO] [stdout]     |
[INFO] [stdout] 150 | pub fn interactive_setup() {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `make_skin` is never used
[INFO] [stdout]  --> src/format.rs:5:4
[INFO] [stdout]   |
[INFO] [stdout] 5 | fn make_skin() -> MadSkin {
[INFO] [stdout]   |    ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `format_result` is never used
[INFO] [stdout]   --> src/format.rs:14:8
[INFO] [stdout]    |
[INFO] [stdout] 14 | pub fn format_result(command: &str, explanation: &str, show_explanation: bool) {
[INFO] [stdout]    |        ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `format_raw` is never used
[INFO] [stdout]   --> src/format.rs:31:8
[INFO] [stdout]    |
[INFO] [stdout] 31 | pub fn format_raw(command: &str) {
[INFO] [stdout]    |        ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `format_talk` is never used
[INFO] [stdout]   --> src/format.rs:36:8
[INFO] [stdout]    |
[INFO] [stdout] 36 | pub fn format_talk(response: &str) {
[INFO] [stdout]    |        ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `format_token_usage` is never used
[INFO] [stdout]   --> src/format.rs:47:8
[INFO] [stdout]    |
[INFO] [stdout] 47 | pub fn format_token_usage(input_tokens: u64, output_tokens: u64) {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `build_talk_prompt` is never used
[INFO] [stdout]  --> src/prompt.rs:3:8
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub fn build_talk_prompt(custom_prompt: &str) -> String {
[INFO] [stdout]   |        ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `build_search_prompt` is never used
[INFO] [stdout]   --> src/prompt.rs:29:8
[INFO] [stdout]    |
[INFO] [stdout] 29 | pub fn build_search_prompt(shell_ctx: &ShellContext, custom_prompt: &str) -> String {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Message` is never constructed
[INFO] [stdout]  --> src/session.rs:6:8
[INFO] [stdout]   |
[INFO] [stdout] 6 | struct Message {
[INFO] [stdout]   |        ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `session_dir` is never used
[INFO] [stdout]   --> src/session.rs:11:4
[INFO] [stdout]    |
[INFO] [stdout] 11 | fn session_dir() -> PathBuf {
[INFO] [stdout]    |    ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `sanitize_path` is never used
[INFO] [stdout]   --> src/session.rs:18:4
[INFO] [stdout]    |
[INFO] [stdout] 18 | fn sanitize_path(path: &str) -> String {
[INFO] [stdout]    |    ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `session_path` is never used
[INFO] [stdout]   --> src/session.rs:25:4
[INFO] [stdout]    |
[INFO] [stdout] 25 | fn session_path() -> PathBuf {
[INFO] [stdout]    |    ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `load_history` is never used
[INFO] [stdout]   --> src/session.rs:35:8
[INFO] [stdout]    |
[INFO] [stdout] 35 | pub fn load_history(limit: Option<usize>) -> Vec<(String, String)> {
[INFO] [stdout]    |        ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `append` is never used
[INFO] [stdout]   --> src/session.rs:80:8
[INFO] [stdout]    |
[INFO] [stdout] 80 | pub fn append(user_msg: &str, assistant_msg: &str) {
[INFO] [stdout]    |        ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `load_all_history` is never used
[INFO] [stdout]    --> src/session.rs:113:8
[INFO] [stdout]     |
[INFO] [stdout] 113 | pub fn load_all_history(limit: Option<usize>) -> Vec<(String, String)> {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `clear` is never used
[INFO] [stdout]    --> src/session.rs:157:8
[INFO] [stdout]     |
[INFO] [stdout] 157 | pub fn clear() {
[INFO] [stdout]     |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `e`
[INFO] [stdout]    --> src/main.rs:409:25
[INFO] [stdout]     |
[INFO] [stdout] 409 |                     Err(e) if has_images => {
[INFO] [stdout]     |                         ^ help: if this is intentional, prefix it with an underscore: `_e`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `e`
[INFO] [stdout]    --> src/main.rs:409:25
[INFO] [stdout]     |
[INFO] [stdout] 409 |                     Err(e) if has_images => {
[INFO] [stdout]     |                         ^ help: if this is intentional, prefix it with an underscore: `_e`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `chat_completion` is never used
[INFO] [stdout]   --> src/api.rs:15:14
[INFO] [stdout]    |
[INFO] [stdout] 15 | pub async fn chat_completion(
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `chat_completion` is never used
[INFO] [stdout]   --> src/api.rs:15:14
[INFO] [stdout]    |
[INFO] [stdout] 15 | pub async fn chat_completion(
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `e`
[INFO] [stdout]    --> src/main.rs:409:25
[INFO] [stdout]     |
[INFO] [stdout] 409 |                     Err(e) if has_images => {
[INFO] [stdout]     |                         ^ help: if this is intentional, prefix it with an underscore: `_e`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `chat_completion` is never used
[INFO] [stdout]   --> src/api.rs:15:14
[INFO] [stdout]    |
[INFO] [stdout] 15 | pub async fn chat_completion(
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `e`
[INFO] [stdout]    --> src/main.rs:409:25
[INFO] [stdout]     |
[INFO] [stdout] 409 |                     Err(e) if has_images => {
[INFO] [stdout]     |                         ^ help: if this is intentional, prefix it with an underscore: `_e`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `chat_completion` is never used
[INFO] [stdout]   --> src/api.rs:15:14
[INFO] [stdout]    |
[INFO] [stdout] 15 | pub async fn chat_completion(
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 18.99s
[INFO] running `Command { std: "docker" "inspect" "5a389e6fa25aac0753f1fddfd020c25c0cf03210991bd32c1d37e06ad9e716ba", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "5a389e6fa25aac0753f1fddfd020c25c0cf03210991bd32c1d37e06ad9e716ba", kill_on_drop: false }`
[INFO] [stdout] 5a389e6fa25aac0753f1fddfd020c25c0cf03210991bd32c1d37e06ad9e716ba
