[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-61100/sources/master#8869ee03d7f258e1b76a11c6fbb01b5708a9f504/gh/akofke/texas_holdem"` [INFO] [stderr] Cloning into 'work/ex/pr-61100/sources/master#8869ee03d7f258e1b76a11c6fbb01b5708a9f504/gh/akofke/texas_holdem'... [INFO] [stderr] done. [INFO] running `"git" "clone" "work/cache/sources/gh/akofke/texas_holdem" "work/ex/pr-61100/sources/try#58b21121d0b447ceb3f1a655155d802191acf044/gh/akofke/texas_holdem"` [INFO] [stderr] Cloning into 'work/ex/pr-61100/sources/try#58b21121d0b447ceb3f1a655155d802191acf044/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#8869ee03d7f258e1b76a11c6fbb01b5708a9f504 [INFO] running `"/mnt/crater-raid/crater/work/local/cargo-home/bin/cargo" "+8869ee03d7f258e1b76a11c6fbb01b5708a9f504-alt" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] validating manifest of akofke/texas_holdem on toolchain try#58b21121d0b447ceb3f1a655155d802191acf044 [INFO] running `"/mnt/crater-raid/crater/work/local/cargo-home/bin/cargo" "+58b21121d0b447ceb3f1a655155d802191acf044-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-61100/sources/master#8869ee03d7f258e1b76a11c6fbb01b5708a9f504/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-61100/sources/try#58b21121d0b447ceb3f1a655155d802191acf044/gh/akofke/texas_holdem/Cargo.toml [INFO] crate akofke/texas_holdem already has a lockfile, it will not be regenerated [INFO] running `"/mnt/crater-raid/crater/work/local/cargo-home/bin/cargo" "+8869ee03d7f258e1b76a11c6fbb01b5708a9f504-alt" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] error: the lock file /mnt/crater-raid/crater/work/ex/pr-61100/sources/master#8869ee03d7f258e1b76a11c6fbb01b5708a9f504/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/crater-raid/crater/work/local/cargo-home/bin/cargo" "+8869ee03d7f258e1b76a11c6fbb01b5708a9f504-alt" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/mnt/crater-raid/crater/work/local/cargo-home/bin/cargo" "+58b21121d0b447ceb3f1a655155d802191acf044-alt" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/mnt/crater-raid/crater/work/local/cargo-home/bin/cargo" "+8869ee03d7f258e1b76a11c6fbb01b5708a9f504-alt" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"/mnt/crater-raid/crater/work/local/cargo-home/bin/cargo" "+58b21121d0b447ceb3f1a655155d802191acf044-alt" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] checking akofke/texas_holdem against master#8869ee03d7f258e1b76a11c6fbb01b5708a9f504 for pr-61100 [INFO] running `"docker" "create" "-v" "/mnt/crater-raid/crater/work/local/target-dirs/pr-61100/worker-2/master#8869ee03d7f258e1b76a11c6fbb01b5708a9f504:/opt/crater/target:rw,Z" "-v" "/mnt/crater-raid/crater/work/ex/pr-61100/sources/master#8869ee03d7f258e1b76a11c6fbb01b5708a9f504/gh/akofke/texas_holdem:/opt/crater/workdir:ro,Z" "-v" "/mnt/crater-raid/crater/work/local/cargo-home:/opt/crater/cargo-home:ro,Z" "-v" "/mnt/crater-raid/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" "+8869ee03d7f258e1b76a11c6fbb01b5708a9f504-alt" "check" "--frozen" "--all" "--all-targets"` [INFO] [stdout] 04522be664fed685ffb55d8b4006d2e006a593d8570bde0d34673c7e057abe75 [INFO] running `"docker" "start" "-a" "04522be664fed685ffb55d8b4006d2e006a593d8570bde0d34673c7e057abe75"` [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" "04522be664fed685ffb55d8b4006d2e006a593d8570bde0d34673c7e057abe75"` [INFO] running `"docker" "rm" "-f" "04522be664fed685ffb55d8b4006d2e006a593d8570bde0d34673c7e057abe75"` [INFO] [stdout] 04522be664fed685ffb55d8b4006d2e006a593d8570bde0d34673c7e057abe75