[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#90442458ac46b1d5eed752c316da25450f67285b for pr-81477 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fakofke%2Ftexas_holdem" "/workspace/builds/worker-12/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-12/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/akofke/texas_holdem on toolchain 90442458ac46b1d5eed752c316da25450f67285b [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+90442458ac46b1d5eed752c316da25450f67285b" "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-12/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" "+90442458ac46b1d5eed752c316da25450f67285b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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:ea7d7bff36b2ba8ce4de8bba1d2dea90376bc481f1a945a913994a8c492e40c1" "/opt/rustwide/cargo-home/bin/cargo" "+90442458ac46b1d5eed752c316da25450f67285b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3d972314fae80c1dfa9c1acd5a6b1a66db93d77b6cc7a169b72154c4b3fb4e11 [INFO] running `Command { std: "docker" "start" "-a" "3d972314fae80c1dfa9c1acd5a6b1a66db93d77b6cc7a169b72154c4b3fb4e11", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3d972314fae80c1dfa9c1acd5a6b1a66db93d77b6cc7a169b72154c4b3fb4e11", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3d972314fae80c1dfa9c1acd5a6b1a66db93d77b6cc7a169b72154c4b3fb4e11", kill_on_drop: false }` [INFO] [stdout] 3d972314fae80c1dfa9c1acd5a6b1a66db93d77b6cc7a169b72154c4b3fb4e11 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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:ea7d7bff36b2ba8ce4de8bba1d2dea90376bc481f1a945a913994a8c492e40c1" "/opt/rustwide/cargo-home/bin/cargo" "+90442458ac46b1d5eed752c316da25450f67285b" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f9087053d04bc8ef8d077d343d2d4b4698dd5426761c5d57c6a5233cf6ac5af9 [INFO] running `Command { std: "docker" "start" "-a" "f9087053d04bc8ef8d077d343d2d4b4698dd5426761c5d57c6a5233cf6ac5af9", kill_on_drop: false }` [INFO] [stderr] Compiling winapi-build v0.1.1 [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] | ^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | move occurs because `self.players` has type `Vec`, which does not implement the `Copy` trait [INFO] [stdout] | help: consider iterating over a slice of the `Vec<_>`'s content: `&self.players` [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` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [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] | ^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | move occurs because `self.players` has type `Vec`, which does not implement the `Copy` trait [INFO] [stdout] | help: consider iterating over a slice of the `Vec<_>`'s content: `&self.players` [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: build failed [INFO] running `Command { std: "docker" "inspect" "f9087053d04bc8ef8d077d343d2d4b4698dd5426761c5d57c6a5233cf6ac5af9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f9087053d04bc8ef8d077d343d2d4b4698dd5426761c5d57c6a5233cf6ac5af9", kill_on_drop: false }` [INFO] [stdout] f9087053d04bc8ef8d077d343d2d4b4698dd5426761c5d57c6a5233cf6ac5af9