[INFO] cloning repository https://github.com/Dbachtiar/ripgrep [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Dbachtiar/ripgrep" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDbachtiar%2Fripgrep", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDbachtiar%2Fripgrep'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 4ebe8375ec69769674a1c2270f2ec32eee1a944c [INFO] checking Dbachtiar/ripgrep against master#385fa9d845dd326c6bbfd58c22244215e431948a for absurd-question-mark-desugar [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDbachtiar%2Fripgrep" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Dbachtiar/ripgrep on toolchain 385fa9d845dd326c6bbfd58c22244215e431948a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Dbachtiar/ripgrep [INFO] removed 0 missing tests [INFO] finished tweaking git repo https://github.com/Dbachtiar/ripgrep [INFO] tweaked toml for git repo https://github.com/Dbachtiar/ripgrep written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/Dbachtiar/ripgrep 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" "+385fa9d845dd326c6bbfd58c22244215e431948a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded pcre2 v0.2.3 [INFO] [stderr] Downloaded packed_simd_2 v0.3.4 [INFO] [stderr] Downloaded serde_derive v1.0.119 [INFO] [stderr] Downloaded bstr v0.2.14 [INFO] [stderr] Downloaded regex v1.4.4 [INFO] [stderr] Downloaded serde v1.0.119 [INFO] [stderr] Downloaded encoding_rs v0.8.26 [INFO] [stderr] Downloaded pcre2-sys v0.2.5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 470b7bc482fcae04d0bac6efeb0cffa1cec44e6d4bf87ae29a5da0fe0701a0c5 [INFO] running `Command { std: "docker" "start" "-a" "470b7bc482fcae04d0bac6efeb0cffa1cec44e6d4bf87ae29a5da0fe0701a0c5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "470b7bc482fcae04d0bac6efeb0cffa1cec44e6d4bf87ae29a5da0fe0701a0c5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "470b7bc482fcae04d0bac6efeb0cffa1cec44e6d4bf87ae29a5da0fe0701a0c5", kill_on_drop: false }` [INFO] [stdout] 470b7bc482fcae04d0bac6efeb0cffa1cec44e6d4bf87ae29a5da0fe0701a0c5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5868e6a5e0072513e89b8e81174265139b051162d2180a015fa34b7e1a9918f4 [INFO] running `Command { std: "docker" "start" "-a" "5868e6a5e0072513e89b8e81174265139b051162d2180a015fa34b7e1a9918f4", kill_on_drop: false }` [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Compiling libc v0.2.82 [INFO] [stderr] Compiling log v0.4.13 [INFO] [stderr] Checking byteorder v1.4.2 [INFO] [stderr] Checking regex-syntax v0.6.23 [INFO] [stderr] Checking once_cell v1.5.2 [INFO] [stderr] Compiling encoding_rs v0.8.26 [INFO] [stderr] Compiling serde v1.0.119 [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling serde_json v1.0.61 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Checking itoa v0.4.7 [INFO] [stderr] Checking bytecount v0.6.2 [INFO] [stderr] Compiling syn v1.0.58 [INFO] [stderr] Compiling crossbeam-utils v0.8.1 [INFO] [stderr] Compiling serde_derive v1.0.119 [INFO] [stderr] Checking walkdir v2.3.1 [INFO] [stderr] Checking thread_local v1.1.2 [INFO] [stderr] Compiling unicode-width v0.1.8 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Checking regex-automata v0.1.9 [INFO] [stderr] Checking clap v2.33.3 [INFO] [stderr] Checking glob v0.3.0 [INFO] [stderr] Checking aho-corasick v0.7.15 [INFO] [stderr] Checking bstr v0.2.14 [INFO] [stderr] Checking grep-matcher v0.1.4 (/opt/rustwide/workdir/crates/matcher) [INFO] [stderr] Checking crossbeam-channel v0.5.0 [INFO] [stderr] Compiling jobserver v0.1.21 [INFO] [stderr] Compiling quote v1.0.8 [INFO] [stderr] Compiling cc v1.0.66 [INFO] [stderr] Checking memmap2 v0.2.0 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking encoding_rs_io v0.1.7 [INFO] [stderr] Checking grep-searcher v0.1.7 (/opt/rustwide/workdir/crates/searcher) [INFO] [stdout] warning: the item `bytecount` is imported redundantly [INFO] [stdout] --> crates/searcher/src/lines.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use bytecount; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: crates/searcher/src/lib.rs:103:1 [INFO] [stdout] | [INFO] [stdout] 103 | extern crate bytecount; [INFO] [stdout] | ----------------------- the item `bytecount` is already imported here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `encoding_rs` is imported redundantly [INFO] [stdout] --> crates/searcher/src/searcher/mod.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use encoding_rs; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: crates/searcher/src/lib.rs:104:1 [INFO] [stdout] | [INFO] [stdout] 104 | extern crate encoding_rs; [INFO] [stdout] | ------------------------- the item `encoding_rs` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `config` is never read [INFO] [stdout] --> crates/searcher/src/searcher/glue.rs:91:5 [INFO] [stdout] | [INFO] [stdout] 90 | pub struct SliceByLine<'s, M: 's, S> { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] 91 | 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] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `line_term` is never read [INFO] [stdout] --> crates/searcher/src/sink.rs:425:16 [INFO] [stdout] | [INFO] [stdout] 424 | pub struct SinkContext<'b> { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] 425 | 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: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking regex v1.4.4 [INFO] [stderr] Compiling pcre2-sys v0.2.5 [INFO] [stderr] Checking pcre2 v0.2.3 [INFO] [stderr] Checking globset v0.4.6 (/opt/rustwide/workdir/crates/globset) [INFO] [stderr] Checking grep-regex v0.1.8 (/opt/rustwide/workdir/crates/regex) [INFO] [stdout] warning: the item `regex` is imported redundantly [INFO] [stdout] --> crates/globset/src/glob.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use regex; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: crates/globset/src/lib.rs:111:1 [INFO] [stdout] | [INFO] [stdout] 111 | extern crate regex; [INFO] [stdout] | ------------------- the item `regex` is already imported here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `LineMatchKind` is imported redundantly [INFO] [stdout] --> crates/regex/src/matcher.rs:955:24 [INFO] [stdout] | [INFO] [stdout] 954 | use super::*; [INFO] [stdout] | -------- the item `LineMatchKind` is already imported here [INFO] [stdout] 955 | use grep_matcher::{LineMatchKind, Matcher}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Matcher` is imported redundantly [INFO] [stdout] --> crates/regex/src/matcher.rs:955:39 [INFO] [stdout] | [INFO] [stdout] 954 | use super::*; [INFO] [stdout] | -------- the item `Matcher` is already imported here [INFO] [stdout] 955 | use grep_matcher::{LineMatchKind, Matcher}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking grep-pcre2 v0.1.4 (/opt/rustwide/workdir/crates/pcre2) [INFO] [stdout] warning: the item `Matcher` is imported redundantly [INFO] [stdout] --> crates/pcre2/src/matcher.rs:389:39 [INFO] [stdout] | [INFO] [stdout] 388 | use super::*; [INFO] [stdout] | -------- the item `Matcher` is already imported here [INFO] [stdout] 389 | use grep_matcher::{LineMatchKind, Matcher}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking grep-cli v0.1.5 (/opt/rustwide/workdir/crates/cli) [INFO] [stderr] Checking ignore v0.4.17 (/opt/rustwide/workdir/crates/ignore) [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `termcolor` is imported redundantly [INFO] [stdout] --> crates/cli/src/wtr.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use termcolor; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: crates/cli/src/lib.rs:170:1 [INFO] [stdout] | [INFO] [stdout] 170 | extern crate termcolor; [INFO] [stdout] | ----------------------- the item `termcolor` is already imported here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `walkdir` is imported redundantly [INFO] [stdout] --> crates/ignore/src/walk.rs:14:15 [INFO] [stdout] | [INFO] [stdout] 14 | use walkdir::{self, WalkDir}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] ::: crates/ignore/src/lib.rs:58:1 [INFO] [stdout] | [INFO] [stdout] 58 | extern crate walkdir; [INFO] [stdout] | --------------------- the item `walkdir` is already imported here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `termcolor` is imported redundantly [INFO] [stdout] --> crates/cli/src/wtr.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use termcolor; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: crates/cli/src/lib.rs:170:1 [INFO] [stdout] | [INFO] [stdout] 170 | extern crate termcolor; [INFO] [stdout] | ----------------------- the item `termcolor` is already imported here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `walkdir` is imported redundantly [INFO] [stdout] --> crates/ignore/src/walk.rs:14:15 [INFO] [stdout] | [INFO] [stdout] 14 | use walkdir::{self, WalkDir}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] ::: crates/ignore/src/lib.rs:58:1 [INFO] [stdout] | [INFO] [stdout] 58 | extern crate walkdir; [INFO] [stdout] | --------------------- the item `walkdir` is already imported here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `ByteSlice` is imported redundantly [INFO] [stdout] --> crates/searcher/src/line_buffer.rs:545:16 [INFO] [stdout] | [INFO] [stdout] 544 | use super::*; [INFO] [stdout] | -------- the item `ByteSlice` is already imported here [INFO] [stdout] 545 | use bstr::{ByteSlice, ByteVec}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `bytecount` is imported redundantly [INFO] [stdout] --> crates/searcher/src/lines.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use bytecount; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: crates/searcher/src/lib.rs:103:1 [INFO] [stdout] | [INFO] [stdout] 103 | extern crate bytecount; [INFO] [stdout] | ----------------------- the item `bytecount` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Match` is imported redundantly [INFO] [stdout] --> crates/searcher/src/lines.rs:200:9 [INFO] [stdout] | [INFO] [stdout] 199 | use super::*; [INFO] [stdout] | -------- the item `Match` is already imported here [INFO] [stdout] 200 | use grep_matcher::Match; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `encoding_rs` is imported redundantly [INFO] [stdout] --> crates/searcher/src/searcher/mod.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use encoding_rs; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: crates/searcher/src/lib.rs:104:1 [INFO] [stdout] | [INFO] [stdout] 104 | extern crate encoding_rs; [INFO] [stdout] | ------------------------- the item `encoding_rs` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Match` is imported redundantly [INFO] [stdout] --> crates/searcher/src/testutil.rs:717:24 [INFO] [stdout] | [INFO] [stdout] 717 | use grep_matcher::{Match, Matcher}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] 718 | [INFO] [stdout] 719 | use super::*; [INFO] [stdout] | -------- the item `Match` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Matcher` is imported redundantly [INFO] [stdout] --> crates/searcher/src/testutil.rs:717:31 [INFO] [stdout] | [INFO] [stdout] 717 | use grep_matcher::{Match, Matcher}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 718 | [INFO] [stdout] 719 | use super::*; [INFO] [stdout] | -------- the item `Matcher` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `config` is never read [INFO] [stdout] --> crates/searcher/src/searcher/glue.rs:91:5 [INFO] [stdout] | [INFO] [stdout] 90 | pub struct SliceByLine<'s, M: 's, S> { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] 91 | 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] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> crates/ignore/src/dir.rs:33:28 [INFO] [stdout] | [INFO] [stdout] 33 | pub struct IgnoreMatch<'a>(IgnoreMatchInner<'a>); [INFO] [stdout] | ----------- ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [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] 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] 33 | pub struct IgnoreMatch<'a>(()); [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> crates/ignore/src/dir.rs:39:14 [INFO] [stdout] | [INFO] [stdout] 39 | Override(overrides::Glob<'a>), [INFO] [stdout] | -------- ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [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] 39 | Override(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> crates/ignore/src/dir.rs:40:15 [INFO] [stdout] | [INFO] [stdout] 40 | Gitignore(&'a gitignore::Glob), [INFO] [stdout] | --------- ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [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] 40 | Gitignore(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> crates/ignore/src/dir.rs:41:11 [INFO] [stdout] | [INFO] [stdout] 41 | Types(types::Glob<'a>), [INFO] [stdout] | ----- ^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [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] 41 | 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] = note: `Glob` 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] 24 | pub struct Glob<'a>(()); [INFO] [stdout] | ~~ [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] 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: fields `which` and `negated` are never read [INFO] [stdout] --> crates/ignore/src/types.rs:126:9 [INFO] [stdout] | [INFO] [stdout] 122 | Matched { [INFO] [stdout] | ------- fields in this variant [INFO] [stdout] ... [INFO] [stdout] 126 | which: usize, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 127 | /// Whether the selection was negated or not. [INFO] [stdout] 128 | negated: bool, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> crates/ignore/src/dir.rs:33:28 [INFO] [stdout] | [INFO] [stdout] 33 | pub struct IgnoreMatch<'a>(IgnoreMatchInner<'a>); [INFO] [stdout] | ----------- ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [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] 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] 33 | pub struct IgnoreMatch<'a>(()); [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> crates/ignore/src/dir.rs:39:14 [INFO] [stdout] | [INFO] [stdout] 39 | Override(overrides::Glob<'a>), [INFO] [stdout] | -------- ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [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] 39 | Override(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> crates/ignore/src/dir.rs:40:15 [INFO] [stdout] | [INFO] [stdout] 40 | Gitignore(&'a gitignore::Glob), [INFO] [stdout] | --------- ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [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] 40 | Gitignore(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> crates/ignore/src/dir.rs:41:11 [INFO] [stdout] | [INFO] [stdout] 41 | Types(types::Glob<'a>), [INFO] [stdout] | ----- ^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [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] 41 | 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] = note: `Glob` 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] 24 | pub struct Glob<'a>(()); [INFO] [stdout] | ~~ [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] 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: fields `which` and `negated` are never read [INFO] [stdout] --> crates/ignore/src/types.rs:126:9 [INFO] [stdout] | [INFO] [stdout] 122 | Matched { [INFO] [stdout] | ------- fields in this variant [INFO] [stdout] ... [INFO] [stdout] 126 | which: usize, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 127 | /// Whether the selection was negated or not. [INFO] [stdout] 128 | negated: bool, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling ripgrep v12.1.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: the item `clap` is imported redundantly [INFO] [stdout] --> crates/core/app.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 12 | use clap::{self, crate_authors, crate_version, App, AppSettings}; [INFO] [stdout] | ^^^^ the item `clap` is already defined by prelude [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `regex` is imported redundantly [INFO] [stdout] --> crates/globset/src/glob.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use regex; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: crates/globset/src/lib.rs:111:1 [INFO] [stdout] | [INFO] [stdout] 111 | extern crate regex; [INFO] [stdout] | ------------------- the item `regex` is already imported here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `pat` is never read [INFO] [stdout] --> crates/globset/src/glob.rs:147:5 [INFO] [stdout] | [INFO] [stdout] 143 | struct GlobStrategic { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 147 | pat: Glob, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `GlobStrategic` 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: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking grep-printer v0.1.5 (/opt/rustwide/workdir/crates/printer) [INFO] [stdout] warning: the item `base64` is imported redundantly [INFO] [stdout] --> crates/printer/src/jsont.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use base64; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: crates/printer/src/lib.rs:72:1 [INFO] [stdout] | [INFO] [stdout] 72 | extern crate base64; [INFO] [stdout] | -------------------- the item `base64` is already imported here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `base64` is imported redundantly [INFO] [stdout] --> crates/printer/src/jsont.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use base64; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: crates/printer/src/lib.rs:72:1 [INFO] [stdout] | [INFO] [stdout] 72 | extern crate base64; [INFO] [stdout] | -------------------- the item `base64` is already imported here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking grep v0.2.7 (/opt/rustwide/workdir/crates/grep) [INFO] [stdout] warning: the item `clap` is imported redundantly [INFO] [stdout] --> crates/core/app.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 12 | use clap::{self, crate_authors, crate_version, App, AppSettings}; [INFO] [stdout] | ^^^^ the item `clap` is already defined by prelude [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `clap` is imported redundantly [INFO] [stdout] --> crates/core/args.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use clap; [INFO] [stdout] | ^^^^ the item `clap` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `log` is imported redundantly [INFO] [stdout] --> crates/core/args.rs:33:5 [INFO] [stdout] | [INFO] [stdout] 33 | use log; [INFO] [stdout] | ^^^ the item `log` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `num_cpus` is imported redundantly [INFO] [stdout] --> crates/core/args.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 34 | use num_cpus; [INFO] [stdout] | ^^^^^^^^ the item `num_cpus` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `regex` is imported redundantly [INFO] [stdout] --> crates/core/args.rs:35:5 [INFO] [stdout] | [INFO] [stdout] 35 | use regex; [INFO] [stdout] | ^^^^^ the item `regex` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `log` is imported redundantly [INFO] [stdout] --> crates/core/config.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use log; [INFO] [stdout] | ^^^ the item `log` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `log` is imported redundantly [INFO] [stdout] --> crates/core/logger.rs:6:11 [INFO] [stdout] | [INFO] [stdout] 6 | use log::{self, Log}; [INFO] [stdout] | ^^^^ the item `log` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `ignore` is imported redundantly [INFO] [stdout] --> crates/core/subject.rs:3:14 [INFO] [stdout] | [INFO] [stdout] 3 | use ignore::{self, DirEntry}; [INFO] [stdout] | ^^^^ the item `ignore` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `log` is imported redundantly [INFO] [stdout] --> crates/core/subject.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use log; [INFO] [stdout] | ^^^ the item `log` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `clap` is imported redundantly [INFO] [stdout] --> crates/core/app.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 12 | use clap::{self, crate_authors, crate_version, App, AppSettings}; [INFO] [stdout] | ^^^^ the item `clap` is already defined by prelude [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `clap` is imported redundantly [INFO] [stdout] --> crates/core/args.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use clap; [INFO] [stdout] | ^^^^ the item `clap` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `log` is imported redundantly [INFO] [stdout] --> crates/core/args.rs:33:5 [INFO] [stdout] | [INFO] [stdout] 33 | use log; [INFO] [stdout] | ^^^ the item `log` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `num_cpus` is imported redundantly [INFO] [stdout] --> crates/core/args.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 34 | use num_cpus; [INFO] [stdout] | ^^^^^^^^ the item `num_cpus` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `regex` is imported redundantly [INFO] [stdout] --> crates/core/args.rs:35:5 [INFO] [stdout] | [INFO] [stdout] 35 | use regex; [INFO] [stdout] | ^^^^^ the item `regex` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `log` is imported redundantly [INFO] [stdout] --> crates/core/config.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use log; [INFO] [stdout] | ^^^ the item `log` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `log` is imported redundantly [INFO] [stdout] --> crates/core/logger.rs:6:11 [INFO] [stdout] | [INFO] [stdout] 6 | use log::{self, Log}; [INFO] [stdout] | ^^^^ the item `log` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `ignore` is imported redundantly [INFO] [stdout] --> crates/core/subject.rs:3:14 [INFO] [stdout] | [INFO] [stdout] 3 | use ignore::{self, DirEntry}; [INFO] [stdout] | ^^^^ the item `ignore` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `log` is imported redundantly [INFO] [stdout] --> crates/core/subject.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use log; [INFO] [stdout] | ^^^ the item `log` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `value_name` is never read [INFO] [stdout] --> crates/core/app.rs:221:9 [INFO] [stdout] | [INFO] [stdout] 217 | Positional { [INFO] [stdout] | ---------- field in this variant [INFO] [stdout] ... [INFO] [stdout] 221 | value_name: &'static str, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `long` is never read [INFO] [stdout] --> crates/core/app.rs:236:9 [INFO] [stdout] | [INFO] [stdout] 234 | Switch { [INFO] [stdout] | ------ field in this variant [INFO] [stdout] 235 | /// The long name of a flag. This is always non-empty. [INFO] [stdout] 236 | long: &'static str, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `long` and `value_name` are never read [INFO] [stdout] --> crates/core/app.rs:258:9 [INFO] [stdout] | [INFO] [stdout] 256 | Flag { [INFO] [stdout] | ---- fields in this variant [INFO] [stdout] 257 | /// The long name of a flag. This is always non-empty. [INFO] [stdout] 258 | long: &'static str, [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 265 | value_name: &'static str, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `value_name` is never read [INFO] [stdout] --> crates/core/app.rs:221:9 [INFO] [stdout] | [INFO] [stdout] 217 | Positional { [INFO] [stdout] | ---------- field in this variant [INFO] [stdout] ... [INFO] [stdout] 221 | value_name: &'static str, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `long` is never read [INFO] [stdout] --> crates/core/app.rs:236:9 [INFO] [stdout] | [INFO] [stdout] 234 | Switch { [INFO] [stdout] | ------ field in this variant [INFO] [stdout] 235 | /// The long name of a flag. This is always non-empty. [INFO] [stdout] 236 | long: &'static str, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `long` and `value_name` are never read [INFO] [stdout] --> crates/core/app.rs:258:9 [INFO] [stdout] | [INFO] [stdout] 256 | Flag { [INFO] [stdout] | ---- fields in this variant [INFO] [stdout] 257 | /// The long name of a flag. This is always non-empty. [INFO] [stdout] 258 | long: &'static str, [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 265 | value_name: &'static str, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 14.08s [INFO] running `Command { std: "docker" "inspect" "5868e6a5e0072513e89b8e81174265139b051162d2180a015fa34b7e1a9918f4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5868e6a5e0072513e89b8e81174265139b051162d2180a015fa34b7e1a9918f4", kill_on_drop: false }` [INFO] [stdout] 5868e6a5e0072513e89b8e81174265139b051162d2180a015fa34b7e1a9918f4 [INFO] checking Dbachtiar/ripgrep against try#645bb72776a6a56a1a8f52631a44bd082b2ba509 for absurd-question-mark-desugar [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDbachtiar%2Fripgrep" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Dbachtiar/ripgrep on toolchain 645bb72776a6a56a1a8f52631a44bd082b2ba509 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Dbachtiar/ripgrep [INFO] removed 0 missing tests [INFO] finished tweaking git repo https://github.com/Dbachtiar/ripgrep [INFO] tweaked toml for git repo https://github.com/Dbachtiar/ripgrep written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/Dbachtiar/ripgrep 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" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8a751348f35b2d8a5ea29afa0830bb5ec541ac3b8093df3be2aef2d9bc044ee5 [INFO] running `Command { std: "docker" "start" "-a" "8a751348f35b2d8a5ea29afa0830bb5ec541ac3b8093df3be2aef2d9bc044ee5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8a751348f35b2d8a5ea29afa0830bb5ec541ac3b8093df3be2aef2d9bc044ee5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8a751348f35b2d8a5ea29afa0830bb5ec541ac3b8093df3be2aef2d9bc044ee5", kill_on_drop: false }` [INFO] [stdout] 8a751348f35b2d8a5ea29afa0830bb5ec541ac3b8093df3be2aef2d9bc044ee5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 88fd69754b653b2b2b3e74a3b366eeeb132e8bab4137bc1f40b73812c48147ba [INFO] running `Command { std: "docker" "start" "-a" "88fd69754b653b2b2b3e74a3b366eeeb132e8bab4137bc1f40b73812c48147ba", kill_on_drop: false }` [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Compiling log v0.4.13 [INFO] [stderr] Compiling libc v0.2.82 [INFO] [stderr] Checking byteorder v1.4.2 [INFO] [stderr] Checking regex-syntax v0.6.23 [INFO] [stderr] Checking once_cell v1.5.2 [INFO] [stderr] Compiling encoding_rs v0.8.26 [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling serde v1.0.119 [INFO] [stderr] Compiling serde_json v1.0.61 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling syn v1.0.58 [INFO] [stderr] Checking bytecount v0.6.2 [INFO] [stderr] Checking itoa v0.4.7 [INFO] [stderr] Compiling crossbeam-utils v0.8.1 [INFO] [stderr] Compiling serde_derive v1.0.119 [INFO] [stderr] Checking termcolor v1.1.2 [INFO] [stderr] Checking thread_local v1.1.2 [INFO] [stderr] Checking walkdir v2.3.1 [INFO] [stderr] Compiling unicode-width v0.1.8 [INFO] [stderr] Checking regex-automata v0.1.9 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Checking clap v2.33.3 [INFO] [stderr] Checking glob v0.3.0 [INFO] [stderr] Checking aho-corasick v0.7.15 [INFO] [stderr] Checking bstr v0.2.14 [INFO] [stderr] Checking grep-matcher v0.1.4 (/opt/rustwide/workdir/crates/matcher) [INFO] [stderr] Checking crossbeam-channel v0.5.0 [INFO] [stderr] Compiling quote v1.0.8 [INFO] [stderr] Compiling jobserver v0.1.21 [INFO] [stderr] Checking memmap2 v0.2.0 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Compiling cc v1.0.66 [INFO] [stderr] Checking encoding_rs_io v0.1.7 [INFO] [stderr] Checking grep-searcher v0.1.7 (/opt/rustwide/workdir/crates/searcher) [INFO] [stdout] warning: the item `bytecount` is imported redundantly [INFO] [stdout] --> crates/searcher/src/lines.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use bytecount; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: crates/searcher/src/lib.rs:103:1 [INFO] [stdout] | [INFO] [stdout] 103 | extern crate bytecount; [INFO] [stdout] | ----------------------- the item `bytecount` is already imported here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `encoding_rs` is imported redundantly [INFO] [stdout] --> crates/searcher/src/searcher/mod.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use encoding_rs; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: crates/searcher/src/lib.rs:104:1 [INFO] [stdout] | [INFO] [stdout] 104 | extern crate encoding_rs; [INFO] [stdout] | ------------------------- the item `encoding_rs` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `config` is never read [INFO] [stdout] --> crates/searcher/src/searcher/glue.rs:91:5 [INFO] [stdout] | [INFO] [stdout] 90 | pub struct SliceByLine<'s, M: 's, S> { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] 91 | 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] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `line_term` is never read [INFO] [stdout] --> crates/searcher/src/sink.rs:425:16 [INFO] [stdout] | [INFO] [stdout] 424 | pub struct SinkContext<'b> { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] 425 | 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: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling pcre2-sys v0.2.5 [INFO] [stderr] Checking regex v1.4.4 [INFO] [stderr] Checking pcre2 v0.2.3 [INFO] [stderr] Checking grep-pcre2 v0.1.4 (/opt/rustwide/workdir/crates/pcre2) [INFO] [stdout] warning: the item `Matcher` is imported redundantly [INFO] [stdout] --> crates/pcre2/src/matcher.rs:389:39 [INFO] [stdout] | [INFO] [stdout] 388 | use super::*; [INFO] [stdout] | -------- the item `Matcher` is already imported here [INFO] [stdout] 389 | use grep_matcher::{LineMatchKind, Matcher}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling ripgrep v12.1.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: the item `clap` is imported redundantly [INFO] [stdout] --> crates/core/app.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 12 | use clap::{self, crate_authors, crate_version, App, AppSettings}; [INFO] [stdout] | ^^^^ the item `clap` is already defined by prelude [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking globset v0.4.6 (/opt/rustwide/workdir/crates/globset) [INFO] [stderr] Checking grep-regex v0.1.8 (/opt/rustwide/workdir/crates/regex) [INFO] [stdout] warning: the item `regex` is imported redundantly [INFO] [stdout] --> crates/globset/src/glob.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use regex; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: crates/globset/src/lib.rs:111:1 [INFO] [stdout] | [INFO] [stdout] 111 | extern crate regex; [INFO] [stdout] | ------------------- the item `regex` is already imported here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `LineMatchKind` is imported redundantly [INFO] [stdout] --> crates/regex/src/matcher.rs:955:24 [INFO] [stdout] | [INFO] [stdout] 954 | use super::*; [INFO] [stdout] | -------- the item `LineMatchKind` is already imported here [INFO] [stdout] 955 | use grep_matcher::{LineMatchKind, Matcher}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Matcher` is imported redundantly [INFO] [stdout] --> crates/regex/src/matcher.rs:955:39 [INFO] [stdout] | [INFO] [stdout] 954 | use super::*; [INFO] [stdout] | -------- the item `Matcher` is already imported here [INFO] [stdout] 955 | use grep_matcher::{LineMatchKind, Matcher}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking grep-cli v0.1.5 (/opt/rustwide/workdir/crates/cli) [INFO] [stderr] Checking ignore v0.4.17 (/opt/rustwide/workdir/crates/ignore) [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `termcolor` is imported redundantly [INFO] [stdout] --> crates/cli/src/wtr.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use termcolor; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: crates/cli/src/lib.rs:170:1 [INFO] [stdout] | [INFO] [stdout] 170 | extern crate termcolor; [INFO] [stdout] | ----------------------- the item `termcolor` is already imported here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `walkdir` is imported redundantly [INFO] [stdout] --> crates/ignore/src/walk.rs:14:15 [INFO] [stdout] | [INFO] [stdout] 14 | use walkdir::{self, WalkDir}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] ::: crates/ignore/src/lib.rs:58:1 [INFO] [stdout] | [INFO] [stdout] 58 | extern crate walkdir; [INFO] [stdout] | --------------------- the item `walkdir` is already imported here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `termcolor` is imported redundantly [INFO] [stdout] --> crates/cli/src/wtr.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use termcolor; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: crates/cli/src/lib.rs:170:1 [INFO] [stdout] | [INFO] [stdout] 170 | extern crate termcolor; [INFO] [stdout] | ----------------------- the item `termcolor` is already imported here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `ByteSlice` is imported redundantly [INFO] [stdout] --> crates/searcher/src/line_buffer.rs:545:16 [INFO] [stdout] | [INFO] [stdout] 544 | use super::*; [INFO] [stdout] | -------- the item `ByteSlice` is already imported here [INFO] [stdout] 545 | use bstr::{ByteSlice, ByteVec}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `bytecount` is imported redundantly [INFO] [stdout] --> crates/searcher/src/lines.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use bytecount; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: crates/searcher/src/lib.rs:103:1 [INFO] [stdout] | [INFO] [stdout] 103 | extern crate bytecount; [INFO] [stdout] | ----------------------- the item `bytecount` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Match` is imported redundantly [INFO] [stdout] --> crates/searcher/src/lines.rs:200:9 [INFO] [stdout] | [INFO] [stdout] 199 | use super::*; [INFO] [stdout] | -------- the item `Match` is already imported here [INFO] [stdout] 200 | use grep_matcher::Match; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `encoding_rs` is imported redundantly [INFO] [stdout] --> crates/searcher/src/searcher/mod.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use encoding_rs; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: crates/searcher/src/lib.rs:104:1 [INFO] [stdout] | [INFO] [stdout] 104 | extern crate encoding_rs; [INFO] [stdout] | ------------------------- the item `encoding_rs` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `walkdir` is imported redundantly [INFO] [stdout] --> crates/ignore/src/walk.rs:14:15 [INFO] [stdout] | [INFO] [stdout] 14 | use walkdir::{self, WalkDir}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] ::: crates/ignore/src/lib.rs:58:1 [INFO] [stdout] | [INFO] [stdout] 58 | extern crate walkdir; [INFO] [stdout] | --------------------- the item `walkdir` is already imported here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Match` is imported redundantly [INFO] [stdout] --> crates/searcher/src/testutil.rs:717:24 [INFO] [stdout] | [INFO] [stdout] 717 | use grep_matcher::{Match, Matcher}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] 718 | [INFO] [stdout] 719 | use super::*; [INFO] [stdout] | -------- the item `Match` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Matcher` is imported redundantly [INFO] [stdout] --> crates/searcher/src/testutil.rs:717:31 [INFO] [stdout] | [INFO] [stdout] 717 | use grep_matcher::{Match, Matcher}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 718 | [INFO] [stdout] 719 | use super::*; [INFO] [stdout] | -------- the item `Matcher` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `config` is never read [INFO] [stdout] --> crates/searcher/src/searcher/glue.rs:91:5 [INFO] [stdout] | [INFO] [stdout] 90 | pub struct SliceByLine<'s, M: 's, S> { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] 91 | 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] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> crates/ignore/src/dir.rs:33:28 [INFO] [stdout] | [INFO] [stdout] 33 | pub struct IgnoreMatch<'a>(IgnoreMatchInner<'a>); [INFO] [stdout] | ----------- ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [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] 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] 33 | pub struct IgnoreMatch<'a>(()); [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> crates/ignore/src/dir.rs:39:14 [INFO] [stdout] | [INFO] [stdout] 39 | Override(overrides::Glob<'a>), [INFO] [stdout] | -------- ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [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] 39 | Override(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> crates/ignore/src/dir.rs:40:15 [INFO] [stdout] | [INFO] [stdout] 40 | Gitignore(&'a gitignore::Glob), [INFO] [stdout] | --------- ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [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] 40 | Gitignore(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> crates/ignore/src/dir.rs:41:11 [INFO] [stdout] | [INFO] [stdout] 41 | Types(types::Glob<'a>), [INFO] [stdout] | ----- ^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [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] 41 | 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] = note: `Glob` 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] 24 | pub struct Glob<'a>(()); [INFO] [stdout] | ~~ [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] 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: fields `which` and `negated` are never read [INFO] [stdout] --> crates/ignore/src/types.rs:126:9 [INFO] [stdout] | [INFO] [stdout] 122 | Matched { [INFO] [stdout] | ------- fields in this variant [INFO] [stdout] ... [INFO] [stdout] 126 | which: usize, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 127 | /// Whether the selection was negated or not. [INFO] [stdout] 128 | negated: bool, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> crates/ignore/src/dir.rs:33:28 [INFO] [stdout] | [INFO] [stdout] 33 | pub struct IgnoreMatch<'a>(IgnoreMatchInner<'a>); [INFO] [stdout] | ----------- ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [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] 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] 33 | pub struct IgnoreMatch<'a>(()); [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> crates/ignore/src/dir.rs:39:14 [INFO] [stdout] | [INFO] [stdout] 39 | Override(overrides::Glob<'a>), [INFO] [stdout] | -------- ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [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] 39 | Override(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> crates/ignore/src/dir.rs:40:15 [INFO] [stdout] | [INFO] [stdout] 40 | Gitignore(&'a gitignore::Glob), [INFO] [stdout] | --------- ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [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] 40 | Gitignore(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> crates/ignore/src/dir.rs:41:11 [INFO] [stdout] | [INFO] [stdout] 41 | Types(types::Glob<'a>), [INFO] [stdout] | ----- ^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [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] 41 | 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] = note: `Glob` 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] 24 | pub struct Glob<'a>(()); [INFO] [stdout] | ~~ [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] 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: fields `which` and `negated` are never read [INFO] [stdout] --> crates/ignore/src/types.rs:126:9 [INFO] [stdout] | [INFO] [stdout] 122 | Matched { [INFO] [stdout] | ------- fields in this variant [INFO] [stdout] ... [INFO] [stdout] 126 | which: usize, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 127 | /// Whether the selection was negated or not. [INFO] [stdout] 128 | negated: bool, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `regex` is imported redundantly [INFO] [stdout] --> crates/globset/src/glob.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use regex; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: crates/globset/src/lib.rs:111:1 [INFO] [stdout] | [INFO] [stdout] 111 | extern crate regex; [INFO] [stdout] | ------------------- the item `regex` is already imported here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `pat` is never read [INFO] [stdout] --> crates/globset/src/glob.rs:147:5 [INFO] [stdout] | [INFO] [stdout] 143 | struct GlobStrategic { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 147 | pat: Glob, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `GlobStrategic` 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: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking grep-printer v0.1.5 (/opt/rustwide/workdir/crates/printer) [INFO] [stdout] warning: the item `base64` is imported redundantly [INFO] [stdout] --> crates/printer/src/jsont.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use base64; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: crates/printer/src/lib.rs:72:1 [INFO] [stdout] | [INFO] [stdout] 72 | extern crate base64; [INFO] [stdout] | -------------------- the item `base64` is already imported here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `base64` is imported redundantly [INFO] [stdout] --> crates/printer/src/jsont.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use base64; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: crates/printer/src/lib.rs:72:1 [INFO] [stdout] | [INFO] [stdout] 72 | extern crate base64; [INFO] [stdout] | -------------------- the item `base64` is already imported here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking grep v0.2.7 (/opt/rustwide/workdir/crates/grep) [INFO] [stdout] warning: the item `clap` is imported redundantly [INFO] [stdout] --> crates/core/app.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 12 | use clap::{self, crate_authors, crate_version, App, AppSettings}; [INFO] [stdout] | ^^^^ the item `clap` is already defined by prelude [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `clap` is imported redundantly [INFO] [stdout] --> crates/core/args.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use clap; [INFO] [stdout] | ^^^^ the item `clap` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `log` is imported redundantly [INFO] [stdout] --> crates/core/args.rs:33:5 [INFO] [stdout] | [INFO] [stdout] 33 | use log; [INFO] [stdout] | ^^^ the item `log` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `num_cpus` is imported redundantly [INFO] [stdout] --> crates/core/args.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 34 | use num_cpus; [INFO] [stdout] | ^^^^^^^^ the item `num_cpus` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `regex` is imported redundantly [INFO] [stdout] --> crates/core/args.rs:35:5 [INFO] [stdout] | [INFO] [stdout] 35 | use regex; [INFO] [stdout] | ^^^^^ the item `regex` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `log` is imported redundantly [INFO] [stdout] --> crates/core/config.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use log; [INFO] [stdout] | ^^^ the item `log` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `log` is imported redundantly [INFO] [stdout] --> crates/core/logger.rs:6:11 [INFO] [stdout] | [INFO] [stdout] 6 | use log::{self, Log}; [INFO] [stdout] | ^^^^ the item `log` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `ignore` is imported redundantly [INFO] [stdout] --> crates/core/subject.rs:3:14 [INFO] [stdout] | [INFO] [stdout] 3 | use ignore::{self, DirEntry}; [INFO] [stdout] | ^^^^ the item `ignore` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `log` is imported redundantly [INFO] [stdout] --> crates/core/subject.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use log; [INFO] [stdout] | ^^^ the item `log` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `clap` is imported redundantly [INFO] [stdout] --> crates/core/app.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 12 | use clap::{self, crate_authors, crate_version, App, AppSettings}; [INFO] [stdout] | ^^^^ the item `clap` is already defined by prelude [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `clap` is imported redundantly [INFO] [stdout] --> crates/core/args.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use clap; [INFO] [stdout] | ^^^^ the item `clap` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `log` is imported redundantly [INFO] [stdout] --> crates/core/args.rs:33:5 [INFO] [stdout] | [INFO] [stdout] 33 | use log; [INFO] [stdout] | ^^^ the item `log` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `num_cpus` is imported redundantly [INFO] [stdout] --> crates/core/args.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 34 | use num_cpus; [INFO] [stdout] | ^^^^^^^^ the item `num_cpus` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `regex` is imported redundantly [INFO] [stdout] --> crates/core/args.rs:35:5 [INFO] [stdout] | [INFO] [stdout] 35 | use regex; [INFO] [stdout] | ^^^^^ the item `regex` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `log` is imported redundantly [INFO] [stdout] --> crates/core/config.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use log; [INFO] [stdout] | ^^^ the item `log` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `log` is imported redundantly [INFO] [stdout] --> crates/core/logger.rs:6:11 [INFO] [stdout] | [INFO] [stdout] 6 | use log::{self, Log}; [INFO] [stdout] | ^^^^ the item `log` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `ignore` is imported redundantly [INFO] [stdout] --> crates/core/subject.rs:3:14 [INFO] [stdout] | [INFO] [stdout] 3 | use ignore::{self, DirEntry}; [INFO] [stdout] | ^^^^ the item `ignore` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `log` is imported redundantly [INFO] [stdout] --> crates/core/subject.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use log; [INFO] [stdout] | ^^^ the item `log` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `value_name` is never read [INFO] [stdout] --> crates/core/app.rs:221:9 [INFO] [stdout] | [INFO] [stdout] 217 | Positional { [INFO] [stdout] | ---------- field in this variant [INFO] [stdout] ... [INFO] [stdout] 221 | value_name: &'static str, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `long` is never read [INFO] [stdout] --> crates/core/app.rs:236:9 [INFO] [stdout] | [INFO] [stdout] 234 | Switch { [INFO] [stdout] | ------ field in this variant [INFO] [stdout] 235 | /// The long name of a flag. This is always non-empty. [INFO] [stdout] 236 | long: &'static str, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `long` and `value_name` are never read [INFO] [stdout] --> crates/core/app.rs:258:9 [INFO] [stdout] | [INFO] [stdout] 256 | Flag { [INFO] [stdout] | ---- fields in this variant [INFO] [stdout] 257 | /// The long name of a flag. This is always non-empty. [INFO] [stdout] 258 | long: &'static str, [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 265 | value_name: &'static str, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `value_name` is never read [INFO] [stdout] --> crates/core/app.rs:221:9 [INFO] [stdout] | [INFO] [stdout] 217 | Positional { [INFO] [stdout] | ---------- field in this variant [INFO] [stdout] ... [INFO] [stdout] 221 | value_name: &'static str, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `long` is never read [INFO] [stdout] --> crates/core/app.rs:236:9 [INFO] [stdout] | [INFO] [stdout] 234 | Switch { [INFO] [stdout] | ------ field in this variant [INFO] [stdout] 235 | /// The long name of a flag. This is always non-empty. [INFO] [stdout] 236 | long: &'static str, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `long` and `value_name` are never read [INFO] [stdout] --> crates/core/app.rs:258:9 [INFO] [stdout] | [INFO] [stdout] 256 | Flag { [INFO] [stdout] | ---- fields in this variant [INFO] [stdout] 257 | /// The long name of a flag. This is always non-empty. [INFO] [stdout] 258 | long: &'static str, [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 265 | value_name: &'static str, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 17.29s [INFO] running `Command { std: "docker" "inspect" "88fd69754b653b2b2b3e74a3b366eeeb132e8bab4137bc1f40b73812c48147ba", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "88fd69754b653b2b2b3e74a3b366eeeb132e8bab4137bc1f40b73812c48147ba", kill_on_drop: false }` [INFO] [stdout] 88fd69754b653b2b2b3e74a3b366eeeb132e8bab4137bc1f40b73812c48147ba