[INFO] cloning repository https://github.com/skyne98/dong [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/skyne98/dong" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fskyne98%2Fdong", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fskyne98%2Fdong'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 8d2eff8fc06b8c1813ec9eeffe0c31d978ab0b87 [INFO] linting skyne98/dong against nightly for clippy-nonminimal_bool-denied [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fskyne98%2Fdong" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/skyne98/dong [INFO] finished tweaking git repo https://github.com/skyne98/dong [INFO] tweaked toml for git repo https://github.com/skyne98/dong written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/skyne98/dong on toolchain nightly [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+nightly" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/skyne98/dong 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" "+nightly" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded pulldown-cmark-escape v0.11.0 [INFO] [stderr] Downloaded tui-markdown v0.3.5 [INFO] [stderr] Downloaded simdutf8 v0.1.5 [INFO] [stderr] Downloaded litrs v0.4.2 [INFO] [stderr] Downloaded yansi v1.0.1 [INFO] [stderr] Downloaded rstest_macros v0.25.0 [INFO] [stderr] Downloaded tui-textarea v0.7.0 [INFO] [stderr] Downloaded pretty_assertions v1.4.1 [INFO] [stderr] Downloaded plist v1.8.0 [INFO] [stderr] Downloaded bitflags v2.9.4 [INFO] [stderr] Downloaded pulldown-cmark v0.13.0 [INFO] [stderr] Downloaded ansi-to-tui v7.0.0 [INFO] [stderr] Downloaded rstest v0.25.0 [INFO] [stderr] Downloaded quick-xml v0.38.3 [INFO] [stderr] Downloaded unicode-ident v1.0.19 [INFO] [stderr] Downloaded libc v0.2.176 [INFO] [stderr] Downloaded syntect v5.3.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+nightly" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 511d41ba2aced9d7a85c67270f89c610b5c645e0d0d50b20cd59614c300957da [INFO] running `Command { std: "docker" "start" "-a" "511d41ba2aced9d7a85c67270f89c610b5c645e0d0d50b20cd59614c300957da", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "511d41ba2aced9d7a85c67270f89c610b5c645e0d0d50b20cd59614c300957da", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "511d41ba2aced9d7a85c67270f89c610b5c645e0d0d50b20cd59614c300957da", kill_on_drop: false }` [INFO] [stdout] 511d41ba2aced9d7a85c67270f89c610b5c645e0d0d50b20cd59614c300957da [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+nightly" "clippy" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] debcfc5908476d44a7815d74de89b03559569a2ce5593464e8d8fbba4c2f2314 [INFO] running `Command { std: "docker" "start" "-a" "debcfc5908476d44a7815d74de89b03559569a2ce5593464e8d8fbba4c2f2314", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Compiling quote v1.0.41 [INFO] [stderr] Compiling unicode-ident v1.0.19 [INFO] [stderr] Compiling libc v0.2.176 [INFO] [stderr] Checking cfg-if v1.0.3 [INFO] [stderr] Checking bitflags v2.9.4 [INFO] [stderr] Compiling lock_api v0.4.13 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Checking log v0.4.28 [INFO] [stderr] Compiling find-msvc-tools v0.1.2 [INFO] [stderr] Compiling instability v0.3.9 [INFO] [stderr] Compiling hashbrown v0.15.5 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling winnow v0.7.13 [INFO] [stderr] Compiling semver v1.0.27 [INFO] [stderr] Compiling cc v1.2.39 [INFO] [stderr] Compiling equivalent v1.0.2 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling rustc_version v0.4.1 [INFO] [stderr] Checking rustix v0.38.44 [INFO] [stderr] Compiling indexmap v2.11.4 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling toml_datetime v0.7.2 [INFO] [stderr] Compiling indoc v2.0.6 [INFO] [stderr] Checking signal-hook-registry v1.4.6 [INFO] [stderr] Checking mio v1.0.4 [INFO] [stderr] Checking parking_lot v0.12.4 [INFO] [stderr] Checking signal-hook v0.3.18 [INFO] [stderr] Compiling regex-syntax v0.8.6 [INFO] [stderr] Checking compact_str v0.8.1 [INFO] [stderr] Checking deranged v0.5.4 [INFO] [stderr] Checking signal-hook-mio v0.2.4 [INFO] [stderr] Checking crossterm v0.28.1 [INFO] [stderr] Compiling onig_sys v69.9.1 [INFO] [stderr] Compiling toml_parser v1.0.3 [INFO] [stderr] Compiling rstest_macros v0.25.0 [INFO] [stderr] Checking time-core v0.1.6 [INFO] [stderr] Compiling serde_json v1.0.145 [INFO] [stderr] Compiling thiserror v2.0.17 [INFO] [stderr] Compiling convert_case v0.7.1 [INFO] [stderr] Checking time v0.3.44 [INFO] [stderr] Checking miniz_oxide v0.8.9 [INFO] [stderr] Checking crc32fast v1.5.0 [INFO] [stderr] Compiling toml_edit v0.23.6 [INFO] [stderr] Checking quick-xml v0.38.3 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking linked-hash-map v0.5.6 [INFO] [stderr] Checking minimal-lexical v0.2.1 [INFO] [stderr] Compiling glob v0.3.3 [INFO] [stderr] Compiling pulldown-cmark v0.13.0 [INFO] [stderr] Checking nom v7.1.3 [INFO] [stderr] Checking yaml-rust v0.4.5 [INFO] [stderr] Compiling regex-automata v0.4.11 [INFO] [stderr] Compiling proc-macro-crate v3.4.0 [INFO] [stderr] Checking plist v1.8.0 [INFO] [stderr] Checking flate2 v1.1.2 [INFO] [stderr] Checking bincode v1.3.3 [INFO] [stderr] Checking tracing-core v0.1.34 [INFO] [stderr] Checking getopts v0.2.24 [INFO] [stderr] Checking pulldown-cmark-escape v0.11.0 [INFO] [stderr] Compiling litrs v0.4.2 [INFO] [stderr] Checking simdutf8 v0.1.5 [INFO] [stderr] Checking unicase v2.8.1 [INFO] [stderr] Checking yansi v1.0.1 [INFO] [stderr] Compiling darling_core v0.20.11 [INFO] [stderr] Checking diff v0.1.13 [INFO] [stderr] Compiling document-features v0.2.11 [INFO] [stderr] Checking pretty_assertions v1.4.1 [INFO] [stderr] Checking rustix v1.1.2 [INFO] [stderr] Checking onig v6.5.1 [INFO] [stderr] Checking socket2 v0.6.0 [INFO] [stderr] Checking itertools v0.14.0 [INFO] [stderr] Checking iana-time-zone v0.1.64 [INFO] [stderr] Checking bytes v1.10.1 [INFO] [stderr] Compiling regex v1.11.3 [INFO] [stderr] Checking chrono v0.4.42 [INFO] [stderr] Compiling strum_macros v0.26.4 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling thiserror-impl v2.0.17 [INFO] [stderr] Compiling derive_more-impl v2.0.1 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Compiling darling_macro v0.20.11 [INFO] [stderr] Checking thiserror v1.0.69 [INFO] [stderr] Compiling tracing-attributes v0.1.30 [INFO] [stderr] Compiling darling v0.20.11 [INFO] [stderr] Checking derive_more v2.0.1 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Checking crossterm v0.29.0 [INFO] [stderr] Compiling async-trait v0.1.89 [INFO] [stderr] Checking tokio v1.47.1 [INFO] [stderr] Checking strum v0.26.3 [INFO] [stderr] Checking ratatui v0.29.0 [INFO] [stderr] Checking tracing v0.1.41 [INFO] [stderr] Checking rstest v0.25.0 [INFO] [stderr] Checking syntect v5.3.0 [INFO] [stderr] Checking ansi-to-tui v7.0.0 [INFO] [stderr] Checking tui-textarea v0.7.0 [INFO] [stderr] Checking tui-markdown v0.3.5 [INFO] [stderr] Checking dong v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `Block` and `Borders` [INFO] [stdout] --> src/collapsible.rs:6:15 [INFO] [stdout] | [INFO] [stdout] 6 | widgets::{Block, Borders, Paragraph, Widget}, [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 imports: `Block` and `Borders` [INFO] [stdout] --> src/collapsible.rs:6:15 [INFO] [stdout] | [INFO] [stdout] 6 | widgets::{Block, Borders, Paragraph, Widget}, [INFO] [stdout] | ^^^^^ ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `send_message` is never used [INFO] [stdout] --> src/ai.rs:7:14 [INFO] [stdout] | [INFO] [stdout] 5 | pub trait AIService: Send + Sync { [INFO] [stdout] | --------- method in this trait [INFO] [stdout] 6 | /// Send a message and get a response (async) [INFO] [stdout] 7 | async fn send_message(&self, message: &str) -> String; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `with_delay` is never used [INFO] [stdout] --> src/ai.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 19 | impl MockAI { [INFO] [stdout] | ----------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 24 | pub fn with_delay(delay_ms: u64) -> Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `ToolUseInProgress` is never constructed [INFO] [stdout] --> src/chat.rs:45:5 [INFO] [stdout] | [INFO] [stdout] 41 | pub enum MessageType { [INFO] [stdout] | ----------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 45 | ToolUseInProgress(String, String), // Tool being called (tool_name, arguments_json) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MessageType` 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 `tool_use_in_progress` is never used [INFO] [stdout] --> src/chat.rs:82:12 [INFO] [stdout] | [INFO] [stdout] 57 | impl Message { [INFO] [stdout] | ------------ associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 82 | pub fn tool_use_in_progress( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `toggle_thinking_at_index`, `toggle_all_thinking`, and `clear_focus` are never used [INFO] [stdout] --> src/chat.rs:364:12 [INFO] [stdout] | [INFO] [stdout] 135 | impl ReactiveChat { [INFO] [stdout] | ----------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 364 | pub fn toggle_thinking_at_index(&self, msg_idx: usize) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 393 | pub fn toggle_all_thinking(&self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 420 | pub fn clear_focus(&self) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CollapsibleCard` is never constructed [INFO] [stdout] --> src/collapsible.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct CollapsibleCard { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/collapsible.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 24 | impl CollapsibleCard { [INFO] [stdout] | -------------------- associated items in this implementation [INFO] [stdout] 25 | pub fn new(title: impl Into) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 35 | pub fn content(mut self, content: Vec>) -> Self { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 40 | pub fn expanded(mut self, expanded: bool) -> Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 45 | pub fn focused(mut self, focused: bool) -> Self { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 50 | pub fn style(mut self, style: Style) -> Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 55 | pub fn toggle(&mut self) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 60 | pub fn height(&self) -> usize { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `validator` is never read [INFO] [stdout] --> src/textbox.rs:25:9 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct ReactiveTextbox { [INFO] [stdout] | --------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 25 | pub validator: Option) -> (bool, String) + 'static>>, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `text` is never used [INFO] [stdout] --> src/textbox.rs:76:12 [INFO] [stdout] | [INFO] [stdout] 31 | impl ReactiveTextbox { [INFO] [stdout] | -------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 76 | pub fn text(&self) -> Vec { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Watcher` is never constructed [INFO] [stdout] --> src/vue.rs:227:12 [INFO] [stdout] | [INFO] [stdout] 227 | pub struct Watcher { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `stop` is never used [INFO] [stdout] --> src/vue.rs:233:12 [INFO] [stdout] | [INFO] [stdout] 231 | impl Watcher { [INFO] [stdout] | ------------ method in this implementation [INFO] [stdout] 232 | /// Stops the watcher from running. [INFO] [stdout] 233 | pub fn stop(self) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `watch_effect` is never used [INFO] [stdout] --> src/vue.rs:242:8 [INFO] [stdout] | [INFO] [stdout] 242 | pub fn watch_effect(fn_box: impl Fn() + 'static) -> Watcher { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `watch` is never used [INFO] [stdout] --> src/vue.rs:249:8 [INFO] [stdout] | [INFO] [stdout] 249 | pub fn watch( [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `ReactiveState` is never used [INFO] [stdout] --> src/vue.rs:272:11 [INFO] [stdout] | [INFO] [stdout] 272 | pub trait ReactiveState {} [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `State` is never constructed [INFO] [stdout] --> src/vue.rs:276:12 [INFO] [stdout] | [INFO] [stdout] 276 | pub struct State { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `reactive` is never used [INFO] [stdout] --> src/vue.rs:284:8 [INFO] [stdout] | [INFO] [stdout] 284 | pub fn reactive() -> T { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this `if` has identical blocks [INFO] [stdout] --> src/collapsible.rs:94:41 [INFO] [stdout] | [INFO] [stdout] 94 | let prefix = if self.is_focused { "│ " } else { "│ " }; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: same as this [INFO] [stdout] --> src/collapsible.rs:94:55 [INFO] [stdout] | [INFO] [stdout] 94 | let prefix = if self.is_focused { "│ " } else { "│ " }; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#if_same_then_else [INFO] [stdout] = note: `#[warn(clippy::if_same_then_else)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: very complex type used. Consider factoring parts into `type` definitions [INFO] [stdout] --> src/textbox.rs:23:20 [INFO] [stdout] | [INFO] [stdout] 23 | pub on_submit: Option) + 'static>>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#type_complexity [INFO] [stdout] = note: `#[warn(clippy::type_complexity)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: very complex type used. Consider factoring parts into `type` definitions [INFO] [stdout] --> src/textbox.rs:25:20 [INFO] [stdout] | [INFO] [stdout] 25 | pub validator: Option) -> (bool, String) + 'static>>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#type_complexity [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this boolean expression can be simplified [INFO] [stdout] --> src/textbox.rs:47:17 [INFO] [stdout] | [INFO] [stdout] 47 | !lines.is_empty() && !(lines.len() == 1 && lines[0].is_empty()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `!(lines.is_empty() || lines.len() == 1 && lines[0].is_empty())` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#nonminimal_bool [INFO] [stdout] = note: `#[warn(clippy::nonminimal_bool)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this `if` statement can be collapsed [INFO] [stdout] --> src/textbox.rs:144:13 [INFO] [stdout] | [INFO] [stdout] 144 | / if *self.is_valid.value() { [INFO] [stdout] 145 | | if let Some(ref callback) = self.on_submit { [INFO] [stdout] 146 | | let lines = self.textarea.lines().to_vec(); [INFO] [stdout] 147 | | callback(&lines); [INFO] [stdout] ... | [INFO] [stdout] 154 | | } [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#collapsible_if [INFO] [stdout] = note: `#[warn(clippy::collapsible_if)]` on by default [INFO] [stdout] help: collapse nested if block [INFO] [stdout] | [INFO] [stdout] 144 ~ if *self.is_valid.value() [INFO] [stdout] 145 ~ && let Some(ref callback) = self.on_submit { [INFO] [stdout] 146 | let lines = self.textarea.lines().to_vec(); [INFO] [stdout] ... [INFO] [stdout] 152 | self.text.set(vec![String::new()]); [INFO] [stdout] 153 ~ } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this `if` statement can be collapsed [INFO] [stdout] --> src/main.rs:267:9 [INFO] [stdout] | [INFO] [stdout] 267 | / if poll(Duration::from_millis(50))? { [INFO] [stdout] 268 | | if let Event::Key(key) = event::read()? { [INFO] [stdout] 269 | | // Check for Ctrl+C to cancel AI task (works globally) [INFO] [stdout] 270 | | if key.code == KeyCode::Char('c') [INFO] [stdout] ... | [INFO] [stdout] 313 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#collapsible_if [INFO] [stdout] help: collapse nested if block [INFO] [stdout] | [INFO] [stdout] 267 ~ if poll(Duration::from_millis(50))? [INFO] [stdout] 268 ~ && let Event::Key(key) = event::read()? { [INFO] [stdout] 269 | // Check for Ctrl+C to cancel AI task (works globally) [INFO] [stdout] ... [INFO] [stdout] 311 | } [INFO] [stdout] 312 ~ } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/vue.rs:88:16 [INFO] [stdout] | [INFO] [stdout] 88 | pub fn get(&self) -> StdRef { [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] 88 | pub fn get(&self) -> StdRef<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/vue.rs:156:18 [INFO] [stdout] | [INFO] [stdout] 156 | pub fn value(&self) -> StdRef { [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] 156 | pub fn value(&self) -> StdRef<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/vue.rs:195:18 [INFO] [stdout] | [INFO] [stdout] 195 | pub fn value(&self) -> StdRef { [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] 195 | pub fn value(&self) -> StdRef<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `send_message` is never used [INFO] [stdout] --> src/ai.rs:7:14 [INFO] [stdout] | [INFO] [stdout] 5 | pub trait AIService: Send + Sync { [INFO] [stdout] | --------- method in this trait [INFO] [stdout] 6 | /// Send a message and get a response (async) [INFO] [stdout] 7 | async fn send_message(&self, message: &str) -> String; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `with_delay` is never used [INFO] [stdout] --> src/ai.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 19 | impl MockAI { [INFO] [stdout] | ----------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 24 | pub fn with_delay(delay_ms: u64) -> Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `ToolUseInProgress` is never constructed [INFO] [stdout] --> src/chat.rs:45:5 [INFO] [stdout] | [INFO] [stdout] 41 | pub enum MessageType { [INFO] [stdout] | ----------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 45 | ToolUseInProgress(String, String), // Tool being called (tool_name, arguments_json) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MessageType` 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 `tool_use_in_progress` is never used [INFO] [stdout] --> src/chat.rs:82:12 [INFO] [stdout] | [INFO] [stdout] 57 | impl Message { [INFO] [stdout] | ------------ associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 82 | pub fn tool_use_in_progress( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `toggle_thinking_at_index`, `toggle_all_thinking`, and `clear_focus` are never used [INFO] [stdout] --> src/chat.rs:364:12 [INFO] [stdout] | [INFO] [stdout] 135 | impl ReactiveChat { [INFO] [stdout] | ----------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 364 | pub fn toggle_thinking_at_index(&self, msg_idx: usize) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 393 | pub fn toggle_all_thinking(&self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 420 | pub fn clear_focus(&self) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CollapsibleCard` is never constructed [INFO] [stdout] --> src/collapsible.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct CollapsibleCard { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/collapsible.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 24 | impl CollapsibleCard { [INFO] [stdout] | -------------------- associated items in this implementation [INFO] [stdout] 25 | pub fn new(title: impl Into) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 35 | pub fn content(mut self, content: Vec>) -> Self { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 40 | pub fn expanded(mut self, expanded: bool) -> Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 45 | pub fn focused(mut self, focused: bool) -> Self { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 50 | pub fn style(mut self, style: Style) -> Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 55 | pub fn toggle(&mut self) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 60 | pub fn height(&self) -> usize { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `validator` is never read [INFO] [stdout] --> src/textbox.rs:25:9 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct ReactiveTextbox { [INFO] [stdout] | --------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 25 | pub validator: Option) -> (bool, String) + 'static>>, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `text` is never used [INFO] [stdout] --> src/textbox.rs:76:12 [INFO] [stdout] | [INFO] [stdout] 31 | impl ReactiveTextbox { [INFO] [stdout] | -------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 76 | pub fn text(&self) -> Vec { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this `if` has identical blocks [INFO] [stdout] --> src/collapsible.rs:94:41 [INFO] [stdout] | [INFO] [stdout] 94 | let prefix = if self.is_focused { "│ " } else { "│ " }; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: same as this [INFO] [stdout] --> src/collapsible.rs:94:55 [INFO] [stdout] | [INFO] [stdout] 94 | let prefix = if self.is_focused { "│ " } else { "│ " }; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#if_same_then_else [INFO] [stdout] = note: `#[warn(clippy::if_same_then_else)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: very complex type used. Consider factoring parts into `type` definitions [INFO] [stdout] --> src/textbox.rs:23:20 [INFO] [stdout] | [INFO] [stdout] 23 | pub on_submit: Option) + 'static>>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#type_complexity [INFO] [stdout] = note: `#[warn(clippy::type_complexity)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: very complex type used. Consider factoring parts into `type` definitions [INFO] [stdout] --> src/textbox.rs:25:20 [INFO] [stdout] | [INFO] [stdout] 25 | pub validator: Option) -> (bool, String) + 'static>>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#type_complexity [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this boolean expression can be simplified [INFO] [stdout] --> src/textbox.rs:47:17 [INFO] [stdout] | [INFO] [stdout] 47 | !lines.is_empty() && !(lines.len() == 1 && lines[0].is_empty()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `!(lines.is_empty() || lines.len() == 1 && lines[0].is_empty())` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#nonminimal_bool [INFO] [stdout] = note: `#[warn(clippy::nonminimal_bool)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this `if` statement can be collapsed [INFO] [stdout] --> src/textbox.rs:144:13 [INFO] [stdout] | [INFO] [stdout] 144 | / if *self.is_valid.value() { [INFO] [stdout] 145 | | if let Some(ref callback) = self.on_submit { [INFO] [stdout] 146 | | let lines = self.textarea.lines().to_vec(); [INFO] [stdout] 147 | | callback(&lines); [INFO] [stdout] ... | [INFO] [stdout] 154 | | } [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#collapsible_if [INFO] [stdout] = note: `#[warn(clippy::collapsible_if)]` on by default [INFO] [stdout] help: collapse nested if block [INFO] [stdout] | [INFO] [stdout] 144 ~ if *self.is_valid.value() [INFO] [stdout] 145 ~ && let Some(ref callback) = self.on_submit { [INFO] [stdout] 146 | let lines = self.textarea.lines().to_vec(); [INFO] [stdout] ... [INFO] [stdout] 152 | self.text.set(vec![String::new()]); [INFO] [stdout] 153 ~ } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: initializer for `thread_local` value can be made `const` [INFO] [stdout] --> src/vue.rs:576:49 [INFO] [stdout] | [INFO] [stdout] 576 | static CALLBACK_RAN: RefCell = RefCell::new(0); [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: replace with: `const { RefCell::new(0) }` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#missing_const_for_thread_local [INFO] [stdout] = note: `#[warn(clippy::missing_const_for_thread_local)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: initializer for `thread_local` value can be made `const` [INFO] [stdout] --> src/vue.rs:613:54 [INFO] [stdout] | [INFO] [stdout] 613 | static CALLBACK_RAN_STOP: RefCell = RefCell::new(0); [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: replace with: `const { RefCell::new(0) }` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#missing_const_for_thread_local [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this `if` statement can be collapsed [INFO] [stdout] --> src/main.rs:267:9 [INFO] [stdout] | [INFO] [stdout] 267 | / if poll(Duration::from_millis(50))? { [INFO] [stdout] 268 | | if let Event::Key(key) = event::read()? { [INFO] [stdout] 269 | | // Check for Ctrl+C to cancel AI task (works globally) [INFO] [stdout] 270 | | if key.code == KeyCode::Char('c') [INFO] [stdout] ... | [INFO] [stdout] 313 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#collapsible_if [INFO] [stdout] help: collapse nested if block [INFO] [stdout] | [INFO] [stdout] 267 ~ if poll(Duration::from_millis(50))? [INFO] [stdout] 268 ~ && let Event::Key(key) = event::read()? { [INFO] [stdout] 269 | // Check for Ctrl+C to cancel AI task (works globally) [INFO] [stdout] ... [INFO] [stdout] 311 | } [INFO] [stdout] 312 ~ } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/vue.rs:88:16 [INFO] [stdout] | [INFO] [stdout] 88 | pub fn get(&self) -> StdRef { [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] 88 | pub fn get(&self) -> StdRef<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/vue.rs:156:18 [INFO] [stdout] | [INFO] [stdout] 156 | pub fn value(&self) -> StdRef { [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] 156 | pub fn value(&self) -> StdRef<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/vue.rs:195:18 [INFO] [stdout] | [INFO] [stdout] 195 | pub fn value(&self) -> StdRef { [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] 195 | pub fn value(&self) -> StdRef<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 21s [INFO] running `Command { std: "docker" "inspect" "debcfc5908476d44a7815d74de89b03559569a2ce5593464e8d8fbba4c2f2314", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "debcfc5908476d44a7815d74de89b03559569a2ce5593464e8d8fbba4c2f2314", kill_on_drop: false }` [INFO] [stdout] debcfc5908476d44a7815d74de89b03559569a2ce5593464e8d8fbba4c2f2314