[INFO] cloning repository https://github.com/akofke/texas_holdem [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/akofke/texas_holdem" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fakofke%2Ftexas_holdem", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fakofke%2Ftexas_holdem'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 2a82f3801abe7978a0f2ebf6ff2c04ef6f193f13 [INFO] checking akofke/texas_holdem against master#33fdb797f59421c7bbecaa4588ed5d7a31a9494a for pr-87190-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fakofke%2Ftexas_holdem" "/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/akofke/texas_holdem on toolchain 33fdb797f59421c7bbecaa4588ed5d7a31a9494a [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+33fdb797f59421c7bbecaa4588ed5d7a31a9494a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/akofke/texas_holdem [INFO] finished tweaking git repo https://github.com/akofke/texas_holdem [INFO] tweaked toml for git repo https://github.com/akofke/texas_holdem written to /workspace/builds/worker-68/source/Cargo.toml [INFO] crate git repo https://github.com/akofke/texas_holdem already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+33fdb797f59421c7bbecaa4588ed5d7a31a9494a" "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-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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+33fdb797f59421c7bbecaa4588ed5d7a31a9494a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1b2077359ad407ac14a18326c9f2f7d34baeb93d25c762604e36338d5c6c328e [INFO] running `Command { std: "docker" "start" "-a" "1b2077359ad407ac14a18326c9f2f7d34baeb93d25c762604e36338d5c6c328e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1b2077359ad407ac14a18326c9f2f7d34baeb93d25c762604e36338d5c6c328e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1b2077359ad407ac14a18326c9f2f7d34baeb93d25c762604e36338d5c6c328e", kill_on_drop: false }` [INFO] [stdout] 1b2077359ad407ac14a18326c9f2f7d34baeb93d25c762604e36338d5c6c328e [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=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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+33fdb797f59421c7bbecaa4588ed5d7a31a9494a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9eec3fa5b588e976a525021d0692b812c928e11e8ac7a3731e366319830bc043 [INFO] running `Command { std: "docker" "start" "-a" "9eec3fa5b588e976a525021d0692b812c928e11e8ac7a3731e366319830bc043", kill_on_drop: false }` [INFO] [stderr] Compiling winapi-build v0.1.1 [INFO] [stderr] Checking winapi v0.2.5 [INFO] [stderr] Checking libc v0.2.4 [INFO] [stderr] Compiling advapi32-sys v0.1.2 [INFO] [stderr] Checking rand v0.3.12 [INFO] [stderr] Checking texas_holdem v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0507]: cannot move out of `self.players` which is behind a mutable reference [INFO] [stdout] --> src/main.rs:82:27 [INFO] [stdout] | [INFO] [stdout] 82 | for player in self.players { [INFO] [stdout] | ^^^^^^^^^^^^ move occurs because `self.players` has type `Vec`, which does not implement the `Copy` trait [INFO] [stdout] | [INFO] [stdout] help: consider iterating over a slice of the `Vec`'s content [INFO] [stdout] | [INFO] [stdout] 82 | for player in &self.players { [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0507]: cannot move out of `self.players` which is behind a mutable reference [INFO] [stdout] --> src/main.rs:82:27 [INFO] [stdout] | [INFO] [stdout] 82 | for player in self.players { [INFO] [stdout] | ^^^^^^^^^^^^ move occurs because `self.players` has type `Vec`, which does not implement the `Copy` trait [INFO] [stdout] | [INFO] [stdout] help: consider iterating over a slice of the `Vec`'s content [INFO] [stdout] | [INFO] [stdout] 82 | for player in &self.players { [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0596]: cannot borrow `player.hand` as mutable, as `player` is not declared as mutable [INFO] [stdout] --> src/main.rs:83:17 [INFO] [stdout] | [INFO] [stdout] 82 | for player in self.players { [INFO] [stdout] | ------ help: consider changing this to be mutable: `mut player` [INFO] [stdout] 83 | player.hand.push(self.deck.pop()); [INFO] [stdout] | ^^^^^^^^^^^ cannot borrow as mutable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0507, E0596. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0507`. [INFO] [stdout] [INFO] [stderr] error: could not compile `texas_holdem` due to 3 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0596]: cannot borrow `player.hand` as mutable, as `player` is not declared as mutable [INFO] [stdout] --> src/main.rs:83:17 [INFO] [stdout] | [INFO] [stdout] 82 | for player in self.players { [INFO] [stdout] | ------ help: consider changing this to be mutable: `mut player` [INFO] [stdout] 83 | player.hand.push(self.deck.pop()); [INFO] [stdout] | ^^^^^^^^^^^ cannot borrow as mutable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0507, E0596. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0507`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "9eec3fa5b588e976a525021d0692b812c928e11e8ac7a3731e366319830bc043", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9eec3fa5b588e976a525021d0692b812c928e11e8ac7a3731e366319830bc043", kill_on_drop: false }` [INFO] [stdout] 9eec3fa5b588e976a525021d0692b812c928e11e8ac7a3731e366319830bc043