[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] checking jessegrosjean/libripgrep_example against master#1f12b9b0fdbe735968ac002792a720f0ba4faca6 for crater-rollup-uwu [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjessegrosjean%2Flibripgrep_example" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/jessegrosjean/libripgrep_example on toolchain 1f12b9b0fdbe735968ac002792a720f0ba4faca6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "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-7-tc1/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: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded wincolor v1.0.0 [INFO] [stderr] Downloaded serde_json v1.0.24 [INFO] [stderr] Downloaded termcolor v1.0.1 [INFO] [stderr] Downloaded bytecount v0.3.2 [INFO] [stderr] Downloaded simd v0.2.2 [INFO] [stderr] Downloaded quote v0.6.5 [INFO] [stderr] Downloaded serde_derive v1.0.71 [INFO] [stderr] Downloaded parking_lot v0.6.3 [INFO] [stderr] Downloaded serde v1.0.71 [INFO] [stderr] Downloaded crossbeam-channel v0.2.4 [INFO] [stderr] Downloaded syn v0.14.7 [INFO] [stderr] Downloaded smallvec v0.6.4 [INFO] [stderr] Downloaded byteorder v1.2.4 [INFO] [stderr] Downloaded encoding_rs_io v0.1.1 [INFO] [stderr] Downloaded walkdir v2.2.0 [INFO] [stderr] Downloaded encoding_rs v0.8.4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 97315dd067dcd4856bffa7e4359129a0625b100b19da12999444fada0a4b6af5 [INFO] running `Command { std: "docker" "start" "-a" "97315dd067dcd4856bffa7e4359129a0625b100b19da12999444fada0a4b6af5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "97315dd067dcd4856bffa7e4359129a0625b100b19da12999444fada0a4b6af5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "97315dd067dcd4856bffa7e4359129a0625b100b19da12999444fada0a4b6af5", kill_on_drop: false }` [INFO] [stdout] 97315dd067dcd4856bffa7e4359129a0625b100b19da12999444fada0a4b6af5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2f2d9dccc260862c227a4ec6064e1bbf3ea25c21ed243454d106df800219b82c [INFO] running `Command { std: "docker" "start" "-a" "2f2d9dccc260862c227a4ec6064e1bbf3ea25c21ed243454d106df800219b82c", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Checking libc v0.2.43 [INFO] [stderr] Compiling version_check v0.1.4 [INFO] [stderr] Checking cfg-if v0.1.4 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Checking scopeguard v0.3.3 [INFO] [stderr] Compiling regex v1.0.2 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Checking ucd-util v0.1.1 [INFO] [stderr] Compiling serde v1.0.71 [INFO] [stderr] Checking utf8-ranges v1.0.0 [INFO] [stderr] Checking stable_deref_trait v1.1.1 [INFO] [stderr] Checking nodrop v0.1.12 [INFO] [stderr] Checking crossbeam-utils v0.5.0 [INFO] [stderr] Checking memoffset v0.2.1 [INFO] [stderr] Checking rand_core v0.2.1 [INFO] [stderr] Checking safemem v0.2.0 [INFO] [stderr] Checking bytecount v0.3.2 [INFO] [stderr] Checking byteorder v1.2.4 [INFO] [stderr] Checking owning_ref v0.3.3 [INFO] [stderr] Checking log v0.4.3 [INFO] [stderr] Checking unreachable v1.0.0 [INFO] [stderr] Compiling proc-macro2 v0.4.9 [INFO] [stderr] Checking arrayvec v0.4.7 [INFO] [stderr] Checking encoding_rs v0.8.4 [INFO] [stderr] Checking regex-syntax v0.6.2 [INFO] [stderr] Checking smallvec v0.6.4 [INFO] [stderr] Checking itoa v0.4.2 [INFO] [stderr] Checking dtoa v0.4.3 [INFO] [stderr] Checking fnv v1.0.6 [INFO] [stderr] Checking same-file v1.0.2 [INFO] [stderr] Checking lock_api v0.1.3 [INFO] [stderr] Checking termcolor v1.0.1 [INFO] [stderr] Checking crossbeam v0.3.2 [INFO] [stderr] Checking walkdir v2.2.0 [INFO] [stderr] Compiling lazy_static v1.1.0 [INFO] [stderr] Checking base64 v0.9.2 [INFO] [stderr] Checking memchr v2.0.1 [INFO] [stderr] Checking rand v0.4.2 [INFO] [stderr] Checking memmap v0.6.2 [INFO] [stderr] Checking rand v0.5.5 [INFO] [stderr] Checking num_cpus v1.8.0 [INFO] [stderr] Compiling quote v0.6.5 [INFO] [stderr] Checking aho-corasick v0.6.6 [INFO] [stderr] Checking grep-matcher v0.0.1 (/opt/rustwide/workdir/crates/grep-matcher) [INFO] [stderr] Compiling syn v0.14.7 [INFO] [stderr] Checking thread_local v0.3.5 [INFO] [stderr] Checking crossbeam-epoch v0.5.2 [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] = 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] = note: `#[warn(ellipsis_inclusive_range_patterns)]` on by default [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] [stderr] Checking crossbeam-deque v0.5.2 [INFO] [stderr] Checking parking_lot_core v0.2.14 [INFO] [stderr] Checking parking_lot v0.6.3 [INFO] [stderr] Checking crossbeam-channel v0.2.4 [INFO] [stderr] Checking encoding_rs_io v0.1.1 [INFO] [stderr] Checking 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: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] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is an object-safe trait, 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:52:24 [INFO] [stdout] | [INFO] [stdout] 52 | impl SinkError for 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: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 52 | impl SinkError for Box { [INFO] [stdout] | +++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking crossbeam v0.4.1 [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: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 54 | Box::::from(message.to_string()) [INFO] [stdout] | +++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `config` is never read [INFO] [stdout] --> crates/grep-searcher/src/searcher/glue.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct ReadByLine<'s, M: 's, R, S> { [INFO] [stdout] | ---------- field in this struct [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] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `config` is never read [INFO] [stdout] --> crates/grep-searcher/src/searcher/glue.rs:78:5 [INFO] [stdout] | [INFO] [stdout] 77 | pub struct SliceByLine<'s, M: 's, S> { [INFO] [stdout] | ----------- field in this struct [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] [INFO] [stdout] [INFO] [stdout] warning: field `line_term` is never read [INFO] [stdout] --> crates/grep-searcher/src/sink.rs:346:16 [INFO] [stdout] | [INFO] [stdout] 345 | pub struct SinkContext<'b> { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] 346 | pub(crate) line_term: LineTerminator, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SinkContext` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling serde_derive v1.0.71 [INFO] [stderr] Checking grep-regex v0.0.1 (/opt/rustwide/workdir/crates/grep-regex) [INFO] [stderr] Checking globset v0.4.1 (/opt/rustwide/workdir/crates/globset) [INFO] [stdout] warning: field `pat` is never read [INFO] [stdout] --> crates/globset/src/glob.rs:110:5 [INFO] [stdout] | [INFO] [stdout] 108 | pub struct GlobMatcher { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] 109 | /// The underlying pattern. [INFO] [stdout] 110 | pat: Glob, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `GlobMatcher` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking 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: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] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [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:1101:12 [INFO] [stdout] | [INFO] [stdout] 1101 | f: 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: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [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: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: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 956 | ) where F: FnMut() -> Box) -> WalkState + Send + 'static> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `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] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] help: replace the use of the deprecated method [INFO] [stdout] | [INFO] [stdout] 426 | line = line.trim_end(); [INFO] [stdout] | ~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `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 method `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 method `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 method `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] [stderr] Checking serde_json v1.0.24 [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> crates/ignore/src/dir.rs:30:28 [INFO] [stdout] | [INFO] [stdout] 30 | pub struct IgnoreMatch<'a>(IgnoreMatchInner<'a>); [INFO] [stdout] | ----------- ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `IgnoreMatch` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> crates/ignore/src/dir.rs:36:14 [INFO] [stdout] | [INFO] [stdout] 36 | Override(overrides::Glob<'a>), [INFO] [stdout] | -------- ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `IgnoreMatchInner` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 36 | Override(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> crates/ignore/src/dir.rs:37:15 [INFO] [stdout] | [INFO] [stdout] 37 | Gitignore(&'a gitignore::Glob), [INFO] [stdout] | --------- ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `IgnoreMatchInner` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 37 | Gitignore(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> crates/ignore/src/dir.rs:38:11 [INFO] [stdout] | [INFO] [stdout] 38 | Types(types::Glob<'a>), [INFO] [stdout] | ----- ^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `IgnoreMatchInner` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 38 | Types(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> crates/ignore/src/overrides.rs:24:21 [INFO] [stdout] | [INFO] [stdout] 24 | pub struct Glob<'a>(GlobInner<'a>); [INFO] [stdout] | ---- ^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `Glob` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> crates/ignore/src/overrides.rs:31:13 [INFO] [stdout] | [INFO] [stdout] 31 | Matched(&'a gitignore::Glob), [INFO] [stdout] | ------- ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [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] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 31 | Matched(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> crates/ignore/src/types.rs:320:21 [INFO] [stdout] | [INFO] [stdout] 320 | pub struct Glob<'a>(GlobInner<'a>); [INFO] [stdout] | ---- ^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `Glob` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `def`, `which`, and `negated` are never read [INFO] [stdout] --> crates/ignore/src/types.rs:329:9 [INFO] [stdout] | [INFO] [stdout] 327 | Matched { [INFO] [stdout] | ------- fields in this variant [INFO] [stdout] 328 | /// The file type definition which provided the glob. [INFO] [stdout] 329 | def: &'a FileTypeDef, [INFO] [stdout] | ^^^ [INFO] [stdout] 330 | /// The index of the glob that matched inside the file type definition. [INFO] [stdout] 331 | which: usize, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 332 | /// Whether the selection was negated or not. [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] [INFO] [stdout] [INFO] [stdout] warning: 16 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking grep-printer v0.0.1 (/opt/rustwide/workdir/crates/grep-printer) [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] [stderr] Checking grep v0.2.0 (/opt/rustwide/workdir/crates/grep) [INFO] [stderr] Checking 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: 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] = 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] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 43 | pub fn scan_path(pattern: &str, path: &str) -> Result<(Vec), 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] = 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] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [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] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 3.47s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: syn v0.14.7 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "2f2d9dccc260862c227a4ec6064e1bbf3ea25c21ed243454d106df800219b82c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2f2d9dccc260862c227a4ec6064e1bbf3ea25c21ed243454d106df800219b82c", kill_on_drop: false }` [INFO] [stdout] 2f2d9dccc260862c227a4ec6064e1bbf3ea25c21ed243454d106df800219b82c [INFO] checking jessegrosjean/libripgrep_example against try#f9935d29d867449445ee008640ccca1bf1ae0889+rustflags=-Dtail_expr_drop_order for crater-rollup-uwu [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjessegrosjean%2Flibripgrep_example" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/jessegrosjean/libripgrep_example on toolchain f9935d29d867449445ee008640ccca1bf1ae0889 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f9935d29d867449445ee008640ccca1bf1ae0889" "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-7-tc2/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: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f9935d29d867449445ee008640ccca1bf1ae0889" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+f9935d29d867449445ee008640ccca1bf1ae0889" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c507aeeeb930dcdbaedd5c3a657889e8785903af56f722473ac74f63cb430174 [INFO] running `Command { std: "docker" "start" "-a" "c507aeeeb930dcdbaedd5c3a657889e8785903af56f722473ac74f63cb430174", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c507aeeeb930dcdbaedd5c3a657889e8785903af56f722473ac74f63cb430174", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c507aeeeb930dcdbaedd5c3a657889e8785903af56f722473ac74f63cb430174", kill_on_drop: false }` [INFO] [stdout] c507aeeeb930dcdbaedd5c3a657889e8785903af56f722473ac74f63cb430174 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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 -Dtail_expr_drop_order" "-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+f9935d29d867449445ee008640ccca1bf1ae0889" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 70feea24134e94212d58a08afb085167a88f7ff1abf19678db56051b27631256 [INFO] running `Command { std: "docker" "start" "-a" "70feea24134e94212d58a08afb085167a88f7ff1abf19678db56051b27631256", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Checking libc v0.2.43 [INFO] [stderr] Checking cfg-if v0.1.4 [INFO] [stderr] Compiling version_check v0.1.4 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Checking ucd-util v0.1.1 [INFO] [stderr] Compiling regex v1.0.2 [INFO] [stderr] Checking scopeguard v0.3.3 [INFO] [stderr] Checking stable_deref_trait v1.1.1 [INFO] [stderr] Compiling serde v1.0.71 [INFO] [stderr] Checking utf8-ranges v1.0.0 [INFO] [stderr] Checking nodrop v0.1.12 [INFO] [stderr] Checking crossbeam-utils v0.5.0 [INFO] [stderr] Checking memoffset v0.2.1 [INFO] [stderr] Checking itoa v0.4.2 [INFO] [stderr] Checking dtoa v0.4.3 [INFO] [stderr] Checking log v0.4.3 [INFO] [stderr] Checking unreachable v1.0.0 [INFO] [stderr] Checking encoding_rs v0.8.4 [INFO] [stderr] Checking arrayvec v0.4.7 [INFO] [stderr] Compiling proc-macro2 v0.4.9 [INFO] [stderr] Checking owning_ref v0.3.3 [INFO] [stderr] Checking bytecount v0.3.2 [INFO] [stderr] Checking regex-syntax v0.6.2 [INFO] [stderr] Checking smallvec v0.6.4 [INFO] [stderr] Checking rand_core v0.2.1 [INFO] [stderr] Checking byteorder v1.2.4 [INFO] [stderr] Checking safemem v0.2.0 [INFO] [stderr] Checking termcolor v1.0.1 [INFO] [stderr] Checking fnv v1.0.6 [INFO] [stderr] Checking same-file v1.0.2 [INFO] [stderr] Checking lock_api v0.1.3 [INFO] [stderr] Checking crossbeam v0.3.2 [INFO] [stderr] Checking walkdir v2.2.0 [INFO] [stderr] Compiling lazy_static v1.1.0 [INFO] [stderr] Checking base64 v0.9.2 [INFO] [stderr] Compiling quote v0.6.5 [INFO] [stderr] Checking memchr v2.0.1 [INFO] [stderr] Checking rand v0.4.2 [INFO] [stderr] Checking memmap v0.6.2 [INFO] [stderr] Checking rand v0.5.5 [INFO] [stderr] Checking num_cpus v1.8.0 [INFO] [stderr] Compiling syn v0.14.7 [INFO] [stderr] Checking aho-corasick v0.6.6 [INFO] [stderr] Checking grep-matcher v0.0.1 (/opt/rustwide/workdir/crates/grep-matcher) [INFO] [stderr] Checking thread_local v0.3.5 [INFO] [stderr] Checking crossbeam-epoch v0.5.2 [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] = 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] = note: `#[warn(ellipsis_inclusive_range_patterns)]` on by default [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] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> crates/grep-matcher/src/lib.rs:555:9 [INFO] [stdout] | [INFO] [stdout] 551 | mut matched: F, [INFO] [stdout] | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 555 | self.try_find_iter(haystack, |m| Ok(matched(m))) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> crates/grep-matcher/src/lib.rs:631:9 [INFO] [stdout] | [INFO] [stdout] 627 | mut matched: F, [INFO] [stdout] | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 631 | self.try_captures_iter(haystack, caps, |caps| Ok(matched(caps))) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors; 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `grep-matcher` (lib) due to 3 previous errors; 3 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "70feea24134e94212d58a08afb085167a88f7ff1abf19678db56051b27631256", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "70feea24134e94212d58a08afb085167a88f7ff1abf19678db56051b27631256", kill_on_drop: false }` [INFO] [stdout] 70feea24134e94212d58a08afb085167a88f7ff1abf19678db56051b27631256