[INFO] cloning repository https://github.com/ElectricCoffee/Blackjack [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ElectricCoffee/Blackjack" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FElectricCoffee%2FBlackjack", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FElectricCoffee%2FBlackjack'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 73b8e6c10b07e87589466451ea8b1b6fc5de11dd [INFO] testing ElectricCoffee/Blackjack against 1.60.0 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FElectricCoffee%2FBlackjack" "/workspace/builds/worker-2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/ElectricCoffee/Blackjack on toolchain 1.60.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", 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-2/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" "+1.60.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b52bc7fdd3545cbd8b29792f228d795effa0c028266f91fdadfdaa81b5c7ff80 [INFO] running `Command { std: "docker" "start" "-a" "b52bc7fdd3545cbd8b29792f228d795effa0c028266f91fdadfdaa81b5c7ff80", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b52bc7fdd3545cbd8b29792f228d795effa0c028266f91fdadfdaa81b5c7ff80", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b52bc7fdd3545cbd8b29792f228d795effa0c028266f91fdadfdaa81b5c7ff80", kill_on_drop: false }` [INFO] [stdout] b52bc7fdd3545cbd8b29792f228d795effa0c028266f91fdadfdaa81b5c7ff80 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 65e2035f7ba92dacae12305c0ee1273895e44d56f5d9e147f06111705f8d4a00 [INFO] running `Command { std: "docker" "start" "-a" "65e2035f7ba92dacae12305c0ee1273895e44d56f5d9e147f06111705f8d4a00", kill_on_drop: false }` [INFO] [stderr] Compiling version_check v0.1.5 [INFO] [stderr] Compiling cfg-if v0.1.5 [INFO] [stderr] Compiling regex v1.0.5 [INFO] [stderr] Compiling ucd-util v0.1.1 [INFO] [stderr] Compiling rand_core v0.2.1 [INFO] [stderr] Compiling utf8-ranges v1.0.1 [INFO] [stderr] Compiling regex-syntax v0.6.2 [INFO] [stderr] Compiling rand v0.5.5 [INFO] [stderr] Compiling lazy_static v1.1.0 [INFO] [stderr] Compiling memchr v2.1.0 [INFO] [stderr] Compiling thread_local v0.3.6 [INFO] [stderr] Compiling aho-corasick v0.6.8 [INFO] [stderr] Compiling blackjack v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0609]: no field `current_bid` on type `&mut 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 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 `&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 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 `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 `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 `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 `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 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 `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 `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 `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 `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 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 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` due to 12 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "65e2035f7ba92dacae12305c0ee1273895e44d56f5d9e147f06111705f8d4a00", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "65e2035f7ba92dacae12305c0ee1273895e44d56f5d9e147f06111705f8d4a00", kill_on_drop: false }` [INFO] [stdout] 65e2035f7ba92dacae12305c0ee1273895e44d56f5d9e147f06111705f8d4a00