[INFO] cloning repository https://github.com/wesen/gcode-viz [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/wesen/gcode-viz" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwesen%2Fgcode-viz", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwesen%2Fgcode-viz'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 53faf504f82f8fee5aee2fc00883f2c0b8b831bc [INFO] checking wesen/gcode-viz against master#385fa9d845dd326c6bbfd58c22244215e431948a for absurd-question-mark-desugar [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwesen%2Fgcode-viz" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/wesen/gcode-viz on toolchain 385fa9d845dd326c6bbfd58c22244215e431948a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/wesen/gcode-viz [INFO] finished tweaking git repo https://github.com/wesen/gcode-viz [INFO] tweaked toml for git repo https://github.com/wesen/gcode-viz written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/wesen/gcode-viz 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" "+385fa9d845dd326c6bbfd58c22244215e431948a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded serde_either v0.2.1 [INFO] [stderr] Downloaded gray_matter v0.2.4 [INFO] [stderr] Downloaded pulldown-cmark v0.9.2 [INFO] [stderr] Downloaded gcode v0.6.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6efc2310944cf0f184c8a22f43dec1eafbd1db8ebfe155189e38b453908fa66d [INFO] running `Command { std: "docker" "start" "-a" "6efc2310944cf0f184c8a22f43dec1eafbd1db8ebfe155189e38b453908fa66d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6efc2310944cf0f184c8a22f43dec1eafbd1db8ebfe155189e38b453908fa66d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6efc2310944cf0f184c8a22f43dec1eafbd1db8ebfe155189e38b453908fa66d", kill_on_drop: false }` [INFO] [stdout] 6efc2310944cf0f184c8a22f43dec1eafbd1db8ebfe155189e38b453908fa66d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8fac85b461b8f12e6ca9533d6593e380d65a4f2cb0d64bfa504bc2720e0d7d33 [INFO] running `Command { std: "docker" "start" "-a" "8fac85b461b8f12e6ca9533d6593e380d65a4f2cb0d64bfa504bc2720e0d7d33", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.43 [INFO] [stderr] Compiling libc v0.2.132 [INFO] [stderr] Compiling unicode-ident v1.0.4 [INFO] [stderr] Compiling quote v1.0.21 [INFO] [stderr] Compiling syn v1.0.99 [INFO] [stderr] Checking once_cell v1.14.0 [INFO] [stderr] Compiling serde_derive v1.0.144 [INFO] [stderr] Compiling serde v1.0.144 [INFO] [stderr] Compiling lock_api v0.4.8 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Checking smallvec v1.9.0 [INFO] [stderr] Compiling signal-hook v0.3.14 [INFO] [stderr] Checking sharded-slab v0.1.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling backtrace v0.3.66 [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Compiling indexmap v1.9.1 [INFO] [stderr] Checking tracing-core v0.1.29 [INFO] [stderr] Checking thread_local v1.1.4 [INFO] [stderr] Compiling libm v0.2.5 [INFO] [stderr] Checking gimli v0.26.2 [INFO] [stderr] Compiling serde_json v1.0.85 [INFO] [stderr] Checking unicode-width v0.1.10 [INFO] [stderr] Compiling eyre v0.6.8 [INFO] [stderr] Checking miniz_oxide v0.5.4 [INFO] [stderr] Checking object v0.29.0 [INFO] [stderr] Compiling tokio v1.21.1 [INFO] [stderr] Checking owo-colors v3.5.0 [INFO] [stderr] Compiling heck v0.4.0 [INFO] [stderr] Checking rustc-demangle v0.1.21 [INFO] [stderr] Checking ryu v1.0.11 [INFO] [stderr] Checking hashbrown v0.12.3 [INFO] [stderr] Checking os_str_bytes v6.3.0 [INFO] [stderr] Checking itoa v1.0.3 [INFO] [stderr] Compiling pulldown-cmark v0.9.2 [INFO] [stderr] Checking tracing v0.1.36 [INFO] [stderr] Checking indenter v0.3.3 [INFO] [stderr] Checking clap_lex v0.2.4 [INFO] [stderr] Checking getopts v0.2.21 [INFO] [stderr] Checking strsim v0.10.0 [INFO] [stderr] Checking bytes v1.2.1 [INFO] [stderr] Checking cassowary v0.3.0 [INFO] [stderr] Checking tracing-subscriber v0.3.15 [INFO] [stderr] Checking arrayvec v0.5.2 [INFO] [stderr] Checking signal-hook-registry v1.4.0 [INFO] [stderr] Checking parking_lot_core v0.9.3 [INFO] [stderr] Checking mio v0.8.4 [INFO] [stderr] Checking num_cpus v1.13.1 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking socket2 v0.4.7 [INFO] [stderr] Checking unicode-segmentation v1.10.0 [INFO] [stderr] Checking ordered-float v2.10.0 [INFO] [stderr] Checking textwrap v0.15.1 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Checking signal-hook-mio v0.2.3 [INFO] [stderr] Checking crossterm v0.25.0 [INFO] [stderr] Checking tracing-error v0.2.0 [INFO] [stderr] Checking color-spantrace v0.2.0 [INFO] [stderr] Checking tui v0.19.0 [INFO] [stderr] Checking addr2line v0.17.0 [INFO] [stderr] Compiling clap_derive v3.2.18 [INFO] [stderr] Compiling tokio-macros v1.8.0 [INFO] [stderr] Checking color-eyre v0.6.2 [INFO] [stderr] Checking clap v3.2.22 [INFO] [stderr] Checking toml v0.5.9 [INFO] [stderr] Checking serde-value v0.7.0 [INFO] [stderr] Checking gcode v0.6.1 [INFO] [stderr] Checking serde_either v0.2.1 [INFO] [stderr] Checking gray_matter v0.2.4 [INFO] [stderr] Checking gcode-viz v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: a method with this name may be added to the standard library in the future [INFO] [stdout] --> src/gcode/lines.rs:58:44 [INFO] [stdout] | [INFO] [stdout] 58 | if let Some(x) = self.comments.pop_if(|c| c.span.line <= first_gcode_line) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: once this associated item is added to the standard library, the ambiguity may cause an error or change in behavior! [INFO] [stdout] = note: for more information, see issue #48919 [INFO] [stdout] = help: call with fully qualified syntax `PopIf::pop_if(...)` to keep using the current method [INFO] [stdout] = note: `#[warn(unstable_name_collisions)]` on by default [INFO] [stdout] help: add `#![feature(vec_pop_if)]` to the crate attributes to enable `std::vec::Vec::::pop_if` [INFO] [stdout] --> src/lib.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 + #![feature(vec_pop_if)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: a method with this name may be added to the standard library in the future [INFO] [stdout] --> src/gcode/lines.rs:58:44 [INFO] [stdout] | [INFO] [stdout] 58 | if let Some(x) = self.comments.pop_if(|c| c.span.line <= first_gcode_line) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: once this associated item is added to the standard library, the ambiguity may cause an error or change in behavior! [INFO] [stdout] = note: for more information, see issue #48919 [INFO] [stdout] = help: call with fully qualified syntax `PopIf::pop_if(...)` to keep using the current method [INFO] [stdout] = note: `#[warn(unstable_name_collisions)]` on by default [INFO] [stdout] help: add `#![feature(vec_pop_if)]` to the crate attributes to enable `std::vec::Vec::::pop_if` [INFO] [stdout] --> src/lib.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 + #![feature(vec_pop_if)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/gcode/lines.rs:22:16 [INFO] [stdout] | [INFO] [stdout] 22 | pub fn new(mut lines: I) -> Self { [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `l` [INFO] [stdout] --> src/gcode/lines.rs:50:24 [INFO] [stdout] | [INFO] [stdout] 50 | while let Some(l) = &self.current_line { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_l` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/gcode/lines.rs:22:16 [INFO] [stdout] | [INFO] [stdout] 22 | pub fn new(mut lines: I) -> Self { [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `l` [INFO] [stdout] --> src/gcode/lines.rs:50:24 [INFO] [stdout] | [INFO] [stdout] 50 | while let Some(l) = &self.current_line { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_l` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Callbacks`, `Comment` [INFO] [stdout] --> src/main.rs:5:13 [INFO] [stdout] | [INFO] [stdout] 5 | use gcode::{Callbacks, Comment, Nop}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `gcode_viz::helpers::PopIf` [INFO] [stdout] --> src/main.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use gcode_viz::helpers::PopIf; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crossterm::event` [INFO] [stdout] --> src/ui/mod.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crossterm::event; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Receiver`, `Sender`, `channel` [INFO] [stdout] --> src/ui/mod.rs:8:23 [INFO] [stdout] | [INFO] [stdout] 8 | use std::sync::mpsc::{channel, Receiver, Sender}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::thread` [INFO] [stdout] --> src/ui/mod.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use std::thread; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::ui::app::AppState::Initialized` [INFO] [stdout] --> src/ui/app.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::ui::app::AppState::Initialized; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Callbacks`, `Comment` [INFO] [stdout] --> src/main.rs:5:13 [INFO] [stdout] | [INFO] [stdout] 5 | use gcode::{Callbacks, Comment, Nop}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `gcode_viz::helpers::PopIf` [INFO] [stdout] --> src/main.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use gcode_viz::helpers::PopIf; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crossterm::event` [INFO] [stdout] --> src/ui/mod.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crossterm::event; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Receiver`, `Sender`, `channel` [INFO] [stdout] --> src/ui/mod.rs:8:23 [INFO] [stdout] | [INFO] [stdout] 8 | use std::sync::mpsc::{channel, Receiver, Sender}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::thread` [INFO] [stdout] --> src/ui/mod.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use std::thread; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::ui::app::AppState::Initialized` [INFO] [stdout] --> src/ui/app.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::ui::app::AppState::Initialized; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `orig` [INFO] [stdout] --> src/main.rs:71:21 [INFO] [stdout] | [INFO] [stdout] 71 | let orig = s[span.start..span.end].to_string(); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_orig` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:66:13 [INFO] [stdout] | [INFO] [stdout] 66 | let mut my_iterator = LineIterator::new(lines.take(32)); [INFO] [stdout] | ----^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `run_ui` is never used [INFO] [stdout] --> src/main.rs:31:10 [INFO] [stdout] | [INFO] [stdout] 31 | async fn run_ui() -> Result<(), eyre::Error> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `draw` is never used [INFO] [stdout] --> src/ui/mod.rs:24:8 [INFO] [stdout] | [INFO] [stdout] 24 | pub fn draw(rect: &mut Frame, _app: &App) [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `draw_title` is never used [INFO] [stdout] --> src/ui/mod.rs:41:4 [INFO] [stdout] | [INFO] [stdout] 41 | fn draw_title<'a>() -> Paragraph<'a> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `check_size` is never used [INFO] [stdout] --> src/ui/mod.rs:53:4 [INFO] [stdout] | [INFO] [stdout] 53 | fn check_size(rect: &Rect) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `InputEvent` is never used [INFO] [stdout] --> src/ui/mod.rs:59:10 [INFO] [stdout] | [INFO] [stdout] 59 | pub enum InputEvent { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `start_ui` is never used [INFO] [stdout] --> src/ui/mod.rs:66:14 [INFO] [stdout] | [INFO] [stdout] 66 | pub async fn start_ui(app: Arc>) -> Result<(), eyre::Error> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `actions` is never used [INFO] [stdout] --> src/ui/actions.rs:71:12 [INFO] [stdout] | [INFO] [stdout] 61 | impl Actions { [INFO] [stdout] | ------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 71 | pub fn actions(&self) -> &[Action] { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Initialized` is never constructed [INFO] [stdout] --> src/ui/app.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 9 | pub enum AppState { [INFO] [stdout] | -------- variant in this enum [INFO] [stdout] 10 | Init, [INFO] [stdout] 11 | Initialized { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AppState` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/ui/app.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 18 | impl AppState { [INFO] [stdout] | ------------- associated items in this implementation [INFO] [stdout] 19 | pub fn initialized() -> Self { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 30 | pub fn is_initialized(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 34 | pub fn incr_sleep(&mut self) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 40 | pub fn incr_tick(&mut self) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 46 | pub fn count_sleep(&self) -> Option { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 54 | pub fn count_tick(&self) -> Option { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 62 | pub fn duration(&self) -> Option { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 70 | pub fn increment_delay(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 78 | pub fn decrement_delay(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Continue` and `Exit` are never constructed [INFO] [stdout] --> src/ui/app.rs:105:5 [INFO] [stdout] | [INFO] [stdout] 104 | pub enum AppReturn { [INFO] [stdout] | --------- variants in this enum [INFO] [stdout] 105 | Continue, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 106 | Exit, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AppReturn` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `do_action`, `is_loading`, `dispatch`, `update_on_tick`, and `initialized` are never used [INFO] [stdout] --> src/ui/app.rs:110:12 [INFO] [stdout] | [INFO] [stdout] 109 | impl App { [INFO] [stdout] | -------- associated items in this implementation [INFO] [stdout] 110 | pub fn new(io_tx: tokio::sync::mpsc::Sender) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 119 | pub async fn do_action(&mut self, key: Key) -> AppReturn { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 144 | pub fn is_loading(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 149 | pub async fn dispatch(&mut self, event: IoEvent) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 157 | pub fn update_on_tick(&mut self) -> AppReturn { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 162 | pub fn initialized(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Events` is never constructed [INFO] [stdout] --> src/ui/events.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct Events { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `next`, and `close` are never used [INFO] [stdout] --> src/ui/events.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 19 | impl Events { [INFO] [stdout] | ----------- associated items in this implementation [INFO] [stdout] 20 | pub fn new(tick_rate: Duration) -> Events { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 53 | pub async fn next(&mut self) -> InputEvent { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 57 | pub fn close(&mut self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Initialize` and `Sleep` are never constructed [INFO] [stdout] --> src/ui/io.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 7 | pub enum IoEvent { [INFO] [stdout] | ------- variants in this enum [INFO] [stdout] 8 | Initialize, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 9 | Sleep(Duration), [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `IoEvent` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `IoAsyncHandler` is never constructed [INFO] [stdout] --> src/ui/io.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct IoAsyncHandler { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `handle_io_event` are never used [INFO] [stdout] --> src/ui/io.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 16 | impl IoAsyncHandler { [INFO] [stdout] | ------------------- associated items in this implementation [INFO] [stdout] 17 | pub fn new(app: Arc>) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 21 | pub async fn handle_io_event(&mut self, io_event: IoEvent) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused implementer of `Future` that must be used [INFO] [stdout] --> src/ui/mod.rs:82:9 [INFO] [stdout] | [INFO] [stdout] 82 | app.dispatch(IoEvent::Initialize); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: futures do nothing unless you `.await` or poll them [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `orig` [INFO] [stdout] --> src/main.rs:71:21 [INFO] [stdout] | [INFO] [stdout] 71 | let orig = s[span.start..span.end].to_string(); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_orig` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:66:13 [INFO] [stdout] | [INFO] [stdout] 66 | let mut my_iterator = LineIterator::new(lines.take(32)); [INFO] [stdout] | ----^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `run_ui` is never used [INFO] [stdout] --> src/main.rs:31:10 [INFO] [stdout] | [INFO] [stdout] 31 | async fn run_ui() -> Result<(), eyre::Error> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `draw` is never used [INFO] [stdout] --> src/ui/mod.rs:24:8 [INFO] [stdout] | [INFO] [stdout] 24 | pub fn draw(rect: &mut Frame, _app: &App) [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `draw_title` is never used [INFO] [stdout] --> src/ui/mod.rs:41:4 [INFO] [stdout] | [INFO] [stdout] 41 | fn draw_title<'a>() -> Paragraph<'a> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `check_size` is never used [INFO] [stdout] --> src/ui/mod.rs:53:4 [INFO] [stdout] | [INFO] [stdout] 53 | fn check_size(rect: &Rect) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `InputEvent` is never used [INFO] [stdout] --> src/ui/mod.rs:59:10 [INFO] [stdout] | [INFO] [stdout] 59 | pub enum InputEvent { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `start_ui` is never used [INFO] [stdout] --> src/ui/mod.rs:66:14 [INFO] [stdout] | [INFO] [stdout] 66 | pub async fn start_ui(app: Arc>) -> Result<(), eyre::Error> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/ui/actions.rs:59:20 [INFO] [stdout] | [INFO] [stdout] 59 | pub struct Actions(Vec); [INFO] [stdout] | ------- ^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = note: `Actions` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 59 | pub struct Actions(()); [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 25 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `find` and `actions` are never used [INFO] [stdout] --> src/ui/actions.rs:63:12 [INFO] [stdout] | [INFO] [stdout] 61 | impl Actions { [INFO] [stdout] | ------------ methods in this implementation [INFO] [stdout] 62 | /// Give a key, find the corresponding action [INFO] [stdout] 63 | pub fn find(&self, key: Key) -> Option<&Action> { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 71 | pub fn actions(&self) -> &[Action] { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Initialized` is never constructed [INFO] [stdout] --> src/ui/app.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 9 | pub enum AppState { [INFO] [stdout] | -------- variant in this enum [INFO] [stdout] 10 | Init, [INFO] [stdout] 11 | Initialized { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AppState` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/ui/app.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 18 | impl AppState { [INFO] [stdout] | ------------- associated items in this implementation [INFO] [stdout] 19 | pub fn initialized() -> Self { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 30 | pub fn is_initialized(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 34 | pub fn incr_sleep(&mut self) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 40 | pub fn incr_tick(&mut self) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 46 | pub fn count_sleep(&self) -> Option { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 54 | pub fn count_tick(&self) -> Option { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 62 | pub fn duration(&self) -> Option { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 70 | pub fn increment_delay(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 78 | pub fn decrement_delay(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Continue` and `Exit` are never constructed [INFO] [stdout] --> src/ui/app.rs:105:5 [INFO] [stdout] | [INFO] [stdout] 104 | pub enum AppReturn { [INFO] [stdout] | --------- variants in this enum [INFO] [stdout] 105 | Continue, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 106 | Exit, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AppReturn` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `do_action`, `is_loading`, `dispatch`, `update_on_tick`, and `initialized` are never used [INFO] [stdout] --> src/ui/app.rs:110:12 [INFO] [stdout] | [INFO] [stdout] 109 | impl App { [INFO] [stdout] | -------- associated items in this implementation [INFO] [stdout] 110 | pub fn new(io_tx: tokio::sync::mpsc::Sender) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 119 | pub async fn do_action(&mut self, key: Key) -> AppReturn { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 144 | pub fn is_loading(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 149 | pub async fn dispatch(&mut self, event: IoEvent) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 157 | pub fn update_on_tick(&mut self) -> AppReturn { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 162 | pub fn initialized(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Events` is never constructed [INFO] [stdout] --> src/ui/events.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct Events { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `next`, and `close` are never used [INFO] [stdout] --> src/ui/events.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 19 | impl Events { [INFO] [stdout] | ----------- associated items in this implementation [INFO] [stdout] 20 | pub fn new(tick_rate: Duration) -> Events { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 53 | pub async fn next(&mut self) -> InputEvent { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 57 | pub fn close(&mut self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Initialize` and `Sleep` are never constructed [INFO] [stdout] --> src/ui/io.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 7 | pub enum IoEvent { [INFO] [stdout] | ------- variants in this enum [INFO] [stdout] 8 | Initialize, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 9 | Sleep(Duration), [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `IoEvent` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `IoAsyncHandler` is never constructed [INFO] [stdout] --> src/ui/io.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct IoAsyncHandler { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `handle_io_event` are never used [INFO] [stdout] --> src/ui/io.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 16 | impl IoAsyncHandler { [INFO] [stdout] | ------------------- associated items in this implementation [INFO] [stdout] 17 | pub fn new(app: Arc>) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 21 | pub async fn handle_io_event(&mut self, io_event: IoEvent) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused implementer of `Future` that must be used [INFO] [stdout] --> src/ui/mod.rs:82:9 [INFO] [stdout] | [INFO] [stdout] 82 | app.dispatch(IoEvent::Initialize); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: futures do nothing unless you `.await` or poll them [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 26 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 22.36s [INFO] running `Command { std: "docker" "inspect" "8fac85b461b8f12e6ca9533d6593e380d65a4f2cb0d64bfa504bc2720e0d7d33", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8fac85b461b8f12e6ca9533d6593e380d65a4f2cb0d64bfa504bc2720e0d7d33", kill_on_drop: false }` [INFO] [stdout] 8fac85b461b8f12e6ca9533d6593e380d65a4f2cb0d64bfa504bc2720e0d7d33