[INFO] cloning repository https://github.com/gariti/total-recall [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/gariti/total-recall" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgariti%2Ftotal-recall", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgariti%2Ftotal-recall'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 4a4a567eacbce83ebd67c604c95b359385dc9282 [INFO] linting gariti/total-recall against nightly for clippy-nonminimal_bool-denied [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgariti%2Ftotal-recall" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/gariti/total-recall [INFO] finished tweaking git repo https://github.com/gariti/total-recall [INFO] tweaked toml for git repo https://github.com/gariti/total-recall written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/gariti/total-recall 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/gariti/total-recall 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 nodyn v0.2.2 [INFO] [stderr] Downloaded ratatui-garnish v0.1.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] d3ecf0a2b08b888a079b1577cc2b1c9c4091c259ce243f1eb92f97f05717e698 [INFO] running `Command { std: "docker" "start" "-a" "d3ecf0a2b08b888a079b1577cc2b1c9c4091c259ce243f1eb92f97f05717e698", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d3ecf0a2b08b888a079b1577cc2b1c9c4091c259ce243f1eb92f97f05717e698", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d3ecf0a2b08b888a079b1577cc2b1c9c4091c259ce243f1eb92f97f05717e698", kill_on_drop: false }` [INFO] [stdout] d3ecf0a2b08b888a079b1577cc2b1c9c4091c259ce243f1eb92f97f05717e698 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] 0a467a6499156f07076cc4ed61325b6540b3560d2cac71d03f472666af5c203b [INFO] running `Command { std: "docker" "start" "-a" "0a467a6499156f07076cc4ed61325b6540b3560d2cac71d03f472666af5c203b", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.103 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling signal-hook v0.3.18 [INFO] [stderr] Checking simd-adler32 v0.3.8 [INFO] [stderr] Checking signal-hook-registry v1.4.7 [INFO] [stderr] Checking parking_lot_core v0.9.12 [INFO] [stderr] Compiling instability v0.3.10 [INFO] [stderr] Compiling rustix v1.1.2 [INFO] [stderr] Checking itertools v0.13.0 [INFO] [stderr] Checking rustix v0.38.44 [INFO] [stderr] Checking castaway v0.2.4 [INFO] [stderr] Checking linux-raw-sys v0.11.0 [INFO] [stderr] Compiling indoc v2.0.7 [INFO] [stderr] Compiling libsqlite3-sys v0.30.1 [INFO] [stderr] Checking ahash v0.8.12 [INFO] [stderr] Checking lru v0.12.5 [INFO] [stderr] Checking compact_str v0.8.1 [INFO] [stderr] Checking miniz_oxide v0.8.9 [INFO] [stderr] Checking fdeflate v0.3.7 [INFO] [stderr] Checking tracing-core v0.1.35 [INFO] [stderr] Checking parking_lot v0.12.5 [INFO] [stderr] Checking regex-syntax v0.8.8 [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Checking is-docker v0.2.0 [INFO] [stderr] Checking toml_write v0.1.2 [INFO] [stderr] Checking x11rb-protocol v0.13.2 [INFO] [stderr] Checking bytemuck v1.24.0 [INFO] [stderr] Checking byteorder-lite v0.1.0 [INFO] [stderr] Checking dirs-sys v0.5.0 [INFO] [stderr] Checking signal-hook-mio v0.2.5 [INFO] [stderr] Checking tracing-log v0.2.0 [INFO] [stderr] Checking clap_builder v4.5.53 [INFO] [stderr] Checking nom v7.1.3 [INFO] [stderr] Checking is-wsl v0.4.0 [INFO] [stderr] Checking thread_local v1.1.9 [INFO] [stderr] Checking nu-ansi-term v0.50.3 [INFO] [stderr] Checking simdutf8 v0.1.5 [INFO] [stderr] Checking open v5.3.3 [INFO] [stderr] Checking crossterm v0.28.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking serde_json v1.0.145 [INFO] [stderr] Checking dirs v6.0.0 [INFO] [stderr] Checking pxfm v0.1.27 [INFO] [stderr] Checking flate2 v1.1.5 [INFO] [stderr] Checking regex-automata v0.4.13 [INFO] [stderr] Compiling quote v1.0.42 [INFO] [stderr] Checking png v0.18.0 [INFO] [stderr] Compiling syn v2.0.111 [INFO] [stderr] Checking hashlink v0.9.1 [INFO] [stderr] Checking unicode-truncate v1.1.0 [INFO] [stderr] Checking matchers v0.2.0 [INFO] [stderr] Checking moxcms v0.7.10 [INFO] [stderr] Compiling darling_core v0.20.11 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling strum_macros v0.26.4 [INFO] [stderr] Compiling derive_more-impl v2.1.1 [INFO] [stderr] Compiling tracing-attributes v0.1.31 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling thiserror-impl v2.0.17 [INFO] [stderr] Compiling nodyn v0.2.2 [INFO] [stderr] Compiling tokio-macros v2.6.0 [INFO] [stderr] Compiling clap_derive v4.5.49 [INFO] [stderr] Compiling async-trait v0.1.89 [INFO] [stderr] Checking gethostname v1.1.0 [INFO] [stderr] Checking x11rb v0.13.2 [INFO] [stderr] Checking tokio v1.48.0 [INFO] [stderr] Checking thiserror v2.0.17 [INFO] [stderr] Checking thiserror v1.0.69 [INFO] [stderr] Checking tracing v0.1.43 [INFO] [stderr] Checking derive_more v2.1.1 [INFO] [stderr] Checking tracing-subscriber v0.3.22 [INFO] [stderr] Checking strum v0.26.3 [INFO] [stderr] Compiling darling_macro v0.20.11 [INFO] [stderr] Checking clap v4.5.53 [INFO] [stderr] Compiling darling v0.20.11 [INFO] [stderr] Checking serde v1.0.228 [INFO] [stderr] Checking ratatui v0.29.0 [INFO] [stderr] Checking image v0.25.9 [INFO] [stderr] Checking toml_datetime v0.6.11 [INFO] [stderr] Checking serde_spanned v0.6.9 [INFO] [stderr] Checking chrono v0.4.42 [INFO] [stderr] Checking toml_edit v0.22.27 [INFO] [stderr] Checking arboard v3.6.1 [INFO] [stderr] Checking toml v0.8.23 [INFO] [stderr] Checking ratatui-garnish v0.1.0 [INFO] [stderr] Checking ansi-to-tui v7.0.0 [INFO] [stderr] Checking rusqlite v0.32.1 [INFO] [stderr] Checking total-recall v0.2.8 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `AssistantContent`, `ContentBlock`, and `MessageContent` [INFO] [stdout] --> src/models/mod.rs:7:19 [INFO] [stdout] | [INFO] [stdout] 7 | pub use message::{AssistantContent, ContentBlock, MessageContent, MessageEntry}; [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: `decode_project_path` and `encode_project_path` [INFO] [stdout] --> src/utils/mod.rs:4:34 [INFO] [stdout] | [INFO] [stdout] 4 | pub use crate::models::project::{decode_project_path, encode_project_path}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `AssistantContent`, `ContentBlock`, and `MessageContent` [INFO] [stdout] --> src/models/mod.rs:7:19 [INFO] [stdout] | [INFO] [stdout] 7 | pub use message::{AssistantContent, ContentBlock, MessageContent, MessageEntry}; [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: `decode_project_path` and `encode_project_path` [INFO] [stdout] --> src/utils/mod.rs:4:34 [INFO] [stdout] | [INFO] [stdout] 4 | pub use crate::models::project::{decode_project_path, encode_project_path}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `key` [INFO] [stdout] --> src/screens/browser.rs:429:36 [INFO] [stdout] | [INFO] [stdout] 429 | async fn handle_key(&mut self, key: KeyEvent) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_key` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `key` [INFO] [stdout] --> src/screens/browser.rs:429:36 [INFO] [stdout] | [INFO] [stdout] 429 | async fn handle_key(&mut self, key: KeyEvent) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_key` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `data_dir` is never used [INFO] [stdout] --> src/config.rs:117:12 [INFO] [stdout] | [INFO] [stdout] 88 | impl Config { [INFO] [stdout] | ----------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 117 | pub fn data_dir() -> PathBuf { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `rust_projects` is never used [INFO] [stdout] --> src/config.rs:142:8 [INFO] [stdout] | [INFO] [stdout] 142 | pub fn rust_projects() -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `rust_projects_json` is never used [INFO] [stdout] --> src/config.rs:154:8 [INFO] [stdout] | [INFO] [stdout] 154 | pub fn rust_projects_json() -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `uuid`, `parent_uuid`, `session_id`, and `version` are never read [INFO] [stdout] --> src/models/message.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct MessageEntry { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 10 | pub uuid: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 11 | #[serde(default)] [INFO] [stdout] 12 | pub parent_uuid: Option, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 13 | pub session_id: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 28 | pub version: Option, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MessageEntry` 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: field `role` is never read [INFO] [stdout] --> src/models/message.rs:38:9 [INFO] [stdout] | [INFO] [stdout] 37 | Simple { [INFO] [stdout] | ------ field in this variant [INFO] [stdout] 38 | role: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MessageContent` 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: fields `role`, `model`, and `usage` are never read [INFO] [stdout] --> src/models/message.rs:42:9 [INFO] [stdout] | [INFO] [stdout] 41 | Structured { [INFO] [stdout] | ---------- fields in this variant [INFO] [stdout] 42 | role: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 45 | model: Option, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 46 | #[serde(default)] [INFO] [stdout] 47 | usage: Option, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MessageContent` 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: methods `role` and `model` are never used [INFO] [stdout] --> src/models/message.rs:53:12 [INFO] [stdout] | [INFO] [stdout] 51 | impl MessageContent { [INFO] [stdout] | ------------------- methods in this implementation [INFO] [stdout] 52 | /// Get the role of this message. [INFO] [stdout] 53 | pub fn role(&self) -> &str { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 76 | pub fn model(&self) -> Option<&str> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `id`, `name`, and `input` are never read [INFO] [stdout] --> src/models/message.rs:92:9 [INFO] [stdout] | [INFO] [stdout] 91 | ToolUse { [INFO] [stdout] | ------- fields in this variant [INFO] [stdout] 92 | id: String, [INFO] [stdout] | ^^ [INFO] [stdout] 93 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 94 | input: serde_json::Value, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ContentBlock` 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: fields `tool_use_id`, `content`, and `is_error` are never read [INFO] [stdout] --> src/models/message.rs:98:9 [INFO] [stdout] | [INFO] [stdout] 97 | ToolResult { [INFO] [stdout] | ---------- fields in this variant [INFO] [stdout] 98 | tool_use_id: String, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 99 | content: serde_json::Value, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 100 | #[serde(default)] [INFO] [stdout] 101 | is_error: bool, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ContentBlock` 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: field `thinking` is never read [INFO] [stdout] --> src/models/message.rs:104:16 [INFO] [stdout] | [INFO] [stdout] 104 | Thinking { thinking: String }, [INFO] [stdout] | -------- ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ContentBlock` 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: fields `input_tokens`, `output_tokens`, `cache_read_input_tokens`, and `cache_creation_input_tokens` are never read [INFO] [stdout] --> src/models/message.rs:114:9 [INFO] [stdout] | [INFO] [stdout] 112 | pub struct TokenUsage { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 113 | #[serde(default)] [INFO] [stdout] 114 | pub input_tokens: u64, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 115 | #[serde(default)] [INFO] [stdout] 116 | pub output_tokens: u64, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 117 | #[serde(default)] [INFO] [stdout] 118 | pub cache_read_input_tokens: u64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 119 | #[serde(default)] [INFO] [stdout] 120 | pub cache_creation_input_tokens: u64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TokenUsage` 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 `AssistantContent` is never constructed [INFO] [stdout] --> src/models/message.rs:126:12 [INFO] [stdout] | [INFO] [stdout] 126 | pub struct AssistantContent { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `file_path` and `file_size` are never read [INFO] [stdout] --> src/models/session.rs:26:9 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct Session { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 26 | pub file_path: PathBuf, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 27 | /// File size in bytes [INFO] [stdout] 28 | pub file_size: u64, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Session` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `resume_command` is never used [INFO] [stdout] --> src/models/session.rs:49:12 [INFO] [stdout] | [INFO] [stdout] 35 | impl Session { [INFO] [stdout] | ------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 49 | pub fn resume_command(&self) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `StatusMessage` is never constructed [INFO] [stdout] --> src/screens/mod.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 17 | pub enum ScreenAction { [INFO] [stdout] | ------------ variant in this enum [INFO] [stdout] ... [INFO] [stdout] 21 | StatusMessage(String), [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ScreenAction` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `handle_key` is never used [INFO] [stdout] --> src/screens/mod.rs:43:14 [INFO] [stdout] | [INFO] [stdout] 38 | pub trait Screen { [INFO] [stdout] | ------ method in this trait [INFO] [stdout] ... [INFO] [stdout] 43 | async fn handle_key(&mut self, key: KeyEvent); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `switch_focus` is never used [INFO] [stdout] --> src/screens/browser.rs:188:8 [INFO] [stdout] | [INFO] [stdout] 53 | impl BrowserScreen { [INFO] [stdout] | ------------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 188 | fn switch_focus(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/services/theme.rs:36:9 [INFO] [stdout] | [INFO] [stdout] 35 | pub struct Theme { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 36 | pub background: Color, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 37 | pub foreground: Color, [INFO] [stdout] 38 | pub cursor: Color, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 39 | pub color0: Color, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 40 | pub color1: Color, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 41 | pub color2: Color, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 42 | pub color3: Color, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 43 | pub color4: Color, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 48 | pub color9: Color, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 49 | pub color10: Color, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 50 | pub color11: Color, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 51 | pub color12: Color, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 52 | pub color13: Color, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 53 | pub color14: Color, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 54 | pub color15: Color, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Theme` 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: this `impl` can be derived [INFO] [stdout] --> src/config.rs:17:1 [INFO] [stdout] | [INFO] [stdout] 17 | / impl Default for Config { [INFO] [stdout] 18 | | fn default() -> Self { [INFO] [stdout] 19 | | Self { [INFO] [stdout] 20 | | claude: ClaudeConfig::default(), [INFO] [stdout] ... | [INFO] [stdout] 24 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#derivable_impls [INFO] [stdout] = note: `#[warn(clippy::derivable_impls)]` on by default [INFO] [stdout] help: replace the manual implementation with a derive attribute [INFO] [stdout] | [INFO] [stdout] 10 + #[derive(Default)] [INFO] [stdout] 11 | pub struct Config { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: stripping a prefix manually [INFO] [stdout] --> src/config.rs:134:30 [INFO] [stdout] | [INFO] [stdout] 134 | return home.join(&path[2..]).to_string_lossy().to_string(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: the prefix was tested here [INFO] [stdout] --> src/config.rs:132:5 [INFO] [stdout] | [INFO] [stdout] 132 | if path.starts_with("~/") { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_strip [INFO] [stdout] = note: `#[warn(clippy::manual_strip)]` on by default [INFO] [stdout] help: try using the `strip_prefix` method [INFO] [stdout] | [INFO] [stdout] 132 ~ if let Some() = path.strip_prefix("~/") { [INFO] [stdout] 133 | if let Some(home) = dirs::home_dir() { [INFO] [stdout] 134 ~ return home.join().to_string_lossy().to_string(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `data_dir` is never used [INFO] [stdout] --> src/config.rs:117:12 [INFO] [stdout] | [INFO] [stdout] 88 | impl Config { [INFO] [stdout] | ----------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 117 | pub fn data_dir() -> PathBuf { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `rust_projects` is never used [INFO] [stdout] --> src/config.rs:142:8 [INFO] [stdout] | [INFO] [stdout] 142 | pub fn rust_projects() -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `rust_projects_json` is never used [INFO] [stdout] --> src/config.rs:154:8 [INFO] [stdout] | [INFO] [stdout] 154 | pub fn rust_projects_json() -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `uuid`, `parent_uuid`, `session_id`, and `version` are never read [INFO] [stdout] --> src/models/message.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct MessageEntry { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 10 | pub uuid: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 11 | #[serde(default)] [INFO] [stdout] 12 | pub parent_uuid: Option, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 13 | pub session_id: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 28 | pub version: Option, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MessageEntry` 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: field `role` is never read [INFO] [stdout] --> src/models/message.rs:38:9 [INFO] [stdout] | [INFO] [stdout] 37 | Simple { [INFO] [stdout] | ------ field in this variant [INFO] [stdout] 38 | role: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MessageContent` 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: fields `role`, `model`, and `usage` are never read [INFO] [stdout] --> src/models/message.rs:42:9 [INFO] [stdout] | [INFO] [stdout] 41 | Structured { [INFO] [stdout] | ---------- fields in this variant [INFO] [stdout] 42 | role: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 45 | model: Option, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 46 | #[serde(default)] [INFO] [stdout] 47 | usage: Option, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MessageContent` 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: methods `role` and `model` are never used [INFO] [stdout] --> src/models/message.rs:53:12 [INFO] [stdout] | [INFO] [stdout] 51 | impl MessageContent { [INFO] [stdout] | ------------------- methods in this implementation [INFO] [stdout] 52 | /// Get the role of this message. [INFO] [stdout] 53 | pub fn role(&self) -> &str { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 76 | pub fn model(&self) -> Option<&str> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `id`, `name`, and `input` are never read [INFO] [stdout] --> src/models/message.rs:92:9 [INFO] [stdout] | [INFO] [stdout] 91 | ToolUse { [INFO] [stdout] | ------- fields in this variant [INFO] [stdout] 92 | id: String, [INFO] [stdout] | ^^ [INFO] [stdout] 93 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 94 | input: serde_json::Value, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ContentBlock` 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: fields `tool_use_id`, `content`, and `is_error` are never read [INFO] [stdout] --> src/models/message.rs:98:9 [INFO] [stdout] | [INFO] [stdout] 97 | ToolResult { [INFO] [stdout] | ---------- fields in this variant [INFO] [stdout] 98 | tool_use_id: String, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 99 | content: serde_json::Value, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 100 | #[serde(default)] [INFO] [stdout] 101 | is_error: bool, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ContentBlock` 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: field `thinking` is never read [INFO] [stdout] --> src/models/message.rs:104:16 [INFO] [stdout] | [INFO] [stdout] 104 | Thinking { thinking: String }, [INFO] [stdout] | -------- ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ContentBlock` 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: fields `input_tokens`, `output_tokens`, `cache_read_input_tokens`, and `cache_creation_input_tokens` are never read [INFO] [stdout] --> src/models/message.rs:114:9 [INFO] [stdout] | [INFO] [stdout] 112 | pub struct TokenUsage { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 113 | #[serde(default)] [INFO] [stdout] 114 | pub input_tokens: u64, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 115 | #[serde(default)] [INFO] [stdout] 116 | pub output_tokens: u64, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 117 | #[serde(default)] [INFO] [stdout] 118 | pub cache_read_input_tokens: u64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 119 | #[serde(default)] [INFO] [stdout] 120 | pub cache_creation_input_tokens: u64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TokenUsage` 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 `AssistantContent` is never constructed [INFO] [stdout] --> src/models/message.rs:126:12 [INFO] [stdout] | [INFO] [stdout] 126 | pub struct AssistantContent { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `encode_project_path` is never used [INFO] [stdout] --> src/models/project.rs:126:8 [INFO] [stdout] | [INFO] [stdout] 126 | pub fn encode_project_path(path: &str) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `file_path` and `file_size` are never read [INFO] [stdout] --> src/models/session.rs:26:9 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct Session { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 26 | pub file_path: PathBuf, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 27 | /// File size in bytes [INFO] [stdout] 28 | pub file_size: u64, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Session` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `resume_command` is never used [INFO] [stdout] --> src/models/session.rs:49:12 [INFO] [stdout] | [INFO] [stdout] 35 | impl Session { [INFO] [stdout] | ------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 49 | pub fn resume_command(&self) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `StatusMessage` is never constructed [INFO] [stdout] --> src/screens/mod.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 17 | pub enum ScreenAction { [INFO] [stdout] | ------------ variant in this enum [INFO] [stdout] ... [INFO] [stdout] 21 | StatusMessage(String), [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ScreenAction` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `handle_key` is never used [INFO] [stdout] --> src/screens/mod.rs:43:14 [INFO] [stdout] | [INFO] [stdout] 38 | pub trait Screen { [INFO] [stdout] | ------ method in this trait [INFO] [stdout] ... [INFO] [stdout] 43 | async fn handle_key(&mut self, key: KeyEvent); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `switch_focus` is never used [INFO] [stdout] --> src/screens/browser.rs:188:8 [INFO] [stdout] | [INFO] [stdout] 53 | impl BrowserScreen { [INFO] [stdout] | ------------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 188 | fn switch_focus(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/services/theme.rs:36:9 [INFO] [stdout] | [INFO] [stdout] 35 | pub struct Theme { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 36 | pub background: Color, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 37 | pub foreground: Color, [INFO] [stdout] 38 | pub cursor: Color, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 39 | pub color0: Color, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 40 | pub color1: Color, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 41 | pub color2: Color, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 42 | pub color3: Color, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 43 | pub color4: Color, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 48 | pub color9: Color, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 49 | pub color10: Color, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 50 | pub color11: Color, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 51 | pub color12: Color, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 52 | pub color13: Color, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 53 | pub color14: Color, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 54 | pub color15: Color, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Theme` 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: this boolean expression can be simplified [INFO] [stdout] --> src/models/project.rs:139:17 [INFO] [stdout] | [INFO] [stdout] 139 | assert!(decoded == "/etc/nixos" || decoded == "/etc/nixos"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `decoded == "/etc/nixos"` [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 `impl` can be derived [INFO] [stdout] --> src/config.rs:17:1 [INFO] [stdout] | [INFO] [stdout] 17 | / impl Default for Config { [INFO] [stdout] 18 | | fn default() -> Self { [INFO] [stdout] 19 | | Self { [INFO] [stdout] 20 | | claude: ClaudeConfig::default(), [INFO] [stdout] ... | [INFO] [stdout] 24 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#derivable_impls [INFO] [stdout] = note: `#[warn(clippy::derivable_impls)]` on by default [INFO] [stdout] help: replace the manual implementation with a derive attribute [INFO] [stdout] | [INFO] [stdout] 10 + #[derive(Default)] [INFO] [stdout] 11 | pub struct Config { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: stripping a prefix manually [INFO] [stdout] --> src/config.rs:134:30 [INFO] [stdout] | [INFO] [stdout] 134 | return home.join(&path[2..]).to_string_lossy().to_string(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: the prefix was tested here [INFO] [stdout] --> src/config.rs:132:5 [INFO] [stdout] | [INFO] [stdout] 132 | if path.starts_with("~/") { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_strip [INFO] [stdout] = note: `#[warn(clippy::manual_strip)]` on by default [INFO] [stdout] help: try using the `strip_prefix` method [INFO] [stdout] | [INFO] [stdout] 132 ~ if let Some() = path.strip_prefix("~/") { [INFO] [stdout] 133 | if let Some(home) = dirs::home_dir() { [INFO] [stdout] 134 ~ return home.join().to_string_lossy().to_string(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: consider using `sort_by_key` [INFO] [stdout] --> src/services/session_store.rs:85:9 [INFO] [stdout] | [INFO] [stdout] 85 | projects.sort_by(|a, b| b.last_activity.cmp(&a.last_activity)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_sort_by [INFO] [stdout] = note: `#[warn(clippy::unnecessary_sort_by)]` on by default [INFO] [stdout] help: try [INFO] [stdout] | [INFO] [stdout] 85 - projects.sort_by(|a, b| b.last_activity.cmp(&a.last_activity)); [INFO] [stdout] 85 + projects.sort_by_key(|b| std::cmp::Reverse(b.last_activity)); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: consider using `sort_by_key` [INFO] [stdout] --> src/services/session_store.rs:120:9 [INFO] [stdout] | [INFO] [stdout] 120 | sessions.sort_by(|a, b| b.last_message.cmp(&a.last_message)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_sort_by [INFO] [stdout] help: try [INFO] [stdout] | [INFO] [stdout] 120 - sessions.sort_by(|a, b| b.last_message.cmp(&a.last_message)); [INFO] [stdout] 120 + sessions.sort_by_key(|b| std::cmp::Reverse(b.last_message)); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: consider using `sort_by_key` [INFO] [stdout] --> src/services/session_store.rs:85:9 [INFO] [stdout] | [INFO] [stdout] 85 | projects.sort_by(|a, b| b.last_activity.cmp(&a.last_activity)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_sort_by [INFO] [stdout] = note: `#[warn(clippy::unnecessary_sort_by)]` on by default [INFO] [stdout] help: try [INFO] [stdout] | [INFO] [stdout] 85 - projects.sort_by(|a, b| b.last_activity.cmp(&a.last_activity)); [INFO] [stdout] 85 + projects.sort_by_key(|b| std::cmp::Reverse(b.last_activity)); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: consider using `sort_by_key` [INFO] [stdout] --> src/services/session_store.rs:120:9 [INFO] [stdout] | [INFO] [stdout] 120 | sessions.sort_by(|a, b| b.last_message.cmp(&a.last_message)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_sort_by [INFO] [stdout] help: try [INFO] [stdout] | [INFO] [stdout] 120 - sessions.sort_by(|a, b| b.last_message.cmp(&a.last_message)); [INFO] [stdout] 120 + sessions.sort_by_key(|b| std::cmp::Reverse(b.last_message)); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 59.48s [INFO] running `Command { std: "docker" "inspect" "0a467a6499156f07076cc4ed61325b6540b3560d2cac71d03f472666af5c203b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0a467a6499156f07076cc4ed61325b6540b3560d2cac71d03f472666af5c203b", kill_on_drop: false }` [INFO] [stdout] 0a467a6499156f07076cc4ed61325b6540b3560d2cac71d03f472666af5c203b