[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.60.0 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcchosch%2Frust-rock-paper-scissors" "/workspace/builds/worker-14/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-14/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/cchosch/rust-rock-paper-scissors on toolchain 1.60.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.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-14/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.60.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 646964a8e0e560883e67be9d2e9dca81a137380d7b5fdbcd5004330985bf1715 [INFO] running `Command { std: "docker" "start" "-a" "646964a8e0e560883e67be9d2e9dca81a137380d7b5fdbcd5004330985bf1715", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "646964a8e0e560883e67be9d2e9dca81a137380d7b5fdbcd5004330985bf1715", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "646964a8e0e560883e67be9d2e9dca81a137380d7b5fdbcd5004330985bf1715", kill_on_drop: false }` [INFO] [stdout] 646964a8e0e560883e67be9d2e9dca81a137380d7b5fdbcd5004330985bf1715 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b25a0990737df6a125808508bfb571e1f830ea8171c37380afaf115d6bd22bf3 [INFO] running `Command { std: "docker" "start" "-a" "b25a0990737df6a125808508bfb571e1f830ea8171c37380afaf115d6bd22bf3", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling libc v0.2.119 [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] = help: the following implementations were found: [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" "b25a0990737df6a125808508bfb571e1f830ea8171c37380afaf115d6bd22bf3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b25a0990737df6a125808508bfb571e1f830ea8171c37380afaf115d6bd22bf3", kill_on_drop: false }` [INFO] [stdout] b25a0990737df6a125808508bfb571e1f830ea8171c37380afaf115d6bd22bf3