[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] testing RLabs-Inc/one-claude against master#e9385f9eea0221ef295a188d49d16f8f5189abf1 for pr-146098 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FRLabs-Inc%2Fone-claude" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-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-2-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/RLabs-Inc/one-claude on toolchain e9385f9eea0221ef295a188d49d16f8f5189abf1 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+e9385f9eea0221ef295a188d49d16f8f5189abf1" "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" "+e9385f9eea0221ef295a188d49d16f8f5189abf1" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded textwrap v0.16.2 [INFO] [stderr] Downloaded simple-easing v1.0.1 [INFO] [stderr] Downloaded instability v0.3.7 [INFO] [stderr] Downloaded tui-tree-widget v0.22.0 [INFO] [stderr] Downloaded castaway v0.2.3 [INFO] [stderr] Downloaded v_frame v0.3.9 [INFO] [stderr] Downloaded colorsys v0.6.7 [INFO] [stderr] Downloaded bon v2.3.0 [INFO] [stderr] Downloaded windows-registry v0.5.3 [INFO] [stderr] Downloaded tui-textarea v0.6.1 [INFO] [stderr] Downloaded arg_enum_proc_macro v0.3.4 [INFO] [stderr] Downloaded arbitrary v1.4.1 [INFO] [stderr] Downloaded version-compare v0.2.0 [INFO] [stderr] Downloaded system-deps v6.2.2 [INFO] [stderr] Downloaded av1-grain v0.2.4 [INFO] [stderr] Downloaded ansi-to-tui v6.0.1 [INFO] [stderr] Downloaded new_debug_unreachable v1.0.6 [INFO] [stderr] Downloaded clap v4.5.40 [INFO] [stderr] Downloaded dirs-sys v0.4.1 [INFO] [stderr] Downloaded dyn-clone v1.0.19 [INFO] [stderr] Downloaded clap_derive v4.5.40 [INFO] [stderr] Downloaded reqwest v0.12.20 [INFO] [stderr] Downloaded exr v1.73.0 [INFO] [stderr] Downloaded redox_users v0.4.6 [INFO] [stderr] Downloaded rgb v0.8.50 [INFO] [stderr] Downloaded getopts v0.2.23 [INFO] [stderr] Downloaded hyper-util v0.1.14 [INFO] [stderr] Downloaded winnow v0.7.11 [INFO] [stderr] Downloaded ratatui-image v1.0.5 [INFO] [stderr] Downloaded zune-core v0.4.12 [INFO] [stderr] Downloaded clap_builder v4.5.40 [INFO] [stderr] Downloaded pulldown-cmark v0.9.6 [INFO] [stderr] Downloaded qoi v0.4.1 [INFO] [stderr] Downloaded imgref v1.11.0 [INFO] [stderr] Downloaded libfuzzer-sys v0.4.9 [INFO] [stderr] Downloaded rav1e v0.7.1 [INFO] [stderr] Downloaded profiling-procmacros v1.0.17 [INFO] [stderr] Downloaded zune-inflate v0.2.54 [INFO] [stderr] Downloaded image-webp v0.2.3 [INFO] [stderr] Downloaded bitstream-io v2.6.0 [INFO] [stderr] Downloaded built v0.7.7 [INFO] [stderr] Downloaded interpolate_name v0.2.4 [INFO] [stderr] Downloaded maybe-rayon v0.1.1 [INFO] [stderr] Downloaded simd_helpers v0.1.0 [INFO] [stderr] Downloaded aligned-vec v0.6.4 [INFO] [stderr] Downloaded vte v0.14.1 [INFO] [stderr] Downloaded strip-ansi-escapes v0.2.1 [INFO] [stderr] Downloaded gif v0.13.3 [INFO] [stderr] Downloaded rustls v0.23.28 [INFO] [stderr] Downloaded loop9 v0.1.5 [INFO] [stderr] Downloaded noop_proc_macro v0.3.0 [INFO] [stderr] Downloaded cfg-expr v0.15.8 [INFO] [stderr] Downloaded equator-macro v0.4.2 [INFO] [stderr] Downloaded zune-jpeg v0.4.18 [INFO] [stderr] Downloaded option-ext v0.2.0 [INFO] [stderr] Downloaded dirs v5.0.1 [INFO] [stderr] Downloaded bit_field v0.10.2 [INFO] [stderr] Downloaded lebe v0.5.2 [INFO] [stderr] Downloaded avif-serialize v0.8.4 [INFO] [stderr] Downloaded serde_spanned v0.6.9 [INFO] [stderr] Downloaded eventsource-stream v0.2.3 [INFO] [stderr] Downloaded bon-macros v2.3.0 [INFO] [stderr] Downloaded equator v0.4.2 [INFO] [stderr] Downloaded ravif v0.11.20 [INFO] [stderr] Downloaded ratatui v0.28.1 [INFO] [stderr] Downloaded reqwest-eventsource v0.6.0 [INFO] [stderr] Downloaded toml v0.8.23 [INFO] [stderr] Downloaded icy_sixel v0.1.3 [INFO] [stderr] Downloaded tachyonfx v0.7.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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" "+e9385f9eea0221ef295a188d49d16f8f5189abf1" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 80543e62793efe0de24519a5a55ddc49b319869796813b2025cf38c985aad320 [INFO] running `Command { std: "docker" "start" "-a" "80543e62793efe0de24519a5a55ddc49b319869796813b2025cf38c985aad320", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "80543e62793efe0de24519a5a55ddc49b319869796813b2025cf38c985aad320", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "80543e62793efe0de24519a5a55ddc49b319869796813b2025cf38c985aad320", kill_on_drop: false }` [INFO] [stdout] 80543e62793efe0de24519a5a55ddc49b319869796813b2025cf38c985aad320 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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" "+e9385f9eea0221ef295a188d49d16f8f5189abf1" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a0801b89d7fec54abe22b500048a29086f1a44f00741548e3a3d9fa14631afda [INFO] running `Command { std: "docker" "start" "-a" "a0801b89d7fec54abe22b500048a29086f1a44f00741548e3a3d9fa14631afda", kill_on_drop: false }` [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling openssl-sys v0.9.109 [INFO] [stderr] Compiling tokio v1.45.1 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling equator-macro v0.4.2 [INFO] [stderr] Compiling rustix v0.38.44 [INFO] [stderr] Compiling castaway v0.2.3 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling indexmap v2.9.0 [INFO] [stderr] Compiling equator v0.4.2 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling openssl v0.10.73 [INFO] [stderr] Compiling compact_str v0.8.1 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling instability v0.3.7 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling num-bigint v0.4.6 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling aligned-vec v0.6.4 [INFO] [stderr] Compiling built v0.7.7 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling v_frame v0.3.9 [INFO] [stderr] Compiling crossterm v0.28.1 [INFO] [stderr] Compiling rav1e v0.7.1 [INFO] [stderr] Compiling profiling-procmacros v1.0.17 [INFO] [stderr] Compiling num-rational v0.4.2 [INFO] [stderr] Compiling crc32fast v1.4.2 [INFO] [stderr] Compiling ratatui v0.28.1 [INFO] [stderr] Compiling flate2 v1.1.2 [INFO] [stderr] Compiling av1-grain v0.2.4 [INFO] [stderr] Compiling profiling v1.0.17 [INFO] [stderr] Compiling maybe-rayon v0.1.1 [INFO] [stderr] Compiling num-derive v0.4.2 [INFO] [stderr] Compiling arg_enum_proc_macro v0.3.4 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling simd_helpers v0.1.0 [INFO] [stderr] Compiling bitstream-io v2.6.0 [INFO] [stderr] Compiling noop_proc_macro v0.3.0 [INFO] [stderr] Compiling imgref v1.11.0 [INFO] [stderr] Compiling new_debug_unreachable v1.0.6 [INFO] [stderr] Compiling weezl v0.1.10 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling loop9 v0.1.5 [INFO] [stderr] Compiling avif-serialize v0.8.4 [INFO] [stderr] Compiling tokio-util v0.7.15 [INFO] [stderr] Compiling h2 v0.4.10 [INFO] [stderr] Compiling tower v0.5.2 [INFO] [stderr] Compiling zune-inflate v0.2.54 [INFO] [stderr] Compiling half v2.6.0 [INFO] [stderr] Compiling rgb v0.8.50 [INFO] [stderr] Compiling zune-core v0.4.12 [INFO] [stderr] Compiling jpeg-decoder v0.3.2 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling lebe v0.5.2 [INFO] [stderr] Compiling bytemuck v1.23.1 [INFO] [stderr] Compiling bit_field v0.10.2 [INFO] [stderr] Compiling png v0.17.16 [INFO] [stderr] Compiling qoi v0.4.1 [INFO] [stderr] Compiling ravif v0.11.20 [INFO] [stderr] Compiling tiff v0.9.1 [INFO] [stderr] Compiling tower-http v0.6.6 [INFO] [stderr] Compiling gif v0.13.3 [INFO] [stderr] Compiling exr v1.73.0 [INFO] [stderr] Compiling hyper v1.6.0 [INFO] [stderr] Compiling zune-jpeg v0.4.18 [INFO] [stderr] Compiling image-webp v0.2.3 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling bon-macros v2.3.0 [INFO] [stderr] Compiling option-ext v0.2.0 [INFO] [stderr] Compiling pulldown-cmark v0.9.6 [INFO] [stderr] Compiling clap_builder v4.5.40 [INFO] [stderr] Compiling hyper-util v0.1.14 [INFO] [stderr] Compiling dirs-sys v0.4.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling getopts v0.2.23 [INFO] [stderr] Compiling eventsource-stream v0.2.3 [INFO] [stderr] Compiling clap_derive v4.5.40 [INFO] [stderr] Compiling hyper-tls v0.6.0 [INFO] [stderr] Compiling image v0.25.6 [INFO] [stderr] Compiling reqwest v0.12.20 [INFO] [stderr] Compiling vte v0.14.1 [INFO] [stderr] Compiling dyn-clone v1.0.19 [INFO] [stderr] Compiling colorsys v0.6.7 [INFO] [stderr] Compiling simple-easing v1.0.1 [INFO] [stderr] Compiling bon v2.3.0 [INFO] [stderr] Compiling simdutf8 v0.1.5 [INFO] [stderr] Compiling icy_sixel v0.1.3 [INFO] [stderr] Compiling textwrap v0.16.2 [INFO] [stderr] Compiling ansi-to-tui v6.0.1 [INFO] [stderr] Compiling clap v4.5.40 [INFO] [stderr] Compiling tachyonfx v0.7.0 [INFO] [stderr] Compiling reqwest-eventsource v0.6.0 [INFO] [stderr] Compiling chrono v0.4.41 [INFO] [stderr] Compiling serde_yaml v0.9.34+deprecated [INFO] [stderr] Compiling ratatui-image v1.0.5 [INFO] [stderr] Compiling tracing-subscriber v0.3.19 [INFO] [stderr] Compiling strip-ansi-escapes v0.2.1 [INFO] [stderr] Compiling uuid v1.17.0 [INFO] [stderr] Compiling dirs v5.0.1 [INFO] [stderr] Compiling tui-textarea v0.6.1 [INFO] [stderr] Compiling tui-tree-widget v0.22.0 [INFO] [stderr] Compiling webbrowser v1.0.5 [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 19.02s [INFO] running `Command { std: "docker" "inspect" "a0801b89d7fec54abe22b500048a29086f1a44f00741548e3a3d9fa14631afda", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a0801b89d7fec54abe22b500048a29086f1a44f00741548e3a3d9fa14631afda", kill_on_drop: false }` [INFO] [stdout] a0801b89d7fec54abe22b500048a29086f1a44f00741548e3a3d9fa14631afda [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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" "+e9385f9eea0221ef295a188d49d16f8f5189abf1" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] db3077bca59bfcef37bddd24609902954cf9c0c158bca679de148f69c2d3cd7c [INFO] running `Command { std: "docker" "start" "-a" "db3077bca59bfcef37bddd24609902954cf9c0c158bca679de148f69c2d3cd7c", 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] [stderr] Compiling one-claude v0.2.0 (/opt/rustwide/workdir) [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] [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: `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: 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: 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: `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 1.40s [INFO] running `Command { std: "docker" "inspect" "db3077bca59bfcef37bddd24609902954cf9c0c158bca679de148f69c2d3cd7c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "db3077bca59bfcef37bddd24609902954cf9c0c158bca679de148f69c2d3cd7c", kill_on_drop: false }` [INFO] [stdout] db3077bca59bfcef37bddd24609902954cf9c0c158bca679de148f69c2d3cd7c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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" "+e9385f9eea0221ef295a188d49d16f8f5189abf1" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] bd20cf7c37c3f05707793570a9c444bf16058b460f9e98b10ddeb2856143cd42 [INFO] running `Command { std: "docker" "start" "-a" "bd20cf7c37c3f05707793570a9c444bf16058b460f9e98b10ddeb2856143cd42", kill_on_drop: false }` [INFO] [stderr] warning: unused variable: `command` [INFO] [stderr] --> src/ui/approval_view.rs:245:54 [INFO] [stderr] | [INFO] [stderr] 245 | if let PreviewContent::Command { command, description, working_dir } = &self.content { [INFO] [stderr] | ^^^^^^^ help: try ignoring the field: `command: _` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `formatted` [INFO] [stderr] --> src/ui/approval.rs:247:17 [INFO] [stderr] | [INFO] [stderr] 247 | let formatted = format!("{:4} │ {}", line_num, line); [INFO] [stderr] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_formatted` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `count` [INFO] [stderr] --> src/ui/chat/update.rs:578:33 [INFO] [stderr] | [INFO] [stderr] 578 | if let Some(count) = data.get("count").and_then(|v| v.as_u64()) { [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_count` [INFO] [stderr] [INFO] [stderr] warning: field `activity_show` is never read [INFO] [stderr] --> src/ui/chat/view.rs:572:5 [INFO] [stderr] | [INFO] [stderr] 570 | struct InputAreaContainer<'a> { [INFO] [stderr] | ------------------ field in this struct [INFO] [stderr] 571 | constraints: Vec, [INFO] [stderr] 572 | activity_show: bool, [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: field `selected_line` is never read [INFO] [stderr] --> src/ui/components/file_diff.rs:24:5 [INFO] [stderr] | [INFO] [stderr] 17 | pub struct FileDiff { [INFO] [stderr] | -------- field in this struct [INFO] [stderr] ... [INFO] [stderr] 24 | selected_line: usize, [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function `strip_only` is never used [INFO] [stderr] --> src/ui/text_processor/ansi.rs:24:12 [INFO] [stderr] | [INFO] [stderr] 16 | impl AnsiProcessor { [INFO] [stderr] | ------------------ associated function in this implementation [INFO] [stderr] ... [INFO] [stderr] 24 | pub fn strip_only() -> Self { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function `with_replacement` is never used [INFO] [stderr] --> src/ui/text_processor/emoji.rs:26:12 [INFO] [stderr] | [INFO] [stderr] 17 | impl EmojiProcessor { [INFO] [stderr] | ------------------- associated function in this implementation [INFO] [stderr] ... [INFO] [stderr] 26 | pub fn with_replacement() -> Self { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/ui/chat/view.rs:100:22 [INFO] [stderr] | [INFO] [stderr] 100 | fn render_header(&self) -> Paragraph { [INFO] [stderr] | ^^^^^ ^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 100 | fn render_header(&self) -> Paragraph<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/ui/chat/view.rs:472:26 [INFO] [stderr] | [INFO] [stderr] 472 | fn render_status_bar(&self) -> Paragraph { [INFO] [stderr] | ^^^^^ ^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 472 | fn render_status_bar(&self) -> Paragraph<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/ui/chat/view.rs:648:28 [INFO] [stderr] | [INFO] [stderr] 648 | fn build_activity_line(&self) -> Line { [INFO] [stderr] | ^^^^^ ^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 648 | fn build_activity_line(&self) -> Line<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/ui/chat/input.rs:165:17 [INFO] [stderr] | [INFO] [stderr] 165 | pub fn view(&self) -> tui_textarea::TextArea { [INFO] [stderr] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 165 | pub fn view(&self) -> tui_textarea::TextArea<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: `one-claude` (lib) generated 11 warnings (run `cargo fix --lib -p one-claude` to apply 4 suggestions) [INFO] [stderr] warning: `one-claude` (lib test) generated 9 warnings (9 duplicates) [INFO] [stderr] warning: unused imports: `ApprovalManager`, `ApprovalRequest`, `ApprovalState`, and `ApprovalStatus` [INFO] [stderr] --> src/events/mod.rs:3:20 [INFO] [stderr] | [INFO] [stderr] 3 | pub use approval::{ApprovalManager, ApprovalRequest, ApprovalState, ApprovalStatus}; [INFO] [stderr] | ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `tool_result::ToolResultRenderer` [INFO] [stderr] --> src/ui/components/mod.rs:7:9 [INFO] [stderr] | [INFO] [stderr] 7 | pub use tool_result::ToolResultRenderer; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: fields `enhanced_message` and `usage` are never read [INFO] [stderr] --> src/client.rs:31:9 [INFO] [stderr] | [INFO] [stderr] 26 | pub struct ChatResponse { [INFO] [stderr] | ------------ fields in this struct [INFO] [stderr] ... [INFO] [stderr] 31 | pub enhanced_message: String, [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] 32 | pub usage: Option, [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `ChatResponse` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: fields `input_tokens` and `output_tokens` are never read [INFO] [stderr] --> src/client.rs:38:9 [INFO] [stderr] | [INFO] [stderr] 36 | pub struct Usage { [INFO] [stderr] | ----- fields in this struct [INFO] [stderr] 37 | #[serde(rename = "inputTokens")] [INFO] [stderr] 38 | pub input_tokens: usize, [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] 39 | #[serde(rename = "outputTokens")] [INFO] [stderr] 40 | pub output_tokens: usize, [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `Usage` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: struct `StreamStart` is never constructed [INFO] [stderr] --> src/client.rs:44:12 [INFO] [stderr] | [INFO] [stderr] 44 | pub struct StreamStart { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `MessageChunk` is never constructed [INFO] [stderr] --> src/client.rs:52:12 [INFO] [stderr] | [INFO] [stderr] 52 | pub struct MessageChunk { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: method `send_message` is never used [INFO] [stderr] --> src/client.rs:122:18 [INFO] [stderr] | [INFO] [stderr] 62 | impl Client { [INFO] [stderr] | ----------- method in this implementation [INFO] [stderr] ... [INFO] [stderr] 122 | pub async fn send_message( [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `handle_stream_events` is never used [INFO] [stderr] --> src/client.rs:200:14 [INFO] [stderr] | [INFO] [stderr] 200 | pub async fn handle_stream_events(mut event_source: EventSource) -> Result<()> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `ApprovalState` is never constructed [INFO] [stderr] --> src/events/approval.rs:23:12 [INFO] [stderr] | [INFO] [stderr] 23 | pub struct ApprovalState { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variant `Editing` is never constructed [INFO] [stderr] --> src/events/approval.rs:34:5 [INFO] [stderr] | [INFO] [stderr] 30 | pub enum ApprovalStatus { [INFO] [stderr] | -------------- variant in this enum [INFO] [stderr] ... [INFO] [stderr] 34 | Editing, [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `ApprovalStatus` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: struct `ApprovalManager` is never constructed [INFO] [stderr] --> src/events/approval.rs:39:12 [INFO] [stderr] | [INFO] [stderr] 39 | pub struct ApprovalManager { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: multiple associated items are never used [INFO] [stderr] --> src/events/approval.rs:48:12 [INFO] [stderr] | [INFO] [stderr] 47 | impl ApprovalManager { [INFO] [stderr] | -------------------- associated items in this implementation [INFO] [stderr] 48 | pub fn new() -> Self { [INFO] [stderr] | ^^^ [INFO] [stderr] ... [INFO] [stderr] 53 | pub fn add_request(&mut self, request: ApprovalRequest) { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 64 | pub fn get_pending(&self, tool_id: &str) -> Option<&ApprovalState> { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 69 | pub fn get_pending_mut(&mut self, tool_id: &str) -> Option<&mut ApprovalState> { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 74 | pub fn pending_approvals(&self) -> Vec<&ApprovalState> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 79 | pub fn approve(&mut self, tool_id: &str, modified_input: Option) -> Option { [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 91 | pub fn reject(&mut self, tool_id: &str, reason: String) -> Option { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 102 | pub fn start_editing(&mut self, tool_id: &str) -> bool { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 112 | pub fn clear(&mut self) { [INFO] [stderr] | ^^^^^ [INFO] [stderr] ... [INFO] [stderr] 118 | pub fn history(&self) -> &[ApprovalState] { [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: fields `markdown_renderer`, `show_tool_approval`, and `tool_approval_model` are never read [INFO] [stderr] --> src/ui/chat/model.rs:25:9 [INFO] [stderr] | [INFO] [stderr] 11 | pub struct ChatModel { [INFO] [stderr] | --------- fields in this struct [INFO] [stderr] ... [INFO] [stderr] 25 | pub markdown_renderer: Option, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 46 | pub show_tool_approval: bool, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] 47 | pub tool_approval_model: Option>, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field `content_height` is never read [INFO] [stderr] --> src/ui/chat/model.rs:66:9 [INFO] [stderr] | [INFO] [stderr] 63 | pub struct ViewportState { [INFO] [stderr] | ------------- field in this struct [INFO] [stderr] ... [INFO] [stderr] 66 | pub content_height: usize, [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field `response` is never read [INFO] [stderr] --> src/ui/chat/model.rs:71:16 [INFO] [stderr] | [INFO] [stderr] 71 | Complete { response: String, usage: Option }, [INFO] [stderr] | -------- ^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | field in this variant [INFO] [stderr] [INFO] [stderr] warning: variants `ToolApproval` and `ToolApprovalResponse` are never constructed [INFO] [stderr] --> src/ui/chat/model.rs:72:5 [INFO] [stderr] | [INFO] [stderr] 69 | pub enum StreamMsg { [INFO] [stderr] | --------- variants in this enum [INFO] [stderr] ... [INFO] [stderr] 72 | ToolApproval(ToolApprovalRequest), [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] 73 | ToolApprovalResponse(ToolApprovalResponse), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: fields `tool_name` and `preview` are never read [INFO] [stderr] --> src/ui/chat/model.rs:87:9 [INFO] [stderr] | [INFO] [stderr] 86 | pub struct ToolApprovalRequest { [INFO] [stderr] | ------------------- fields in this struct [INFO] [stderr] 87 | pub tool_name: String, [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] 88 | pub preview: String, [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field `approved` is never read [INFO] [stderr] --> src/ui/chat/model.rs:92:9 [INFO] [stderr] | [INFO] [stderr] 91 | pub struct ToolApprovalResponse { [INFO] [stderr] | -------------------- field in this struct [INFO] [stderr] 92 | pub approved: bool, [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: method `get_client` is never used [INFO] [stderr] --> src/ui/chat/model.rs:180:12 [INFO] [stderr] | [INFO] [stderr] 95 | impl ChatModel { [INFO] [stderr] | -------------- method in this implementation [INFO] [stderr] ... [INFO] [stderr] 180 | pub fn get_client(&self) -> &Client { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field `activity_show` is never read [INFO] [stderr] --> src/ui/chat/view.rs:572:5 [INFO] [stderr] | [INFO] [stderr] 570 | struct InputAreaContainer<'a> { [INFO] [stderr] | ------------------ field in this struct [INFO] [stderr] 571 | constraints: Vec, [INFO] [stderr] 572 | activity_show: bool, [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: methods `focus`, `blur`, and `focused` are never used [INFO] [stderr] --> src/ui/chat/input.rs:119:12 [INFO] [stderr] | [INFO] [stderr] 17 | impl InputModel { [INFO] [stderr] | --------------- methods in this implementation [INFO] [stderr] ... [INFO] [stderr] 119 | pub fn focus(&mut self) { [INFO] [stderr] | ^^^^^ [INFO] [stderr] ... [INFO] [stderr] 123 | pub fn blur(&mut self) { [INFO] [stderr] | ^^^^ [INFO] [stderr] ... [INFO] [stderr] 127 | pub fn focused(&self) -> bool { [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant `MESSAGE_TYPE_ASSISTANT` is never used [INFO] [stderr] --> src/ui/chat/types.rs:6:11 [INFO] [stderr] | [INFO] [stderr] 6 | pub const MESSAGE_TYPE_ASSISTANT: &str = "claude"; // Alias [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: fields `id`, `timestamp`, and `tokens` are never read [INFO] [stderr] --> src/ui/chat/types.rs:15:9 [INFO] [stderr] | [INFO] [stderr] 14 | pub struct Message { [INFO] [stderr] | ------- fields in this struct [INFO] [stderr] 15 | pub id: String, [INFO] [stderr] | ^^ [INFO] [stderr] ... [INFO] [stderr] 19 | pub timestamp: Instant, [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] 20 | pub tokens: TokenUsage, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `Message` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: fields `input` and `output` are never read [INFO] [stderr] --> src/ui/chat/types.rs:31:9 [INFO] [stderr] | [INFO] [stderr] 30 | pub struct TokenUsage { [INFO] [stderr] | ---------- fields in this struct [INFO] [stderr] 31 | pub input: usize, [INFO] [stderr] | ^^^^^ [INFO] [stderr] 32 | pub output: usize, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `TokenUsage` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: associated function `error` is never used [INFO] [stderr] --> src/ui/chat/types.rs:84:12 [INFO] [stderr] | [INFO] [stderr] 35 | impl Message { [INFO] [stderr] | ------------ associated function in this implementation [INFO] [stderr] ... [INFO] [stderr] 84 | pub fn error(content: String) -> Self { [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: fields `tool_result_message` and `success` are never read [INFO] [stderr] --> src/ui/chat/types.rs:172:9 [INFO] [stderr] | [INFO] [stderr] 167 | pub struct Styles { [INFO] [stderr] | ------ fields in this struct [INFO] [stderr] ... [INFO] [stderr] 172 | pub tool_result_message: ratatui::style::Style, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 184 | pub success: ratatui::style::Style, [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: enum `DiffType` is never used [INFO] [stderr] --> src/ui/components/file_diff.rs:11:10 [INFO] [stderr] | [INFO] [stderr] 11 | pub enum DiffType { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `FileDiff` is never constructed [INFO] [stderr] --> src/ui/components/file_diff.rs:17:12 [INFO] [stderr] | [INFO] [stderr] 17 | pub struct FileDiff { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: multiple associated items are never used [INFO] [stderr] --> src/ui/components/file_diff.rs:28:12 [INFO] [stderr] | [INFO] [stderr] 27 | impl FileDiff { [INFO] [stderr] | ------------- associated items in this implementation [INFO] [stderr] 28 | pub fn new( [INFO] [stderr] | ^^^ [INFO] [stderr] ... [INFO] [stderr] 47 | pub fn scroll_up(&mut self) { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 53 | pub fn scroll_down(&mut self) { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 60 | pub fn total_lines(&self) -> usize { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 68 | pub fn render(&self, f: &mut Frame, area: ratatui::layout::Rect) { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 84 | fn render_header(&self, f: &mut Frame, area: ratatui::layout::Rect) { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 116 | fn render_diff(&self, f: &mut Frame, area: ratatui::layout::Rect) { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 178 | fn format_line(&self, line_no: usize, prefix: &str, content: &str, color: Color) -> ListItem<'static> { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `detect_language` is never used [INFO] [stderr] --> src/ui/components/file_diff.rs:196:4 [INFO] [stderr] | [INFO] [stderr] 196 | fn detect_language(path: &str) -> Option { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `ToolApproval` is never constructed [INFO] [stderr] --> src/ui/components/tool_approval.rs:11:12 [INFO] [stderr] | [INFO] [stderr] 11 | pub struct ToolApproval { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated items `new`, `create_file_diff`, `render`, `render_header`, `render_preview`, and `render_actions` are never used [INFO] [stderr] --> src/ui/components/tool_approval.rs:19:12 [INFO] [stderr] | [INFO] [stderr] 18 | impl ToolApproval { [INFO] [stderr] | ----------------- associated items in this implementation [INFO] [stderr] 19 | pub fn new(tool_name: String, preview: String, input: Value) -> Self { [INFO] [stderr] | ^^^ [INFO] [stderr] ... [INFO] [stderr] 30 | fn create_file_diff(tool_name: &str, input: &Value) -> Option { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 63 | pub fn render(&self, f: &mut Frame, area: ratatui::layout::Rect) { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 84 | fn render_header(&self, f: &mut Frame, area: ratatui::layout::Rect) { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 107 | fn render_preview(&self, f: &mut Frame, area: ratatui::layout::Rect) { [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 120 | fn render_actions(&self, f: &mut Frame, area: ratatui::layout::Rect) { [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `ToolResultRenderer` is never constructed [INFO] [stderr] --> src/ui/components/tool_result.rs:11:12 [INFO] [stderr] | [INFO] [stderr] 11 | pub struct ToolResultRenderer; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: multiple associated functions are never used [INFO] [stderr] --> src/ui/components/tool_result.rs:15:12 [INFO] [stderr] | [INFO] [stderr] 13 | impl ToolResultRenderer { [INFO] [stderr] | ----------------------- associated functions in this implementation [INFO] [stderr] 14 | /// Render a tool result message in a dedicated area [INFO] [stderr] 15 | pub fn render(msg: &Message, f: &mut Frame, area: Rect, is_collapsed: bool) { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 27 | fn render_bash_result(msg: &Message, f: &mut Frame, area: Rect, is_collapsed: bool) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 82 | fn render_file_result(msg: &Message, f: &mut Frame, area: Rect, is_collapsed: bool) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 106 | fn render_write_result(msg: &Message, f: &mut Frame, area: Rect, _is_collapsed: bool) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 130 | fn render_edit_result(msg: &Message, f: &mut Frame, area: Rect, is_collapsed: bool) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 153 | fn render_ls_result(msg: &Message, f: &mut Frame, area: Rect, is_collapsed: bool) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 176 | fn render_generic_result(msg: &Message, f: &mut Frame, area: Rect, is_collapsed: bool) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 199 | pub fn calculate_height(msg: &Message, width: u16, is_collapsed: bool) -> u16 { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `ContextWindow` is never constructed [INFO] [stderr] --> src/ui/context_window.rs:8:12 [INFO] [stderr] | [INFO] [stderr] 8 | pub struct ContextWindow { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated items `new`, `add_tokens`, `percentage`, `remaining`, `render_gauge`, and `render_inline` are never used [INFO] [stderr] --> src/ui/context_window.rs:15:12 [INFO] [stderr] | [INFO] [stderr] 14 | impl ContextWindow { [INFO] [stderr] | ------------------ associated items in this implementation [INFO] [stderr] 15 | pub fn new(model: String, max_tokens: usize) -> Self { [INFO] [stderr] | ^^^ [INFO] [stderr] ... [INFO] [stderr] 23 | pub fn add_tokens(&mut self, tokens: usize) { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 27 | pub fn percentage(&self) -> f64 { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 31 | pub fn remaining(&self) -> usize { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 35 | pub fn render_gauge(&self, f: &mut Frame, area: ratatui::layout::Rect) { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 57 | pub fn render_inline(&self) -> Line<'static> { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `format_tokens` is never used [INFO] [stderr] --> src/ui/context_window.rs:79:4 [INFO] [stderr] | [INFO] [stderr] 79 | fn format_tokens(tokens: usize) -> String { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: methods `render` and `markdown_to_ansi` are never used [INFO] [stderr] --> src/ui/markdown.rs:13:12 [INFO] [stderr] | [INFO] [stderr] 8 | impl MarkdownRenderer { [INFO] [stderr] | --------------------- methods in this implementation [INFO] [stderr] ... [INFO] [stderr] 13 | pub fn render(&self, markdown: &str) -> Text<'static> { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 21 | fn markdown_to_ansi(&self, markdown: &str) -> String { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `process_tool_output` is never used [INFO] [stderr] --> src/ui/text_processor/mod.rs:18:8 [INFO] [stderr] | [INFO] [stderr] 18 | pub fn process_tool_output(output: &str) -> String { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `AnsiProcessor` is never constructed [INFO] [stderr] --> src/ui/text_processor/ansi.rs:11:12 [INFO] [stderr] | [INFO] [stderr] 11 | pub struct AnsiProcessor { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated functions `new` and `strip_only` are never used [INFO] [stderr] --> src/ui/text_processor/ansi.rs:17:12 [INFO] [stderr] | [INFO] [stderr] 16 | impl AnsiProcessor { [INFO] [stderr] | ------------------ associated functions in this implementation [INFO] [stderr] 17 | pub fn new() -> Self { [INFO] [stderr] | ^^^ [INFO] [stderr] ... [INFO] [stderr] 24 | pub fn strip_only() -> Self { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `strip_ansi_codes` is never used [INFO] [stderr] --> src/ui/text_processor/ansi.rs:72:4 [INFO] [stderr] | [INFO] [stderr] 72 | fn strip_ansi_codes(input: &str) -> String { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `UnicodeNormalizer` is never constructed [INFO] [stderr] --> src/ui/text_processor/unicode.rs:10:12 [INFO] [stderr] | [INFO] [stderr] 10 | pub struct UnicodeNormalizer { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function `new` is never used [INFO] [stderr] --> src/ui/text_processor/unicode.rs:18:12 [INFO] [stderr] | [INFO] [stderr] 17 | impl UnicodeNormalizer { [INFO] [stderr] | ---------------------- associated function in this implementation [INFO] [stderr] 18 | pub fn new() -> Self { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: function `is_problematic_char` is never used [INFO] [stderr] --> src/ui/text_processor/unicode.rs:56:4 [INFO] [stderr] | [INFO] [stderr] 56 | fn is_problematic_char(ch: char) -> bool { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `safe_replacement_for` is never used [INFO] [stderr] --> src/ui/text_processor/unicode.rs:68:4 [INFO] [stderr] | [INFO] [stderr] 68 | fn safe_replacement_for(ch: char) -> char { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `EmojiProcessor` is never constructed [INFO] [stderr] --> src/ui/text_processor/emoji.rs:10:12 [INFO] [stderr] | [INFO] [stderr] 10 | pub struct EmojiProcessor { [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated functions `new` and `with_replacement` are never used [INFO] [stderr] --> src/ui/text_processor/emoji.rs:18:12 [INFO] [stderr] | [INFO] [stderr] 17 | impl EmojiProcessor { [INFO] [stderr] | ------------------- associated functions in this implementation [INFO] [stderr] 18 | pub fn new() -> Self { [INFO] [stderr] | ^^^ [INFO] [stderr] ... [INFO] [stderr] 26 | pub fn with_replacement() -> Self { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `is_emoji_modifier_base` is never used [INFO] [stderr] --> src/ui/text_processor/emoji.rs:83:4 [INFO] [stderr] | [INFO] [stderr] 83 | fn is_emoji_modifier_base(ch: char) -> bool { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `collect_emoji_sequence` is never used [INFO] [stderr] --> src/ui/text_processor/emoji.rs:93:4 [INFO] [stderr] | [INFO] [stderr] 93 | fn collect_emoji_sequence(base: char, chars: &mut std::iter::Peekable) -> String { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `is_emoji_modifier` is never used [INFO] [stderr] --> src/ui/text_processor/emoji.rs:109:4 [INFO] [stderr] | [INFO] [stderr] 109 | fn is_emoji_modifier(ch: char) -> bool { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `emoji_width` is never used [INFO] [stderr] --> src/ui/text_processor/emoji.rs:117:4 [INFO] [stderr] | [INFO] [stderr] 117 | fn emoji_width(emoji: &str) -> usize { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: trait `TextProcessor` is never used [INFO] [stderr] --> src/ui/text_processor/pipeline.rs:8:11 [INFO] [stderr] | [INFO] [stderr] 8 | pub trait TextProcessor: Send + Sync { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `ProcessingPipeline` is never constructed [INFO] [stderr] --> src/ui/text_processor/pipeline.rs:17:12 [INFO] [stderr] | [INFO] [stderr] 17 | pub struct ProcessingPipeline { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated items `new`, `process`, `add_processor`, and `clear` are never used [INFO] [stderr] --> src/ui/text_processor/pipeline.rs:23:12 [INFO] [stderr] | [INFO] [stderr] 21 | impl ProcessingPipeline { [INFO] [stderr] | ----------------------- associated items in this implementation [INFO] [stderr] 22 | /// Create a new pipeline with the given processors [INFO] [stderr] 23 | pub fn new(processors: Vec>) -> Self { [INFO] [stderr] | ^^^ [INFO] [stderr] ... [INFO] [stderr] 28 | pub fn process(&self, input: &str) -> String { [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 40 | pub fn add_processor(&mut self, processor: Box) { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 45 | pub fn clear(&mut self) { [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `ChatViewport` is never constructed [INFO] [stderr] --> src/ui/viewport.rs:9:12 [INFO] [stderr] | [INFO] [stderr] 9 | pub struct ChatViewport<'a> { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated items `new` and `block` are never used [INFO] [stderr] --> src/ui/viewport.rs:15:12 [INFO] [stderr] | [INFO] [stderr] 14 | impl<'a> ChatViewport<'a> { [INFO] [stderr] | ------------------------- associated items in this implementation [INFO] [stderr] 15 | pub fn new(content: Text<'a>) -> Self { [INFO] [stderr] | ^^^ [INFO] [stderr] ... [INFO] [stderr] 22 | pub fn block(mut self, block: Block<'a>) -> Self { [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `ViewportState` is never constructed [INFO] [stderr] --> src/ui/viewport.rs:29:12 [INFO] [stderr] | [INFO] [stderr] 29 | pub struct ViewportState { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: methods `scroll_to_bottom`, `scroll_up`, and `scroll_down` are never used [INFO] [stderr] --> src/ui/viewport.rs:35:12 [INFO] [stderr] | [INFO] [stderr] 34 | impl ViewportState { [INFO] [stderr] | ------------------ methods in this implementation [INFO] [stderr] 35 | pub fn scroll_to_bottom(&mut self, viewport_height: usize) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 43 | pub fn scroll_up(&mut self, amount: usize) { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 47 | pub fn scroll_down(&mut self, amount: usize, viewport_height: usize) { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: methods `get_workspace`, `find_by_name`, and `delete_workspace` are never used [INFO] [stderr] --> src/workspace.rs:78:12 [INFO] [stderr] | [INFO] [stderr] 34 | impl WorkspaceManager { [INFO] [stderr] | --------------------- methods in this implementation [INFO] [stderr] ... [INFO] [stderr] 78 | pub fn get_workspace(&self, id: &str) -> Option<&VirtualWorkspace> { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 82 | pub fn find_by_name(&self, name: &str) -> Option<&VirtualWorkspace> { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 94 | pub fn delete_workspace(&mut self, id: &str) -> Result<()> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: methods `add_processor` and `clear` are never used [INFO] [stderr] --> src/ui/text_processor/pipeline.rs:40:12 [INFO] [stderr] | [INFO] [stderr] 21 | impl ProcessingPipeline { [INFO] [stderr] | ----------------------- methods in this implementation [INFO] [stderr] ... [INFO] [stderr] 40 | pub fn add_processor(&mut self, processor: Box) { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 45 | pub fn clear(&mut self) { [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `one-claude` (bin "one-claude") generated 67 warnings (7 duplicates) (run `cargo fix --bin "one-claude"` to apply 2 suggestions) [INFO] [stderr] warning: `one-claude` (bin "one-claude" test) generated 51 warnings (50 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.17s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/one_claude-7a69688fc0f8541d) [INFO] [stdout] [INFO] [stdout] running 11 tests [INFO] [stdout] test ui::text_processor::ansi::tests::test_ansi_processor_strip_mode ... ok [INFO] [stdout] test ui::text_processor::ansi::tests::test_strip_ansi_codes ... ok [INFO] [stdout] test ui::text_processor::emoji::tests::test_simple_emoji_preserved ... ok [INFO] [stdout] test ui::text_processor::emoji::tests::test_wide_char_handling ... ok [INFO] [stdout] test ui::text_processor::pipeline::tests::test_pipeline_chains_processors ... ok [INFO] [stdout] test ui::text_processor::tests::test_process_for_display_removes_control_chars ... ok [INFO] [stdout] test ui::text_processor::tests::test_process_tool_output_basic ... ok [INFO] [stdout] test ui::text_processor::unicode::tests::test_control_char_replacement ... ok [INFO] [stdout] test ui::text_processor::unicode::tests::test_unicode_normalization ... ok [INFO] [stdout] test ui::text_processor::emoji::tests::test_emoji_replacement ... FAILED [INFO] [stdout] test ui::text_processor::unicode::tests::test_zero_width_removal ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- ui::text_processor::emoji::tests::test_emoji_replacement stdout ---- [INFO] [stdout] [INFO] [stdout] thread 'ui::text_processor::emoji::tests::test_emoji_replacement' (19) panicked at src/ui/text_processor/emoji.rs:151:9: [INFO] [stdout] assertion `left == right` failed [INFO] [stdout] left: "Status: 🔥" [INFO] [stdout] right: "Status: [emoji]" [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x598c9aca8ed2 - std::backtrace_rs::backtrace::libunwind::trace::h66a2a7c2ae287f78 [INFO] [stdout] at /rustc/e9385f9eea0221ef295a188d49d16f8f5189abf1/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x598c9aca8ed2 - std::backtrace_rs::backtrace::trace_unsynchronized::hfc2e0cbc9b584495 [INFO] [stdout] at /rustc/e9385f9eea0221ef295a188d49d16f8f5189abf1/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x598c9aca8ed2 - std::sys::backtrace::_print_fmt::h118f0de0547bd6e5 [INFO] [stdout] at /rustc/e9385f9eea0221ef295a188d49d16f8f5189abf1/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x598c9aca8ed2 - ::fmt::h4a7ebf3c97b63e54 [INFO] [stdout] at /rustc/e9385f9eea0221ef295a188d49d16f8f5189abf1/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x598c9acba2af - core::fmt::rt::Argument::fmt::h614abe7b62e687bb [INFO] [stdout] at /rustc/e9385f9eea0221ef295a188d49d16f8f5189abf1/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x598c9acba2af - core::fmt::write::h5e5759cada453e98 [INFO] [stdout] at /rustc/e9385f9eea0221ef295a188d49d16f8f5189abf1/library/core/src/fmt/mod.rs:1468:25 [INFO] [stdout] 6: 0x598c9ac75f31 - std::io::default_write_fmt::h07c0e0cd2ff3d760 [INFO] [stdout] at /rustc/e9385f9eea0221ef295a188d49d16f8f5189abf1/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x598c9ac75f31 - std::io::Write::write_fmt::he7256dac030cd662 [INFO] [stdout] at /rustc/e9385f9eea0221ef295a188d49d16f8f5189abf1/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x598c9ac82042 - std::sys::backtrace::BacktraceLock::print::haede8464af6f6593 [INFO] [stdout] at /rustc/e9385f9eea0221ef295a188d49d16f8f5189abf1/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x598c9ac86b8f - std::panicking::default_hook::{{closure}}::hd1d459f3747276de [INFO] [stdout] at /rustc/e9385f9eea0221ef295a188d49d16f8f5189abf1/library/std/src/panicking.rs:301:27 [INFO] [stdout] 10: 0x598c9ac86a21 - std::panicking::default_hook::h4615f5c23d4bd826 [INFO] [stdout] at /rustc/e9385f9eea0221ef295a188d49d16f8f5189abf1/library/std/src/panicking.rs:325:9 [INFO] [stdout] 11: 0x598c9ac0dede - as core::ops::function::Fn>::call::h3f49114c7e9679ef [INFO] [stdout] at /rustc/e9385f9eea0221ef295a188d49d16f8f5189abf1/library/alloc/src/boxed.rs:1987:9 [INFO] [stdout] 12: 0x598c9ac0dede - test::test_main_with_exit_callback::{{closure}}::h4d67369e3cd340e4 [INFO] [stdout] at /rustc/e9385f9eea0221ef295a188d49d16f8f5189abf1/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x598c9ac8724f - as core::ops::function::Fn>::call::h2af8f746f7568e27 [INFO] [stdout] at /rustc/e9385f9eea0221ef295a188d49d16f8f5189abf1/library/alloc/src/boxed.rs:1987:9 [INFO] [stdout] 14: 0x598c9ac8724f - std::panicking::panic_with_hook::h290022751dfbc99c [INFO] [stdout] at /rustc/e9385f9eea0221ef295a188d49d16f8f5189abf1/library/std/src/panicking.rs:842:13 [INFO] [stdout] 15: 0x598c9ac870aa - std::panicking::panic_handler::{{closure}}::h8a82486ef1115454 [INFO] [stdout] at /rustc/e9385f9eea0221ef295a188d49d16f8f5189abf1/library/std/src/panicking.rs:707:13 [INFO] [stdout] 16: 0x598c9ac82179 - std::sys::backtrace::__rust_end_short_backtrace::h24c7668dbf64a695 [INFO] [stdout] at /rustc/e9385f9eea0221ef295a188d49d16f8f5189abf1/library/std/src/sys/backtrace.rs:174:18 [INFO] [stdout] 17: 0x598c9ac6a3cd - __rustc[c97015d5850a580e]::rust_begin_unwind [INFO] [stdout] at /rustc/e9385f9eea0221ef295a188d49d16f8f5189abf1/library/std/src/panicking.rs:698:5 [INFO] [stdout] 18: 0x598c9acc1ed0 - core::panicking::panic_fmt::h28e12f8802cd0928 [INFO] [stdout] at /rustc/e9385f9eea0221ef295a188d49d16f8f5189abf1/library/core/src/panicking.rs:78:14 [INFO] [stdout] 19: 0x598c9acc1cd3 - core::panicking::assert_failed_inner::hc3fc88da941f8a4b [INFO] [stdout] at /rustc/e9385f9eea0221ef295a188d49d16f8f5189abf1/library/core/src/panicking.rs:442:17 [INFO] [stdout] 20: 0x598c9abe0169 - core::panicking::assert_failed::hb617b5e27975a55e [INFO] [stdout] at /rustc/e9385f9eea0221ef295a188d49d16f8f5189abf1/library/core/src/panicking.rs:397:5 [INFO] [stdout] 21: 0x598c9abe38a9 - one_claude::ui::text_processor::emoji::tests::test_emoji_replacement::h6b0f0c86be345301 [INFO] [stdout] at /opt/rustwide/workdir/src/ui/text_processor/emoji.rs:151:9 [INFO] [stdout] 22: 0x598c9abe38f7 - one_claude::ui::text_processor::emoji::tests::test_emoji_replacement::{{closure}}::hea9afe6f5b15bc21 [INFO] [stdout] at /opt/rustwide/workdir/src/ui/text_processor/emoji.rs:147:32 [INFO] [stdout] 23: 0x598c9abe43b6 - core::ops::function::FnOnce::call_once::h047393b48a10b290 [INFO] [stdout] at /rustc/e9385f9eea0221ef295a188d49d16f8f5189abf1/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 24: 0x598c9ac0dd2b - core::ops::function::FnOnce::call_once::hdefe93407160c395 [INFO] [stdout] at /rustc/e9385f9eea0221ef295a188d49d16f8f5189abf1/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 25: 0x598c9ac0dd2b - test::__rust_begin_short_backtrace::hdfcc8fd2fe67da7a [INFO] [stdout] at /rustc/e9385f9eea0221ef295a188d49d16f8f5189abf1/library/test/src/lib.rs:663:18 [INFO] [stdout] 26: 0x598c9ac238e5 - test::run_test_in_process::{{closure}}::h320bae9b1003112f [INFO] [stdout] at /rustc/e9385f9eea0221ef295a188d49d16f8f5189abf1/library/test/src/lib.rs:686:74 [INFO] [stdout] 27: 0x598c9ac238e5 - as core::ops::function::FnOnce<()>>::call_once::h90f8f831719f5411 [INFO] [stdout] at /rustc/e9385f9eea0221ef295a188d49d16f8f5189abf1/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 28: 0x598c9ac238e5 - std::panicking::catch_unwind::do_call::h9f251d79dbf7d6ed [INFO] [stdout] at /rustc/e9385f9eea0221ef295a188d49d16f8f5189abf1/library/std/src/panicking.rs:590:40 [INFO] [stdout] 29: 0x598c9ac238e5 - std::panicking::catch_unwind::h097a5a3f87c04a25 [INFO] [stdout] at /rustc/e9385f9eea0221ef295a188d49d16f8f5189abf1/library/std/src/panicking.rs:553:19 [INFO] [stdout] 30: 0x598c9ac238e5 - std::panic::catch_unwind::h70316c014b05855b [INFO] [stdout] at /rustc/e9385f9eea0221ef295a188d49d16f8f5189abf1/library/std/src/panic.rs:359:14 [INFO] [stdout] 31: 0x598c9ac238e5 - test::run_test_in_process::h023ca635764dfe30 [INFO] [stdout] at /rustc/e9385f9eea0221ef295a188d49d16f8f5189abf1/library/test/src/lib.rs:686:27 [INFO] [stdout] 32: 0x598c9ac238e5 - test::run_test::{{closure}}::h59932d18dfba4366 [INFO] [stdout] at /rustc/e9385f9eea0221ef295a188d49d16f8f5189abf1/library/test/src/lib.rs:607:43 [INFO] [stdout] 33: 0x598c9abfa0c4 - test::run_test::{{closure}}::ha2e96c73f8625e3a [INFO] [stdout] at /rustc/e9385f9eea0221ef295a188d49d16f8f5189abf1/library/test/src/lib.rs:637:41 [INFO] [stdout] 34: 0x598c9abfa0c4 - std::sys::backtrace::__rust_begin_short_backtrace::h1b37e5c0fca27c18 [INFO] [stdout] at /rustc/e9385f9eea0221ef295a188d49d16f8f5189abf1/library/std/src/sys/backtrace.rs:158:18 [INFO] [stdout] 35: 0x598c9abfd9ea - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h8ac0d86b7db5ca42 [INFO] [stdout] at /rustc/e9385f9eea0221ef295a188d49d16f8f5189abf1/library/std/src/thread/mod.rs:559:17 [INFO] [stdout] 36: 0x598c9abfd9ea - as core::ops::function::FnOnce<()>>::call_once::h2f0a63b3b36bb8fd [INFO] [stdout] at /rustc/e9385f9eea0221ef295a188d49d16f8f5189abf1/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 37: 0x598c9abfd9ea - std::panicking::catch_unwind::do_call::h16004b52a84b801e [INFO] [stdout] at /rustc/e9385f9eea0221ef295a188d49d16f8f5189abf1/library/std/src/panicking.rs:590:40 [INFO] [stdout] 38: 0x598c9abfd9ea - std::panicking::catch_unwind::hd4141c774c700dce [INFO] [stdout] at /rustc/e9385f9eea0221ef295a188d49d16f8f5189abf1/library/std/src/panicking.rs:553:19 [INFO] [stdout] 39: 0x598c9abfd9ea - std::panic::catch_unwind::h8a9749a99926eb13 [INFO] [stdout] at /rustc/e9385f9eea0221ef295a188d49d16f8f5189abf1/library/std/src/panic.rs:359:14 [INFO] [stdout] 40: 0x598c9abfd9ea - std::thread::Builder::spawn_unchecked_::{{closure}}::habf5065a7fc58dc1 [INFO] [stdout] at /rustc/e9385f9eea0221ef295a188d49d16f8f5189abf1/library/std/src/thread/mod.rs:557:30 [INFO] [stdout] 41: 0x598c9abfd9ea - core::ops::function::FnOnce::call_once{{vtable.shim}}::h557ae74e20db8c0e [INFO] [stdout] at /rustc/e9385f9eea0221ef295a188d49d16f8f5189abf1/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 42: 0x598c9ac7d2bf - as core::ops::function::FnOnce>::call_once::h42e3c3a0d92a01a7 [INFO] [stdout] at /rustc/e9385f9eea0221ef295a188d49d16f8f5189abf1/library/alloc/src/boxed.rs:1973:9 [INFO] [stdout] 43: 0x598c9ac7d2bf - std::sys::thread::unix::Thread::new::thread_start::hbfb8ed69a8a2081e [INFO] [stdout] at /rustc/e9385f9eea0221ef295a188d49d16f8f5189abf1/library/std/src/sys/thread/unix.rs:126:17 [INFO] [stdout] 44: 0x7a0e0d4caaa4 - [INFO] [stdout] 45: 0x7a0e0d557a34 - clone [INFO] [stdout] 46: 0x0 - [INFO] [stdout] [INFO] [stdout] ---- ui::text_processor::unicode::tests::test_zero_width_removal stdout ---- [INFO] [stdout] [INFO] [stdout] thread 'ui::text_processor::unicode::tests::test_zero_width_removal' (27) panicked at src/ui/text_processor/unicode.rs:105:9: [INFO] [stdout] assertion `left == right` failed [INFO] [stdout] left: "Hello\0World" [INFO] [stdout] right: "HelloWorld" [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x598c9aca8ed2 - std::backtrace_rs::backtrace::libunwind::trace::h66a2a7c2ae287f78 [INFO] [stdout] at /rustc/e9385f9eea0221ef295a188d49d16f8f5189abf1/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x598c9aca8ed2 - std::backtrace_rs::backtrace::trace_unsynchronized::hfc2e0cbc9b584495 [INFO] [stdout] at /rustc/e9385f9eea0221ef295a188d49d16f8f5189abf1/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x598c9aca8ed2 - std::sys::backtrace::_print_fmt::h118f0de0547bd6e5 [INFO] [stdout] at /rustc/e9385f9eea0221ef295a188d49d16f8f5189abf1/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x598c9aca8ed2 - ::fmt::h4a7ebf3c97b63e54 [INFO] [stdout] at /rustc/e9385f9eea0221ef295a188d49d16f8f5189abf1/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x598c9acba2af - core::fmt::rt::Argument::fmt::h614abe7b62e687bb [INFO] [stdout] at /rustc/e9385f9eea0221ef295a188d49d16f8f5189abf1/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x598c9acba2af - core::fmt::write::h5e5759cada453e98 [INFO] [stdout] at /rustc/e9385f9eea0221ef295a188d49d16f8f5189abf1/library/core/src/fmt/mod.rs:1468:25 [INFO] [stdout] 6: 0x598c9ac75f31 - std::io::default_write_fmt::h07c0e0cd2ff3d760 [INFO] [stdout] at /rustc/e9385f9eea0221ef295a188d49d16f8f5189abf1/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x598c9ac75f31 - std::io::Write::write_fmt::he7256dac030cd662 [INFO] [stdout] at /rustc/e9385f9eea0221ef295a188d49d16f8f5189abf1/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x598c9ac82042 - std::sys::backtrace::BacktraceLock::print::haede8464af6f6593 [INFO] [stdout] at /rustc/e9385f9eea0221ef295a188d49d16f8f5189abf1/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x598c9ac86b8f - std::panicking::default_hook::{{closure}}::hd1d459f3747276de [INFO] [stdout] at /rustc/e9385f9eea0221ef295a188d49d16f8f5189abf1/library/std/src/panicking.rs:301:27 [INFO] [stdout] 10: 0x598c9ac86a21 - std::panicking::default_hook::h4615f5c23d4bd826 [INFO] [stdout] at /rustc/e9385f9eea0221ef295a188d49d16f8f5189abf1/library/std/src/panicking.rs:325:9 [INFO] [stdout] 11: 0x598c9ac0dede - as core::ops::function::Fn>::call::h3f49114c7e9679ef [INFO] [stdout] at /rustc/e9385f9eea0221ef295a188d49d16f8f5189abf1/library/alloc/src/boxed.rs:1987:9 [INFO] [stdout] 12: 0x598c9ac0dede - test::test_main_with_exit_callback::{{closure}}::h4d67369e3cd340e4 [INFO] [stdout] at /rustc/e9385f9eea0221ef295a188d49d16f8f5189abf1/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x598c9ac8724f - as core::ops::function::Fn>::call::h2af8f746f7568e27 [INFO] [stdout] at /rustc/e9385f9eea0221ef295a188d49d16f8f5189abf1/library/alloc/src/boxed.rs:1987:9 [INFO] [stdout] 14: 0x598c9ac8724f - std::panicking::panic_with_hook::h290022751dfbc99c [INFO] [stdout] at /rustc/e9385f9eea0221ef295a188d49d16f8f5189abf1/library/std/src/panicking.rs:842:13 [INFO] [stdout] 15: 0x598c9ac870aa - std::panicking::panic_handler::{{closure}}::h8a82486ef1115454 [INFO] [stdout] at /rustc/e9385f9eea0221ef295a188d49d16f8f5189abf1/library/std/src/panicking.rs:707:13 [INFO] [stdout] 16: 0x598c9ac82179 - std::sys::backtrace::__rust_end_short_backtrace::h24c7668dbf64a695 [INFO] [stdout] at /rustc/e9385f9eea0221ef295a188d49d16f8f5189abf1/library/std/src/sys/backtrace.rs:174:18 [INFO] [stdout] 17: 0x598c9ac6a3cd - __rustc[c97015d5850a580e]::rust_begin_unwind [INFO] [stdout] at /rustc/e9385f9eea0221ef295a188d49d16f8f5189abf1/library/std/src/panicking.rs:698:5 [INFO] [stdout] 18: 0x598c9acc1ed0 - core::panicking::panic_fmt::h28e12f8802cd0928 [INFO] [stdout] at /rustc/e9385f9eea0221ef295a188d49d16f8f5189abf1/library/core/src/panicking.rs:78:14 [INFO] [stdout] 19: 0x598c9acc1cd3 - core::panicking::assert_failed_inner::hc3fc88da941f8a4b [INFO] [stdout] at /rustc/e9385f9eea0221ef295a188d49d16f8f5189abf1/library/core/src/panicking.rs:442:17 [INFO] [stdout] 20: 0x598c9abe0169 - core::panicking::assert_failed::hb617b5e27975a55e [INFO] [stdout] at /rustc/e9385f9eea0221ef295a188d49d16f8f5189abf1/library/core/src/panicking.rs:397:5 [INFO] [stdout] 21: 0x598c9abdbbf4 - one_claude::ui::text_processor::unicode::tests::test_zero_width_removal::h585e4609342f37e7 [INFO] [stdout] at /opt/rustwide/workdir/src/ui/text_processor/unicode.rs:105:9 [INFO] [stdout] 22: 0x598c9abdbc37 - one_claude::ui::text_processor::unicode::tests::test_zero_width_removal::{{closure}}::h76f60360ce1f2342 [INFO] [stdout] at /opt/rustwide/workdir/src/ui/text_processor/unicode.rs:101:33 [INFO] [stdout] 23: 0x598c9abe4696 - core::ops::function::FnOnce::call_once::hd62e0bdae766a36e [INFO] [stdout] at /rustc/e9385f9eea0221ef295a188d49d16f8f5189abf1/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 24: 0x598c9ac0dd2b - core::ops::function::FnOnce::call_once::hdefe93407160c395 [INFO] [stdout] at /rustc/e9385f9eea0221ef295a188d49d16f8f5189abf1/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 25: 0x598c9ac0dd2b - test::__rust_begin_short_backtrace::hdfcc8fd2fe67da7a [INFO] [stdout] at /rustc/e9385f9eea0221ef295a188d49d16f8f5189abf1/library/test/src/lib.rs:663:18 [INFO] [stdout] 26: 0x598c9ac238e5 - test::run_test_in_process::{{closure}}::h320bae9b1003112f [INFO] [stdout] at /rustc/e9385f9eea0221ef295a188d49d16f8f5189abf1/library/test/src/lib.rs:686:74 [INFO] [stdout] 27: 0x598c9ac238e5 - as core::ops::function::FnOnce<()>>::call_once::h90f8f831719f5411 [INFO] [stdout] at /rustc/e9385f9eea0221ef295a188d49d16f8f5189abf1/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 28: 0x598c9ac238e5 - std::panicking::catch_unwind::do_call::h9f251d79dbf7d6ed [INFO] [stdout] at /rustc/e9385f9eea0221ef295a188d49d16f8f5189abf1/library/std/src/panicking.rs:590:40 [INFO] [stdout] 29: 0x598c9ac238e5 - std::panicking::catch_unwind::h097a5a3f87c04a25 [INFO] [stdout] at /rustc/e9385f9eea0221ef295a188d49d16f8f5189abf1/library/std/src/panicking.rs:553:19 [INFO] [stdout] 30: 0x598c9ac238e5 - std::panic::catch_unwind::h70316c014b05855b [INFO] [stdout] at /rustc/e9385f9eea0221ef295a188d49d16f8f5189abf1/library/std/src/panic.rs:359:14 [INFO] [stdout] 31: 0x598c9ac238e5 - test::run_test_in_process::h023ca635764dfe30 [INFO] [stdout] at /rustc/e9385f9eea0221ef295a188d49d16f8f5189abf1/library/test/src/lib.rs:686:27 [INFO] [stdout] 32: 0x598c9ac238e5 - test::run_test::{{closure}}::h59932d18dfba4366 [INFO] [stdout] at /rustc/e9385f9eea0221ef295a188d49d16f8f5189abf1/library/test/src/lib.rs:607:43 [INFO] [stdout] 33: 0x598c9abfa0c4 - test::run_test::{{closure}}::ha2e96c73f8625e3a [INFO] [stdout] at /rustc/e9385f9eea0221ef295a188d49d16f8f5189abf1/library/test/src/lib.rs:637:41 [INFO] [stdout] 34: 0x598c9abfa0c4 - std::sys::backtrace::__rust_begin_short_backtrace::h1b37e5c0fca27c18 [INFO] [stdout] at /rustc/e9385f9eea0221ef295a188d49d16f8f5189abf1/library/std/src/sys/backtrace.rs:158:18 [INFO] [stdout] 35: 0x598c9abfd9ea - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h8ac0d86b7db5ca42 [INFO] [stdout] at /rustc/e9385f9eea0221ef295a188d49d16f8f5189abf1/library/std/src/thread/mod.rs:559:17 [INFO] [stdout] 36: 0x598c9abfd9ea - as core::ops::function::FnOnce<()>>::call_once::h2f0a63b3b36bb8fd [INFO] [stdout] at /rustc/e9385f9eea0221ef295a188d49d16f8f5189abf1/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 37: 0x598c9abfd9ea - std::panicking::catch_unwind::do_call::h16004b52a84b801e [INFO] [stdout] at /rustc/e9385f9eea0221ef295a188d49d16f8f5189abf1/library/std/src/panicking.rs:590:40 [INFO] [stdout] 38: 0x598c9abfd9ea - std::panicking::catch_unwind::hd4141c774c700dce [INFO] [stdout] at /rustc/e9385f9eea0221ef295a188d49d16f8f5189abf1/library/std/src/panicking.rs:553:19 [INFO] [stdout] 39: 0x598c9abfd9ea - std::panic::catch_unwind::h8a9749a99926eb13 [INFO] [stdout] at /rustc/e9385f9eea0221ef295a188d49d16f8f5189abf1/library/std/src/panic.rs:359:14 [INFO] [stdout] 40: 0x598c9abfd9ea - std::thread::Builder::spawn_unchecked_::{{closure}}::habf5065a7fc58dc1 [INFO] [stdout] at /rustc/e9385f9eea0221ef295a188d49d16f8f5189abf1/library/std/src/thread/mod.rs:557:30 [INFO] [stdout] 41: 0x598c9abfd9ea - core::ops::function::FnOnce::call_once{{vtable.shim}}::h557ae74e20db8c0e [INFO] [stdout] at /rustc/e9385f9eea0221ef295a188d49d16f8f5189abf1/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 42: 0x598c9ac7d2bf - as core::ops::function::FnOnce>::call_once::h42e3c3a0d92a01a7 [INFO] [stdout] at /rustc/e9385f9eea0221ef295a188d49d16f8f5189abf1/library/alloc/src/boxed.rs:1973:9 [INFO] [stdout] 43: 0x598c9ac7d2bf - std::sys::thread::unix::Thread::new::thread_start::hbfb8ed69a8a2081e [INFO] [stdout] at /rustc/e9385f9eea0221ef295a188d49d16f8f5189abf1/library/std/src/sys/thread/unix.rs:126:17 [INFO] [stdout] 44: 0x7a0e0d4caaa4 - [INFO] [stdout] 45: 0x7a0e0d557a34 - clone [INFO] [stdout] 46: 0x0 - [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] ui::text_processor::emoji::tests::test_emoji_replacement [INFO] [stdout] ui::text_processor::unicode::tests::test_zero_width_removal [INFO] [stdout] [INFO] [stdout] test result: FAILED. 9 passed; 2 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.06s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass `--lib` [INFO] running `Command { std: "docker" "inspect" "bd20cf7c37c3f05707793570a9c444bf16058b460f9e98b10ddeb2856143cd42", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bd20cf7c37c3f05707793570a9c444bf16058b460f9e98b10ddeb2856143cd42", kill_on_drop: false }` [INFO] [stdout] bd20cf7c37c3f05707793570a9c444bf16058b460f9e98b10ddeb2856143cd42