[INFO] cloning repository https://github.com/ForInfinity/rgrep [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ForInfinity/rgrep" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FForInfinity%2Frgrep", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FForInfinity%2Frgrep'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 56c127c513ec62ef8381ac69f28c64b174486377 [INFO] testing ForInfinity/rgrep against beta-2022-04-10 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FForInfinity%2Frgrep" "/workspace/builds/worker-3/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/ForInfinity/rgrep on toolchain beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/ForInfinity/rgrep [INFO] finished tweaking git repo https://github.com/ForInfinity/rgrep [INFO] tweaked toml for git repo https://github.com/ForInfinity/rgrep written to /workspace/builds/worker-3/source/Cargo.toml [INFO] crate git repo https://github.com/ForInfinity/rgrep already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] ff4504e9a86ec9d10627a4b91b7efc18b05b50dfae10bfa3ce6962f03826cfb8 [INFO] running `Command { std: "docker" "start" "-a" "ff4504e9a86ec9d10627a4b91b7efc18b05b50dfae10bfa3ce6962f03826cfb8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ff4504e9a86ec9d10627a4b91b7efc18b05b50dfae10bfa3ce6962f03826cfb8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ff4504e9a86ec9d10627a4b91b7efc18b05b50dfae10bfa3ce6962f03826cfb8", kill_on_drop: false }` [INFO] [stdout] ff4504e9a86ec9d10627a4b91b7efc18b05b50dfae10bfa3ce6962f03826cfb8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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=warn" "-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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 2280300793ce2fa6b92f2591968150aa5474bdce0d3a0bc9ef7577278fa1b3db [INFO] running `Command { std: "docker" "start" "-a" "2280300793ce2fa6b92f2591968150aa5474bdce0d3a0bc9ef7577278fa1b3db", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.120 [INFO] [stderr] Compiling syn v1.0.89 [INFO] [stderr] Compiling parking_lot_core v0.9.1 [INFO] [stderr] Compiling textwrap v0.15.0 [INFO] [stderr] Compiling bstr v0.2.17 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling globset v0.4.8 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling socket2 v0.4.4 [INFO] [stderr] Compiling mio v0.8.1 [INFO] [stderr] Compiling num_cpus v1.13.1 [INFO] [stderr] Compiling signal-hook-registry v1.4.0 [INFO] [stderr] Compiling colored v2.0.0 [INFO] [stderr] Compiling parking_lot v0.12.0 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling clap_derive v3.1.4 [INFO] [stderr] Compiling tokio-macros v1.7.0 [INFO] [stderr] Compiling async-trait v0.1.52 [INFO] [stderr] Compiling tokio v1.17.0 [INFO] [stderr] Compiling clap v3.1.6 [INFO] [stderr] Compiling rgrep v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::ops::Deref` [INFO] [stdout] --> src/fs/tokio_fs_reader.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::ops::Deref; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `DirEntry` [INFO] [stdout] --> src/fs/tokio_fs_reader.rs:4:17 [INFO] [stdout] | [INFO] [stdout] 4 | use tokio::fs::{DirEntry, File, read_dir, ReadDir}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `anyhow::Result` [INFO] [stdout] --> src/fs/tokio_fs_reader.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use anyhow::Result; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ColoredString`, `Style` [INFO] [stdout] --> src/format/colored_formatter.rs:1:15 [INFO] [stdout] | [INFO] [stdout] 1 | use colored::{ColoredString, Colorize, Style}; [INFO] [stdout] | ^^^^^^^^^^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fmt::Display` [INFO] [stdout] --> src/main.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::fmt::Display; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ArgEnum`, `Subcommand` [INFO] [stdout] --> src/main.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | use clap::{ArgEnum, Parser, Subcommand}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/format/colored_formatter.rs:115:13 [INFO] [stdout] | [INFO] [stdout] 115 | _ => self.error_notice(&format!("Unknown Notice Command: {:?}", notice), None, None) [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `err` [INFO] [stdout] --> src/fs/tokio_fs_reader.rs:18:17 [INFO] [stdout] | [INFO] [stdout] 18 | Err(err) => None, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_err` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `text` [INFO] [stdout] --> src/pattern/wildcard_match.rs:25:28 [INFO] [stdout] | [INFO] [stdout] 25 | fn match_result(&self, text: &str) -> Vec { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_text` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `PlainNotice` [INFO] [stdout] --> src/format/mod.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | PlainNotice(&'a str) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `Notice` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/format/mod.rs:7:10 [INFO] [stdout] | [INFO] [stdout] 7 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `print_text` [INFO] [stdout] --> src/printer.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn print_text(&self,text: &str) [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `print_notice` [INFO] [stdout] --> src/printer.rs:28:12 [INFO] [stdout] | [INFO] [stdout] 28 | pub fn print_notice(&self,text: &str) [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Verbose` [INFO] [stdout] --> src/format/colored_formatter.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | Verbose, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 13 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 00s [INFO] running `Command { std: "docker" "inspect" "2280300793ce2fa6b92f2591968150aa5474bdce0d3a0bc9ef7577278fa1b3db", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2280300793ce2fa6b92f2591968150aa5474bdce0d3a0bc9ef7577278fa1b3db", kill_on_drop: false }` [INFO] [stdout] 2280300793ce2fa6b92f2591968150aa5474bdce0d3a0bc9ef7577278fa1b3db [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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=warn" "-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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] a3fb771f62776164b3843b0aad9532be41776dcc5068a7d58b2689a5c7530b2f [INFO] running `Command { std: "docker" "start" "-a" "a3fb771f62776164b3843b0aad9532be41776dcc5068a7d58b2689a5c7530b2f", kill_on_drop: false }` [INFO] [stderr] Compiling rgrep v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::ops::Deref` [INFO] [stdout] --> src/fs/tokio_fs_reader.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::ops::Deref; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `DirEntry` [INFO] [stdout] --> src/fs/tokio_fs_reader.rs:4:17 [INFO] [stdout] | [INFO] [stdout] 4 | use tokio::fs::{DirEntry, File, read_dir, ReadDir}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `anyhow::Result` [INFO] [stdout] --> src/fs/tokio_fs_reader.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use anyhow::Result; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ColoredString`, `Style` [INFO] [stdout] --> src/format/colored_formatter.rs:1:15 [INFO] [stdout] | [INFO] [stdout] 1 | use colored::{ColoredString, Colorize, Style}; [INFO] [stdout] | ^^^^^^^^^^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fmt::Display` [INFO] [stdout] --> src/main.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::fmt::Display; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ArgEnum`, `Subcommand` [INFO] [stdout] --> src/main.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | use clap::{ArgEnum, Parser, Subcommand}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/format/colored_formatter.rs:115:13 [INFO] [stdout] | [INFO] [stdout] 115 | _ => self.error_notice(&format!("Unknown Notice Command: {:?}", notice), None, None) [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `err` [INFO] [stdout] --> src/fs/tokio_fs_reader.rs:18:17 [INFO] [stdout] | [INFO] [stdout] 18 | Err(err) => None, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_err` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `text` [INFO] [stdout] --> src/pattern/wildcard_match.rs:25:28 [INFO] [stdout] | [INFO] [stdout] 25 | fn match_result(&self, text: &str) -> Vec { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_text` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `PlainNotice` [INFO] [stdout] --> src/format/mod.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | PlainNotice(&'a str) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `Notice` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/format/mod.rs:7:10 [INFO] [stdout] | [INFO] [stdout] 7 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `print_text` [INFO] [stdout] --> src/printer.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn print_text(&self,text: &str) [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `print_notice` [INFO] [stdout] --> src/printer.rs:28:12 [INFO] [stdout] | [INFO] [stdout] 28 | pub fn print_notice(&self,text: &str) [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Verbose` [INFO] [stdout] --> src/format/colored_formatter.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | Verbose, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 13 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 3.07s [INFO] [stderr] Executable unittests src/main.rs (/opt/rustwide/target/debug/deps/rgrep-628686993a87d15a) [INFO] running `Command { std: "docker" "inspect" "a3fb771f62776164b3843b0aad9532be41776dcc5068a7d58b2689a5c7530b2f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a3fb771f62776164b3843b0aad9532be41776dcc5068a7d58b2689a5c7530b2f", kill_on_drop: false }` [INFO] [stdout] a3fb771f62776164b3843b0aad9532be41776dcc5068a7d58b2689a5c7530b2f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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=warn" "-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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] de5f286ed1d5bcef8bbe3340957b50650d4e4da4b1e9aa1bc236b0d0a361f7d5 [INFO] running `Command { std: "docker" "start" "-a" "de5f286ed1d5bcef8bbe3340957b50650d4e4da4b1e9aa1bc236b0d0a361f7d5", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] warning: unused import: `std::ops::Deref` [INFO] [stderr] --> src/fs/tokio_fs_reader.rs:2:5 [INFO] [stderr] | [INFO] [stderr] 2 | use std::ops::Deref; [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `DirEntry` [INFO] [stderr] --> src/fs/tokio_fs_reader.rs:4:17 [INFO] [stderr] | [INFO] [stderr] 4 | use tokio::fs::{DirEntry, File, read_dir, ReadDir}; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `anyhow::Result` [INFO] [stderr] --> src/fs/tokio_fs_reader.rs:8:5 [INFO] [stderr] | [INFO] [stderr] 8 | use anyhow::Result; [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `ColoredString`, `Style` [INFO] [stderr] --> src/format/colored_formatter.rs:1:15 [INFO] [stderr] | [INFO] [stderr] 1 | use colored::{ColoredString, Colorize, Style}; [INFO] [stderr] | ^^^^^^^^^^^^^ ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::fmt::Display` [INFO] [stderr] --> src/main.rs:6:5 [INFO] [stderr] | [INFO] [stderr] 6 | use std::fmt::Display; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `ArgEnum`, `Subcommand` [INFO] [stderr] --> src/main.rs:8:12 [INFO] [stderr] | [INFO] [stderr] 8 | use clap::{ArgEnum, Parser, Subcommand}; [INFO] [stderr] | ^^^^^^^ ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unreachable pattern [INFO] [stderr] --> src/format/colored_formatter.rs:115:13 [INFO] [stderr] | [INFO] [stderr] 115 | _ => self.error_notice(&format!("Unknown Notice Command: {:?}", notice), None, None) [INFO] [stderr] | ^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `err` [INFO] [stderr] --> src/fs/tokio_fs_reader.rs:18:17 [INFO] [stderr] | [INFO] [stderr] 18 | Err(err) => None, [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_err` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `text` [INFO] [stderr] --> src/pattern/wildcard_match.rs:25:28 [INFO] [stderr] | [INFO] [stderr] 25 | fn match_result(&self, text: &str) -> Vec { [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_text` [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `PlainNotice` [INFO] [stderr] --> src/format/mod.rs:12:5 [INFO] [stderr] | [INFO] [stderr] 12 | PlainNotice(&'a str) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] note: `Notice` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/format/mod.rs:7:10 [INFO] [stderr] | [INFO] [stderr] 7 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `print_text` [INFO] [stderr] --> src/printer.rs:23:12 [INFO] [stderr] | [INFO] [stderr] 23 | pub fn print_text(&self,text: &str) [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `print_notice` [INFO] [stderr] --> src/printer.rs:28:12 [INFO] [stderr] | [INFO] [stderr] 28 | pub fn print_notice(&self,text: &str) [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Verbose` [INFO] [stderr] --> src/format/colored_formatter.rs:6:5 [INFO] [stderr] | [INFO] [stderr] 6 | Verbose, [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `rgrep` (bin "rgrep" test) generated 13 warnings [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 53.00s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/rgrep-628686993a87d15a) [INFO] [stdout] [INFO] [stdout] running 7 tests [INFO] [stdout] test pattern::full_match::tests::full_match_match_should_work ... ok [INFO] [stdout] test pattern::full_match::tests::full_match_position_should_work ... ok [INFO] [stdout] test pattern::regex_match::tests::regex_position_should_work ... ok [INFO] [stdout] test pattern::full_match::tests::full_match_rule_should_work ... ok [INFO] [stdout] test pattern::wildcard_match::tests::wilecard_match_should_work ... ok [INFO] [stdout] test pattern::regex_match::tests::regex_match_should_work ... ok [INFO] [stdout] test pattern::regex_match::tests::regex_rule_should_work ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 7 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.02s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "de5f286ed1d5bcef8bbe3340957b50650d4e4da4b1e9aa1bc236b0d0a361f7d5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "de5f286ed1d5bcef8bbe3340957b50650d4e4da4b1e9aa1bc236b0d0a361f7d5", kill_on_drop: false }` [INFO] [stdout] de5f286ed1d5bcef8bbe3340957b50650d4e4da4b1e9aa1bc236b0d0a361f7d5