[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 try#8b8eff55bd72abbb57167bc42222a7f91d41cb0d for pr-142134-abi-ast-error [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcyccro%2Fishtar" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/cyccro/ishtar on toolchain 8b8eff55bd72abbb57167bc42222a7f91d41cb0d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8b8eff55bd72abbb57167bc42222a7f91d41cb0d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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-1-tc2/source/Cargo.toml [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" "+8b8eff55bd72abbb57167bc42222a7f91d41cb0d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/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:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+8b8eff55bd72abbb57167bc42222a7f91d41cb0d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 314dd9d11e3752dd82383ae0dc261597a7d981ffa9c02551df3c94cdf09a0505 [INFO] running `Command { std: "docker" "start" "-a" "314dd9d11e3752dd82383ae0dc261597a7d981ffa9c02551df3c94cdf09a0505", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "314dd9d11e3752dd82383ae0dc261597a7d981ffa9c02551df3c94cdf09a0505", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "314dd9d11e3752dd82383ae0dc261597a7d981ffa9c02551df3c94cdf09a0505", kill_on_drop: false }` [INFO] [stdout] 314dd9d11e3752dd82383ae0dc261597a7d981ffa9c02551df3c94cdf09a0505 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+8b8eff55bd72abbb57167bc42222a7f91d41cb0d" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8eac84d5d2aecc81a054a0799f31e63b1e6e821bbc7ac7152935cbbadafe9370 [INFO] running `Command { std: "docker" "start" "-a" "8eac84d5d2aecc81a054a0799f31e63b1e6e821bbc7ac7152935cbbadafe9370", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.89 [INFO] [stderr] Compiling unicode-ident v1.0.13 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Compiling libc v0.2.164 [INFO] [stderr] Compiling rustix v0.38.40 [INFO] [stderr] Compiling autocfg v1.4.0 [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 downcast-rs v1.2.1 [INFO] [stderr] Compiling scoped-tls v1.0.1 [INFO] [stderr] Compiling libloading v0.8.6 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling wayland-client v0.31.7 [INFO] [stderr] Compiling cc v1.2.1 [INFO] [stderr] Compiling dlib v0.5.2 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling strsim v0.11.1 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling tracing-core v0.1.33 [INFO] [stderr] Compiling pin-project-lite v0.2.15 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling signal-hook v0.3.17 [INFO] [stderr] Compiling prettyplease v0.2.25 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling cursor-icon v1.1.0 [INFO] [stderr] Compiling diff v0.1.13 [INFO] [stderr] Compiling foldhash v0.1.3 [INFO] [stderr] Compiling paste v1.0.15 [INFO] [stderr] Compiling smithay-client-toolkit v0.19.2 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling yansi v1.0.1 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Compiling adler2 v2.0.0 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Compiling wayland-sys v0.31.5 [INFO] [stderr] Compiling syn v2.0.87 [INFO] [stderr] Compiling equivalent v1.0.1 [INFO] [stderr] Compiling gimli v0.31.1 [INFO] [stderr] Compiling allocator-api2 v0.2.20 [INFO] [stderr] Compiling xcursor v0.3.8 [INFO] [stderr] Compiling quick-xml v0.36.2 [INFO] [stderr] Compiling either v1.13.0 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling itertools v0.13.0 [INFO] [stderr] Compiling object v0.36.5 [INFO] [stderr] Compiling pretty_assertions v1.4.1 [INFO] [stderr] Compiling castaway v0.2.3 [INFO] [stderr] Compiling hashbrown v0.15.1 [INFO] [stderr] Compiling miniz_oxide v0.8.1 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling xkeysym v0.2.1 [INFO] [stderr] Compiling anyhow v1.0.94 [INFO] [stderr] Compiling wayland-scanner v0.31.5 [INFO] [stderr] Compiling x11rb-protocol v0.13.1 [INFO] [stderr] Compiling itoa v1.0.11 [INFO] [stderr] Compiling wayland-backend v0.3.7 [INFO] [stderr] Compiling signal-hook-registry v1.4.2 [INFO] [stderr] Compiling mio v1.0.2 [INFO] [stderr] Compiling tree-sitter v0.24.4 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling memmap2 v0.9.5 [INFO] [stderr] Compiling signal-hook-mio v0.2.4 [INFO] [stderr] Compiling unicode-segmentation v1.12.0 [INFO] [stderr] Compiling ryu v1.0.18 [INFO] [stderr] Compiling unicode-width v0.1.14 [INFO] [stderr] Compiling indoc v2.0.5 [INFO] [stderr] Compiling static_assertions v1.1.0 [INFO] [stderr] Compiling rustc-demangle v0.1.24 [INFO] [stderr] Compiling tree-sitter-language v0.1.2 [INFO] [stderr] Compiling compact_str v0.8.0 [INFO] [stderr] Compiling lru v0.12.5 [INFO] [stderr] Compiling tree-sitter-javascript v0.23.1 [INFO] [stderr] Compiling cassowary v0.3.0 [INFO] [stderr] Compiling unicode-width v0.2.0 [INFO] [stderr] Compiling tinyvec_macros v0.1.1 [INFO] [stderr] Compiling streaming-iterator v0.1.9 [INFO] [stderr] Compiling tinyvec v1.8.0 [INFO] [stderr] Compiling colorsys v0.6.7 [INFO] [stderr] Compiling iana-time-zone v0.1.61 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling unicode-truncate v1.1.0 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Compiling simple-easing v1.0.1 [INFO] [stderr] Compiling addr2line v0.24.2 [INFO] [stderr] Compiling chrono v0.4.38 [INFO] [stderr] Compiling unicode-normalization v0.1.24 [INFO] [stderr] Compiling gapbuf v0.1.4 [INFO] [stderr] Compiling downcast-rs v2.0.1 [INFO] [stderr] Compiling backtrace v0.3.74 [INFO] [stderr] Compiling isht v0.1.0 (/opt/rustwide/workdir/isht) [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling darling_core v0.20.10 [INFO] [stderr] Compiling polling v3.7.4 [INFO] [stderr] Compiling x11rb v0.13.1 [INFO] [stderr] Compiling crossterm v0.28.1 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling strum_macros v0.26.4 [INFO] [stderr] Compiling calloop v0.13.0 [INFO] [stderr] Compiling tree-sitter-highlight v0.24.4 [INFO] [stderr] Compiling wayland-csd-frame v0.3.0 [INFO] [stderr] Compiling x11-clipboard v0.9.3 [INFO] [stderr] Compiling strum v0.26.3 [INFO] [stderr] Compiling darling_macro v0.20.10 [INFO] [stderr] Compiling darling v0.20.10 [INFO] [stderr] Compiling instability v0.3.3 [INFO] [stderr] Compiling bon-macros v3.3.2 [INFO] [stderr] Compiling ratatui v0.29.0 [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)]` 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)]` 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)]` 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: `FileTree` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` 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: lifetime flowing from input to output with different syntax can be 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 lifetimes get resolved as `'_` [INFO] [stdout] | | | [INFO] [stdout] | | the lifetimes get resolved as `'_` [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for 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: lifetime flowing from input to output with different syntax can be 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 lifetimes get resolved as `'_` [INFO] [stdout] | | | [INFO] [stdout] | | the lifetimes get resolved as `'_` [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for 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: lifetime flowing from input to output with different syntax can be 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 lifetimes get resolved as `'_` [INFO] [stdout] | | | [INFO] [stdout] | | the lifetimes get resolved as `'_` [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for 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" "8eac84d5d2aecc81a054a0799f31e63b1e6e821bbc7ac7152935cbbadafe9370", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8eac84d5d2aecc81a054a0799f31e63b1e6e821bbc7ac7152935cbbadafe9370", kill_on_drop: false }` [INFO] [stdout] 8eac84d5d2aecc81a054a0799f31e63b1e6e821bbc7ac7152935cbbadafe9370 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+8b8eff55bd72abbb57167bc42222a7f91d41cb0d" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 23a5cc35a105c43021c99d8b36df6d9b8316aac80ba955fb24a73fed97571f23 [INFO] running `Command { std: "docker" "start" "-a" "23a5cc35a105c43021c99d8b36df6d9b8316aac80ba955fb24a73fed97571f23", 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)]` 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)]` 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)]` 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: `FileTree` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` 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: lifetime flowing from input to output with different syntax can be 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 lifetimes get resolved as `'_` [INFO] [stdout] | | | [INFO] [stdout] | | the lifetimes get resolved as `'_` [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for 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: lifetime flowing from input to output with different syntax can be 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 lifetimes get resolved as `'_` [INFO] [stdout] | | | [INFO] [stdout] | | the lifetimes get resolved as `'_` [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for 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: lifetime flowing from input to output with different syntax can be 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 lifetimes get resolved as `'_` [INFO] [stdout] | | | [INFO] [stdout] | | the lifetimes get resolved as `'_` [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for 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.01s [INFO] running `Command { std: "docker" "inspect" "23a5cc35a105c43021c99d8b36df6d9b8316aac80ba955fb24a73fed97571f23", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "23a5cc35a105c43021c99d8b36df6d9b8316aac80ba955fb24a73fed97571f23", kill_on_drop: false }` [INFO] [stdout] 23a5cc35a105c43021c99d8b36df6d9b8316aac80ba955fb24a73fed97571f23