[INFO] cloning repository https://github.com/jessegrosjean/libripgrep_example [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/jessegrosjean/libripgrep_example" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjessegrosjean%2Flibripgrep_example", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjessegrosjean%2Flibripgrep_example'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 1ef008fc9f8949415e275aac61f77baf9ac46f71 [INFO] testing jessegrosjean/libripgrep_example 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%2Fjessegrosjean%2Flibripgrep_example" "/workspace/builds/worker-53/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-53/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/jessegrosjean/libripgrep_example 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/jessegrosjean/libripgrep_example [INFO] finished tweaking git repo https://github.com/jessegrosjean/libripgrep_example [INFO] tweaked toml for git repo https://github.com/jessegrosjean/libripgrep_example written to /workspace/builds/worker-53/source/Cargo.toml [INFO] crate git repo https://github.com/jessegrosjean/libripgrep_example 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] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-53/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-53/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8b777c31ad91858a9845a2e1e64674f39fa0608c6ef9c1a1474c5b3ba0b7406c [INFO] running `Command { std: "docker" "start" "-a" "8b777c31ad91858a9845a2e1e64674f39fa0608c6ef9c1a1474c5b3ba0b7406c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8b777c31ad91858a9845a2e1e64674f39fa0608c6ef9c1a1474c5b3ba0b7406c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8b777c31ad91858a9845a2e1e64674f39fa0608c6ef9c1a1474c5b3ba0b7406c", kill_on_drop: false }` [INFO] [stdout] 8b777c31ad91858a9845a2e1e64674f39fa0608c6ef9c1a1474c5b3ba0b7406c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-53/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-53/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8226222655f0ed8e9e95509f7dc86d879e0f094a31f05be5fa42f634cb5128cd [INFO] running `Command { std: "docker" "start" "-a" "8226222655f0ed8e9e95509f7dc86d879e0f094a31f05be5fa42f634cb5128cd", kill_on_drop: false }` [INFO] [stderr] Compiling version_check v0.1.4 [INFO] [stderr] Compiling cfg-if v0.1.4 [INFO] [stderr] Compiling scopeguard v0.3.3 [INFO] [stderr] Compiling ucd-util v0.1.1 [INFO] [stderr] Compiling regex v1.0.2 [INFO] [stderr] Compiling utf8-ranges v1.0.0 [INFO] [stderr] Compiling serde v1.0.71 [INFO] [stderr] Compiling stable_deref_trait v1.1.1 [INFO] [stderr] Compiling nodrop v0.1.12 [INFO] [stderr] Compiling memoffset v0.2.1 [INFO] [stderr] Compiling crossbeam-utils v0.5.0 [INFO] [stderr] Compiling bytecount v0.3.2 [INFO] [stderr] Compiling safemem v0.2.0 [INFO] [stderr] Compiling byteorder v1.2.4 [INFO] [stderr] Compiling termcolor v1.0.1 [INFO] [stderr] Compiling same-file v1.0.2 [INFO] [stderr] Compiling fnv v1.0.6 [INFO] [stderr] Compiling crossbeam v0.3.2 [INFO] [stderr] Compiling memchr v2.0.1 [INFO] [stderr] Compiling rand v0.4.2 [INFO] [stderr] Compiling memmap v0.6.2 [INFO] [stderr] Compiling num_cpus v1.8.0 [INFO] [stderr] Compiling unreachable v1.0.0 [INFO] [stderr] Compiling proc-macro2 v0.4.9 [INFO] [stderr] Compiling log v0.4.3 [INFO] [stderr] Compiling encoding_rs v0.8.4 [INFO] [stderr] Compiling regex-syntax v0.6.2 [INFO] [stderr] Compiling walkdir v2.2.0 [INFO] [stderr] Compiling smallvec v0.6.4 [INFO] [stderr] Compiling arrayvec v0.4.7 [INFO] [stderr] Compiling owning_ref v0.3.3 [INFO] [stderr] Compiling aho-corasick v0.6.6 [INFO] [stderr] Compiling grep-matcher v0.0.1 (/opt/rustwide/workdir/crates/grep-matcher) [INFO] [stderr] Compiling base64 v0.9.2 [INFO] [stderr] Compiling quote v0.6.5 [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> crates/grep-matcher/src/interpolate.rs:137:14 [INFO] [stdout] | [INFO] [stdout] 137 | b'0' ... b'9' | b'a' ... b'z' | b'A' ... b'Z' | b'_' => true, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(ellipsis_inclusive_range_patterns)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> crates/grep-matcher/src/interpolate.rs:137:30 [INFO] [stdout] | [INFO] [stdout] 137 | b'0' ... b'9' | b'a' ... b'z' | b'A' ... b'Z' | b'_' => true, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> crates/grep-matcher/src/interpolate.rs:137:46 [INFO] [stdout] | [INFO] [stdout] 137 | b'0' ... b'9' | b'a' ... b'z' | b'A' ... b'Z' | b'_' => true, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling lazy_static v1.1.0 [INFO] [stderr] Compiling lock_api v0.1.3 [INFO] [stderr] Compiling parking_lot_core v0.2.14 [INFO] [stderr] Compiling encoding_rs_io v0.1.1 [INFO] [stderr] Compiling syn v0.14.7 [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling parking_lot v0.6.3 [INFO] [stderr] Compiling grep-searcher v0.0.1 (/opt/rustwide/workdir/crates/grep-searcher) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> crates/grep-searcher/src/sink.rs:52:24 [INFO] [stdout] | [INFO] [stdout] 52 | impl SinkError for Box<::std::error::Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 52 | impl SinkError for Box { [INFO] [stdout] | +++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> crates/grep-searcher/src/sink.rs:53:58 [INFO] [stdout] | [INFO] [stdout] 53 | fn error_message(message: T) -> Box<::std::error::Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 53 | fn error_message(message: T) -> Box { [INFO] [stdout] | +++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> crates/grep-searcher/src/sink.rs:54:15 [INFO] [stdout] | [INFO] [stdout] 54 | Box::<::std::error::Error>::from(message.to_string()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 54 | Box::::from(message.to_string()) [INFO] [stdout] | +++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `line_term` [INFO] [stdout] --> crates/grep-searcher/src/sink.rs:346:5 [INFO] [stdout] | [INFO] [stdout] 346 | pub(crate) line_term: LineTerminator, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `SinkContext` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> crates/grep-searcher/src/sink.rs:344:10 [INFO] [stdout] | [INFO] [stdout] 344 | #[derive(Clone, Debug)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `config` [INFO] [stdout] --> crates/grep-searcher/src/searcher/glue.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | config: &'s Config, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `ReadByLine` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> crates/grep-searcher/src/searcher/glue.rs:12:10 [INFO] [stdout] | [INFO] [stdout] 12 | #[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: field is never read: `config` [INFO] [stdout] --> crates/grep-searcher/src/searcher/glue.rs:78:5 [INFO] [stdout] | [INFO] [stdout] 78 | config: &'s Config, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `SliceByLine` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> crates/grep-searcher/src/searcher/glue.rs:76:10 [INFO] [stdout] | [INFO] [stdout] 76 | #[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] [stderr] Compiling thread_local v0.3.5 [INFO] [stderr] Compiling crossbeam-epoch v0.5.2 [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling serde_json v1.0.24 [INFO] [stderr] Compiling serde_derive v1.0.71 [INFO] [stderr] Compiling crossbeam-deque v0.5.2 [INFO] [stderr] Compiling crossbeam-channel v0.2.4 [INFO] [stderr] Compiling grep-printer v0.0.1 (/opt/rustwide/workdir/crates/grep-printer) [INFO] [stderr] Compiling globset v0.4.1 (/opt/rustwide/workdir/crates/globset) [INFO] [stderr] Compiling grep-regex v0.0.1 (/opt/rustwide/workdir/crates/grep-regex) [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> crates/grep-printer/src/standard.rs:1105:17 [INFO] [stdout] | [INFO] [stdout] 1105 | let mut m = m; [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: field is never read: `pat` [INFO] [stdout] --> crates/globset/src/glob.rs:110:5 [INFO] [stdout] | [INFO] [stdout] 110 | pat: Glob, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `GlobMatcher` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> crates/globset/src/glob.rs:107:10 [INFO] [stdout] | [INFO] [stdout] 107 | #[derive(Clone, Debug)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling crossbeam v0.4.1 [INFO] [stderr] Compiling grep v0.2.0 (/opt/rustwide/workdir/crates/grep) [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling ignore v0.4.3 (/opt/rustwide/workdir/crates/ignore) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> crates/ignore/src/walk.rs:1101:12 [INFO] [stdout] | [INFO] [stdout] 1101 | f: Box) -> WalkState + Send + 'static>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 1101 - f: Box) -> WalkState + Send + 'static>, [INFO] [stdout] 1101 + f: Box) -> WalkState + Send + 'static>, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> crates/ignore/src/walk.rs:464:9 [INFO] [stdout] | [INFO] [stdout] 464 | Fn(&OsStr, &OsStr) -> cmp::Ordering + Send + Sync + 'static [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 464 - Fn(&OsStr, &OsStr) -> cmp::Ordering + Send + Sync + 'static [INFO] [stdout] 464 + dyn Fn(&OsStr, &OsStr) -> cmp::Ordering + Send + Sync + 'static [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> crates/ignore/src/walk.rs:956:31 [INFO] [stdout] | [INFO] [stdout] 956 | ) where F: FnMut() -> Box) -> WalkState + Send + 'static> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 956 - ) where F: FnMut() -> Box) -> WalkState + Send + 'static> { [INFO] [stdout] 956 + ) where F: FnMut() -> Box) -> WalkState + Send + 'static> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `core::str::::trim_right`: superseded by `trim_end` [INFO] [stdout] --> crates/ignore/src/gitignore.rs:426:25 [INFO] [stdout] | [INFO] [stdout] 426 | line = line.trim_right(); [INFO] [stdout] | ^^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_end` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> crates/ignore/src/lib.rs:271:58 [INFO] [stdout] | [INFO] [stdout] 271 | Error::WithLineNumber { ref err, .. } => err.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> crates/ignore/src/lib.rs:272:52 [INFO] [stdout] | [INFO] [stdout] 272 | Error::WithPath { ref err, .. } => err.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> crates/ignore/src/lib.rs:273:53 [INFO] [stdout] | [INFO] [stdout] 273 | Error::WithDepth { ref err, .. } => err.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> crates/ignore/src/lib.rs:275:39 [INFO] [stdout] | [INFO] [stdout] 275 | Error::Io(ref err) => err.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `def` [INFO] [stdout] --> crates/ignore/src/types.rs:329:9 [INFO] [stdout] | [INFO] [stdout] 329 | def: &'a FileTypeDef, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `GlobInner` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> crates/ignore/src/types.rs:322:10 [INFO] [stdout] | [INFO] [stdout] 322 | #[derive(Clone, Debug)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `which` [INFO] [stdout] --> crates/ignore/src/types.rs:331:9 [INFO] [stdout] | [INFO] [stdout] 331 | which: usize, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `GlobInner` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> crates/ignore/src/types.rs:322:10 [INFO] [stdout] | [INFO] [stdout] 322 | #[derive(Clone, Debug)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `negated` [INFO] [stdout] --> crates/ignore/src/types.rs:333:9 [INFO] [stdout] | [INFO] [stdout] 333 | negated: bool, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `GlobInner` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> crates/ignore/src/types.rs:322:10 [INFO] [stdout] | [INFO] [stdout] 322 | #[derive(Clone, Debug)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling libripgrep_example v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/main.rs:43:55 [INFO] [stdout] | [INFO] [stdout] 43 | pub fn scan_path(pattern: &str, path: &str) -> Result<(Vec), Box> { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 43 - pub fn scan_path(pattern: &str, path: &str) -> Result<(Vec), Box> { [INFO] [stdout] 43 + pub fn scan_path(pattern: &str, path: &str) -> Result, Box> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:43:77 [INFO] [stdout] | [INFO] [stdout] 43 | pub fn scan_path(pattern: &str, path: &str) -> Result<(Vec), Box> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 43 - pub fn scan_path(pattern: &str, path: &str) -> Result<(Vec), Box> { [INFO] [stdout] 43 + pub fn scan_path(pattern: &str, path: &str) -> Result<(Vec), Box> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 21s [INFO] running `Command { std: "docker" "inspect" "8226222655f0ed8e9e95509f7dc86d879e0f094a31f05be5fa42f634cb5128cd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8226222655f0ed8e9e95509f7dc86d879e0f094a31f05be5fa42f634cb5128cd", kill_on_drop: false }` [INFO] [stdout] 8226222655f0ed8e9e95509f7dc86d879e0f094a31f05be5fa42f634cb5128cd [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-53/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-53/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 378398a038f0962f41075843fd8abaf989b87c40a0e8bac5bb815b159c57c715 [INFO] running `Command { std: "docker" "start" "-a" "378398a038f0962f41075843fd8abaf989b87c40a0e8bac5bb815b159c57c715", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> crates/grep-matcher/src/interpolate.rs:137:14 [INFO] [stdout] | [INFO] [stdout] 137 | b'0' ... b'9' | b'a' ... b'z' | b'A' ... b'Z' | b'_' => true, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(ellipsis_inclusive_range_patterns)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> crates/grep-matcher/src/interpolate.rs:137:30 [INFO] [stdout] | [INFO] [stdout] 137 | b'0' ... b'9' | b'a' ... b'z' | b'A' ... b'Z' | b'_' => true, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> crates/grep-matcher/src/interpolate.rs:137:46 [INFO] [stdout] | [INFO] [stdout] 137 | b'0' ... b'9' | b'a' ... b'z' | b'A' ... b'Z' | b'_' => true, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> crates/grep-searcher/src/sink.rs:52:24 [INFO] [stdout] | [INFO] [stdout] 52 | impl SinkError for Box<::std::error::Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 52 | impl SinkError for Box { [INFO] [stdout] | +++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> crates/grep-searcher/src/sink.rs:53:58 [INFO] [stdout] | [INFO] [stdout] 53 | fn error_message(message: T) -> Box<::std::error::Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 53 | fn error_message(message: T) -> Box { [INFO] [stdout] | +++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> crates/grep-searcher/src/sink.rs:54:15 [INFO] [stdout] | [INFO] [stdout] 54 | Box::<::std::error::Error>::from(message.to_string()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 54 | Box::::from(message.to_string()) [INFO] [stdout] | +++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling libripgrep_example v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: field is never read: `line_term` [INFO] [stdout] --> crates/grep-searcher/src/sink.rs:346:5 [INFO] [stdout] | [INFO] [stdout] 346 | pub(crate) line_term: LineTerminator, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `SinkContext` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> crates/grep-searcher/src/sink.rs:344:10 [INFO] [stdout] | [INFO] [stdout] 344 | #[derive(Clone, Debug)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `config` [INFO] [stdout] --> crates/grep-searcher/src/searcher/glue.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | config: &'s Config, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `ReadByLine` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> crates/grep-searcher/src/searcher/glue.rs:12:10 [INFO] [stdout] | [INFO] [stdout] 12 | #[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: field is never read: `config` [INFO] [stdout] --> crates/grep-searcher/src/searcher/glue.rs:78:5 [INFO] [stdout] | [INFO] [stdout] 78 | config: &'s Config, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `SliceByLine` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> crates/grep-searcher/src/searcher/glue.rs:76:10 [INFO] [stdout] | [INFO] [stdout] 76 | #[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: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> crates/grep-printer/src/standard.rs:1105:17 [INFO] [stdout] | [INFO] [stdout] 1105 | let mut m = m; [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: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `pat` [INFO] [stdout] --> crates/globset/src/glob.rs:110:5 [INFO] [stdout] | [INFO] [stdout] 110 | pat: Glob, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `GlobMatcher` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> crates/globset/src/glob.rs:107:10 [INFO] [stdout] | [INFO] [stdout] 107 | #[derive(Clone, Debug)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> crates/ignore/src/walk.rs:1101:12 [INFO] [stdout] | [INFO] [stdout] 1101 | f: Box) -> WalkState + Send + 'static>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 1101 - f: Box) -> WalkState + Send + 'static>, [INFO] [stdout] 1101 + f: Box) -> WalkState + Send + 'static>, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> crates/ignore/src/walk.rs:464:9 [INFO] [stdout] | [INFO] [stdout] 464 | Fn(&OsStr, &OsStr) -> cmp::Ordering + Send + Sync + 'static [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 464 - Fn(&OsStr, &OsStr) -> cmp::Ordering + Send + Sync + 'static [INFO] [stdout] 464 + dyn Fn(&OsStr, &OsStr) -> cmp::Ordering + Send + Sync + 'static [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> crates/ignore/src/walk.rs:956:31 [INFO] [stdout] | [INFO] [stdout] 956 | ) where F: FnMut() -> Box) -> WalkState + Send + 'static> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 956 - ) where F: FnMut() -> Box) -> WalkState + Send + 'static> { [INFO] [stdout] 956 + ) where F: FnMut() -> Box) -> WalkState + Send + 'static> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `core::str::::trim_right`: superseded by `trim_end` [INFO] [stdout] --> crates/ignore/src/gitignore.rs:426:25 [INFO] [stdout] | [INFO] [stdout] 426 | line = line.trim_right(); [INFO] [stdout] | ^^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_end` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> crates/ignore/src/lib.rs:271:58 [INFO] [stdout] | [INFO] [stdout] 271 | Error::WithLineNumber { ref err, .. } => err.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> crates/ignore/src/lib.rs:272:52 [INFO] [stdout] | [INFO] [stdout] 272 | Error::WithPath { ref err, .. } => err.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> crates/ignore/src/lib.rs:273:53 [INFO] [stdout] | [INFO] [stdout] 273 | Error::WithDepth { ref err, .. } => err.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> crates/ignore/src/lib.rs:275:39 [INFO] [stdout] | [INFO] [stdout] 275 | Error::Io(ref err) => err.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `def` [INFO] [stdout] --> crates/ignore/src/types.rs:329:9 [INFO] [stdout] | [INFO] [stdout] 329 | def: &'a FileTypeDef, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `GlobInner` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> crates/ignore/src/types.rs:322:10 [INFO] [stdout] | [INFO] [stdout] 322 | #[derive(Clone, Debug)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `which` [INFO] [stdout] --> crates/ignore/src/types.rs:331:9 [INFO] [stdout] | [INFO] [stdout] 331 | which: usize, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `GlobInner` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> crates/ignore/src/types.rs:322:10 [INFO] [stdout] | [INFO] [stdout] 322 | #[derive(Clone, Debug)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `negated` [INFO] [stdout] --> crates/ignore/src/types.rs:333:9 [INFO] [stdout] | [INFO] [stdout] 333 | negated: bool, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `GlobInner` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> crates/ignore/src/types.rs:322:10 [INFO] [stdout] | [INFO] [stdout] 322 | #[derive(Clone, Debug)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/main.rs:43:55 [INFO] [stdout] | [INFO] [stdout] 43 | pub fn scan_path(pattern: &str, path: &str) -> Result<(Vec), Box> { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 43 - pub fn scan_path(pattern: &str, path: &str) -> Result<(Vec), Box> { [INFO] [stdout] 43 + pub fn scan_path(pattern: &str, path: &str) -> Result, Box> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:43:77 [INFO] [stdout] | [INFO] [stdout] 43 | pub fn scan_path(pattern: &str, path: &str) -> Result<(Vec), Box> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 43 - pub fn scan_path(pattern: &str, path: &str) -> Result<(Vec), Box> { [INFO] [stdout] 43 + pub fn scan_path(pattern: &str, path: &str) -> Result<(Vec), Box> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 1.67s [INFO] [stderr] Executable unittests src/main.rs (/opt/rustwide/target/debug/deps/libripgrep_example-feecb6ab3fbaff05) [INFO] running `Command { std: "docker" "inspect" "378398a038f0962f41075843fd8abaf989b87c40a0e8bac5bb815b159c57c715", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "378398a038f0962f41075843fd8abaf989b87c40a0e8bac5bb815b159c57c715", kill_on_drop: false }` [INFO] [stdout] 378398a038f0962f41075843fd8abaf989b87c40a0e8bac5bb815b159c57c715 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-53/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-53/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 194f324bf8f29672591eb8c561639baeb0fef0b0e6f573a06f1c37ca1fb67616 [INFO] running `Command { std: "docker" "start" "-a" "194f324bf8f29672591eb8c561639baeb0fef0b0e6f573a06f1c37ca1fb67616", kill_on_drop: false }` [INFO] [stderr] warning: `...` range patterns are deprecated [INFO] [stderr] --> crates/grep-matcher/src/interpolate.rs:137:14 [INFO] [stderr] | [INFO] [stderr] 137 | b'0' ... b'9' | b'a' ... b'z' | b'A' ... b'Z' | b'_' => true, [INFO] [stderr] | ^^^ help: use `..=` for an inclusive range [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(ellipsis_inclusive_range_patterns)]` on by default [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: `...` range patterns are deprecated [INFO] [stderr] --> crates/grep-matcher/src/interpolate.rs:137:30 [INFO] [stderr] | [INFO] [stderr] 137 | b'0' ... b'9' | b'a' ... b'z' | b'A' ... b'Z' | b'_' => true, [INFO] [stderr] | ^^^ help: use `..=` for an inclusive range [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: `...` range patterns are deprecated [INFO] [stderr] --> crates/grep-matcher/src/interpolate.rs:137:46 [INFO] [stderr] | [INFO] [stderr] 137 | b'0' ... b'9' | b'a' ... b'z' | b'A' ... b'Z' | b'_' => true, [INFO] [stderr] | ^^^ help: use `..=` for an inclusive range [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: `grep-matcher` (lib) generated 3 warnings [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> crates/grep-searcher/src/sink.rs:52:24 [INFO] [stderr] | [INFO] [stderr] 52 | impl SinkError for Box<::std::error::Error> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 52 | impl SinkError for Box { [INFO] [stderr] | +++++ + [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> crates/grep-searcher/src/sink.rs:53:58 [INFO] [stderr] | [INFO] [stderr] 53 | fn error_message(message: T) -> Box<::std::error::Error> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 53 | fn error_message(message: T) -> Box { [INFO] [stderr] | +++++ + [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> crates/grep-searcher/src/sink.rs:54:15 [INFO] [stderr] | [INFO] [stderr] 54 | Box::<::std::error::Error>::from(message.to_string()) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 54 | Box::::from(message.to_string()) [INFO] [stderr] | +++++ + [INFO] [stderr] [INFO] [stderr] warning: field is never read: `line_term` [INFO] [stderr] --> crates/grep-searcher/src/sink.rs:346:5 [INFO] [stderr] | [INFO] [stderr] 346 | pub(crate) line_term: LineTerminator, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] note: `SinkContext` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> crates/grep-searcher/src/sink.rs:344:10 [INFO] [stderr] | [INFO] [stderr] 344 | #[derive(Clone, Debug)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `config` [INFO] [stderr] --> crates/grep-searcher/src/searcher/glue.rs:14:5 [INFO] [stderr] | [INFO] [stderr] 14 | config: &'s Config, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `ReadByLine` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> crates/grep-searcher/src/searcher/glue.rs:12:10 [INFO] [stderr] | [INFO] [stderr] 12 | #[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: field is never read: `config` [INFO] [stderr] --> crates/grep-searcher/src/searcher/glue.rs:78:5 [INFO] [stderr] | [INFO] [stderr] 78 | config: &'s Config, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `SliceByLine` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> crates/grep-searcher/src/searcher/glue.rs:76:10 [INFO] [stderr] | [INFO] [stderr] 76 | #[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: `grep-searcher` (lib) generated 6 warnings [INFO] [stderr] warning: field is never read: `pat` [INFO] [stderr] --> crates/globset/src/glob.rs:110:5 [INFO] [stderr] | [INFO] [stderr] 110 | pat: Glob, [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] note: `GlobMatcher` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> crates/globset/src/glob.rs:107:10 [INFO] [stderr] | [INFO] [stderr] 107 | #[derive(Clone, Debug)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> crates/grep-printer/src/standard.rs:1105:17 [INFO] [stderr] | [INFO] [stderr] 1105 | let mut m = m; [INFO] [stderr] | ----^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_mut)]` on by default [INFO] [stderr] [INFO] [stderr] warning: `globset` (lib) generated 1 warning [INFO] [stderr] warning: `grep-printer` (lib) generated 1 warning [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> crates/ignore/src/walk.rs:1101:12 [INFO] [stderr] | [INFO] [stderr] 1101 | f: Box) -> WalkState + Send + 'static>, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 1101 - f: Box) -> WalkState + Send + 'static>, [INFO] [stderr] 1101 + f: Box) -> WalkState + Send + 'static>, [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> crates/ignore/src/walk.rs:464:9 [INFO] [stderr] | [INFO] [stderr] 464 | Fn(&OsStr, &OsStr) -> cmp::Ordering + Send + Sync + 'static [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 464 - Fn(&OsStr, &OsStr) -> cmp::Ordering + Send + Sync + 'static [INFO] [stderr] 464 + dyn Fn(&OsStr, &OsStr) -> cmp::Ordering + Send + Sync + 'static [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> crates/ignore/src/walk.rs:956:31 [INFO] [stderr] | [INFO] [stderr] 956 | ) where F: FnMut() -> Box) -> WalkState + Send + 'static> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 956 - ) where F: FnMut() -> Box) -> WalkState + Send + 'static> { [INFO] [stderr] 956 + ) where F: FnMut() -> Box) -> WalkState + Send + 'static> { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `core::str::::trim_right`: superseded by `trim_end` [INFO] [stderr] --> crates/ignore/src/gitignore.rs:426:25 [INFO] [stderr] | [INFO] [stderr] 426 | line = line.trim_right(); [INFO] [stderr] | ^^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_end` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stderr] --> crates/ignore/src/lib.rs:271:58 [INFO] [stderr] | [INFO] [stderr] 271 | Error::WithLineNumber { ref err, .. } => err.description(), [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stderr] --> crates/ignore/src/lib.rs:272:52 [INFO] [stderr] | [INFO] [stderr] 272 | Error::WithPath { ref err, .. } => err.description(), [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stderr] --> crates/ignore/src/lib.rs:273:53 [INFO] [stderr] | [INFO] [stderr] 273 | Error::WithDepth { ref err, .. } => err.description(), [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stderr] --> crates/ignore/src/lib.rs:275:39 [INFO] [stderr] | [INFO] [stderr] 275 | Error::Io(ref err) => err.description(), [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field is never read: `def` [INFO] [stderr] --> crates/ignore/src/types.rs:329:9 [INFO] [stderr] | [INFO] [stderr] 329 | def: &'a FileTypeDef, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] note: `GlobInner` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> crates/ignore/src/types.rs:322:10 [INFO] [stderr] | [INFO] [stderr] 322 | #[derive(Clone, Debug)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `which` [INFO] [stderr] --> crates/ignore/src/types.rs:331:9 [INFO] [stderr] | [INFO] [stderr] 331 | which: usize, [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `GlobInner` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> crates/ignore/src/types.rs:322:10 [INFO] [stderr] | [INFO] [stderr] 322 | #[derive(Clone, Debug)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `negated` [INFO] [stderr] --> crates/ignore/src/types.rs:333:9 [INFO] [stderr] | [INFO] [stderr] 333 | negated: bool, [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `GlobInner` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> crates/ignore/src/types.rs:322:10 [INFO] [stderr] | [INFO] [stderr] 322 | #[derive(Clone, Debug)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: `ignore` (lib) generated 11 warnings [INFO] [stderr] warning: unnecessary parentheses around type [INFO] [stderr] --> src/main.rs:43:55 [INFO] [stderr] | [INFO] [stderr] 43 | pub fn scan_path(pattern: &str, path: &str) -> Result<(Vec), Box> { [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_parens)]` on by default [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 43 - pub fn scan_path(pattern: &str, path: &str) -> Result<(Vec), Box> { [INFO] [stderr] 43 + pub fn scan_path(pattern: &str, path: &str) -> Result, Box> { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/main.rs:43:77 [INFO] [stderr] | [INFO] [stderr] 43 | pub fn scan_path(pattern: &str, path: &str) -> Result<(Vec), Box> { [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 43 - pub fn scan_path(pattern: &str, path: &str) -> Result<(Vec), Box> { [INFO] [stderr] 43 + pub fn scan_path(pattern: &str, path: &str) -> Result<(Vec), Box> { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: `libripgrep_example` (bin "libripgrep_example" test) generated 2 warnings [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.06s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/libripgrep_example-feecb6ab3fbaff05) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "194f324bf8f29672591eb8c561639baeb0fef0b0e6f573a06f1c37ca1fb67616", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "194f324bf8f29672591eb8c561639baeb0fef0b0e6f573a06f1c37ca1fb67616", kill_on_drop: false }` [INFO] [stdout] 194f324bf8f29672591eb8c561639baeb0fef0b0e6f573a06f1c37ca1fb67616