[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] checking cchosch/rust-rock-paper-scissors against try#78c81ee3917a99dcff6e2e6822800f0492c415c3 for pr-148967 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcchosch%2Frust-rock-paper-scissors" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [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-3-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/cchosch/rust-rock-paper-scissors on toolchain 78c81ee3917a99dcff6e2e6822800f0492c415c3 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+78c81ee3917a99dcff6e2e6822800f0492c415c3" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+78c81ee3917a99dcff6e2e6822800f0492c415c3" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+78c81ee3917a99dcff6e2e6822800f0492c415c3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 503447cfddc30232a1c4f64592b23d2dde64f8f8ab2378d044a7e0f77e59c53f [INFO] running `Command { std: "docker" "start" "-a" "503447cfddc30232a1c4f64592b23d2dde64f8f8ab2378d044a7e0f77e59c53f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "503447cfddc30232a1c4f64592b23d2dde64f8f8ab2378d044a7e0f77e59c53f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "503447cfddc30232a1c4f64592b23d2dde64f8f8ab2378d044a7e0f77e59c53f", kill_on_drop: false }` [INFO] [stdout] 503447cfddc30232a1c4f64592b23d2dde64f8f8ab2378d044a7e0f77e59c53f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+78c81ee3917a99dcff6e2e6822800f0492c415c3" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3bb697eb24b2089fe6f9e7ca01f4d7896e604542dcc08c7cee890e42b0a457f5 [INFO] running `Command { std: "docker" "start" "-a" "3bb697eb24b2089fe6f9e7ca01f4d7896e604542dcc08c7cee890e42b0a457f5", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.119 [INFO] [stderr] Checking getrandom v0.2.5 [INFO] [stderr] Checking rand_core v0.6.3 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking 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:24 [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] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] help: the trait `Borrow` is implemented for `String` [INFO] [stdout] --> /rustc/78c81ee3917a99dcff6e2e6822800f0492c415c3/library/alloc/src/str.rs:189:0 [INFO] [stdout] note: required by a bound in `HashMap::::get` [INFO] [stdout] --> /rustc/78c81ee3917a99dcff6e2e6822800f0492c415c3/library/std/src/collections/hash/map.rs:909:4 [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 for `&&str` to implement `PartialEq<&str>` [INFO] [stdout] help: consider dereferencing here [INFO] [stdout] | [INFO] [stdout] 20 | if *winners.get(&line).expect("Not a value") == computer_choice { [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `&str: Borrow` is not satisfied [INFO] [stdout] --> src/main.rs:20:24 [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] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] help: the trait `Borrow` is implemented for `String` [INFO] [stdout] --> /rustc/78c81ee3917a99dcff6e2e6822800f0492c415c3/library/alloc/src/str.rs:189:0 [INFO] [stdout] note: required by a bound in `HashMap::::get` [INFO] [stdout] --> /rustc/78c81ee3917a99dcff6e2e6822800f0492c415c3/library/std/src/collections/hash/map.rs:909:4 [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 for `&&str` to implement `PartialEq<&str>` [INFO] [stdout] help: consider dereferencing here [INFO] [stdout] | [INFO] [stdout] 20 | if *winners.get(&line).expect("Not a value") == computer_choice { [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `my-project` (bin "my-project" test) due to 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `my-project` (bin "my-project") due to 2 previous errors [INFO] running `Command { std: "docker" "inspect" "3bb697eb24b2089fe6f9e7ca01f4d7896e604542dcc08c7cee890e42b0a457f5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3bb697eb24b2089fe6f9e7ca01f4d7896e604542dcc08c7cee890e42b0a457f5", kill_on_drop: false }` [INFO] [stdout] 3bb697eb24b2089fe6f9e7ca01f4d7896e604542dcc08c7cee890e42b0a457f5