[INFO] cloning repository https://github.com/cchosch/rust-rock-paper-scissors [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/cchosch/rust-rock-paper-scissors" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcchosch%2Frust-rock-paper-scissors", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcchosch%2Frust-rock-paper-scissors'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 837b9afb6666a8faba854270e905c081f1f15a33 [INFO] testing cchosch/rust-rock-paper-scissors against 1.59.0 for beta-1.60-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcchosch%2Frust-rock-paper-scissors" "/workspace/builds/worker-68/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-68/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/cchosch/rust-rock-paper-scissors on toolchain 1.59.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.59.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/cchosch/rust-rock-paper-scissors [INFO] finished tweaking git repo https://github.com/cchosch/rust-rock-paper-scissors [INFO] tweaked toml for git repo https://github.com/cchosch/rust-rock-paper-scissors written to /workspace/builds/worker-68/source/Cargo.toml [INFO] crate git repo https://github.com/cchosch/rust-rock-paper-scissors already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.59.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-68/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-68/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+1.59.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 529f0806a7021014bf5dc118c45e025ae0677ce705324f7c1f20e4a30f107697 [INFO] running `Command { std: "docker" "start" "-a" "529f0806a7021014bf5dc118c45e025ae0677ce705324f7c1f20e4a30f107697", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "529f0806a7021014bf5dc118c45e025ae0677ce705324f7c1f20e4a30f107697", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "529f0806a7021014bf5dc118c45e025ae0677ce705324f7c1f20e4a30f107697", kill_on_drop: false }` [INFO] [stdout] 529f0806a7021014bf5dc118c45e025ae0677ce705324f7c1f20e4a30f107697 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-68/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-68/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=warn" "-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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+1.59.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9d8d474e77353069c566788456d20dfc6fb9ddcbf60ff8f3c8cf8579b6457905 [INFO] running `Command { std: "docker" "start" "-a" "9d8d474e77353069c566788456d20dfc6fb9ddcbf60ff8f3c8cf8579b6457905", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.119 [INFO] [stderr] Compiling ppv-lite86 v0.2.16 [INFO] [stderr] Compiling getrandom v0.2.5 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling my-project v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0277]: the trait bound `&str: Borrow` is not satisfied [INFO] [stdout] --> src/main.rs:20:20 [INFO] [stdout] | [INFO] [stdout] 20 | if winners.get(&line).expect("Not a value") == computer_choice { [INFO] [stdout] | ^^^ the trait `Borrow` is not implemented for `&str` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `HashMap::::get` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: can't compare `&str` with `str` [INFO] [stdout] --> src/main.rs:20:53 [INFO] [stdout] | [INFO] [stdout] 20 | if winners.get(&line).expect("Not a value") == computer_choice { [INFO] [stdout] | ^^ no implementation for `&str == str` [INFO] [stdout] | [INFO] [stdout] = help: the trait `PartialEq` is not implemented for `&str` [INFO] [stdout] = note: required because of the requirements on the impl of `PartialEq<&str>` for `&&str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `my-project` due to 3 previous errors [INFO] running `Command { std: "docker" "inspect" "9d8d474e77353069c566788456d20dfc6fb9ddcbf60ff8f3c8cf8579b6457905", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9d8d474e77353069c566788456d20dfc6fb9ddcbf60ff8f3c8cf8579b6457905", kill_on_drop: false }` [INFO] [stdout] 9d8d474e77353069c566788456d20dfc6fb9ddcbf60ff8f3c8cf8579b6457905