[INFO] fetching crate logtail 1.0.1... [INFO] checking logtail-1.0.1 against master#f609b7e0586f81fefb3523e3e17adf779ac416be for pr-129466-2 [INFO] extracting crate logtail 1.0.1 into /workspace/builds/worker-2-tc1/source [INFO] validating manifest of crates.io crate logtail 1.0.1 on toolchain f609b7e0586f81fefb3523e3e17adf779ac416be [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate logtail 1.0.1 [INFO] finished tweaking crates.io crate logtail 1.0.1 [INFO] tweaked toml for crates.io crate logtail 1.0.1 written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] crate crates.io crate logtail 1.0.1 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" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded structopt v0.3.16 [INFO] [stderr] Downloaded tokio-macros v0.3.1 [INFO] [stderr] Downloaded structopt-derive v0.4.9 [INFO] [stderr] Downloaded kqueue v1.0.4 [INFO] [stderr] Downloaded signal-hook v0.1.16 [INFO] [stderr] Downloaded filetime v0.2.12 [INFO] [stderr] Downloaded notify v5.0.0-pre.13 [INFO] [stderr] Downloaded crossterm v0.17.7 [INFO] [stderr] Downloaded linemux v0.2.3 [INFO] [stderr] Downloaded tui v0.11.0 [INFO] [stderr] Downloaded clap v2.33.2 [INFO] [stderr] Downloaded inotify-sys v0.1.3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4500843215b4c9f9343d0ffd75b18422acf3808236a76387e2def3893dfb4057 [INFO] running `Command { std: "docker" "start" "-a" "4500843215b4c9f9343d0ffd75b18422acf3808236a76387e2def3893dfb4057", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4500843215b4c9f9343d0ffd75b18422acf3808236a76387e2def3893dfb4057", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4500843215b4c9f9343d0ffd75b18422acf3808236a76387e2def3893dfb4057", kill_on_drop: false }` [INFO] [stdout] 4500843215b4c9f9343d0ffd75b18422acf3808236a76387e2def3893dfb4057 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 39ce60b5a719972fcacfe57217d7a2625d0383ff4be2f073a84a1acd162f7687 [INFO] running `Command { std: "docker" "start" "-a" "39ce60b5a719972fcacfe57217d7a2625d0383ff4be2f073a84a1acd162f7687", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.117 [INFO] [stderr] Compiling proc-macro2 v1.0.19 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling syn v1.0.38 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Compiling version_check v0.9.2 [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Compiling pin-project-internal v0.4.23 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling proc-macro-nested v0.1.6 [INFO] [stderr] Checking futures-core v0.3.5 [INFO] [stderr] Compiling getrandom v0.1.14 [INFO] [stderr] Checking futures-sink v0.3.5 [INFO] [stderr] Compiling crossbeam-utils v0.8.6 [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 futures-channel v0.3.5 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Checking smallvec v1.4.2 [INFO] [stderr] Checking futures-task v0.3.5 [INFO] [stderr] Checking arc-swap v0.4.7 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Checking unicode-width v0.1.8 [INFO] [stderr] Checking slab v0.4.2 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Checking lock_api v0.3.4 [INFO] [stderr] Checking bytes v1.1.0 [INFO] [stderr] Compiling unicode-segmentation v1.6.0 [INFO] [stderr] Checking same-file v1.0.6 [INFO] [stderr] Checking pin-project-lite v0.2.8 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking ppv-lite86 v0.2.8 [INFO] [stderr] Checking strsim v0.8.0 [INFO] [stderr] Checking ansi_term v0.11.0 [INFO] [stderr] Checking walkdir v2.3.1 [INFO] [stderr] Checking vec_map v0.8.2 [INFO] [stderr] Checking pin-project-lite v0.1.7 [INFO] [stderr] Checking numtoa v0.1.0 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Checking cassowary v0.3.0 [INFO] [stderr] Checking crossbeam-channel v0.5.2 [INFO] [stderr] Checking bytes v0.5.6 [INFO] [stderr] Compiling heck v0.3.1 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Checking tokio v1.16.1 [INFO] [stderr] Checking mio v0.7.14 [INFO] [stderr] Checking signal-hook-registry v1.2.1 [INFO] [stderr] Checking inotify-sys v0.1.3 [INFO] [stderr] Checking parking_lot_core v0.7.2 [INFO] [stderr] Checking filetime v0.2.12 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking termion v1.5.5 [INFO] [stderr] Checking inotify v0.9.6 [INFO] [stderr] Checking clap v2.33.2 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking parking_lot v0.10.2 [INFO] [stderr] Checking signal-hook v0.1.16 [INFO] [stderr] Checking notify v5.0.0-pre.13 [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 tui v0.11.0 [INFO] [stderr] Checking tokio-stream v0.1.8 [INFO] [stderr] Compiling futures-macro v0.3.5 [INFO] [stderr] Compiling structopt-derive v0.4.9 [INFO] [stderr] Compiling tokio-macros v0.2.5 [INFO] [stderr] Compiling tokio-macros v0.3.1 [INFO] [stderr] Checking tokio v0.2.22 [INFO] [stderr] Checking pin-project v0.4.23 [INFO] [stderr] Checking structopt v0.3.16 [INFO] [stderr] Checking futures-util v0.3.5 [INFO] [stderr] Checking futures-executor v0.3.5 [INFO] [stderr] Checking linemux v0.2.3 [INFO] [stderr] Checking futures v0.3.5 [INFO] [stderr] Checking logtail v1.0.1 (/opt/rustwide/workdir) [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] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 92 - pub fn get_monitor_for_file_path(&mut self, logfile: &String) -> Option<(&mut LogMonitor)> { [INFO] [stdout] 92 + pub fn get_monitor_for_file_path(&mut self, logfile: &String) -> Option<&mut LogMonitor> { [INFO] [stdout] | [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] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 114 - pub fn get_monitor_with_focus(&mut self) -> Option<(&mut LogMonitor)> { [INFO] [stdout] 114 + pub fn get_monitor_with_focus(&mut self) -> Option<&mut LogMonitor> { [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: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/bin/../custom/app.rs:213:5 [INFO] [stdout] | [INFO] [stdout] 213 | if (next) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 213 - if (next) { [INFO] [stdout] 213 + if next { [INFO] [stdout] | [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: unused imports: `BorderType`, `Corner`, `Span`, `Terminal`, `Text`, and `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: 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] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 92 - pub fn get_monitor_for_file_path(&mut self, logfile: &String) -> Option<(&mut LogMonitor)> { [INFO] [stdout] 92 + pub fn get_monitor_for_file_path(&mut self, logfile: &String) -> Option<&mut LogMonitor> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/bin/../util.rs:61:38 [INFO] [stdout] | [INFO] [stdout] 60 | impl<'a> TabsState<'a> { [INFO] [stdout] | -- lifetime `'a` declared here [INFO] [stdout] 61 | pub fn new(titles: Vec<&'a str>) -> TabsState { [INFO] [stdout] | ^^^^^^^^^ this elided lifetime gets resolved as `'a` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(elided_named_lifetimes)]` 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] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 114 - pub fn get_monitor_with_focus(&mut self) -> Option<(&mut LogMonitor)> { [INFO] [stdout] 114 + pub fn get_monitor_with_focus(&mut self) -> Option<&mut LogMonitor> { [INFO] [stdout] | [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] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 213 - if (next) { [INFO] [stdout] 213 + if next { [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`, and `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 imports: `BorderType`, `Corner`, `Span`, `Terminal`, `Text`, and `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` and `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: elided lifetime has a name [INFO] [stdout] --> src/bin/../util.rs:61:38 [INFO] [stdout] | [INFO] [stdout] 60 | impl<'a> TabsState<'a> { [INFO] [stdout] | -- lifetime `'a` declared here [INFO] [stdout] 61 | pub fn new(titles: Vec<&'a str>) -> TabsState { [INFO] [stdout] | ^^^^^^^^^ this elided lifetime gets resolved as `'a` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(elided_named_lifetimes)]` on by default [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`, and `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] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 92 - pub fn get_monitor_for_file_path(&mut self, logfile: &String) -> Option<(&mut LogMonitor)> { [INFO] [stdout] 92 + pub fn get_monitor_for_file_path(&mut self, logfile: &String) -> Option<&mut LogMonitor> { [INFO] [stdout] | [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] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 114 - pub fn get_monitor_with_focus(&mut self) -> Option<(&mut LogMonitor)> { [INFO] [stdout] 114 + pub fn get_monitor_with_focus(&mut self) -> Option<&mut LogMonitor> { [INFO] [stdout] | [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] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 213 - if (next) { [INFO] [stdout] 213 + if next { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BorderType`, `Corner`, `Span`, `Terminal`, `Text`, and `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` and `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: elided lifetime has a name [INFO] [stdout] --> src/bin/../util.rs:61:38 [INFO] [stdout] | [INFO] [stdout] 60 | impl<'a> TabsState<'a> { [INFO] [stdout] | -- lifetime `'a` declared here [INFO] [stdout] 61 | pub fn new(titles: Vec<&'a str>) -> TabsState { [INFO] [stdout] | ^^^^^^^^^ this elided lifetime gets resolved as `'a` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(elided_named_lifetimes)]` on by default [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`, and `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] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 92 - pub fn get_monitor_for_file_path(&mut self, logfile: &String) -> Option<(&mut LogMonitor)> { [INFO] [stdout] 92 + pub fn get_monitor_for_file_path(&mut self, logfile: &String) -> Option<&mut LogMonitor> { [INFO] [stdout] | [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] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 114 - pub fn get_monitor_with_focus(&mut self) -> Option<(&mut LogMonitor)> { [INFO] [stdout] 114 + pub fn get_monitor_with_focus(&mut self) -> Option<&mut LogMonitor> { [INFO] [stdout] | [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] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 213 - if (next) { [INFO] [stdout] 213 + if next { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BorderType`, `Corner`, `Span`, `Terminal`, `Text`, and `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: elided lifetime has a name [INFO] [stdout] --> src/bin/../util.rs:61:38 [INFO] [stdout] | [INFO] [stdout] 60 | impl<'a> TabsState<'a> { [INFO] [stdout] | -- lifetime `'a` declared here [INFO] [stdout] 61 | pub fn new(titles: Vec<&'a str>) -> TabsState { [INFO] [stdout] | ^^^^^^^^^ this elided lifetime gets resolved as `'a` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(elided_named_lifetimes)]` on by default [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`, and `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: 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] error[E0283]: type annotations needed [INFO] [stdout] --> src/bin/../custom/ui.rs:37:4 [INFO] [stdout] | [INFO] [stdout] 37 | .constraints(constraints.as_ref()) [INFO] [stdout] | ^^^^^^^^^^^ ------ type must be known at this point [INFO] [stdout] | | [INFO] [stdout] | cannot infer type of the type parameter `C` declared on the method `constraints` [INFO] [stdout] | [INFO] [stdout] = note: multiple `impl`s satisfying `Vec: AsRef<_>` found in the `alloc` crate: [INFO] [stdout] - impl AsRef> for Vec [INFO] [stdout] where A: Allocator; [INFO] [stdout] - impl AsRef<[T]> for Vec [INFO] [stdout] where A: Allocator; [INFO] [stdout] help: consider specifying the generic argument [INFO] [stdout] | [INFO] [stdout] 37 | .constraints::<&T>(constraints.as_ref()) [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed [INFO] [stdout] --> src/bin/../custom/ui.rs:56:4 [INFO] [stdout] | [INFO] [stdout] 56 | .constraints(constraints.as_ref()) [INFO] [stdout] | ^^^^^^^^^^^ ------ type must be known at this point [INFO] [stdout] | | [INFO] [stdout] | cannot infer type of the type parameter `C` declared on the method `constraints` [INFO] [stdout] | [INFO] [stdout] = note: multiple `impl`s satisfying `Vec: AsRef<_>` found in the `alloc` crate: [INFO] [stdout] - impl AsRef> for Vec [INFO] [stdout] where A: Allocator; [INFO] [stdout] - impl AsRef<[T]> for Vec [INFO] [stdout] where A: Allocator; [INFO] [stdout] help: consider specifying the generic argument [INFO] [stdout] | [INFO] [stdout] 56 | .constraints::<&T>(constraints.as_ref()) [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed [INFO] [stdout] --> src/bin/../custom/ui.rs:150:4 [INFO] [stdout] | [INFO] [stdout] 150 | .constraints(constraints.as_ref()) [INFO] [stdout] | ^^^^^^^^^^^ ------ type must be known at this point [INFO] [stdout] | | [INFO] [stdout] | cannot infer type of the type parameter `C` declared on the method `constraints` [INFO] [stdout] | [INFO] [stdout] = note: multiple `impl`s satisfying `Vec: AsRef<_>` found in the `alloc` crate: [INFO] [stdout] - impl AsRef> for Vec [INFO] [stdout] where A: Allocator; [INFO] [stdout] - impl AsRef<[T]> for Vec [INFO] [stdout] where A: Allocator; [INFO] [stdout] help: consider specifying the generic argument [INFO] [stdout] | [INFO] [stdout] 150 | .constraints::<&T>(constraints.as_ref()) [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed [INFO] [stdout] --> src/bin/../custom/ui.rs:200:4 [INFO] [stdout] | [INFO] [stdout] 200 | .constraints(constraints.as_ref()) [INFO] [stdout] | ^^^^^^^^^^^ ------ type must be known at this point [INFO] [stdout] | | [INFO] [stdout] | cannot infer type of the type parameter `C` declared on the method `constraints` [INFO] [stdout] | [INFO] [stdout] = note: multiple `impl`s satisfying `Vec: AsRef<_>` found in the `alloc` crate: [INFO] [stdout] - impl AsRef> for Vec [INFO] [stdout] where A: Allocator; [INFO] [stdout] - impl AsRef<[T]> for Vec [INFO] [stdout] where A: Allocator; [INFO] [stdout] help: consider specifying the generic argument [INFO] [stdout] | [INFO] [stdout] 200 | .constraints::<&T>(constraints.as_ref()) [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed [INFO] [stdout] --> src/bin/../custom/ui.rs:37:4 [INFO] [stdout] | [INFO] [stdout] 37 | .constraints(constraints.as_ref()) [INFO] [stdout] | ^^^^^^^^^^^ ------ type must be known at this point [INFO] [stdout] | | [INFO] [stdout] | cannot infer type of the type parameter `C` declared on the method `constraints` [INFO] [stdout] | [INFO] [stdout] = note: multiple `impl`s satisfying `Vec: AsRef<_>` found in the `alloc` crate: [INFO] [stdout] - impl AsRef> for Vec [INFO] [stdout] where A: Allocator; [INFO] [stdout] - impl AsRef<[T]> for Vec [INFO] [stdout] where A: Allocator; [INFO] [stdout] help: consider specifying the generic argument [INFO] [stdout] | [INFO] [stdout] 37 | .constraints::<&T>(constraints.as_ref()) [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed [INFO] [stdout] --> src/bin/../custom/ui.rs:37:4 [INFO] [stdout] | [INFO] [stdout] 37 | .constraints(constraints.as_ref()) [INFO] [stdout] | ^^^^^^^^^^^ ------ type must be known at this point [INFO] [stdout] | | [INFO] [stdout] | cannot infer type of the type parameter `C` declared on the method `constraints` [INFO] [stdout] | [INFO] [stdout] = note: multiple `impl`s satisfying `Vec: AsRef<_>` found in the `alloc` crate: [INFO] [stdout] - impl AsRef> for Vec [INFO] [stdout] where A: Allocator; [INFO] [stdout] - impl AsRef<[T]> for Vec [INFO] [stdout] where A: Allocator; [INFO] [stdout] help: consider specifying the generic argument [INFO] [stdout] | [INFO] [stdout] 37 | .constraints::<&T>(constraints.as_ref()) [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed [INFO] [stdout] --> src/bin/../custom/ui.rs:56:4 [INFO] [stdout] | [INFO] [stdout] 56 | .constraints(constraints.as_ref()) [INFO] [stdout] | ^^^^^^^^^^^ ------ type must be known at this point [INFO] [stdout] | | [INFO] [stdout] | cannot infer type of the type parameter `C` declared on the method `constraints` [INFO] [stdout] | [INFO] [stdout] = note: multiple `impl`s satisfying `Vec: AsRef<_>` found in the `alloc` crate: [INFO] [stdout] - impl AsRef> for Vec [INFO] [stdout] where A: Allocator; [INFO] [stdout] - impl AsRef<[T]> for Vec [INFO] [stdout] where A: Allocator; [INFO] [stdout] help: consider specifying the generic argument [INFO] [stdout] | [INFO] [stdout] 56 | .constraints::<&T>(constraints.as_ref()) [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed [INFO] [stdout] --> src/bin/../custom/ui.rs:56:4 [INFO] [stdout] | [INFO] [stdout] 56 | .constraints(constraints.as_ref()) [INFO] [stdout] | ^^^^^^^^^^^ ------ type must be known at this point [INFO] [stdout] | | [INFO] [stdout] | cannot infer type of the type parameter `C` declared on the method `constraints` [INFO] [stdout] | [INFO] [stdout] = note: multiple `impl`s satisfying `Vec: AsRef<_>` found in the `alloc` crate: [INFO] [stdout] - impl AsRef> for Vec [INFO] [stdout] where A: Allocator; [INFO] [stdout] - impl AsRef<[T]> for Vec [INFO] [stdout] where A: Allocator; [INFO] [stdout] help: consider specifying the generic argument [INFO] [stdout] | [INFO] [stdout] 56 | .constraints::<&T>(constraints.as_ref()) [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `index` is assigned to, but never used [INFO] [stdout] --> src/bin/../custom/app.rs:93:11 [INFO] [stdout] | [INFO] [stdout] 93 | let mut index = 0; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_index` instead [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/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] error[E0283]: type annotations needed [INFO] [stdout] --> src/bin/../custom/ui.rs:37:4 [INFO] [stdout] | [INFO] [stdout] 37 | .constraints(constraints.as_ref()) [INFO] [stdout] | ^^^^^^^^^^^ ------ type must be known at this point [INFO] [stdout] | | [INFO] [stdout] | cannot infer type of the type parameter `C` declared on the method `constraints` [INFO] [stdout] | [INFO] [stdout] = note: multiple `impl`s satisfying `Vec: AsRef<_>` found in the `alloc` crate: [INFO] [stdout] - impl AsRef> for Vec [INFO] [stdout] where A: Allocator; [INFO] [stdout] - impl AsRef<[T]> for Vec [INFO] [stdout] where A: Allocator; [INFO] [stdout] help: consider specifying the generic argument [INFO] [stdout] | [INFO] [stdout] 37 | .constraints::<&T>(constraints.as_ref()) [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed [INFO] [stdout] --> src/bin/../custom/ui.rs:56:4 [INFO] [stdout] | [INFO] [stdout] 56 | .constraints(constraints.as_ref()) [INFO] [stdout] | ^^^^^^^^^^^ ------ type must be known at this point [INFO] [stdout] | | [INFO] [stdout] | cannot infer type of the type parameter `C` declared on the method `constraints` [INFO] [stdout] | [INFO] [stdout] = note: multiple `impl`s satisfying `Vec: AsRef<_>` found in the `alloc` crate: [INFO] [stdout] - impl AsRef> for Vec [INFO] [stdout] where A: Allocator; [INFO] [stdout] - impl AsRef<[T]> for Vec [INFO] [stdout] where A: Allocator; [INFO] [stdout] help: consider specifying the generic argument [INFO] [stdout] | [INFO] [stdout] 56 | .constraints::<&T>(constraints.as_ref()) [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed [INFO] [stdout] --> src/bin/../custom/ui.rs:150:4 [INFO] [stdout] | [INFO] [stdout] 150 | .constraints(constraints.as_ref()) [INFO] [stdout] | ^^^^^^^^^^^ ------ type must be known at this point [INFO] [stdout] | | [INFO] [stdout] | cannot infer type of the type parameter `C` declared on the method `constraints` [INFO] [stdout] | [INFO] [stdout] = note: multiple `impl`s satisfying `Vec: AsRef<_>` found in the `alloc` crate: [INFO] [stdout] - impl AsRef> for Vec [INFO] [stdout] where A: Allocator; [INFO] [stdout] - impl AsRef<[T]> for Vec [INFO] [stdout] where A: Allocator; [INFO] [stdout] help: consider specifying the generic argument [INFO] [stdout] | [INFO] [stdout] 150 | .constraints::<&T>(constraints.as_ref()) [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed [INFO] [stdout] --> src/bin/../custom/ui.rs:150:4 [INFO] [stdout] | [INFO] [stdout] 150 | .constraints(constraints.as_ref()) [INFO] [stdout] | ^^^^^^^^^^^ ------ type must be known at this point [INFO] [stdout] | | [INFO] [stdout] | cannot infer type of the type parameter `C` declared on the method `constraints` [INFO] [stdout] | [INFO] [stdout] = note: multiple `impl`s satisfying `Vec: AsRef<_>` found in the `alloc` crate: [INFO] [stdout] - impl AsRef> for Vec [INFO] [stdout] where A: Allocator; [INFO] [stdout] - impl AsRef<[T]> for Vec [INFO] [stdout] where A: Allocator; [INFO] [stdout] help: consider specifying the generic argument [INFO] [stdout] | [INFO] [stdout] 150 | .constraints::<&T>(constraints.as_ref()) [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed [INFO] [stdout] --> src/bin/../custom/ui.rs:200:4 [INFO] [stdout] | [INFO] [stdout] 200 | .constraints(constraints.as_ref()) [INFO] [stdout] | ^^^^^^^^^^^ ------ type must be known at this point [INFO] [stdout] | | [INFO] [stdout] | cannot infer type of the type parameter `C` declared on the method `constraints` [INFO] [stdout] | [INFO] [stdout] = note: multiple `impl`s satisfying `Vec: AsRef<_>` found in the `alloc` crate: [INFO] [stdout] - impl AsRef> for Vec [INFO] [stdout] where A: Allocator; [INFO] [stdout] - impl AsRef<[T]> for Vec [INFO] [stdout] where A: Allocator; [INFO] [stdout] help: consider specifying the generic argument [INFO] [stdout] | [INFO] [stdout] 200 | .constraints::<&T>(constraints.as_ref()) [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed [INFO] [stdout] --> src/bin/../custom/ui.rs:200:4 [INFO] [stdout] | [INFO] [stdout] 200 | .constraints(constraints.as_ref()) [INFO] [stdout] | ^^^^^^^^^^^ ------ type must be known at this point [INFO] [stdout] | | [INFO] [stdout] | cannot infer type of the type parameter `C` declared on the method `constraints` [INFO] [stdout] | [INFO] [stdout] = note: multiple `impl`s satisfying `Vec: AsRef<_>` found in the `alloc` crate: [INFO] [stdout] - impl AsRef> for Vec [INFO] [stdout] where A: Allocator; [INFO] [stdout] - impl AsRef<[T]> for Vec [INFO] [stdout] where A: Allocator; [INFO] [stdout] help: consider specifying the generic argument [INFO] [stdout] | [INFO] [stdout] 200 | .constraints::<&T>(constraints.as_ref()) [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed [INFO] [stdout] --> src/bin/../custom/ui.rs:150:4 [INFO] [stdout] | [INFO] [stdout] 150 | .constraints(constraints.as_ref()) [INFO] [stdout] | ^^^^^^^^^^^ ------ type must be known at this point [INFO] [stdout] | | [INFO] [stdout] | cannot infer type of the type parameter `C` declared on the method `constraints` [INFO] [stdout] | [INFO] [stdout] = note: multiple `impl`s satisfying `Vec: AsRef<_>` found in the `alloc` crate: [INFO] [stdout] - impl AsRef> for Vec [INFO] [stdout] where A: Allocator; [INFO] [stdout] - impl AsRef<[T]> for Vec [INFO] [stdout] where A: Allocator; [INFO] [stdout] help: consider specifying the generic argument [INFO] [stdout] | [INFO] [stdout] 150 | .constraints::<&T>(constraints.as_ref()) [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed [INFO] [stdout] --> src/bin/../custom/ui.rs:200:4 [INFO] [stdout] | [INFO] [stdout] 200 | .constraints(constraints.as_ref()) [INFO] [stdout] | ^^^^^^^^^^^ ------ type must be known at this point [INFO] [stdout] | | [INFO] [stdout] | cannot infer type of the type parameter `C` declared on the method `constraints` [INFO] [stdout] | [INFO] [stdout] = note: multiple `impl`s satisfying `Vec: AsRef<_>` found in the `alloc` crate: [INFO] [stdout] - impl AsRef> for Vec [INFO] [stdout] where A: Allocator; [INFO] [stdout] - impl AsRef<[T]> for Vec [INFO] [stdout] where A: Allocator; [INFO] [stdout] help: consider specifying the generic argument [INFO] [stdout] | [INFO] [stdout] 200 | .constraints::<&T>(constraints.as_ref()) [INFO] [stdout] | ++++++ [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 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 `index` is assigned to, but never used [INFO] [stdout] --> src/bin/../custom/app.rs:93:11 [INFO] [stdout] | [INFO] [stdout] 93 | let mut index = 0; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_index` instead [INFO] [stdout] = note: `#[warn(unused_variables)]` 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 `index` is assigned to, but never used [INFO] [stdout] --> src/bin/../custom/app.rs:93:11 [INFO] [stdout] | [INFO] [stdout] 93 | let mut index = 0; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_index` instead [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/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: 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] [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: `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: variable `index` is assigned to, but never used [INFO] [stdout] --> src/bin/../custom/app.rs:93:11 [INFO] [stdout] | [INFO] [stdout] 93 | let mut index = 0; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_index` instead [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/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] error: aborting due to 4 previous errors; 14 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0283`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors; 19 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors; 19 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0283`. [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0283`. [INFO] [stdout] [INFO] [stderr] error: could not compile `logtail` (bin "logtail-crossterm") due to 5 previous errors; 14 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [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] [stderr] error: could not compile `logtail` (bin "logtail") due to 5 previous errors; 19 warnings emitted [INFO] [stderr] error: could not compile `logtail` (bin "logtail" test) due to 5 previous errors; 19 warnings emitted [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] [INFO] [stdout] error: aborting due to 4 previous errors; 14 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0283`. [INFO] [stdout] [INFO] [stderr] error: could not compile `logtail` (bin "logtail-crossterm" test) due to 5 previous errors; 14 warnings emitted [INFO] running `Command { std: "docker" "inspect" "39ce60b5a719972fcacfe57217d7a2625d0383ff4be2f073a84a1acd162f7687", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "39ce60b5a719972fcacfe57217d7a2625d0383ff4be2f073a84a1acd162f7687", kill_on_drop: false }` [INFO] [stdout] 39ce60b5a719972fcacfe57217d7a2625d0383ff4be2f073a84a1acd162f7687