[INFO] cloning repository https://github.com/RLabs-Inc/one-claude [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/RLabs-Inc/one-claude" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FRLabs-Inc%2Fone-claude", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FRLabs-Inc%2Fone-claude'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 4cfa1a69c7ac1a0e7323b884908f853e30663eb0 [INFO] building RLabs-Inc/one-claude against master#ad85bc524b1ad696e42061ad8338d382dffbdbe5 for pr-146237-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FRLabs-Inc%2Fone-claude" "/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/RLabs-Inc/one-claude [INFO] finished tweaking git repo https://github.com/RLabs-Inc/one-claude [INFO] tweaked toml for git repo https://github.com/RLabs-Inc/one-claude written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/RLabs-Inc/one-claude on toolchain ad85bc524b1ad696e42061ad8338d382dffbdbe5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/RLabs-Inc/one-claude 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" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded simple-easing v1.0.1 [INFO] [stderr] Downloaded strip-ansi-escapes v0.2.1 [INFO] [stderr] Downloaded vte v0.14.1 [INFO] [stderr] Downloaded tui-textarea v0.6.1 [INFO] [stderr] Downloaded avif-serialize v0.8.4 [INFO] [stderr] Downloaded ansi-to-tui v6.0.1 [INFO] [stderr] Downloaded getopts v0.2.23 [INFO] [stderr] Downloaded zune-jpeg v0.4.18 [INFO] [stderr] Downloaded ratatui-image v1.0.5 [INFO] [stderr] Downloaded reqwest-eventsource v0.6.0 [INFO] [stderr] Downloaded bon-macros v2.3.0 [INFO] [stderr] Downloaded bon v2.3.0 [INFO] [stderr] Downloaded colorsys v0.6.7 [INFO] [stderr] Downloaded smawk v0.3.2 [INFO] [stderr] Downloaded reqwest v0.12.20 [INFO] [stderr] Downloaded tachyonfx v0.7.0 [INFO] [stderr] Downloaded eventsource-stream v0.2.3 [INFO] [stderr] Downloaded icy_sixel v0.1.3 [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" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 480344a8d7b1cdf96664f8e1b09140c9975f8c723ed7308a314335729afa6be3 [INFO] running `Command { std: "docker" "start" "-a" "480344a8d7b1cdf96664f8e1b09140c9975f8c723ed7308a314335729afa6be3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "480344a8d7b1cdf96664f8e1b09140c9975f8c723ed7308a314335729afa6be3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "480344a8d7b1cdf96664f8e1b09140c9975f8c723ed7308a314335729afa6be3", kill_on_drop: false }` [INFO] [stdout] 480344a8d7b1cdf96664f8e1b09140c9975f8c723ed7308a314335729afa6be3 [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" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5be16b685632a4fdabee1e456fc98bc8b5eee320a3861ea6671cc26673f88bbb [INFO] running `Command { std: "docker" "start" "-a" "5be16b685632a4fdabee1e456fc98bc8b5eee320a3861ea6671cc26673f88bbb", kill_on_drop: false }` [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Compiling bitflags v2.9.1 [INFO] [stderr] Compiling hashbrown v0.15.4 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling cc v1.2.27 [INFO] [stderr] Compiling signal-hook v0.3.18 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Compiling mio v1.0.4 [INFO] [stderr] Compiling rustix v0.38.44 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling linux-raw-sys v0.4.15 [INFO] [stderr] Compiling castaway v0.2.3 [INFO] [stderr] Compiling indoc v2.0.6 [INFO] [stderr] Compiling anyhow v1.0.98 [INFO] [stderr] Compiling cassowary v0.3.0 [INFO] [stderr] Compiling compact_str v0.8.1 [INFO] [stderr] Compiling itertools v0.13.0 [INFO] [stderr] Compiling built v0.7.7 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling rayon v1.10.0 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling parking_lot v0.12.4 [INFO] [stderr] Compiling signal-hook-mio v0.2.4 [INFO] [stderr] Compiling rav1e v0.7.1 [INFO] [stderr] Compiling flate2 v1.1.2 [INFO] [stderr] Compiling itertools v0.12.1 [INFO] [stderr] Compiling simd_helpers v0.1.0 [INFO] [stderr] Compiling quick-error v2.0.1 [INFO] [stderr] Compiling bitstream-io v2.6.0 [INFO] [stderr] Compiling weezl v0.1.10 [INFO] [stderr] Compiling noop_proc_macro v0.3.0 [INFO] [stderr] Compiling imgref v1.11.0 [INFO] [stderr] Compiling avif-serialize v0.8.4 [INFO] [stderr] Compiling zune-inflate v0.2.54 [INFO] [stderr] Compiling loop9 v0.1.5 [INFO] [stderr] Compiling half v2.6.0 [INFO] [stderr] Compiling indexmap v2.9.0 [INFO] [stderr] Compiling lru v0.12.5 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling jpeg-decoder v0.3.2 [INFO] [stderr] Compiling unicode-width v0.2.0 [INFO] [stderr] Compiling lebe v0.5.2 [INFO] [stderr] Compiling rgb v0.8.50 [INFO] [stderr] Compiling bit_field v0.10.2 [INFO] [stderr] Compiling zune-core v0.4.12 [INFO] [stderr] Compiling bytemuck v1.23.1 [INFO] [stderr] Compiling exr v1.73.0 [INFO] [stderr] Compiling png v0.17.16 [INFO] [stderr] Compiling num-bigint v0.4.6 [INFO] [stderr] Compiling zune-jpeg v0.4.18 [INFO] [stderr] Compiling image-webp v0.2.3 [INFO] [stderr] Compiling gif v0.13.3 [INFO] [stderr] Compiling qoi v0.4.1 [INFO] [stderr] Compiling pulldown-cmark v0.9.6 [INFO] [stderr] Compiling sharded-slab v0.1.7 [INFO] [stderr] Compiling dirs-sys v0.4.1 [INFO] [stderr] Compiling openssl-sys v0.9.109 [INFO] [stderr] Compiling unicode-truncate v1.1.0 [INFO] [stderr] Compiling tiff v0.9.1 [INFO] [stderr] Compiling eventsource-stream v0.2.3 [INFO] [stderr] Compiling clap_builder v4.5.40 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling openssl v0.10.73 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Compiling getopts v0.2.23 [INFO] [stderr] Compiling crossterm v0.28.1 [INFO] [stderr] Compiling tracing-log v0.2.0 [INFO] [stderr] Compiling vte v0.14.1 [INFO] [stderr] Compiling unsafe-libyaml v0.2.11 [INFO] [stderr] Compiling num-rational v0.4.2 [INFO] [stderr] Compiling maybe-rayon v0.1.1 [INFO] [stderr] Compiling smawk v0.3.2 [INFO] [stderr] Compiling dyn-clone v1.0.19 [INFO] [stderr] Compiling simdutf8 v0.1.5 [INFO] [stderr] Compiling futures-timer v3.0.3 [INFO] [stderr] Compiling simple-easing v1.0.1 [INFO] [stderr] Compiling unicode-linebreak v0.1.5 [INFO] [stderr] Compiling icy_sixel v0.1.3 [INFO] [stderr] Compiling colorsys v0.6.7 [INFO] [stderr] Compiling textwrap v0.16.2 [INFO] [stderr] Compiling chrono v0.4.41 [INFO] [stderr] Compiling strip-ansi-escapes v0.2.1 [INFO] [stderr] Compiling tracing-subscriber v0.3.19 [INFO] [stderr] Compiling uuid v1.17.0 [INFO] [stderr] Compiling dirs v5.0.1 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling darling_core v0.20.11 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.0 [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 equator-macro v0.4.2 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling strum_macros v0.26.4 [INFO] [stderr] Compiling tracing-attributes v0.1.30 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling profiling-procmacros v1.0.17 [INFO] [stderr] Compiling arg_enum_proc_macro v0.3.4 [INFO] [stderr] Compiling profiling v1.0.17 [INFO] [stderr] Compiling num-derive v0.4.2 [INFO] [stderr] Compiling tokio v1.45.1 [INFO] [stderr] Compiling clap_derive v4.5.40 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling equator v0.4.2 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling yoke v0.8.0 [INFO] [stderr] Compiling aligned-vec v0.6.4 [INFO] [stderr] Compiling zerovec v0.11.2 [INFO] [stderr] Compiling zerotrie v0.2.2 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling v_frame v0.3.9 [INFO] [stderr] Compiling clap v4.5.40 [INFO] [stderr] Compiling av1-grain v0.2.4 [INFO] [stderr] Compiling strum v0.26.3 [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 darling_macro v0.20.11 [INFO] [stderr] Compiling icu_locale_core v2.0.0 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling darling v0.20.11 [INFO] [stderr] Compiling instability v0.3.7 [INFO] [stderr] Compiling bon-macros v2.3.0 [INFO] [stderr] Compiling ratatui v0.28.1 [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 idna_adapter v1.2.1 [INFO] [stderr] Compiling idna v1.0.3 [INFO] [stderr] Compiling url v2.5.4 [INFO] [stderr] Compiling tokio-util v0.7.15 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling tower v0.5.2 [INFO] [stderr] Compiling bon v2.3.0 [INFO] [stderr] Compiling webbrowser v1.0.5 [INFO] [stderr] Compiling tower-http v0.6.6 [INFO] [stderr] Compiling h2 v0.4.10 [INFO] [stderr] Compiling tui-tree-widget v0.22.0 [INFO] [stderr] Compiling ansi-to-tui v6.0.1 [INFO] [stderr] Compiling tachyonfx v0.7.0 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling serde_yaml v0.9.34+deprecated [INFO] [stderr] Compiling tui-textarea v0.6.1 [INFO] [stderr] Compiling ravif v0.11.20 [INFO] [stderr] Compiling image v0.25.6 [INFO] [stderr] Compiling hyper v1.6.0 [INFO] [stderr] Compiling hyper-util v0.1.14 [INFO] [stderr] Compiling hyper-tls v0.6.0 [INFO] [stderr] Compiling reqwest v0.12.20 [INFO] [stderr] Compiling ratatui-image v1.0.5 [INFO] [stderr] Compiling reqwest-eventsource v0.6.0 [INFO] [stderr] Compiling one-claude v0.2.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `command` [INFO] [stdout] --> src/ui/approval_view.rs:245:54 [INFO] [stdout] | [INFO] [stdout] 245 | if let PreviewContent::Command { command, description, working_dir } = &self.content { [INFO] [stdout] | ^^^^^^^ help: try ignoring the field: `command: _` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `formatted` [INFO] [stdout] --> src/ui/approval.rs:247:17 [INFO] [stdout] | [INFO] [stdout] 247 | let formatted = format!("{:4} │ {}", line_num, line); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_formatted` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `count` [INFO] [stdout] --> src/ui/chat/update.rs:578:33 [INFO] [stdout] | [INFO] [stdout] 578 | if let Some(count) = data.get("count").and_then(|v| v.as_u64()) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_count` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `activity_show` is never read [INFO] [stdout] --> src/ui/chat/view.rs:572:5 [INFO] [stdout] | [INFO] [stdout] 570 | struct InputAreaContainer<'a> { [INFO] [stdout] | ------------------ field in this struct [INFO] [stdout] 571 | constraints: Vec, [INFO] [stdout] 572 | activity_show: bool, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `selected_line` is never read [INFO] [stdout] --> src/ui/components/file_diff.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 17 | pub struct FileDiff { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 24 | selected_line: usize, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `strip_only` is never used [INFO] [stdout] --> src/ui/text_processor/ansi.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 16 | impl AnsiProcessor { [INFO] [stdout] | ------------------ associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 24 | pub fn strip_only() -> Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `with_replacement` is never used [INFO] [stdout] --> src/ui/text_processor/emoji.rs:26:12 [INFO] [stdout] | [INFO] [stdout] 17 | impl EmojiProcessor { [INFO] [stdout] | ------------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 26 | pub fn with_replacement() -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/ui/chat/view.rs:100:22 [INFO] [stdout] | [INFO] [stdout] 100 | fn render_header(&self) -> Paragraph { [INFO] [stdout] | ^^^^^ ^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 100 | fn render_header(&self) -> Paragraph<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/ui/chat/view.rs:472:26 [INFO] [stdout] | [INFO] [stdout] 472 | fn render_status_bar(&self) -> Paragraph { [INFO] [stdout] | ^^^^^ ^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 472 | fn render_status_bar(&self) -> Paragraph<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/ui/chat/view.rs:648:28 [INFO] [stdout] | [INFO] [stdout] 648 | fn build_activity_line(&self) -> Line { [INFO] [stdout] | ^^^^^ ^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 648 | fn build_activity_line(&self) -> Line<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/ui/chat/input.rs:165:17 [INFO] [stdout] | [INFO] [stdout] 165 | pub fn view(&self) -> tui_textarea::TextArea { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 165 | pub fn view(&self) -> tui_textarea::TextArea<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ApprovalManager`, `ApprovalRequest`, `ApprovalState`, and `ApprovalStatus` [INFO] [stdout] --> src/events/mod.rs:3:20 [INFO] [stdout] | [INFO] [stdout] 3 | pub use approval::{ApprovalManager, ApprovalRequest, ApprovalState, ApprovalStatus}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tool_result::ToolResultRenderer` [INFO] [stdout] --> src/ui/components/mod.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 7 | pub use tool_result::ToolResultRenderer; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `command` [INFO] [stdout] --> src/ui/approval_view.rs:245:54 [INFO] [stdout] | [INFO] [stdout] 245 | if let PreviewContent::Command { command, description, working_dir } = &self.content { [INFO] [stdout] | ^^^^^^^ help: try ignoring the field: `command: _` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `formatted` [INFO] [stdout] --> src/ui/approval.rs:247:17 [INFO] [stdout] | [INFO] [stdout] 247 | let formatted = format!("{:4} │ {}", line_num, line); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_formatted` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `count` [INFO] [stdout] --> src/ui/chat/update.rs:578:33 [INFO] [stdout] | [INFO] [stdout] 578 | if let Some(count) = data.get("count").and_then(|v| v.as_u64()) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_count` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `enhanced_message` and `usage` are never read [INFO] [stdout] --> src/client.rs:31:9 [INFO] [stdout] | [INFO] [stdout] 26 | pub struct ChatResponse { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] ... [INFO] [stdout] 31 | pub enhanced_message: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 32 | pub usage: Option, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ChatResponse` 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: fields `input_tokens` and `output_tokens` are never read [INFO] [stdout] --> src/client.rs:38:9 [INFO] [stdout] | [INFO] [stdout] 36 | pub struct Usage { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 37 | #[serde(rename = "inputTokens")] [INFO] [stdout] 38 | pub input_tokens: usize, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 39 | #[serde(rename = "outputTokens")] [INFO] [stdout] 40 | pub output_tokens: usize, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Usage` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `StreamStart` is never constructed [INFO] [stdout] --> src/client.rs:44:12 [INFO] [stdout] | [INFO] [stdout] 44 | pub struct StreamStart { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MessageChunk` is never constructed [INFO] [stdout] --> src/client.rs:52:12 [INFO] [stdout] | [INFO] [stdout] 52 | pub struct MessageChunk { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `send_message` is never used [INFO] [stdout] --> src/client.rs:122:18 [INFO] [stdout] | [INFO] [stdout] 62 | impl Client { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 122 | pub async fn send_message( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `handle_stream_events` is never used [INFO] [stdout] --> src/client.rs:200:14 [INFO] [stdout] | [INFO] [stdout] 200 | pub async fn handle_stream_events(mut event_source: EventSource) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ApprovalState` is never constructed [INFO] [stdout] --> src/events/approval.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 23 | pub struct ApprovalState { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Editing` is never constructed [INFO] [stdout] --> src/events/approval.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 30 | pub enum ApprovalStatus { [INFO] [stdout] | -------------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 34 | Editing, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ApprovalStatus` 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: struct `ApprovalManager` is never constructed [INFO] [stdout] --> src/events/approval.rs:39:12 [INFO] [stdout] | [INFO] [stdout] 39 | pub struct ApprovalManager { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/events/approval.rs:48:12 [INFO] [stdout] | [INFO] [stdout] 47 | impl ApprovalManager { [INFO] [stdout] | -------------------- associated items in this implementation [INFO] [stdout] 48 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 53 | pub fn add_request(&mut self, request: ApprovalRequest) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 64 | pub fn get_pending(&self, tool_id: &str) -> Option<&ApprovalState> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 69 | pub fn get_pending_mut(&mut self, tool_id: &str) -> Option<&mut ApprovalState> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 74 | pub fn pending_approvals(&self) -> Vec<&ApprovalState> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 79 | pub fn approve(&mut self, tool_id: &str, modified_input: Option) -> Option { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 91 | pub fn reject(&mut self, tool_id: &str, reason: String) -> Option { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 102 | pub fn start_editing(&mut self, tool_id: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 112 | pub fn clear(&mut self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 118 | pub fn history(&self) -> &[ApprovalState] { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `markdown_renderer`, `show_tool_approval`, and `tool_approval_model` are never read [INFO] [stdout] --> src/ui/chat/model.rs:25:9 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct ChatModel { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 25 | pub markdown_renderer: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 46 | pub show_tool_approval: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 47 | pub tool_approval_model: Option>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `content_height` is never read [INFO] [stdout] --> src/ui/chat/model.rs:66:9 [INFO] [stdout] | [INFO] [stdout] 63 | pub struct ViewportState { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 66 | pub content_height: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `response` is never read [INFO] [stdout] --> src/ui/chat/model.rs:71:16 [INFO] [stdout] | [INFO] [stdout] 71 | Complete { response: String, usage: Option }, [INFO] [stdout] | -------- ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `ToolApproval` and `ToolApprovalResponse` are never constructed [INFO] [stdout] --> src/ui/chat/model.rs:72:5 [INFO] [stdout] | [INFO] [stdout] 69 | pub enum StreamMsg { [INFO] [stdout] | --------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 72 | ToolApproval(ToolApprovalRequest), [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 73 | ToolApprovalResponse(ToolApprovalResponse), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `tool_name` and `preview` are never read [INFO] [stdout] --> src/ui/chat/model.rs:87:9 [INFO] [stdout] | [INFO] [stdout] 86 | pub struct ToolApprovalRequest { [INFO] [stdout] | ------------------- fields in this struct [INFO] [stdout] 87 | pub tool_name: String, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 88 | pub preview: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `approved` is never read [INFO] [stdout] --> src/ui/chat/model.rs:92:9 [INFO] [stdout] | [INFO] [stdout] 91 | pub struct ToolApprovalResponse { [INFO] [stdout] | -------------------- field in this struct [INFO] [stdout] 92 | pub approved: bool, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_client` is never used [INFO] [stdout] --> src/ui/chat/model.rs:180:12 [INFO] [stdout] | [INFO] [stdout] 95 | impl ChatModel { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 180 | pub fn get_client(&self) -> &Client { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `activity_show` is never read [INFO] [stdout] --> src/ui/chat/view.rs:572:5 [INFO] [stdout] | [INFO] [stdout] 570 | struct InputAreaContainer<'a> { [INFO] [stdout] | ------------------ field in this struct [INFO] [stdout] 571 | constraints: Vec, [INFO] [stdout] 572 | activity_show: bool, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `focus`, `blur`, and `focused` are never used [INFO] [stdout] --> src/ui/chat/input.rs:119:12 [INFO] [stdout] | [INFO] [stdout] 17 | impl InputModel { [INFO] [stdout] | --------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 119 | pub fn focus(&mut self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 123 | pub fn blur(&mut self) { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 127 | pub fn focused(&self) -> bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MESSAGE_TYPE_ASSISTANT` is never used [INFO] [stdout] --> src/ui/chat/types.rs:6:11 [INFO] [stdout] | [INFO] [stdout] 6 | pub const MESSAGE_TYPE_ASSISTANT: &str = "claude"; // Alias [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `id`, `timestamp`, and `tokens` are never read [INFO] [stdout] --> src/ui/chat/types.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct Message { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 15 | pub id: String, [INFO] [stdout] | ^^ [INFO] [stdout] ... [INFO] [stdout] 19 | pub timestamp: Instant, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 20 | pub tokens: TokenUsage, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Message` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `input` and `output` are never read [INFO] [stdout] --> src/ui/chat/types.rs:31:9 [INFO] [stdout] | [INFO] [stdout] 30 | pub struct TokenUsage { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 31 | pub input: usize, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 32 | pub output: usize, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TokenUsage` has derived impls for the traits `Debug` and `Clone`, 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/ui/chat/types.rs:84:12 [INFO] [stdout] | [INFO] [stdout] 35 | impl Message { [INFO] [stdout] | ------------ associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 84 | pub fn error(content: String) -> Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `tool_result_message` and `success` are never read [INFO] [stdout] --> src/ui/chat/types.rs:172:9 [INFO] [stdout] | [INFO] [stdout] 167 | pub struct Styles { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] ... [INFO] [stdout] 172 | pub tool_result_message: ratatui::style::Style, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 184 | pub success: ratatui::style::Style, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `DiffType` is never used [INFO] [stdout] --> src/ui/components/file_diff.rs:11:10 [INFO] [stdout] | [INFO] [stdout] 11 | pub enum DiffType { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `FileDiff` is never constructed [INFO] [stdout] --> src/ui/components/file_diff.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 17 | pub struct FileDiff { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/ui/components/file_diff.rs:28:12 [INFO] [stdout] | [INFO] [stdout] 27 | impl FileDiff { [INFO] [stdout] | ------------- associated items in this implementation [INFO] [stdout] 28 | pub fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 47 | pub fn scroll_up(&mut self) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 53 | pub fn scroll_down(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 60 | pub fn total_lines(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 68 | pub fn render(&self, f: &mut Frame, area: ratatui::layout::Rect) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 84 | fn render_header(&self, f: &mut Frame, area: ratatui::layout::Rect) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 116 | fn render_diff(&self, f: &mut Frame, area: ratatui::layout::Rect) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 178 | fn format_line(&self, line_no: usize, prefix: &str, content: &str, color: Color) -> ListItem<'static> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `detect_language` is never used [INFO] [stdout] --> src/ui/components/file_diff.rs:196:4 [INFO] [stdout] | [INFO] [stdout] 196 | fn detect_language(path: &str) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ToolApproval` is never constructed [INFO] [stdout] --> src/ui/components/tool_approval.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct ToolApproval { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `create_file_diff`, `render`, `render_header`, `render_preview`, and `render_actions` are never used [INFO] [stdout] --> src/ui/components/tool_approval.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 18 | impl ToolApproval { [INFO] [stdout] | ----------------- associated items in this implementation [INFO] [stdout] 19 | pub fn new(tool_name: String, preview: String, input: Value) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 30 | fn create_file_diff(tool_name: &str, input: &Value) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 63 | pub fn render(&self, f: &mut Frame, area: ratatui::layout::Rect) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 84 | fn render_header(&self, f: &mut Frame, area: ratatui::layout::Rect) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 107 | fn render_preview(&self, f: &mut Frame, area: ratatui::layout::Rect) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 120 | fn render_actions(&self, f: &mut Frame, area: ratatui::layout::Rect) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ToolResultRenderer` is never constructed [INFO] [stdout] --> src/ui/components/tool_result.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct ToolResultRenderer; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated functions are never used [INFO] [stdout] --> src/ui/components/tool_result.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 13 | impl ToolResultRenderer { [INFO] [stdout] | ----------------------- associated functions in this implementation [INFO] [stdout] 14 | /// Render a tool result message in a dedicated area [INFO] [stdout] 15 | pub fn render(msg: &Message, f: &mut Frame, area: Rect, is_collapsed: bool) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 27 | fn render_bash_result(msg: &Message, f: &mut Frame, area: Rect, is_collapsed: bool) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 82 | fn render_file_result(msg: &Message, f: &mut Frame, area: Rect, is_collapsed: bool) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 106 | fn render_write_result(msg: &Message, f: &mut Frame, area: Rect, _is_collapsed: bool) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 130 | fn render_edit_result(msg: &Message, f: &mut Frame, area: Rect, is_collapsed: bool) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 153 | fn render_ls_result(msg: &Message, f: &mut Frame, area: Rect, is_collapsed: bool) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 176 | fn render_generic_result(msg: &Message, f: &mut Frame, area: Rect, is_collapsed: bool) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 199 | pub fn calculate_height(msg: &Message, width: u16, is_collapsed: bool) -> u16 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ContextWindow` is never constructed [INFO] [stdout] --> src/ui/context_window.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct ContextWindow { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `add_tokens`, `percentage`, `remaining`, `render_gauge`, and `render_inline` are never used [INFO] [stdout] --> src/ui/context_window.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 14 | impl ContextWindow { [INFO] [stdout] | ------------------ associated items in this implementation [INFO] [stdout] 15 | pub fn new(model: String, max_tokens: usize) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 23 | pub fn add_tokens(&mut self, tokens: usize) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 27 | pub fn percentage(&self) -> f64 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 31 | pub fn remaining(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 35 | pub fn render_gauge(&self, f: &mut Frame, area: ratatui::layout::Rect) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 57 | pub fn render_inline(&self) -> Line<'static> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `format_tokens` is never used [INFO] [stdout] --> src/ui/context_window.rs:79:4 [INFO] [stdout] | [INFO] [stdout] 79 | fn format_tokens(tokens: usize) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `render` and `markdown_to_ansi` are never used [INFO] [stdout] --> src/ui/markdown.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 8 | impl MarkdownRenderer { [INFO] [stdout] | --------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 13 | pub fn render(&self, markdown: &str) -> Text<'static> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 21 | fn markdown_to_ansi(&self, markdown: &str) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `process_tool_output` is never used [INFO] [stdout] --> src/ui/text_processor/mod.rs:18:8 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn process_tool_output(output: &str) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `AnsiProcessor` is never constructed [INFO] [stdout] --> src/ui/text_processor/ansi.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct AnsiProcessor { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `new` and `strip_only` are never used [INFO] [stdout] --> src/ui/text_processor/ansi.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 16 | impl AnsiProcessor { [INFO] [stdout] | ------------------ associated functions in this implementation [INFO] [stdout] 17 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 24 | pub fn strip_only() -> Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `strip_ansi_codes` is never used [INFO] [stdout] --> src/ui/text_processor/ansi.rs:72:4 [INFO] [stdout] | [INFO] [stdout] 72 | fn strip_ansi_codes(input: &str) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `UnicodeNormalizer` is never constructed [INFO] [stdout] --> src/ui/text_processor/unicode.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct UnicodeNormalizer { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/ui/text_processor/unicode.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 17 | impl UnicodeNormalizer { [INFO] [stdout] | ---------------------- associated function in this implementation [INFO] [stdout] 18 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_problematic_char` is never used [INFO] [stdout] --> src/ui/text_processor/unicode.rs:56:4 [INFO] [stdout] | [INFO] [stdout] 56 | fn is_problematic_char(ch: char) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `safe_replacement_for` is never used [INFO] [stdout] --> src/ui/text_processor/unicode.rs:68:4 [INFO] [stdout] | [INFO] [stdout] 68 | fn safe_replacement_for(ch: char) -> char { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `EmojiProcessor` is never constructed [INFO] [stdout] --> src/ui/text_processor/emoji.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct EmojiProcessor { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `new` and `with_replacement` are never used [INFO] [stdout] --> src/ui/text_processor/emoji.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 17 | impl EmojiProcessor { [INFO] [stdout] | ------------------- associated functions in this implementation [INFO] [stdout] 18 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 26 | pub fn with_replacement() -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_emoji_modifier_base` is never used [INFO] [stdout] --> src/ui/text_processor/emoji.rs:83:4 [INFO] [stdout] | [INFO] [stdout] 83 | fn is_emoji_modifier_base(ch: char) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `collect_emoji_sequence` is never used [INFO] [stdout] --> src/ui/text_processor/emoji.rs:93:4 [INFO] [stdout] | [INFO] [stdout] 93 | fn collect_emoji_sequence(base: char, chars: &mut std::iter::Peekable) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_emoji_modifier` is never used [INFO] [stdout] --> src/ui/text_processor/emoji.rs:109:4 [INFO] [stdout] | [INFO] [stdout] 109 | fn is_emoji_modifier(ch: char) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `emoji_width` is never used [INFO] [stdout] --> src/ui/text_processor/emoji.rs:117:4 [INFO] [stdout] | [INFO] [stdout] 117 | fn emoji_width(emoji: &str) -> usize { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `TextProcessor` is never used [INFO] [stdout] --> src/ui/text_processor/pipeline.rs:8:11 [INFO] [stdout] | [INFO] [stdout] 8 | pub trait TextProcessor: Send + Sync { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ProcessingPipeline` is never constructed [INFO] [stdout] --> src/ui/text_processor/pipeline.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 17 | pub struct ProcessingPipeline { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `process`, `add_processor`, and `clear` are never used [INFO] [stdout] --> src/ui/text_processor/pipeline.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 21 | impl ProcessingPipeline { [INFO] [stdout] | ----------------------- associated items in this implementation [INFO] [stdout] 22 | /// Create a new pipeline with the given processors [INFO] [stdout] 23 | pub fn new(processors: Vec>) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 28 | pub fn process(&self, input: &str) -> String { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 40 | pub fn add_processor(&mut self, processor: Box) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 45 | pub fn clear(&mut self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ChatViewport` is never constructed [INFO] [stdout] --> src/ui/viewport.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct ChatViewport<'a> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `block` are never used [INFO] [stdout] --> src/ui/viewport.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 14 | impl<'a> ChatViewport<'a> { [INFO] [stdout] | ------------------------- associated items in this implementation [INFO] [stdout] 15 | pub fn new(content: Text<'a>) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 22 | pub fn block(mut self, block: Block<'a>) -> Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ViewportState` is never constructed [INFO] [stdout] --> src/ui/viewport.rs:29:12 [INFO] [stdout] | [INFO] [stdout] 29 | pub struct ViewportState { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `scroll_to_bottom`, `scroll_up`, and `scroll_down` are never used [INFO] [stdout] --> src/ui/viewport.rs:35:12 [INFO] [stdout] | [INFO] [stdout] 34 | impl ViewportState { [INFO] [stdout] | ------------------ methods in this implementation [INFO] [stdout] 35 | pub fn scroll_to_bottom(&mut self, viewport_height: usize) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 43 | pub fn scroll_up(&mut self, amount: usize) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 47 | pub fn scroll_down(&mut self, amount: usize, viewport_height: usize) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_workspace`, `find_by_name`, and `delete_workspace` are never used [INFO] [stdout] --> src/workspace.rs:78:12 [INFO] [stdout] | [INFO] [stdout] 34 | impl WorkspaceManager { [INFO] [stdout] | --------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 78 | pub fn get_workspace(&self, id: &str) -> Option<&VirtualWorkspace> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 82 | pub fn find_by_name(&self, name: &str) -> Option<&VirtualWorkspace> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 94 | pub fn delete_workspace(&mut self, id: &str) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/ui/chat/view.rs:100:22 [INFO] [stdout] | [INFO] [stdout] 100 | fn render_header(&self) -> Paragraph { [INFO] [stdout] | ^^^^^ ^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 100 | fn render_header(&self) -> Paragraph<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/ui/chat/view.rs:472:26 [INFO] [stdout] | [INFO] [stdout] 472 | fn render_status_bar(&self) -> Paragraph { [INFO] [stdout] | ^^^^^ ^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 472 | fn render_status_bar(&self) -> Paragraph<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/ui/chat/view.rs:648:28 [INFO] [stdout] | [INFO] [stdout] 648 | fn build_activity_line(&self) -> Line { [INFO] [stdout] | ^^^^^ ^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 648 | fn build_activity_line(&self) -> Line<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/ui/chat/input.rs:165:17 [INFO] [stdout] | [INFO] [stdout] 165 | pub fn view(&self) -> tui_textarea::TextArea { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 165 | pub fn view(&self) -> tui_textarea::TextArea<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 38s [INFO] running `Command { std: "docker" "inspect" "5be16b685632a4fdabee1e456fc98bc8b5eee320a3861ea6671cc26673f88bbb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5be16b685632a4fdabee1e456fc98bc8b5eee320a3861ea6671cc26673f88bbb", kill_on_drop: false }` [INFO] [stdout] 5be16b685632a4fdabee1e456fc98bc8b5eee320a3861ea6671cc26673f88bbb [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" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e9df69337b234f437bf9573bf254b42fcbcf53e9e911b7c19adca37b1d6b8a66 [INFO] running `Command { std: "docker" "start" "-a" "e9df69337b234f437bf9573bf254b42fcbcf53e9e911b7c19adca37b1d6b8a66", kill_on_drop: false }` [INFO] [stdout] warning: unused variable: `command` [INFO] [stdout] --> src/ui/approval_view.rs:245:54 [INFO] [stdout] | [INFO] [stdout] 245 | if let PreviewContent::Command { command, description, working_dir } = &self.content { [INFO] [stdout] | ^^^^^^^ help: try ignoring the field: `command: _` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `formatted` [INFO] [stdout] --> src/ui/approval.rs:247:17 [INFO] [stdout] | [INFO] [stdout] 247 | let formatted = format!("{:4} │ {}", line_num, line); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_formatted` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `count` [INFO] [stdout] --> src/ui/chat/update.rs:578:33 [INFO] [stdout] | [INFO] [stdout] 578 | if let Some(count) = data.get("count").and_then(|v| v.as_u64()) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_count` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `activity_show` is never read [INFO] [stdout] --> src/ui/chat/view.rs:572:5 [INFO] [stdout] | [INFO] [stdout] 570 | struct InputAreaContainer<'a> { [INFO] [stdout] | ------------------ field in this struct [INFO] [stdout] 571 | constraints: Vec, [INFO] [stdout] 572 | activity_show: bool, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `selected_line` is never read [INFO] [stdout] --> src/ui/components/file_diff.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 17 | pub struct FileDiff { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 24 | selected_line: usize, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `strip_only` is never used [INFO] [stdout] --> src/ui/text_processor/ansi.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 16 | impl AnsiProcessor { [INFO] [stdout] | ------------------ associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 24 | pub fn strip_only() -> Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `with_replacement` is never used [INFO] [stdout] --> src/ui/text_processor/emoji.rs:26:12 [INFO] [stdout] | [INFO] [stdout] 17 | impl EmojiProcessor { [INFO] [stdout] | ------------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 26 | pub fn with_replacement() -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/ui/chat/view.rs:100:22 [INFO] [stdout] | [INFO] [stdout] 100 | fn render_header(&self) -> Paragraph { [INFO] [stdout] | ^^^^^ ^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 100 | fn render_header(&self) -> Paragraph<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/ui/chat/view.rs:472:26 [INFO] [stdout] | [INFO] [stdout] 472 | fn render_status_bar(&self) -> Paragraph { [INFO] [stdout] | ^^^^^ ^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 472 | fn render_status_bar(&self) -> Paragraph<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/ui/chat/view.rs:648:28 [INFO] [stdout] | [INFO] [stdout] 648 | fn build_activity_line(&self) -> Line { [INFO] [stdout] | ^^^^^ ^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 648 | fn build_activity_line(&self) -> Line<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/ui/chat/input.rs:165:17 [INFO] [stdout] | [INFO] [stdout] 165 | pub fn view(&self) -> tui_textarea::TextArea { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 165 | pub fn view(&self) -> tui_textarea::TextArea<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ApprovalManager`, `ApprovalRequest`, `ApprovalState`, and `ApprovalStatus` [INFO] [stdout] --> src/events/mod.rs:3:20 [INFO] [stdout] | [INFO] [stdout] 3 | pub use approval::{ApprovalManager, ApprovalRequest, ApprovalState, ApprovalStatus}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling one-claude v0.2.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `tool_result::ToolResultRenderer` [INFO] [stdout] --> src/ui/components/mod.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 7 | pub use tool_result::ToolResultRenderer; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `command` [INFO] [stdout] --> src/ui/approval_view.rs:245:54 [INFO] [stdout] | [INFO] [stdout] 245 | if let PreviewContent::Command { command, description, working_dir } = &self.content { [INFO] [stdout] | ^^^^^^^ help: try ignoring the field: `command: _` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `formatted` [INFO] [stdout] --> src/ui/approval.rs:247:17 [INFO] [stdout] | [INFO] [stdout] 247 | let formatted = format!("{:4} │ {}", line_num, line); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_formatted` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `count` [INFO] [stdout] --> src/ui/chat/update.rs:578:33 [INFO] [stdout] | [INFO] [stdout] 578 | if let Some(count) = data.get("count").and_then(|v| v.as_u64()) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_count` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `enhanced_message` and `usage` are never read [INFO] [stdout] --> src/client.rs:31:9 [INFO] [stdout] | [INFO] [stdout] 26 | pub struct ChatResponse { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] ... [INFO] [stdout] 31 | pub enhanced_message: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 32 | pub usage: Option, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ChatResponse` 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: fields `input_tokens` and `output_tokens` are never read [INFO] [stdout] --> src/client.rs:38:9 [INFO] [stdout] | [INFO] [stdout] 36 | pub struct Usage { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 37 | #[serde(rename = "inputTokens")] [INFO] [stdout] 38 | pub input_tokens: usize, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 39 | #[serde(rename = "outputTokens")] [INFO] [stdout] 40 | pub output_tokens: usize, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Usage` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `StreamStart` is never constructed [INFO] [stdout] --> src/client.rs:44:12 [INFO] [stdout] | [INFO] [stdout] 44 | pub struct StreamStart { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MessageChunk` is never constructed [INFO] [stdout] --> src/client.rs:52:12 [INFO] [stdout] | [INFO] [stdout] 52 | pub struct MessageChunk { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `send_message` is never used [INFO] [stdout] --> src/client.rs:122:18 [INFO] [stdout] | [INFO] [stdout] 62 | impl Client { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 122 | pub async fn send_message( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `handle_stream_events` is never used [INFO] [stdout] --> src/client.rs:200:14 [INFO] [stdout] | [INFO] [stdout] 200 | pub async fn handle_stream_events(mut event_source: EventSource) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ApprovalState` is never constructed [INFO] [stdout] --> src/events/approval.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 23 | pub struct ApprovalState { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Editing` is never constructed [INFO] [stdout] --> src/events/approval.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 30 | pub enum ApprovalStatus { [INFO] [stdout] | -------------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 34 | Editing, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ApprovalStatus` 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: struct `ApprovalManager` is never constructed [INFO] [stdout] --> src/events/approval.rs:39:12 [INFO] [stdout] | [INFO] [stdout] 39 | pub struct ApprovalManager { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/events/approval.rs:48:12 [INFO] [stdout] | [INFO] [stdout] 47 | impl ApprovalManager { [INFO] [stdout] | -------------------- associated items in this implementation [INFO] [stdout] 48 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 53 | pub fn add_request(&mut self, request: ApprovalRequest) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 64 | pub fn get_pending(&self, tool_id: &str) -> Option<&ApprovalState> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 69 | pub fn get_pending_mut(&mut self, tool_id: &str) -> Option<&mut ApprovalState> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 74 | pub fn pending_approvals(&self) -> Vec<&ApprovalState> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 79 | pub fn approve(&mut self, tool_id: &str, modified_input: Option) -> Option { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 91 | pub fn reject(&mut self, tool_id: &str, reason: String) -> Option { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 102 | pub fn start_editing(&mut self, tool_id: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 112 | pub fn clear(&mut self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 118 | pub fn history(&self) -> &[ApprovalState] { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `markdown_renderer`, `show_tool_approval`, and `tool_approval_model` are never read [INFO] [stdout] --> src/ui/chat/model.rs:25:9 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct ChatModel { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 25 | pub markdown_renderer: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 46 | pub show_tool_approval: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 47 | pub tool_approval_model: Option>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `content_height` is never read [INFO] [stdout] --> src/ui/chat/model.rs:66:9 [INFO] [stdout] | [INFO] [stdout] 63 | pub struct ViewportState { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 66 | pub content_height: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `response` is never read [INFO] [stdout] --> src/ui/chat/model.rs:71:16 [INFO] [stdout] | [INFO] [stdout] 71 | Complete { response: String, usage: Option }, [INFO] [stdout] | -------- ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `ToolApproval` and `ToolApprovalResponse` are never constructed [INFO] [stdout] --> src/ui/chat/model.rs:72:5 [INFO] [stdout] | [INFO] [stdout] 69 | pub enum StreamMsg { [INFO] [stdout] | --------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 72 | ToolApproval(ToolApprovalRequest), [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 73 | ToolApprovalResponse(ToolApprovalResponse), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `tool_name` and `preview` are never read [INFO] [stdout] --> src/ui/chat/model.rs:87:9 [INFO] [stdout] | [INFO] [stdout] 86 | pub struct ToolApprovalRequest { [INFO] [stdout] | ------------------- fields in this struct [INFO] [stdout] 87 | pub tool_name: String, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 88 | pub preview: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `approved` is never read [INFO] [stdout] --> src/ui/chat/model.rs:92:9 [INFO] [stdout] | [INFO] [stdout] 91 | pub struct ToolApprovalResponse { [INFO] [stdout] | -------------------- field in this struct [INFO] [stdout] 92 | pub approved: bool, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_client` is never used [INFO] [stdout] --> src/ui/chat/model.rs:180:12 [INFO] [stdout] | [INFO] [stdout] 95 | impl ChatModel { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 180 | pub fn get_client(&self) -> &Client { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `activity_show` is never read [INFO] [stdout] --> src/ui/chat/view.rs:572:5 [INFO] [stdout] | [INFO] [stdout] 570 | struct InputAreaContainer<'a> { [INFO] [stdout] | ------------------ field in this struct [INFO] [stdout] 571 | constraints: Vec, [INFO] [stdout] 572 | activity_show: bool, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `focus`, `blur`, and `focused` are never used [INFO] [stdout] --> src/ui/chat/input.rs:119:12 [INFO] [stdout] | [INFO] [stdout] 17 | impl InputModel { [INFO] [stdout] | --------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 119 | pub fn focus(&mut self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 123 | pub fn blur(&mut self) { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 127 | pub fn focused(&self) -> bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MESSAGE_TYPE_ASSISTANT` is never used [INFO] [stdout] --> src/ui/chat/types.rs:6:11 [INFO] [stdout] | [INFO] [stdout] 6 | pub const MESSAGE_TYPE_ASSISTANT: &str = "claude"; // Alias [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `id`, `timestamp`, and `tokens` are never read [INFO] [stdout] --> src/ui/chat/types.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct Message { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 15 | pub id: String, [INFO] [stdout] | ^^ [INFO] [stdout] ... [INFO] [stdout] 19 | pub timestamp: Instant, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 20 | pub tokens: TokenUsage, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Message` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `input` and `output` are never read [INFO] [stdout] --> src/ui/chat/types.rs:31:9 [INFO] [stdout] | [INFO] [stdout] 30 | pub struct TokenUsage { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 31 | pub input: usize, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 32 | pub output: usize, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TokenUsage` has derived impls for the traits `Debug` and `Clone`, 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/ui/chat/types.rs:84:12 [INFO] [stdout] | [INFO] [stdout] 35 | impl Message { [INFO] [stdout] | ------------ associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 84 | pub fn error(content: String) -> Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `tool_result_message` and `success` are never read [INFO] [stdout] --> src/ui/chat/types.rs:172:9 [INFO] [stdout] | [INFO] [stdout] 167 | pub struct Styles { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] ... [INFO] [stdout] 172 | pub tool_result_message: ratatui::style::Style, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 184 | pub success: ratatui::style::Style, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `DiffType` is never used [INFO] [stdout] --> src/ui/components/file_diff.rs:11:10 [INFO] [stdout] | [INFO] [stdout] 11 | pub enum DiffType { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `FileDiff` is never constructed [INFO] [stdout] --> src/ui/components/file_diff.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 17 | pub struct FileDiff { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/ui/components/file_diff.rs:28:12 [INFO] [stdout] | [INFO] [stdout] 27 | impl FileDiff { [INFO] [stdout] | ------------- associated items in this implementation [INFO] [stdout] 28 | pub fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 47 | pub fn scroll_up(&mut self) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 53 | pub fn scroll_down(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 60 | pub fn total_lines(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 68 | pub fn render(&self, f: &mut Frame, area: ratatui::layout::Rect) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 84 | fn render_header(&self, f: &mut Frame, area: ratatui::layout::Rect) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 116 | fn render_diff(&self, f: &mut Frame, area: ratatui::layout::Rect) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 178 | fn format_line(&self, line_no: usize, prefix: &str, content: &str, color: Color) -> ListItem<'static> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `detect_language` is never used [INFO] [stdout] --> src/ui/components/file_diff.rs:196:4 [INFO] [stdout] | [INFO] [stdout] 196 | fn detect_language(path: &str) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ToolApproval` is never constructed [INFO] [stdout] --> src/ui/components/tool_approval.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct ToolApproval { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `create_file_diff`, `render`, `render_header`, `render_preview`, and `render_actions` are never used [INFO] [stdout] --> src/ui/components/tool_approval.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 18 | impl ToolApproval { [INFO] [stdout] | ----------------- associated items in this implementation [INFO] [stdout] 19 | pub fn new(tool_name: String, preview: String, input: Value) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 30 | fn create_file_diff(tool_name: &str, input: &Value) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 63 | pub fn render(&self, f: &mut Frame, area: ratatui::layout::Rect) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 84 | fn render_header(&self, f: &mut Frame, area: ratatui::layout::Rect) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 107 | fn render_preview(&self, f: &mut Frame, area: ratatui::layout::Rect) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 120 | fn render_actions(&self, f: &mut Frame, area: ratatui::layout::Rect) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ToolResultRenderer` is never constructed [INFO] [stdout] --> src/ui/components/tool_result.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct ToolResultRenderer; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated functions are never used [INFO] [stdout] --> src/ui/components/tool_result.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 13 | impl ToolResultRenderer { [INFO] [stdout] | ----------------------- associated functions in this implementation [INFO] [stdout] 14 | /// Render a tool result message in a dedicated area [INFO] [stdout] 15 | pub fn render(msg: &Message, f: &mut Frame, area: Rect, is_collapsed: bool) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 27 | fn render_bash_result(msg: &Message, f: &mut Frame, area: Rect, is_collapsed: bool) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 82 | fn render_file_result(msg: &Message, f: &mut Frame, area: Rect, is_collapsed: bool) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 106 | fn render_write_result(msg: &Message, f: &mut Frame, area: Rect, _is_collapsed: bool) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 130 | fn render_edit_result(msg: &Message, f: &mut Frame, area: Rect, is_collapsed: bool) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 153 | fn render_ls_result(msg: &Message, f: &mut Frame, area: Rect, is_collapsed: bool) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 176 | fn render_generic_result(msg: &Message, f: &mut Frame, area: Rect, is_collapsed: bool) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 199 | pub fn calculate_height(msg: &Message, width: u16, is_collapsed: bool) -> u16 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ContextWindow` is never constructed [INFO] [stdout] --> src/ui/context_window.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct ContextWindow { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `add_tokens`, `percentage`, `remaining`, `render_gauge`, and `render_inline` are never used [INFO] [stdout] --> src/ui/context_window.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 14 | impl ContextWindow { [INFO] [stdout] | ------------------ associated items in this implementation [INFO] [stdout] 15 | pub fn new(model: String, max_tokens: usize) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 23 | pub fn add_tokens(&mut self, tokens: usize) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 27 | pub fn percentage(&self) -> f64 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 31 | pub fn remaining(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 35 | pub fn render_gauge(&self, f: &mut Frame, area: ratatui::layout::Rect) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 57 | pub fn render_inline(&self) -> Line<'static> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `format_tokens` is never used [INFO] [stdout] --> src/ui/context_window.rs:79:4 [INFO] [stdout] | [INFO] [stdout] 79 | fn format_tokens(tokens: usize) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `render` and `markdown_to_ansi` are never used [INFO] [stdout] --> src/ui/markdown.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 8 | impl MarkdownRenderer { [INFO] [stdout] | --------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 13 | pub fn render(&self, markdown: &str) -> Text<'static> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 21 | fn markdown_to_ansi(&self, markdown: &str) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `process_tool_output` is never used [INFO] [stdout] --> src/ui/text_processor/mod.rs:18:8 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn process_tool_output(output: &str) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `AnsiProcessor` is never constructed [INFO] [stdout] --> src/ui/text_processor/ansi.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct AnsiProcessor { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `new` and `strip_only` are never used [INFO] [stdout] --> src/ui/text_processor/ansi.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 16 | impl AnsiProcessor { [INFO] [stdout] | ------------------ associated functions in this implementation [INFO] [stdout] 17 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 24 | pub fn strip_only() -> Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `strip_ansi_codes` is never used [INFO] [stdout] --> src/ui/text_processor/ansi.rs:72:4 [INFO] [stdout] | [INFO] [stdout] 72 | fn strip_ansi_codes(input: &str) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `UnicodeNormalizer` is never constructed [INFO] [stdout] --> src/ui/text_processor/unicode.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct UnicodeNormalizer { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/ui/text_processor/unicode.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 17 | impl UnicodeNormalizer { [INFO] [stdout] | ---------------------- associated function in this implementation [INFO] [stdout] 18 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_problematic_char` is never used [INFO] [stdout] --> src/ui/text_processor/unicode.rs:56:4 [INFO] [stdout] | [INFO] [stdout] 56 | fn is_problematic_char(ch: char) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `safe_replacement_for` is never used [INFO] [stdout] --> src/ui/text_processor/unicode.rs:68:4 [INFO] [stdout] | [INFO] [stdout] 68 | fn safe_replacement_for(ch: char) -> char { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `EmojiProcessor` is never constructed [INFO] [stdout] --> src/ui/text_processor/emoji.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct EmojiProcessor { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `new` and `with_replacement` are never used [INFO] [stdout] --> src/ui/text_processor/emoji.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 17 | impl EmojiProcessor { [INFO] [stdout] | ------------------- associated functions in this implementation [INFO] [stdout] 18 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 26 | pub fn with_replacement() -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_emoji_modifier_base` is never used [INFO] [stdout] --> src/ui/text_processor/emoji.rs:83:4 [INFO] [stdout] | [INFO] [stdout] 83 | fn is_emoji_modifier_base(ch: char) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `collect_emoji_sequence` is never used [INFO] [stdout] --> src/ui/text_processor/emoji.rs:93:4 [INFO] [stdout] | [INFO] [stdout] 93 | fn collect_emoji_sequence(base: char, chars: &mut std::iter::Peekable) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_emoji_modifier` is never used [INFO] [stdout] --> src/ui/text_processor/emoji.rs:109:4 [INFO] [stdout] | [INFO] [stdout] 109 | fn is_emoji_modifier(ch: char) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `emoji_width` is never used [INFO] [stdout] --> src/ui/text_processor/emoji.rs:117:4 [INFO] [stdout] | [INFO] [stdout] 117 | fn emoji_width(emoji: &str) -> usize { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `TextProcessor` is never used [INFO] [stdout] --> src/ui/text_processor/pipeline.rs:8:11 [INFO] [stdout] | [INFO] [stdout] 8 | pub trait TextProcessor: Send + Sync { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ProcessingPipeline` is never constructed [INFO] [stdout] --> src/ui/text_processor/pipeline.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 17 | pub struct ProcessingPipeline { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `process`, `add_processor`, and `clear` are never used [INFO] [stdout] --> src/ui/text_processor/pipeline.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 21 | impl ProcessingPipeline { [INFO] [stdout] | ----------------------- associated items in this implementation [INFO] [stdout] 22 | /// Create a new pipeline with the given processors [INFO] [stdout] 23 | pub fn new(processors: Vec>) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 28 | pub fn process(&self, input: &str) -> String { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 40 | pub fn add_processor(&mut self, processor: Box) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 45 | pub fn clear(&mut self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ChatViewport` is never constructed [INFO] [stdout] --> src/ui/viewport.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct ChatViewport<'a> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `block` are never used [INFO] [stdout] --> src/ui/viewport.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 14 | impl<'a> ChatViewport<'a> { [INFO] [stdout] | ------------------------- associated items in this implementation [INFO] [stdout] 15 | pub fn new(content: Text<'a>) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 22 | pub fn block(mut self, block: Block<'a>) -> Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ViewportState` is never constructed [INFO] [stdout] --> src/ui/viewport.rs:29:12 [INFO] [stdout] | [INFO] [stdout] 29 | pub struct ViewportState { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `scroll_to_bottom`, `scroll_up`, and `scroll_down` are never used [INFO] [stdout] --> src/ui/viewport.rs:35:12 [INFO] [stdout] | [INFO] [stdout] 34 | impl ViewportState { [INFO] [stdout] | ------------------ methods in this implementation [INFO] [stdout] 35 | pub fn scroll_to_bottom(&mut self, viewport_height: usize) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 43 | pub fn scroll_up(&mut self, amount: usize) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 47 | pub fn scroll_down(&mut self, amount: usize, viewport_height: usize) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_workspace`, `find_by_name`, and `delete_workspace` are never used [INFO] [stdout] --> src/workspace.rs:78:12 [INFO] [stdout] | [INFO] [stdout] 34 | impl WorkspaceManager { [INFO] [stdout] | --------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 78 | pub fn get_workspace(&self, id: &str) -> Option<&VirtualWorkspace> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 82 | pub fn find_by_name(&self, name: &str) -> Option<&VirtualWorkspace> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 94 | pub fn delete_workspace(&mut self, id: &str) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/ui/chat/view.rs:100:22 [INFO] [stdout] | [INFO] [stdout] 100 | fn render_header(&self) -> Paragraph { [INFO] [stdout] | ^^^^^ ^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 100 | fn render_header(&self) -> Paragraph<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/ui/chat/view.rs:472:26 [INFO] [stdout] | [INFO] [stdout] 472 | fn render_status_bar(&self) -> Paragraph { [INFO] [stdout] | ^^^^^ ^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 472 | fn render_status_bar(&self) -> Paragraph<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/ui/chat/view.rs:648:28 [INFO] [stdout] | [INFO] [stdout] 648 | fn build_activity_line(&self) -> Line { [INFO] [stdout] | ^^^^^ ^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 648 | fn build_activity_line(&self) -> Line<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/ui/chat/input.rs:165:17 [INFO] [stdout] | [INFO] [stdout] 165 | pub fn view(&self) -> tui_textarea::TextArea { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 165 | pub fn view(&self) -> tui_textarea::TextArea<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `command` [INFO] [stdout] --> src/ui/approval_view.rs:245:54 [INFO] [stdout] | [INFO] [stdout] 245 | if let PreviewContent::Command { command, description, working_dir } = &self.content { [INFO] [stdout] | ^^^^^^^ help: try ignoring the field: `command: _` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ApprovalManager`, `ApprovalRequest`, `ApprovalState`, and `ApprovalStatus` [INFO] [stdout] --> src/events/mod.rs:3:20 [INFO] [stdout] | [INFO] [stdout] 3 | pub use approval::{ApprovalManager, ApprovalRequest, ApprovalState, ApprovalStatus}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tool_result::ToolResultRenderer` [INFO] [stdout] --> src/ui/components/mod.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 7 | pub use tool_result::ToolResultRenderer; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `command` [INFO] [stdout] --> src/ui/approval_view.rs:245:54 [INFO] [stdout] | [INFO] [stdout] 245 | if let PreviewContent::Command { command, description, working_dir } = &self.content { [INFO] [stdout] | ^^^^^^^ help: try ignoring the field: `command: _` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `formatted` [INFO] [stdout] --> src/ui/approval.rs:247:17 [INFO] [stdout] | [INFO] [stdout] 247 | let formatted = format!("{:4} │ {}", line_num, line); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_formatted` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `count` [INFO] [stdout] --> src/ui/chat/update.rs:578:33 [INFO] [stdout] | [INFO] [stdout] 578 | if let Some(count) = data.get("count").and_then(|v| v.as_u64()) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_count` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `activity_show` is never read [INFO] [stdout] --> src/ui/chat/view.rs:572:5 [INFO] [stdout] | [INFO] [stdout] 570 | struct InputAreaContainer<'a> { [INFO] [stdout] | ------------------ field in this struct [INFO] [stdout] 571 | constraints: Vec, [INFO] [stdout] 572 | activity_show: bool, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `selected_line` is never read [INFO] [stdout] --> src/ui/components/file_diff.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 17 | pub struct FileDiff { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 24 | selected_line: usize, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/ui/chat/view.rs:100:22 [INFO] [stdout] | [INFO] [stdout] 100 | fn render_header(&self) -> Paragraph { [INFO] [stdout] | ^^^^^ ^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 100 | fn render_header(&self) -> Paragraph<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/ui/chat/view.rs:472:26 [INFO] [stdout] | [INFO] [stdout] 472 | fn render_status_bar(&self) -> Paragraph { [INFO] [stdout] | ^^^^^ ^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 472 | fn render_status_bar(&self) -> Paragraph<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/ui/chat/view.rs:648:28 [INFO] [stdout] | [INFO] [stdout] 648 | fn build_activity_line(&self) -> Line { [INFO] [stdout] | ^^^^^ ^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 648 | fn build_activity_line(&self) -> Line<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/ui/chat/input.rs:165:17 [INFO] [stdout] | [INFO] [stdout] 165 | pub fn view(&self) -> tui_textarea::TextArea { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 165 | pub fn view(&self) -> tui_textarea::TextArea<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `formatted` [INFO] [stdout] --> src/ui/approval.rs:247:17 [INFO] [stdout] | [INFO] [stdout] 247 | let formatted = format!("{:4} │ {}", line_num, line); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_formatted` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `count` [INFO] [stdout] --> src/ui/chat/update.rs:578:33 [INFO] [stdout] | [INFO] [stdout] 578 | if let Some(count) = data.get("count").and_then(|v| v.as_u64()) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_count` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `enhanced_message` and `usage` are never read [INFO] [stdout] --> src/client.rs:31:9 [INFO] [stdout] | [INFO] [stdout] 26 | pub struct ChatResponse { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] ... [INFO] [stdout] 31 | pub enhanced_message: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 32 | pub usage: Option, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ChatResponse` 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: fields `input_tokens` and `output_tokens` are never read [INFO] [stdout] --> src/client.rs:38:9 [INFO] [stdout] | [INFO] [stdout] 36 | pub struct Usage { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 37 | #[serde(rename = "inputTokens")] [INFO] [stdout] 38 | pub input_tokens: usize, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 39 | #[serde(rename = "outputTokens")] [INFO] [stdout] 40 | pub output_tokens: usize, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Usage` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `StreamStart` is never constructed [INFO] [stdout] --> src/client.rs:44:12 [INFO] [stdout] | [INFO] [stdout] 44 | pub struct StreamStart { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MessageChunk` is never constructed [INFO] [stdout] --> src/client.rs:52:12 [INFO] [stdout] | [INFO] [stdout] 52 | pub struct MessageChunk { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `send_message` is never used [INFO] [stdout] --> src/client.rs:122:18 [INFO] [stdout] | [INFO] [stdout] 62 | impl Client { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 122 | pub async fn send_message( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `handle_stream_events` is never used [INFO] [stdout] --> src/client.rs:200:14 [INFO] [stdout] | [INFO] [stdout] 200 | pub async fn handle_stream_events(mut event_source: EventSource) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ApprovalState` is never constructed [INFO] [stdout] --> src/events/approval.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 23 | pub struct ApprovalState { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Editing` is never constructed [INFO] [stdout] --> src/events/approval.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 30 | pub enum ApprovalStatus { [INFO] [stdout] | -------------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 34 | Editing, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ApprovalStatus` 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: struct `ApprovalManager` is never constructed [INFO] [stdout] --> src/events/approval.rs:39:12 [INFO] [stdout] | [INFO] [stdout] 39 | pub struct ApprovalManager { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/events/approval.rs:48:12 [INFO] [stdout] | [INFO] [stdout] 47 | impl ApprovalManager { [INFO] [stdout] | -------------------- associated items in this implementation [INFO] [stdout] 48 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 53 | pub fn add_request(&mut self, request: ApprovalRequest) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 64 | pub fn get_pending(&self, tool_id: &str) -> Option<&ApprovalState> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 69 | pub fn get_pending_mut(&mut self, tool_id: &str) -> Option<&mut ApprovalState> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 74 | pub fn pending_approvals(&self) -> Vec<&ApprovalState> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 79 | pub fn approve(&mut self, tool_id: &str, modified_input: Option) -> Option { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 91 | pub fn reject(&mut self, tool_id: &str, reason: String) -> Option { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 102 | pub fn start_editing(&mut self, tool_id: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 112 | pub fn clear(&mut self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 118 | pub fn history(&self) -> &[ApprovalState] { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `markdown_renderer`, `show_tool_approval`, and `tool_approval_model` are never read [INFO] [stdout] --> src/ui/chat/model.rs:25:9 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct ChatModel { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 25 | pub markdown_renderer: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 46 | pub show_tool_approval: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 47 | pub tool_approval_model: Option>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `content_height` is never read [INFO] [stdout] --> src/ui/chat/model.rs:66:9 [INFO] [stdout] | [INFO] [stdout] 63 | pub struct ViewportState { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 66 | pub content_height: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `response` is never read [INFO] [stdout] --> src/ui/chat/model.rs:71:16 [INFO] [stdout] | [INFO] [stdout] 71 | Complete { response: String, usage: Option }, [INFO] [stdout] | -------- ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `ToolApproval` and `ToolApprovalResponse` are never constructed [INFO] [stdout] --> src/ui/chat/model.rs:72:5 [INFO] [stdout] | [INFO] [stdout] 69 | pub enum StreamMsg { [INFO] [stdout] | --------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 72 | ToolApproval(ToolApprovalRequest), [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 73 | ToolApprovalResponse(ToolApprovalResponse), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `tool_name` and `preview` are never read [INFO] [stdout] --> src/ui/chat/model.rs:87:9 [INFO] [stdout] | [INFO] [stdout] 86 | pub struct ToolApprovalRequest { [INFO] [stdout] | ------------------- fields in this struct [INFO] [stdout] 87 | pub tool_name: String, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 88 | pub preview: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `approved` is never read [INFO] [stdout] --> src/ui/chat/model.rs:92:9 [INFO] [stdout] | [INFO] [stdout] 91 | pub struct ToolApprovalResponse { [INFO] [stdout] | -------------------- field in this struct [INFO] [stdout] 92 | pub approved: bool, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_client` is never used [INFO] [stdout] --> src/ui/chat/model.rs:180:12 [INFO] [stdout] | [INFO] [stdout] 95 | impl ChatModel { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 180 | pub fn get_client(&self) -> &Client { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `activity_show` is never read [INFO] [stdout] --> src/ui/chat/view.rs:572:5 [INFO] [stdout] | [INFO] [stdout] 570 | struct InputAreaContainer<'a> { [INFO] [stdout] | ------------------ field in this struct [INFO] [stdout] 571 | constraints: Vec, [INFO] [stdout] 572 | activity_show: bool, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `focus`, `blur`, and `focused` are never used [INFO] [stdout] --> src/ui/chat/input.rs:119:12 [INFO] [stdout] | [INFO] [stdout] 17 | impl InputModel { [INFO] [stdout] | --------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 119 | pub fn focus(&mut self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 123 | pub fn blur(&mut self) { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 127 | pub fn focused(&self) -> bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MESSAGE_TYPE_ASSISTANT` is never used [INFO] [stdout] --> src/ui/chat/types.rs:6:11 [INFO] [stdout] | [INFO] [stdout] 6 | pub const MESSAGE_TYPE_ASSISTANT: &str = "claude"; // Alias [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `id`, `timestamp`, and `tokens` are never read [INFO] [stdout] --> src/ui/chat/types.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct Message { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 15 | pub id: String, [INFO] [stdout] | ^^ [INFO] [stdout] ... [INFO] [stdout] 19 | pub timestamp: Instant, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 20 | pub tokens: TokenUsage, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Message` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `input` and `output` are never read [INFO] [stdout] --> src/ui/chat/types.rs:31:9 [INFO] [stdout] | [INFO] [stdout] 30 | pub struct TokenUsage { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 31 | pub input: usize, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 32 | pub output: usize, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TokenUsage` has derived impls for the traits `Debug` and `Clone`, 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/ui/chat/types.rs:84:12 [INFO] [stdout] | [INFO] [stdout] 35 | impl Message { [INFO] [stdout] | ------------ associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 84 | pub fn error(content: String) -> Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `tool_result_message` and `success` are never read [INFO] [stdout] --> src/ui/chat/types.rs:172:9 [INFO] [stdout] | [INFO] [stdout] 167 | pub struct Styles { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] ... [INFO] [stdout] 172 | pub tool_result_message: ratatui::style::Style, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 184 | pub success: ratatui::style::Style, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `DiffType` is never used [INFO] [stdout] --> src/ui/components/file_diff.rs:11:10 [INFO] [stdout] | [INFO] [stdout] 11 | pub enum DiffType { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `FileDiff` is never constructed [INFO] [stdout] --> src/ui/components/file_diff.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 17 | pub struct FileDiff { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/ui/components/file_diff.rs:28:12 [INFO] [stdout] | [INFO] [stdout] 27 | impl FileDiff { [INFO] [stdout] | ------------- associated items in this implementation [INFO] [stdout] 28 | pub fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 47 | pub fn scroll_up(&mut self) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 53 | pub fn scroll_down(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 60 | pub fn total_lines(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 68 | pub fn render(&self, f: &mut Frame, area: ratatui::layout::Rect) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 84 | fn render_header(&self, f: &mut Frame, area: ratatui::layout::Rect) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 116 | fn render_diff(&self, f: &mut Frame, area: ratatui::layout::Rect) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 178 | fn format_line(&self, line_no: usize, prefix: &str, content: &str, color: Color) -> ListItem<'static> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `detect_language` is never used [INFO] [stdout] --> src/ui/components/file_diff.rs:196:4 [INFO] [stdout] | [INFO] [stdout] 196 | fn detect_language(path: &str) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ToolApproval` is never constructed [INFO] [stdout] --> src/ui/components/tool_approval.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct ToolApproval { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `create_file_diff`, `render`, `render_header`, `render_preview`, and `render_actions` are never used [INFO] [stdout] --> src/ui/components/tool_approval.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 18 | impl ToolApproval { [INFO] [stdout] | ----------------- associated items in this implementation [INFO] [stdout] 19 | pub fn new(tool_name: String, preview: String, input: Value) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 30 | fn create_file_diff(tool_name: &str, input: &Value) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 63 | pub fn render(&self, f: &mut Frame, area: ratatui::layout::Rect) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 84 | fn render_header(&self, f: &mut Frame, area: ratatui::layout::Rect) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 107 | fn render_preview(&self, f: &mut Frame, area: ratatui::layout::Rect) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 120 | fn render_actions(&self, f: &mut Frame, area: ratatui::layout::Rect) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ToolResultRenderer` is never constructed [INFO] [stdout] --> src/ui/components/tool_result.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct ToolResultRenderer; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated functions are never used [INFO] [stdout] --> src/ui/components/tool_result.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 13 | impl ToolResultRenderer { [INFO] [stdout] | ----------------------- associated functions in this implementation [INFO] [stdout] 14 | /// Render a tool result message in a dedicated area [INFO] [stdout] 15 | pub fn render(msg: &Message, f: &mut Frame, area: Rect, is_collapsed: bool) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 27 | fn render_bash_result(msg: &Message, f: &mut Frame, area: Rect, is_collapsed: bool) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 82 | fn render_file_result(msg: &Message, f: &mut Frame, area: Rect, is_collapsed: bool) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 106 | fn render_write_result(msg: &Message, f: &mut Frame, area: Rect, _is_collapsed: bool) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 130 | fn render_edit_result(msg: &Message, f: &mut Frame, area: Rect, is_collapsed: bool) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 153 | fn render_ls_result(msg: &Message, f: &mut Frame, area: Rect, is_collapsed: bool) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 176 | fn render_generic_result(msg: &Message, f: &mut Frame, area: Rect, is_collapsed: bool) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 199 | pub fn calculate_height(msg: &Message, width: u16, is_collapsed: bool) -> u16 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ContextWindow` is never constructed [INFO] [stdout] --> src/ui/context_window.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct ContextWindow { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `add_tokens`, `percentage`, `remaining`, `render_gauge`, and `render_inline` are never used [INFO] [stdout] --> src/ui/context_window.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 14 | impl ContextWindow { [INFO] [stdout] | ------------------ associated items in this implementation [INFO] [stdout] 15 | pub fn new(model: String, max_tokens: usize) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 23 | pub fn add_tokens(&mut self, tokens: usize) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 27 | pub fn percentage(&self) -> f64 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 31 | pub fn remaining(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 35 | pub fn render_gauge(&self, f: &mut Frame, area: ratatui::layout::Rect) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 57 | pub fn render_inline(&self) -> Line<'static> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `format_tokens` is never used [INFO] [stdout] --> src/ui/context_window.rs:79:4 [INFO] [stdout] | [INFO] [stdout] 79 | fn format_tokens(tokens: usize) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `render` and `markdown_to_ansi` are never used [INFO] [stdout] --> src/ui/markdown.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 8 | impl MarkdownRenderer { [INFO] [stdout] | --------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 13 | pub fn render(&self, markdown: &str) -> Text<'static> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 21 | fn markdown_to_ansi(&self, markdown: &str) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `add_processor` and `clear` are never used [INFO] [stdout] --> src/ui/text_processor/pipeline.rs:40:12 [INFO] [stdout] | [INFO] [stdout] 21 | impl ProcessingPipeline { [INFO] [stdout] | ----------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 40 | pub fn add_processor(&mut self, processor: Box) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 45 | pub fn clear(&mut self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ChatViewport` is never constructed [INFO] [stdout] --> src/ui/viewport.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct ChatViewport<'a> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `block` are never used [INFO] [stdout] --> src/ui/viewport.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 14 | impl<'a> ChatViewport<'a> { [INFO] [stdout] | ------------------------- associated items in this implementation [INFO] [stdout] 15 | pub fn new(content: Text<'a>) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 22 | pub fn block(mut self, block: Block<'a>) -> Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ViewportState` is never constructed [INFO] [stdout] --> src/ui/viewport.rs:29:12 [INFO] [stdout] | [INFO] [stdout] 29 | pub struct ViewportState { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `scroll_to_bottom`, `scroll_up`, and `scroll_down` are never used [INFO] [stdout] --> src/ui/viewport.rs:35:12 [INFO] [stdout] | [INFO] [stdout] 34 | impl ViewportState { [INFO] [stdout] | ------------------ methods in this implementation [INFO] [stdout] 35 | pub fn scroll_to_bottom(&mut self, viewport_height: usize) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 43 | pub fn scroll_up(&mut self, amount: usize) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 47 | pub fn scroll_down(&mut self, amount: usize, viewport_height: usize) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_workspace`, `find_by_name`, and `delete_workspace` are never used [INFO] [stdout] --> src/workspace.rs:78:12 [INFO] [stdout] | [INFO] [stdout] 34 | impl WorkspaceManager { [INFO] [stdout] | --------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 78 | pub fn get_workspace(&self, id: &str) -> Option<&VirtualWorkspace> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 82 | pub fn find_by_name(&self, name: &str) -> Option<&VirtualWorkspace> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 94 | pub fn delete_workspace(&mut self, id: &str) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/ui/chat/view.rs:100:22 [INFO] [stdout] | [INFO] [stdout] 100 | fn render_header(&self) -> Paragraph { [INFO] [stdout] | ^^^^^ ^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 100 | fn render_header(&self) -> Paragraph<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/ui/chat/view.rs:472:26 [INFO] [stdout] | [INFO] [stdout] 472 | fn render_status_bar(&self) -> Paragraph { [INFO] [stdout] | ^^^^^ ^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 472 | fn render_status_bar(&self) -> Paragraph<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/ui/chat/view.rs:648:28 [INFO] [stdout] | [INFO] [stdout] 648 | fn build_activity_line(&self) -> Line { [INFO] [stdout] | ^^^^^ ^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 648 | fn build_activity_line(&self) -> Line<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/ui/chat/input.rs:165:17 [INFO] [stdout] | [INFO] [stdout] 165 | pub fn view(&self) -> tui_textarea::TextArea { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 165 | pub fn view(&self) -> tui_textarea::TextArea<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 4.00s [INFO] running `Command { std: "docker" "inspect" "e9df69337b234f437bf9573bf254b42fcbcf53e9e911b7c19adca37b1d6b8a66", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e9df69337b234f437bf9573bf254b42fcbcf53e9e911b7c19adca37b1d6b8a66", kill_on_drop: false }` [INFO] [stdout] e9df69337b234f437bf9573bf254b42fcbcf53e9e911b7c19adca37b1d6b8a66