[INFO] cloning repository https://github.com/khammersmith17/minigrep [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/khammersmith17/minigrep" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkhammersmith17%2Fminigrep", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkhammersmith17%2Fminigrep'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 71db8955a4586fff5b2c294d74a0adc9da167e82 [INFO] checking khammersmith17/minigrep against try#c659ee110de67e82444e4b6c8407c1a9af9c2cf6 for pr-145608-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkhammersmith17%2Fminigrep" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/khammersmith17/minigrep [INFO] finished tweaking git repo https://github.com/khammersmith17/minigrep [INFO] tweaked toml for git repo https://github.com/khammersmith17/minigrep written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/khammersmith17/minigrep on toolchain c659ee110de67e82444e4b6c8407c1a9af9c2cf6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/khammersmith17/minigrep 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" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/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" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 766becd697987a4200193e6001d4d650c81d1e2942bccf268993ae374c573438 [INFO] running `Command { std: "docker" "start" "-a" "766becd697987a4200193e6001d4d650c81d1e2942bccf268993ae374c573438", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "766becd697987a4200193e6001d4d650c81d1e2942bccf268993ae374c573438", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "766becd697987a4200193e6001d4d650c81d1e2942bccf268993ae374c573438", kill_on_drop: false }` [INFO] [stdout] 766becd697987a4200193e6001d4d650c81d1e2942bccf268993ae374c573438 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/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" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7f35b3a8adb81dfc19c6033e01f00257c08c754fdbee0fa1616a6d5b2be40035 [INFO] running `Command { std: "docker" "start" "-a" "7f35b3a8adb81dfc19c6033e01f00257c08c754fdbee0fa1616a6d5b2be40035", kill_on_drop: false }` [INFO] [stderr] Compiling fancy v0.3.1 [INFO] [stderr] Checking minigrep v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0277]: can't compare `&str` with `SearchResult` [INFO] [stdout] --> src/lib.rs:199:9 [INFO] [stdout] | [INFO] [stdout] 199 | assert_eq!(vec!["safe, fast, productive."], search(query, contains)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no implementation for `&str == SearchResult` [INFO] [stdout] | [INFO] [stdout] = help: the trait `PartialEq` is not implemented for `&str` [INFO] [stdout] = help: the following other types implement trait `PartialEq`: [INFO] [stdout] `&str` implements `PartialEq` [INFO] [stdout] `&str` implements `PartialEq` [INFO] [stdout] `&str` implements `PartialEq>` [INFO] [stdout] `&str` implements `PartialEq` [INFO] [stdout] `&str` implements `PartialEq` [INFO] [stdout] `str` implements `PartialEq` [INFO] [stdout] `str` implements `PartialEq` [INFO] [stdout] `str` implements `PartialEq>` [INFO] [stdout] and 6 others [INFO] [stdout] = note: required for `Vec<&str>` to implement `PartialEq>` [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: can't compare `&str` with `SearchResult` [INFO] [stdout] --> src/lib.rs:211:9 [INFO] [stdout] | [INFO] [stdout] 211 | / assert_eq!( [INFO] [stdout] 212 | | vec!["Rust:", "Trust me."], [INFO] [stdout] 213 | | search_case_insensitive(query, contents) [INFO] [stdout] 214 | | ); [INFO] [stdout] | |_________^ no implementation for `&str == SearchResult` [INFO] [stdout] | [INFO] [stdout] = help: the trait `PartialEq` is not implemented for `&str` [INFO] [stdout] = help: the following other types implement trait `PartialEq`: [INFO] [stdout] `&str` implements `PartialEq` [INFO] [stdout] `&str` implements `PartialEq` [INFO] [stdout] `&str` implements `PartialEq>` [INFO] [stdout] `&str` implements `PartialEq` [INFO] [stdout] `&str` implements `PartialEq` [INFO] [stdout] `str` implements `PartialEq` [INFO] [stdout] `str` implements `PartialEq` [INFO] [stdout] `str` implements `PartialEq>` [INFO] [stdout] and 6 others [INFO] [stdout] = note: required for `Vec<&str>` to implement `PartialEq>` [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [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 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "7f35b3a8adb81dfc19c6033e01f00257c08c754fdbee0fa1616a6d5b2be40035", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7f35b3a8adb81dfc19c6033e01f00257c08c754fdbee0fa1616a6d5b2be40035", kill_on_drop: false }` [INFO] [stdout] 7f35b3a8adb81dfc19c6033e01f00257c08c754fdbee0fa1616a6d5b2be40035