[INFO] cloning repository https://github.com/Yarten/rs_syslog_viewer [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Yarten/rs_syslog_viewer" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FYarten%2Frs_syslog_viewer", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FYarten%2Frs_syslog_viewer'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 1ad13690939c964eec5dd654eebcce53196db0f6 [INFO] checking Yarten/rs_syslog_viewer against try#b98202ad067d72e45cec8be3d5c15d86ef0fd086 for pr-155193 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FYarten%2Frs_syslog_viewer" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/Yarten/rs_syslog_viewer [INFO] finished tweaking git repo https://github.com/Yarten/rs_syslog_viewer [INFO] tweaked toml for git repo https://github.com/Yarten/rs_syslog_viewer written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/Yarten/rs_syslog_viewer on toolchain b98202ad067d72e45cec8be3d5c15d86ef0fd086 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b98202ad067d72e45cec8be3d5c15d86ef0fd086" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/Yarten/rs_syslog_viewer 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" "+b98202ad067d72e45cec8be3d5c15d86ef0fd086" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded deranged v0.5.6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+b98202ad067d72e45cec8be3d5c15d86ef0fd086" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 00c3cb630ff946abd60b0961cb879b51da3fabd33ceffe5b1ea75da59079d45f [INFO] running `Command { std: "docker" "start" "-a" "00c3cb630ff946abd60b0961cb879b51da3fabd33ceffe5b1ea75da59079d45f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "00c3cb630ff946abd60b0961cb879b51da3fabd33ceffe5b1ea75da59079d45f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "00c3cb630ff946abd60b0961cb879b51da3fabd33ceffe5b1ea75da59079d45f", kill_on_drop: false }` [INFO] [stdout] 00c3cb630ff946abd60b0961cb879b51da3fabd33ceffe5b1ea75da59079d45f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+b98202ad067d72e45cec8be3d5c15d86ef0fd086" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 46bdf53fa1faf74d6303e5ef39f87bdb09ab4b6a9d153fff7cf48c0e9b9c80bb [INFO] running `Command { std: "docker" "start" "-a" "46bdf53fa1faf74d6303e5ef39f87bdb09ab4b6a9d153fff7cf48c0e9b9c80bb", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.105 [INFO] [stderr] Compiling quote v1.0.43 [INFO] [stderr] Compiling libc v0.2.180 [INFO] [stderr] Checking allocator-api2 v0.2.21 [INFO] [stderr] Checking foldhash v0.2.0 [INFO] [stderr] Compiling thiserror v2.0.18 [INFO] [stderr] Checking smallvec v1.15.1 [INFO] [stderr] Compiling signal-hook v0.3.18 [INFO] [stderr] Compiling instability v0.3.11 [INFO] [stderr] Compiling convert_case v0.10.0 [INFO] [stderr] Checking unicode-truncate v2.0.1 [INFO] [stderr] Checking tracing-core v0.1.36 [INFO] [stderr] Checking compact_str v0.9.0 [INFO] [stderr] Compiling rustix v1.1.3 [INFO] [stderr] Checking deranged v0.5.6 [INFO] [stderr] Compiling litrs v1.0.0 [INFO] [stderr] Checking num-conv v0.2.0 [INFO] [stderr] Checking time-core v0.1.8 [INFO] [stderr] Checking futures-channel v0.3.31 [INFO] [stderr] Checking line-clipping v0.3.5 [INFO] [stderr] Checking anstyle v1.0.13 [INFO] [stderr] Compiling eyre v0.6.12 [INFO] [stderr] Compiling color-spantrace v0.3.0 [INFO] [stderr] Compiling getrandom v0.4.1 [INFO] [stderr] Checking miniz_oxide v0.8.9 [INFO] [stderr] Checking object v0.37.3 [INFO] [stderr] Checking hashbrown v0.16.1 [INFO] [stderr] Checking tracing v0.1.44 [INFO] [stderr] Checking tracing-subscriber v0.3.22 [INFO] [stderr] Checking aho-corasick v1.1.4 [INFO] [stderr] Checking indenter v0.3.4 [INFO] [stderr] Checking anstream v0.6.21 [INFO] [stderr] Checking rustc-demangle v0.1.27 [INFO] [stderr] Checking clap_lex v1.0.0 [INFO] [stderr] Checking regex-syntax v0.8.9 [INFO] [stderr] Checking notify-types v2.0.0 [INFO] [stderr] Checking chrono v0.4.43 [INFO] [stderr] Checking glob v0.3.3 [INFO] [stderr] Compiling document-features v0.2.12 [INFO] [stderr] Checking clap_builder v4.5.60 [INFO] [stderr] Checking tracing-error v0.2.1 [INFO] [stderr] Checking lru v0.16.3 [INFO] [stderr] Checking errno v0.3.14 [INFO] [stderr] Checking mio v1.1.1 [INFO] [stderr] Checking parking_lot_core v0.9.12 [INFO] [stderr] Checking time v0.3.47 [INFO] [stderr] Checking inotify-sys v0.1.5 [INFO] [stderr] Checking socket2 v0.6.1 [INFO] [stderr] Compiling syn v2.0.114 [INFO] [stderr] Checking inotify v0.11.0 [INFO] [stderr] Checking signal-hook-registry v1.4.8 [INFO] [stderr] Checking parking_lot v0.12.5 [INFO] [stderr] Checking rand v0.10.0 [INFO] [stderr] Checking notify v8.2.0 [INFO] [stderr] Checking signal-hook-mio v0.2.5 [INFO] [stderr] Checking regex-automata v0.4.14 [INFO] [stderr] Checking backtrace v0.3.76 [INFO] [stderr] Checking color-eyre v0.6.5 [INFO] [stderr] Checking regex v1.12.3 [INFO] [stderr] Compiling darling_core v0.23.0 [INFO] [stderr] Compiling thiserror-impl v2.0.18 [INFO] [stderr] Compiling strum_macros v0.27.2 [INFO] [stderr] Compiling derive_more-impl v2.1.1 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling tokio-macros v2.6.0 [INFO] [stderr] Compiling clap_derive v4.5.55 [INFO] [stderr] Compiling enum_dispatch v0.3.13 [INFO] [stderr] Checking tokio v1.49.0 [INFO] [stderr] Checking derive_more v2.1.1 [INFO] [stderr] Checking crossterm v0.29.0 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Checking kasuari v0.4.11 [INFO] [stderr] Checking strum v0.27.2 [INFO] [stderr] Checking ratatui-core v0.1.0 [INFO] [stderr] Checking clap v4.5.60 [INFO] [stderr] Compiling darling_macro v0.23.0 [INFO] [stderr] Compiling darling v0.23.0 [INFO] [stderr] Checking ratatui-widgets v0.3.0 [INFO] [stderr] Checking ratatui-crossterm v0.1.0 [INFO] [stderr] Checking ratatui-macros v0.7.0 [INFO] [stderr] Checking ratatui v0.30.0 [INFO] [stderr] Checking futures-executor v0.3.31 [INFO] [stderr] Checking futures v0.3.31 [INFO] [stderr] Checking tokio-util v0.7.18 [INFO] [stderr] Checking rs_syslog_viewer v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> src/app/page/debug_page.rs:12:10 [INFO] [stdout] | [INFO] [stdout] 12 | text::{self, Span}, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Styled` [INFO] [stdout] --> src/app/page/help_page.rs:11:11 [INFO] [stdout] | [INFO] [stdout] 11 | style::{Styled, Stylize}, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around function argument [INFO] [stdout] --> src/app/time_matcher.rs:219:43 [INFO] [stdout] | [INFO] [stdout] 219 | None => return Err(String::from(("Wrong format: empty definition !"))), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 219 - None => return Err(String::from(("Wrong format: empty definition !"))), [INFO] [stdout] 219 + None => return Err(String::from("Wrong format: empty definition !" )), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `MetadataEvent` [INFO] [stdout] --> src/file/head_reader.rs:7:27 [INFO] [stdout] | [INFO] [stdout] 7 | watcher::{ChangedEvent, MetadataEvent}, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/file/head_reader.rs:116:18 [INFO] [stdout] | [INFO] [stdout] 116 | if (event.send(&tx).await) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 116 - if (event.send(&tx).await) { [INFO] [stdout] 116 + if event.send(&tx).await { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `MetadataEvent` [INFO] [stdout] --> src/file/reader.rs:5:13 [INFO] [stdout] | [INFO] [stdout] 5 | watcher::{MetadataEvent, Watcher}, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `anyhow` [INFO] [stdout] --> src/file/reader.rs:7:24 [INFO] [stdout] | [INFO] [stdout] 7 | use ::anyhow::{Result, anyhow}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/file/tail_reader.rs:198:18 [INFO] [stdout] | [INFO] [stdout] 198 | if (event.send(&tx).await) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 198 - if (event.send(&tx).await) { [INFO] [stdout] 198 + if event.send(&tx).await { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> src/file/watcher.rs:14:8 [INFO] [stdout] | [INFO] [stdout] 14 | io::{self}, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `collections::BTreeMap` [INFO] [stdout] --> src/log/data_board.rs:3:11 [INFO] [stdout] | [INFO] [stdout] 3 | use std::{collections::BTreeMap, path::PathBuf}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::log::LogLine` [INFO] [stdout] --> src/log/iterator.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::log::LogLine; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> src/app/page/debug_page.rs:12:10 [INFO] [stdout] | [INFO] [stdout] 12 | text::{self, Span}, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Styled` [INFO] [stdout] --> src/app/page/help_page.rs:11:11 [INFO] [stdout] | [INFO] [stdout] 11 | style::{Styled, Stylize}, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around function argument [INFO] [stdout] --> src/app/time_matcher.rs:219:43 [INFO] [stdout] | [INFO] [stdout] 219 | None => return Err(String::from(("Wrong format: empty definition !"))), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 219 - None => return Err(String::from(("Wrong format: empty definition !"))), [INFO] [stdout] 219 + None => return Err(String::from("Wrong format: empty definition !" )), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `MetadataEvent` [INFO] [stdout] --> src/file/head_reader.rs:7:27 [INFO] [stdout] | [INFO] [stdout] 7 | watcher::{ChangedEvent, MetadataEvent}, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/file/head_reader.rs:116:18 [INFO] [stdout] | [INFO] [stdout] 116 | if (event.send(&tx).await) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 116 - if (event.send(&tx).await) { [INFO] [stdout] 116 + if event.send(&tx).await { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `MetadataEvent` [INFO] [stdout] --> src/file/reader.rs:5:13 [INFO] [stdout] | [INFO] [stdout] 5 | watcher::{MetadataEvent, Watcher}, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `anyhow` [INFO] [stdout] --> src/file/reader.rs:7:24 [INFO] [stdout] | [INFO] [stdout] 7 | use ::anyhow::{Result, anyhow}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/file/tail_reader.rs:198:18 [INFO] [stdout] | [INFO] [stdout] 198 | if (event.send(&tx).await) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 198 - if (event.send(&tx).await) { [INFO] [stdout] 198 + if event.send(&tx).await { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> src/file/watcher.rs:14:8 [INFO] [stdout] | [INFO] [stdout] 14 | io::{self}, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `collections::BTreeMap` [INFO] [stdout] --> src/log/data_board.rs:3:11 [INFO] [stdout] | [INFO] [stdout] 3 | use std::{collections::BTreeMap, path::PathBuf}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ops::DerefMut` [INFO] [stdout] --> src/log/data_board.rs:126:7 [INFO] [stdout] | [INFO] [stdout] 126 | use std::ops::DerefMut; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::log::LogLine` [INFO] [stdout] --> src/log/iterator.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::log::LogLine; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `AsyncBufReadExt` [INFO] [stdout] --> src/file/reader.rs:17:8 [INFO] [stdout] | [INFO] [stdout] 17 | io::{AsyncBufReadExt, AsyncReadExt, AsyncSeekExt}, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `AsyncBufReadExt` [INFO] [stdout] --> src/file/reader.rs:17:8 [INFO] [stdout] | [INFO] [stdout] 17 | io::{AsyncBufReadExt, AsyncReadExt, AsyncSeekExt}, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `state` [INFO] [stdout] --> src/app/page/help_page.rs:21:50 [INFO] [stdout] | [INFO] [stdout] 21 | fn render(&self, area: Rect, buf: &mut Buffer, state: &PageState) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_state` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `state` [INFO] [stdout] --> src/app/page/help_page.rs:21:50 [INFO] [stdout] | [INFO] [stdout] 21 | fn render(&self, area: Rect, buf: &mut Buffer, state: &PageState) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_state` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Then` is never used [INFO] [stdout] --> src/app/then.rs:3:11 [INFO] [stdout] | [INFO] [stdout] 3 | pub trait Then { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `file` is never read [INFO] [stdout] --> src/file/head_reader.rs:19:3 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct HeadReader { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 19 | file: File, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `file` is never read [INFO] [stdout] --> src/file/tail_reader.rs:19:3 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct TailReader { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 19 | file: File, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `is_empty` is never used [INFO] [stdout] --> src/log/log_file_content.rs:49:6 [INFO] [stdout] | [INFO] [stdout] 32 | impl Chunk { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 49 | fn is_empty(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified [INFO] [stdout] --> src/file/reader.rs:186:3 [INFO] [stdout] | [INFO] [stdout] 186 | async fn start(&mut self) -> Result<()>; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future` [INFO] [stdout] = note: `#[warn(async_fn_in_trait)]` on by default [INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change [INFO] [stdout] | [INFO] [stdout] 186 - async fn start(&mut self) -> Result<()>; [INFO] [stdout] 186 + fn start(&mut self) -> impl std::future::Future> + Send; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified [INFO] [stdout] --> src/file/reader.rs:189:3 [INFO] [stdout] | [INFO] [stdout] 189 | async fn stop(&mut self) -> Result<()>; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future` [INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change [INFO] [stdout] | [INFO] [stdout] 189 - async fn stop(&mut self) -> Result<()>; [INFO] [stdout] 189 + fn stop(&mut self) -> impl std::future::Future> + Send; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified [INFO] [stdout] --> src/file/reader.rs:192:3 [INFO] [stdout] | [INFO] [stdout] 192 | async fn changed(&mut self) -> Option>; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future` [INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change [INFO] [stdout] | [INFO] [stdout] 192 - async fn changed(&mut self) -> Option>; [INFO] [stdout] 192 + fn changed(&mut self) -> impl std::future::Future>> + Send; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified [INFO] [stdout] --> src/file/reader.rs:199:3 [INFO] [stdout] | [INFO] [stdout] 199 | async fn open(path: &Path, config: Config) -> Result; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future` [INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change [INFO] [stdout] | [INFO] [stdout] 199 - async fn open(path: &Path, config: Config) -> Result; [INFO] [stdout] 199 + fn open(path: &Path, config: Config) -> impl std::future::Future> + Send; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Then` is never used [INFO] [stdout] --> src/app/then.rs:3:11 [INFO] [stdout] | [INFO] [stdout] 3 | pub trait Then { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `file` is never read [INFO] [stdout] --> src/file/head_reader.rs:19:3 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct HeadReader { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 19 | file: File, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `file` is never read [INFO] [stdout] --> src/file/tail_reader.rs:19:3 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct TailReader { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 19 | file: File, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `is_empty` is never used [INFO] [stdout] --> src/log/log_file_content.rs:49:6 [INFO] [stdout] | [INFO] [stdout] 32 | impl Chunk { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 49 | fn is_empty(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified [INFO] [stdout] --> src/file/reader.rs:186:3 [INFO] [stdout] | [INFO] [stdout] 186 | async fn start(&mut self) -> Result<()>; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future` [INFO] [stdout] = note: `#[warn(async_fn_in_trait)]` on by default [INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change [INFO] [stdout] | [INFO] [stdout] 186 - async fn start(&mut self) -> Result<()>; [INFO] [stdout] 186 + fn start(&mut self) -> impl std::future::Future> + Send; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified [INFO] [stdout] --> src/file/reader.rs:189:3 [INFO] [stdout] | [INFO] [stdout] 189 | async fn stop(&mut self) -> Result<()>; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future` [INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change [INFO] [stdout] | [INFO] [stdout] 189 - async fn stop(&mut self) -> Result<()>; [INFO] [stdout] 189 + fn stop(&mut self) -> impl std::future::Future> + Send; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified [INFO] [stdout] --> src/file/reader.rs:192:3 [INFO] [stdout] | [INFO] [stdout] 192 | async fn changed(&mut self) -> Option>; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future` [INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change [INFO] [stdout] | [INFO] [stdout] 192 - async fn changed(&mut self) -> Option>; [INFO] [stdout] 192 + fn changed(&mut self) -> impl std::future::Future>> + Send; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified [INFO] [stdout] --> src/file/reader.rs:199:3 [INFO] [stdout] | [INFO] [stdout] 199 | async fn open(path: &Path, config: Config) -> Result; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future` [INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change [INFO] [stdout] | [INFO] [stdout] 199 - async fn open(path: &Path, config: Config) -> Result; [INFO] [stdout] 199 + fn open(path: &Path, config: Config) -> impl std::future::Future> + Send; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Event` [INFO] [stdout] --> tests/test_log_file.rs:1:40 [INFO] [stdout] | [INFO] [stdout] 1 | use rs_syslog_viewer::log::{DataBoard, Event, LogFile, LogLine}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `HashSet` [INFO] [stdout] --> tests/test_log_file.rs:2:34 [INFO] [stdout] | [INFO] [stdout] 2 | use std::collections::{BTreeSet, HashSet}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Index` [INFO] [stdout] --> tests/test_rotated_log.rs:2:48 [INFO] [stdout] | [INFO] [stdout] 2 | use rs_syslog_viewer::log::{Config, DataBoard, Index, IterNextNth, LogLine, RotatedLog}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `collect_mut_lines` is never used [INFO] [stdout] --> tests/common/mod.rs:37:8 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn collect_mut_lines<'a, I>(i: impl Iterator) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `read_all_files_as_lines` is never used [INFO] [stdout] --> tests/common/mod.rs:41:8 [INFO] [stdout] | [INFO] [stdout] 41 | pub fn read_all_files_as_lines(root: &Path, name: &str) -> Option> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/bin/generate_test_data2.rs:68:7 [INFO] [stdout] | [INFO] [stdout] 68 | let mut tags = vec![ [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/bin/generate_test_data2.rs:68:7 [INFO] [stdout] | [INFO] [stdout] 68 | let mut tags = vec![ [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `all_tags` is never used [INFO] [stdout] --> tests/common/mod.rs:22:8 [INFO] [stdout] | [INFO] [stdout] 22 | pub fn all_tags(content: &Vec) -> BTreeSet { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `collect_lines` is never used [INFO] [stdout] --> tests/common/mod.rs:33:8 [INFO] [stdout] | [INFO] [stdout] 33 | pub fn collect_lines<'a, I>(i: impl Iterator) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `collect_mut_lines` is never used [INFO] [stdout] --> tests/common/mod.rs:37:8 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn collect_mut_lines<'a, I>(i: impl Iterator) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `read_all_files_as_lines` is never used [INFO] [stdout] --> tests/common/mod.rs:41:8 [INFO] [stdout] | [INFO] [stdout] 41 | pub fn read_all_files_as_lines(root: &Path, name: &str) -> Option> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> tests/test_log_hub.rs:30:7 [INFO] [stdout] | [INFO] [stdout] 30 | for i in 0..5 { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_test_log` is never used [INFO] [stdout] --> tests/common/mod.rs:12:8 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn get_test_log() -> PathBuf { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `all_tags` is never used [INFO] [stdout] --> tests/common/mod.rs:22:8 [INFO] [stdout] | [INFO] [stdout] 22 | pub fn all_tags(content: &Vec) -> BTreeSet { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `collect_lines` is never used [INFO] [stdout] --> tests/common/mod.rs:33:8 [INFO] [stdout] | [INFO] [stdout] 33 | pub fn collect_lines<'a, I>(i: impl Iterator) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> tests/test_rotated_log.rs:109:11 [INFO] [stdout] | [INFO] [stdout] 109 | let mut tags = data_board.get_tags_mut(); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `postfix` is never used [INFO] [stdout] --> tests/test_rotated_log.rs:11:4 [INFO] [stdout] | [INFO] [stdout] 11 | fn postfix(log_path: &Path, n: i32) -> PathBuf { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 17.29s [INFO] running `Command { std: "docker" "inspect" "46bdf53fa1faf74d6303e5ef39f87bdb09ab4b6a9d153fff7cf48c0e9b9c80bb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "46bdf53fa1faf74d6303e5ef39f87bdb09ab4b6a9d153fff7cf48c0e9b9c80bb", kill_on_drop: false }` [INFO] [stdout] 46bdf53fa1faf74d6303e5ef39f87bdb09ab4b6a9d153fff7cf48c0e9b9c80bb