[INFO] updating cached repository https://github.com/ElectricCoffee/Blackjack [INFO] running `"git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune"` [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] 73b8e6c10b07e87589466451ea8b1b6fc5de11dd [INFO] checking ElectricCoffee/Blackjack against master#b61e69433951e31f7bd746e22f516a48ad41623b for prs-64470-and-65389 [INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FElectricCoffee%2FBlackjack" "/workspace/builds/worker-12/source"` [INFO] [stderr] Cloning into '/workspace/builds/worker-12/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/ElectricCoffee/Blackjack on toolchain b61e69433951e31f7bd746e22f516a48ad41623b [INFO] running `"/workspace/cargo-home/bin/cargo" "+b61e69433951e31f7bd746e22f516a48ad41623b" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking git repo https://github.com/ElectricCoffee/Blackjack [INFO] finished tweaking git repo https://github.com/ElectricCoffee/Blackjack [INFO] tweaked toml for git repo https://github.com/ElectricCoffee/Blackjack written to /workspace/builds/worker-12/source/Cargo.toml [INFO] crate git repo https://github.com/ElectricCoffee/Blackjack already has a lockfile, it will not be regenerated [INFO] running `"/workspace/cargo-home/bin/cargo" "+b61e69433951e31f7bd746e22f516a48ad41623b" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+b61e69433951e31f7bd746e22f516a48ad41623b" "check" "--frozen" "--all" "--all-targets"` [INFO] [stdout] 9191116f48eb16941bdd47d5950f1f04ecefb97f1bf9f00e33f1d691b48fac9c [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `"docker" "start" "-a" "9191116f48eb16941bdd47d5950f1f04ecefb97f1bf9f00e33f1d691b48fac9c"` [INFO] [stderr] Checking blackjack v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] error[E0609]: no field `current_bid` on type `&mut game::state::State` [INFO] [stderr] --> src/game/mod.rs:35:51 [INFO] [stderr] | [INFO] [stderr] 35 | if state.player_hands.is_empty() && state.current_bid > 0 { [INFO] [stderr] | ^^^^^^^^^^^ help: a field with a similar name exists: `current_bids` [INFO] [stderr] [INFO] [stderr] error[E0609]: no field `current_bid` on type `&mut game::state::State` [INFO] [stderr] --> src/game/mod.rs:41:50 [INFO] [stderr] | [INFO] [stderr] 41 | if state.dealer_hand.is_empty() && state.current_bid > 0 { [INFO] [stderr] | ^^^^^^^^^^^ help: a field with a similar name exists: `current_bids` [INFO] [stderr] [INFO] [stderr] error[E0609]: no field `current_bid` on type `&game::state::State` [INFO] [stderr] --> src/game/mod.rs:77:31 [INFO] [stderr] | [INFO] [stderr] 77 | println!("Pot: {}", state.current_bid); [INFO] [stderr] | ^^^^^^^^^^^ help: a field with a similar name exists: `current_bids` [INFO] [stderr] [INFO] [stderr] error[E0609]: no field `current_bid` on type `&mut game::state::State` [INFO] [stderr] --> src/game/mod.rs:122:15 [INFO] [stderr] | [INFO] [stderr] 122 | state.current_bid += amount; [INFO] [stderr] | ^^^^^^^^^^^ help: a field with a similar name exists: `current_bids` [INFO] [stderr] [INFO] [stderr] error[E0599]: no variant or associated item named `Loss` found for type `game::flow::Flow` in the current scope [INFO] [stderr] --> src/game/mod.rs:141:26 [INFO] [stderr] | [INFO] [stderr] 141 | return Flow::Loss; [INFO] [stderr] | ^^^^ variant or associated item not found in `game::flow::Flow` [INFO] [stderr] | [INFO] [stderr] ::: src/game/flow.rs:2:1 [INFO] [stderr] | [INFO] [stderr] 2 | pub enum Flow { [INFO] [stderr] | ------------- variant or associated item `Loss` not found here [INFO] [stderr] [INFO] [stderr] warning: unreachable expression [INFO] [stderr] --> src/game/mod.rs:148:5 [INFO] [stderr] | [INFO] [stderr] 146 | panic!("Stand unhandled"); [INFO] [stderr] | -------------------------- any code following this expression is unreachable [INFO] [stderr] 147 | [INFO] [stderr] 148 | Flow::Continue [INFO] [stderr] | ^^^^^^^^^^^^^^ unreachable expression [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unreachable_code)]` on by default [INFO] [stderr] = note: this warning originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0609]: no field `current_bid` on type `&mut game::state::State` [INFO] [stderr] --> src/game/mod.rs:35:51 [INFO] [stderr] | [INFO] [stderr] 35 | if state.player_hands.is_empty() && state.current_bid > 0 { [INFO] [stderr] | ^^^^^^^^^^^ help: a field with a similar name exists: `current_bids` [INFO] [stderr] [INFO] [stderr] error[E0609]: no field `current_bid` on type `&mut game::state::State` [INFO] [stderr] --> src/game/mod.rs:41:50 [INFO] [stderr] | [INFO] [stderr] 41 | if state.dealer_hand.is_empty() && state.current_bid > 0 { [INFO] [stderr] | ^^^^^^^^^^^ help: a field with a similar name exists: `current_bids` [INFO] [stderr] [INFO] [stderr] error[E0599]: no variant or associated item named `Loss` found for type `game::flow::Flow` in the current scope [INFO] [stderr] --> src/game/mod.rs:176:19 [INFO] [stderr] | [INFO] [stderr] 176 | Flow::Loss [INFO] [stderr] | ^^^^ variant or associated item not found in `game::flow::Flow` [INFO] [stderr] | [INFO] [stderr] ::: src/game/flow.rs:2:1 [INFO] [stderr] | [INFO] [stderr] 2 | pub enum Flow { [INFO] [stderr] | ------------- variant or associated item `Loss` not found here [INFO] [stderr] [INFO] [stderr] error[E0609]: no field `current_bid` on type `&game::state::State` [INFO] [stderr] --> src/game/mod.rs:77:31 [INFO] [stderr] | [INFO] [stderr] 77 | println!("Pot: {}", state.current_bid); [INFO] [stderr] | ^^^^^^^^^^^ help: a field with a similar name exists: `current_bids` [INFO] [stderr] [INFO] [stderr] error[E0609]: no field `current_bid` on type `&mut game::state::State` [INFO] [stderr] --> src/game/mod.rs:192:21 [INFO] [stderr] | [INFO] [stderr] 192 | let pot = state.current_bid; [INFO] [stderr] | ^^^^^^^^^^^ help: a field with a similar name exists: `current_bids` [INFO] [stderr] [INFO] [stderr] error[E0599]: no variant or associated item named `Win` found for type `game::flow::Flow` in the current scope [INFO] [stderr] --> src/game/mod.rs:195:15 [INFO] [stderr] | [INFO] [stderr] 195 | Flow::Win => { [INFO] [stderr] | ^^^ variant or associated item not found in `game::flow::Flow` [INFO] [stderr] | [INFO] [stderr] ::: src/game/flow.rs:2:1 [INFO] [stderr] | [INFO] [stderr] 2 | pub enum Flow { [INFO] [stderr] | ------------- variant or associated item `Win` not found here [INFO] [stderr] [INFO] [stderr] error[E0599]: no variant or associated item named `Loss` found for type `game::flow::Flow` in the current scope [INFO] [stderr] --> src/game/mod.rs:202:15 [INFO] [stderr] | [INFO] [stderr] 202 | Flow::Loss => { [INFO] [stderr] | ^^^^ variant or associated item not found in `game::flow::Flow` [INFO] [stderr] | [INFO] [stderr] ::: src/game/flow.rs:2:1 [INFO] [stderr] | [INFO] [stderr] 2 | pub enum Flow { [INFO] [stderr] | ------------- variant or associated item `Loss` not found here [INFO] [stderr] [INFO] [stderr] error[E0609]: no field `current_bid` on type `&mut game::state::State` [INFO] [stderr] --> src/game/mod.rs:198:19 [INFO] [stderr] | [INFO] [stderr] 198 | state.current_bid = 0; [INFO] [stderr] | ^^^^^^^^^^^ help: a field with a similar name exists: `current_bids` [INFO] [stderr] [INFO] [stderr] error[E0609]: no field `current_bid` on type `&mut game::state::State` [INFO] [stderr] --> src/game/mod.rs:205:19 [INFO] [stderr] | [INFO] [stderr] 205 | state.current_bid = 0; [INFO] [stderr] | ^^^^^^^^^^^ help: a field with a similar name exists: `current_bids` [INFO] [stderr] [INFO] [stderr] error[E0609]: no field `current_bid` on type `&mut game::state::State` [INFO] [stderr] --> src/game/mod.rs:122:15 [INFO] [stderr] | [INFO] [stderr] 122 | state.current_bid += amount; [INFO] [stderr] | ^^^^^^^^^^^ help: a field with a similar name exists: `current_bids` [INFO] [stderr] [INFO] [stderr] error[E0599]: no variant or associated item named `Loss` found for type `game::flow::Flow` in the current scope [INFO] [stderr] --> src/game/mod.rs:141:26 [INFO] [stderr] | [INFO] [stderr] 141 | return Flow::Loss; [INFO] [stderr] | ^^^^ variant or associated item not found in `game::flow::Flow` [INFO] [stderr] | [INFO] [stderr] ::: src/game/flow.rs:2:1 [INFO] [stderr] | [INFO] [stderr] 2 | pub enum Flow { [INFO] [stderr] | ------------- variant or associated item `Loss` not found here [INFO] [stderr] [INFO] [stderr] error: aborting due to 11 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0599, E0609. [INFO] [stderr] For more information about an error, try `rustc --explain E0599`. [INFO] [stderr] warning: unreachable expression [INFO] [stderr] --> src/game/mod.rs:148:5 [INFO] [stderr] | [INFO] [stderr] 146 | panic!("Stand unhandled"); [INFO] [stderr] | -------------------------- any code following this expression is unreachable [INFO] [stderr] 147 | [INFO] [stderr] 148 | Flow::Continue [INFO] [stderr] | ^^^^^^^^^^^^^^ unreachable expression [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unreachable_code)]` on by default [INFO] [stderr] = note: this warning originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0599]: no variant or associated item named `Loss` found for type `game::flow::Flow` in the current scope [INFO] [stderr] --> src/game/mod.rs:176:19 [INFO] [stderr] | [INFO] [stderr] 176 | Flow::Loss [INFO] [stderr] | ^^^^ variant or associated item not found in `game::flow::Flow` [INFO] [stderr] | [INFO] [stderr] ::: src/game/flow.rs:2:1 [INFO] [stderr] | [INFO] [stderr] 2 | pub enum Flow { [INFO] [stderr] | ------------- variant or associated item `Loss` not found here [INFO] [stderr] [INFO] [stderr] error[E0609]: no field `current_bid` on type `&mut game::state::State` [INFO] [stderr] --> src/game/mod.rs:192:21 [INFO] [stderr] | [INFO] [stderr] 192 | let pot = state.current_bid; [INFO] [stderr] | ^^^^^^^^^^^ help: a field with a similar name exists: `current_bids` [INFO] [stderr] [INFO] [stderr] error[E0599]: no variant or associated item named `Win` found for type `game::flow::Flow` in the current scope [INFO] [stderr] --> src/game/mod.rs:195:15 [INFO] [stderr] | [INFO] [stderr] 195 | Flow::Win => { [INFO] [stderr] | ^^^ variant or associated item not found in `game::flow::Flow` [INFO] [stderr] | [INFO] [stderr] ::: src/game/flow.rs:2:1 [INFO] [stderr] | [INFO] [stderr] 2 | pub enum Flow { [INFO] [stderr] | ------------- variant or associated item `Win` not found here [INFO] [stderr] [INFO] [stderr] error[E0599]: no variant or associated item named `Loss` found for type `game::flow::Flow` in the current scope [INFO] [stderr] --> src/game/mod.rs:202:15 [INFO] [stderr] | [INFO] [stderr] 202 | Flow::Loss => { [INFO] [stderr] | ^^^^ variant or associated item not found in `game::flow::Flow` [INFO] [stderr] | [INFO] [stderr] ::: src/game/flow.rs:2:1 [INFO] [stderr] | [INFO] [stderr] 2 | pub enum Flow { [INFO] [stderr] | ------------- variant or associated item `Loss` not found here [INFO] [stderr] [INFO] [stderr] error[E0609]: no field `current_bid` on type `&mut game::state::State` [INFO] [stderr] --> src/game/mod.rs:198:19 [INFO] [stderr] | [INFO] [stderr] 198 | state.current_bid = 0; [INFO] [stderr] | ^^^^^^^^^^^ help: a field with a similar name exists: `current_bids` [INFO] [stderr] [INFO] [stderr] error[E0609]: no field `current_bid` on type `&mut game::state::State` [INFO] [stderr] --> src/game/mod.rs:205:19 [INFO] [stderr] | [INFO] [stderr] 205 | state.current_bid = 0; [INFO] [stderr] | ^^^^^^^^^^^ help: a field with a similar name exists: `current_bids` [INFO] [stderr] [INFO] [stderr] error: could not compile `blackjack`. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: aborting due to 11 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0599, E0609. [INFO] [stderr] For more information about an error, try `rustc --explain E0599`. [INFO] [stderr] error: could not compile `blackjack`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "9191116f48eb16941bdd47d5950f1f04ecefb97f1bf9f00e33f1d691b48fac9c"` [INFO] running `"docker" "rm" "-f" "9191116f48eb16941bdd47d5950f1f04ecefb97f1bf9f00e33f1d691b48fac9c"` [INFO] [stdout] 9191116f48eb16941bdd47d5950f1f04ecefb97f1bf9f00e33f1d691b48fac9c