[INFO] cloning repository https://github.com/ChenRuiwei/least [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ChenRuiwei/least" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FChenRuiwei%2Fleast", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FChenRuiwei%2Fleast'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] ad6a9006eab57a1fb280bcfe01ae26a8dee19a80 [INFO] building ChenRuiwei/least against master#ad85bc524b1ad696e42061ad8338d382dffbdbe5 for pr-146237-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FChenRuiwei%2Fleast" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/ChenRuiwei/least [INFO] finished tweaking git repo https://github.com/ChenRuiwei/least [INFO] tweaked toml for git repo https://github.com/ChenRuiwei/least written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/ChenRuiwei/least 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/ChenRuiwei/least 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 ratatui v0.29.0 [INFO] [stderr] Downloaded instability v0.3.7 [INFO] [stderr] Downloaded color-spantrace v0.3.0 [INFO] [stderr] Downloaded tracing-attributes v0.1.29 [INFO] [stderr] Downloaded windows-implement v0.56.0 [INFO] [stderr] Downloaded clap_builder v4.5.39 [INFO] [stderr] Downloaded anstyle-query v1.1.3 [INFO] [stderr] Downloaded windows-core v0.56.0 [INFO] [stderr] Downloaded compact_str v0.8.1 [INFO] [stderr] Downloaded windows-interface v0.56.0 [INFO] [stderr] Downloaded tracing-error v0.2.1 [INFO] [stderr] Downloaded clircle v0.6.1 [INFO] [stderr] Downloaded color-eyre v0.6.5 [INFO] [stderr] Downloaded clap v4.5.39 [INFO] [stderr] Downloaded crossterm v0.28.1 [INFO] [stderr] Downloaded anstream v0.6.19 [INFO] [stderr] Downloaded anstyle-wincon v3.0.9 [INFO] [stderr] Downloaded crossterm v0.29.0 [INFO] [stderr] Downloaded owo-colors v4.2.1 [INFO] [stderr] Downloaded windows v0.56.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] 815fa19467b1c39dd05c37231ca4d8a2b862de47fae63b78946c77683dcf4a10 [INFO] running `Command { std: "docker" "start" "-a" "815fa19467b1c39dd05c37231ca4d8a2b862de47fae63b78946c77683dcf4a10", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "815fa19467b1c39dd05c37231ca4d8a2b862de47fae63b78946c77683dcf4a10", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "815fa19467b1c39dd05c37231ca4d8a2b862de47fae63b78946c77683dcf4a10", kill_on_drop: false }` [INFO] [stdout] 815fa19467b1c39dd05c37231ca4d8a2b862de47fae63b78946c77683dcf4a10 [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] e7353170d49ae884a3126a89f403e09f96f71a964f8d969cb76f978f4f4dde4a [INFO] running `Command { std: "docker" "start" "-a" "e7353170d49ae884a3126a89f403e09f96f71a964f8d969cb76f978f4f4dde4a", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.95 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Compiling libc v0.2.172 [INFO] [stderr] Compiling log v0.4.27 [INFO] [stderr] Compiling smallvec v1.15.0 [INFO] [stderr] Compiling once_cell v1.21.3 [INFO] [stderr] Compiling rustversion v1.0.21 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Compiling unicode-segmentation v1.12.0 [INFO] [stderr] Compiling signal-hook v0.3.18 [INFO] [stderr] Compiling lock_api v0.4.13 [INFO] [stderr] Compiling bitflags v2.9.1 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling rustix v0.38.44 [INFO] [stderr] Compiling owo-colors v4.2.1 [INFO] [stderr] Compiling object v0.36.7 [INFO] [stderr] Compiling tracing-core v0.1.33 [INFO] [stderr] Compiling thread_local v1.1.8 [INFO] [stderr] Compiling anstyle-parse v0.2.7 [INFO] [stderr] Compiling foldhash v0.1.5 [INFO] [stderr] Compiling allocator-api2 v0.2.21 [INFO] [stderr] Compiling convert_case v0.7.1 [INFO] [stderr] Compiling rustix v1.0.7 [INFO] [stderr] Compiling color-spantrace v0.3.0 [INFO] [stderr] Compiling eyre v0.6.12 [INFO] [stderr] Compiling colorchoice v1.0.4 [INFO] [stderr] Compiling anstyle-query v1.1.3 [INFO] [stderr] Compiling gimli v0.31.1 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling anstyle v1.0.11 [INFO] [stderr] Compiling miniz_oxide v0.8.8 [INFO] [stderr] Compiling rustc-demangle v0.1.24 [INFO] [stderr] Compiling itertools v0.13.0 [INFO] [stderr] Compiling hashbrown v0.15.3 [INFO] [stderr] Compiling itoa v1.0.15 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling tracing-log v0.2.0 [INFO] [stderr] Compiling anstream v0.6.19 [INFO] [stderr] Compiling ryu v1.0.20 [INFO] [stderr] Compiling syn v2.0.101 [INFO] [stderr] Compiling castaway v0.2.3 [INFO] [stderr] Compiling option-ext v0.2.0 [INFO] [stderr] Compiling indenter v0.3.3 [INFO] [stderr] Compiling unicode-width v0.1.14 [INFO] [stderr] Compiling litrs v0.4.1 [INFO] [stderr] Compiling indoc v2.0.6 [INFO] [stderr] Compiling linux-raw-sys v0.9.4 [INFO] [stderr] Compiling clap_lex v0.7.4 [INFO] [stderr] Compiling lru v0.12.5 [INFO] [stderr] Compiling compact_str v0.8.1 [INFO] [stderr] Compiling clap_builder v4.5.39 [INFO] [stderr] Compiling cassowary v0.3.0 [INFO] [stderr] Compiling unicode-width v0.2.0 [INFO] [stderr] Compiling signal-hook-registry v1.4.5 [INFO] [stderr] Compiling mio v1.0.4 [INFO] [stderr] Compiling document-features v0.2.11 [INFO] [stderr] Compiling parking_lot v0.12.4 [INFO] [stderr] Compiling dirs-sys v0.5.0 [INFO] [stderr] Compiling content_inspector v0.2.4 [INFO] [stderr] Compiling signal-hook-mio v0.2.4 [INFO] [stderr] Compiling crossterm v0.28.1 [INFO] [stderr] Compiling directories v6.0.0 [INFO] [stderr] Compiling unicode-truncate v1.1.0 [INFO] [stderr] Compiling addr2line v0.24.2 [INFO] [stderr] Compiling backtrace v0.3.75 [INFO] [stderr] Compiling darling_core v0.20.11 [INFO] [stderr] Compiling tracing-attributes v0.1.29 [INFO] [stderr] Compiling derive_more-impl v2.0.1 [INFO] [stderr] Compiling strum_macros v0.26.4 [INFO] [stderr] Compiling clap_derive v4.5.32 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling derive_more v2.0.1 [INFO] [stderr] Compiling crossterm v0.29.0 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling strum v0.26.3 [INFO] [stderr] Compiling tracing-subscriber v0.3.19 [INFO] [stderr] Compiling darling_macro v0.20.11 [INFO] [stderr] Compiling darling v0.20.11 [INFO] [stderr] Compiling instability v0.3.7 [INFO] [stderr] Compiling clap v4.5.39 [INFO] [stderr] Compiling ratatui v0.29.0 [INFO] [stderr] Compiling tracing-error v0.2.1 [INFO] [stderr] Compiling color-eyre v0.6.5 [INFO] [stderr] Compiling clircle v0.6.1 [INFO] [stderr] Compiling least v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: the feature `slice_internals` is internal to the compiler or standard library [INFO] [stdout] --> src/main.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(slice_internals)] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: using it is strongly discouraged [INFO] [stdout] = note: `#[warn(internal_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/app.rs:111:13 [INFO] [stdout] | [INFO] [stdout] 109 | e @ (Event::NewLines(_) | Event::EOF) => self.opened_input_mut().handle_event(e)?, [INFO] [stdout] | ------------------------------- matches all the relevant values [INFO] [stdout] 110 | Event::Err(error) => return Err(error), [INFO] [stdout] 111 | Event::NewLines(items) => todo!(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ no value can reach this [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/app.rs:112:13 [INFO] [stdout] | [INFO] [stdout] 109 | e @ (Event::NewLines(_) | Event::EOF) => self.opened_input_mut().handle_event(e)?, [INFO] [stdout] | ------------------------------- matches all the relevant values [INFO] [stdout] ... [INFO] [stdout] 112 | Event::EOF => todo!(), [INFO] [stdout] | ^^^^^^^^^^ no value can reach this [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `items` [INFO] [stdout] --> src/app.rs:111:29 [INFO] [stdout] | [INFO] [stdout] 111 | Event::NewLines(items) => todo!(), [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_items` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `term_half_height` is never used [INFO] [stdout] --> src/app.rs:172:8 [INFO] [stdout] | [INFO] [stdout] 54 | impl App { [INFO] [stdout] | -------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 172 | fn term_half_height(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Search` and `Help` are never constructed [INFO] [stdout] --> src/app.rs:298:5 [INFO] [stdout] | [INFO] [stdout] 295 | pub enum AppMode { [INFO] [stdout] | ------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 298 | Search, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 299 | Help, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AppMode` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `reached_eof` is never used [INFO] [stdout] --> src/input.rs:141:8 [INFO] [stdout] | [INFO] [stdout] 140 | impl OpenedInput { [INFO] [stdout] | ---------------- method in this implementation [INFO] [stdout] 141 | fn reached_eof(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `GoToMain` is never constructed [INFO] [stdout] --> src/keys.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 12 | pub enum Action { [INFO] [stdout] | ------ variant in this enum [INFO] [stdout] 13 | GoToMain, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Action` 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 `count_lines` is never used [INFO] [stdout] --> src/utils.rs:10:8 [INFO] [stdout] | [INFO] [stdout] 10 | pub fn count_lines(reader: &mut R) -> Result { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/app.rs:226:21 [INFO] [stdout] | [INFO] [stdout] 226 | fn opened_input(&self) -> Ref { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 226 | fn opened_input(&self) -> Ref<'_, OpenedInput> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/app.rs:230:25 [INFO] [stdout] | [INFO] [stdout] 230 | fn opened_input_mut(&self) -> RefMut { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 230 | fn opened_input_mut(&self) -> RefMut<'_, OpenedInput> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 37.55s [INFO] running `Command { std: "docker" "inspect" "e7353170d49ae884a3126a89f403e09f96f71a964f8d969cb76f978f4f4dde4a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e7353170d49ae884a3126a89f403e09f96f71a964f8d969cb76f978f4f4dde4a", kill_on_drop: false }` [INFO] [stdout] e7353170d49ae884a3126a89f403e09f96f71a964f8d969cb76f978f4f4dde4a [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] 4c2cbc2500c3bb621bccfa6f8639332c8fc6c3ae36e1ecaafa11f32cfebc00c9 [INFO] running `Command { std: "docker" "start" "-a" "4c2cbc2500c3bb621bccfa6f8639332c8fc6c3ae36e1ecaafa11f32cfebc00c9", kill_on_drop: false }` [INFO] [stderr] Compiling least v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: the feature `slice_internals` is internal to the compiler or standard library [INFO] [stdout] --> src/main.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(slice_internals)] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: using it is strongly discouraged [INFO] [stdout] = note: `#[warn(internal_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/app.rs:111:13 [INFO] [stdout] | [INFO] [stdout] 109 | e @ (Event::NewLines(_) | Event::EOF) => self.opened_input_mut().handle_event(e)?, [INFO] [stdout] | ------------------------------- matches all the relevant values [INFO] [stdout] 110 | Event::Err(error) => return Err(error), [INFO] [stdout] 111 | Event::NewLines(items) => todo!(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ no value can reach this [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/app.rs:112:13 [INFO] [stdout] | [INFO] [stdout] 109 | e @ (Event::NewLines(_) | Event::EOF) => self.opened_input_mut().handle_event(e)?, [INFO] [stdout] | ------------------------------- matches all the relevant values [INFO] [stdout] ... [INFO] [stdout] 112 | Event::EOF => todo!(), [INFO] [stdout] | ^^^^^^^^^^ no value can reach this [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `items` [INFO] [stdout] --> src/app.rs:111:29 [INFO] [stdout] | [INFO] [stdout] 111 | Event::NewLines(items) => todo!(), [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_items` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `term_half_height` is never used [INFO] [stdout] --> src/app.rs:172:8 [INFO] [stdout] | [INFO] [stdout] 54 | impl App { [INFO] [stdout] | -------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 172 | fn term_half_height(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Search` and `Help` are never constructed [INFO] [stdout] --> src/app.rs:298:5 [INFO] [stdout] | [INFO] [stdout] 295 | pub enum AppMode { [INFO] [stdout] | ------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 298 | Search, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 299 | Help, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AppMode` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `reached_eof` is never used [INFO] [stdout] --> src/input.rs:141:8 [INFO] [stdout] | [INFO] [stdout] 140 | impl OpenedInput { [INFO] [stdout] | ---------------- method in this implementation [INFO] [stdout] 141 | fn reached_eof(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `GoToMain` is never constructed [INFO] [stdout] --> src/keys.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 12 | pub enum Action { [INFO] [stdout] | ------ variant in this enum [INFO] [stdout] 13 | GoToMain, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Action` 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 `count_lines` is never used [INFO] [stdout] --> src/utils.rs:10:8 [INFO] [stdout] | [INFO] [stdout] 10 | pub fn count_lines(reader: &mut R) -> Result { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/app.rs:226:21 [INFO] [stdout] | [INFO] [stdout] 226 | fn opened_input(&self) -> Ref { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 226 | fn opened_input(&self) -> Ref<'_, OpenedInput> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/app.rs:230:25 [INFO] [stdout] | [INFO] [stdout] 230 | fn opened_input_mut(&self) -> RefMut { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 230 | fn opened_input_mut(&self) -> RefMut<'_, OpenedInput> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.83s [INFO] running `Command { std: "docker" "inspect" "4c2cbc2500c3bb621bccfa6f8639332c8fc6c3ae36e1ecaafa11f32cfebc00c9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4c2cbc2500c3bb621bccfa6f8639332c8fc6c3ae36e1ecaafa11f32cfebc00c9", kill_on_drop: false }` [INFO] [stdout] 4c2cbc2500c3bb621bccfa6f8639332c8fc6c3ae36e1ecaafa11f32cfebc00c9