[INFO] cloning repository https://github.com/nthieu173/rust-yahtzee-solver [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/nthieu173/rust-yahtzee-solver" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnthieu173%2Frust-yahtzee-solver", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnthieu173%2Frust-yahtzee-solver'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 7751f1077302bf6225ff16a8c5f932bc87bc931f [INFO] testing nthieu173/rust-yahtzee-solver against beta-2025-10-28 for beta-1.92-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnthieu173%2Frust-yahtzee-solver" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/nthieu173/rust-yahtzee-solver [INFO] finished tweaking git repo https://github.com/nthieu173/rust-yahtzee-solver [INFO] tweaked toml for git repo https://github.com/nthieu173/rust-yahtzee-solver written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/nthieu173/rust-yahtzee-solver on toolchain beta-2025-10-28 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2025-10-28" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/nthieu173/rust-yahtzee-solver 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" "+beta-2025-10-28" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-10-28" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 33baede27247f625ef5e6c2c1bb644c60cdc8d038cdfe3d07fc780f29ef58843 [INFO] running `Command { std: "docker" "start" "-a" "33baede27247f625ef5e6c2c1bb644c60cdc8d038cdfe3d07fc780f29ef58843", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "33baede27247f625ef5e6c2c1bb644c60cdc8d038cdfe3d07fc780f29ef58843", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "33baede27247f625ef5e6c2c1bb644c60cdc8d038cdfe3d07fc780f29ef58843", kill_on_drop: false }` [INFO] [stdout] 33baede27247f625ef5e6c2c1bb644c60cdc8d038cdfe3d07fc780f29ef58843 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/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" "RUSTDOCFLAGS=--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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-10-28" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4050a3079de49703fd489c94bcc3bdd09202c1c782198f06ae074171f64f8281 [INFO] running `Command { std: "docker" "start" "-a" "4050a3079de49703fd489c94bcc3bdd09202c1c782198f06ae074171f64f8281", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling memchr v2.6.4 [INFO] [stderr] Compiling proc-macro2 v1.0.69 [INFO] [stderr] Compiling regex-syntax v0.8.2 [INFO] [stderr] Compiling crossbeam-utils v0.8.16 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling libloading v0.7.4 [INFO] [stderr] Compiling libc v0.2.149 [INFO] [stderr] Compiling pkg-config v0.3.27 [INFO] [stderr] Compiling rayon-core v1.12.0 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling memoffset v0.9.0 [INFO] [stderr] Compiling crossbeam-epoch v0.9.15 [INFO] [stderr] Compiling num-traits v0.2.17 [INFO] [stderr] Compiling matrixmultiply v0.3.8 [INFO] [stderr] Compiling aho-corasick v1.1.2 [INFO] [stderr] Compiling lock_api v0.4.11 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling parking_lot_core v0.8.6 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Compiling crossbeam-deque v0.8.3 [INFO] [stderr] Compiling instant v0.1.12 [INFO] [stderr] Compiling rawpointer v0.2.1 [INFO] [stderr] Compiling smallvec v1.11.1 [INFO] [stderr] Compiling hdf5-types v0.8.1 [INFO] [stderr] Compiling either v1.9.0 [INFO] [stderr] Compiling paste v1.0.14 [INFO] [stderr] Compiling rayon v1.8.0 [INFO] [stderr] Compiling syn v2.0.38 [INFO] [stderr] Compiling hdf5 v0.8.1 [INFO] [stderr] Compiling thiserror v1.0.50 [INFO] [stderr] Compiling ascii v1.1.0 [INFO] [stderr] Compiling num-complex v0.4.4 [INFO] [stderr] Compiling parking_lot v0.11.2 [INFO] [stderr] Compiling regex-automata v0.4.3 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling ndarray v0.15.6 [INFO] [stderr] Compiling thiserror-impl v1.0.50 [INFO] [stderr] Compiling hdf5-derive v0.8.1 [INFO] [stderr] Compiling regex v1.10.2 [INFO] [stderr] Compiling hdf5-sys v0.8.1 [INFO] [stderr] Compiling yahtzee-solver v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0599]: no method named `ones` found for reference `&ScoreState` in the current scope [INFO] [stdout] --> src/score_states.rs:156:17 [INFO] [stdout] | [INFO] [stdout] 156 | if self.ones().is_none() { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `ne` with a similar name, but with different arguments [INFO] [stdout] --> /rustc/3b4dd9bf1410f8da6329baa36ce5e37673cbbd1f/library/core/src/cmp.rs:264:5 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `twos` found for reference `&ScoreState` in the current scope [INFO] [stdout] --> src/score_states.rs:159:17 [INFO] [stdout] | [INFO] [stdout] 159 | if self.twos().is_none() { [INFO] [stdout] | ^^^^ method not found in `&ScoreState` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `threes` found for reference `&ScoreState` in the current scope [INFO] [stdout] --> src/score_states.rs:162:17 [INFO] [stdout] | [INFO] [stdout] 162 | if self.threes().is_none() { [INFO] [stdout] | ^^^^^^ method not found in `&ScoreState` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `fours` found for reference `&ScoreState` in the current scope [INFO] [stdout] --> src/score_states.rs:165:17 [INFO] [stdout] | [INFO] [stdout] 165 | if self.fours().is_none() { [INFO] [stdout] | ^^^^^ method not found in `&ScoreState` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `fives` found for reference `&ScoreState` in the current scope [INFO] [stdout] --> src/score_states.rs:168:17 [INFO] [stdout] | [INFO] [stdout] 168 | if self.fives().is_none() { [INFO] [stdout] | ^^^^^ method not found in `&ScoreState` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `sixes` found for reference `&ScoreState` in the current scope [INFO] [stdout] --> src/score_states.rs:171:17 [INFO] [stdout] | [INFO] [stdout] 171 | if self.sixes().is_none() { [INFO] [stdout] | ^^^^^ method not found in `&ScoreState` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `three_of_a_kind` found for reference `&ScoreState` in the current scope [INFO] [stdout] --> src/score_states.rs:174:18 [INFO] [stdout] | [INFO] [stdout] 174 | if !self.three_of_a_kind() { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `three_of_a_kind_reward` with a similar name, but with different arguments [INFO] [stdout] --> src/score_states.rs:308:5 [INFO] [stdout] | [INFO] [stdout] 308 | fn three_of_a_kind_reward(&self, dice_state: &Array1) -> u16 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `four_of_a_kind` found for reference `&ScoreState` in the current scope [INFO] [stdout] --> src/score_states.rs:177:18 [INFO] [stdout] | [INFO] [stdout] 177 | if !self.four_of_a_kind() { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `four_of_a_kind_reward` with a similar name, but with different arguments [INFO] [stdout] --> src/score_states.rs:331:5 [INFO] [stdout] | [INFO] [stdout] 331 | fn four_of_a_kind_reward(&self, dice_state: &Array1) -> u16 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `full_house` found for reference `&ScoreState` in the current scope [INFO] [stdout] --> src/score_states.rs:180:18 [INFO] [stdout] | [INFO] [stdout] 180 | if !self.full_house() { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `full_house_reward` with a similar name, but with different arguments [INFO] [stdout] --> src/score_states.rs:354:5 [INFO] [stdout] | [INFO] [stdout] 354 | fn full_house_reward(&self, dice_state: &Array1) -> u16 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `small_straight` found for reference `&ScoreState` in the current scope [INFO] [stdout] --> src/score_states.rs:183:18 [INFO] [stdout] | [INFO] [stdout] 183 | if !self.small_straight() { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `small_straight_reward` with a similar name, but with different arguments [INFO] [stdout] --> src/score_states.rs:380:5 [INFO] [stdout] | [INFO] [stdout] 380 | fn small_straight_reward(&self, dice_state: &Array1) -> u16 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `large_straight` found for reference `&ScoreState` in the current scope [INFO] [stdout] --> src/score_states.rs:186:18 [INFO] [stdout] | [INFO] [stdout] 186 | if !self.large_straight() { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `large_straight_reward` with a similar name, but with different arguments [INFO] [stdout] --> src/score_states.rs:406:5 [INFO] [stdout] | [INFO] [stdout] 406 | fn large_straight_reward(&self, dice_state: &Array1) -> u16 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `chance` found for reference `&ScoreState` in the current scope [INFO] [stdout] --> src/score_states.rs:189:18 [INFO] [stdout] | [INFO] [stdout] 189 | if !self.chance() { [INFO] [stdout] | ^^^^^^ method not found in `&ScoreState` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `yahtzee` found for reference `&ScoreState` in the current scope [INFO] [stdout] --> src/score_states.rs:192:17 [INFO] [stdout] | [INFO] [stdout] 192 | if self.yahtzee().is_none() { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `yahtzee_reward` with a similar name, but with different arguments [INFO] [stdout] --> src/score_states.rs:438:5 [INFO] [stdout] | [INFO] [stdout] 438 | fn yahtzee_reward(&self, dice_state: &Array1) -> u16 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `ones` found for reference `&ScoreState` in the current scope [INFO] [stdout] --> src/score_states.rs:199:31 [INFO] [stdout] | [INFO] [stdout] 199 | if let Some(_) = self.ones() { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `ne` with a similar name, but with different arguments [INFO] [stdout] --> /rustc/3b4dd9bf1410f8da6329baa36ce5e37673cbbd1f/library/core/src/cmp.rs:264:5 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `twos` found for reference `&ScoreState` in the current scope [INFO] [stdout] --> src/score_states.rs:204:31 [INFO] [stdout] | [INFO] [stdout] 204 | if let Some(_) = self.twos() { [INFO] [stdout] | ^^^^ method not found in `&ScoreState` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `threes` found for reference `&ScoreState` in the current scope [INFO] [stdout] --> src/score_states.rs:209:31 [INFO] [stdout] | [INFO] [stdout] 209 | if let Some(_) = self.threes() { [INFO] [stdout] | ^^^^^^ method not found in `&ScoreState` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `fours` found for reference `&ScoreState` in the current scope [INFO] [stdout] --> src/score_states.rs:214:31 [INFO] [stdout] | [INFO] [stdout] 214 | if let Some(_) = self.fours() { [INFO] [stdout] | ^^^^^ method not found in `&ScoreState` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `fives` found for reference `&ScoreState` in the current scope [INFO] [stdout] --> src/score_states.rs:219:31 [INFO] [stdout] | [INFO] [stdout] 219 | if let Some(_) = self.fives() { [INFO] [stdout] | ^^^^^ method not found in `&ScoreState` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `sixes` found for reference `&ScoreState` in the current scope [INFO] [stdout] --> src/score_states.rs:224:31 [INFO] [stdout] | [INFO] [stdout] 224 | if let Some(_) = self.sixes() { [INFO] [stdout] | ^^^^^ method not found in `&ScoreState` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `three_of_a_kind` found for reference `&ScoreState` in the current scope [INFO] [stdout] --> src/score_states.rs:229:17 [INFO] [stdout] | [INFO] [stdout] 229 | if self.three_of_a_kind() { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `three_of_a_kind_reward` with a similar name, but with different arguments [INFO] [stdout] --> src/score_states.rs:308:5 [INFO] [stdout] | [INFO] [stdout] 308 | fn three_of_a_kind_reward(&self, dice_state: &Array1) -> u16 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `four_of_a_kind` found for reference `&ScoreState` in the current scope [INFO] [stdout] --> src/score_states.rs:234:17 [INFO] [stdout] | [INFO] [stdout] 234 | if self.four_of_a_kind() { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `four_of_a_kind_reward` with a similar name, but with different arguments [INFO] [stdout] --> src/score_states.rs:331:5 [INFO] [stdout] | [INFO] [stdout] 331 | fn four_of_a_kind_reward(&self, dice_state: &Array1) -> u16 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `full_house` found for reference `&ScoreState` in the current scope [INFO] [stdout] --> src/score_states.rs:239:17 [INFO] [stdout] | [INFO] [stdout] 239 | if self.full_house() { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `full_house_reward` with a similar name, but with different arguments [INFO] [stdout] --> src/score_states.rs:354:5 [INFO] [stdout] | [INFO] [stdout] 354 | fn full_house_reward(&self, dice_state: &Array1) -> u16 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `small_straight` found for reference `&ScoreState` in the current scope [INFO] [stdout] --> src/score_states.rs:244:17 [INFO] [stdout] | [INFO] [stdout] 244 | if self.small_straight() { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `small_straight_reward` with a similar name, but with different arguments [INFO] [stdout] --> src/score_states.rs:380:5 [INFO] [stdout] | [INFO] [stdout] 380 | fn small_straight_reward(&self, dice_state: &Array1) -> u16 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `large_straight` found for reference `&ScoreState` in the current scope [INFO] [stdout] --> src/score_states.rs:249:17 [INFO] [stdout] | [INFO] [stdout] 249 | if self.large_straight() { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `large_straight_reward` with a similar name, but with different arguments [INFO] [stdout] --> src/score_states.rs:406:5 [INFO] [stdout] | [INFO] [stdout] 406 | fn large_straight_reward(&self, dice_state: &Array1) -> u16 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `chance` found for reference `&ScoreState` in the current scope [INFO] [stdout] --> src/score_states.rs:254:17 [INFO] [stdout] | [INFO] [stdout] 254 | if self.chance() { [INFO] [stdout] | ^^^^^^ method not found in `&ScoreState` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `yahtzee` found for reference `&ScoreState` in the current scope [INFO] [stdout] --> src/score_states.rs:259:37 [INFO] [stdout] | [INFO] [stdout] 259 | if let Some(yahtzee) = self.yahtzee() { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `yahtzee_reward` with a similar name, but with different arguments [INFO] [stdout] --> src/score_states.rs:438:5 [INFO] [stdout] | [INFO] [stdout] 438 | fn yahtzee_reward(&self, dice_state: &Array1) -> u16 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `three_of_a_kind` found for reference `&ScoreState` in the current scope [INFO] [stdout] --> src/score_states.rs:309:18 [INFO] [stdout] | [INFO] [stdout] 309 | if !self.three_of_a_kind() { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `three_of_a_kind_reward` with a similar name, but with different arguments [INFO] [stdout] --> src/score_states.rs:308:5 [INFO] [stdout] | [INFO] [stdout] 308 | fn three_of_a_kind_reward(&self, dice_state: &Array1) -> u16 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `yahtzee` found for reference `&ScoreState` in the current scope [INFO] [stdout] --> src/score_states.rs:312:37 [INFO] [stdout] | [INFO] [stdout] 312 | if let Some(yahtzee) = self.yahtzee() { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `yahtzee_reward` with a similar name, but with different arguments [INFO] [stdout] --> src/score_states.rs:438:5 [INFO] [stdout] | [INFO] [stdout] 438 | fn yahtzee_reward(&self, dice_state: &Array1) -> u16 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `four_of_a_kind` found for reference `&ScoreState` in the current scope [INFO] [stdout] --> src/score_states.rs:332:18 [INFO] [stdout] | [INFO] [stdout] 332 | if !self.four_of_a_kind() { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `four_of_a_kind_reward` with a similar name, but with different arguments [INFO] [stdout] --> src/score_states.rs:331:5 [INFO] [stdout] | [INFO] [stdout] 331 | fn four_of_a_kind_reward(&self, dice_state: &Array1) -> u16 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `yahtzee` found for reference `&ScoreState` in the current scope [INFO] [stdout] --> src/score_states.rs:335:37 [INFO] [stdout] | [INFO] [stdout] 335 | if let Some(yahtzee) = self.yahtzee() { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `yahtzee_reward` with a similar name, but with different arguments [INFO] [stdout] --> src/score_states.rs:438:5 [INFO] [stdout] | [INFO] [stdout] 438 | fn yahtzee_reward(&self, dice_state: &Array1) -> u16 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `full_house` found for reference `&ScoreState` in the current scope [INFO] [stdout] --> src/score_states.rs:355:18 [INFO] [stdout] | [INFO] [stdout] 355 | if !self.full_house() { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `full_house_reward` with a similar name, but with different arguments [INFO] [stdout] --> src/score_states.rs:354:5 [INFO] [stdout] | [INFO] [stdout] 354 | fn full_house_reward(&self, dice_state: &Array1) -> u16 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `yahtzee` found for reference `&ScoreState` in the current scope [INFO] [stdout] --> src/score_states.rs:359:37 [INFO] [stdout] | [INFO] [stdout] 359 | if let Some(yahtzee) = self.yahtzee() { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `yahtzee_reward` with a similar name, but with different arguments [INFO] [stdout] --> src/score_states.rs:438:5 [INFO] [stdout] | [INFO] [stdout] 438 | fn yahtzee_reward(&self, dice_state: &Array1) -> u16 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `small_straight` found for reference `&ScoreState` in the current scope [INFO] [stdout] --> src/score_states.rs:381:18 [INFO] [stdout] | [INFO] [stdout] 381 | if !self.small_straight() { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `small_straight_reward` with a similar name, but with different arguments [INFO] [stdout] --> src/score_states.rs:380:5 [INFO] [stdout] | [INFO] [stdout] 380 | fn small_straight_reward(&self, dice_state: &Array1) -> u16 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `yahtzee` found for reference `&ScoreState` in the current scope [INFO] [stdout] --> src/score_states.rs:385:37 [INFO] [stdout] | [INFO] [stdout] 385 | if let Some(yahtzee) = self.yahtzee() { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `yahtzee_reward` with a similar name, but with different arguments [INFO] [stdout] --> src/score_states.rs:438:5 [INFO] [stdout] | [INFO] [stdout] 438 | fn yahtzee_reward(&self, dice_state: &Array1) -> u16 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `large_straight` found for reference `&ScoreState` in the current scope [INFO] [stdout] --> src/score_states.rs:407:18 [INFO] [stdout] | [INFO] [stdout] 407 | if !self.large_straight() { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `large_straight_reward` with a similar name, but with different arguments [INFO] [stdout] --> src/score_states.rs:406:5 [INFO] [stdout] | [INFO] [stdout] 406 | fn large_straight_reward(&self, dice_state: &Array1) -> u16 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `yahtzee` found for reference `&ScoreState` in the current scope [INFO] [stdout] --> src/score_states.rs:411:37 [INFO] [stdout] | [INFO] [stdout] 411 | if let Some(yahtzee) = self.yahtzee() { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `yahtzee_reward` with a similar name, but with different arguments [INFO] [stdout] --> src/score_states.rs:438:5 [INFO] [stdout] | [INFO] [stdout] 438 | fn yahtzee_reward(&self, dice_state: &Array1) -> u16 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `chance` found for reference `&ScoreState` in the current scope [INFO] [stdout] --> src/score_states.rs:433:18 [INFO] [stdout] | [INFO] [stdout] 433 | if !self.chance() { [INFO] [stdout] | ^^^^^^ method not found in `&ScoreState` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `yahtzee` found for reference `&ScoreState` in the current scope [INFO] [stdout] --> src/score_states.rs:439:17 [INFO] [stdout] | [INFO] [stdout] 439 | if self.yahtzee().is_none() { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `yahtzee_reward` with a similar name, but with different arguments [INFO] [stdout] --> src/score_states.rs:438:5 [INFO] [stdout] | [INFO] [stdout] 438 | fn yahtzee_reward(&self, dice_state: &Array1) -> u16 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `ones` found for reference `&ScoreState` in the current scope [INFO] [stdout] --> src/score_states.rs:450:33 [INFO] [stdout] | [INFO] [stdout] 450 | if let Some(val) = self.ones() { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `ne` with a similar name, but with different arguments [INFO] [stdout] --> /rustc/3b4dd9bf1410f8da6329baa36ce5e37673cbbd1f/library/core/src/cmp.rs:264:5 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `twos` found for reference `&ScoreState` in the current scope [INFO] [stdout] --> src/score_states.rs:455:33 [INFO] [stdout] | [INFO] [stdout] 455 | if let Some(val) = self.twos() { [INFO] [stdout] | ^^^^ method not found in `&ScoreState` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `threes` found for reference `&ScoreState` in the current scope [INFO] [stdout] --> src/score_states.rs:460:33 [INFO] [stdout] | [INFO] [stdout] 460 | if let Some(val) = self.threes() { [INFO] [stdout] | ^^^^^^ method not found in `&ScoreState` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `fours` found for reference `&ScoreState` in the current scope [INFO] [stdout] --> src/score_states.rs:465:33 [INFO] [stdout] | [INFO] [stdout] 465 | if let Some(val) = self.fours() { [INFO] [stdout] | ^^^^^ method not found in `&ScoreState` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `fives` found for reference `&ScoreState` in the current scope [INFO] [stdout] --> src/score_states.rs:470:33 [INFO] [stdout] | [INFO] [stdout] 470 | if let Some(val) = self.fives() { [INFO] [stdout] | ^^^^^ method not found in `&ScoreState` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `sixes` found for reference `&ScoreState` in the current scope [INFO] [stdout] --> src/score_states.rs:475:33 [INFO] [stdout] | [INFO] [stdout] 475 | if let Some(val) = self.sixes() { [INFO] [stdout] | ^^^^^ method not found in `&ScoreState` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `ones` found for reference `&ScoreState` in the current scope [INFO] [stdout] --> src/score_states.rs:487:33 [INFO] [stdout] | [INFO] [stdout] 487 | if let Some(val) = self.ones() { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `ne` with a similar name, but with different arguments [INFO] [stdout] --> /rustc/3b4dd9bf1410f8da6329baa36ce5e37673cbbd1f/library/core/src/cmp.rs:264:5 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `twos` found for reference `&ScoreState` in the current scope [INFO] [stdout] --> src/score_states.rs:492:33 [INFO] [stdout] | [INFO] [stdout] 492 | if let Some(val) = self.twos() { [INFO] [stdout] | ^^^^ method not found in `&ScoreState` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `threes` found for reference `&ScoreState` in the current scope [INFO] [stdout] --> src/score_states.rs:497:33 [INFO] [stdout] | [INFO] [stdout] 497 | if let Some(val) = self.threes() { [INFO] [stdout] | ^^^^^^ method not found in `&ScoreState` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `fours` found for reference `&ScoreState` in the current scope [INFO] [stdout] --> src/score_states.rs:502:33 [INFO] [stdout] | [INFO] [stdout] 502 | if let Some(val) = self.fours() { [INFO] [stdout] | ^^^^^ method not found in `&ScoreState` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `fives` found for reference `&ScoreState` in the current scope [INFO] [stdout] --> src/score_states.rs:507:33 [INFO] [stdout] | [INFO] [stdout] 507 | if let Some(val) = self.fives() { [INFO] [stdout] | ^^^^^ method not found in `&ScoreState` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `sixes` found for reference `&ScoreState` in the current scope [INFO] [stdout] --> src/score_states.rs:512:33 [INFO] [stdout] | [INFO] [stdout] 512 | if let Some(val) = self.sixes() { [INFO] [stdout] | ^^^^^ method not found in `&ScoreState` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `three_of_a_kind` found for reference `&ScoreState` in the current scope [INFO] [stdout] --> src/score_states.rs:517:56 [INFO] [stdout] | [INFO] [stdout] 517 | data += &format!("three_of_a_kind: {}, ", self.three_of_a_kind()); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `three_of_a_kind_reward` with a similar name, but with different arguments [INFO] [stdout] --> src/score_states.rs:308:5 [INFO] [stdout] | [INFO] [stdout] 308 | fn three_of_a_kind_reward(&self, dice_state: &Array1) -> u16 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `four_of_a_kind` found for reference `&ScoreState` in the current scope [INFO] [stdout] --> src/score_states.rs:518:55 [INFO] [stdout] | [INFO] [stdout] 518 | data += &format!("four_of_a_kind: {}, ", self.four_of_a_kind()); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `four_of_a_kind_reward` with a similar name, but with different arguments [INFO] [stdout] --> src/score_states.rs:331:5 [INFO] [stdout] | [INFO] [stdout] 331 | fn four_of_a_kind_reward(&self, dice_state: &Array1) -> u16 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `full_house` found for reference `&ScoreState` in the current scope [INFO] [stdout] --> src/score_states.rs:519:51 [INFO] [stdout] | [INFO] [stdout] 519 | data += &format!("full_house: {}, ", self.full_house()); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `full_house_reward` with a similar name, but with different arguments [INFO] [stdout] --> src/score_states.rs:354:5 [INFO] [stdout] | [INFO] [stdout] 354 | fn full_house_reward(&self, dice_state: &Array1) -> u16 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `small_straight` found for reference `&ScoreState` in the current scope [INFO] [stdout] --> src/score_states.rs:520:55 [INFO] [stdout] | [INFO] [stdout] 520 | data += &format!("small_straight: {}, ", self.small_straight()); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `small_straight_reward` with a similar name, but with different arguments [INFO] [stdout] --> src/score_states.rs:380:5 [INFO] [stdout] | [INFO] [stdout] 380 | fn small_straight_reward(&self, dice_state: &Array1) -> u16 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `large_straight` found for reference `&ScoreState` in the current scope [INFO] [stdout] --> src/score_states.rs:521:55 [INFO] [stdout] | [INFO] [stdout] 521 | data += &format!("large_straight: {}, ", self.large_straight()); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `large_straight_reward` with a similar name, but with different arguments [INFO] [stdout] --> src/score_states.rs:406:5 [INFO] [stdout] | [INFO] [stdout] 406 | fn large_straight_reward(&self, dice_state: &Array1) -> u16 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `chance` found for reference `&ScoreState` in the current scope [INFO] [stdout] --> src/score_states.rs:522:47 [INFO] [stdout] | [INFO] [stdout] 522 | data += &format!("chance: {}, ", self.chance()); [INFO] [stdout] | ^^^^^^ method not found in `&ScoreState` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `yahtzee` found for reference `&ScoreState` in the current scope [INFO] [stdout] --> src/score_states.rs:523:33 [INFO] [stdout] | [INFO] [stdout] 523 | if let Some(val) = self.yahtzee() { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `yahtzee_reward` with a similar name, but with different arguments [INFO] [stdout] --> src/score_states.rs:438:5 [INFO] [stdout] | [INFO] [stdout] 438 | fn yahtzee_reward(&self, dice_state: &Array1) -> u16 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `reward` found for struct `ScoreState` in the current scope [INFO] [stdout] --> src/reward_evaluation.rs:170:45 [INFO] [stdout] | [INFO] [stdout] 170 | let action_reward = score_state.reward(*score_action, dice_state); [INFO] [stdout] | ^^^^^^ method not found in `ScoreState` [INFO] [stdout] | [INFO] [stdout] ::: src/score_states.rs:49:1 [INFO] [stdout] | [INFO] [stdout] 49 | pub struct ScoreState { [INFO] [stdout] | --------------------- method `reward` not found for this struct [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:57:25 [INFO] [stdout] | [INFO] [stdout] 57 | let mut score_state = score_states::ScoreState::empty(); [INFO] [stdout] | ----^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0599`. [INFO] [stdout] [INFO] [stderr] error: could not compile `yahtzee-solver` (bin "yahtzee-solver") due to 58 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "4050a3079de49703fd489c94bcc3bdd09202c1c782198f06ae074171f64f8281", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4050a3079de49703fd489c94bcc3bdd09202c1c782198f06ae074171f64f8281", kill_on_drop: false }` [INFO] [stdout] 4050a3079de49703fd489c94bcc3bdd09202c1c782198f06ae074171f64f8281