[INFO] cloning repository https://github.com/hiive/hiivelabs-zertz-mcts [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/hiive/hiivelabs-zertz-mcts" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhiive%2Fhiivelabs-zertz-mcts", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhiive%2Fhiivelabs-zertz-mcts'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 12537a6be44e99f8273c9f81587191526f358a0e [INFO] checking hiive/hiivelabs-zertz-mcts against try#4f260f0f20b3133d20cfb50353c0221943af5796+rustflags=-Dunmustuse_in_always_ok for pr-148577 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhiive%2Fhiivelabs-zertz-mcts" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/hiive/hiivelabs-zertz-mcts [INFO] finished tweaking git repo https://github.com/hiive/hiivelabs-zertz-mcts [INFO] tweaked toml for git repo https://github.com/hiive/hiivelabs-zertz-mcts written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/hiive/hiivelabs-zertz-mcts on toolchain 4f260f0f20b3133d20cfb50353c0221943af5796 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/hiive/hiivelabs-zertz-mcts 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" "+4f260f0f20b3133d20cfb50353c0221943af5796" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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" "+4f260f0f20b3133d20cfb50353c0221943af5796" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c5829e59673ff5eb24e5d4ac9de1c8b3357f1459989cec33dfd29de56bc99b98 [INFO] running `Command { std: "docker" "start" "-a" "c5829e59673ff5eb24e5d4ac9de1c8b3357f1459989cec33dfd29de56bc99b98", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c5829e59673ff5eb24e5d4ac9de1c8b3357f1459989cec33dfd29de56bc99b98", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c5829e59673ff5eb24e5d4ac9de1c8b3357f1459989cec33dfd29de56bc99b98", kill_on_drop: false }` [INFO] [stdout] c5829e59673ff5eb24e5d4ac9de1c8b3357f1459989cec33dfd29de56bc99b98 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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=forbid -Dunmustuse_in_always_ok" "-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] abf4d2fe2537520876926dc11b173758b6629845048e925ba156ec6c18147d5f [INFO] running `Command { std: "docker" "start" "-a" "abf4d2fe2537520876926dc11b173758b6629845048e925ba156ec6c18147d5f", kill_on_drop: false }` [INFO] [stderr] Compiling target-lexicon v0.13.3 [INFO] [stderr] Compiling libc v0.2.177 [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Compiling quote v1.0.41 [INFO] [stderr] Checking cfg-if v1.0.4 [INFO] [stderr] Compiling unicode-ident v1.0.19 [INFO] [stderr] Compiling getrandom v0.3.4 [INFO] [stderr] Compiling zerocopy v0.8.27 [INFO] [stderr] Compiling parking_lot_core v0.9.12 [INFO] [stderr] Compiling rayon-core v1.13.0 [INFO] [stderr] Checking rawpointer v0.2.1 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling memoffset v0.9.1 [INFO] [stderr] Compiling matrixmultiply v0.3.10 [INFO] [stderr] Checking lock_api v0.4.14 [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Checking rustc-hash v2.1.1 [INFO] [stderr] Checking either v1.15.0 [INFO] [stderr] Checking rayon v1.11.0 [INFO] [stderr] Compiling pyo3-build-config v0.26.0 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Checking num-complex v0.4.6 [INFO] [stderr] Compiling syn v2.0.107 [INFO] [stderr] Checking rand_core v0.9.3 [INFO] [stderr] Checking dashmap v6.1.0 [INFO] [stderr] Checking rand_pcg v0.9.0 [INFO] [stderr] Checking ndarray v0.16.1 [INFO] [stderr] Compiling pyo3-macros-backend v0.26.0 [INFO] [stderr] Compiling pyo3-ffi v0.26.0 [INFO] [stderr] Compiling pyo3 v0.26.0 [INFO] [stderr] Compiling numpy v0.26.0 [INFO] [stderr] Checking ppv-lite86 v0.2.21 [INFO] [stderr] Checking rand_chacha v0.9.0 [INFO] [stderr] Checking rand v0.9.2 [INFO] [stderr] Compiling pyo3-macros v0.26.0 [INFO] [stderr] Checking hiivelabs-zertz-mcts v0.5.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `AtomicU64`, `AtomicUsize`, and `Ordering` [INFO] [stdout] --> src/metrics.rs:1:25 [INFO] [stdout] | [INFO] [stdout] 1 | use std::sync::atomic::{AtomicU64, AtomicUsize, Ordering}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::time::Instant` [INFO] [stdout] --> src/metrics.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::time::Instant; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/game.rs:1206:9 [INFO] [stdout] | [INFO] [stdout] 1206 | / /// Verify that apply_capture() clears any pre-existing capture layer markers [INFO] [stdout] 1207 | | /// at the start of execution (Step 1 of the fix). [INFO] [stdout] | |__________________________________________________________^ [INFO] [stdout] 1208 | let config = create_test_config(); [INFO] [stdout] | ---------------------------------- rustdoc does not generate documentation for statements [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] = note: `#[warn(unused_doc_comments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/game.rs:1241:9 [INFO] [stdout] | [INFO] [stdout] 1241 | / /// Verify that apply_capture() marks the landing position in the capture layer [INFO] [stdout] 1242 | | /// when a chain capture is available (Step 2 of the fix). [INFO] [stdout] | |__________________________________________________________________^ [INFO] [stdout] 1243 | let config = create_test_config(); [INFO] [stdout] | ---------------------------------- rustdoc does not generate documentation for statements [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/game.rs:1282:9 [INFO] [stdout] | [INFO] [stdout] 1282 | / /// Verify that apply_capture() does NOT mark the landing position when [INFO] [stdout] 1283 | | /// no chain capture is available, and DOES switch players. [INFO] [stdout] | |___________________________________________________________________^ [INFO] [stdout] 1284 | let config = create_test_config(); [INFO] [stdout] | ---------------------------------- rustdoc does not generate documentation for statements [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/game.rs:1320:9 [INFO] [stdout] | [INFO] [stdout] 1320 | / /// Verify that apply_placement() clears the capture layer at the start, [INFO] [stdout] 1321 | | /// ending any ongoing chain capture sequence. [INFO] [stdout] | |______________________________________________________^ [INFO] [stdout] 1322 | let config = create_test_config(); [INFO] [stdout] | ---------------------------------- rustdoc does not generate documentation for statements [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/game.rs:1362:9 [INFO] [stdout] | [INFO] [stdout] 1362 | / /// Verify that once a chain capture begins, ONLY the marble that landed [INFO] [stdout] 1363 | | /// can perform the next capture (no other marbles can capture). [INFO] [stdout] | |________________________________________________________________________^ [INFO] [stdout] 1364 | let config = create_test_config(); [INFO] [stdout] | ---------------------------------- rustdoc does not generate documentation for statements [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/game.rs:1508:9 [INFO] [stdout] | [INFO] [stdout] 1508 | / /// This test verifies that ALL fully-occupied regions are captured, [INFO] [stdout] 1509 | | /// regardless of their location on the board. [INFO] [stdout] | |______________________________________________________^ [INFO] [stdout] 1510 | [INFO] [stdout] 1511 | let config = create_test_config(); [INFO] [stdout] | ---------------------------------- rustdoc does not generate documentation for statements [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `AtomicU64`, `AtomicUsize`, and `Ordering` [INFO] [stdout] --> src/metrics.rs:1:25 [INFO] [stdout] | [INFO] [stdout] 1 | use std::sync::atomic::{AtomicU64, AtomicUsize, Ordering}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::time::Instant` [INFO] [stdout] --> src/metrics.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::time::Instant; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/mcts.rs:137:17 [INFO] [stdout] | [INFO] [stdout] 137 | let mut features:Vec<&str> = Vec::new(); [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] warning: value assigned to `completed` is never read [INFO] [stdout] --> src/mcts.rs:457:33 [INFO] [stdout] | [INFO] [stdout] 457 | let mut completed = 0; [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_supply_index` is never used [INFO] [stdout] --> src/game.rs:246:8 [INFO] [stdout] | [INFO] [stdout] 246 | pub fn get_supply_index(marble_type: char, config: &BoardConfig) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_marble_type_at` is never used [INFO] [stdout] --> src/game.rs:258:8 [INFO] [stdout] | [INFO] [stdout] 258 | pub fn get_marble_type_at(spatial_state: &ArrayView3, y: usize, x: usize, _config: &BoardConfig) -> char { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MCTSMetrics` is never constructed [INFO] [stdout] --> src/metrics.rs:268:12 [INFO] [stdout] | [INFO] [stdout] 268 | pub struct MCTSMetrics; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/metrics.rs:273:12 [INFO] [stdout] | [INFO] [stdout] 271 | impl MCTSMetrics { [INFO] [stdout] | ---------------- associated items in this implementation [INFO] [stdout] 272 | #[inline(always)] [INFO] [stdout] 273 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 278 | pub fn reset(&mut self) {} [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 281 | pub fn start_search(&mut self) {} [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 284 | pub fn end_search(&self) {} [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 287 | pub fn record_cache_hit(&self) {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 290 | pub fn record_cache_miss(&self) {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 293 | pub fn record_node_expanded(&self) {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 296 | pub fn record_node_reused(&self) {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 299 | pub fn record_iteration(&self) {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 302 | pub fn record_simulation(&self, _depth: usize) {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 305 | pub fn record_selection_time(&self, _nanos: u64) {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 308 | pub fn record_expansion_time(&self, _nanos: u64) {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 311 | pub fn record_simulation_time(&self, _nanos: u64) {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 314 | pub fn record_backprop_time(&self, _nanos: u64) {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `children_count` is never used [INFO] [stdout] --> src/node.rs:173:12 [INFO] [stdout] | [INFO] [stdout] 118 | impl MCTSNode { [INFO] [stdout] | ------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 173 | pub fn children_count(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/board.rs:181:54 [INFO] [stdout] | [INFO] [stdout] 181 | fn get_marble_layer(&self, marble_type: &str) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-D unmustuse-in-always-ok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/board.rs:186:33 [INFO] [stdout] | [INFO] [stdout] 186 | fn get_directions(&self) -> Vec<(i32, i32)> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/board.rs:191:27 [INFO] [stdout] | [INFO] [stdout] 191 | fn is_blitz(&self) -> bool { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>>, Infallible> [INFO] [stdout] --> src/board.rs:358:58 [INFO] [stdout] | [INFO] [stdout] 358 | fn get_spatial_state<'py>(&self, py: Python<'py>) -> Bound<'py, PyArray3> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>>, Infallible> [INFO] [stdout] --> src/board.rs:363:51 [INFO] [stdout] | [INFO] [stdout] 363 | fn get_global<'py>(&self, py: Python<'py>) -> Bound<'py, PyArray1> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result<(i32, i32), Infallible> [INFO] [stdout] --> src/game_py.rs:27:44 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn ax_rot60(q: i32, r: i32, k: i32) -> (i32, i32) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result<(i32, i32), Infallible> [INFO] [stdout] --> src/game_py.rs:40:44 [INFO] [stdout] | [INFO] [stdout] 40 | pub fn ax_mirror_q_axis(q: i32, r: i32) -> (i32, i32) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result<(HashMap<(i32, i32), (i32, i32)>, HashMap<(i32, i32), (i32, i32)>), Infallible> [INFO] [stdout] --> src/game_py.rs:62:6 [INFO] [stdout] | [INFO] [stdout] 62 | ) -> (HashMap<(i32, i32), (i32, i32)>, HashMap<(i32, i32), (i32, i32)>) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `ALL` should have a snake case name [INFO] [stdout] --> src/game_py.rs:91:8 [INFO] [stdout] | [INFO] [stdout] 91 | fn ALL() -> Self { [INFO] [stdout] | ^^^ help: convert the identifier to snake case: `all` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `ROTATION` should have a snake case name [INFO] [stdout] --> src/game_py.rs:97:8 [INFO] [stdout] | [INFO] [stdout] 97 | fn ROTATION() -> Self { [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `rotation` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `MIRROR` should have a snake case name [INFO] [stdout] --> src/game_py.rs:103:8 [INFO] [stdout] | [INFO] [stdout] 103 | fn MIRROR() -> Self { [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `mirror` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `TRANSLATION` should have a snake case name [INFO] [stdout] --> src/game_py.rs:109:8 [INFO] [stdout] | [INFO] [stdout] 109 | fn TRANSLATION() -> Self { [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `translation` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `ROTATION_MIRROR` should have a snake case name [INFO] [stdout] --> src/game_py.rs:115:8 [INFO] [stdout] | [INFO] [stdout] 115 | fn ROTATION_MIRROR() -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `rotation_mirror` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `NONE` should have a snake case name [INFO] [stdout] --> src/game_py.rs:121:8 [INFO] [stdout] | [INFO] [stdout] 121 | fn NONE() -> Self { [INFO] [stdout] | ^^^^ help: convert the identifier to snake case: `none` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/game_py.rs:91:17 [INFO] [stdout] | [INFO] [stdout] 91 | fn ALL() -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/game_py.rs:97:22 [INFO] [stdout] | [INFO] [stdout] 97 | fn ROTATION() -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/game_py.rs:103:20 [INFO] [stdout] | [INFO] [stdout] 103 | fn MIRROR() -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/game_py.rs:109:25 [INFO] [stdout] | [INFO] [stdout] 109 | fn TRANSLATION() -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/game_py.rs:115:29 [INFO] [stdout] | [INFO] [stdout] 115 | fn ROTATION_MIRROR() -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/game_py.rs:121:18 [INFO] [stdout] | [INFO] [stdout] 121 | fn NONE() -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/game_py.rs:149:27 [INFO] [stdout] | [INFO] [stdout] 149 | pub fn bits(&self) -> u8 { [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/game_py.rs:154:35 [INFO] [stdout] | [INFO] [stdout] 154 | pub fn has_rotation(&self) -> bool { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/game_py.rs:159:33 [INFO] [stdout] | [INFO] [stdout] 159 | pub fn has_mirror(&self) -> bool { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/game_py.rs:164:38 [INFO] [stdout] | [INFO] [stdout] 164 | pub fn has_translation(&self) -> bool { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result<(pyo3::Py>>, String, String), Infallible> [INFO] [stdout] --> src/game_py.rs:209:6 [INFO] [stdout] | [INFO] [stdout] 209 | ) -> (Py>, String, String) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>>, Infallible> [INFO] [stdout] --> src/game_py.rs:242:6 [INFO] [stdout] | [INFO] [stdout] 242 | ) -> Py> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>>>, Infallible> [INFO] [stdout] --> src/game_py.rs:269:6 [INFO] [stdout] | [INFO] [stdout] 269 | ) -> Option>> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/game_py.rs:291:6 [INFO] [stdout] | [INFO] [stdout] 291 | ) -> Option<(usize, usize, usize, usize)> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/game_py.rs:308:85 [INFO] [stdout] | [INFO] [stdout] 308 | pub fn canonical_key(spatial_state: PyReadonlyArray3, config: &BoardConfig) -> Vec { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/game_py.rs:332:56 [INFO] [stdout] | [INFO] [stdout] 332 | pub fn inverse_transform_name(transform_name: &str) -> String { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/game_py.rs:340:53 [INFO] [stdout] | [INFO] [stdout] 340 | pub fn is_inbounds(y: i32, x: i32, width: usize) -> bool { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/game_py.rs:347:67 [INFO] [stdout] | [INFO] [stdout] 347 | pub fn get_neighbors(y: usize, x: usize, config: &BoardConfig) -> Vec<(usize, usize)> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result<(i32, i32), Infallible> [INFO] [stdout] --> src/game_py.rs:359:6 [INFO] [stdout] | [INFO] [stdout] 359 | ) -> (i32, i32) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/game_py.rs:369:6 [INFO] [stdout] | [INFO] [stdout] 369 | ) -> Vec> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/game_py.rs:380:6 [INFO] [stdout] | [INFO] [stdout] 380 | ) -> Vec<(usize, usize)> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/game_py.rs:392:6 [INFO] [stdout] | [INFO] [stdout] 392 | ) -> bool { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/game_py.rs:403:6 [INFO] [stdout] | [INFO] [stdout] 403 | ) -> Vec<(usize, usize)> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/game_py.rs:410:47 [INFO] [stdout] | [INFO] [stdout] 410 | pub fn get_supply_index(marble_type: char) -> usize { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/game_py.rs:422:64 [INFO] [stdout] | [INFO] [stdout] 422 | pub fn get_captured_index(player: usize, marble_type: char) -> usize { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/game_py.rs:445:6 [INFO] [stdout] | [INFO] [stdout] 445 | ) -> char { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>>, Infallible> [INFO] [stdout] --> src/game_py.rs:466:6 [INFO] [stdout] | [INFO] [stdout] 466 | ) -> Py> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>>, Infallible> [INFO] [stdout] --> src/game_py.rs:480:6 [INFO] [stdout] | [INFO] [stdout] 480 | ) -> Py> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result<(pyo3::Py>>, pyo3::Py>>), Infallible> [INFO] [stdout] --> src/game_py.rs:494:6 [INFO] [stdout] | [INFO] [stdout] 494 | ) -> (Py>, Py>) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/game_py.rs:562:6 [INFO] [stdout] | [INFO] [stdout] 562 | ) -> bool { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/game_py.rs:575:6 [INFO] [stdout] | [INFO] [stdout] 575 | ) -> i8 { [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result<(pyo3::Py>>, pyo3::Py>>, Vec<(usize, usize, usize)>), Infallible> [INFO] [stdout] --> src/game_py.rs:590:6 [INFO] [stdout] | [INFO] [stdout] 590 | ) -> (Py>, Py>, Vec<(usize, usize, usize)>) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/mcts.rs:521:41 [INFO] [stdout] | [INFO] [stdout] 521 | pub fn last_root_children(&self) -> usize { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/mcts.rs:525:39 [INFO] [stdout] | [INFO] [stdout] 525 | pub fn last_root_visits(&self) -> u32 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/mcts.rs:529:38 [INFO] [stdout] | [INFO] [stdout] 529 | pub fn last_root_value(&self) -> f32 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, f32)>, Infallible> [INFO] [stdout] --> src/mcts.rs:543:44 [INFO] [stdout] | [INFO] [stdout] 543 | pub fn last_child_statistics(&self) -> Vec<(String, Option<(usize, usize, usize)>, f32)> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `hiivelabs-zertz-mcts` (lib) due to 44 previous errors; 15 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/mcts.rs:137:17 [INFO] [stdout] | [INFO] [stdout] 137 | let mut features:Vec<&str> = Vec::new(); [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] warning: value assigned to `completed` is never read [INFO] [stdout] --> src/mcts.rs:457:33 [INFO] [stdout] | [INFO] [stdout] 457 | let mut completed = 0; [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_supply_index` is never used [INFO] [stdout] --> src/game.rs:246:8 [INFO] [stdout] | [INFO] [stdout] 246 | pub fn get_supply_index(marble_type: char, config: &BoardConfig) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_marble_type_at` is never used [INFO] [stdout] --> src/game.rs:258:8 [INFO] [stdout] | [INFO] [stdout] 258 | pub fn get_marble_type_at(spatial_state: &ArrayView3, y: usize, x: usize, _config: &BoardConfig) -> char { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MCTSMetrics` is never constructed [INFO] [stdout] --> src/metrics.rs:268:12 [INFO] [stdout] | [INFO] [stdout] 268 | pub struct MCTSMetrics; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/metrics.rs:273:12 [INFO] [stdout] | [INFO] [stdout] 271 | impl MCTSMetrics { [INFO] [stdout] | ---------------- associated items in this implementation [INFO] [stdout] 272 | #[inline(always)] [INFO] [stdout] 273 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 278 | pub fn reset(&mut self) {} [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 281 | pub fn start_search(&mut self) {} [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 284 | pub fn end_search(&self) {} [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 287 | pub fn record_cache_hit(&self) {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 290 | pub fn record_cache_miss(&self) {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 293 | pub fn record_node_expanded(&self) {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 296 | pub fn record_node_reused(&self) {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 299 | pub fn record_iteration(&self) {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 302 | pub fn record_simulation(&self, _depth: usize) {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 305 | pub fn record_selection_time(&self, _nanos: u64) {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 308 | pub fn record_expansion_time(&self, _nanos: u64) {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 311 | pub fn record_simulation_time(&self, _nanos: u64) {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 314 | pub fn record_backprop_time(&self, _nanos: u64) {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `children_count` is never used [INFO] [stdout] --> src/node.rs:173:12 [INFO] [stdout] | [INFO] [stdout] 118 | impl MCTSNode { [INFO] [stdout] | ------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 173 | pub fn children_count(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/board.rs:181:54 [INFO] [stdout] | [INFO] [stdout] 181 | fn get_marble_layer(&self, marble_type: &str) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-D unmustuse-in-always-ok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/board.rs:186:33 [INFO] [stdout] | [INFO] [stdout] 186 | fn get_directions(&self) -> Vec<(i32, i32)> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/board.rs:191:27 [INFO] [stdout] | [INFO] [stdout] 191 | fn is_blitz(&self) -> bool { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>>, Infallible> [INFO] [stdout] --> src/board.rs:358:58 [INFO] [stdout] | [INFO] [stdout] 358 | fn get_spatial_state<'py>(&self, py: Python<'py>) -> Bound<'py, PyArray3> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>>, Infallible> [INFO] [stdout] --> src/board.rs:363:51 [INFO] [stdout] | [INFO] [stdout] 363 | fn get_global<'py>(&self, py: Python<'py>) -> Bound<'py, PyArray1> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result<(i32, i32), Infallible> [INFO] [stdout] --> src/game_py.rs:27:44 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn ax_rot60(q: i32, r: i32, k: i32) -> (i32, i32) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result<(i32, i32), Infallible> [INFO] [stdout] --> src/game_py.rs:40:44 [INFO] [stdout] | [INFO] [stdout] 40 | pub fn ax_mirror_q_axis(q: i32, r: i32) -> (i32, i32) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result<(HashMap<(i32, i32), (i32, i32)>, HashMap<(i32, i32), (i32, i32)>), Infallible> [INFO] [stdout] --> src/game_py.rs:62:6 [INFO] [stdout] | [INFO] [stdout] 62 | ) -> (HashMap<(i32, i32), (i32, i32)>, HashMap<(i32, i32), (i32, i32)>) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `ALL` should have a snake case name [INFO] [stdout] --> src/game_py.rs:91:8 [INFO] [stdout] | [INFO] [stdout] 91 | fn ALL() -> Self { [INFO] [stdout] | ^^^ help: convert the identifier to snake case: `all` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `ROTATION` should have a snake case name [INFO] [stdout] --> src/game_py.rs:97:8 [INFO] [stdout] | [INFO] [stdout] 97 | fn ROTATION() -> Self { [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `rotation` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `MIRROR` should have a snake case name [INFO] [stdout] --> src/game_py.rs:103:8 [INFO] [stdout] | [INFO] [stdout] 103 | fn MIRROR() -> Self { [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `mirror` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `TRANSLATION` should have a snake case name [INFO] [stdout] --> src/game_py.rs:109:8 [INFO] [stdout] | [INFO] [stdout] 109 | fn TRANSLATION() -> Self { [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `translation` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `ROTATION_MIRROR` should have a snake case name [INFO] [stdout] --> src/game_py.rs:115:8 [INFO] [stdout] | [INFO] [stdout] 115 | fn ROTATION_MIRROR() -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `rotation_mirror` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `NONE` should have a snake case name [INFO] [stdout] --> src/game_py.rs:121:8 [INFO] [stdout] | [INFO] [stdout] 121 | fn NONE() -> Self { [INFO] [stdout] | ^^^^ help: convert the identifier to snake case: `none` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/game_py.rs:91:17 [INFO] [stdout] | [INFO] [stdout] 91 | fn ALL() -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/game_py.rs:97:22 [INFO] [stdout] | [INFO] [stdout] 97 | fn ROTATION() -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/game_py.rs:103:20 [INFO] [stdout] | [INFO] [stdout] 103 | fn MIRROR() -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/game_py.rs:109:25 [INFO] [stdout] | [INFO] [stdout] 109 | fn TRANSLATION() -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/game_py.rs:115:29 [INFO] [stdout] | [INFO] [stdout] 115 | fn ROTATION_MIRROR() -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/game_py.rs:121:18 [INFO] [stdout] | [INFO] [stdout] 121 | fn NONE() -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/game_py.rs:149:27 [INFO] [stdout] | [INFO] [stdout] 149 | pub fn bits(&self) -> u8 { [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/game_py.rs:154:35 [INFO] [stdout] | [INFO] [stdout] 154 | pub fn has_rotation(&self) -> bool { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/game_py.rs:159:33 [INFO] [stdout] | [INFO] [stdout] 159 | pub fn has_mirror(&self) -> bool { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/game_py.rs:164:38 [INFO] [stdout] | [INFO] [stdout] 164 | pub fn has_translation(&self) -> bool { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result<(pyo3::Py>>, String, String), Infallible> [INFO] [stdout] --> src/game_py.rs:209:6 [INFO] [stdout] | [INFO] [stdout] 209 | ) -> (Py>, String, String) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>>, Infallible> [INFO] [stdout] --> src/game_py.rs:242:6 [INFO] [stdout] | [INFO] [stdout] 242 | ) -> Py> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>>>, Infallible> [INFO] [stdout] --> src/game_py.rs:269:6 [INFO] [stdout] | [INFO] [stdout] 269 | ) -> Option>> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/game_py.rs:291:6 [INFO] [stdout] | [INFO] [stdout] 291 | ) -> Option<(usize, usize, usize, usize)> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/game_py.rs:308:85 [INFO] [stdout] | [INFO] [stdout] 308 | pub fn canonical_key(spatial_state: PyReadonlyArray3, config: &BoardConfig) -> Vec { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/game_py.rs:332:56 [INFO] [stdout] | [INFO] [stdout] 332 | pub fn inverse_transform_name(transform_name: &str) -> String { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/game_py.rs:340:53 [INFO] [stdout] | [INFO] [stdout] 340 | pub fn is_inbounds(y: i32, x: i32, width: usize) -> bool { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/game_py.rs:347:67 [INFO] [stdout] | [INFO] [stdout] 347 | pub fn get_neighbors(y: usize, x: usize, config: &BoardConfig) -> Vec<(usize, usize)> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result<(i32, i32), Infallible> [INFO] [stdout] --> src/game_py.rs:359:6 [INFO] [stdout] | [INFO] [stdout] 359 | ) -> (i32, i32) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/game_py.rs:369:6 [INFO] [stdout] | [INFO] [stdout] 369 | ) -> Vec> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/game_py.rs:380:6 [INFO] [stdout] | [INFO] [stdout] 380 | ) -> Vec<(usize, usize)> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/game_py.rs:392:6 [INFO] [stdout] | [INFO] [stdout] 392 | ) -> bool { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/game_py.rs:403:6 [INFO] [stdout] | [INFO] [stdout] 403 | ) -> Vec<(usize, usize)> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/game_py.rs:410:47 [INFO] [stdout] | [INFO] [stdout] 410 | pub fn get_supply_index(marble_type: char) -> usize { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/game_py.rs:422:64 [INFO] [stdout] | [INFO] [stdout] 422 | pub fn get_captured_index(player: usize, marble_type: char) -> usize { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/game_py.rs:445:6 [INFO] [stdout] | [INFO] [stdout] 445 | ) -> char { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>>, Infallible> [INFO] [stdout] --> src/game_py.rs:466:6 [INFO] [stdout] | [INFO] [stdout] 466 | ) -> Py> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>>, Infallible> [INFO] [stdout] --> src/game_py.rs:480:6 [INFO] [stdout] | [INFO] [stdout] 480 | ) -> Py> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result<(pyo3::Py>>, pyo3::Py>>), Infallible> [INFO] [stdout] --> src/game_py.rs:494:6 [INFO] [stdout] | [INFO] [stdout] 494 | ) -> (Py>, Py>) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/game_py.rs:562:6 [INFO] [stdout] | [INFO] [stdout] 562 | ) -> bool { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/game_py.rs:575:6 [INFO] [stdout] | [INFO] [stdout] 575 | ) -> i8 { [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result<(pyo3::Py>>, pyo3::Py>>, Vec<(usize, usize, usize)>), Infallible> [INFO] [stdout] --> src/game_py.rs:590:6 [INFO] [stdout] | [INFO] [stdout] 590 | ) -> (Py>, Py>, Vec<(usize, usize, usize)>) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/mcts.rs:521:41 [INFO] [stdout] | [INFO] [stdout] 521 | pub fn last_root_children(&self) -> usize { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/mcts.rs:525:39 [INFO] [stdout] | [INFO] [stdout] 525 | pub fn last_root_visits(&self) -> u32 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/mcts.rs:529:38 [INFO] [stdout] | [INFO] [stdout] 529 | pub fn last_root_value(&self) -> f32 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, f32)>, Infallible> [INFO] [stdout] --> src/mcts.rs:543:44 [INFO] [stdout] | [INFO] [stdout] 543 | pub fn last_child_statistics(&self) -> Vec<(String, Option<(usize, usize, usize)>, f32)> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `hiivelabs-zertz-mcts` (lib test) due to 44 previous errors; 21 warnings emitted [INFO] running `Command { std: "docker" "inspect" "abf4d2fe2537520876926dc11b173758b6629845048e925ba156ec6c18147d5f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "abf4d2fe2537520876926dc11b173758b6629845048e925ba156ec6c18147d5f", kill_on_drop: false }` [INFO] [stdout] abf4d2fe2537520876926dc11b173758b6629845048e925ba156ec6c18147d5f