[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 try#45d8b6e68beee1c9c1ce92ae258a7e02f8f13aa4 for pr-83744 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flamogura%2Fminigrep.rs" "/workspace/builds/worker-4/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/lamogura/minigrep.rs on toolchain 45d8b6e68beee1c9c1ce92ae258a7e02f8f13aa4 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+45d8b6e68beee1c9c1ce92ae258a7e02f8f13aa4" "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-4/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: "/workspace/cargo-home/bin/cargo" "+45d8b6e68beee1c9c1ce92ae258a7e02f8f13aa4" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+45d8b6e68beee1c9c1ce92ae258a7e02f8f13aa4" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c846846970ab451565511edfa901471a71c6074f3454bf1c871439eaa0590a87 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "c846846970ab451565511edfa901471a71c6074f3454bf1c871439eaa0590a87", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c846846970ab451565511edfa901471a71c6074f3454bf1c871439eaa0590a87", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c846846970ab451565511edfa901471a71c6074f3454bf1c871439eaa0590a87", kill_on_drop: false }` [INFO] [stdout] c846846970ab451565511edfa901471a71c6074f3454bf1c871439eaa0590a87 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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" "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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+45d8b6e68beee1c9c1ce92ae258a7e02f8f13aa4" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] d28cc04bf9c2b1b8845841f1a574576c8cd6e0aea8f9a965c363110fbad6d7ca [INFO] running `Command { std: "docker" "start" "-a" "d28cc04bf9c2b1b8845841f1a574576c8cd6e0aea8f9a965c363110fbad6d7ca", kill_on_drop: false }` [INFO] [stderr] Checking minigrep v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0277]: expected a `FnMut<(char,)>` closure, found `String` [INFO] [stdout] --> src/lib.rs:41:34 [INFO] [stdout] | [INFO] [stdout] 41 | .filter(|line| line.contains(query)) [INFO] [stdout] | ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | expected an implementor of trait `Pattern<'_>` [INFO] [stdout] | help: consider borrowing here: `&query` [INFO] [stdout] | [INFO] [stdout] = note: the trait bound `String: Pattern<'_>` is not satisfied [INFO] [stdout] = note: required because of the requirements on the impl of `Pattern<'_>` for `String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: expected a `FnMut<(char,)>` closure, found `String` [INFO] [stdout] --> src/lib.rs:41:34 [INFO] [stdout] | [INFO] [stdout] 41 | .filter(|line| line.contains(query)) [INFO] [stdout] | ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | expected an implementor of trait `Pattern<'_>` [INFO] [stdout] | help: consider borrowing here: `&query` [INFO] [stdout] | [INFO] [stdout] = note: the trait bound `String: Pattern<'_>` is not satisfied [INFO] [stdout] = note: required because of the requirements on the impl of `Pattern<'_>` for `String` [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] [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[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] [INFO] [stdout] [INFO] [stderr] error: could not compile `minigrep` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [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] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "d28cc04bf9c2b1b8845841f1a574576c8cd6e0aea8f9a965c363110fbad6d7ca", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d28cc04bf9c2b1b8845841f1a574576c8cd6e0aea8f9a965c363110fbad6d7ca", kill_on_drop: false }` [INFO] [stdout] d28cc04bf9c2b1b8845841f1a574576c8cd6e0aea8f9a965c363110fbad6d7ca