[INFO] cloning repository https://github.com/giwiro/casino
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/giwiro/casino" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgiwiro%2Fcasino", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgiwiro%2Fcasino'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 0838ce4c45b7659cea9e843787236ac5155603ac
[INFO] checking giwiro/casino against master#cb06d12710575a0d7ff71d6fe108f3bcff4f9195 for pr-128425-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgiwiro%2Fcasino" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/giwiro/casino on toolchain cb06d12710575a0d7ff71d6fe108f3bcff4f9195
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cb06d12710575a0d7ff71d6fe108f3bcff4f9195" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/giwiro/casino
[INFO] finished tweaking git repo https://github.com/giwiro/casino
[INFO] tweaked toml for git repo https://github.com/giwiro/casino written to /workspace/builds/worker-6-tc1/source/Cargo.toml
[INFO] crate git repo https://github.com/giwiro/casino already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cb06d12710575a0d7ff71d6fe108f3bcff4f9195" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+cb06d12710575a0d7ff71d6fe108f3bcff4f9195" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 8d6d7b4031efc1c038cd94284269f892572cfe10de339877233a387b37f7cf5d
[INFO] running `Command { std: "docker" "start" "-a" "8d6d7b4031efc1c038cd94284269f892572cfe10de339877233a387b37f7cf5d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "8d6d7b4031efc1c038cd94284269f892572cfe10de339877233a387b37f7cf5d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "8d6d7b4031efc1c038cd94284269f892572cfe10de339877233a387b37f7cf5d", kill_on_drop: false }`
[INFO] [stdout] 8d6d7b4031efc1c038cd94284269f892572cfe10de339877233a387b37f7cf5d
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/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" "RUSTDOCFLAGS=--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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+cb06d12710575a0d7ff71d6fe108f3bcff4f9195" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 69ea91b8c98147ba8e57bba2872520039bf1390af3fc916f668d84305a82e2c9
[INFO] running `Command { std: "docker" "start" "-a" "69ea91b8c98147ba8e57bba2872520039bf1390af3fc916f668d84305a82e2c9", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.108
[INFO] [stderr]     Checking cfg-if v1.0.0
[INFO] [stderr]     Checking ppv-lite86 v0.2.15
[INFO] [stderr]     Checking getrandom v0.2.3
[INFO] [stderr]     Checking rand_core v0.6.3
[INFO] [stderr]     Checking rand_chacha v0.3.1
[INFO] [stderr]     Checking rand v0.8.4
[INFO] [stderr]     Checking casino v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused variable: `has_as`
[INFO] [stdout]   --> src/hand.rs:44:13
[INFO] [stdout]    |
[INFO] [stdout] 44 |         let has_as = false;
[INFO] [stdout]    |             ^^^^^^ help: if this is intentional, prefix it with an underscore: `_has_as`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `split_player_hand`
[INFO] [stdout]   --> src/game.rs:86:17
[INFO] [stdout]    |
[INFO] [stdout] 86 |         let mut split_player_hand = Hand::new();
[INFO] [stdout]    |                 ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_split_player_hand`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/game.rs:78:13
[INFO] [stdout]    |
[INFO] [stdout] 78 |         let mut bet_multiplier: u32 = 1;
[INFO] [stdout]    |             ----^^^^^^^^^^^^^^
[INFO] [stdout]    |             |
[INFO] [stdout]    |             help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/game.rs:86:13
[INFO] [stdout]    |
[INFO] [stdout] 86 |         let mut split_player_hand = Hand::new();
[INFO] [stdout]    |             ----^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |             |
[INFO] [stdout]    |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `has_as`
[INFO] [stdout]   --> src/hand.rs:44:13
[INFO] [stdout]    |
[INFO] [stdout] 44 |         let has_as = false;
[INFO] [stdout]    |             ^^^^^^ help: if this is intentional, prefix it with an underscore: `_has_as`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `shape` is never read
[INFO] [stdout]   --> src/card.rs:11:9
[INFO] [stdout]    |
[INFO] [stdout] 10 | pub struct Card {
[INFO] [stdout]    |            ---- field in this struct
[INFO] [stdout] 11 |     pub shape: Shape,
[INFO] [stdout]    |         ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Card` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `is_empty`, `is_pair`, and `split` are never used
[INFO] [stdout]   --> src/hand.rs:15:12
[INFO] [stdout]    |
[INFO] [stdout] 8  | impl Hand {
[INFO] [stdout]    | --------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 15 |     pub fn is_empty(&self) -> bool {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 19 |     pub fn is_pair(&self) -> bool {
[INFO] [stdout]    |            ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 27 |     pub fn split(&mut self) -> Result<Card, &'static str> {
[INFO] [stdout]    |            ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `Hit`, `Stand`, and `Split` are never constructed
[INFO] [stdout]   --> src/game.rs:25:5
[INFO] [stdout]    |
[INFO] [stdout] 24 | pub enum GameMove {
[INFO] [stdout]    |          -------- variants in this enum
[INFO] [stdout] 25 |     Hit,
[INFO] [stdout]    |     ^^^
[INFO] [stdout] 26 |     Stand,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout] 27 |     Split,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `GameMove` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `split_player_hand`
[INFO] [stdout]   --> src/game.rs:86:17
[INFO] [stdout]    |
[INFO] [stdout] 86 |         let mut split_player_hand = Hand::new();
[INFO] [stdout]    |                 ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_split_player_hand`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/game.rs:78:13
[INFO] [stdout]    |
[INFO] [stdout] 78 |         let mut bet_multiplier: u32 = 1;
[INFO] [stdout]    |             ----^^^^^^^^^^^^^^
[INFO] [stdout]    |             |
[INFO] [stdout]    |             help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/game.rs:86:13
[INFO] [stdout]    |
[INFO] [stdout] 86 |         let mut split_player_hand = Hand::new();
[INFO] [stdout]    |             ----^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |             |
[INFO] [stdout]    |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `shape` is never read
[INFO] [stdout]   --> src/card.rs:11:9
[INFO] [stdout]    |
[INFO] [stdout] 10 | pub struct Card {
[INFO] [stdout]    |            ---- field in this struct
[INFO] [stdout] 11 |     pub shape: Shape,
[INFO] [stdout]    |         ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Card` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `is_empty`, `is_pair`, and `split` are never used
[INFO] [stdout]   --> src/hand.rs:15:12
[INFO] [stdout]    |
[INFO] [stdout] 8  | impl Hand {
[INFO] [stdout]    | --------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 15 |     pub fn is_empty(&self) -> bool {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 19 |     pub fn is_pair(&self) -> bool {
[INFO] [stdout]    |            ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 27 |     pub fn split(&mut self) -> Result<Card, &'static str> {
[INFO] [stdout]    |            ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `Hit`, `Stand`, and `Split` are never constructed
[INFO] [stdout]   --> src/game.rs:25:5
[INFO] [stdout]    |
[INFO] [stdout] 24 | pub enum GameMove {
[INFO] [stdout]    |          -------- variants in this enum
[INFO] [stdout] 25 |     Hit,
[INFO] [stdout]    |     ^^^
[INFO] [stdout] 26 |     Stand,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout] 27 |     Split,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `GameMove` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 2.48s
[INFO] running `Command { std: "docker" "inspect" "69ea91b8c98147ba8e57bba2872520039bf1390af3fc916f668d84305a82e2c9", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "69ea91b8c98147ba8e57bba2872520039bf1390af3fc916f668d84305a82e2c9", kill_on_drop: false }`
[INFO] [stdout] 69ea91b8c98147ba8e57bba2872520039bf1390af3fc916f668d84305a82e2c9
