[INFO] fetching crate smv 0.5.0... [INFO] building smv-0.5.0 against master#ad85bc524b1ad696e42061ad8338d382dffbdbe5 for pr-146237-1 [INFO] extracting crate smv 0.5.0 into /workspace/builds/worker-1-tc1/source [INFO] started tweaking crates.io crate smv 0.5.0 [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate smv 0.5.0 [INFO] tweaked toml for crates.io crate smv 0.5.0 written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate smv 0.5.0 on toolchain ad85bc524b1ad696e42061ad8338d382dffbdbe5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate smv 0.5.0 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded fd-lock v3.0.13 [INFO] [stderr] Downloaded libredox v0.1.6 [INFO] [stderr] Downloaded rustyline v12.0.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c534b23a74b9500f6db71e4d9581bb7ba842f24f9655b08b525b140dbb914984 [INFO] running `Command { std: "docker" "start" "-a" "c534b23a74b9500f6db71e4d9581bb7ba842f24f9655b08b525b140dbb914984", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c534b23a74b9500f6db71e4d9581bb7ba842f24f9655b08b525b140dbb914984", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c534b23a74b9500f6db71e4d9581bb7ba842f24f9655b08b525b140dbb914984", kill_on_drop: false }` [INFO] [stdout] c534b23a74b9500f6db71e4d9581bb7ba842f24f9655b08b525b140dbb914984 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] be4e7bf96b6eadb7761ac38930fce73ab0d29fe75ff2243c495f0efa0f3da540 [INFO] running `Command { std: "docker" "start" "-a" "be4e7bf96b6eadb7761ac38930fce73ab0d29fe75ff2243c495f0efa0f3da540", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.174 [INFO] [stderr] Compiling signal-hook v0.3.18 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Compiling hashbrown v0.15.4 [INFO] [stderr] Compiling darling_core v0.14.4 [INFO] [stderr] Compiling rustix v0.38.44 [INFO] [stderr] Compiling os_str_bytes v6.6.1 [INFO] [stderr] Compiling linux-raw-sys v0.4.15 [INFO] [stderr] Compiling vte_generate_state_changes v0.1.2 [INFO] [stderr] Compiling castaway v0.2.4 [INFO] [stderr] Compiling crossbeam-queue v0.3.12 [INFO] [stderr] Compiling itertools v0.13.0 [INFO] [stderr] Compiling nibble_vec v0.1.0 [INFO] [stderr] Compiling humantime v2.2.0 [INFO] [stderr] Compiling textwrap v0.16.2 [INFO] [stderr] Compiling time v0.3.41 [INFO] [stderr] Compiling clap_builder v4.5.41 [INFO] [stderr] Compiling compact_str v0.7.1 [INFO] [stderr] Compiling radix_trie v0.2.1 [INFO] [stderr] Compiling clap_lex v0.2.4 [INFO] [stderr] Compiling vte v0.11.1 [INFO] [stderr] Compiling crossbeam v0.8.4 [INFO] [stderr] Compiling fuzzy-matcher v0.3.7 [INFO] [stderr] Compiling defer-drop v1.3.0 [INFO] [stderr] Compiling beef v0.5.2 [INFO] [stderr] Compiling home v0.5.11 [INFO] [stderr] Compiling cassowary v0.3.0 [INFO] [stderr] Compiling colored v2.2.0 [INFO] [stderr] Compiling glob v0.3.2 [INFO] [stderr] Compiling lru v0.12.5 [INFO] [stderr] Compiling indexmap v2.10.0 [INFO] [stderr] Compiling darling_macro v0.14.4 [INFO] [stderr] Compiling darling v0.14.4 [INFO] [stderr] Compiling derive_builder_core v0.11.2 [INFO] [stderr] Compiling unicode-truncate v1.1.0 [INFO] [stderr] Compiling dirs-sys-next v0.1.2 [INFO] [stderr] Compiling signal-hook-registry v1.4.5 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling mio v0.8.11 [INFO] [stderr] Compiling nix v0.24.3 [INFO] [stderr] Compiling nix v0.25.1 [INFO] [stderr] Compiling dirs-sys v0.4.1 [INFO] [stderr] Compiling nix v0.26.4 [INFO] [stderr] Compiling env_logger v0.9.3 [INFO] [stderr] Compiling clap v3.2.25 [INFO] [stderr] Compiling dirs v5.0.1 [INFO] [stderr] Compiling dirs-next v2.0.0 [INFO] [stderr] Compiling parking_lot v0.12.4 [INFO] [stderr] Compiling term v0.7.0 [INFO] [stderr] Compiling fd-lock v3.0.13 [INFO] [stderr] Compiling signal-hook-mio v0.2.4 [INFO] [stderr] Compiling derive_builder_macro v0.11.2 [INFO] [stderr] Compiling crossterm v0.27.0 [INFO] [stderr] Compiling derive_builder v0.11.2 [INFO] [stderr] Compiling tuikit v0.5.0 [INFO] [stderr] Compiling rustyline v12.0.0 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling strum_macros v0.26.4 [INFO] [stderr] Compiling stability v0.2.1 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling clap_derive v4.5.41 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling clap v4.5.41 [INFO] [stderr] Compiling strum v0.26.3 [INFO] [stderr] Compiling ratatui v0.26.3 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling chrono v0.4.41 [INFO] [stderr] Compiling serde_json v1.0.141 [INFO] [stderr] Compiling serde_yaml v0.9.34+deprecated [INFO] [stderr] Compiling timer v0.2.0 [INFO] [stderr] Compiling skim v0.10.4 [INFO] [stderr] Compiling smv v0.5.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: function `title_case` is never used [INFO] [stdout] --> src/transformers.rs:316:4 [INFO] [stdout] | [INFO] [stdout] 316 | fn title_case(name: &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: function `format_title` is never used [INFO] [stdout] --> src/transformers.rs:491:4 [INFO] [stdout] | [INFO] [stdout] 491 | fn format_title(tokens: &[String]) -> String { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Action` is never used [INFO] [stdout] --> src/ui/input/keymap.rs:6:10 [INFO] [stdout] | [INFO] [stdout] 6 | pub enum Action { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `KeyMap` is never constructed [INFO] [stdout] --> src/ui/input/keymap.rs:50:12 [INFO] [stdout] | [INFO] [stdout] 50 | pub struct KeyMap { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_normal_action`, `get_visual_action`, and `get_command_action` are never used [INFO] [stdout] --> src/ui/input/keymap.rs:203:12 [INFO] [stdout] | [INFO] [stdout] 201 | impl KeyMap { [INFO] [stdout] | ----------- methods in this implementation [INFO] [stdout] 202 | /// Get the action for a key event in normal mode [INFO] [stdout] 203 | pub fn get_normal_action(&self, key: KeyEvent) -> Option<&Action> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 208 | pub fn get_visual_action(&self, key: KeyEvent) -> Option<&Action> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 213 | pub fn get_command_action(&self, key: KeyEvent) -> Option<&Action> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Motion` is never used [INFO] [stdout] --> src/ui/input/vim.rs:3:10 [INFO] [stdout] | [INFO] [stdout] 3 | pub enum Motion { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Operator` is never used [INFO] [stdout] --> src/ui/input/vim.rs:32:10 [INFO] [stdout] | [INFO] [stdout] 32 | pub enum Operator { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `TextObject` is never used [INFO] [stdout] --> src/ui/input/vim.rs:43:10 [INFO] [stdout] | [INFO] [stdout] 43 | pub enum TextObject { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CommandState` is never constructed [INFO] [stdout] --> src/ui/input/vim.rs:64:12 [INFO] [stdout] | [INFO] [stdout] 64 | pub struct CommandState { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/ui/input/vim.rs:77:12 [INFO] [stdout] | [INFO] [stdout] 75 | impl CommandState { [INFO] [stdout] | ----------------- associated items in this implementation [INFO] [stdout] 76 | /// Create a new command state [INFO] [stdout] 77 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 87 | pub fn get_count(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 92 | pub fn parse_count(&mut self, c: char) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 99 | pub fn has_count(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 104 | pub fn set_operator(&mut self, operator: Operator) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 109 | pub fn get_operator(&self) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 114 | pub fn set_motion(&mut self, motion: Motion) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 119 | pub fn get_motion(&self) -> Option { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 124 | pub fn set_text_object(&mut self, text_object: TextObject) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 129 | pub fn get_text_object(&self) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 134 | pub fn clear(&mut self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `preview` and `theme` are never read [INFO] [stdout] --> src/ui/terminal/app.rs:109:5 [INFO] [stdout] | [INFO] [stdout] 95 | pub struct App { [INFO] [stdout] | --- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 109 | preview: PreviewView, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 110 | /// Global theme [INFO] [stdout] 111 | theme: Theme, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `render_app` is never used [INFO] [stdout] --> src/ui/terminal/app.rs:747:8 [INFO] [stdout] | [INFO] [stdout] 118 | impl App { [INFO] [stdout] | -------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 747 | fn render_app(&self, _frame: &mut Frame) -> anyhow::Result<()> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `source`, `destination`, `source_name`, `destination_name`, and `has_conflict` are never read [INFO] [stdout] --> src/ui/terminal/views/preview_view.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct PreviewOperation { [INFO] [stdout] | ---------------- fields in this struct [INFO] [stdout] 14 | /// Source path [INFO] [stdout] 15 | pub source: PathBuf, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 16 | /// Destination path [INFO] [stdout] 17 | pub destination: PathBuf, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 18 | /// Source file name for display [INFO] [stdout] 19 | pub source_name: String, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 20 | /// Destination file name for display [INFO] [stdout] 21 | pub destination_name: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 22 | /// Would this operation cause conflicts? [INFO] [stdout] 23 | pub has_conflict: bool, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `FileItemWidget` is never constructed [INFO] [stdout] --> src/ui/terminal/widgets/file_item_widget.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct FileItemWidget<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `block`, and `visual_selection` are never used [INFO] [stdout] --> src/ui/terminal/widgets/file_item_widget.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 20 | impl<'a> FileItemWidget<'a> { [INFO] [stdout] | --------------------------- associated items in this implementation [INFO] [stdout] 21 | pub fn new(theme: &'a Theme) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 29 | pub fn block(mut self, block: Block<'a>) -> Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 34 | pub fn visual_selection(mut self, active: bool) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `source` [INFO] [stdout] --> src/file_ops.rs:468:21 [INFO] [stdout] | [INFO] [stdout] 468 | fn prompt_overwrite(source: &Path, destination: &Path) -> Result> { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_source` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `remove_cmd` [INFO] [stdout] --> src/main.rs:1966:21 [INFO] [stdout] | [INFO] [stdout] 1966 | if let Some(ref remove_cmd) = cnp_command.remove_command { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_remove_cmd` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `skipped` is never read [INFO] [stdout] --> src/main.rs:200:5 [INFO] [stdout] | [INFO] [stdout] 196 | struct Stats { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] ... [INFO] [stdout] 200 | skipped: u32, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Stats` 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: variants `ByType`, `ByDate`, and `BySize` are never constructed [INFO] [stdout] --> src/main.rs:295:5 [INFO] [stdout] | [INFO] [stdout] 292 | enum SortMethod { [INFO] [stdout] | ---------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 295 | ByType, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 296 | ByDate, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 297 | BySize, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SortMethod` 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 `command_type` and `preview` are never read [INFO] [stdout] --> src/cnp_grammar.rs:27:9 [INFO] [stdout] | [INFO] [stdout] 26 | pub struct RemoveCommand { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 27 | pub command_type: String, // "rm" [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 28 | pub preview: bool, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RemoveCommand` 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: variant `Where` is never constructed [INFO] [stdout] --> src/cnp_grammar.rs:46:5 [INFO] [stdout] | [INFO] [stdout] 32 | pub enum Filter { [INFO] [stdout] | ------ variant in this enum [INFO] [stdout] ... [INFO] [stdout] 46 | Where(Vec), [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Filter` 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 `follow_symlinks` is never read [INFO] [stdout] --> src/file_ops.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct FileOpConfig { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 18 | pub follow_symlinks: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `FileOpConfig` 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: function `title_case` is never used [INFO] [stdout] --> src/transformers.rs:316:4 [INFO] [stdout] | [INFO] [stdout] 316 | fn title_case(name: &str) -> String { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `format_title` is never used [INFO] [stdout] --> src/transformers.rs:491:4 [INFO] [stdout] | [INFO] [stdout] 491 | fn format_title(tokens: &[String]) -> String { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `open_directory` is never used [INFO] [stdout] --> src/ui/mod.rs:18:8 [INFO] [stdout] | [INFO] [stdout] 13 | pub trait UserInterface { [INFO] [stdout] | ------------- method in this trait [INFO] [stdout] ... [INFO] [stdout] 18 | fn open_directory(&mut self, path: PathBuf) -> Result<(), Box>; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Exit` and `ShowHelp` are never constructed [INFO] [stdout] --> src/ui/mod.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 22 | pub enum UiAction { [INFO] [stdout] | -------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 26 | Exit, [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 30 | ShowHelp, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Camel`, `Pascal`, `Lower`, and `Upper` are never constructed [INFO] [stdout] --> src/ui/mod.rs:48:5 [INFO] [stdout] | [INFO] [stdout] 43 | pub enum TransformAction { [INFO] [stdout] | --------------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 48 | Camel, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 49 | Pascal, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 50 | Lower, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 51 | Upper, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TransformAction` 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: enum `Action` is never used [INFO] [stdout] --> src/ui/input/keymap.rs:6:10 [INFO] [stdout] | [INFO] [stdout] 6 | pub enum Action { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `KeyMap` is never constructed [INFO] [stdout] --> src/ui/input/keymap.rs:50:12 [INFO] [stdout] | [INFO] [stdout] 50 | pub struct KeyMap { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_normal_action`, `get_visual_action`, and `get_command_action` are never used [INFO] [stdout] --> src/ui/input/keymap.rs:203:12 [INFO] [stdout] | [INFO] [stdout] 201 | impl KeyMap { [INFO] [stdout] | ----------- methods in this implementation [INFO] [stdout] 202 | /// Get the action for a key event in normal mode [INFO] [stdout] 203 | pub fn get_normal_action(&self, key: KeyEvent) -> Option<&Action> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 208 | pub fn get_visual_action(&self, key: KeyEvent) -> Option<&Action> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 213 | pub fn get_command_action(&self, key: KeyEvent) -> Option<&Action> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Motion` is never used [INFO] [stdout] --> src/ui/input/vim.rs:3:10 [INFO] [stdout] | [INFO] [stdout] 3 | pub enum Motion { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Operator` is never used [INFO] [stdout] --> src/ui/input/vim.rs:32:10 [INFO] [stdout] | [INFO] [stdout] 32 | pub enum Operator { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `TextObject` is never used [INFO] [stdout] --> src/ui/input/vim.rs:43:10 [INFO] [stdout] | [INFO] [stdout] 43 | pub enum TextObject { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CommandState` is never constructed [INFO] [stdout] --> src/ui/input/vim.rs:64:12 [INFO] [stdout] | [INFO] [stdout] 64 | pub struct CommandState { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/ui/input/vim.rs:77:12 [INFO] [stdout] | [INFO] [stdout] 75 | impl CommandState { [INFO] [stdout] | ----------------- associated items in this implementation [INFO] [stdout] 76 | /// Create a new command state [INFO] [stdout] 77 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 87 | pub fn get_count(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 92 | pub fn parse_count(&mut self, c: char) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 99 | pub fn has_count(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 104 | pub fn set_operator(&mut self, operator: Operator) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 109 | pub fn get_operator(&self) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 114 | pub fn set_motion(&mut self, motion: Motion) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 119 | pub fn get_motion(&self) -> Option { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 124 | pub fn set_text_object(&mut self, text_object: TextObject) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 129 | pub fn get_text_object(&self) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 134 | pub fn clear(&mut self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0` and `1` are never read [INFO] [stdout] --> src/ui/terminal/mod.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 16 | Resize(u16, u16), [INFO] [stdout] | ------ ^^^ ^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 16 - Resize(u16, u16), [INFO] [stdout] 16 + Resize((), ()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Insert` is never constructed [INFO] [stdout] --> src/ui/terminal/mod.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 23 | pub enum AppMode { [INFO] [stdout] | ------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 31 | Insert, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AppMode` 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: method `selected_index` is never used [INFO] [stdout] --> src/ui/terminal/app.rs:45:12 [INFO] [stdout] | [INFO] [stdout] 25 | impl OperationQueue { [INFO] [stdout] | ------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 45 | pub fn selected_index(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `preview` and `theme` are never read [INFO] [stdout] --> src/ui/terminal/app.rs:109:5 [INFO] [stdout] | [INFO] [stdout] 95 | pub struct App { [INFO] [stdout] | --- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 109 | preview: PreviewView, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 110 | /// Global theme [INFO] [stdout] 111 | theme: Theme, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `render_app` is never used [INFO] [stdout] --> src/ui/terminal/app.rs:747:8 [INFO] [stdout] | [INFO] [stdout] 118 | impl App { [INFO] [stdout] | -------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 747 | fn render_app(&self, _frame: &mut Frame) -> anyhow::Result<()> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `is_symlink` and `size` are never read [INFO] [stdout] --> src/ui/terminal/views/file_explorer.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct FileItem { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 23 | pub is_symlink: bool, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 24 | /// Size in bytes [INFO] [stdout] 25 | pub size: u64, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `FileItem` 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: field `operations` is never read [INFO] [stdout] --> src/ui/terminal/views/preview_view.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct PreviewView { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] 8 | /// Currently previewed file operations [INFO] [stdout] 9 | operations: Vec, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `source`, `destination`, `source_name`, `destination_name`, and `has_conflict` are never read [INFO] [stdout] --> src/ui/terminal/views/preview_view.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct PreviewOperation { [INFO] [stdout] | ---------------- fields in this struct [INFO] [stdout] 14 | /// Source path [INFO] [stdout] 15 | pub source: PathBuf, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 16 | /// Destination path [INFO] [stdout] 17 | pub destination: PathBuf, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 18 | /// Source file name for display [INFO] [stdout] 19 | pub source_name: String, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 20 | /// Destination file name for display [INFO] [stdout] 21 | pub destination_name: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 22 | /// Would this operation cause conflicts? [INFO] [stdout] 23 | pub has_conflict: bool, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `set_operations` and `preview_transform` are never used [INFO] [stdout] --> src/ui/terminal/views/preview_view.rs:41:12 [INFO] [stdout] | [INFO] [stdout] 32 | impl PreviewView { [INFO] [stdout] | ---------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 41 | pub fn set_operations(&mut self, operations: &[FileOperation]) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 71 | pub fn preview_transform(&self, filename: &str, transform_type: TransformType) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `FileItemWidget` is never constructed [INFO] [stdout] --> src/ui/terminal/widgets/file_item_widget.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct FileItemWidget<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `block`, and `visual_selection` are never used [INFO] [stdout] --> src/ui/terminal/widgets/file_item_widget.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 20 | impl<'a> FileItemWidget<'a> { [INFO] [stdout] | --------------------------- associated items in this implementation [INFO] [stdout] 21 | pub fn new(theme: &'a Theme) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 29 | pub fn block(mut self, block: Block<'a>) -> Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 34 | pub fn visual_selection(mut self, active: bool) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/ui/theme.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct Theme { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 5 | pub app_background: Color, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 6 | pub app_foreground: Color, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 9 | pub explorer_normal: Style, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 10 | pub explorer_selected: Style, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 11 | pub explorer_highlight: Style, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 12 | pub explorer_directory: Style, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 13 | pub explorer_file: Style, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 16 | pub queue_normal: Style, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 17 | pub queue_selected: Style, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 18 | pub queue_title: Style, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 19 | pub queue_empty: Style, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 22 | pub preview_title: Style, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 23 | pub preview_normal: Style, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 24 | pub preview_before: Style, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 25 | pub preview_after: Style, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 26 | pub preview_conflict: Style, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 29 | pub statusbar_normal: Style, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 30 | pub statusbar_mode: Style, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 31 | pub statusbar_info: Style, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 32 | pub statusbar_error: Style, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 35 | pub help_normal: Style, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 36 | pub help_key: Style, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 37 | pub help_title: Style, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 36.88s [INFO] running `Command { std: "docker" "inspect" "be4e7bf96b6eadb7761ac38930fce73ab0d29fe75ff2243c495f0efa0f3da540", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "be4e7bf96b6eadb7761ac38930fce73ab0d29fe75ff2243c495f0efa0f3da540", kill_on_drop: false }` [INFO] [stdout] be4e7bf96b6eadb7761ac38930fce73ab0d29fe75ff2243c495f0efa0f3da540 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c3f9d8d36d2b7b8f1b8803db808fa86cf6679b13285490b7d0b6a153b44da3ff [INFO] running `Command { std: "docker" "start" "-a" "c3f9d8d36d2b7b8f1b8803db808fa86cf6679b13285490b7d0b6a153b44da3ff", kill_on_drop: false }` [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling predicates-core v1.0.9 [INFO] [stderr] Compiling rustix v1.0.8 [INFO] [stderr] Compiling termtree v0.5.1 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling float-cmp v0.9.0 [INFO] [stderr] Compiling wait-timeout v0.2.1 [INFO] [stderr] Compiling normalize-line-endings v0.3.0 [INFO] [stderr] Compiling predicates v3.1.3 [INFO] [stderr] Compiling predicates-tree v1.0.12 [INFO] [stderr] Compiling tempfile v3.20.0 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling bstr v1.12.0 [INFO] [stderr] Compiling env_logger v0.9.3 [INFO] [stderr] Compiling predicates v2.1.5 [INFO] [stderr] Compiling assert_cmd v2.0.17 [INFO] [stderr] Compiling skim v0.10.4 [INFO] [stderr] Compiling smv v0.5.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: function `title_case` is never used [INFO] [stdout] --> src/transformers.rs:316:4 [INFO] [stdout] | [INFO] [stdout] 316 | fn title_case(name: &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: function `format_title` is never used [INFO] [stdout] --> src/transformers.rs:491:4 [INFO] [stdout] | [INFO] [stdout] 491 | fn format_title(tokens: &[String]) -> String { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Action` is never used [INFO] [stdout] --> src/ui/input/keymap.rs:6:10 [INFO] [stdout] | [INFO] [stdout] 6 | pub enum Action { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `KeyMap` is never constructed [INFO] [stdout] --> src/ui/input/keymap.rs:50:12 [INFO] [stdout] | [INFO] [stdout] 50 | pub struct KeyMap { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_normal_action`, `get_visual_action`, and `get_command_action` are never used [INFO] [stdout] --> src/ui/input/keymap.rs:203:12 [INFO] [stdout] | [INFO] [stdout] 201 | impl KeyMap { [INFO] [stdout] | ----------- methods in this implementation [INFO] [stdout] 202 | /// Get the action for a key event in normal mode [INFO] [stdout] 203 | pub fn get_normal_action(&self, key: KeyEvent) -> Option<&Action> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 208 | pub fn get_visual_action(&self, key: KeyEvent) -> Option<&Action> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 213 | pub fn get_command_action(&self, key: KeyEvent) -> Option<&Action> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Motion` is never used [INFO] [stdout] --> src/ui/input/vim.rs:3:10 [INFO] [stdout] | [INFO] [stdout] 3 | pub enum Motion { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Operator` is never used [INFO] [stdout] --> src/ui/input/vim.rs:32:10 [INFO] [stdout] | [INFO] [stdout] 32 | pub enum Operator { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `TextObject` is never used [INFO] [stdout] --> src/ui/input/vim.rs:43:10 [INFO] [stdout] | [INFO] [stdout] 43 | pub enum TextObject { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CommandState` is never constructed [INFO] [stdout] --> src/ui/input/vim.rs:64:12 [INFO] [stdout] | [INFO] [stdout] 64 | pub struct CommandState { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/ui/input/vim.rs:77:12 [INFO] [stdout] | [INFO] [stdout] 75 | impl CommandState { [INFO] [stdout] | ----------------- associated items in this implementation [INFO] [stdout] 76 | /// Create a new command state [INFO] [stdout] 77 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 87 | pub fn get_count(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 92 | pub fn parse_count(&mut self, c: char) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 99 | pub fn has_count(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 104 | pub fn set_operator(&mut self, operator: Operator) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 109 | pub fn get_operator(&self) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 114 | pub fn set_motion(&mut self, motion: Motion) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 119 | pub fn get_motion(&self) -> Option { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 124 | pub fn set_text_object(&mut self, text_object: TextObject) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 129 | pub fn get_text_object(&self) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 134 | pub fn clear(&mut self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `preview` and `theme` are never read [INFO] [stdout] --> src/ui/terminal/app.rs:109:5 [INFO] [stdout] | [INFO] [stdout] 95 | pub struct App { [INFO] [stdout] | --- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 109 | preview: PreviewView, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 110 | /// Global theme [INFO] [stdout] 111 | theme: Theme, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `render_app` is never used [INFO] [stdout] --> src/ui/terminal/app.rs:747:8 [INFO] [stdout] | [INFO] [stdout] 118 | impl App { [INFO] [stdout] | -------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 747 | fn render_app(&self, _frame: &mut Frame) -> anyhow::Result<()> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `source`, `destination`, `source_name`, `destination_name`, and `has_conflict` are never read [INFO] [stdout] --> src/ui/terminal/views/preview_view.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct PreviewOperation { [INFO] [stdout] | ---------------- fields in this struct [INFO] [stdout] 14 | /// Source path [INFO] [stdout] 15 | pub source: PathBuf, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 16 | /// Destination path [INFO] [stdout] 17 | pub destination: PathBuf, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 18 | /// Source file name for display [INFO] [stdout] 19 | pub source_name: String, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 20 | /// Destination file name for display [INFO] [stdout] 21 | pub destination_name: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 22 | /// Would this operation cause conflicts? [INFO] [stdout] 23 | pub has_conflict: bool, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `FileItemWidget` is never constructed [INFO] [stdout] --> src/ui/terminal/widgets/file_item_widget.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct FileItemWidget<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `block`, and `visual_selection` are never used [INFO] [stdout] --> src/ui/terminal/widgets/file_item_widget.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 20 | impl<'a> FileItemWidget<'a> { [INFO] [stdout] | --------------------------- associated items in this implementation [INFO] [stdout] 21 | pub fn new(theme: &'a Theme) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 29 | pub fn block(mut self, block: Block<'a>) -> Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 34 | pub fn visual_selection(mut self, active: bool) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Action` is never used [INFO] [stdout] --> src/ui/input/keymap.rs:6:10 [INFO] [stdout] | [INFO] [stdout] 6 | pub enum Action { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `KeyMap` is never constructed [INFO] [stdout] --> src/ui/input/keymap.rs:50:12 [INFO] [stdout] | [INFO] [stdout] 50 | pub struct KeyMap { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_normal_action`, `get_visual_action`, and `get_command_action` are never used [INFO] [stdout] --> src/ui/input/keymap.rs:203:12 [INFO] [stdout] | [INFO] [stdout] 201 | impl KeyMap { [INFO] [stdout] | ----------- methods in this implementation [INFO] [stdout] 202 | /// Get the action for a key event in normal mode [INFO] [stdout] 203 | pub fn get_normal_action(&self, key: KeyEvent) -> Option<&Action> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 208 | pub fn get_visual_action(&self, key: KeyEvent) -> Option<&Action> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 213 | pub fn get_command_action(&self, key: KeyEvent) -> Option<&Action> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Motion` is never used [INFO] [stdout] --> src/ui/input/vim.rs:3:10 [INFO] [stdout] | [INFO] [stdout] 3 | pub enum Motion { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Operator` is never used [INFO] [stdout] --> src/ui/input/vim.rs:32:10 [INFO] [stdout] | [INFO] [stdout] 32 | pub enum Operator { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `TextObject` is never used [INFO] [stdout] --> src/ui/input/vim.rs:43:10 [INFO] [stdout] | [INFO] [stdout] 43 | pub enum TextObject { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CommandState` is never constructed [INFO] [stdout] --> src/ui/input/vim.rs:64:12 [INFO] [stdout] | [INFO] [stdout] 64 | pub struct CommandState { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/ui/input/vim.rs:77:12 [INFO] [stdout] | [INFO] [stdout] 75 | impl CommandState { [INFO] [stdout] | ----------------- associated items in this implementation [INFO] [stdout] 76 | /// Create a new command state [INFO] [stdout] 77 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 87 | pub fn get_count(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 92 | pub fn parse_count(&mut self, c: char) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 99 | pub fn has_count(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 104 | pub fn set_operator(&mut self, operator: Operator) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 109 | pub fn get_operator(&self) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 114 | pub fn set_motion(&mut self, motion: Motion) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 119 | pub fn get_motion(&self) -> Option { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 124 | pub fn set_text_object(&mut self, text_object: TextObject) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 129 | pub fn get_text_object(&self) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 134 | pub fn clear(&mut self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `preview` and `theme` are never read [INFO] [stdout] --> src/ui/terminal/app.rs:109:5 [INFO] [stdout] | [INFO] [stdout] 95 | pub struct App { [INFO] [stdout] | --- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 109 | preview: PreviewView, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 110 | /// Global theme [INFO] [stdout] 111 | theme: Theme, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `render_app` is never used [INFO] [stdout] --> src/ui/terminal/app.rs:747:8 [INFO] [stdout] | [INFO] [stdout] 118 | impl App { [INFO] [stdout] | -------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 747 | fn render_app(&self, _frame: &mut Frame) -> anyhow::Result<()> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `source`, `destination`, `source_name`, `destination_name`, and `has_conflict` are never read [INFO] [stdout] --> src/ui/terminal/views/preview_view.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct PreviewOperation { [INFO] [stdout] | ---------------- fields in this struct [INFO] [stdout] 14 | /// Source path [INFO] [stdout] 15 | pub source: PathBuf, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 16 | /// Destination path [INFO] [stdout] 17 | pub destination: PathBuf, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 18 | /// Source file name for display [INFO] [stdout] 19 | pub source_name: String, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 20 | /// Destination file name for display [INFO] [stdout] 21 | pub destination_name: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 22 | /// Would this operation cause conflicts? [INFO] [stdout] 23 | pub has_conflict: bool, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `FileItemWidget` is never constructed [INFO] [stdout] --> src/ui/terminal/widgets/file_item_widget.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct FileItemWidget<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `block`, and `visual_selection` are never used [INFO] [stdout] --> src/ui/terminal/widgets/file_item_widget.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 20 | impl<'a> FileItemWidget<'a> { [INFO] [stdout] | --------------------------- associated items in this implementation [INFO] [stdout] 21 | pub fn new(theme: &'a Theme) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 29 | pub fn block(mut self, block: Block<'a>) -> Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 34 | pub fn visual_selection(mut self, active: bool) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `source` [INFO] [stdout] --> src/file_ops.rs:468:21 [INFO] [stdout] | [INFO] [stdout] 468 | fn prompt_overwrite(source: &Path, destination: &Path) -> Result> { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_source` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `source` [INFO] [stdout] --> src/file_ops.rs:468:21 [INFO] [stdout] | [INFO] [stdout] 468 | fn prompt_overwrite(source: &Path, destination: &Path) -> Result> { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_source` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `remove_cmd` [INFO] [stdout] --> src/main.rs:1966:21 [INFO] [stdout] | [INFO] [stdout] 1966 | if let Some(ref remove_cmd) = cnp_command.remove_command { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_remove_cmd` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `skipped` is never read [INFO] [stdout] --> src/main.rs:200:5 [INFO] [stdout] | [INFO] [stdout] 196 | struct Stats { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] ... [INFO] [stdout] 200 | skipped: u32, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Stats` 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: variants `ByType`, `ByDate`, and `BySize` are never constructed [INFO] [stdout] --> src/main.rs:295:5 [INFO] [stdout] | [INFO] [stdout] 292 | enum SortMethod { [INFO] [stdout] | ---------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 295 | ByType, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 296 | ByDate, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 297 | BySize, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SortMethod` 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 `command_type` and `preview` are never read [INFO] [stdout] --> src/cnp_grammar.rs:27:9 [INFO] [stdout] | [INFO] [stdout] 26 | pub struct RemoveCommand { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 27 | pub command_type: String, // "rm" [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 28 | pub preview: bool, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RemoveCommand` 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: variant `Where` is never constructed [INFO] [stdout] --> src/cnp_grammar.rs:46:5 [INFO] [stdout] | [INFO] [stdout] 32 | pub enum Filter { [INFO] [stdout] | ------ variant in this enum [INFO] [stdout] ... [INFO] [stdout] 46 | Where(Vec), [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Filter` 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 `follow_symlinks` is never read [INFO] [stdout] --> src/file_ops.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct FileOpConfig { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 18 | pub follow_symlinks: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `FileOpConfig` 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: function `title_case` is never used [INFO] [stdout] --> src/transformers.rs:316:4 [INFO] [stdout] | [INFO] [stdout] 316 | fn title_case(name: &str) -> String { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `format_title` is never used [INFO] [stdout] --> src/transformers.rs:491:4 [INFO] [stdout] | [INFO] [stdout] 491 | fn format_title(tokens: &[String]) -> String { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `open_directory` is never used [INFO] [stdout] --> src/ui/mod.rs:18:8 [INFO] [stdout] | [INFO] [stdout] 13 | pub trait UserInterface { [INFO] [stdout] | ------------- method in this trait [INFO] [stdout] ... [INFO] [stdout] 18 | fn open_directory(&mut self, path: PathBuf) -> Result<(), Box>; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Exit` and `ShowHelp` are never constructed [INFO] [stdout] --> src/ui/mod.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 22 | pub enum UiAction { [INFO] [stdout] | -------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 26 | Exit, [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 30 | ShowHelp, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Camel`, `Pascal`, `Lower`, and `Upper` are never constructed [INFO] [stdout] --> src/ui/mod.rs:48:5 [INFO] [stdout] | [INFO] [stdout] 43 | pub enum TransformAction { [INFO] [stdout] | --------------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 48 | Camel, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 49 | Pascal, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 50 | Lower, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 51 | Upper, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TransformAction` 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: enum `Action` is never used [INFO] [stdout] --> src/ui/input/keymap.rs:6:10 [INFO] [stdout] | [INFO] [stdout] 6 | pub enum Action { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `KeyMap` is never constructed [INFO] [stdout] --> src/ui/input/keymap.rs:50:12 [INFO] [stdout] | [INFO] [stdout] 50 | pub struct KeyMap { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_normal_action`, `get_visual_action`, and `get_command_action` are never used [INFO] [stdout] --> src/ui/input/keymap.rs:203:12 [INFO] [stdout] | [INFO] [stdout] 201 | impl KeyMap { [INFO] [stdout] | ----------- methods in this implementation [INFO] [stdout] 202 | /// Get the action for a key event in normal mode [INFO] [stdout] 203 | pub fn get_normal_action(&self, key: KeyEvent) -> Option<&Action> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 208 | pub fn get_visual_action(&self, key: KeyEvent) -> Option<&Action> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 213 | pub fn get_command_action(&self, key: KeyEvent) -> Option<&Action> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Motion` is never used [INFO] [stdout] --> src/ui/input/vim.rs:3:10 [INFO] [stdout] | [INFO] [stdout] 3 | pub enum Motion { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Operator` is never used [INFO] [stdout] --> src/ui/input/vim.rs:32:10 [INFO] [stdout] | [INFO] [stdout] 32 | pub enum Operator { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `TextObject` is never used [INFO] [stdout] --> src/ui/input/vim.rs:43:10 [INFO] [stdout] | [INFO] [stdout] 43 | pub enum TextObject { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CommandState` is never constructed [INFO] [stdout] --> src/ui/input/vim.rs:64:12 [INFO] [stdout] | [INFO] [stdout] 64 | pub struct CommandState { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/ui/input/vim.rs:77:12 [INFO] [stdout] | [INFO] [stdout] 75 | impl CommandState { [INFO] [stdout] | ----------------- associated items in this implementation [INFO] [stdout] 76 | /// Create a new command state [INFO] [stdout] 77 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 87 | pub fn get_count(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 92 | pub fn parse_count(&mut self, c: char) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 99 | pub fn has_count(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 104 | pub fn set_operator(&mut self, operator: Operator) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 109 | pub fn get_operator(&self) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 114 | pub fn set_motion(&mut self, motion: Motion) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 119 | pub fn get_motion(&self) -> Option { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 124 | pub fn set_text_object(&mut self, text_object: TextObject) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 129 | pub fn get_text_object(&self) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 134 | pub fn clear(&mut self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0` and `1` are never read [INFO] [stdout] --> src/ui/terminal/mod.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 16 | Resize(u16, u16), [INFO] [stdout] | ------ ^^^ ^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 16 - Resize(u16, u16), [INFO] [stdout] 16 + Resize((), ()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Insert` is never constructed [INFO] [stdout] --> src/ui/terminal/mod.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 23 | pub enum AppMode { [INFO] [stdout] | ------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 31 | Insert, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AppMode` 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: method `selected_index` is never used [INFO] [stdout] --> src/ui/terminal/app.rs:45:12 [INFO] [stdout] | [INFO] [stdout] 25 | impl OperationQueue { [INFO] [stdout] | ------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 45 | pub fn selected_index(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `preview` and `theme` are never read [INFO] [stdout] --> src/ui/terminal/app.rs:109:5 [INFO] [stdout] | [INFO] [stdout] 95 | pub struct App { [INFO] [stdout] | --- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 109 | preview: PreviewView, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 110 | /// Global theme [INFO] [stdout] 111 | theme: Theme, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `render_app` is never used [INFO] [stdout] --> src/ui/terminal/app.rs:747:8 [INFO] [stdout] | [INFO] [stdout] 118 | impl App { [INFO] [stdout] | -------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 747 | fn render_app(&self, _frame: &mut Frame) -> anyhow::Result<()> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `is_symlink` and `size` are never read [INFO] [stdout] --> src/ui/terminal/views/file_explorer.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct FileItem { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 23 | pub is_symlink: bool, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 24 | /// Size in bytes [INFO] [stdout] 25 | pub size: u64, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `FileItem` 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: field `operations` is never read [INFO] [stdout] --> src/ui/terminal/views/preview_view.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct PreviewView { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] 8 | /// Currently previewed file operations [INFO] [stdout] 9 | operations: Vec, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `source`, `destination`, `source_name`, `destination_name`, and `has_conflict` are never read [INFO] [stdout] --> src/ui/terminal/views/preview_view.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct PreviewOperation { [INFO] [stdout] | ---------------- fields in this struct [INFO] [stdout] 14 | /// Source path [INFO] [stdout] 15 | pub source: PathBuf, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 16 | /// Destination path [INFO] [stdout] 17 | pub destination: PathBuf, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 18 | /// Source file name for display [INFO] [stdout] 19 | pub source_name: String, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 20 | /// Destination file name for display [INFO] [stdout] 21 | pub destination_name: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 22 | /// Would this operation cause conflicts? [INFO] [stdout] 23 | pub has_conflict: bool, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `set_operations` and `preview_transform` are never used [INFO] [stdout] --> src/ui/terminal/views/preview_view.rs:41:12 [INFO] [stdout] | [INFO] [stdout] 32 | impl PreviewView { [INFO] [stdout] | ---------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 41 | pub fn set_operations(&mut self, operations: &[FileOperation]) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 71 | pub fn preview_transform(&self, filename: &str, transform_type: TransformType) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `FileItemWidget` is never constructed [INFO] [stdout] --> src/ui/terminal/widgets/file_item_widget.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct FileItemWidget<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `block`, and `visual_selection` are never used [INFO] [stdout] --> src/ui/terminal/widgets/file_item_widget.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 20 | impl<'a> FileItemWidget<'a> { [INFO] [stdout] | --------------------------- associated items in this implementation [INFO] [stdout] 21 | pub fn new(theme: &'a Theme) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 29 | pub fn block(mut self, block: Block<'a>) -> Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 34 | pub fn visual_selection(mut self, active: bool) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/ui/theme.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct Theme { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 5 | pub app_background: Color, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 6 | pub app_foreground: Color, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 9 | pub explorer_normal: Style, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 10 | pub explorer_selected: Style, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 11 | pub explorer_highlight: Style, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 12 | pub explorer_directory: Style, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 13 | pub explorer_file: Style, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 16 | pub queue_normal: Style, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 17 | pub queue_selected: Style, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 18 | pub queue_title: Style, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 19 | pub queue_empty: Style, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 22 | pub preview_title: Style, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 23 | pub preview_normal: Style, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 24 | pub preview_before: Style, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 25 | pub preview_after: Style, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 26 | pub preview_conflict: Style, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 29 | pub statusbar_normal: Style, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 30 | pub statusbar_mode: Style, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 31 | pub statusbar_info: Style, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 32 | pub statusbar_error: Style, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 35 | pub help_normal: Style, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 36 | pub help_key: Style, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 37 | pub help_title: Style, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `remove_cmd` [INFO] [stdout] --> src/main.rs:1966:21 [INFO] [stdout] | [INFO] [stdout] 1966 | if let Some(ref remove_cmd) = cnp_command.remove_command { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_remove_cmd` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `skipped` is never read [INFO] [stdout] --> src/main.rs:200:5 [INFO] [stdout] | [INFO] [stdout] 196 | struct Stats { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] ... [INFO] [stdout] 200 | skipped: u32, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Stats` 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: variants `ByType`, `ByDate`, and `BySize` are never constructed [INFO] [stdout] --> src/main.rs:295:5 [INFO] [stdout] | [INFO] [stdout] 292 | enum SortMethod { [INFO] [stdout] | ---------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 295 | ByType, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 296 | ByDate, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 297 | BySize, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SortMethod` 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 `command_type` and `preview` are never read [INFO] [stdout] --> src/cnp_grammar.rs:27:9 [INFO] [stdout] | [INFO] [stdout] 26 | pub struct RemoveCommand { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 27 | pub command_type: String, // "rm" [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 28 | pub preview: bool, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RemoveCommand` 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: variant `Where` is never constructed [INFO] [stdout] --> src/cnp_grammar.rs:46:5 [INFO] [stdout] | [INFO] [stdout] 32 | pub enum Filter { [INFO] [stdout] | ------ variant in this enum [INFO] [stdout] ... [INFO] [stdout] 46 | Where(Vec), [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Filter` 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 `follow_symlinks` is never read [INFO] [stdout] --> src/file_ops.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct FileOpConfig { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 18 | pub follow_symlinks: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `FileOpConfig` 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 `open_directory` is never used [INFO] [stdout] --> src/ui/mod.rs:18:8 [INFO] [stdout] | [INFO] [stdout] 13 | pub trait UserInterface { [INFO] [stdout] | ------------- method in this trait [INFO] [stdout] ... [INFO] [stdout] 18 | fn open_directory(&mut self, path: PathBuf) -> Result<(), Box>; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Exit` and `ShowHelp` are never constructed [INFO] [stdout] --> src/ui/mod.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 22 | pub enum UiAction { [INFO] [stdout] | -------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 26 | Exit, [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 30 | ShowHelp, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Camel`, `Pascal`, `Lower`, and `Upper` are never constructed [INFO] [stdout] --> src/ui/mod.rs:48:5 [INFO] [stdout] | [INFO] [stdout] 43 | pub enum TransformAction { [INFO] [stdout] | --------------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 48 | Camel, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 49 | Pascal, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 50 | Lower, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 51 | Upper, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TransformAction` 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: enum `Action` is never used [INFO] [stdout] --> src/ui/input/keymap.rs:6:10 [INFO] [stdout] | [INFO] [stdout] 6 | pub enum Action { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `KeyMap` is never constructed [INFO] [stdout] --> src/ui/input/keymap.rs:50:12 [INFO] [stdout] | [INFO] [stdout] 50 | pub struct KeyMap { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_normal_action`, `get_visual_action`, and `get_command_action` are never used [INFO] [stdout] --> src/ui/input/keymap.rs:203:12 [INFO] [stdout] | [INFO] [stdout] 201 | impl KeyMap { [INFO] [stdout] | ----------- methods in this implementation [INFO] [stdout] 202 | /// Get the action for a key event in normal mode [INFO] [stdout] 203 | pub fn get_normal_action(&self, key: KeyEvent) -> Option<&Action> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 208 | pub fn get_visual_action(&self, key: KeyEvent) -> Option<&Action> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 213 | pub fn get_command_action(&self, key: KeyEvent) -> Option<&Action> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Motion` is never used [INFO] [stdout] --> src/ui/input/vim.rs:3:10 [INFO] [stdout] | [INFO] [stdout] 3 | pub enum Motion { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Operator` is never used [INFO] [stdout] --> src/ui/input/vim.rs:32:10 [INFO] [stdout] | [INFO] [stdout] 32 | pub enum Operator { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `TextObject` is never used [INFO] [stdout] --> src/ui/input/vim.rs:43:10 [INFO] [stdout] | [INFO] [stdout] 43 | pub enum TextObject { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CommandState` is never constructed [INFO] [stdout] --> src/ui/input/vim.rs:64:12 [INFO] [stdout] | [INFO] [stdout] 64 | pub struct CommandState { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/ui/input/vim.rs:77:12 [INFO] [stdout] | [INFO] [stdout] 75 | impl CommandState { [INFO] [stdout] | ----------------- associated items in this implementation [INFO] [stdout] 76 | /// Create a new command state [INFO] [stdout] 77 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 87 | pub fn get_count(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 92 | pub fn parse_count(&mut self, c: char) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 99 | pub fn has_count(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 104 | pub fn set_operator(&mut self, operator: Operator) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 109 | pub fn get_operator(&self) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 114 | pub fn set_motion(&mut self, motion: Motion) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 119 | pub fn get_motion(&self) -> Option { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 124 | pub fn set_text_object(&mut self, text_object: TextObject) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 129 | pub fn get_text_object(&self) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 134 | pub fn clear(&mut self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0` and `1` are never read [INFO] [stdout] --> src/ui/terminal/mod.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 16 | Resize(u16, u16), [INFO] [stdout] | ------ ^^^ ^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 16 - Resize(u16, u16), [INFO] [stdout] 16 + Resize((), ()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Insert` is never constructed [INFO] [stdout] --> src/ui/terminal/mod.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 23 | pub enum AppMode { [INFO] [stdout] | ------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 31 | Insert, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AppMode` 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: method `selected_index` is never used [INFO] [stdout] --> src/ui/terminal/app.rs:45:12 [INFO] [stdout] | [INFO] [stdout] 25 | impl OperationQueue { [INFO] [stdout] | ------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 45 | pub fn selected_index(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `preview` and `theme` are never read [INFO] [stdout] --> src/ui/terminal/app.rs:109:5 [INFO] [stdout] | [INFO] [stdout] 95 | pub struct App { [INFO] [stdout] | --- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 109 | preview: PreviewView, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 110 | /// Global theme [INFO] [stdout] 111 | theme: Theme, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `render_app` is never used [INFO] [stdout] --> src/ui/terminal/app.rs:747:8 [INFO] [stdout] | [INFO] [stdout] 118 | impl App { [INFO] [stdout] | -------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 747 | fn render_app(&self, _frame: &mut Frame) -> anyhow::Result<()> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `is_symlink` and `size` are never read [INFO] [stdout] --> src/ui/terminal/views/file_explorer.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct FileItem { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 23 | pub is_symlink: bool, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 24 | /// Size in bytes [INFO] [stdout] 25 | pub size: u64, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `FileItem` 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: field `operations` is never read [INFO] [stdout] --> src/ui/terminal/views/preview_view.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct PreviewView { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] 8 | /// Currently previewed file operations [INFO] [stdout] 9 | operations: Vec, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `source`, `destination`, `source_name`, `destination_name`, and `has_conflict` are never read [INFO] [stdout] --> src/ui/terminal/views/preview_view.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct PreviewOperation { [INFO] [stdout] | ---------------- fields in this struct [INFO] [stdout] 14 | /// Source path [INFO] [stdout] 15 | pub source: PathBuf, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 16 | /// Destination path [INFO] [stdout] 17 | pub destination: PathBuf, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 18 | /// Source file name for display [INFO] [stdout] 19 | pub source_name: String, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 20 | /// Destination file name for display [INFO] [stdout] 21 | pub destination_name: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 22 | /// Would this operation cause conflicts? [INFO] [stdout] 23 | pub has_conflict: bool, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `set_operations` and `preview_transform` are never used [INFO] [stdout] --> src/ui/terminal/views/preview_view.rs:41:12 [INFO] [stdout] | [INFO] [stdout] 32 | impl PreviewView { [INFO] [stdout] | ---------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 41 | pub fn set_operations(&mut self, operations: &[FileOperation]) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 71 | pub fn preview_transform(&self, filename: &str, transform_type: TransformType) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `FileItemWidget` is never constructed [INFO] [stdout] --> src/ui/terminal/widgets/file_item_widget.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct FileItemWidget<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `block`, and `visual_selection` are never used [INFO] [stdout] --> src/ui/terminal/widgets/file_item_widget.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 20 | impl<'a> FileItemWidget<'a> { [INFO] [stdout] | --------------------------- associated items in this implementation [INFO] [stdout] 21 | pub fn new(theme: &'a Theme) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 29 | pub fn block(mut self, block: Block<'a>) -> Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 34 | pub fn visual_selection(mut self, active: bool) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/ui/theme.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct Theme { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 5 | pub app_background: Color, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 6 | pub app_foreground: Color, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 9 | pub explorer_normal: Style, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 10 | pub explorer_selected: Style, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 11 | pub explorer_highlight: Style, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 16 | pub queue_normal: Style, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 17 | pub queue_selected: Style, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 18 | pub queue_title: Style, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 19 | pub queue_empty: Style, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 22 | pub preview_title: Style, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 23 | pub preview_normal: Style, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 24 | pub preview_before: Style, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 25 | pub preview_after: Style, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 26 | pub preview_conflict: Style, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 29 | pub statusbar_normal: Style, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 30 | pub statusbar_mode: Style, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 31 | pub statusbar_info: Style, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 32 | pub statusbar_error: Style, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 35 | pub help_normal: Style, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 36 | pub help_key: Style, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 37 | pub help_title: Style, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 17.87s [INFO] running `Command { std: "docker" "inspect" "c3f9d8d36d2b7b8f1b8803db808fa86cf6679b13285490b7d0b6a153b44da3ff", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c3f9d8d36d2b7b8f1b8803db808fa86cf6679b13285490b7d0b6a153b44da3ff", kill_on_drop: false }` [INFO] [stdout] c3f9d8d36d2b7b8f1b8803db808fa86cf6679b13285490b7d0b6a153b44da3ff