[INFO] cloning repository https://github.com/RainyDevil/minigrep [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/RainyDevil/minigrep" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FRainyDevil%2Fminigrep", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FRainyDevil%2Fminigrep'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 329e158d950d6114065117d8a071e8ab35f1a04c [INFO] checking RainyDevil/minigrep/329e158d950d6114065117d8a071e8ab35f1a04c against master#f609b7e0586f81fefb3523e3e17adf779ac416be for pr-129466-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FRainyDevil%2Fminigrep" "/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/RainyDevil/minigrep on toolchain f609b7e0586f81fefb3523e3e17adf779ac416be [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/RainyDevil/minigrep [INFO] finished tweaking git repo https://github.com/RainyDevil/minigrep [INFO] tweaked toml for git repo https://github.com/RainyDevil/minigrep written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/RainyDevil/minigrep 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" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 13528bc01b0ed7aebc5cbbc200598a0b2ce98fb5c89b4fd8ed80ca40ea78ac7c [INFO] running `Command { std: "docker" "start" "-a" "13528bc01b0ed7aebc5cbbc200598a0b2ce98fb5c89b4fd8ed80ca40ea78ac7c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "13528bc01b0ed7aebc5cbbc200598a0b2ce98fb5c89b4fd8ed80ca40ea78ac7c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "13528bc01b0ed7aebc5cbbc200598a0b2ce98fb5c89b4fd8ed80ca40ea78ac7c", kill_on_drop: false }` [INFO] [stdout] 13528bc01b0ed7aebc5cbbc200598a0b2ce98fb5c89b4fd8ed80ca40ea78ac7c [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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] aaa5c57d7d876eb58711fd7a7697ee088dc69e408dab343bbf93d06de660cc82 [INFO] running `Command { std: "docker" "start" "-a" "aaa5c57d7d876eb58711fd7a7697ee088dc69e408dab343bbf93d06de660cc82", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.97 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking colored v1.9.3 [INFO] [stderr] Checking minigrep v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around `for` iterator expression [INFO] [stdout] --> src/lib.rs:77:18 [INFO] [stdout] | [INFO] [stdout] 77 | for index in (0..lines.line.len()) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 77 - for index in (0..lines.line.len()) { [INFO] [stdout] 77 + for index in 0..lines.line.len() { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `for` iterator expression [INFO] [stdout] --> src/lib.rs:77:18 [INFO] [stdout] | [INFO] [stdout] 77 | for index in (0..lines.line.len()) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 77 - for index in (0..lines.line.len()) { [INFO] [stdout] 77 + for index in 0..lines.line.len() { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: can't compare `Vec<&str>` with `Line<'_>` [INFO] [stdout] --> src/lib.rs:101:9 [INFO] [stdout] | [INFO] [stdout] 101 | / assert_eq!( [INFO] [stdout] 102 | | vec!["safe, fast, productive."], [INFO] [stdout] 103 | | search(query, contents) [INFO] [stdout] 104 | | ); [INFO] [stdout] | |_________^ no implementation for `Vec<&str> == Line<'_>` [INFO] [stdout] | [INFO] [stdout] = help: the trait `PartialEq>` is not implemented for `Vec<&str>` [INFO] [stdout] = help: the following other types implement trait `PartialEq`: [INFO] [stdout] `Vec` implements `PartialEq>` [INFO] [stdout] `Vec` implements `PartialEq<&[U; N]>` [INFO] [stdout] `Vec` implements `PartialEq<&[U]>` [INFO] [stdout] `Vec` implements `PartialEq<&mut [U]>` [INFO] [stdout] `Vec` implements `PartialEq<[U; N]>` [INFO] [stdout] `Vec` implements `PartialEq<[U]>` [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: can't compare `Vec<&str>` with `Line<'_>` [INFO] [stdout] --> src/lib.rs:114:9 [INFO] [stdout] | [INFO] [stdout] 114 | / assert_eq!( [INFO] [stdout] 115 | | vec!["safe, fast, proDuctive."], [INFO] [stdout] 116 | | search_case_insentive(query, contents) [INFO] [stdout] 117 | | ); [INFO] [stdout] | |_________^ no implementation for `Vec<&str> == Line<'_>` [INFO] [stdout] | [INFO] [stdout] = help: the trait `PartialEq>` is not implemented for `Vec<&str>` [INFO] [stdout] = help: the following other types implement trait `PartialEq`: [INFO] [stdout] `Vec` implements `PartialEq>` [INFO] [stdout] `Vec` implements `PartialEq<&[U; N]>` [INFO] [stdout] `Vec` implements `PartialEq<&[U]>` [INFO] [stdout] `Vec` implements `PartialEq<&mut [U]>` [INFO] [stdout] `Vec` implements `PartialEq<[U; N]>` [INFO] [stdout] `Vec` implements `PartialEq<[U]>` [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `minigrep` (lib test) due to 3 previous errors; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "aaa5c57d7d876eb58711fd7a7697ee088dc69e408dab343bbf93d06de660cc82", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "aaa5c57d7d876eb58711fd7a7697ee088dc69e408dab343bbf93d06de660cc82", kill_on_drop: false }` [INFO] [stdout] aaa5c57d7d876eb58711fd7a7697ee088dc69e408dab343bbf93d06de660cc82