[INFO] cloning repository https://github.com/lamogura/minigrep.rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/lamogura/minigrep.rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flamogura%2Fminigrep.rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flamogura%2Fminigrep.rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 48291a489f620e97ac9212550ecee9a8a94080a4 [INFO] checking lamogura/minigrep.rs against master#d255c6a57c393db6221b1ff700daea478436f1cd for pr-122317 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flamogura%2Fminigrep.rs" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/lamogura/minigrep.rs on toolchain d255c6a57c393db6221b1ff700daea478436f1cd [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d255c6a57c393db6221b1ff700daea478436f1cd" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/lamogura/minigrep.rs [INFO] finished tweaking git repo https://github.com/lamogura/minigrep.rs [INFO] tweaked toml for git repo https://github.com/lamogura/minigrep.rs written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/lamogura/minigrep.rs 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" "+d255c6a57c393db6221b1ff700daea478436f1cd" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [ERROR] error running command: no output for 300 seconds [ERROR] this task or one of its parent failed! [ERROR] no output for 300 seconds [ERROR] note: run with `RUST_BACKTRACE=1` to display a backtrace. [INFO] checking lamogura/minigrep.rs against try#1f7553361c08f8eafdc645e09215667278ab86f4 for pr-122317 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flamogura%2Fminigrep.rs" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/lamogura/minigrep.rs on toolchain 1f7553361c08f8eafdc645e09215667278ab86f4 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1f7553361c08f8eafdc645e09215667278ab86f4" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/lamogura/minigrep.rs [INFO] finished tweaking git repo https://github.com/lamogura/minigrep.rs [INFO] tweaked toml for git repo https://github.com/lamogura/minigrep.rs written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/lamogura/minigrep.rs 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" "+1f7553361c08f8eafdc645e09215667278ab86f4" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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" "+1f7553361c08f8eafdc645e09215667278ab86f4" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1470ffd5fd924c1bd6863397dba9c1c97d6b59939567564b559dbe78dec2bfa2 [INFO] running `Command { std: "docker" "start" "-a" "1470ffd5fd924c1bd6863397dba9c1c97d6b59939567564b559dbe78dec2bfa2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1470ffd5fd924c1bd6863397dba9c1c97d6b59939567564b559dbe78dec2bfa2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1470ffd5fd924c1bd6863397dba9c1c97d6b59939567564b559dbe78dec2bfa2", kill_on_drop: false }` [INFO] [stdout] 1470ffd5fd924c1bd6863397dba9c1c97d6b59939567564b559dbe78dec2bfa2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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" "+1f7553361c08f8eafdc645e09215667278ab86f4" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 03103b616f03c6ae08930243ec0e749c166be801390153489ced34a25ec942ec [INFO] running `Command { std: "docker" "start" "-a" "03103b616f03c6ae08930243ec0e749c166be801390153489ced34a25ec942ec", kill_on_drop: false }` [INFO] [stderr] Checking minigrep v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0277]: the trait bound `String: Pattern<'_>` is not satisfied [INFO] [stdout] --> src/lib.rs:41:34 [INFO] [stdout] | [INFO] [stdout] 41 | .filter(|line| line.contains(query)) [INFO] [stdout] | -------- ^^^^^ the trait `Pattern<'_>` is not implemented for `String` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = note: required for `String` to implement `Pattern<'_>` [INFO] [stdout] note: required by a bound in `core::str::::contains` [INFO] [stdout] --> /rustc/1f7553361c08f8eafdc645e09215667278ab86f4/library/core/src/str/mod.rs:1152:5 [INFO] [stdout] help: consider borrowing here [INFO] [stdout] | [INFO] [stdout] 41 | .filter(|line| line.contains(&query)) [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `String: Pattern<'_>` is not satisfied [INFO] [stdout] --> src/lib.rs:41:34 [INFO] [stdout] | [INFO] [stdout] 41 | .filter(|line| line.contains(query)) [INFO] [stdout] | -------- ^^^^^ the trait `Pattern<'_>` is not implemented for `String` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = note: required for `String` to implement `Pattern<'_>` [INFO] [stdout] note: required by a bound in `core::str::::contains` [INFO] [stdout] --> /rustc/1f7553361c08f8eafdc645e09215667278ab86f4/library/core/src/str/mod.rs:1152:5 [INFO] [stdout] help: consider borrowing here [INFO] [stdout] | [INFO] [stdout] 41 | .filter(|line| line.contains(&query)) [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: a value of type `Vec<&str>` cannot be built from an iterator over elements of type `String` [INFO] [stdout] --> src/lib.rs:42:6 [INFO] [stdout] | [INFO] [stdout] 42 | .collect() [INFO] [stdout] | ^^^^^^^ value of type `Vec<&str>` cannot be built from `std::iter::Iterator` [INFO] [stdout] | [INFO] [stdout] = help: the trait `FromIterator` is not implemented for `Vec<&str>` [INFO] [stdout] = help: the trait `FromIterator<&str>` is implemented for `Vec<&str>` [INFO] [stdout] = help: for that trait implementation, expected `&str`, found `String` [INFO] [stdout] note: the method call chain might not have had the expected associated types [INFO] [stdout] --> src/lib.rs:40:6 [INFO] [stdout] | [INFO] [stdout] 38 | contents [INFO] [stdout] | -------- this expression has type `&str` [INFO] [stdout] 39 | .lines() [INFO] [stdout] | ------- `Iterator::Item` is `&str` here [INFO] [stdout] 40 | .map(|line| line.to_lowercase()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `Iterator::Item` changed to `String` here [INFO] [stdout] 41 | .filter(|line| line.contains(query)) [INFO] [stdout] | ----------------------------------- `Iterator::Item` remains `String` here [INFO] [stdout] note: required by a bound in `collect` [INFO] [stdout] --> /rustc/1f7553361c08f8eafdc645e09215667278ab86f4/library/core/src/iter/traits/iterator.rs:1999:5 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: a value of type `Vec<&str>` cannot be built from an iterator over elements of type `String` [INFO] [stdout] --> src/lib.rs:42:6 [INFO] [stdout] | [INFO] [stdout] 42 | .collect() [INFO] [stdout] | ^^^^^^^ value of type `Vec<&str>` cannot be built from `std::iter::Iterator` [INFO] [stdout] | [INFO] [stdout] = help: the trait `FromIterator` is not implemented for `Vec<&str>` [INFO] [stdout] = help: the trait `FromIterator<&str>` is implemented for `Vec<&str>` [INFO] [stdout] = help: for that trait implementation, expected `&str`, found `String` [INFO] [stdout] note: the method call chain might not have had the expected associated types [INFO] [stdout] --> src/lib.rs:40:6 [INFO] [stdout] | [INFO] [stdout] 38 | contents [INFO] [stdout] | -------- this expression has type `&str` [INFO] [stdout] 39 | .lines() [INFO] [stdout] | ------- `Iterator::Item` is `&str` here [INFO] [stdout] 40 | .map(|line| line.to_lowercase()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `Iterator::Item` changed to `String` here [INFO] [stdout] 41 | .filter(|line| line.contains(query)) [INFO] [stdout] | ----------------------------------- `Iterator::Item` remains `String` here [INFO] [stdout] note: required by a bound in `collect` [INFO] [stdout] --> /rustc/1f7553361c08f8eafdc645e09215667278ab86f4/library/core/src/iter/traits/iterator.rs:1999:5 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::prelude` [INFO] [stdout] --> src/lib.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::io::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::prelude` [INFO] [stdout] --> src/lib.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::io::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [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] [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) due to 3 previous errors; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `minigrep` (lib test) due to 3 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "03103b616f03c6ae08930243ec0e749c166be801390153489ced34a25ec942ec", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "03103b616f03c6ae08930243ec0e749c166be801390153489ced34a25ec942ec", kill_on_drop: false }` [INFO] [stdout] 03103b616f03c6ae08930243ec0e749c166be801390153489ced34a25ec942ec