[INFO] cloning repository https://github.com/leonardkulms/minigrep [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/leonardkulms/minigrep" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fleonardkulms%2Fminigrep", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fleonardkulms%2Fminigrep'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] babf52ce66b61212a4412a83b840653862f899c7 [INFO] checking leonardkulms/minigrep against try#b0d0ea232bdae12fa8da8491a91ae1db029990ef for pr-84037 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fleonardkulms%2Fminigrep" "/workspace/builds/worker-6/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/leonardkulms/minigrep on toolchain b0d0ea232bdae12fa8da8491a91ae1db029990ef [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+b0d0ea232bdae12fa8da8491a91ae1db029990ef" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/leonardkulms/minigrep [INFO] finished tweaking git repo https://github.com/leonardkulms/minigrep [INFO] tweaked toml for git repo https://github.com/leonardkulms/minigrep written to /workspace/builds/worker-6/source/Cargo.toml [INFO] crate git repo https://github.com/leonardkulms/minigrep already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+b0d0ea232bdae12fa8da8491a91ae1db029990ef" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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" "+b0d0ea232bdae12fa8da8491a91ae1db029990ef" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 80c21b26cb64f24e8c397abf6abd85efb1e982dee038002c274284e3e6db052e [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" "80c21b26cb64f24e8c397abf6abd85efb1e982dee038002c274284e3e6db052e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "80c21b26cb64f24e8c397abf6abd85efb1e982dee038002c274284e3e6db052e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "80c21b26cb64f24e8c397abf6abd85efb1e982dee038002c274284e3e6db052e", kill_on_drop: false }` [INFO] [stdout] 80c21b26cb64f24e8c397abf6abd85efb1e982dee038002c274284e3e6db052e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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" "+b0d0ea232bdae12fa8da8491a91ae1db029990ef" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f0c30baf8691035cf4052bf7405e2bd51afc4afe8e6e93ed7ae8eb53821bf82e [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" "f0c30baf8691035cf4052bf7405e2bd51afc4afe8e6e93ed7ae8eb53821bf82e", 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:16:53 [INFO] [stdout] | [INFO] [stdout] 16 | .filter(|line| line.to_lowercase().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: aborting due to previous error [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` [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] error[E0277]: expected a `FnMut<(char,)>` closure, found `String` [INFO] [stdout] --> src/lib.rs:16:53 [INFO] [stdout] | [INFO] [stdout] 16 | .filter(|line| line.to_lowercase().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: aborting due to previous error [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" "f0c30baf8691035cf4052bf7405e2bd51afc4afe8e6e93ed7ae8eb53821bf82e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f0c30baf8691035cf4052bf7405e2bd51afc4afe8e6e93ed7ae8eb53821bf82e", kill_on_drop: false }` [INFO] [stdout] f0c30baf8691035cf4052bf7405e2bd51afc4afe8e6e93ed7ae8eb53821bf82e