[INFO] updating cached repository https://github.com/ElectricCoffee/Blackjack [INFO] running `Command { std: "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", kill_on_drop: false }` [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 73b8e6c10b07e87589466451ea8b1b6fc5de11dd [INFO] checking ElectricCoffee/Blackjack against try#6024cfef3a82f9a7688f07054f1650081bad3af5 for pr-74130 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FElectricCoffee%2FBlackjack" "/workspace/builds/worker-6/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/ElectricCoffee/Blackjack on toolchain 6024cfef3a82f9a7688f07054f1650081bad3af5 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+6024cfef3a82f9a7688f07054f1650081bad3af5" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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-6/source/Cargo.toml [INFO] crate git repo https://github.com/ElectricCoffee/Blackjack already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+6024cfef3a82f9a7688f07054f1650081bad3af5" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env@sha256:819119df93c0f5eca3f29186f14981ef29945a311854d7222af07488600a2584" "/opt/rustwide/cargo-home/bin/cargo" "+6024cfef3a82f9a7688f07054f1650081bad3af5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e0a671d2a0ed94c2eb49dc3e8c4ec096084e561fc032f39eb08fa9e21885853a [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "e0a671d2a0ed94c2eb49dc3e8c4ec096084e561fc032f39eb08fa9e21885853a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e0a671d2a0ed94c2eb49dc3e8c4ec096084e561fc032f39eb08fa9e21885853a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e0a671d2a0ed94c2eb49dc3e8c4ec096084e561fc032f39eb08fa9e21885853a", kill_on_drop: false }` [INFO] [stdout] e0a671d2a0ed94c2eb49dc3e8c4ec096084e561fc032f39eb08fa9e21885853a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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@sha256:819119df93c0f5eca3f29186f14981ef29945a311854d7222af07488600a2584" "/opt/rustwide/cargo-home/bin/cargo" "+6024cfef3a82f9a7688f07054f1650081bad3af5" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 4b89bb56df0f3c2421803a7f4fd4657948bfa550d1a835f41d677b9b6452cb91 [INFO] running `Command { std: "docker" "start" "-a" "4b89bb56df0f3c2421803a7f4fd4657948bfa550d1a835f41d677b9b6452cb91", kill_on_drop: false }` [INFO] [stderr] Compiling lazy_static v1.1.0 [INFO] [stderr] Compiling memchr v2.1.0 [INFO] [stderr] Checking rand v0.5.5 [INFO] [stderr] Checking thread_local v0.3.6 [INFO] [stderr] Checking aho-corasick v0.6.8 [INFO] [stderr] Checking regex v1.0.5 [INFO] [stderr] Checking blackjack v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0609]: no field `current_bid` on type `&mut game::state::State` [INFO] [stdout] --> src/game/mod.rs:35:51 [INFO] [stdout] | [INFO] [stdout] 35 | if state.player_hands.is_empty() && state.current_bid > 0 { [INFO] [stdout] | ^^^^^^^^^^^ help: a field with a similar name exists: `current_bids` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `current_bid` on type `&mut game::state::State` [INFO] [stdout] --> src/game/mod.rs:41:50 [INFO] [stdout] | [INFO] [stdout] 41 | if state.dealer_hand.is_empty() && state.current_bid > 0 { [INFO] [stdout] | ^^^^^^^^^^^ help: a field with a similar name exists: `current_bids` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `current_bid` on type `&game::state::State` [INFO] [stdout] --> src/game/mod.rs:77:31 [INFO] [stdout] | [INFO] [stdout] 77 | println!("Pot: {}", state.current_bid); [INFO] [stdout] | ^^^^^^^^^^^ help: a field with a similar name exists: `current_bids` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `current_bid` on type `&mut game::state::State` [INFO] [stdout] --> src/game/mod.rs:35:51 [INFO] [stdout] | [INFO] [stdout] 35 | if state.player_hands.is_empty() && state.current_bid > 0 { [INFO] [stdout] | ^^^^^^^^^^^ help: a field with a similar name exists: `current_bids` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `current_bid` on type `&mut game::state::State` [INFO] [stdout] --> src/game/mod.rs:122:15 [INFO] [stdout] | [INFO] [stdout] 122 | state.current_bid += amount; [INFO] [stdout] | ^^^^^^^^^^^ help: a field with a similar name exists: `current_bids` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `current_bid` on type `&mut game::state::State` [INFO] [stdout] --> src/game/mod.rs:41:50 [INFO] [stdout] | [INFO] [stdout] 41 | if state.dealer_hand.is_empty() && state.current_bid > 0 { [INFO] [stdout] | ^^^^^^^^^^^ help: a field with a similar name exists: `current_bids` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `Loss` found for enum `game::flow::Flow` in the current scope [INFO] [stdout] --> src/game/mod.rs:141:26 [INFO] [stdout] | [INFO] [stdout] 141 | return Flow::Loss; [INFO] [stdout] | ^^^^ variant or associated item not found in `game::flow::Flow` [INFO] [stdout] | [INFO] [stdout] ::: src/game/flow.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | pub enum Flow { [INFO] [stdout] | ------------- variant or associated item `Loss` not found here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/game/mod.rs:148:5 [INFO] [stdout] | [INFO] [stdout] 146 | panic!("Stand unhandled"); [INFO] [stdout] | -------------------------- any code following this expression is unreachable [INFO] [stdout] 147 | [INFO] [stdout] 148 | Flow::Continue [INFO] [stdout] | ^^^^^^^^^^^^^^ unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `current_bid` on type `&game::state::State` [INFO] [stdout] --> src/game/mod.rs:77:31 [INFO] [stdout] | [INFO] [stdout] 77 | println!("Pot: {}", state.current_bid); [INFO] [stdout] | ^^^^^^^^^^^ help: a field with a similar name exists: `current_bids` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `Loss` found for enum `game::flow::Flow` in the current scope [INFO] [stdout] --> src/game/mod.rs:176:19 [INFO] [stdout] | [INFO] [stdout] 176 | Flow::Loss [INFO] [stdout] | ^^^^ variant or associated item not found in `game::flow::Flow` [INFO] [stdout] | [INFO] [stdout] ::: src/game/flow.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | pub enum Flow { [INFO] [stdout] | ------------- variant or associated item `Loss` not found here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `current_bid` on type `&mut game::state::State` [INFO] [stdout] --> src/game/mod.rs:192:21 [INFO] [stdout] | [INFO] [stdout] 192 | let pot = state.current_bid; [INFO] [stdout] | ^^^^^^^^^^^ help: a field with a similar name exists: `current_bids` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `Win` found for enum `game::flow::Flow` in the current scope [INFO] [stdout] --> src/game/mod.rs:195:15 [INFO] [stdout] | [INFO] [stdout] 195 | Flow::Win => { [INFO] [stdout] | ^^^ variant or associated item not found in `game::flow::Flow` [INFO] [stdout] | [INFO] [stdout] ::: src/game/flow.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | pub enum Flow { [INFO] [stdout] | ------------- variant or associated item `Win` not found here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `Loss` found for enum `game::flow::Flow` in the current scope [INFO] [stdout] --> src/game/mod.rs:202:15 [INFO] [stdout] | [INFO] [stdout] 202 | Flow::Loss => { [INFO] [stdout] | ^^^^ variant or associated item not found in `game::flow::Flow` [INFO] [stdout] | [INFO] [stdout] ::: src/game/flow.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | pub enum Flow { [INFO] [stdout] | ------------- variant or associated item `Loss` not found here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `current_bid` on type `&mut game::state::State` [INFO] [stdout] --> src/game/mod.rs:198:19 [INFO] [stdout] | [INFO] [stdout] 198 | state.current_bid = 0; [INFO] [stdout] | ^^^^^^^^^^^ help: a field with a similar name exists: `current_bids` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `current_bid` on type `&mut game::state::State` [INFO] [stdout] --> src/game/mod.rs:205:19 [INFO] [stdout] | [INFO] [stdout] 205 | state.current_bid = 0; [INFO] [stdout] | ^^^^^^^^^^^ help: a field with a similar name exists: `current_bids` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `current_bid` on type `&mut game::state::State` [INFO] [stdout] --> src/game/mod.rs:122:15 [INFO] [stdout] | [INFO] [stdout] 122 | state.current_bid += amount; [INFO] [stdout] | ^^^^^^^^^^^ help: a field with a similar name exists: `current_bids` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `Loss` found for enum `game::flow::Flow` in the current scope [INFO] [stdout] --> src/game/mod.rs:141:26 [INFO] [stdout] | [INFO] [stdout] 141 | return Flow::Loss; [INFO] [stdout] | ^^^^ variant or associated item not found in `game::flow::Flow` [INFO] [stdout] | [INFO] [stdout] ::: src/game/flow.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | pub enum Flow { [INFO] [stdout] | ------------- variant or associated item `Loss` not found here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/game/mod.rs:148:5 [INFO] [stdout] | [INFO] [stdout] 146 | panic!("Stand unhandled"); [INFO] [stdout] | -------------------------- any code following this expression is unreachable [INFO] [stdout] 147 | [INFO] [stdout] 148 | Flow::Continue [INFO] [stdout] | ^^^^^^^^^^^^^^ unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `Loss` found for enum `game::flow::Flow` in the current scope [INFO] [stdout] --> src/game/mod.rs:176:19 [INFO] [stdout] | [INFO] [stdout] 176 | Flow::Loss [INFO] [stdout] | ^^^^ variant or associated item not found in `game::flow::Flow` [INFO] [stdout] | [INFO] [stdout] ::: src/game/flow.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | pub enum Flow { [INFO] [stdout] | ------------- variant or associated item `Loss` not found here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `current_bid` on type `&mut game::state::State` [INFO] [stdout] --> src/game/mod.rs:192:21 [INFO] [stdout] | [INFO] [stdout] 192 | let pot = state.current_bid; [INFO] [stdout] | ^^^^^^^^^^^ help: a field with a similar name exists: `current_bids` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `Win` found for enum `game::flow::Flow` in the current scope [INFO] [stdout] --> src/game/mod.rs:195:15 [INFO] [stdout] | [INFO] [stdout] 195 | Flow::Win => { [INFO] [stdout] | ^^^ variant or associated item not found in `game::flow::Flow` [INFO] [stdout] | [INFO] [stdout] ::: src/game/flow.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | pub enum Flow { [INFO] [stdout] | ------------- variant or associated item `Win` not found here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `Loss` found for enum `game::flow::Flow` in the current scope [INFO] [stdout] --> src/game/mod.rs:202:15 [INFO] [stdout] | [INFO] [stdout] 202 | Flow::Loss => { [INFO] [stdout] | ^^^^ variant or associated item not found in `game::flow::Flow` [INFO] [stdout] | [INFO] [stdout] ::: src/game/flow.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | pub enum Flow { [INFO] [stdout] | ------------- variant or associated item `Loss` not found here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `current_bid` on type `&mut game::state::State` [INFO] [stdout] --> src/game/mod.rs:198:19 [INFO] [stdout] | [INFO] [stdout] 198 | state.current_bid = 0; [INFO] [stdout] | ^^^^^^^^^^^ help: a field with a similar name exists: `current_bids` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `current_bid` on type `&mut game::state::State` [INFO] [stdout] --> src/game/mod.rs:205:19 [INFO] [stdout] | [INFO] [stdout] 205 | state.current_bid = 0; [INFO] [stdout] | ^^^^^^^^^^^ help: a field with a similar name exists: `current_bids` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 11 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0599, E0609. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0599`. [INFO] [stdout] [INFO] [stderr] error: could not compile `blackjack`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 11 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0599, E0609. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0599`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "4b89bb56df0f3c2421803a7f4fd4657948bfa550d1a835f41d677b9b6452cb91", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4b89bb56df0f3c2421803a7f4fd4657948bfa550d1a835f41d677b9b6452cb91", kill_on_drop: false }` [INFO] [stdout] 4b89bb56df0f3c2421803a7f4fd4657948bfa550d1a835f41d677b9b6452cb91