[INFO] fetching crate logtail 1.0.0... [INFO] checking logtail-1.0.0 against try#8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 for pr-82565 [INFO] extracting crate logtail 1.0.0 into /workspace/builds/worker-12/source [INFO] validating manifest of crates.io crate logtail 1.0.0 on toolchain 8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate logtail 1.0.0 [INFO] finished tweaking crates.io crate logtail 1.0.0 [INFO] tweaked toml for crates.io crate logtail 1.0.0 written to /workspace/builds/worker-12/source/Cargo.toml [INFO] crate crates.io crate logtail 1.0.0 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded linemux v0.1.3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 482ead520b77977659f494d5186c0bfa4e40c80b479e4bfb21b6001cec59b4a2 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "482ead520b77977659f494d5186c0bfa4e40c80b479e4bfb21b6001cec59b4a2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "482ead520b77977659f494d5186c0bfa4e40c80b479e4bfb21b6001cec59b4a2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "482ead520b77977659f494d5186c0bfa4e40c80b479e4bfb21b6001cec59b4a2", kill_on_drop: false }` [INFO] [stdout] 482ead520b77977659f494d5186c0bfa4e40c80b479e4bfb21b6001cec59b4a2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d77f0fdcc61b7cf8a660a556d79f4ad8e32cbfa1a584af83e5ea887a46a9c2ea [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "d77f0fdcc61b7cf8a660a556d79f4ad8e32cbfa1a584af83e5ea887a46a9c2ea", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling libc v0.2.74 [INFO] [stderr] Compiling proc-macro2 v1.0.19 [INFO] [stderr] Compiling syn v1.0.38 [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Compiling pin-project-internal v0.4.23 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking futures-core v0.3.5 [INFO] [stderr] Compiling proc-macro-nested v0.1.6 [INFO] [stderr] Checking futures-sink v0.3.5 [INFO] [stderr] Checking once_cell v1.4.0 [INFO] [stderr] Compiling proc-macro-hack v0.5.18 [INFO] [stderr] Checking futures-io v0.3.5 [INFO] [stderr] Checking arc-swap v0.4.7 [INFO] [stderr] Checking unicode-width v0.1.8 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Compiling unicode-segmentation v1.6.0 [INFO] [stderr] Checking pin-project-lite v0.1.7 [INFO] [stderr] Checking strsim v0.8.0 [INFO] [stderr] Checking ansi_term v0.11.0 [INFO] [stderr] Checking numtoa v0.1.0 [INFO] [stderr] Checking vec_map v0.8.2 [INFO] [stderr] Checking anymap v0.12.1 [INFO] [stderr] Checking cassowary v0.3.0 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Checking futures-task v0.3.5 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking futures-channel v0.3.5 [INFO] [stderr] Checking lock_api v0.3.4 [INFO] [stderr] Compiling heck v0.3.1 [INFO] [stderr] Checking crossbeam-channel v0.4.3 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Checking net2 v0.2.34 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Checking mio v0.7.0 [INFO] [stderr] Checking inotify-sys v0.1.3 [INFO] [stderr] Checking signal-hook-registry v1.2.1 [INFO] [stderr] Checking parking_lot_core v0.7.2 [INFO] [stderr] Checking getrandom v0.1.14 [INFO] [stderr] Checking filetime v0.2.12 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking termion v1.5.5 [INFO] [stderr] Checking clap v2.33.2 [INFO] [stderr] Checking inotify v0.8.3 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking mio v0.6.22 [INFO] [stderr] Checking signal-hook v0.1.16 [INFO] [stderr] Checking parking_lot v0.10.2 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking crossterm v0.17.7 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking mio-extras v2.0.6 [INFO] [stderr] Checking notify v5.0.0-pre.4 [INFO] [stderr] Checking tui v0.11.0 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling futures-macro v0.3.5 [INFO] [stderr] Compiling tokio-macros v0.2.5 [INFO] [stderr] Compiling structopt-derive v0.4.9 [INFO] [stderr] Compiling tokio-macros v0.3.1 [INFO] [stderr] Checking tokio v0.2.22 [INFO] [stderr] Checking structopt v0.3.16 [INFO] [stderr] Checking pin-project v0.4.23 [INFO] [stderr] Checking futures-util v0.3.5 [INFO] [stderr] Checking futures-executor v0.3.5 [INFO] [stderr] Checking linemux v0.1.3 [INFO] [stderr] Checking futures v0.3.5 [INFO] [stderr] Checking logtail v1.0.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/bin/logtail-termion.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `linemux::MuxedLines` [INFO] [stdout] --> src/bin/logtail-termion.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use linemux::MuxedLines; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Write` [INFO] [stdout] --> src/bin/../custom/app.rs:5:33 [INFO] [stdout] | [INFO] [stdout] 5 | use std::io::{Error, ErrorKind, Write}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/bin/../custom/app.rs:92:74 [INFO] [stdout] | [INFO] [stdout] 92 | pub fn get_monitor_for_file_path(&mut self, logfile: &String) -> Option<(&mut LogMonitor)> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/bin/../custom/app.rs:114:53 [INFO] [stdout] | [INFO] [stdout] 114 | pub fn get_monitor_with_focus(&mut self) -> Option<(&mut LogMonitor)> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/bin/../custom/app.rs:213:5 [INFO] [stdout] | [INFO] [stdout] 213 | if (next) { [INFO] [stdout] | ^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BorderType`, `Corner`, `Span`, `Terminal`, `Text`, `Widget` [INFO] [stdout] --> src/bin/../custom/ui.rs:9:23 [INFO] [stdout] | [INFO] [stdout] 9 | layout::{Constraint, Corner, Direction, Layout, Rect}, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 10 | style::{Color, Modifier, Style}, [INFO] [stdout] 11 | text::{Span, Spans, Text}, [INFO] [stdout] | ^^^^ ^^^^ [INFO] [stdout] 12 | widgets::{Block, BorderType, Borders, List, ListItem, Widget}, [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^ [INFO] [stdout] 13 | Frame, Terminal, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `DashState`, `LogMonitor` [INFO] [stdout] --> src/bin/logtail-termion.rs:23:30 [INFO] [stdout] | [INFO] [stdout] 23 | use self::custom::app::{App, DashState, DashViewMain, LogMonitor}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self::custom::opt::Opt` [INFO] [stdout] --> src/bin/logtail-termion.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | use self::custom::opt::Opt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::shared::util::StatefulList` [INFO] [stdout] --> src/bin/logtail-termion.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 30 | use crate::shared::util::StatefulList; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Block`, `BorderType`, `Borders`, `Color`, `Constraint`, `Corner`, `Direction`, `Frame`, `Layout`, `ListItem`, `List`, `Modifier`, `Span`, `Spans`, `Style`, `Text`, `Widget` [INFO] [stdout] --> src/bin/logtail-termion.rs:37:11 [INFO] [stdout] | [INFO] [stdout] 37 | layout::{Constraint, Corner, Direction, Layout}, [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^ ^^^^^^^^^ ^^^^^^ [INFO] [stdout] 38 | style::{Color, Modifier, Style}, [INFO] [stdout] | ^^^^^ ^^^^^^^^ ^^^^^ [INFO] [stdout] 39 | text::{Span, Spans, Text}, [INFO] [stdout] | ^^^^ ^^^^^ ^^^^ [INFO] [stdout] 40 | widgets::{Block, BorderType, Borders, List, ListItem, Widget}, [INFO] [stdout] | ^^^^^ ^^^^^^^^^^ ^^^^^^^ ^^^^ ^^^^^^^^ ^^^^^^ [INFO] [stdout] 41 | Frame, Terminal, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/bin/logtail-termion.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `linemux::MuxedLines` [INFO] [stdout] --> src/bin/logtail-termion.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use linemux::MuxedLines; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Write` [INFO] [stdout] --> src/bin/../custom/app.rs:5:33 [INFO] [stdout] | [INFO] [stdout] 5 | use std::io::{Error, ErrorKind, Write}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/bin/../custom/app.rs:92:74 [INFO] [stdout] | [INFO] [stdout] 92 | pub fn get_monitor_for_file_path(&mut self, logfile: &String) -> Option<(&mut LogMonitor)> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/bin/../custom/app.rs:114:53 [INFO] [stdout] | [INFO] [stdout] 114 | pub fn get_monitor_with_focus(&mut self) -> Option<(&mut LogMonitor)> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/bin/../custom/app.rs:213:5 [INFO] [stdout] | [INFO] [stdout] 213 | if (next) { [INFO] [stdout] | ^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BorderType`, `Corner`, `Span`, `Terminal`, `Text`, `Widget` [INFO] [stdout] --> src/bin/../custom/ui.rs:9:23 [INFO] [stdout] | [INFO] [stdout] 9 | layout::{Constraint, Corner, Direction, Layout, Rect}, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 10 | style::{Color, Modifier, Style}, [INFO] [stdout] 11 | text::{Span, Spans, Text}, [INFO] [stdout] | ^^^^ ^^^^ [INFO] [stdout] 12 | widgets::{Block, BorderType, Borders, List, ListItem, Widget}, [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^ [INFO] [stdout] 13 | Frame, Terminal, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `DashState`, `LogMonitor` [INFO] [stdout] --> src/bin/logtail-termion.rs:23:30 [INFO] [stdout] | [INFO] [stdout] 23 | use self::custom::app::{App, DashState, DashViewMain, LogMonitor}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self::custom::opt::Opt` [INFO] [stdout] --> src/bin/logtail-termion.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | use self::custom::opt::Opt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::shared::util::StatefulList` [INFO] [stdout] --> src/bin/logtail-termion.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 30 | use crate::shared::util::StatefulList; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Block`, `BorderType`, `Borders`, `Color`, `Constraint`, `Corner`, `Direction`, `Frame`, `Layout`, `ListItem`, `List`, `Modifier`, `Span`, `Spans`, `Style`, `Text`, `Widget` [INFO] [stdout] --> src/bin/logtail-termion.rs:37:11 [INFO] [stdout] | [INFO] [stdout] 37 | layout::{Constraint, Corner, Direction, Layout}, [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^ ^^^^^^^^^ ^^^^^^ [INFO] [stdout] 38 | style::{Color, Modifier, Style}, [INFO] [stdout] | ^^^^^ ^^^^^^^^ ^^^^^ [INFO] [stdout] 39 | text::{Span, Spans, Text}, [INFO] [stdout] | ^^^^ ^^^^^ ^^^^ [INFO] [stdout] 40 | widgets::{Block, BorderType, Borders, List, ListItem, Widget}, [INFO] [stdout] | ^^^^^ ^^^^^^^^^^ ^^^^^^^ ^^^^ ^^^^^^^^ ^^^^^^ [INFO] [stdout] 41 | Frame, Terminal, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Write` [INFO] [stdout] --> src/bin/../custom/app.rs:5:33 [INFO] [stdout] | [INFO] [stdout] 5 | use std::io::{Error, ErrorKind, Write}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/bin/../custom/app.rs:92:74 [INFO] [stdout] | [INFO] [stdout] 92 | pub fn get_monitor_for_file_path(&mut self, logfile: &String) -> Option<(&mut LogMonitor)> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/bin/../custom/app.rs:114:53 [INFO] [stdout] | [INFO] [stdout] 114 | pub fn get_monitor_with_focus(&mut self) -> Option<(&mut LogMonitor)> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/bin/../custom/app.rs:213:5 [INFO] [stdout] | [INFO] [stdout] 213 | if (next) { [INFO] [stdout] | ^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BorderType`, `Corner`, `Span`, `Terminal`, `Text`, `Widget` [INFO] [stdout] --> src/bin/../custom/ui.rs:9:23 [INFO] [stdout] | [INFO] [stdout] 9 | layout::{Constraint, Corner, Direction, Layout, Rect}, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 10 | style::{Color, Modifier, Style}, [INFO] [stdout] 11 | text::{Span, Spans, Text}, [INFO] [stdout] | ^^^^ ^^^^ [INFO] [stdout] 12 | widgets::{Block, BorderType, Borders, List, ListItem, Widget}, [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^ [INFO] [stdout] 13 | Frame, Terminal, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Block`, `BorderType`, `Borders`, `Color`, `Constraint`, `Corner`, `Direction`, `Frame`, `Layout`, `ListItem`, `List`, `Modifier`, `Span`, `Spans`, `Style`, `Text`, `Widget` [INFO] [stdout] --> src/bin/logtail-crossterm.rs:42:11 [INFO] [stdout] | [INFO] [stdout] 42 | layout::{Constraint, Corner, Direction, Layout}, [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^ ^^^^^^^^^ ^^^^^^ [INFO] [stdout] 43 | style::{Color, Modifier, Style}, [INFO] [stdout] | ^^^^^ ^^^^^^^^ ^^^^^ [INFO] [stdout] 44 | text::{Span, Spans, Text}, [INFO] [stdout] | ^^^^ ^^^^^ ^^^^ [INFO] [stdout] 45 | widgets::{Block, BorderType, Borders, List, ListItem, Widget}, [INFO] [stdout] | ^^^^^ ^^^^^^^^^^ ^^^^^^^ ^^^^ ^^^^^^^^ ^^^^^^ [INFO] [stdout] 46 | Frame, Terminal, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Write` [INFO] [stdout] --> src/bin/../custom/app.rs:5:33 [INFO] [stdout] | [INFO] [stdout] 5 | use std::io::{Error, ErrorKind, Write}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/bin/../custom/app.rs:92:74 [INFO] [stdout] | [INFO] [stdout] 92 | pub fn get_monitor_for_file_path(&mut self, logfile: &String) -> Option<(&mut LogMonitor)> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/bin/../custom/app.rs:114:53 [INFO] [stdout] | [INFO] [stdout] 114 | pub fn get_monitor_with_focus(&mut self) -> Option<(&mut LogMonitor)> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/bin/../custom/app.rs:213:5 [INFO] [stdout] | [INFO] [stdout] 213 | if (next) { [INFO] [stdout] | ^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BorderType`, `Corner`, `Span`, `Terminal`, `Text`, `Widget` [INFO] [stdout] --> src/bin/../custom/ui.rs:9:23 [INFO] [stdout] | [INFO] [stdout] 9 | layout::{Constraint, Corner, Direction, Layout, Rect}, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 10 | style::{Color, Modifier, Style}, [INFO] [stdout] 11 | text::{Span, Spans, Text}, [INFO] [stdout] | ^^^^ ^^^^ [INFO] [stdout] 12 | widgets::{Block, BorderType, Borders, List, ListItem, Widget}, [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^ [INFO] [stdout] 13 | Frame, Terminal, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Block`, `BorderType`, `Borders`, `Color`, `Constraint`, `Corner`, `Direction`, `Frame`, `Layout`, `ListItem`, `List`, `Modifier`, `Span`, `Spans`, `Style`, `Text`, `Widget` [INFO] [stdout] --> src/bin/logtail-crossterm.rs:42:11 [INFO] [stdout] | [INFO] [stdout] 42 | layout::{Constraint, Corner, Direction, Layout}, [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^ ^^^^^^^^^ ^^^^^^ [INFO] [stdout] 43 | style::{Color, Modifier, Style}, [INFO] [stdout] | ^^^^^ ^^^^^^^^ ^^^^^ [INFO] [stdout] 44 | text::{Span, Spans, Text}, [INFO] [stdout] | ^^^^ ^^^^^ ^^^^ [INFO] [stdout] 45 | widgets::{Block, BorderType, Borders, List, ListItem, Widget}, [INFO] [stdout] | ^^^^^ ^^^^^^^^^^ ^^^^^^^ ^^^^ ^^^^^^^^ ^^^^^^ [INFO] [stdout] 46 | Frame, Terminal, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/bin/../custom/app.rs:27:7 [INFO] [stdout] | [INFO] [stdout] 27 | let mut opt = Opt::from_args(); [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: variable does not need to be mutable [INFO] [stdout] --> src/bin/../custom/app.rs:38:7 [INFO] [stdout] | [INFO] [stdout] 38 | let mut dash_state = DashState::new(); [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/bin/../custom/app.rs:27:7 [INFO] [stdout] | [INFO] [stdout] 27 | let mut opt = Opt::from_args(); [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: variable does not need to be mutable [INFO] [stdout] --> src/bin/../custom/app.rs:38:7 [INFO] [stdout] | [INFO] [stdout] 38 | let mut dash_state = DashState::new(); [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/bin/../custom/app.rs:27:7 [INFO] [stdout] | [INFO] [stdout] 27 | let mut opt = Opt::from_args(); [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 import: `backend::Backend` [INFO] [stdout] --> src/bin/logtail-termion.rs:35:2 [INFO] [stdout] | [INFO] [stdout] 35 | backend::Backend, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/bin/../custom/app.rs:38:7 [INFO] [stdout] | [INFO] [stdout] 38 | let mut dash_state = DashState::new(); [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/bin/../custom/app.rs:27:7 [INFO] [stdout] | [INFO] [stdout] 27 | let mut opt = Opt::from_args(); [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 import: `backend::Backend` [INFO] [stdout] --> src/bin/logtail-termion.rs:35:2 [INFO] [stdout] | [INFO] [stdout] 35 | backend::Backend, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/bin/../custom/app.rs:38:7 [INFO] [stdout] | [INFO] [stdout] 38 | let mut dash_state = DashState::new(); [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `index` is assigned to, but never used [INFO] [stdout] --> src/bin/../custom/app.rs:93:7 [INFO] [stdout] | [INFO] [stdout] 93 | let mut index = 0; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] = note: consider using `_index` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dash_state` [INFO] [stdout] --> src/bin/../custom/ui.rs:29:2 [INFO] [stdout] | [INFO] [stdout] 29 | dash_state: &DashState, [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_dash_state` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dash_state` [INFO] [stdout] --> src/bin/../custom/ui.rs:49:2 [INFO] [stdout] | [INFO] [stdout] 49 | dash_state: &DashState, [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_dash_state` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `monitor` [INFO] [stdout] --> src/bin/../custom/ui.rs:106:2 [INFO] [stdout] | [INFO] [stdout] 106 | monitor: &mut LogMonitor, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_monitor` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dash_state` [INFO] [stdout] --> src/bin/../custom/ui.rs:142:2 [INFO] [stdout] | [INFO] [stdout] 142 | dash_state: &DashState, [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_dash_state` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dash_state` [INFO] [stdout] --> src/bin/../custom/ui.rs:193:2 [INFO] [stdout] | [INFO] [stdout] 193 | dash_state: &DashState, [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_dash_state` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/bin/../custom/app.rs:95:22 [INFO] [stdout] | [INFO] [stdout] 95 | for (monitor_file, mut monitor) in self.monitors.iter_mut() { [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/bin/../custom/app.rs:116:9 [INFO] [stdout] | [INFO] [stdout] 116 | Some(mut monitor) => Some(monitor), [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `index` is assigned to, but never used [INFO] [stdout] --> src/bin/../custom/app.rs:93:7 [INFO] [stdout] | [INFO] [stdout] 93 | let mut index = 0; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] = note: consider using `_index` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dash_state` [INFO] [stdout] --> src/bin/../custom/ui.rs:29:2 [INFO] [stdout] | [INFO] [stdout] 29 | dash_state: &DashState, [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_dash_state` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dash_state` [INFO] [stdout] --> src/bin/../custom/ui.rs:49:2 [INFO] [stdout] | [INFO] [stdout] 49 | dash_state: &DashState, [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_dash_state` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `monitor` [INFO] [stdout] --> src/bin/../custom/ui.rs:106:2 [INFO] [stdout] | [INFO] [stdout] 106 | monitor: &mut LogMonitor, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_monitor` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dash_state` [INFO] [stdout] --> src/bin/../custom/ui.rs:142:2 [INFO] [stdout] | [INFO] [stdout] 142 | dash_state: &DashState, [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_dash_state` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dash_state` [INFO] [stdout] --> src/bin/../custom/ui.rs:193:2 [INFO] [stdout] | [INFO] [stdout] 193 | dash_state: &DashState, [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_dash_state` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/bin/../custom/app.rs:95:22 [INFO] [stdout] | [INFO] [stdout] 95 | for (monitor_file, mut monitor) in self.monitors.iter_mut() { [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/bin/../custom/app.rs:116:9 [INFO] [stdout] | [INFO] [stdout] 116 | Some(mut monitor) => Some(monitor), [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `dash_vertical` [INFO] [stdout] --> src/bin/../custom/app.rs:308:2 [INFO] [stdout] | [INFO] [stdout] 308 | dash_vertical: DashVertical, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `active_view` [INFO] [stdout] --> src/bin/../custom/app.rs:339:2 [INFO] [stdout] | [INFO] [stdout] 339 | active_view: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static is never used: `MAX_CONTENT` [INFO] [stdout] --> src/bin/../custom/opt.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | static MAX_CONTENT: &str = "100"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `draw_debug_window` [INFO] [stdout] --> src/bin/../custom/ui.rs:102:4 [INFO] [stdout] | [INFO] [stdout] 102 | fn draw_debug_window( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `old_draw_dash_horizontal` [INFO] [stdout] --> src/bin/../custom/ui.rs:140:4 [INFO] [stdout] | [INFO] [stdout] 140 | fn old_draw_dash_horizontal( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `old_draw_dash_vertical` [INFO] [stdout] --> src/bin/../custom/ui.rs:191:4 [INFO] [stdout] | [INFO] [stdout] 191 | fn old_draw_dash_vertical( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `input_handle` [INFO] [stdout] --> src/bin/../event.rs:22:2 [INFO] [stdout] | [INFO] [stdout] 22 | input_handle: thread::JoinHandle<()>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `tick_handle` [INFO] [stdout] --> src/bin/../event.rs:24:2 [INFO] [stdout] | [INFO] [stdout] 24 | tick_handle: thread::JoinHandle<()>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias is never used: `TuiTerminal` [INFO] [stdout] --> src/bin/logtail-termion.rs:44:1 [INFO] [stdout] | [INFO] [stdout] 44 | / type TuiTerminal = tui::terminal::Terminal< [INFO] [stdout] 45 | | TermionBackend< [INFO] [stdout] 46 | | termion::screen::AlternateScreen< [INFO] [stdout] 47 | | termion::input::MouseTerminal>, [INFO] [stdout] 48 | | >, [INFO] [stdout] 49 | | >, [INFO] [stdout] 50 | | >; [INFO] [stdout] | |__^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 31 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `dash_vertical` [INFO] [stdout] --> src/bin/../custom/app.rs:308:2 [INFO] [stdout] | [INFO] [stdout] 308 | dash_vertical: DashVertical, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `active_view` [INFO] [stdout] --> src/bin/../custom/app.rs:339:2 [INFO] [stdout] | [INFO] [stdout] 339 | active_view: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static is never used: `MAX_CONTENT` [INFO] [stdout] --> src/bin/../custom/opt.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | static MAX_CONTENT: &str = "100"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `draw_debug_window` [INFO] [stdout] --> src/bin/../custom/ui.rs:102:4 [INFO] [stdout] | [INFO] [stdout] 102 | fn draw_debug_window( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `old_draw_dash_horizontal` [INFO] [stdout] --> src/bin/../custom/ui.rs:140:4 [INFO] [stdout] | [INFO] [stdout] 140 | fn old_draw_dash_horizontal( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `old_draw_dash_vertical` [INFO] [stdout] --> src/bin/../custom/ui.rs:191:4 [INFO] [stdout] | [INFO] [stdout] 191 | fn old_draw_dash_vertical( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `input_handle` [INFO] [stdout] --> src/bin/../event.rs:22:2 [INFO] [stdout] | [INFO] [stdout] 22 | input_handle: thread::JoinHandle<()>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `tick_handle` [INFO] [stdout] --> src/bin/../event.rs:24:2 [INFO] [stdout] | [INFO] [stdout] 24 | tick_handle: thread::JoinHandle<()>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias is never used: `TuiTerminal` [INFO] [stdout] --> src/bin/logtail-termion.rs:44:1 [INFO] [stdout] | [INFO] [stdout] 44 | / type TuiTerminal = tui::terminal::Terminal< [INFO] [stdout] 45 | | TermionBackend< [INFO] [stdout] 46 | | termion::screen::AlternateScreen< [INFO] [stdout] 47 | | termion::input::MouseTerminal>, [INFO] [stdout] 48 | | >, [INFO] [stdout] 49 | | >, [INFO] [stdout] 50 | | >; [INFO] [stdout] | |__^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/bin/logtail-crossterm.rs:65:7 [INFO] [stdout] | [INFO] [stdout] 65 | Err(e) => return Ok(()), [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `index` is assigned to, but never used [INFO] [stdout] --> src/bin/../custom/app.rs:93:7 [INFO] [stdout] | [INFO] [stdout] 93 | let mut index = 0; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_index` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dash_state` [INFO] [stdout] --> src/bin/../custom/ui.rs:29:2 [INFO] [stdout] | [INFO] [stdout] 29 | dash_state: &DashState, [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_dash_state` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dash_state` [INFO] [stdout] --> src/bin/../custom/ui.rs:49:2 [INFO] [stdout] | [INFO] [stdout] 49 | dash_state: &DashState, [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_dash_state` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `monitor` [INFO] [stdout] --> src/bin/../custom/ui.rs:106:2 [INFO] [stdout] | [INFO] [stdout] 106 | monitor: &mut LogMonitor, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_monitor` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dash_state` [INFO] [stdout] --> src/bin/../custom/ui.rs:142:2 [INFO] [stdout] | [INFO] [stdout] 142 | dash_state: &DashState, [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_dash_state` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dash_state` [INFO] [stdout] --> src/bin/../custom/ui.rs:193:2 [INFO] [stdout] | [INFO] [stdout] 193 | dash_state: &DashState, [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_dash_state` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 31 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/bin/logtail-crossterm.rs:65:7 [INFO] [stdout] | [INFO] [stdout] 65 | Err(e) => return Ok(()), [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `index` is assigned to, but never used [INFO] [stdout] --> src/bin/../custom/app.rs:93:7 [INFO] [stdout] | [INFO] [stdout] 93 | let mut index = 0; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_index` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dash_state` [INFO] [stdout] --> src/bin/../custom/ui.rs:29:2 [INFO] [stdout] | [INFO] [stdout] 29 | dash_state: &DashState, [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_dash_state` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dash_state` [INFO] [stdout] --> src/bin/../custom/ui.rs:49:2 [INFO] [stdout] | [INFO] [stdout] 49 | dash_state: &DashState, [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_dash_state` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `monitor` [INFO] [stdout] --> src/bin/../custom/ui.rs:106:2 [INFO] [stdout] | [INFO] [stdout] 106 | monitor: &mut LogMonitor, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_monitor` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dash_state` [INFO] [stdout] --> src/bin/../custom/ui.rs:142:2 [INFO] [stdout] | [INFO] [stdout] 142 | dash_state: &DashState, [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_dash_state` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dash_state` [INFO] [stdout] --> src/bin/../custom/ui.rs:193:2 [INFO] [stdout] | [INFO] [stdout] 193 | dash_state: &DashState, [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_dash_state` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/bin/../custom/app.rs:95:22 [INFO] [stdout] | [INFO] [stdout] 95 | for (monitor_file, mut monitor) in self.monitors.iter_mut() { [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/bin/../custom/app.rs:116:9 [INFO] [stdout] | [INFO] [stdout] 116 | Some(mut monitor) => Some(monitor), [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/bin/../custom/app.rs:95:22 [INFO] [stdout] | [INFO] [stdout] 95 | for (monitor_file, mut monitor) in self.monitors.iter_mut() { [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/bin/../custom/app.rs:116:9 [INFO] [stdout] | [INFO] [stdout] 116 | Some(mut monitor) => Some(monitor), [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `dash_vertical` [INFO] [stdout] --> src/bin/../custom/app.rs:308:2 [INFO] [stdout] | [INFO] [stdout] 308 | dash_vertical: DashVertical, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `active_view` [INFO] [stdout] --> src/bin/../custom/app.rs:339:2 [INFO] [stdout] | [INFO] [stdout] 339 | active_view: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static is never used: `MAX_CONTENT` [INFO] [stdout] --> src/bin/../custom/opt.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | static MAX_CONTENT: &str = "100"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `draw_debug_window` [INFO] [stdout] --> src/bin/../custom/ui.rs:102:4 [INFO] [stdout] | [INFO] [stdout] 102 | fn draw_debug_window( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `old_draw_dash_horizontal` [INFO] [stdout] --> src/bin/../custom/ui.rs:140:4 [INFO] [stdout] | [INFO] [stdout] 140 | fn old_draw_dash_horizontal( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `old_draw_dash_vertical` [INFO] [stdout] --> src/bin/../custom/ui.rs:191:4 [INFO] [stdout] | [INFO] [stdout] 191 | fn old_draw_dash_vertical( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `input_handle` [INFO] [stdout] --> src/bin/../event.rs:22:2 [INFO] [stdout] | [INFO] [stdout] 22 | input_handle: thread::JoinHandle<()>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `tick_handle` [INFO] [stdout] --> src/bin/../event.rs:24:2 [INFO] [stdout] | [INFO] [stdout] 24 | tick_handle: thread::JoinHandle<()>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `dash_vertical` [INFO] [stdout] --> src/bin/../custom/app.rs:308:2 [INFO] [stdout] | [INFO] [stdout] 308 | dash_vertical: DashVertical, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `active_view` [INFO] [stdout] --> src/bin/../custom/app.rs:339:2 [INFO] [stdout] | [INFO] [stdout] 339 | active_view: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static is never used: `MAX_CONTENT` [INFO] [stdout] --> src/bin/../custom/opt.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | static MAX_CONTENT: &str = "100"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `draw_debug_window` [INFO] [stdout] --> src/bin/../custom/ui.rs:102:4 [INFO] [stdout] | [INFO] [stdout] 102 | fn draw_debug_window( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `old_draw_dash_horizontal` [INFO] [stdout] --> src/bin/../custom/ui.rs:140:4 [INFO] [stdout] | [INFO] [stdout] 140 | fn old_draw_dash_horizontal( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `old_draw_dash_vertical` [INFO] [stdout] --> src/bin/../custom/ui.rs:191:4 [INFO] [stdout] | [INFO] [stdout] 191 | fn old_draw_dash_vertical( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `input_handle` [INFO] [stdout] --> src/bin/../event.rs:22:2 [INFO] [stdout] | [INFO] [stdout] 22 | input_handle: thread::JoinHandle<()>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `tick_handle` [INFO] [stdout] --> src/bin/../event.rs:24:2 [INFO] [stdout] | [INFO] [stdout] 24 | tick_handle: thread::JoinHandle<()>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/bin/logtail-crossterm.rs:151:6 [INFO] [stdout] | [INFO] [stdout] 151 | tx.send(Event::Input(key)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/bin/logtail-crossterm.rs:155:5 [INFO] [stdout] | [INFO] [stdout] 155 | tx.send(Event::Tick); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/bin/logtail-crossterm.rs:151:6 [INFO] [stdout] | [INFO] [stdout] 151 | tx.send(Event::Input(key)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/bin/logtail-crossterm.rs:155:5 [INFO] [stdout] | [INFO] [stdout] 155 | tx.send(Event::Tick); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 27 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 27 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 55.55s [INFO] running `Command { std: "docker" "inspect" "d77f0fdcc61b7cf8a660a556d79f4ad8e32cbfa1a584af83e5ea887a46a9c2ea", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d77f0fdcc61b7cf8a660a556d79f4ad8e32cbfa1a584af83e5ea887a46a9c2ea", kill_on_drop: false }` [INFO] [stdout] d77f0fdcc61b7cf8a660a556d79f4ad8e32cbfa1a584af83e5ea887a46a9c2ea