[INFO] fetching crate code-mesh-cli 0.1.0... [INFO] checking code-mesh-cli-0.1.0 against master#8c32e313cccf7df531e2d49ffb8227bb92304aee for pr-145608-1 [INFO] extracting crate code-mesh-cli 0.1.0 into /workspace/builds/worker-3-tc1/source [INFO] started tweaking crates.io crate code-mesh-cli 0.1.0 [INFO] finished tweaking crates.io crate code-mesh-cli 0.1.0 [INFO] tweaked toml for crates.io crate code-mesh-cli 0.1.0 written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate code-mesh-cli 0.1.0 on toolchain 8c32e313cccf7df531e2d49ffb8227bb92304aee [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate code-mesh-cli 0.1.0 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" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded rstest v0.22.0 [INFO] [stderr] Downloaded which v6.0.3 [INFO] [stderr] Downloaded terminal_size v0.3.0 [INFO] [stderr] Downloaded assert_fs v1.1.3 [INFO] [stderr] Downloaded markup5ever_rcdom v0.3.0 [INFO] [stderr] Downloaded markup5ever v0.12.1 [INFO] [stderr] Downloaded xml5ever v0.17.0 [INFO] [stderr] Downloaded html2md v0.2.15 [INFO] [stderr] Downloaded plist v1.7.4 [INFO] [stderr] Downloaded html5ever v0.27.0 [INFO] [stderr] Downloaded hyper-util v0.1.15 [INFO] [stderr] Downloaded quick-xml v0.38.0 [INFO] [stderr] Downloaded xml5ever v0.18.1 [INFO] [stderr] Downloaded tui-textarea v0.5.3 [INFO] [stderr] Downloaded markup5ever_rcdom v0.2.0 [INFO] [stderr] Downloaded mockall_derive v0.12.1 [INFO] [stderr] Downloaded code-mesh-core v0.1.0 [INFO] [stderr] Downloaded mockall v0.12.1 [INFO] [stderr] Downloaded rstest_macros v0.22.0 [INFO] [stderr] Downloaded scraper v0.18.1 [INFO] [stderr] Downloaded ratatui v0.27.0 [INFO] [stderr] Downloaded syntect v5.2.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ae4be7bb822e99e0b615c2996b0840119c0b0b3ae3dbc0948e94ae88cf5228de [INFO] running `Command { std: "docker" "start" "-a" "ae4be7bb822e99e0b615c2996b0840119c0b0b3ae3dbc0948e94ae88cf5228de", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ae4be7bb822e99e0b615c2996b0840119c0b0b3ae3dbc0948e94ae88cf5228de", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ae4be7bb822e99e0b615c2996b0840119c0b0b3ae3dbc0948e94ae88cf5228de", kill_on_drop: false }` [INFO] [stdout] ae4be7bb822e99e0b615c2996b0840119c0b0b3ae3dbc0948e94ae88cf5228de [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 618fcd64abce2ee9e67c1bf14181c2c3de54ff91039518018e9e152a391acf56 [INFO] running `Command { std: "docker" "start" "-a" "618fcd64abce2ee9e67c1bf14181c2c3de54ff91039518018e9e152a391acf56", kill_on_drop: false }` [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Checking parking_lot_core v0.9.11 [INFO] [stderr] Compiling siphasher v1.0.1 [INFO] [stderr] Checking signal-hook-registry v1.4.5 [INFO] [stderr] Compiling cc v1.2.29 [INFO] [stderr] Checking hashbrown v0.15.4 [INFO] [stderr] Checking yoke v0.8.0 [INFO] [stderr] Compiling phf_shared v0.10.0 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Checking tracing v0.1.41 [INFO] [stderr] Compiling rustversion v1.0.21 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking phf_shared v0.11.3 [INFO] [stderr] Checking parking_lot v0.12.4 [INFO] [stderr] Checking mio v0.8.11 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Checking phf v0.10.1 [INFO] [stderr] Compiling signal-hook v0.3.18 [INFO] [stderr] Checking rustix v1.0.8 [INFO] [stderr] Compiling time-macros v0.2.22 [INFO] [stderr] Checking zerovec v0.11.2 [INFO] [stderr] Checking zerotrie v0.2.2 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Checking string_cache v0.8.9 [INFO] [stderr] Checking tokio v1.46.1 [INFO] [stderr] Checking ahash v0.8.12 [INFO] [stderr] Compiling html5ever v0.27.0 [INFO] [stderr] Compiling rustix v0.38.44 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Checking signal-hook-mio v0.2.4 [INFO] [stderr] Checking itertools v0.13.0 [INFO] [stderr] Checking indexmap v2.10.0 [INFO] [stderr] Checking regex-automata v0.4.9 [INFO] [stderr] Compiling cssparser-macros v0.6.1 [INFO] [stderr] Checking castaway v0.2.4 [INFO] [stderr] Compiling strum_macros v0.26.4 [INFO] [stderr] Checking compact_str v0.7.1 [INFO] [stderr] Checking lru v0.12.5 [INFO] [stderr] Checking tinystr v0.8.1 [INFO] [stderr] Compiling phf_generator v0.11.3 [INFO] [stderr] Compiling phf_generator v0.10.0 [INFO] [stderr] Checking icu_locale_core v2.0.0 [INFO] [stderr] Checking potential_utf v0.1.2 [INFO] [stderr] Compiling phf_codegen v0.10.0 [INFO] [stderr] Compiling string_cache_codegen v0.5.4 [INFO] [stderr] Compiling phf_macros v0.11.3 [INFO] [stderr] Compiling openssl-sys v0.9.109 [INFO] [stderr] Compiling phf_codegen v0.11.3 [INFO] [stderr] Checking icu_collections v2.0.0 [INFO] [stderr] Compiling selectors v0.25.0 [INFO] [stderr] Checking tempfile v3.20.0 [INFO] [stderr] Compiling onig_sys v69.9.1 [INFO] [stderr] Checking time v0.3.41 [INFO] [stderr] Compiling libsqlite3-sys v0.28.0 [INFO] [stderr] Checking unicode-truncate v1.1.0 [INFO] [stderr] Compiling markup5ever v0.11.0 [INFO] [stderr] Compiling markup5ever v0.12.1 [INFO] [stderr] Compiling openssl v0.10.73 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Checking crossterm v0.27.0 [INFO] [stderr] Checking icu_provider v2.0.0 [INFO] [stderr] Checking phf v0.11.3 [INFO] [stderr] Checking regex v1.11.1 [INFO] [stderr] Checking bstr v1.12.0 [INFO] [stderr] Checking cssparser v0.31.2 [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Checking futures-executor v0.3.31 [INFO] [stderr] Checking icu_normalizer v2.0.0 [INFO] [stderr] Checking icu_properties v2.0.1 [INFO] [stderr] Checking console v0.15.11 [INFO] [stderr] Checking strum v0.26.3 [INFO] [stderr] Checking float-cmp v0.10.0 [INFO] [stderr] Checking servo_arc v0.3.0 [INFO] [stderr] Compiling cookie v0.18.1 [INFO] [stderr] Checking toml_datetime v0.6.11 [INFO] [stderr] Checking globset v0.4.16 [INFO] [stderr] Checking serde_spanned v0.6.9 [INFO] [stderr] Checking inotify-sys v0.1.5 [INFO] [stderr] Compiling stability v0.2.1 [INFO] [stderr] Compiling derive_more v0.99.20 [INFO] [stderr] Checking toml_write v0.1.2 [INFO] [stderr] Compiling portable-atomic v1.11.1 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Checking winnow v0.7.12 [INFO] [stderr] Checking ignore v0.4.23 [INFO] [stderr] Checking predicates v3.1.3 [INFO] [stderr] Checking dirs-sys v0.4.1 [INFO] [stderr] Checking clap_builder v4.5.41 [INFO] [stderr] Checking inotify v0.9.6 [INFO] [stderr] Checking hashlink v0.9.1 [INFO] [stderr] Checking idna_adapter v1.2.1 [INFO] [stderr] Checking futures v0.3.31 [INFO] [stderr] Compiling rstest_macros v0.22.0 [INFO] [stderr] Checking idna v1.0.3 [INFO] [stderr] Checking xml5ever v0.17.0 [INFO] [stderr] Checking xml5ever v0.18.1 [INFO] [stderr] Checking getopts v0.2.23 [INFO] [stderr] Checking url v2.5.4 [INFO] [stderr] Compiling clap_derive v4.5.41 [INFO] [stderr] Checking crossbeam-channel v0.5.15 [INFO] [stderr] Checking quick-xml v0.38.0 [INFO] [stderr] Checking is-docker v0.2.0 [INFO] [stderr] Checking filetime v0.2.25 [INFO] [stderr] Checking encoding_rs v0.8.35 [INFO] [stderr] Checking toml_edit v0.22.27 [INFO] [stderr] Checking tokio-util v0.7.15 [INFO] [stderr] Checking tower v0.5.2 [INFO] [stderr] Checking wait-timeout v0.2.1 [INFO] [stderr] Checking fallible-iterator v0.3.0 [INFO] [stderr] Checking similar v2.7.0 [INFO] [stderr] Checking yaml-rust v0.4.5 [INFO] [stderr] Checking markup5ever_rcdom v0.3.0 [INFO] [stderr] Checking tower-http v0.6.6 [INFO] [stderr] Checking h2 v0.4.11 [INFO] [stderr] Checking html2md v0.2.15 [INFO] [stderr] Checking hostname v0.3.1 [INFO] [stderr] Checking which v6.0.3 [INFO] [stderr] Checking chrono v0.4.41 [INFO] [stderr] Checking plist v1.7.4 [INFO] [stderr] Checking notify v6.1.1 [INFO] [stderr] Checking is-wsl v0.4.0 [INFO] [stderr] Checking dirs v5.0.1 [INFO] [stderr] Checking ratatui v0.27.0 [INFO] [stderr] Checking axum-core v0.4.5 [INFO] [stderr] Compiling html5ever v0.26.0 [INFO] [stderr] Checking onig v6.5.1 [INFO] [stderr] Checking itertools v0.12.1 [INFO] [stderr] Checking uuid v1.17.0 [INFO] [stderr] Checking serde_path_to_error v0.1.17 [INFO] [stderr] Checking bincode v1.3.3 [INFO] [stderr] Checking pathdiff v0.2.3 [INFO] [stderr] Compiling glob v0.3.2 [INFO] [stderr] Compiling relative-path v1.9.3 [INFO] [stderr] Checking criterion-plot v0.5.0 [INFO] [stderr] Checking clap v4.5.41 [INFO] [stderr] Checking indicatif v0.17.11 [INFO] [stderr] Checking dialoguer v0.11.0 [INFO] [stderr] Checking toml v0.8.23 [INFO] [stderr] Checking syntect v5.2.0 [INFO] [stderr] Checking tokio-native-tls v0.3.1 [INFO] [stderr] Checking rusty-fork v0.3.0 [INFO] [stderr] Checking open v5.3.2 [INFO] [stderr] Checking rayon v1.10.0 [INFO] [stderr] Checking globwalk v0.9.1 [INFO] [stderr] Checking terminal_size v0.3.0 [INFO] [stderr] Checking rand_xorshift v0.4.0 [INFO] [stderr] Checking rand_chacha v0.9.0 [INFO] [stderr] Checking rand v0.9.1 [INFO] [stderr] Checking tinytemplate v1.2.1 [INFO] [stderr] Checking tower-http v0.5.2 [INFO] [stderr] Compiling proc-macro-crate v3.3.0 [INFO] [stderr] Checking tower v0.4.13 [INFO] [stderr] Compiling mockall_derive v0.12.1 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking fragile v2.0.1 [INFO] [stderr] Checking proptest v1.7.0 [INFO] [stderr] Checking assert_fs v1.1.3 [INFO] [stderr] Checking tui-textarea v0.5.3 [INFO] [stderr] Checking ratatui v0.26.3 [INFO] [stderr] Checking assert_cmd v2.0.17 [INFO] [stderr] Checking insta v1.43.1 [INFO] [stderr] Checking markup5ever_rcdom v0.2.0 [INFO] [stderr] Checking scraper v0.18.1 [INFO] [stderr] Checking mockall v0.12.1 [INFO] [stderr] Checking criterion v0.5.1 [INFO] [stderr] Checking hyper v1.6.0 [INFO] [stderr] Checking hyper-util v0.1.15 [INFO] [stderr] Checking rstest v0.22.0 [INFO] [stderr] Checking rusqlite v0.31.0 [INFO] [stderr] Checking hyper-tls v0.6.0 [INFO] [stderr] Checking axum v0.7.9 [INFO] [stderr] Checking reqwest v0.12.22 [INFO] [stderr] Checking code-mesh-core v0.1.0 [INFO] [stderr] Checking code-mesh-cli v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Path` [INFO] [stdout] --> src/cmd/config.rs:7:17 [INFO] [stdout] | [INFO] [stdout] 7 | use std::path::{Path, PathBuf}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fmt` [INFO] [stdout] --> src/cmd/error.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::fmt; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `CliError` and `Config` [INFO] [stdout] --> src/cmd/models.rs:3:18 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::cmd::{CliError, Result, UI, Config}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Session` [INFO] [stdout] --> src/cmd/run.rs:5:15 [INFO] [stdout] | [INFO] [stdout] 5 | session::{Session, SessionManager, MessageRole as SessionMessageRole}, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::path::PathBuf` [INFO] [stdout] --> src/cmd/run.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use std::path::PathBuf; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Path` [INFO] [stdout] --> src/cmd/config.rs:7:17 [INFO] [stdout] | [INFO] [stdout] 7 | use std::path::{Path, PathBuf}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `CliError` [INFO] [stdout] --> src/cmd/status.rs:3:18 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::cmd::{CliError, Result, UI, Config}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::path::Path` [INFO] [stdout] --> src/cmd/status.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::path::Path; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> src/cmd/ui.rs:8:15 [INFO] [stdout] | [INFO] [stdout] 8 | use std::io::{self, Write}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `UI` [INFO] [stdout] --> src/cmd/utils.rs:3:36 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::cmd::{CliError, Result, UI}; [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fmt` [INFO] [stdout] --> src/cmd/error.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::fmt; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ProgressTracker` and `Theme` [INFO] [stdout] --> src/cmd/mod.rs:16:18 [INFO] [stdout] | [INFO] [stdout] 16 | pub use ui::{UI, Theme, ProgressTracker}; [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Profile` [INFO] [stdout] --> src/cmd/mod.rs:17:26 [INFO] [stdout] | [INFO] [stdout] 17 | pub use config::{Config, Profile}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `CliError` and `Config` [INFO] [stdout] --> src/cmd/models.rs:3:18 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::cmd::{CliError, Result, UI, Config}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Session` [INFO] [stdout] --> src/cmd/run.rs:5:15 [INFO] [stdout] | [INFO] [stdout] 5 | session::{Session, SessionManager, MessageRole as SessionMessageRole}, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::path::PathBuf` [INFO] [stdout] --> src/cmd/run.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use std::path::PathBuf; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `CliError` [INFO] [stdout] --> src/cmd/status.rs:3:18 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::cmd::{CliError, Result, UI, Config}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::path::Path` [INFO] [stdout] --> src/cmd/status.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::path::Path; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> src/cmd/ui.rs:8:15 [INFO] [stdout] | [INFO] [stdout] 8 | use std::io::{self, Write}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `UI` [INFO] [stdout] --> src/cmd/utils.rs:3:36 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::cmd::{CliError, Result, UI}; [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ProgressTracker` and `Theme` [INFO] [stdout] --> src/cmd/mod.rs:16:18 [INFO] [stdout] | [INFO] [stdout] 16 | pub use ui::{UI, Theme, ProgressTracker}; [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Profile` [INFO] [stdout] --> src/cmd/mod.rs:17:26 [INFO] [stdout] | [INFO] [stdout] 17 | pub use config::{Config, Profile}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `mode` [INFO] [stdout] --> src/cmd/run.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | mode: Option, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_mode` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `user_msg` [INFO] [stdout] --> src/cmd/run.rs:45:9 [INFO] [stdout] | [INFO] [stdout] 45 | let user_msg = session_manager.add_message( [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_user_msg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `assistant_msg` [INFO] [stdout] --> src/cmd/run.rs:105:9 [INFO] [stdout] | [INFO] [stdout] 105 | let assistant_msg = session_manager.add_message( [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_assistant_msg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/cmd/run.rs:31:9 [INFO] [stdout] | [INFO] [stdout] 31 | let mut session = if let Some(id) = session_id { [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `mode` [INFO] [stdout] --> src/cmd/run.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | mode: Option, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_mode` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `user_msg` [INFO] [stdout] --> src/cmd/run.rs:45:9 [INFO] [stdout] | [INFO] [stdout] 45 | let user_msg = session_manager.add_message( [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_user_msg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `assistant_msg` [INFO] [stdout] --> src/cmd/run.rs:105:9 [INFO] [stdout] | [INFO] [stdout] 105 | let assistant_msg = session_manager.add_message( [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_assistant_msg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/cmd/run.rs:31:9 [INFO] [stdout] | [INFO] [stdout] 31 | let mut session = if let Some(id) = session_id { [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `detailed` [INFO] [stdout] --> src/cmd/status.rs:374:43 [INFO] [stdout] | [INFO] [stdout] 374 | async fn display_auth_status(ui: &mut UI, detailed: bool) -> Result<()> { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_detailed` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `detailed` [INFO] [stdout] --> src/cmd/status.rs:374:43 [INFO] [stdout] | [INFO] [stdout] 374 | async fn display_auth_status(ui: &mut UI, detailed: bool) -> Result<()> { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_detailed` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `current_profile`, `current_profile_mut`, `set_profile`, `remove_profile`, `switch_profile`, and `reset` are never used [INFO] [stdout] --> src/cmd/config.rs:152:12 [INFO] [stdout] | [INFO] [stdout] 84 | impl Config { [INFO] [stdout] | ----------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 152 | pub fn current_profile(&self) -> Result<&Profile> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 159 | pub fn current_profile_mut(&mut self) -> Result<&mut Profile> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 167 | pub fn set_profile(&mut self, name: String, profile: Profile) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 172 | pub fn remove_profile(&mut self, name: &str) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 186 | pub fn switch_profile(&mut self, name: &str) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 229 | pub fn reset(&mut self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `effective_model` and `effective_provider` are never used [INFO] [stdout] --> src/cmd/config.rs:265:12 [INFO] [stdout] | [INFO] [stdout] 234 | impl Profile { [INFO] [stdout] | ------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 265 | pub fn effective_model(&self) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 271 | pub fn effective_provider(&self) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ConfigManager` is never constructed [INFO] [stdout] --> src/cmd/config.rs:278:12 [INFO] [stdout] | [INFO] [stdout] 278 | pub struct ConfigManager { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `config`, `config_mut`, `save`, `reload`, and `init` are never used [INFO] [stdout] --> src/cmd/config.rs:284:12 [INFO] [stdout] | [INFO] [stdout] 282 | impl ConfigManager { [INFO] [stdout] | ------------------ associated items in this implementation [INFO] [stdout] 283 | /// Create a new configuration manager [INFO] [stdout] 284 | pub fn new() -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 290 | pub fn config(&self) -> &Config { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 295 | pub fn config_mut(&mut self) -> &mut Config { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 300 | pub fn save(&self) -> Result<()> { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 305 | pub fn reload(&mut self) -> Result<()> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 311 | pub fn init(force: bool) -> Result<()> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple variants are never constructed [INFO] [stdout] --> src/cmd/error.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 11 | pub enum CliError { [INFO] [stdout] | -------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 19 | Auth(String), [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 22 | Session(String), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 25 | Network(String), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 34 | Cancelled, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 37 | Timeout, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 40 | CommandFailed(String), [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 46 | ModelNotFound(String), [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 49 | ProviderNotConfigured(String), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 58 | Http(String), [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CliError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `is_retryable` and `code` are never used [INFO] [stdout] --> src/cmd/error.rs:111:12 [INFO] [stdout] | [INFO] [stdout] 70 | impl CliError { [INFO] [stdout] | ------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 111 | pub fn is_retryable(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 119 | pub fn code(&self) -> &'static str { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `IntoCliError` is never used [INFO] [stdout] --> src/cmd/error.rs:143:11 [INFO] [stdout] | [INFO] [stdout] 143 | pub trait IntoCliError { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `id`, `description`, `supports_streaming`, and `supports_function_calling` are never read [INFO] [stdout] --> src/cmd/models.rs:86:5 [INFO] [stdout] | [INFO] [stdout] 85 | struct ModelInfo { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 86 | id: String, [INFO] [stdout] | ^^ [INFO] [stdout] ... [INFO] [stdout] 91 | description: Option, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 92 | supports_streaming: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 93 | supports_function_calling: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ModelInfo` 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: associated function `error` is never used [INFO] [stdout] --> src/cmd/serve.rs:239:8 [INFO] [stdout] | [INFO] [stdout] 229 | impl ApiResponse { [INFO] [stdout] | ---------------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 239 | fn error(message: String) -> Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `temperature` and `max_tokens` are never read [INFO] [stdout] --> src/cmd/serve.rs:268:5 [INFO] [stdout] | [INFO] [stdout] 264 | struct ChatRequest { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 268 | temperature: Option, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 269 | max_tokens: Option, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ChatRequest` 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 `name` is never read [INFO] [stdout] --> src/cmd/serve.rs:285:5 [INFO] [stdout] | [INFO] [stdout] 283 | struct CreateSessionRequest { [INFO] [stdout] | -------------------- field in this struct [INFO] [stdout] 284 | model: Option, [INFO] [stdout] 285 | name: Option, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CreateSessionRequest` 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 `rust_version` is never read [INFO] [stdout] --> src/cmd/status.rs:53:5 [INFO] [stdout] | [INFO] [stdout] 49 | struct SystemInfo { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 53 | rust_version: String, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SystemInfo` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> src/cmd/ui.rs:74:12 [INFO] [stdout] | [INFO] [stdout] 43 | impl UI { [INFO] [stdout] | ------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 74 | pub fn print(&mut self, message: &str) -> Result<()> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 121 | pub fn input(&self, message: &str, default: Option<&str>) -> Result { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 134 | pub fn password(&self, message: &str) -> Result { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 143 | pub fn select(&self, message: &str, items: &[T]) -> Result [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 169 | pub fn spinner(&self, message: &str) -> ProgressBar { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 183 | pub fn clear_line(&mut self) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 189 | pub fn is_tty(&self) -> bool { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ProgressTracker` is never constructed [INFO] [stdout] --> src/cmd/ui.rs:195:12 [INFO] [stdout] | [INFO] [stdout] 195 | pub struct ProgressTracker { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `inc`, `set_message`, `finish`, and `finish_with_message` are never used [INFO] [stdout] --> src/cmd/ui.rs:202:12 [INFO] [stdout] | [INFO] [stdout] 201 | impl ProgressTracker { [INFO] [stdout] | -------------------- associated items in this implementation [INFO] [stdout] 202 | pub fn new(total: u64, message: &str) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 212 | pub fn inc(&mut self, delta: u64) { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 217 | pub fn set_message(&self, message: &str) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 221 | pub fn finish(&self) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 225 | pub fn finish_with_message(&self, message: &str) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated functions are never used [INFO] [stdout] --> src/cmd/utils.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 12 | impl Utils { [INFO] [stdout] | ---------- associated functions in this implementation [INFO] [stdout] 13 | /// Get the current timestamp as a string [INFO] [stdout] 14 | pub fn timestamp() -> String { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 38 | pub fn run_command(command: &str, args: &[&str]) -> Result { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 58 | pub fn is_git_repo(path: &Path) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 64 | pub fn git_root(path: &Path) -> Option { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 74 | pub fn has_extension(path: &Path, ext: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 82 | pub fn file_size(path: &Path) -> Result { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 89 | pub fn format_size(size: u64) -> String { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 107 | pub fn format_duration(duration: Duration) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 120 | pub fn truncate(s: &str, max_len: usize) -> String { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 129 | pub fn terminal_width() -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 136 | pub fn supports_color() -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 143 | pub fn open_url(url: &str) -> Result<()> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 150 | pub fn is_valid_url(url: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 155 | pub fn backup_file(path: &Path) -> Result { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 173 | pub fn cleanup_backups(dir: &Path, keep_count: usize) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `is_project_root` is never used [INFO] [stdout] --> src/cmd/utils.rs:260:12 [INFO] [stdout] | [INFO] [stdout] 212 | impl ProjectDetector { [INFO] [stdout] | -------------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 260 | pub fn is_project_root(path: &Path) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `validate_model_name`, `validate_session_id`, and `validate_timeout` are never used [INFO] [stdout] --> src/cmd/utils.rs:270:12 [INFO] [stdout] | [INFO] [stdout] 268 | impl Validator { [INFO] [stdout] | -------------- associated functions in this implementation [INFO] [stdout] 269 | /// Validate model name format (provider/model) [INFO] [stdout] 270 | pub fn validate_model_name(model: &str) -> Result<(String, String)> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 291 | pub fn validate_session_id(session_id: &str) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 316 | pub fn validate_timeout(timeout: u64) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `current_profile`, `current_profile_mut`, `set_profile`, `remove_profile`, `switch_profile`, and `reset` are never used [INFO] [stdout] --> src/cmd/config.rs:152:12 [INFO] [stdout] | [INFO] [stdout] 84 | impl Config { [INFO] [stdout] | ----------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 152 | pub fn current_profile(&self) -> Result<&Profile> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 159 | pub fn current_profile_mut(&mut self) -> Result<&mut Profile> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 167 | pub fn set_profile(&mut self, name: String, profile: Profile) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 172 | pub fn remove_profile(&mut self, name: &str) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 186 | pub fn switch_profile(&mut self, name: &str) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 229 | pub fn reset(&mut self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `effective_model` and `effective_provider` are never used [INFO] [stdout] --> src/cmd/config.rs:265:12 [INFO] [stdout] | [INFO] [stdout] 234 | impl Profile { [INFO] [stdout] | ------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 265 | pub fn effective_model(&self) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 271 | pub fn effective_provider(&self) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ConfigManager` is never constructed [INFO] [stdout] --> src/cmd/config.rs:278:12 [INFO] [stdout] | [INFO] [stdout] 278 | pub struct ConfigManager { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `config`, `config_mut`, `save`, `reload`, and `init` are never used [INFO] [stdout] --> src/cmd/config.rs:284:12 [INFO] [stdout] | [INFO] [stdout] 282 | impl ConfigManager { [INFO] [stdout] | ------------------ associated items in this implementation [INFO] [stdout] 283 | /// Create a new configuration manager [INFO] [stdout] 284 | pub fn new() -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 290 | pub fn config(&self) -> &Config { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 295 | pub fn config_mut(&mut self) -> &mut Config { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 300 | pub fn save(&self) -> Result<()> { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 305 | pub fn reload(&mut self) -> Result<()> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 311 | pub fn init(force: bool) -> Result<()> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple variants are never constructed [INFO] [stdout] --> src/cmd/error.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 11 | pub enum CliError { [INFO] [stdout] | -------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 19 | Auth(String), [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 22 | Session(String), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 25 | Network(String), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 34 | Cancelled, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 37 | Timeout, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 40 | CommandFailed(String), [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 46 | ModelNotFound(String), [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 49 | ProviderNotConfigured(String), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 58 | Http(String), [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CliError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `is_retryable` and `code` are never used [INFO] [stdout] --> src/cmd/error.rs:111:12 [INFO] [stdout] | [INFO] [stdout] 70 | impl CliError { [INFO] [stdout] | ------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 111 | pub fn is_retryable(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 119 | pub fn code(&self) -> &'static str { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `IntoCliError` is never used [INFO] [stdout] --> src/cmd/error.rs:143:11 [INFO] [stdout] | [INFO] [stdout] 143 | pub trait IntoCliError { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `id`, `description`, `supports_streaming`, and `supports_function_calling` are never read [INFO] [stdout] --> src/cmd/models.rs:86:5 [INFO] [stdout] | [INFO] [stdout] 85 | struct ModelInfo { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 86 | id: String, [INFO] [stdout] | ^^ [INFO] [stdout] ... [INFO] [stdout] 91 | description: Option, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 92 | supports_streaming: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 93 | supports_function_calling: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ModelInfo` 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: associated function `error` is never used [INFO] [stdout] --> src/cmd/serve.rs:239:8 [INFO] [stdout] | [INFO] [stdout] 229 | impl ApiResponse { [INFO] [stdout] | ---------------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 239 | fn error(message: String) -> Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `temperature` and `max_tokens` are never read [INFO] [stdout] --> src/cmd/serve.rs:268:5 [INFO] [stdout] | [INFO] [stdout] 264 | struct ChatRequest { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 268 | temperature: Option, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 269 | max_tokens: Option, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ChatRequest` 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 `name` is never read [INFO] [stdout] --> src/cmd/serve.rs:285:5 [INFO] [stdout] | [INFO] [stdout] 283 | struct CreateSessionRequest { [INFO] [stdout] | -------------------- field in this struct [INFO] [stdout] 284 | model: Option, [INFO] [stdout] 285 | name: Option, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CreateSessionRequest` 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 `rust_version` is never read [INFO] [stdout] --> src/cmd/status.rs:53:5 [INFO] [stdout] | [INFO] [stdout] 49 | struct SystemInfo { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 53 | rust_version: String, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SystemInfo` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> src/cmd/ui.rs:74:12 [INFO] [stdout] | [INFO] [stdout] 43 | impl UI { [INFO] [stdout] | ------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 74 | pub fn print(&mut self, message: &str) -> Result<()> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 121 | pub fn input(&self, message: &str, default: Option<&str>) -> Result { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 134 | pub fn password(&self, message: &str) -> Result { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 143 | pub fn select(&self, message: &str, items: &[T]) -> Result [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 169 | pub fn spinner(&self, message: &str) -> ProgressBar { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 183 | pub fn clear_line(&mut self) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 189 | pub fn is_tty(&self) -> bool { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ProgressTracker` is never constructed [INFO] [stdout] --> src/cmd/ui.rs:195:12 [INFO] [stdout] | [INFO] [stdout] 195 | pub struct ProgressTracker { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `inc`, `set_message`, `finish`, and `finish_with_message` are never used [INFO] [stdout] --> src/cmd/ui.rs:202:12 [INFO] [stdout] | [INFO] [stdout] 201 | impl ProgressTracker { [INFO] [stdout] | -------------------- associated items in this implementation [INFO] [stdout] 202 | pub fn new(total: u64, message: &str) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 212 | pub fn inc(&mut self, delta: u64) { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 217 | pub fn set_message(&self, message: &str) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 221 | pub fn finish(&self) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 225 | pub fn finish_with_message(&self, message: &str) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated functions are never used [INFO] [stdout] --> src/cmd/utils.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 12 | impl Utils { [INFO] [stdout] | ---------- associated functions in this implementation [INFO] [stdout] 13 | /// Get the current timestamp as a string [INFO] [stdout] 14 | pub fn timestamp() -> String { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 38 | pub fn run_command(command: &str, args: &[&str]) -> Result { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 58 | pub fn is_git_repo(path: &Path) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 64 | pub fn git_root(path: &Path) -> Option { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 74 | pub fn has_extension(path: &Path, ext: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 82 | pub fn file_size(path: &Path) -> Result { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 89 | pub fn format_size(size: u64) -> String { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 107 | pub fn format_duration(duration: Duration) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 120 | pub fn truncate(s: &str, max_len: usize) -> String { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 129 | pub fn terminal_width() -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 136 | pub fn supports_color() -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 143 | pub fn open_url(url: &str) -> Result<()> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 150 | pub fn is_valid_url(url: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 155 | pub fn backup_file(path: &Path) -> Result { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 173 | pub fn cleanup_backups(dir: &Path, keep_count: usize) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `is_project_root` is never used [INFO] [stdout] --> src/cmd/utils.rs:260:12 [INFO] [stdout] | [INFO] [stdout] 212 | impl ProjectDetector { [INFO] [stdout] | -------------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 260 | pub fn is_project_root(path: &Path) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `validate_model_name`, `validate_session_id`, and `validate_timeout` are never used [INFO] [stdout] --> src/cmd/utils.rs:270:12 [INFO] [stdout] | [INFO] [stdout] 268 | impl Validator { [INFO] [stdout] | -------------- associated functions in this implementation [INFO] [stdout] 269 | /// Validate model name format (provider/model) [INFO] [stdout] 270 | pub fn validate_model_name(model: &str) -> Result<(String, String)> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 291 | pub fn validate_session_id(session_id: &str) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 316 | pub fn validate_timeout(timeout: u64) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 23s [INFO] running `Command { std: "docker" "inspect" "618fcd64abce2ee9e67c1bf14181c2c3de54ff91039518018e9e152a391acf56", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "618fcd64abce2ee9e67c1bf14181c2c3de54ff91039518018e9e152a391acf56", kill_on_drop: false }` [INFO] [stdout] 618fcd64abce2ee9e67c1bf14181c2c3de54ff91039518018e9e152a391acf56