[INFO] cloning repository https://github.com/LevitKanner/Minigrep [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/LevitKanner/Minigrep" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLevitKanner%2FMinigrep", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLevitKanner%2FMinigrep'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 90331113b9107fc4b1848994465ce673b1cd465b [INFO] checking LevitKanner/Minigrep against master#39b841dfe36f90a7cd111e7f0c55f32594f6e578 for pr-77035 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLevitKanner%2FMinigrep" "/workspace/builds/worker-12/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-12/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/LevitKanner/Minigrep on toolchain 39b841dfe36f90a7cd111e7f0c55f32594f6e578 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+39b841dfe36f90a7cd111e7f0c55f32594f6e578" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/LevitKanner/Minigrep [INFO] finished tweaking git repo https://github.com/LevitKanner/Minigrep [INFO] tweaked toml for git repo https://github.com/LevitKanner/Minigrep written to /workspace/builds/worker-12/source/Cargo.toml [INFO] crate git repo https://github.com/LevitKanner/Minigrep already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+39b841dfe36f90a7cd111e7f0c55f32594f6e578" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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" "rustops/crates-build-env@sha256:c8ac004eab7d63a0ad09a2dde3d3353ba464f767bee4de425dc8f74c46a1905e" "/opt/rustwide/cargo-home/bin/cargo" "+39b841dfe36f90a7cd111e7f0c55f32594f6e578" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] efe79e2d7efded90e337271f80ebdf1f2e76f20afcd7b499b020fb64e26e9228 [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" "efe79e2d7efded90e337271f80ebdf1f2e76f20afcd7b499b020fb64e26e9228", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "efe79e2d7efded90e337271f80ebdf1f2e76f20afcd7b499b020fb64e26e9228", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "efe79e2d7efded90e337271f80ebdf1f2e76f20afcd7b499b020fb64e26e9228", kill_on_drop: false }` [INFO] [stdout] efe79e2d7efded90e337271f80ebdf1f2e76f20afcd7b499b020fb64e26e9228 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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" "rustops/crates-build-env@sha256:c8ac004eab7d63a0ad09a2dde3d3353ba464f767bee4de425dc8f74c46a1905e" "/opt/rustwide/cargo-home/bin/cargo" "+39b841dfe36f90a7cd111e7f0c55f32594f6e578" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d89a7651c9460940253077c7148d5d3bd14566a9352fcc126153978cb925fd14 [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" "d89a7651c9460940253077c7148d5d3bd14566a9352fcc126153978cb925fd14", 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:66:34 [INFO] [stdout] | [INFO] [stdout] 66 | .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: 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:66:34 [INFO] [stdout] | [INFO] [stdout] 66 | .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: 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" "d89a7651c9460940253077c7148d5d3bd14566a9352fcc126153978cb925fd14", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d89a7651c9460940253077c7148d5d3bd14566a9352fcc126153978cb925fd14", kill_on_drop: false }` [INFO] [stdout] d89a7651c9460940253077c7148d5d3bd14566a9352fcc126153978cb925fd14