[INFO] cloning repository https://github.com/kr1surb4n/minigrep_tutorial [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/kr1surb4n/minigrep_tutorial" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkr1surb4n%2Fminigrep_tutorial", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkr1surb4n%2Fminigrep_tutorial'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 1a3928fb3dcf3c86e0ac79799a429b896ff3c4db [INFO] checking kr1surb4n/minigrep_tutorial against master#8c32e313cccf7df531e2d49ffb8227bb92304aee for pr-145608-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkr1surb4n%2Fminigrep_tutorial" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/kr1surb4n/minigrep_tutorial [INFO] finished tweaking git repo https://github.com/kr1surb4n/minigrep_tutorial [INFO] tweaked toml for git repo https://github.com/kr1surb4n/minigrep_tutorial written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/kr1surb4n/minigrep_tutorial on toolchain 8c32e313cccf7df531e2d49ffb8227bb92304aee [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/kr1surb4n/minigrep_tutorial 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" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 12af7f7ff49a470f19a645b126c438e4cb3b115983e62874d8d40f6585769842 [INFO] running `Command { std: "docker" "start" "-a" "12af7f7ff49a470f19a645b126c438e4cb3b115983e62874d8d40f6585769842", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "12af7f7ff49a470f19a645b126c438e4cb3b115983e62874d8d40f6585769842", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "12af7f7ff49a470f19a645b126c438e4cb3b115983e62874d8d40f6585769842", kill_on_drop: false }` [INFO] [stdout] 12af7f7ff49a470f19a645b126c438e4cb3b115983e62874d8d40f6585769842 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 57148f1af65dacfc92db445a545584165bb7110e9f47742787d5e896de774b40 [INFO] running `Command { std: "docker" "start" "-a" "57148f1af65dacfc92db445a545584165bb7110e9f47742787d5e896de774b40", 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:49:49 [INFO] [stdout] | [INFO] [stdout] 49 | .filter(|line| line.to_lowercase().contains(query.to_lowercase())) [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/8c32e313cccf7df531e2d49ffb8227bb92304aee/library/core/src/str/mod.rs:1340:5 [INFO] [stdout] help: consider borrowing here [INFO] [stdout] | [INFO] [stdout] 49 | .filter(|line| line.to_lowercase().contains(&query.to_lowercase())) [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `&Vec` is not an iterator [INFO] [stdout] --> src/lib.rs:116:36 [INFO] [stdout] | [INFO] [stdout] 116 | let config = Config::build(&args).unwrap(); [INFO] [stdout] | ------------- ^^^^^ `&Vec` is not an iterator [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: the trait `Iterator` is not implemented for `&Vec` [INFO] [stdout] note: required by a bound in `Config::build` [INFO] [stdout] --> src/lib.rs:12:33 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn build(mut args: impl Iterator) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `Config::build` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `&Vec` is not an iterator [INFO] [stdout] --> src/lib.rs:125:36 [INFO] [stdout] | [INFO] [stdout] 125 | let config = Config::build(&args).unwrap_or_else(|err| { [INFO] [stdout] | ------------- ^^^^^ `&Vec` is not an iterator [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: the trait `Iterator` is not implemented for `&Vec` [INFO] [stdout] note: required by a bound in `Config::build` [INFO] [stdout] --> src/lib.rs:12:33 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn build(mut args: impl Iterator) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `Config::build` [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 test) due to 3 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0277]: the trait bound `String: Pattern` is not satisfied [INFO] [stdout] --> src/lib.rs:49:49 [INFO] [stdout] | [INFO] [stdout] 49 | .filter(|line| line.to_lowercase().contains(query.to_lowercase())) [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/8c32e313cccf7df531e2d49ffb8227bb92304aee/library/core/src/str/mod.rs:1340:5 [INFO] [stdout] help: consider borrowing here [INFO] [stdout] | [INFO] [stdout] 49 | .filter(|line| line.to_lowercase().contains(&query.to_lowercase())) [INFO] [stdout] | + [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 1 previous error [INFO] running `Command { std: "docker" "inspect" "57148f1af65dacfc92db445a545584165bb7110e9f47742787d5e896de774b40", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "57148f1af65dacfc92db445a545584165bb7110e9f47742787d5e896de774b40", kill_on_drop: false }` [INFO] [stdout] 57148f1af65dacfc92db445a545584165bb7110e9f47742787d5e896de774b40