[INFO] cloning repository https://github.com/austinjp17/Blackjack_Simulation [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/austinjp17/Blackjack_Simulation" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Faustinjp17%2FBlackjack_Simulation", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Faustinjp17%2FBlackjack_Simulation'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 8b2fc5a00aed5e9b8066c07d56ed378217be1fb1 [INFO] checking austinjp17/Blackjack_Simulation against master#350d0ef0ec0493e6d21cfb265cb8211a0e74d766 for pr-145342-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Faustinjp17%2FBlackjack_Simulation" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/austinjp17/Blackjack_Simulation [INFO] finished tweaking git repo https://github.com/austinjp17/Blackjack_Simulation [INFO] tweaked toml for git repo https://github.com/austinjp17/Blackjack_Simulation written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/austinjp17/Blackjack_Simulation on toolchain 350d0ef0ec0493e6d21cfb265cb8211a0e74d766 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/austinjp17/Blackjack_Simulation 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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded ctrlc v3.4.1 [INFO] [stderr] Downloaded portable-atomic v1.5.1 [INFO] [stderr] Downloaded indicatif v0.17.7 [INFO] [stderr] Downloaded libc v0.2.148 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 11345e5354753de84300c2ae7e8226937902714fda6e6dbcfa7d7464e3da4636 [INFO] running `Command { std: "docker" "start" "-a" "11345e5354753de84300c2ae7e8226937902714fda6e6dbcfa7d7464e3da4636", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "11345e5354753de84300c2ae7e8226937902714fda6e6dbcfa7d7464e3da4636", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "11345e5354753de84300c2ae7e8226937902714fda6e6dbcfa7d7464e3da4636", kill_on_drop: false }` [INFO] [stdout] 11345e5354753de84300c2ae7e8226937902714fda6e6dbcfa7d7464e3da4636 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 93b162e9c9fa4b34e1290905ad227ab75de2c54e06805611e261fe6ff7743a73 [INFO] running `Command { std: "docker" "start" "-a" "93b162e9c9fa4b34e1290905ad227ab75de2c54e06805611e261fe6ff7743a73", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.148 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling portable-atomic v1.5.1 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking unicode-width v0.1.11 [INFO] [stderr] Checking bitflags v2.4.1 [INFO] [stderr] Checking ppv-lite86 v0.2.17 [INFO] [stderr] Checking itoa v1.0.9 [INFO] [stderr] Checking arrayvec v0.7.4 [INFO] [stderr] Checking number_prefix v0.4.0 [INFO] [stderr] Checking num-format v0.4.4 [INFO] [stderr] Checking getrandom v0.2.10 [INFO] [stderr] Checking nix v0.27.1 [INFO] [stderr] Checking console v0.15.7 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking indicatif v0.17.7 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking ctrlc v3.4.1 [INFO] [stderr] Checking game v0.1.0 (/opt/rustwide/workdir/src/game) [INFO] [stdout] warning: unused import: `playing_strategy` [INFO] [stdout] --> src/game/src/run_many.rs:6:51 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::{Game, GameSettings, Winner, EndState, playing_strategy}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition: `log_fn` [INFO] [stdout] --> src/game/src/run_many.rs:12:14 [INFO] [stdout] | [INFO] [stdout] 12 | macro_rules! log_fn { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_macros)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `playing_strategy` [INFO] [stdout] --> src/game/src/run_many.rs:6:51 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::{Game, GameSettings, Winner, EndState, playing_strategy}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition: `log_fn` [INFO] [stdout] --> src/game/src/run_many.rs:12:14 [INFO] [stdout] | [INFO] [stdout] 12 | macro_rules! log_fn { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_macros)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking blackjack v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved imports `game::playing_strategy::update_knock_out`, `game::playing_strategy::omega_2`, `game::playing_strategy::CountFunc`, `game::playing_strategy::InsuranceFunc`, `game::playing_strategy::card_counter_insurance`, `game::betting_strategy::BettingFunc` [INFO] [stdout] --> src/test.rs:8:51 [INFO] [stdout] | [INFO] [stdout] 8 | ...n, update_knock_out, omega_2, StrategyFunc, CountFunc, InsuranceFunc, card_counter_insurance}, Winner, deck::HandState, betting_strategy::{BettingFunc, s... [INFO] [stdout] | ^^^^^^^^^^^^^^^^ ^^^^^^^ ^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^ no `BettingFunc` in `betting_strategy` [INFO] [stdout] | | | | | | [INFO] [stdout] | | | | | no `card_counter_insurance` in `playing_strategy` [INFO] [stdout] | | | | no `InsuranceFunc` in `playing_strategy` [INFO] [stdout] | | | no `CountFunc` in `playing_strategy` [INFO] [stdout] | | no `omega_2` in `playing_strategy` [INFO] [stdout] | no `update_knock_out` in `playing_strategy` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PlayingStrat` in this scope [INFO] [stdout] --> src/test.rs:15:34 [INFO] [stdout] | [INFO] [stdout] 15 | player_strat: Option>, [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 14 | fn standard_game ( [INFO] [stdout] | ++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PlayingStrat` in this scope [INFO] [stdout] --> src/test.rs:16:37 [INFO] [stdout] | [INFO] [stdout] 16 | dealer_strategy: Option>, [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 14 | fn standard_game ( [INFO] [stdout] | ++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `basic_strategy` in this scope [INFO] [stdout] --> src/test.rs:24:60 [INFO] [stdout] | [INFO] [stdout] 24 | None => Arc::new(PlayingStrat::Player(Box::new(basic_strategy))) [INFO] [stdout] | ^^^^^^^^^^^^^^ help: a unit struct with a similar name exists: `BasicStrategy` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/src/game/src/playing_strategy.rs:222:1 [INFO] [stdout] | [INFO] [stdout] 222 | pub struct BasicStrategy; [INFO] [stdout] | ------------------------ similarly named unit struct `BasicStrategy` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PlayingStrat` in this scope [INFO] [stdout] --> src/test.rs:27:31 [INFO] [stdout] | [INFO] [stdout] 27 | let dealer_strat: Arc = match dealer_strategy { [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 14 | fn standard_game ( [INFO] [stdout] | ++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `dealer_hard_17` in this scope [INFO] [stdout] --> src/test.rs:29:60 [INFO] [stdout] | [INFO] [stdout] 29 | None => Arc::new(PlayingStrat::Dealer(Box::new(dealer_hard_17))) [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `constant_bet` in this scope [INFO] [stdout] --> src/test.rs:34:39 [INFO] [stdout] | [INFO] [stdout] 34 | None => Arc::new(Box::new(constant_bet)) [INFO] [stdout] | ^^^^^^^^^^^^ help: a unit struct with a similar name exists: `ConstantBet` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/src/game/src/betting_strategy.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct ConstantBet; [INFO] [stdout] | ---------------------- similarly named unit struct `ConstantBet` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `update_hi_lo` in this scope [INFO] [stdout] --> src/test.rs:39:39 [INFO] [stdout] | [INFO] [stdout] 39 | None => Arc::new(Box::new(update_hi_lo)), [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `no_insurance` in this scope [INFO] [stdout] --> src/test.rs:44:39 [INFO] [stdout] | [INFO] [stdout] 44 | None => Arc::new(Box::new(no_insurance)), [INFO] [stdout] | ^^^^^^^^^^^^ help: a unit struct with a similar name exists: `NoInsurance` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/src/game/src/playing_strategy.rs:410:1 [INFO] [stdout] | [INFO] [stdout] 410 | pub struct NoInsurance; [INFO] [stdout] | ---------------------- similarly named unit struct `NoInsurance` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `dealer_hard_17` in this scope [INFO] [stdout] --> src/test.rs:95:66 [INFO] [stdout] | [INFO] [stdout] 95 | dealer_strat: Arc::new(PlayingStrat::Dealer(Box::new(dealer_hard_17))), [INFO] [stdout] | ^^^^^^^^^^^^^^ help: a local variable with a similar name exists: `dealer_hand` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `basic_strategy` in this scope [INFO] [stdout] --> src/test.rs:96:66 [INFO] [stdout] | [INFO] [stdout] 96 | player_strat: Arc::new(PlayingStrat::Player(Box::new(basic_strategy))), [INFO] [stdout] | ^^^^^^^^^^^^^^ help: a unit struct with a similar name exists: `BasicStrategy` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/src/game/src/playing_strategy.rs:222:1 [INFO] [stdout] | [INFO] [stdout] 222 | pub struct BasicStrategy; [INFO] [stdout] | ------------------------ similarly named unit struct `BasicStrategy` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `constant_bet` in this scope [INFO] [stdout] --> src/test.rs:97:46 [INFO] [stdout] | [INFO] [stdout] 97 | betting_strat: Arc::new(Box::new(constant_bet)), [INFO] [stdout] | ^^^^^^^^^^^^ help: a unit struct with a similar name exists: `ConstantBet` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/src/game/src/betting_strategy.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct ConstantBet; [INFO] [stdout] | ---------------------- similarly named unit struct `ConstantBet` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `update_hi_lo` in this scope [INFO] [stdout] --> src/test.rs:98:47 [INFO] [stdout] | [INFO] [stdout] 98 | counting_strat: Arc::new(Box::new(update_hi_lo)), [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `no_insurance` in this scope [INFO] [stdout] --> src/test.rs:99:48 [INFO] [stdout] | [INFO] [stdout] 99 | insurance_strat: Arc::new(Box::new(no_insurance)), [INFO] [stdout] | ^^^^^^^^^^^^ help: a unit struct with a similar name exists: `NoInsurance` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/src/game/src/playing_strategy.rs:410:1 [INFO] [stdout] | [INFO] [stdout] 410 | pub struct NoInsurance; [INFO] [stdout] | ---------------------- similarly named unit struct `NoInsurance` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `dealer_hard_17` in this scope [INFO] [stdout] --> src/test.rs:140:66 [INFO] [stdout] | [INFO] [stdout] 140 | dealer_strat: Arc::new(PlayingStrat::Dealer(Box::new(dealer_hard_17))), [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `basic_strategy` in this scope [INFO] [stdout] --> src/test.rs:141:66 [INFO] [stdout] | [INFO] [stdout] 141 | player_strat: Arc::new(PlayingStrat::Player(Box::new(basic_strategy))), [INFO] [stdout] | ^^^^^^^^^^^^^^ help: a unit struct with a similar name exists: `BasicStrategy` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/src/game/src/playing_strategy.rs:222:1 [INFO] [stdout] | [INFO] [stdout] 222 | pub struct BasicStrategy; [INFO] [stdout] | ------------------------ similarly named unit struct `BasicStrategy` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `constant_bet` in this scope [INFO] [stdout] --> src/test.rs:142:46 [INFO] [stdout] | [INFO] [stdout] 142 | betting_strat: Arc::new(Box::new(constant_bet)), [INFO] [stdout] | ^^^^^^^^^^^^ help: a unit struct with a similar name exists: `ConstantBet` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/src/game/src/betting_strategy.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct ConstantBet; [INFO] [stdout] | ---------------------- similarly named unit struct `ConstantBet` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `update_hi_lo` in this scope [INFO] [stdout] --> src/test.rs:143:47 [INFO] [stdout] | [INFO] [stdout] 143 | counting_strat: Arc::new(Box::new(update_hi_lo)), [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `no_insurance` in this scope [INFO] [stdout] --> src/test.rs:144:48 [INFO] [stdout] | [INFO] [stdout] 144 | insurance_strat: Arc::new(Box::new(no_insurance)), [INFO] [stdout] | ^^^^^^^^^^^^ help: a unit struct with a similar name exists: `NoInsurance` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/src/game/src/playing_strategy.rs:410:1 [INFO] [stdout] | [INFO] [stdout] 410 | pub struct NoInsurance; [INFO] [stdout] | ---------------------- similarly named unit struct `NoInsurance` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `dealer_hard_17` in this scope [INFO] [stdout] --> src/test.rs:174:66 [INFO] [stdout] | [INFO] [stdout] 174 | dealer_strat: Arc::new(PlayingStrat::Dealer(Box::new(dealer_hard_17))), [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `basic_strategy` in this scope [INFO] [stdout] --> src/test.rs:175:66 [INFO] [stdout] | [INFO] [stdout] 175 | player_strat: Arc::new(PlayingStrat::Player(Box::new(basic_strategy))), [INFO] [stdout] | ^^^^^^^^^^^^^^ help: a unit struct with a similar name exists: `BasicStrategy` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/src/game/src/playing_strategy.rs:222:1 [INFO] [stdout] | [INFO] [stdout] 222 | pub struct BasicStrategy; [INFO] [stdout] | ------------------------ similarly named unit struct `BasicStrategy` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `constant_bet` in this scope [INFO] [stdout] --> src/test.rs:176:46 [INFO] [stdout] | [INFO] [stdout] 176 | betting_strat: Arc::new(Box::new(constant_bet)), [INFO] [stdout] | ^^^^^^^^^^^^ help: a unit struct with a similar name exists: `ConstantBet` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/src/game/src/betting_strategy.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct ConstantBet; [INFO] [stdout] | ---------------------- similarly named unit struct `ConstantBet` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `update_hi_lo` in this scope [INFO] [stdout] --> src/test.rs:177:47 [INFO] [stdout] | [INFO] [stdout] 177 | counting_strat: Arc::new(Box::new(update_hi_lo)), [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `no_insurance` in this scope [INFO] [stdout] --> src/test.rs:178:48 [INFO] [stdout] | [INFO] [stdout] 178 | insurance_strat: Arc::new(Box::new(no_insurance)), [INFO] [stdout] | ^^^^^^^^^^^^ help: a unit struct with a similar name exists: `NoInsurance` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/src/game/src/playing_strategy.rs:410:1 [INFO] [stdout] | [INFO] [stdout] 410 | pub struct NoInsurance; [INFO] [stdout] | ---------------------- similarly named unit struct `NoInsurance` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `dealer_hard_17` in this scope [INFO] [stdout] --> src/test.rs:219:66 [INFO] [stdout] | [INFO] [stdout] 219 | dealer_strat: Arc::new(PlayingStrat::Dealer(Box::new(dealer_hard_17))), [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `basic_strategy` in this scope [INFO] [stdout] --> src/test.rs:220:66 [INFO] [stdout] | [INFO] [stdout] 220 | player_strat: Arc::new(PlayingStrat::Player(Box::new(basic_strategy))), [INFO] [stdout] | ^^^^^^^^^^^^^^ help: a unit struct with a similar name exists: `BasicStrategy` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/src/game/src/playing_strategy.rs:222:1 [INFO] [stdout] | [INFO] [stdout] 222 | pub struct BasicStrategy; [INFO] [stdout] | ------------------------ similarly named unit struct `BasicStrategy` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `constant_bet` in this scope [INFO] [stdout] --> src/test.rs:221:46 [INFO] [stdout] | [INFO] [stdout] 221 | betting_strat: Arc::new(Box::new(constant_bet)), [INFO] [stdout] | ^^^^^^^^^^^^ help: a unit struct with a similar name exists: `ConstantBet` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/src/game/src/betting_strategy.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct ConstantBet; [INFO] [stdout] | ---------------------- similarly named unit struct `ConstantBet` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `update_hi_lo` in this scope [INFO] [stdout] --> src/test.rs:222:47 [INFO] [stdout] | [INFO] [stdout] 222 | counting_strat: Arc::new(Box::new(update_hi_lo)), [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `no_insurance` in this scope [INFO] [stdout] --> src/test.rs:223:48 [INFO] [stdout] | [INFO] [stdout] 223 | insurance_strat: Arc::new(Box::new(no_insurance)), [INFO] [stdout] | ^^^^^^^^^^^^ help: a unit struct with a similar name exists: `NoInsurance` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/src/game/src/playing_strategy.rs:410:1 [INFO] [stdout] | [INFO] [stdout] 410 | pub struct NoInsurance; [INFO] [stdout] | ---------------------- similarly named unit struct `NoInsurance` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `dealer_hard_17` in this scope [INFO] [stdout] --> src/test.rs:251:66 [INFO] [stdout] | [INFO] [stdout] 251 | dealer_strat: Arc::new(PlayingStrat::Dealer(Box::new(dealer_hard_17))), [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `basic_strategy` in this scope [INFO] [stdout] --> src/test.rs:252:66 [INFO] [stdout] | [INFO] [stdout] 252 | player_strat: Arc::new(PlayingStrat::Player(Box::new(basic_strategy))), [INFO] [stdout] | ^^^^^^^^^^^^^^ help: a unit struct with a similar name exists: `BasicStrategy` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/src/game/src/playing_strategy.rs:222:1 [INFO] [stdout] | [INFO] [stdout] 222 | pub struct BasicStrategy; [INFO] [stdout] | ------------------------ similarly named unit struct `BasicStrategy` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `constant_bet` in this scope [INFO] [stdout] --> src/test.rs:253:46 [INFO] [stdout] | [INFO] [stdout] 253 | betting_strat: Arc::new(Box::new(constant_bet)), [INFO] [stdout] | ^^^^^^^^^^^^ help: a unit struct with a similar name exists: `ConstantBet` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/src/game/src/betting_strategy.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct ConstantBet; [INFO] [stdout] | ---------------------- similarly named unit struct `ConstantBet` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `update_hi_lo` in this scope [INFO] [stdout] --> src/test.rs:254:47 [INFO] [stdout] | [INFO] [stdout] 254 | counting_strat: Arc::new(Box::new(update_hi_lo)), [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `no_insurance` in this scope [INFO] [stdout] --> src/test.rs:255:48 [INFO] [stdout] | [INFO] [stdout] 255 | insurance_strat: Arc::new(Box::new(no_insurance)), [INFO] [stdout] | ^^^^^^^^^^^^ help: a unit struct with a similar name exists: `NoInsurance` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/src/game/src/playing_strategy.rs:410:1 [INFO] [stdout] | [INFO] [stdout] 410 | pub struct NoInsurance; [INFO] [stdout] | ---------------------- similarly named unit struct `NoInsurance` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `dealer_hard_17` in this scope [INFO] [stdout] --> src/test.rs:399:72 [INFO] [stdout] | [INFO] [stdout] 399 | let dealer_strat = Some(Arc::new(PlayingStrat::Dealer(Box::new(dealer_hard_17)))); [INFO] [stdout] | ^^^^^^^^^^^^^^ help: a local variable with a similar name exists: `dealer_cards` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `basic_strategy` in this scope [INFO] [stdout] --> src/test.rs:400:72 [INFO] [stdout] | [INFO] [stdout] 400 | let player_strat= Some(Arc::new(PlayingStrat::Player(Box::new(basic_strategy)))); [INFO] [stdout] | ^^^^^^^^^^^^^^ help: a unit struct with a similar name exists: `BasicStrategy` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/src/game/src/playing_strategy.rs:222:1 [INFO] [stdout] | [INFO] [stdout] 222 | pub struct BasicStrategy; [INFO] [stdout] | ------------------------ similarly named unit struct `BasicStrategy` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `constant_bet` in this scope [INFO] [stdout] --> src/test.rs:401:78 [INFO] [stdout] | [INFO] [stdout] 401 | let betting_strat: Option> = Some(Arc::new(Box::new(constant_bet))); [INFO] [stdout] | ^^^^^^^^^^^^ help: a unit struct with a similar name exists: `ConstantBet` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/src/game/src/betting_strategy.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct ConstantBet; [INFO] [stdout] | ---------------------- similarly named unit struct `ConstantBet` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `dealer_hard_17` in this scope [INFO] [stdout] --> src/test.rs:439:66 [INFO] [stdout] | [INFO] [stdout] 439 | dealer_strat: Arc::new(PlayingStrat::Dealer(Box::new(dealer_hard_17))), [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `basic_strategy` in this scope [INFO] [stdout] --> src/test.rs:440:66 [INFO] [stdout] | [INFO] [stdout] 440 | player_strat: Arc::new(PlayingStrat::Player(Box::new(basic_strategy))), [INFO] [stdout] | ^^^^^^^^^^^^^^ help: a unit struct with a similar name exists: `BasicStrategy` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/src/game/src/playing_strategy.rs:222:1 [INFO] [stdout] | [INFO] [stdout] 222 | pub struct BasicStrategy; [INFO] [stdout] | ------------------------ similarly named unit struct `BasicStrategy` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `constant_bet` in this scope [INFO] [stdout] --> src/test.rs:441:46 [INFO] [stdout] | [INFO] [stdout] 441 | betting_strat: Arc::new(Box::new(constant_bet)), [INFO] [stdout] | ^^^^^^^^^^^^ help: a unit struct with a similar name exists: `ConstantBet` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/src/game/src/betting_strategy.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct ConstantBet; [INFO] [stdout] | ---------------------- similarly named unit struct `ConstantBet` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `update_hi_lo` in this scope [INFO] [stdout] --> src/test.rs:442:47 [INFO] [stdout] | [INFO] [stdout] 442 | counting_strat: Arc::new(Box::new(update_hi_lo)), [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `no_insurance` in this scope [INFO] [stdout] --> src/test.rs:443:48 [INFO] [stdout] | [INFO] [stdout] 443 | insurance_strat: Arc::new(Box::new(no_insurance)), [INFO] [stdout] | ^^^^^^^^^^^^ help: a unit struct with a similar name exists: `NoInsurance` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/src/game/src/playing_strategy.rs:410:1 [INFO] [stdout] | [INFO] [stdout] 410 | pub struct NoInsurance; [INFO] [stdout] | ---------------------- similarly named unit struct `NoInsurance` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `dealer_hard_17` in this scope [INFO] [stdout] --> src/test.rs:513:66 [INFO] [stdout] | [INFO] [stdout] 513 | dealer_strat: Arc::new(PlayingStrat::Dealer(Box::new(dealer_hard_17))), [INFO] [stdout] | ^^^^^^^^^^^^^^ help: a local variable with a similar name exists: `dealer_cards` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `basic_strategy` in this scope [INFO] [stdout] --> src/test.rs:514:66 [INFO] [stdout] | [INFO] [stdout] 514 | player_strat: Arc::new(PlayingStrat::Player(Box::new(basic_strategy))), [INFO] [stdout] | ^^^^^^^^^^^^^^ help: a unit struct with a similar name exists: `BasicStrategy` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/src/game/src/playing_strategy.rs:222:1 [INFO] [stdout] | [INFO] [stdout] 222 | pub struct BasicStrategy; [INFO] [stdout] | ------------------------ similarly named unit struct `BasicStrategy` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `constant_bet` in this scope [INFO] [stdout] --> src/test.rs:515:46 [INFO] [stdout] | [INFO] [stdout] 515 | betting_strat: Arc::new(Box::new(constant_bet)), [INFO] [stdout] | ^^^^^^^^^^^^ help: a unit struct with a similar name exists: `ConstantBet` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/src/game/src/betting_strategy.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct ConstantBet; [INFO] [stdout] | ---------------------- similarly named unit struct `ConstantBet` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `update_hi_lo` in this scope [INFO] [stdout] --> src/test.rs:516:47 [INFO] [stdout] | [INFO] [stdout] 516 | counting_strat: Arc::new(Box::new(update_hi_lo)), [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `no_insurance` in this scope [INFO] [stdout] --> src/test.rs:517:48 [INFO] [stdout] | [INFO] [stdout] 517 | insurance_strat: Arc::new(Box::new(no_insurance)), [INFO] [stdout] | ^^^^^^^^^^^^ help: a unit struct with a similar name exists: `NoInsurance` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/src/game/src/playing_strategy.rs:410:1 [INFO] [stdout] | [INFO] [stdout] 410 | pub struct NoInsurance; [INFO] [stdout] | ---------------------- similarly named unit struct `NoInsurance` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `dealer_hard_17` in this scope [INFO] [stdout] --> src/test.rs:647:66 [INFO] [stdout] | [INFO] [stdout] 647 | dealer_strat: Arc::new(PlayingStrat::Dealer(Box::new(dealer_hard_17))), [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `basic_strategy` in this scope [INFO] [stdout] --> src/test.rs:648:66 [INFO] [stdout] | [INFO] [stdout] 648 | player_strat: Arc::new(PlayingStrat::Player(Box::new(basic_strategy))), [INFO] [stdout] | ^^^^^^^^^^^^^^ help: a unit struct with a similar name exists: `BasicStrategy` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/src/game/src/playing_strategy.rs:222:1 [INFO] [stdout] | [INFO] [stdout] 222 | pub struct BasicStrategy; [INFO] [stdout] | ------------------------ similarly named unit struct `BasicStrategy` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `martingale` in this scope [INFO] [stdout] --> src/test.rs:649:46 [INFO] [stdout] | [INFO] [stdout] 649 | betting_strat: Arc::new(Box::new(martingale)), [INFO] [stdout] | ^^^^^^^^^^ help: a unit struct with a similar name exists: `Martingale` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/src/game/src/betting_strategy.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct Martingale; [INFO] [stdout] | --------------------- similarly named unit struct `Martingale` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `update_hi_lo` in this scope [INFO] [stdout] --> src/test.rs:650:47 [INFO] [stdout] | [INFO] [stdout] 650 | counting_strat: Arc::new(Box::new(update_hi_lo)), [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `no_insurance` in this scope [INFO] [stdout] --> src/test.rs:651:48 [INFO] [stdout] | [INFO] [stdout] 651 | insurance_strat: Arc::new(Box::new(no_insurance)), [INFO] [stdout] | ^^^^^^^^^^^^ help: a unit struct with a similar name exists: `NoInsurance` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/src/game/src/playing_strategy.rs:410:1 [INFO] [stdout] | [INFO] [stdout] 410 | pub struct NoInsurance; [INFO] [stdout] | ---------------------- similarly named unit struct `NoInsurance` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `no_insurance` in this scope [INFO] [stdout] --> src/test.rs:716:81 [INFO] [stdout] | [INFO] [stdout] 716 | let insurance_strat:Option> = Some(Arc::new(Box::new(no_insurance))); [INFO] [stdout] | ^^^^^^^^^^^^ help: a unit struct with a similar name exists: `NoInsurance` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/src/game/src/playing_strategy.rs:410:1 [INFO] [stdout] | [INFO] [stdout] 410 | pub struct NoInsurance; [INFO] [stdout] | ---------------------- similarly named unit struct `NoInsurance` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `dealer_hard_17` in this scope [INFO] [stdout] --> src/test.rs:752:66 [INFO] [stdout] | [INFO] [stdout] 752 | dealer_strat: Arc::new(PlayingStrat::Dealer(Box::new(dealer_hard_17))), [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `basic_strategy` in this scope [INFO] [stdout] --> src/test.rs:753:66 [INFO] [stdout] | [INFO] [stdout] 753 | player_strat: Arc::new(PlayingStrat::Player(Box::new(basic_strategy))), [INFO] [stdout] | ^^^^^^^^^^^^^^ help: a unit struct with a similar name exists: `BasicStrategy` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/src/game/src/playing_strategy.rs:222:1 [INFO] [stdout] | [INFO] [stdout] 222 | pub struct BasicStrategy; [INFO] [stdout] | ------------------------ similarly named unit struct `BasicStrategy` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `constant_bet` in this scope [INFO] [stdout] --> src/test.rs:754:46 [INFO] [stdout] | [INFO] [stdout] 754 | betting_strat: Arc::new(Box::new(constant_bet)), [INFO] [stdout] | ^^^^^^^^^^^^ help: a unit struct with a similar name exists: `ConstantBet` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/src/game/src/betting_strategy.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct ConstantBet; [INFO] [stdout] | ---------------------- similarly named unit struct `ConstantBet` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `update_hi_lo` in this scope [INFO] [stdout] --> src/test.rs:755:47 [INFO] [stdout] | [INFO] [stdout] 755 | counting_strat: Arc::new(Box::new(update_hi_lo)), [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `no_insurance` in this scope [INFO] [stdout] --> src/test.rs:756:48 [INFO] [stdout] | [INFO] [stdout] 756 | insurance_strat: Arc::new(Box::new(no_insurance)), [INFO] [stdout] | ^^^^^^^^^^^^ help: a unit struct with a similar name exists: `NoInsurance` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/src/game/src/playing_strategy.rs:410:1 [INFO] [stdout] | [INFO] [stdout] 410 | pub struct NoInsurance; [INFO] [stdout] | ---------------------- similarly named unit struct `NoInsurance` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `dealer_hard_17` in this scope [INFO] [stdout] --> src/test.rs:848:66 [INFO] [stdout] | [INFO] [stdout] 848 | dealer_strat: Arc::new(PlayingStrat::Dealer(Box::new(dealer_hard_17))), [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `basic_strategy` in this scope [INFO] [stdout] --> src/test.rs:849:66 [INFO] [stdout] | [INFO] [stdout] 849 | player_strat: Arc::new(PlayingStrat::Player(Box::new(basic_strategy))), [INFO] [stdout] | ^^^^^^^^^^^^^^ help: a unit struct with a similar name exists: `BasicStrategy` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/src/game/src/playing_strategy.rs:222:1 [INFO] [stdout] | [INFO] [stdout] 222 | pub struct BasicStrategy; [INFO] [stdout] | ------------------------ similarly named unit struct `BasicStrategy` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `constant_bet` in this scope [INFO] [stdout] --> src/test.rs:850:46 [INFO] [stdout] | [INFO] [stdout] 850 | betting_strat: Arc::new(Box::new(constant_bet)), [INFO] [stdout] | ^^^^^^^^^^^^ help: a unit struct with a similar name exists: `ConstantBet` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/src/game/src/betting_strategy.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct ConstantBet; [INFO] [stdout] | ---------------------- similarly named unit struct `ConstantBet` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `no_insurance` in this scope [INFO] [stdout] --> src/test.rs:852:48 [INFO] [stdout] | [INFO] [stdout] 852 | insurance_strat: Arc::new(Box::new(no_insurance)), [INFO] [stdout] | ^^^^^^^^^^^^ help: a unit struct with a similar name exists: `NoInsurance` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/src/game/src/playing_strategy.rs:410:1 [INFO] [stdout] | [INFO] [stdout] 410 | pub struct NoInsurance; [INFO] [stdout] | ---------------------- similarly named unit struct `NoInsurance` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `dealer_hard_17` in this scope [INFO] [stdout] --> src/test.rs:973:66 [INFO] [stdout] | [INFO] [stdout] 973 | dealer_strat: Arc::new(PlayingStrat::Dealer(Box::new(dealer_hard_17))), [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `basic_strategy` in this scope [INFO] [stdout] --> src/test.rs:974:66 [INFO] [stdout] | [INFO] [stdout] 974 | player_strat: Arc::new(PlayingStrat::Player(Box::new(basic_strategy))), [INFO] [stdout] | ^^^^^^^^^^^^^^ help: a unit struct with a similar name exists: `BasicStrategy` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/src/game/src/playing_strategy.rs:222:1 [INFO] [stdout] | [INFO] [stdout] 222 | pub struct BasicStrategy; [INFO] [stdout] | ------------------------ similarly named unit struct `BasicStrategy` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `constant_bet` in this scope [INFO] [stdout] --> src/test.rs:975:46 [INFO] [stdout] | [INFO] [stdout] 975 | betting_strat: Arc::new(Box::new(constant_bet)), [INFO] [stdout] | ^^^^^^^^^^^^ help: a unit struct with a similar name exists: `ConstantBet` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/src/game/src/betting_strategy.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct ConstantBet; [INFO] [stdout] | ---------------------- similarly named unit struct `ConstantBet` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `no_insurance` in this scope [INFO] [stdout] --> src/test.rs:977:48 [INFO] [stdout] | [INFO] [stdout] 977 | insurance_strat: Arc::new(Box::new(no_insurance)), [INFO] [stdout] | ^^^^^^^^^^^^ help: a unit struct with a similar name exists: `NoInsurance` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/src/game/src/playing_strategy.rs:410:1 [INFO] [stdout] | [INFO] [stdout] 410 | pub struct NoInsurance; [INFO] [stdout] | ---------------------- similarly named unit struct `NoInsurance` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PlayingStrat` [INFO] [stdout] --> src/test.rs:24:30 [INFO] [stdout] | [INFO] [stdout] 24 | None => Arc::new(PlayingStrat::Player(Box::new(basic_strategy))) [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `PlayingStrat` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PlayingStrat` [INFO] [stdout] --> src/test.rs:29:30 [INFO] [stdout] | [INFO] [stdout] 29 | None => Arc::new(PlayingStrat::Dealer(Box::new(dealer_hard_17))) [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `PlayingStrat` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PlayingStrat` [INFO] [stdout] --> src/test.rs:95:36 [INFO] [stdout] | [INFO] [stdout] 95 | dealer_strat: Arc::new(PlayingStrat::Dealer(Box::new(dealer_hard_17))), [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `PlayingStrat` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PlayingStrat` [INFO] [stdout] --> src/test.rs:96:36 [INFO] [stdout] | [INFO] [stdout] 96 | player_strat: Arc::new(PlayingStrat::Player(Box::new(basic_strategy))), [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `PlayingStrat` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/test.rs:110:41 [INFO] [stdout] | [INFO] [stdout] 110 | let state = test_game.get_state(&player_hands[0]); [INFO] [stdout] | --------- ^^^^^^^^^^^^^^^^ expected `Option`, found `&Hand` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Option` [INFO] [stdout] found reference `&game::deck::Hand` [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/game/src/lib.rs:142:12 [INFO] [stdout] | [INFO] [stdout] 142 | pub fn get_state(&self, player_hand: Option) -> GameState { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PlayingStrat` [INFO] [stdout] --> src/test.rs:140:36 [INFO] [stdout] | [INFO] [stdout] 140 | dealer_strat: Arc::new(PlayingStrat::Dealer(Box::new(dealer_hard_17))), [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `PlayingStrat` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PlayingStrat` [INFO] [stdout] --> src/test.rs:141:36 [INFO] [stdout] | [INFO] [stdout] 141 | player_strat: Arc::new(PlayingStrat::Player(Box::new(basic_strategy))), [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `PlayingStrat` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PlayingStrat` [INFO] [stdout] --> src/test.rs:174:36 [INFO] [stdout] | [INFO] [stdout] 174 | dealer_strat: Arc::new(PlayingStrat::Dealer(Box::new(dealer_hard_17))), [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `PlayingStrat` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PlayingStrat` [INFO] [stdout] --> src/test.rs:175:36 [INFO] [stdout] | [INFO] [stdout] 175 | player_strat: Arc::new(PlayingStrat::Player(Box::new(basic_strategy))), [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `PlayingStrat` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PlayingStrat` [INFO] [stdout] --> src/test.rs:219:36 [INFO] [stdout] | [INFO] [stdout] 219 | dealer_strat: Arc::new(PlayingStrat::Dealer(Box::new(dealer_hard_17))), [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `PlayingStrat` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PlayingStrat` [INFO] [stdout] --> src/test.rs:220:36 [INFO] [stdout] | [INFO] [stdout] 220 | player_strat: Arc::new(PlayingStrat::Player(Box::new(basic_strategy))), [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `PlayingStrat` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this method takes 2 arguments but 1 argument was supplied [INFO] [stdout] --> src/test.rs:232:19 [INFO] [stdout] | [INFO] [stdout] 232 | test_pool.simulate(100); [INFO] [stdout] | ^^^^^^^^----- argument #2 of type `bool` is missing [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/game/src/run_many.rs:29:12 [INFO] [stdout] | [INFO] [stdout] 29 | pub fn simulate(&mut self, n: u64, progress_bar: bool) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] help: provide the argument [INFO] [stdout] | [INFO] [stdout] 232 | test_pool.simulate(100, /* bool */); [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PlayingStrat` [INFO] [stdout] --> src/test.rs:251:36 [INFO] [stdout] | [INFO] [stdout] 251 | dealer_strat: Arc::new(PlayingStrat::Dealer(Box::new(dealer_hard_17))), [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `PlayingStrat` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PlayingStrat` [INFO] [stdout] --> src/test.rs:252:36 [INFO] [stdout] | [INFO] [stdout] 252 | player_strat: Arc::new(PlayingStrat::Player(Box::new(basic_strategy))), [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `PlayingStrat` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PlayingStrat` [INFO] [stdout] --> src/test.rs:399:42 [INFO] [stdout] | [INFO] [stdout] 399 | let dealer_strat = Some(Arc::new(PlayingStrat::Dealer(Box::new(dealer_hard_17)))); [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `PlayingStrat` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PlayingStrat` [INFO] [stdout] --> src/test.rs:400:42 [INFO] [stdout] | [INFO] [stdout] 400 | let player_strat= Some(Arc::new(PlayingStrat::Player(Box::new(basic_strategy)))); [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `PlayingStrat` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/test.rs:408:41 [INFO] [stdout] | [INFO] [stdout] 408 | let state = test_game.get_state(&player_hands[0]); [INFO] [stdout] | --------- ^^^^^^^^^^^^^^^^ expected `Option`, found `&Hand` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Option` [INFO] [stdout] found reference `&game::deck::Hand` [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/game/src/lib.rs:142:12 [INFO] [stdout] | [INFO] [stdout] 142 | pub fn get_state(&self, player_hand: Option) -> GameState { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PlayingStrat` [INFO] [stdout] --> src/test.rs:439:36 [INFO] [stdout] | [INFO] [stdout] 439 | dealer_strat: Arc::new(PlayingStrat::Dealer(Box::new(dealer_hard_17))), [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `PlayingStrat` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PlayingStrat` [INFO] [stdout] --> src/test.rs:440:36 [INFO] [stdout] | [INFO] [stdout] 440 | player_strat: Arc::new(PlayingStrat::Player(Box::new(basic_strategy))), [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `PlayingStrat` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this method takes 2 arguments but 1 argument was supplied [INFO] [stdout] --> src/test.rs:452:19 [INFO] [stdout] | [INFO] [stdout] 452 | test_pool.simulate(10000); [INFO] [stdout] | ^^^^^^^^------- argument #2 of type `bool` is missing [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/game/src/run_many.rs:29:12 [INFO] [stdout] | [INFO] [stdout] 29 | pub fn simulate(&mut self, n: u64, progress_bar: bool) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] help: provide the argument [INFO] [stdout] | [INFO] [stdout] 452 | test_pool.simulate(10000, /* bool */); [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PlayingStrat` [INFO] [stdout] --> src/test.rs:513:36 [INFO] [stdout] | [INFO] [stdout] 513 | dealer_strat: Arc::new(PlayingStrat::Dealer(Box::new(dealer_hard_17))), [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `PlayingStrat` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PlayingStrat` [INFO] [stdout] --> src/test.rs:514:36 [INFO] [stdout] | [INFO] [stdout] 514 | player_strat: Arc::new(PlayingStrat::Player(Box::new(basic_strategy))), [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `PlayingStrat` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PlayingStrat` [INFO] [stdout] --> src/test.rs:647:36 [INFO] [stdout] | [INFO] [stdout] 647 | dealer_strat: Arc::new(PlayingStrat::Dealer(Box::new(dealer_hard_17))), [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `PlayingStrat` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PlayingStrat` [INFO] [stdout] --> src/test.rs:648:36 [INFO] [stdout] | [INFO] [stdout] 648 | player_strat: Arc::new(PlayingStrat::Player(Box::new(basic_strategy))), [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `PlayingStrat` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/test.rs:702:41 [INFO] [stdout] | [INFO] [stdout] 702 | let state = test_game.get_state(&player_hands[0]); [INFO] [stdout] | --------- ^^^^^^^^^^^^^^^^ expected `Option`, found `&Hand` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Option` [INFO] [stdout] found reference `&game::deck::Hand` [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/game/src/lib.rs:142:12 [INFO] [stdout] | [INFO] [stdout] 142 | pub fn get_state(&self, player_hand: Option) -> GameState { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0618]: expected function, found `std::sync::Arc>` [INFO] [stdout] --> src/test.rs:703:19 [INFO] [stdout] | [INFO] [stdout] 703 | let bet = (settings.clone().betting_strat)(state); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^------- [INFO] [stdout] | | [INFO] [stdout] | call expression requires function [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/test.rs:718:68 [INFO] [stdout] | [INFO] [stdout] 718 | let decision = game.player.decide_insurance(game.get_state(&Hand::new(10))); [INFO] [stdout] | --------- ^^^^^^^^^^^^^^ expected `Option`, found `&Hand` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Option` [INFO] [stdout] found reference `&game::deck::Hand` [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/game/src/lib.rs:142:12 [INFO] [stdout] | [INFO] [stdout] 142 | pub fn get_state(&self, player_hand: Option) -> GameState { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/test.rs:726:68 [INFO] [stdout] | [INFO] [stdout] 726 | let decision = game.player.decide_insurance(game.get_state(&Hand::new(10))); [INFO] [stdout] | --------- ^^^^^^^^^^^^^^ expected `Option`, found `&Hand` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Option` [INFO] [stdout] found reference `&game::deck::Hand` [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/game/src/lib.rs:142:12 [INFO] [stdout] | [INFO] [stdout] 142 | pub fn get_state(&self, player_hand: Option) -> GameState { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PlayingStrat` [INFO] [stdout] --> src/test.rs:752:36 [INFO] [stdout] | [INFO] [stdout] 752 | dealer_strat: Arc::new(PlayingStrat::Dealer(Box::new(dealer_hard_17))), [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `PlayingStrat` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PlayingStrat` [INFO] [stdout] --> src/test.rs:753:36 [INFO] [stdout] | [INFO] [stdout] 753 | player_strat: Arc::new(PlayingStrat::Player(Box::new(basic_strategy))), [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `PlayingStrat` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/test.rs:781:66 [INFO] [stdout] | [INFO] [stdout] 781 | high_cards.iter().for_each(|card| test_game.update_count(card)); [INFO] [stdout] | ------------ ^^^^ expected `GameState`, found `&Card` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/game/src/actions.rs:182:12 [INFO] [stdout] | [INFO] [stdout] 182 | pub fn update_count(&mut self, state: GameState) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/test.rs:803:65 [INFO] [stdout] | [INFO] [stdout] 803 | low_cards.iter().for_each(|card| test_game.update_count(card)); [INFO] [stdout] | ------------ ^^^^ expected `GameState`, found `&Card` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/game/src/actions.rs:182:12 [INFO] [stdout] | [INFO] [stdout] 182 | pub fn update_count(&mut self, state: GameState) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/test.rs:827:69 [INFO] [stdout] | [INFO] [stdout] 827 | neutral_cards.iter().for_each(|card| test_game.update_count(card)); [INFO] [stdout] | ------------ ^^^^ expected `GameState`, found `&Card` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/game/src/actions.rs:182:12 [INFO] [stdout] | [INFO] [stdout] 182 | pub fn update_count(&mut self, state: GameState) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PlayingStrat` [INFO] [stdout] --> src/test.rs:848:36 [INFO] [stdout] | [INFO] [stdout] 848 | dealer_strat: Arc::new(PlayingStrat::Dealer(Box::new(dealer_hard_17))), [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `PlayingStrat` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PlayingStrat` [INFO] [stdout] --> src/test.rs:849:36 [INFO] [stdout] | [INFO] [stdout] 849 | player_strat: Arc::new(PlayingStrat::Player(Box::new(basic_strategy))), [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `PlayingStrat` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/test.rs:892:66 [INFO] [stdout] | [INFO] [stdout] 892 | high_cards.iter().for_each(|card| test_game.update_count(card)); [INFO] [stdout] | ------------ ^^^^ expected `GameState`, found `&Card` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/game/src/actions.rs:182:12 [INFO] [stdout] | [INFO] [stdout] 182 | pub fn update_count(&mut self, state: GameState) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/test.rs:934:65 [INFO] [stdout] | [INFO] [stdout] 934 | low_cards.iter().for_each(|card| test_game.update_count(card)); [INFO] [stdout] | ------------ ^^^^ expected `GameState`, found `&Card` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/game/src/actions.rs:182:12 [INFO] [stdout] | [INFO] [stdout] 182 | pub fn update_count(&mut self, state: GameState) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/test.rs:953:69 [INFO] [stdout] | [INFO] [stdout] 953 | neutral_cards.iter().for_each(|card| test_game.update_count(card)); [INFO] [stdout] | ------------ ^^^^ expected `GameState`, found `&Card` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/game/src/actions.rs:182:12 [INFO] [stdout] | [INFO] [stdout] 182 | pub fn update_count(&mut self, state: GameState) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PlayingStrat` [INFO] [stdout] --> src/test.rs:973:36 [INFO] [stdout] | [INFO] [stdout] 973 | dealer_strat: Arc::new(PlayingStrat::Dealer(Box::new(dealer_hard_17))), [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `PlayingStrat` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PlayingStrat` [INFO] [stdout] --> src/test.rs:974:36 [INFO] [stdout] | [INFO] [stdout] 974 | player_strat: Arc::new(PlayingStrat::Player(Box::new(basic_strategy))), [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `PlayingStrat` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/test.rs:1013:71 [INFO] [stdout] | [INFO] [stdout] 1013 | minus_two_cards.iter().for_each(|card| test_game.update_count(card)); [INFO] [stdout] | ------------ ^^^^ expected `GameState`, found `&Card` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/game/src/actions.rs:182:12 [INFO] [stdout] | [INFO] [stdout] 182 | pub fn update_count(&mut self, state: GameState) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/test.rs:1031:71 [INFO] [stdout] | [INFO] [stdout] 1031 | minus_one_cards.iter().for_each(|card| test_game.update_count(card)); [INFO] [stdout] | ------------ ^^^^ expected `GameState`, found `&Card` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/game/src/actions.rs:182:12 [INFO] [stdout] | [INFO] [stdout] 182 | pub fn update_count(&mut self, state: GameState) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/test.rs:1054:69 [INFO] [stdout] | [INFO] [stdout] 1054 | neutral_cards.iter().for_each(|card| test_game.update_count(card)); [INFO] [stdout] | ------------ ^^^^ expected `GameState`, found `&Card` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/game/src/actions.rs:182:12 [INFO] [stdout] | [INFO] [stdout] 182 | pub fn update_count(&mut self, state: GameState) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/test.rs:1080:70 [INFO] [stdout] | [INFO] [stdout] 1080 | plus_one_cards.iter().for_each(|card| test_game.update_count(card)); [INFO] [stdout] | ------------ ^^^^ expected `GameState`, found `&Card` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/game/src/actions.rs:182:12 [INFO] [stdout] | [INFO] [stdout] 182 | pub fn update_count(&mut self, state: GameState) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/test.rs:1107:70 [INFO] [stdout] | [INFO] [stdout] 1107 | plus_two_cards.iter().for_each(|card| test_game.update_count(card)); [INFO] [stdout] | ------------ ^^^^ expected `GameState`, found `&Card` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/game/src/actions.rs:182:12 [INFO] [stdout] | [INFO] [stdout] 182 | pub fn update_count(&mut self, state: GameState) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0061, E0308, E0412, E0425, E0432, E0433, E0618. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0061`. [INFO] [stdout] [INFO] [stderr] error: could not compile `blackjack` (bin "blackjack_sim" test) due to 111 previous errors [INFO] running `Command { std: "docker" "inspect" "93b162e9c9fa4b34e1290905ad227ab75de2c54e06805611e261fe6ff7743a73", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "93b162e9c9fa4b34e1290905ad227ab75de2c54e06805611e261fe6ff7743a73", kill_on_drop: false }` [INFO] [stdout] 93b162e9c9fa4b34e1290905ad227ab75de2c54e06805611e261fe6ff7743a73