[INFO] updating cached 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" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune", kill_on_drop: false }` [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 48291a489f620e97ac9212550ecee9a8a94080a4 [INFO] checking lamogura/minigrep.rs against master#1557fb031b272b4c5bfcc7de5df7eddc7b36a584 for pr-73166 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flamogura%2Fminigrep.rs" "/workspace/builds/worker-3/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/lamogura/minigrep.rs on toolchain 1557fb031b272b4c5bfcc7de5df7eddc7b36a584 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1557fb031b272b4c5bfcc7de5df7eddc7b36a584" "read-manifest" "--manifest-path" "Cargo.toml", 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-3/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" "+1557fb031b272b4c5bfcc7de5df7eddc7b36a584" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+1557fb031b272b4c5bfcc7de5df7eddc7b36a584" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d56781e0b83d25a8c0ccac737532a980904530384a05790736d47e23a605ee93 [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" "d56781e0b83d25a8c0ccac737532a980904530384a05790736d47e23a605ee93", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d56781e0b83d25a8c0ccac737532a980904530384a05790736d47e23a605ee93", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d56781e0b83d25a8c0ccac737532a980904530384a05790736d47e23a605ee93", kill_on_drop: false }` [INFO] [stdout] d56781e0b83d25a8c0ccac737532a980904530384a05790736d47e23a605ee93 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+1557fb031b272b4c5bfcc7de5df7eddc7b36a584" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] bc3d22d253dda7be14a005280e2c53bd547a7d7146bb4249eaee2b642bd5fd36 [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" "bc3d22d253dda7be14a005280e2c53bd547a7d7146bb4249eaee2b642bd5fd36", kill_on_drop: false }` [INFO] [stderr] Checking minigrep v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0277]: expected a `std::ops::FnMut<(char,)>` closure, found `std::string::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 `std::str::pattern::Pattern<'_>` [INFO] [stdout] | help: consider borrowing here: `&query` [INFO] [stdout] | [INFO] [stdout] = note: the trait bound `std::string::String: std::str::pattern::Pattern<'_>` is not satisfied [INFO] [stdout] = note: required because of the requirements on the impl of `std::str::pattern::Pattern<'_>` for `std::string::String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: expected a `std::ops::FnMut<(char,)>` closure, found `std::string::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 `std::str::pattern::Pattern<'_>` [INFO] [stdout] | help: consider borrowing here: `&query` [INFO] [stdout] | [INFO] [stdout] = note: the trait bound `std::string::String: std::str::pattern::Pattern<'_>` is not satisfied [INFO] [stdout] = note: required because of the requirements on the impl of `std::str::pattern::Pattern<'_>` for `std::string::String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: a value of type `std::vec::Vec<&str>` cannot be built from an iterator over elements of type `std::string::String` [INFO] [stdout] --> src/lib.rs:42:6 [INFO] [stdout] | [INFO] [stdout] 42 | .collect() [INFO] [stdout] | ^^^^^^^ value of type `std::vec::Vec<&str>` cannot be built from `std::iter::Iterator` [INFO] [stdout] | [INFO] [stdout] = help: the trait `std::iter::FromIterator` is not implemented for `std::vec::Vec<&str>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: a value of type `std::vec::Vec<&str>` cannot be built from an iterator over elements of type `std::string::String` [INFO] [stdout] --> src/lib.rs:42:6 [INFO] [stdout] | [INFO] [stdout] 42 | .collect() [INFO] [stdout] | ^^^^^^^ value of type `std::vec::Vec<&str>` cannot be built from `std::iter::Iterator` [INFO] [stdout] | [INFO] [stdout] = help: the trait `std::iter::FromIterator` is not implemented for `std::vec::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] [stderr] error: could not compile `minigrep`. [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] [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: 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" "bc3d22d253dda7be14a005280e2c53bd547a7d7146bb4249eaee2b642bd5fd36", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bc3d22d253dda7be14a005280e2c53bd547a7d7146bb4249eaee2b642bd5fd36", kill_on_drop: false }` [INFO] [stdout] bc3d22d253dda7be14a005280e2c53bd547a7d7146bb4249eaee2b642bd5fd36