[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-59928/sources/master#df25d79a33b0c82b716699a75a41bfdc6089850a/gh/akofke/texas_holdem"` [INFO] [stderr] Cloning into 'work/ex/pr-59928/sources/master#df25d79a33b0c82b716699a75a41bfdc6089850a/gh/akofke/texas_holdem'... [INFO] [stderr] done. [INFO] running `"git" "clone" "work/cache/sources/gh/akofke/texas_holdem" "work/ex/pr-59928/sources/try#424a4ae163d6517f301cd4048a4b5dd785be5b2f/gh/akofke/texas_holdem"` [INFO] [stderr] Cloning into 'work/ex/pr-59928/sources/try#424a4ae163d6517f301cd4048a4b5dd785be5b2f/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#df25d79a33b0c82b716699a75a41bfdc6089850a [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+df25d79a33b0c82b716699a75a41bfdc6089850a-alt" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] validating manifest of akofke/texas_holdem on toolchain try#424a4ae163d6517f301cd4048a4b5dd785be5b2f [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+424a4ae163d6517f301cd4048a4b5dd785be5b2f-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-59928/sources/master#df25d79a33b0c82b716699a75a41bfdc6089850a/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-59928/sources/try#424a4ae163d6517f301cd4048a4b5dd785be5b2f/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" "+df25d79a33b0c82b716699a75a41bfdc6089850a-alt" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] error: the lock file /mnt/big/crater/work/ex/pr-59928/sources/master#df25d79a33b0c82b716699a75a41bfdc6089850a/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" "+df25d79a33b0c82b716699a75a41bfdc6089850a-alt" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+424a4ae163d6517f301cd4048a4b5dd785be5b2f-alt" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+df25d79a33b0c82b716699a75a41bfdc6089850a-alt" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+424a4ae163d6517f301cd4048a4b5dd785be5b2f-alt" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] checking akofke/texas_holdem against master#df25d79a33b0c82b716699a75a41bfdc6089850a for pr-59928 [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/pr-59928/worker-6/master#df25d79a33b0c82b716699a75a41bfdc6089850a:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/pr-59928/sources/master#df25d79a33b0c82b716699a75a41bfdc6089850a/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" "+df25d79a33b0c82b716699a75a41bfdc6089850a-alt" "check" "--frozen" "--all" "--all-targets"` [INFO] [stdout] 3497d88a7db9b2a7bb47328a9c513294a8a1b9c65af590bd5c18ead577eae256 [INFO] running `"docker" "start" "-a" "3497d88a7db9b2a7bb47328a9c513294a8a1b9c65af590bd5c18ead577eae256"` [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[E0596]: cannot borrow field `player.hand` of immutable binding as mutable [INFO] [stderr] --> src/main.rs:83:17 [INFO] [stderr] | [INFO] [stderr] 82 | for player in self.players { [INFO] [stderr] | ------ help: make this binding mutable: `mut player` [INFO] [stderr] 83 | player.hand.push(self.deck.pop()); [INFO] [stderr] | ^^^^^^^^^^^ cannot mutably borrow field of immutable binding [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: aborting due to 2 previous errors [INFO] [stderr] [INFO] [stderr] Some errors occurred: 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[E0596]: cannot borrow field `player.hand` of immutable binding as mutable [INFO] [stderr] --> src/main.rs:83:17 [INFO] [stderr] | [INFO] [stderr] 82 | for player in self.players { [INFO] [stderr] | ------ help: make this binding mutable: `mut player` [INFO] [stderr] 83 | player.hand.push(self.deck.pop()); [INFO] [stderr] | ^^^^^^^^^^^ cannot mutably borrow field of immutable binding [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: aborting due to 2 previous errors [INFO] [stderr] [INFO] [stderr] Some errors occurred: 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" "3497d88a7db9b2a7bb47328a9c513294a8a1b9c65af590bd5c18ead577eae256"` [INFO] running `"docker" "rm" "-f" "3497d88a7db9b2a7bb47328a9c513294a8a1b9c65af590bd5c18ead577eae256"` [INFO] [stdout] 3497d88a7db9b2a7bb47328a9c513294a8a1b9c65af590bd5c18ead577eae256