[INFO] updating cached repository akofke/texas_holdem [INFO] running `"git" "fetch" "--all"` [INFO] [stdout] Fetching origin [INFO] [stderr] From git://github.com/akofke/texas_holdem [INFO] [stderr] * branch HEAD -> FETCH_HEAD [INFO] running `"git" "clone" "work/cache/sources/gh/akofke/texas_holdem" "work/ex/pr-60039-1/sources/master#e305df1846a6d985315917ae0c81b74af8b4e641/gh/akofke/texas_holdem"` [INFO] [stderr] Cloning into 'work/ex/pr-60039-1/sources/master#e305df1846a6d985315917ae0c81b74af8b4e641/gh/akofke/texas_holdem'... [INFO] [stderr] done. [INFO] running `"git" "clone" "work/cache/sources/gh/akofke/texas_holdem" "work/ex/pr-60039-1/sources/try#99a7498759a22b5684caf798a98b7e90ad9d2443/gh/akofke/texas_holdem"` [INFO] [stderr] Cloning into 'work/ex/pr-60039-1/sources/try#99a7498759a22b5684caf798a98b7e90ad9d2443/gh/akofke/texas_holdem'... [INFO] [stderr] done. [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] 2a82f3801abe7978a0f2ebf6ff2c04ef6f193f13 [INFO] sha for GitHub repo akofke/texas_holdem: 2a82f3801abe7978a0f2ebf6ff2c04ef6f193f13 [INFO] validating manifest of akofke/texas_holdem on toolchain master#e305df1846a6d985315917ae0c81b74af8b4e641 [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+e305df1846a6d985315917ae0c81b74af8b4e641-alt" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] validating manifest of akofke/texas_holdem on toolchain try#99a7498759a22b5684caf798a98b7e90ad9d2443 [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+99a7498759a22b5684caf798a98b7e90ad9d2443-alt" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started frobbing akofke/texas_holdem [INFO] finished frobbing akofke/texas_holdem [INFO] frobbed toml for akofke/texas_holdem written to work/ex/pr-60039-1/sources/master#e305df1846a6d985315917ae0c81b74af8b4e641/gh/akofke/texas_holdem/Cargo.toml [INFO] started frobbing akofke/texas_holdem [INFO] finished frobbing akofke/texas_holdem [INFO] frobbed toml for akofke/texas_holdem written to work/ex/pr-60039-1/sources/try#99a7498759a22b5684caf798a98b7e90ad9d2443/gh/akofke/texas_holdem/Cargo.toml [INFO] crate akofke/texas_holdem already has a lockfile, it will not be regenerated [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+e305df1846a6d985315917ae0c81b74af8b4e641-alt" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] error: the lock file /mnt/big/crater/work/ex/pr-60039-1/sources/master#e305df1846a6d985315917ae0c81b74af8b4e641/gh/akofke/texas_holdem/Cargo.lock needs to be updated but --locked was passed to prevent this [INFO] the lockfile is outdated, regenerating it [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+e305df1846a6d985315917ae0c81b74af8b4e641-alt" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+99a7498759a22b5684caf798a98b7e90ad9d2443-alt" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+e305df1846a6d985315917ae0c81b74af8b4e641-alt" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+99a7498759a22b5684caf798a98b7e90ad9d2443-alt" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] checking akofke/texas_holdem against master#e305df1846a6d985315917ae0c81b74af8b4e641 for pr-60039-1 [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/pr-60039-1/worker-0/master#e305df1846a6d985315917ae0c81b74af8b4e641:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/pr-60039-1/sources/master#e305df1846a6d985315917ae0c81b74af8b4e641/gh/akofke/texas_holdem:/opt/crater/workdir:ro,Z" "-v" "/mnt/big/crater/work/local/cargo-home:/opt/crater/cargo-home:ro,Z" "-v" "/mnt/big/crater/work/local/rustup-home:/opt/crater/rustup-home:ro,Z" "-e" "USER_ID=1000" "-e" "SOURCE_DIR=/opt/crater/workdir" "-e" "MAP_USER_ID=1000" "-e" "CARGO_TARGET_DIR=/opt/crater/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/crater/cargo-home" "-e" "RUSTUP_HOME=/opt/crater/rustup-home" "-w" "/opt/crater/workdir" "-m" "1536M" "--network" "none" "rustops/crates-build-env" "/opt/crater/cargo-home/bin/cargo" "+e305df1846a6d985315917ae0c81b74af8b4e641-alt" "check" "--frozen" "--all" "--all-targets"` [INFO] [stdout] bfea006d68e36fa9b241fadeea455b9fbfe3b268a79b92596339d83bb0304a56 [INFO] running `"docker" "start" "-a" "bfea006d68e36fa9b241fadeea455b9fbfe3b268a79b92596339d83bb0304a56"` [INFO] [stderr] Checking texas_holdem v0.1.0 (/opt/crater/workdir) [INFO] [stderr] warning: use of deprecated item 'rand::Rng::shuffle': use SliceRandom::shuffle instead [INFO] [stderr] --> src/main.rs:153:13 [INFO] [stderr] | [INFO] [stderr] 153 | rng.shuffle(&mut self.cards[..]); [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: #[warn(deprecated)] on by default [INFO] [stderr] [INFO] [stderr] error[E0507]: cannot move out of borrowed content [INFO] [stderr] --> src/main.rs:82:27 [INFO] [stderr] | [INFO] [stderr] 82 | for player in self.players { [INFO] [stderr] | ^^^^^^^^^^^^ cannot move out of borrowed content [INFO] [stderr] [INFO] [stderr] error[E0596]: cannot borrow `player.hand` as mutable, as `player` is not declared as mutable [INFO] [stderr] --> src/main.rs:83:17 [INFO] [stderr] | [INFO] [stderr] 82 | for player in self.players { [INFO] [stderr] | ------ help: consider changing this to be mutable: `mut player` [INFO] [stderr] 83 | player.hand.push(self.deck.pop()); [INFO] [stderr] | ^^^^^^^^^^^ cannot borrow as mutable [INFO] [stderr] [INFO] [stderr] error: aborting due to 2 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0507, E0596. [INFO] [stderr] For more information about an error, try `rustc --explain E0507`. [INFO] [stderr] error: Could not compile `texas_holdem`. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] warning: use of deprecated item 'rand::Rng::shuffle': use SliceRandom::shuffle instead [INFO] [stderr] --> src/main.rs:153:13 [INFO] [stderr] | [INFO] [stderr] 153 | rng.shuffle(&mut self.cards[..]); [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: #[warn(deprecated)] on by default [INFO] [stderr] [INFO] [stderr] error[E0507]: cannot move out of borrowed content [INFO] [stderr] --> src/main.rs:82:27 [INFO] [stderr] | [INFO] [stderr] 82 | for player in self.players { [INFO] [stderr] | ^^^^^^^^^^^^ cannot move out of borrowed content [INFO] [stderr] [INFO] [stderr] error[E0596]: cannot borrow `player.hand` as mutable, as `player` is not declared as mutable [INFO] [stderr] --> src/main.rs:83:17 [INFO] [stderr] | [INFO] [stderr] 82 | for player in self.players { [INFO] [stderr] | ------ help: consider changing this to be mutable: `mut player` [INFO] [stderr] 83 | player.hand.push(self.deck.pop()); [INFO] [stderr] | ^^^^^^^^^^^ cannot borrow as mutable [INFO] [stderr] [INFO] [stderr] error: aborting due to 2 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0507, E0596. [INFO] [stderr] For more information about an error, try `rustc --explain E0507`. [INFO] [stderr] error: Could not compile `texas_holdem`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "bfea006d68e36fa9b241fadeea455b9fbfe3b268a79b92596339d83bb0304a56"` [INFO] running `"docker" "rm" "-f" "bfea006d68e36fa9b241fadeea455b9fbfe3b268a79b92596339d83bb0304a56"` [INFO] [stdout] bfea006d68e36fa9b241fadeea455b9fbfe3b268a79b92596339d83bb0304a56