[INFO] cloning repository https://github.com/cyccro/ishtar [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/cyccro/ishtar" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcyccro%2Fishtar", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcyccro%2Fishtar'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 6de169cfc75ff0ef84e11112771d896d1c6a51ee [INFO] building cyccro/ishtar against master#ad85bc524b1ad696e42061ad8338d382dffbdbe5 for pr-146237-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcyccro%2Fishtar" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/cyccro/ishtar [INFO] finished tweaking git repo https://github.com/cyccro/ishtar [INFO] tweaked toml for git repo https://github.com/cyccro/ishtar written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/cyccro/ishtar on toolchain ad85bc524b1ad696e42061ad8338d382dffbdbe5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/cyccro/ishtar already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded foldhash v0.1.3 [INFO] [stderr] Downloaded tree-sitter-language v0.1.2 [INFO] [stderr] Downloaded simple-easing v1.0.1 [INFO] [stderr] Downloaded cc v1.2.1 [INFO] [stderr] Downloaded lazy-bytes-cast v5.0.1 [INFO] [stderr] Downloaded x11-clipboard v0.9.3 [INFO] [stderr] Downloaded copypasta v0.10.1 [INFO] [stderr] Downloaded clipboard-win v3.1.1 [INFO] [stderr] Downloaded bon v3.3.2 [INFO] [stderr] Downloaded miniz_oxide v0.8.1 [INFO] [stderr] Downloaded wayland-client v0.31.7 [INFO] [stderr] Downloaded bon-macros v3.3.2 [INFO] [stderr] Downloaded wayland-backend v0.3.7 [INFO] [stderr] Downloaded wayland-protocols v0.32.5 [INFO] [stderr] Downloaded tree-sitter v0.24.4 [INFO] [stderr] Downloaded tree-sitter-javascript v0.23.1 [INFO] [stderr] Downloaded anyhow v1.0.94 [INFO] [stderr] Downloaded wayland-scanner v0.31.5 [INFO] [stderr] Downloaded rustix v0.38.40 [INFO] [stderr] Downloaded wayland-sys v0.31.5 [INFO] [stderr] Downloaded colorsys v0.6.7 [INFO] [stderr] Downloaded gapbuf v0.1.4 [INFO] [stderr] Downloaded instability v0.3.3 [INFO] [stderr] Downloaded streaming-iterator v0.1.9 [INFO] [stderr] Downloaded downcast-rs v2.0.1 [INFO] [stderr] Downloaded libc v0.2.164 [INFO] [stderr] Downloaded tachyonfx v0.10.1 [INFO] [stderr] Downloaded tree-sitter-highlight v0.24.4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 52e3c16bfd37442305f5c727a830a69d10a56641092174aa885ead811c8b8f38 [INFO] running `Command { std: "docker" "start" "-a" "52e3c16bfd37442305f5c727a830a69d10a56641092174aa885ead811c8b8f38", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "52e3c16bfd37442305f5c727a830a69d10a56641092174aa885ead811c8b8f38", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "52e3c16bfd37442305f5c727a830a69d10a56641092174aa885ead811c8b8f38", kill_on_drop: false }` [INFO] [stdout] 52e3c16bfd37442305f5c727a830a69d10a56641092174aa885ead811c8b8f38 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] acaa7c9d39bcb569cb94651ff994eebe9149d8b5b0a5e0f3efcb2dfee0469bdd [INFO] running `Command { std: "docker" "start" "-a" "acaa7c9d39bcb569cb94651ff994eebe9149d8b5b0a5e0f3efcb2dfee0469bdd", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.89 [INFO] [stderr] Compiling unicode-ident v1.0.13 [INFO] [stderr] Compiling libc v0.2.164 [INFO] [stderr] Compiling rustix v0.38.40 [INFO] [stderr] Compiling linux-raw-sys v0.4.14 [INFO] [stderr] Compiling bitflags v2.6.0 [INFO] [stderr] Compiling log v0.4.22 [INFO] [stderr] Compiling smallvec v1.13.2 [INFO] [stderr] Compiling pkg-config v0.3.31 [INFO] [stderr] Compiling once_cell v1.20.2 [INFO] [stderr] Compiling rustversion v1.0.18 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling cc v1.2.1 [INFO] [stderr] Compiling libloading v0.8.6 [INFO] [stderr] Compiling wayland-client v0.31.7 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling tracing-core v0.1.33 [INFO] [stderr] Compiling pin-project-lite v0.2.15 [INFO] [stderr] Compiling signal-hook v0.3.17 [INFO] [stderr] Compiling prettyplease v0.2.25 [INFO] [stderr] Compiling smithay-client-toolkit v0.19.2 [INFO] [stderr] Compiling dlib v0.5.2 [INFO] [stderr] Compiling yansi v1.0.1 [INFO] [stderr] Compiling xcursor v0.3.8 [INFO] [stderr] Compiling diff v0.1.13 [INFO] [stderr] Compiling foldhash v0.1.3 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling allocator-api2 v0.2.20 [INFO] [stderr] Compiling quick-xml v0.36.2 [INFO] [stderr] Compiling cursor-icon v1.1.0 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Compiling either v1.13.0 [INFO] [stderr] Compiling object v0.36.5 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling hashbrown v0.15.1 [INFO] [stderr] Compiling wayland-sys v0.31.5 [INFO] [stderr] Compiling pretty_assertions v1.4.1 [INFO] [stderr] Compiling addr2line v0.24.2 [INFO] [stderr] Compiling castaway v0.2.3 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Compiling itertools v0.13.0 [INFO] [stderr] Compiling miniz_oxide v0.8.1 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling anyhow v1.0.94 [INFO] [stderr] Compiling xkeysym v0.2.1 [INFO] [stderr] Compiling signal-hook-registry v1.4.2 [INFO] [stderr] Compiling mio v1.0.2 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling syn v2.0.87 [INFO] [stderr] Compiling memmap2 v0.9.5 [INFO] [stderr] Compiling wayland-scanner v0.31.5 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling unicode-segmentation v1.12.0 [INFO] [stderr] Compiling rustc-demangle v0.1.24 [INFO] [stderr] Compiling x11rb-protocol v0.13.1 [INFO] [stderr] Compiling tree-sitter-language v0.1.2 [INFO] [stderr] Compiling compact_str v0.8.0 [INFO] [stderr] Compiling signal-hook-mio v0.2.4 [INFO] [stderr] Compiling lru v0.12.5 [INFO] [stderr] Compiling unicode-width v0.2.0 [INFO] [stderr] Compiling cassowary v0.3.0 [INFO] [stderr] Compiling streaming-iterator v0.1.9 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling wayland-backend v0.3.7 [INFO] [stderr] Compiling tree-sitter v0.24.4 [INFO] [stderr] Compiling tree-sitter-javascript v0.23.1 [INFO] [stderr] Compiling colorsys v0.6.7 [INFO] [stderr] Compiling unicode-truncate v1.1.0 [INFO] [stderr] Compiling simple-easing v1.0.1 [INFO] [stderr] Compiling iana-time-zone v0.1.61 [INFO] [stderr] Compiling unicode-normalization v0.1.24 [INFO] [stderr] Compiling downcast-rs v2.0.1 [INFO] [stderr] Compiling gapbuf v0.1.4 [INFO] [stderr] Compiling chrono v0.4.38 [INFO] [stderr] Compiling backtrace v0.3.74 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling isht v0.1.0 (/opt/rustwide/workdir/isht) [INFO] [stderr] Compiling darling_core v0.20.10 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling strum_macros v0.26.4 [INFO] [stderr] Compiling polling v3.7.4 [INFO] [stderr] Compiling crossterm v0.28.1 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling calloop v0.13.0 [INFO] [stderr] Compiling tree-sitter-highlight v0.24.4 [INFO] [stderr] Compiling strum v0.26.3 [INFO] [stderr] Compiling wayland-csd-frame v0.3.0 [INFO] [stderr] Compiling darling_macro v0.20.10 [INFO] [stderr] Compiling x11rb v0.13.1 [INFO] [stderr] Compiling darling v0.20.10 [INFO] [stderr] Compiling bon-macros v3.3.2 [INFO] [stderr] Compiling instability v0.3.3 [INFO] [stderr] Compiling ratatui v0.29.0 [INFO] [stderr] Compiling x11-clipboard v0.9.3 [INFO] [stderr] Compiling wayland-protocols v0.32.5 [INFO] [stderr] Compiling calloop-wayland-source v0.3.0 [INFO] [stderr] Compiling wayland-cursor v0.31.7 [INFO] [stderr] Compiling bon v3.3.2 [INFO] [stderr] Compiling tachyonfx v0.10.1 [INFO] [stderr] Compiling wayland-protocols-wlr v0.3.5 [INFO] [stderr] Compiling smithay-clipboard v0.7.2 [INFO] [stderr] Compiling copypasta v0.10.1 [INFO] [stderr] Compiling ishtarx v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `str::Chars` [INFO] [stdout] --> src/helpers/terminal_line.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | str::Chars, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `file_tree::FileTree` [INFO] [stdout] --> src/helpers/mod.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 7 | pub use file_tree::FileTree; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `buffer::Buffer` [INFO] [stdout] --> src/ishtar/widgets/writeable_area.rs:8:15 [INFO] [stdout] | [INFO] [stdout] 8 | use ratatui::{buffer::Buffer, crossterm::event::KeyCode, prelude::Rect, widgets::Widget, Frame}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `r` is never read [INFO] [stdout] --> src/ishtar/widgets/command_interpreter.rs:118:21 [INFO] [stdout] | [INFO] [stdout] 118 | let mut r = CmdTask::Null; [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `now` [INFO] [stdout] --> src/ishtar/widgets/file_manager.rs:238:17 [INFO] [stdout] | [INFO] [stdout] 238 | let now = std::time::Instant::now(); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_now` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `FileTree` is never used [INFO] [stdout] --> src/helpers/file_tree.rs:7:10 [INFO] [stdout] | [INFO] [stdout] 7 | pub enum FileTree { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `path`, `read_paths`, and `read_paths_recursively` are never used [INFO] [stdout] --> src/helpers/file_tree.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 12 | impl FileTree { [INFO] [stdout] | ------------- associated items in this implementation [INFO] [stdout] 13 | pub fn new>(path: P) -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 22 | pub fn path(&self) -> PathBuf { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 29 | pub fn read_paths(&self) -> std::io::Result> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 40 | pub fn read_paths_recursively(&self) -> std::io::Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `internal_recursive` is never used [INFO] [stdout] --> src/helpers/file_tree.rs:48:4 [INFO] [stdout] | [INFO] [stdout] 48 | fn internal_recursive(dir: &Path, target: &mut Vec) -> std::io::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `save_file` is never used [INFO] [stdout] --> src/ishtar/mod.rs:193:12 [INFO] [stdout] | [INFO] [stdout] 68 | impl Ishtar { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 193 | pub fn save_file(&self) -> std::io::Result<()> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Error` and `Fatal` are never constructed [INFO] [stdout] --> src/ishtar/logger.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 8 | pub enum LogLevel { [INFO] [stdout] | -------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 11 | Error, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 12 | Fatal, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `LogLevel` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `queue` is never read [INFO] [stdout] --> src/ishtar/logger.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct IshtarLogger { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] 16 | f: File, [INFO] [stdout] 17 | queue: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `log_queue`, `queue_char`, `queue`, `flush`, `debug`, and `buffer` are never used [INFO] [stdout] --> src/ishtar/logger.rs:34:8 [INFO] [stdout] | [INFO] [stdout] 21 | impl IshtarLogger { [INFO] [stdout] | ----------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 34 | fn log_queue(&mut self, level: LogLevel) -> usize { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 45 | pub fn queue_char(&mut self, c: char) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 48 | pub fn queue(&mut self, val: &T) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 51 | pub fn flush(&mut self, level: LogLevel) -> (usize, usize) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 59 | pub fn debug(&mut self, p: Arguments<'_>, level: LogLevel) -> usize { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 62 | pub fn buffer(&mut self, buf: &[u8], level: LogLevel) -> usize { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `find_widget` is never used [INFO] [stdout] --> src/ishtar/widget_manager.rs:37:8 [INFO] [stdout] | [INFO] [stdout] 15 | impl WidgetManager { [INFO] [stdout] | ------------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 37 | fn find_widget(&self, priority: u8) -> &Box { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `preview` and `orientation` are never read [INFO] [stdout] --> src/ishtar/widgets/file_manager.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 27 | pub struct Searcher { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 28 | preview: bool, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 29 | orientation: Direction, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `seeing_file` is never read [INFO] [stdout] --> src/ishtar/widgets/file_manager.rs:246:5 [INFO] [stdout] | [INFO] [stdout] 245 | pub struct FileManager { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] 246 | seeing_file: bool, //Flag for checking if file content is being shown while searching [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `PopUpAlignment` is never used [INFO] [stdout] --> src/ishtar/widgets/popup.rs:7:10 [INFO] [stdout] | [INFO] [stdout] 7 | pub enum PopUpAlignment { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `PopUp` is never constructed [INFO] [stdout] --> src/ishtar/widgets/popup.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct PopUp { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/ishtar/widgets/popup.rs:30:12 [INFO] [stdout] | [INFO] [stdout] 29 | impl PopUp { [INFO] [stdout] | ---------- associated items in this implementation [INFO] [stdout] 30 | pub fn new>(title: T, content: T) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 46 | pub fn title(&self) -> &String { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 50 | pub fn title_mut(&mut self) -> &mut String { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 54 | pub fn content(&self) -> &String { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 58 | pub fn content_mut(&mut self) -> &mut String { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 62 | pub fn set_borders(&mut self, borders: Borders) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 66 | pub fn set_border_style(&mut self, style: BorderType) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 70 | pub fn set_alignment(&mut self, align: PopUpAlignment) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 74 | pub fn set_title_color(&mut self, color: Color) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 78 | pub fn set_content_color(&mut self, color: Color) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 82 | pub fn set_border_color(&mut self, color: Color) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/ishtar/widgets/file_manager.rs:88:23 [INFO] [stdout] | [INFO] [stdout] 88 | fn all_file_names(&self) -> Vec<(Cow, Cow, usize)> { [INFO] [stdout] | ^^^^^ ^^^^^^^^ ^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is hidden here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 88 | fn all_file_names(&self) -> Vec<(Cow<'_, str>, Cow<'_, str>, usize)> { [INFO] [stdout] | +++ +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/ishtar/widgets/file_manager.rs:103:24 [INFO] [stdout] | [INFO] [stdout] 103 | fn file_names_from(&self, n: usize) -> Vec<(Cow, Cow, usize)> { [INFO] [stdout] | ^^^^^ ^^^^^^^^ ^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is hidden here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 103 | fn file_names_from(&self, n: usize) -> Vec<(Cow<'_, str>, Cow<'_, str>, usize)> { [INFO] [stdout] | +++ +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/ishtar/widgets/file_manager.rs:118:19 [INFO] [stdout] | [INFO] [stdout] 118 | fn file_names(&self, range: Range) -> Vec<(Cow, Cow, usize)> { [INFO] [stdout] | ^^^^^ ^^^^^^^^ ^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | the lifetime is elided here the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 118 | fn file_names(&self, range: Range) -> Vec<(Cow<'_, str>, Cow<'_, str>, usize)> { [INFO] [stdout] | +++ +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 05s [INFO] running `Command { std: "docker" "inspect" "acaa7c9d39bcb569cb94651ff994eebe9149d8b5b0a5e0f3efcb2dfee0469bdd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "acaa7c9d39bcb569cb94651ff994eebe9149d8b5b0a5e0f3efcb2dfee0469bdd", kill_on_drop: false }` [INFO] [stdout] acaa7c9d39bcb569cb94651ff994eebe9149d8b5b0a5e0f3efcb2dfee0469bdd [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b4fab8aeb0848086ab9eee84985a4055e345da623accdff88784a70207f49a24 [INFO] running `Command { std: "docker" "start" "-a" "b4fab8aeb0848086ab9eee84985a4055e345da623accdff88784a70207f49a24", kill_on_drop: false }` [INFO] [stderr] Compiling ishtarx v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `str::Chars` [INFO] [stdout] --> src/helpers/terminal_line.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | str::Chars, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `file_tree::FileTree` [INFO] [stdout] --> src/helpers/mod.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 7 | pub use file_tree::FileTree; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `buffer::Buffer` [INFO] [stdout] --> src/ishtar/widgets/writeable_area.rs:8:15 [INFO] [stdout] | [INFO] [stdout] 8 | use ratatui::{buffer::Buffer, crossterm::event::KeyCode, prelude::Rect, widgets::Widget, Frame}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `r` is never read [INFO] [stdout] --> src/ishtar/widgets/command_interpreter.rs:118:21 [INFO] [stdout] | [INFO] [stdout] 118 | let mut r = CmdTask::Null; [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `now` [INFO] [stdout] --> src/ishtar/widgets/file_manager.rs:238:17 [INFO] [stdout] | [INFO] [stdout] 238 | let now = std::time::Instant::now(); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_now` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `FileTree` is never used [INFO] [stdout] --> src/helpers/file_tree.rs:7:10 [INFO] [stdout] | [INFO] [stdout] 7 | pub enum FileTree { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `path`, `read_paths`, and `read_paths_recursively` are never used [INFO] [stdout] --> src/helpers/file_tree.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 12 | impl FileTree { [INFO] [stdout] | ------------- associated items in this implementation [INFO] [stdout] 13 | pub fn new>(path: P) -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 22 | pub fn path(&self) -> PathBuf { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 29 | pub fn read_paths(&self) -> std::io::Result> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 40 | pub fn read_paths_recursively(&self) -> std::io::Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `internal_recursive` is never used [INFO] [stdout] --> src/helpers/file_tree.rs:48:4 [INFO] [stdout] | [INFO] [stdout] 48 | fn internal_recursive(dir: &Path, target: &mut Vec) -> std::io::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `save_file` is never used [INFO] [stdout] --> src/ishtar/mod.rs:193:12 [INFO] [stdout] | [INFO] [stdout] 68 | impl Ishtar { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 193 | pub fn save_file(&self) -> std::io::Result<()> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Error` and `Fatal` are never constructed [INFO] [stdout] --> src/ishtar/logger.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 8 | pub enum LogLevel { [INFO] [stdout] | -------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 11 | Error, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 12 | Fatal, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `LogLevel` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `queue` is never read [INFO] [stdout] --> src/ishtar/logger.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct IshtarLogger { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] 16 | f: File, [INFO] [stdout] 17 | queue: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `log_queue`, `queue_char`, `queue`, `flush`, `debug`, and `buffer` are never used [INFO] [stdout] --> src/ishtar/logger.rs:34:8 [INFO] [stdout] | [INFO] [stdout] 21 | impl IshtarLogger { [INFO] [stdout] | ----------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 34 | fn log_queue(&mut self, level: LogLevel) -> usize { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 45 | pub fn queue_char(&mut self, c: char) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 48 | pub fn queue(&mut self, val: &T) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 51 | pub fn flush(&mut self, level: LogLevel) -> (usize, usize) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 59 | pub fn debug(&mut self, p: Arguments<'_>, level: LogLevel) -> usize { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 62 | pub fn buffer(&mut self, buf: &[u8], level: LogLevel) -> usize { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `find_widget` is never used [INFO] [stdout] --> src/ishtar/widget_manager.rs:37:8 [INFO] [stdout] | [INFO] [stdout] 15 | impl WidgetManager { [INFO] [stdout] | ------------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 37 | fn find_widget(&self, priority: u8) -> &Box { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `preview` and `orientation` are never read [INFO] [stdout] --> src/ishtar/widgets/file_manager.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 27 | pub struct Searcher { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 28 | preview: bool, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 29 | orientation: Direction, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `seeing_file` is never read [INFO] [stdout] --> src/ishtar/widgets/file_manager.rs:246:5 [INFO] [stdout] | [INFO] [stdout] 245 | pub struct FileManager { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] 246 | seeing_file: bool, //Flag for checking if file content is being shown while searching [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `PopUpAlignment` is never used [INFO] [stdout] --> src/ishtar/widgets/popup.rs:7:10 [INFO] [stdout] | [INFO] [stdout] 7 | pub enum PopUpAlignment { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `PopUp` is never constructed [INFO] [stdout] --> src/ishtar/widgets/popup.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct PopUp { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/ishtar/widgets/popup.rs:30:12 [INFO] [stdout] | [INFO] [stdout] 29 | impl PopUp { [INFO] [stdout] | ---------- associated items in this implementation [INFO] [stdout] 30 | pub fn new>(title: T, content: T) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 46 | pub fn title(&self) -> &String { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 50 | pub fn title_mut(&mut self) -> &mut String { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 54 | pub fn content(&self) -> &String { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 58 | pub fn content_mut(&mut self) -> &mut String { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 62 | pub fn set_borders(&mut self, borders: Borders) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 66 | pub fn set_border_style(&mut self, style: BorderType) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 70 | pub fn set_alignment(&mut self, align: PopUpAlignment) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 74 | pub fn set_title_color(&mut self, color: Color) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 78 | pub fn set_content_color(&mut self, color: Color) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 82 | pub fn set_border_color(&mut self, color: Color) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/ishtar/widgets/file_manager.rs:88:23 [INFO] [stdout] | [INFO] [stdout] 88 | fn all_file_names(&self) -> Vec<(Cow, Cow, usize)> { [INFO] [stdout] | ^^^^^ ^^^^^^^^ ^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is hidden here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 88 | fn all_file_names(&self) -> Vec<(Cow<'_, str>, Cow<'_, str>, usize)> { [INFO] [stdout] | +++ +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/ishtar/widgets/file_manager.rs:103:24 [INFO] [stdout] | [INFO] [stdout] 103 | fn file_names_from(&self, n: usize) -> Vec<(Cow, Cow, usize)> { [INFO] [stdout] | ^^^^^ ^^^^^^^^ ^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is hidden here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 103 | fn file_names_from(&self, n: usize) -> Vec<(Cow<'_, str>, Cow<'_, str>, usize)> { [INFO] [stdout] | +++ +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/ishtar/widgets/file_manager.rs:118:19 [INFO] [stdout] | [INFO] [stdout] 118 | fn file_names(&self, range: Range) -> Vec<(Cow, Cow, usize)> { [INFO] [stdout] | ^^^^^ ^^^^^^^^ ^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | the lifetime is elided here the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 118 | fn file_names(&self, range: Range) -> Vec<(Cow<'_, str>, Cow<'_, str>, usize)> { [INFO] [stdout] | +++ +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.07s [INFO] running `Command { std: "docker" "inspect" "b4fab8aeb0848086ab9eee84985a4055e345da623accdff88784a70207f49a24", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b4fab8aeb0848086ab9eee84985a4055e345da623accdff88784a70207f49a24", kill_on_drop: false }` [INFO] [stdout] b4fab8aeb0848086ab9eee84985a4055e345da623accdff88784a70207f49a24