[INFO] fetching crate tanton 1.0.0...
[INFO] checking tanton-1.0.0 against master#cced03bfd61a304243a34504618ecec86c17063f for pr-157082
[INFO] extracting crate tanton 1.0.0 into /workspace/builds/worker-0-tc1/source
[INFO] started tweaking crates.io crate tanton 1.0.0
[INFO] finished tweaking crates.io crate tanton 1.0.0
[INFO] tweaked toml for crates.io crate tanton 1.0.0 written to /workspace/builds/worker-0-tc1/source/Cargo.toml
[INFO] validating manifest of crates.io crate tanton 1.0.0 on toolchain cced03bfd61a304243a34504618ecec86c17063f
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cced03bfd61a304243a34504618ecec86c17063f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cced03bfd61a304243a34504618ecec86c17063f" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]      Locking 63 packages to latest compatible versions
[INFO] [stderr]       Adding bitflags v1.3.2 (available: v2.13.0)
[INFO] [stderr]       Adding criterion v0.2.11 (available: v0.8.2)
[INFO] [stderr]       Adding rand v0.8.6 (available: v0.10.1)
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cced03bfd61a304243a34504618ecec86c17063f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr] warning: Cargo.toml: `package.edition` is unspecified, defaulting to `2015` while the latest is `2024`
[INFO] [stderr] warning: `tanton` (manifest) generated 1 warning
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded mucow v0.1.0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3e793bdf10248eb2ddbd6b0faebed8155c11b4589982e2893733958d93e8d540" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 5e92a6715edfc16ef41286c635e70da6d2691de324cb90cb3ff1897310d85c58
[INFO] running `Command { std: "docker" "start" "5e92a6715edfc16ef41286c635e70da6d2691de324cb90cb3ff1897310d85c58", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "5e92a6715edfc16ef41286c635e70da6d2691de324cb90cb3ff1897310d85c58" "/opt/rustwide/cargo-home/bin/cargo" "+cced03bfd61a304243a34504618ecec86c17063f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "5e92a6715edfc16ef41286c635e70da6d2691de324cb90cb3ff1897310d85c58", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "5e92a6715edfc16ef41286c635e70da6d2691de324cb90cb3ff1897310d85c58" "/opt/rustwide/cargo-home/bin/cargo" "+cced03bfd61a304243a34504618ecec86c17063f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr] warning: Cargo.toml: `package.edition` is unspecified, defaulting to `2015` while the latest is `2024`
[INFO] [stderr] warning: `tanton` (manifest) generated 1 warning
[INFO] [stderr]    Compiling libc v0.2.186
[INFO] [stderr]    Compiling crossbeam-utils v0.8.21
[INFO] [stderr]    Compiling zerocopy v0.8.52
[INFO] [stderr]    Compiling serde_core v1.0.228
[INFO] [stderr]     Checking cfg-if v1.0.4
[INFO] [stderr]    Compiling semver v1.0.28
[INFO] [stderr]     Checking either v1.16.0
[INFO] [stderr]     Checking memchr v2.8.2
[INFO] [stderr]     Checking rand_core v0.4.2
[INFO] [stderr]     Checking unicode-width v0.1.14
[INFO] [stderr]    Compiling rayon-core v1.13.0
[INFO] [stderr]    Compiling zmij v1.0.21
[INFO] [stderr]     Checking bitflags v1.3.2
[INFO] [stderr]     Checking itoa v1.0.18
[INFO] [stderr]    Compiling serde v1.0.228
[INFO] [stderr]    Compiling syn v2.0.118
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]    Compiling serde_json v1.0.150
[INFO] [stderr]     Checking byteorder v1.5.0
[INFO] [stderr]     Checking ryu v1.0.23
[INFO] [stderr]     Checking lazy_static v1.5.0
[INFO] [stderr]     Checking same-file v1.0.6
[INFO] [stderr]     Checking walkdir v2.5.0
[INFO] [stderr]     Checking itertools v0.8.2
[INFO] [stderr]     Checking mucow v0.1.0
[INFO] [stderr]     Checking csv-core v0.1.13
[INFO] [stderr]     Checking crossbeam-epoch v0.9.18
[INFO] [stderr]     Checking rand_core v0.3.1
[INFO] [stderr]     Checking textwrap v0.11.0
[INFO] [stderr]     Checking rand_xoshiro v0.1.0
[INFO] [stderr]    Compiling rustc_version v0.4.1
[INFO] [stderr]     Checking clap v2.34.0
[INFO] [stderr]     Checking crossbeam-deque v0.8.6
[INFO] [stderr]     Checking getrandom v0.2.17
[INFO] [stderr]     Checking num_cpus v1.17.0
[INFO] [stderr]     Checking rand_os v0.1.3
[INFO] [stderr]     Checking atty v0.2.14
[INFO] [stderr]    Compiling cast v0.2.7
[INFO] [stderr]     Checking rand_core v0.6.4
[INFO] [stderr]     Checking rayon v1.12.0
[INFO] [stderr]     Checking csv v1.4.0
[INFO] [stderr]    Compiling serde_derive v1.0.228
[INFO] [stderr]     Checking ppv-lite86 v0.2.21
[INFO] [stderr]     Checking rand_chacha v0.3.1
[INFO] [stderr]     Checking rand v0.8.6
[INFO] [stderr]     Checking criterion v0.2.11
[INFO] [stderr]     Checking tanton v1.0.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unexpected `cfg` condition value: `dev`
[INFO] [stdout]   --> src/lib.rs:65:13
[INFO] [stdout]    |
[INFO] [stdout] 65 | #![cfg_attr(feature = "dev", allow(unstable_features))]
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected values for `feature` are: `default` and `nightly`
[INFO] [stdout]    = help: consider adding `dev` as a feature in `Cargo.toml`
[INFO] [stdout]    = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout]    = note: `#[warn(unexpected_cfgs)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unexpected `cfg` condition value: `128`
[INFO] [stdout]   --> src/core/move_list.rs:66:7
[INFO] [stdout]    |
[INFO] [stdout] 66 | #[cfg(target_pointer_width = "128")]
[INFO] [stdout]    |       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout] help: `128` is an expected value for `target_has_atomic`
[INFO] [stdout]    |
[INFO] [stdout] 66 - #[cfg(target_pointer_width = "128")]
[INFO] [stdout] 66 + #[cfg(target_has_atomic = "128")]
[INFO] [stdout]    |
[INFO] [stdout] help: `128` is an expected value for `target_has_atomic_load_store`
[INFO] [stdout]    |
[INFO] [stdout] 66 - #[cfg(target_pointer_width = "128")]
[INFO] [stdout] 66 + #[cfg(target_has_atomic_load_store = "128")]
[INFO] [stdout]    |
[INFO] [stdout] help: `128` is an expected value for `target_has_atomic_primitive_alignment`
[INFO] [stdout]    |
[INFO] [stdout] 66 - #[cfg(target_pointer_width = "128")]
[INFO] [stdout] 66 + #[cfg(target_has_atomic_primitive_alignment = "128")]
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unexpected `cfg` condition value: `8`
[INFO] [stdout]   --> src/core/move_list.rs:72:40
[INFO] [stdout]    |
[INFO] [stdout] 72 | #[cfg(any(target_pointer_width = "16", target_pointer_width = "8",))]
[INFO] [stdout]    |                                        ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout] help: `8` is an expected value for `target_has_atomic`
[INFO] [stdout]    |
[INFO] [stdout] 72 - #[cfg(any(target_pointer_width = "16", target_pointer_width = "8",))]
[INFO] [stdout] 72 + #[cfg(any(target_pointer_width = "16", target_has_atomic = "8",))]
[INFO] [stdout]    |
[INFO] [stdout] help: `8` is an expected value for `target_has_atomic_load_store`
[INFO] [stdout]    |
[INFO] [stdout] 72 - #[cfg(any(target_pointer_width = "16", target_pointer_width = "8",))]
[INFO] [stdout] 72 + #[cfg(any(target_pointer_width = "16", target_has_atomic_load_store = "8",))]
[INFO] [stdout]    |
[INFO] [stdout] help: `8` is an expected value for `target_has_atomic_primitive_alignment`
[INFO] [stdout]    |
[INFO] [stdout] 72 - #[cfg(any(target_pointer_width = "16", target_pointer_width = "8",))]
[INFO] [stdout] 72 + #[cfg(any(target_pointer_width = "16", target_has_atomic_primitive_alignment = "8",))]
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around const expression
[INFO] [stdout]  --> src/helper/psqt.rs:5:24
[INFO] [stdout]   |
[INFO] [stdout] 5 | const BONUS: [[[Score; (FILE_CNT / 2)]; RANK_CNT]; PIECE_TYPE_CNT] = [
[INFO] [stdout]   |                        ^            ^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]   |
[INFO] [stdout] 5 - const BONUS: [[[Score; (FILE_CNT / 2)]; RANK_CNT]; PIECE_TYPE_CNT] = [
[INFO] [stdout] 5 + const BONUS: [[[Score; FILE_CNT / 2 ]; RANK_CNT]; PIECE_TYPE_CNT] = [
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> src/helper/boards.rs:46:15
[INFO] [stdout]    |
[INFO] [stdout] 46 |     unsafe { *KNIGHT_TABLE.get_unchecked(sq.0 as usize) }
[INFO] [stdout]    |               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]    = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> src/helper/boards.rs:53:15
[INFO] [stdout]    |
[INFO] [stdout] 53 |     unsafe { *KING_TABLE.get_unchecked(sq.0 as usize) }
[INFO] [stdout]    |               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> src/helper/boards.rs:69:15
[INFO] [stdout]    |
[INFO] [stdout] 69 |     unsafe { *(LINE_BITBOARD.get_unchecked(sq_one.0 as usize)).get_unchecked(sq_two.0 as usize) }
[INFO] [stdout]    |               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> src/helper/boards.rs:78:10
[INFO] [stdout]    |
[INFO] [stdout] 78 |         *(BETWEEN_SQUARES_BB.get_unchecked(sq_one.0 as usize)).get_unchecked(sq_two.0 as usize)
[INFO] [stdout]    |          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> src/helper/boards.rs:86:15
[INFO] [stdout]    |
[INFO] [stdout] 86 |     unsafe { *ADJACENT_FILES_BB.get_unchecked(sq.file() as usize) }
[INFO] [stdout]    |               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> src/helper/boards.rs:92:15
[INFO] [stdout]    |
[INFO] [stdout] 92 |     unsafe { *ADJACENT_FILES_BB.get_unchecked(f as usize) }
[INFO] [stdout]    |               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]    --> src/helper/boards.rs:100:10
[INFO] [stdout]     |
[INFO] [stdout] 100 |           *PAWN_ATTACKS_FROM
[INFO] [stdout]     |  __________^
[INFO] [stdout] 101 | |             .get_unchecked(player as usize)
[INFO] [stdout]     | |___________________________________________^ shared reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]    --> src/helper/boards.rs:121:10
[INFO] [stdout]     |
[INFO] [stdout] 121 |           *DISTANCE_RING_TABLE
[INFO] [stdout]     |  __________^
[INFO] [stdout] 122 | |             .get_unchecked(distance as usize)
[INFO] [stdout]     | |_____________________________________________^ shared reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]    --> src/helper/boards.rs:131:10
[INFO] [stdout]     |
[INFO] [stdout] 131 |           *FORWARD_RANKS_BB
[INFO] [stdout]     |  __________^
[INFO] [stdout] 132 | |             .get_unchecked(rank as usize)
[INFO] [stdout]     | |_________________________________________^ shared reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]    --> src/helper/boards.rs:150:10
[INFO] [stdout]     |
[INFO] [stdout] 150 |           *PAWN_ATTACKS_SPAN
[INFO] [stdout]     |  __________^
[INFO] [stdout] 151 | |             .get_unchecked(player as usize)
[INFO] [stdout]     | |___________________________________________^ shared reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]    --> src/helper/boards.rs:165:10
[INFO] [stdout]     |
[INFO] [stdout] 165 |           *FORWARD_FILE_BB
[INFO] [stdout]     |  __________^
[INFO] [stdout] 166 | |             .get_unchecked(player as usize)
[INFO] [stdout]     | |___________________________________________^ shared reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]    --> src/helper/boards.rs:180:10
[INFO] [stdout]     |
[INFO] [stdout] 180 |           *PASSED_PAWN_MASK
[INFO] [stdout]     |  __________^
[INFO] [stdout] 181 | |             .get_unchecked(player as usize)
[INFO] [stdout]     | |___________________________________________^ shared reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]    --> src/helper/boards.rs:191:30
[INFO] [stdout]     |
[INFO] [stdout] 191 |         for (index, spot) in KNIGHT_TABLE.iter_mut().enumerate() {
[INFO] [stdout]     |                              ^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]   --> src/helper/magic.rs:35:13
[INFO] [stdout]    |
[INFO] [stdout] 35 |             BISHOP_MAGICS.as_mut_ptr(),
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]   --> src/helper/magic.rs:36:13
[INFO] [stdout]    |
[INFO] [stdout] 36 |             BISHOP_TABLE.as_mut_ptr(),
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]   --> src/helper/magic.rs:41:13
[INFO] [stdout]    |
[INFO] [stdout] 41 |             ROOK_MAGICS.as_mut_ptr(),
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]   --> src/helper/magic.rs:42:13
[INFO] [stdout]    |
[INFO] [stdout] 42 |             ROOK_TABLE.as_mut_ptr(),
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> src/helper/magic.rs:49:41
[INFO] [stdout]    |
[INFO] [stdout] 49 |     let magic_entry: &SMagic = unsafe { BISHOP_MAGICS.get_unchecked(square as usize) };
[INFO] [stdout]    |                                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> src/helper/magic.rs:58:41
[INFO] [stdout]    |
[INFO] [stdout] 58 |     let magic_entry: &SMagic = unsafe { ROOK_MAGICS.get_unchecked(square as usize) };
[INFO] [stdout]    |                                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the type `[PreSMagic; 64]` does not permit being left uninitialized
[INFO] [stdout]    --> src/helper/magic.rs:109:36
[INFO] [stdout]     |
[INFO] [stdout] 109 |         let arr: [PreSMagic; 64] = mem::MaybeUninit::uninit().assume_init();
[INFO] [stdout]     |                                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |                                    |
[INFO] [stdout]     |                                    this code causes undefined behavior when executed
[INFO] [stdout]     |                                    help: use `MaybeUninit<T>` instead, and only call `assume_init` after initialization is done
[INFO] [stdout]     |
[INFO] [stdout] note: integers must be initialized (in this struct field)
[INFO] [stdout]    --> src/helper/magic.rs:89:5
[INFO] [stdout]     |
[INFO] [stdout]  89 |     start: usize,
[INFO] [stdout]     |     ^^^^^^^^^^^^
[INFO] [stdout]     = note: `#[warn(invalid_value)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]    --> src/helper/psqt.rs:217:15
[INFO] [stdout]     |
[INFO] [stdout] 217 |     unsafe { *(PSQ.get_unchecked(piece as usize)).get_unchecked(sq.0 as usize) }
[INFO] [stdout]     |               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> src/helper/zobrist.rs:62:17
[INFO] [stdout]    |
[INFO] [stdout] 62 |     unsafe { *(*ZOBRIST_PIECE_SQUARE.get_unchecked(sq.0 as usize)).get_unchecked(piece as usize) }
[INFO] [stdout]    |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> src/helper/zobrist.rs:68:15
[INFO] [stdout]    |
[INFO] [stdout] 68 |     unsafe { *ZOBRIST_ENPASSANT.get_unchecked(sq.file() as usize) }
[INFO] [stdout]    |               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> src/helper/zobrist.rs:74:15
[INFO] [stdout]    |
[INFO] [stdout] 74 |     unsafe { *ZOBRIST_CASTLE.get_unchecked(castle as usize) }
[INFO] [stdout]    |               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary transmute
[INFO] [stdout]   --> src/tools/prng.rs:38:37
[INFO] [stdout]    |
[INFO] [stdout] 38 |         let arr: [u8; 8] = unsafe { transmute(self.rand() ^ self.rand()) };
[INFO] [stdout]    |                                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: there's also `to_le_bytes` and `to_be_bytes` if you expect a particular byte order
[INFO] [stdout]    = note: `#[warn(unnecessary_transmutes)]` on by default
[INFO] [stdout] help: replace this with
[INFO] [stdout]    |
[INFO] [stdout] 38 -         let arr: [u8; 8] = unsafe { transmute(self.rand() ^ self.rand()) };
[INFO] [stdout] 38 +         let arr: [u8; 8] = unsafe { u64::to_ne_bytes(self.rand() ^ self.rand()) };
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unexpected `cfg` condition value: `dev`
[INFO] [stdout]   --> src/lib.rs:65:13
[INFO] [stdout]    |
[INFO] [stdout] 65 | #![cfg_attr(feature = "dev", allow(unstable_features))]
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected values for `feature` are: `default` and `nightly`
[INFO] [stdout]    = help: consider adding `dev` as a feature in `Cargo.toml`
[INFO] [stdout]    = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout]    = note: `#[warn(unexpected_cfgs)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unexpected `cfg` condition value: `128`
[INFO] [stdout]   --> src/core/move_list.rs:66:7
[INFO] [stdout]    |
[INFO] [stdout] 66 | #[cfg(target_pointer_width = "128")]
[INFO] [stdout]    |       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout] help: `128` is an expected value for `target_has_atomic`
[INFO] [stdout]    |
[INFO] [stdout] 66 - #[cfg(target_pointer_width = "128")]
[INFO] [stdout] 66 + #[cfg(target_has_atomic = "128")]
[INFO] [stdout]    |
[INFO] [stdout] help: `128` is an expected value for `target_has_atomic_load_store`
[INFO] [stdout]    |
[INFO] [stdout] 66 - #[cfg(target_pointer_width = "128")]
[INFO] [stdout] 66 + #[cfg(target_has_atomic_load_store = "128")]
[INFO] [stdout]    |
[INFO] [stdout] help: `128` is an expected value for `target_has_atomic_primitive_alignment`
[INFO] [stdout]    |
[INFO] [stdout] 66 - #[cfg(target_pointer_width = "128")]
[INFO] [stdout] 66 + #[cfg(target_has_atomic_primitive_alignment = "128")]
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unexpected `cfg` condition value: `8`
[INFO] [stdout]   --> src/core/move_list.rs:72:40
[INFO] [stdout]    |
[INFO] [stdout] 72 | #[cfg(any(target_pointer_width = "16", target_pointer_width = "8",))]
[INFO] [stdout]    |                                        ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout] help: `8` is an expected value for `target_has_atomic`
[INFO] [stdout]    |
[INFO] [stdout] 72 - #[cfg(any(target_pointer_width = "16", target_pointer_width = "8",))]
[INFO] [stdout] 72 + #[cfg(any(target_pointer_width = "16", target_has_atomic = "8",))]
[INFO] [stdout]    |
[INFO] [stdout] help: `8` is an expected value for `target_has_atomic_load_store`
[INFO] [stdout]    |
[INFO] [stdout] 72 - #[cfg(any(target_pointer_width = "16", target_pointer_width = "8",))]
[INFO] [stdout] 72 + #[cfg(any(target_pointer_width = "16", target_has_atomic_load_store = "8",))]
[INFO] [stdout]    |
[INFO] [stdout] help: `8` is an expected value for `target_has_atomic_primitive_alignment`
[INFO] [stdout]    |
[INFO] [stdout] 72 - #[cfg(any(target_pointer_width = "16", target_pointer_width = "8",))]
[INFO] [stdout] 72 + #[cfg(any(target_pointer_width = "16", target_has_atomic_primitive_alignment = "8",))]
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around const expression
[INFO] [stdout]  --> src/helper/psqt.rs:5:24
[INFO] [stdout]   |
[INFO] [stdout] 5 | const BONUS: [[[Score; (FILE_CNT / 2)]; RANK_CNT]; PIECE_TYPE_CNT] = [
[INFO] [stdout]   |                        ^            ^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]   |
[INFO] [stdout] 5 - const BONUS: [[[Score; (FILE_CNT / 2)]; RANK_CNT]; PIECE_TYPE_CNT] = [
[INFO] [stdout] 5 + const BONUS: [[[Score; FILE_CNT / 2 ]; RANK_CNT]; PIECE_TYPE_CNT] = [
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> src/helper/boards.rs:46:15
[INFO] [stdout]    |
[INFO] [stdout] 46 |     unsafe { *KNIGHT_TABLE.get_unchecked(sq.0 as usize) }
[INFO] [stdout]    |               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]    = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> src/helper/boards.rs:53:15
[INFO] [stdout]    |
[INFO] [stdout] 53 |     unsafe { *KING_TABLE.get_unchecked(sq.0 as usize) }
[INFO] [stdout]    |               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> src/helper/boards.rs:69:15
[INFO] [stdout]    |
[INFO] [stdout] 69 |     unsafe { *(LINE_BITBOARD.get_unchecked(sq_one.0 as usize)).get_unchecked(sq_two.0 as usize) }
[INFO] [stdout]    |               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> src/helper/boards.rs:78:10
[INFO] [stdout]    |
[INFO] [stdout] 78 |         *(BETWEEN_SQUARES_BB.get_unchecked(sq_one.0 as usize)).get_unchecked(sq_two.0 as usize)
[INFO] [stdout]    |          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> src/helper/boards.rs:86:15
[INFO] [stdout]    |
[INFO] [stdout] 86 |     unsafe { *ADJACENT_FILES_BB.get_unchecked(sq.file() as usize) }
[INFO] [stdout]    |               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> src/helper/boards.rs:92:15
[INFO] [stdout]    |
[INFO] [stdout] 92 |     unsafe { *ADJACENT_FILES_BB.get_unchecked(f as usize) }
[INFO] [stdout]    |               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]    --> src/helper/boards.rs:100:10
[INFO] [stdout]     |
[INFO] [stdout] 100 |           *PAWN_ATTACKS_FROM
[INFO] [stdout]     |  __________^
[INFO] [stdout] 101 | |             .get_unchecked(player as usize)
[INFO] [stdout]     | |___________________________________________^ shared reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]    --> src/helper/boards.rs:121:10
[INFO] [stdout]     |
[INFO] [stdout] 121 |           *DISTANCE_RING_TABLE
[INFO] [stdout]     |  __________^
[INFO] [stdout] 122 | |             .get_unchecked(distance as usize)
[INFO] [stdout]     | |_____________________________________________^ shared reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]    --> src/helper/boards.rs:131:10
[INFO] [stdout]     |
[INFO] [stdout] 131 |           *FORWARD_RANKS_BB
[INFO] [stdout]     |  __________^
[INFO] [stdout] 132 | |             .get_unchecked(rank as usize)
[INFO] [stdout]     | |_________________________________________^ shared reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]    --> src/helper/boards.rs:150:10
[INFO] [stdout]     |
[INFO] [stdout] 150 |           *PAWN_ATTACKS_SPAN
[INFO] [stdout]     |  __________^
[INFO] [stdout] 151 | |             .get_unchecked(player as usize)
[INFO] [stdout]     | |___________________________________________^ shared reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]    --> src/helper/boards.rs:165:10
[INFO] [stdout]     |
[INFO] [stdout] 165 |           *FORWARD_FILE_BB
[INFO] [stdout]     |  __________^
[INFO] [stdout] 166 | |             .get_unchecked(player as usize)
[INFO] [stdout]     | |___________________________________________^ shared reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]    --> src/helper/boards.rs:180:10
[INFO] [stdout]     |
[INFO] [stdout] 180 |           *PASSED_PAWN_MASK
[INFO] [stdout]     |  __________^
[INFO] [stdout] 181 | |             .get_unchecked(player as usize)
[INFO] [stdout]     | |___________________________________________^ shared reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]    --> src/helper/boards.rs:191:30
[INFO] [stdout]     |
[INFO] [stdout] 191 |         for (index, spot) in KNIGHT_TABLE.iter_mut().enumerate() {
[INFO] [stdout]     |                              ^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]   --> src/helper/magic.rs:35:13
[INFO] [stdout]    |
[INFO] [stdout] 35 |             BISHOP_MAGICS.as_mut_ptr(),
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]   --> src/helper/magic.rs:36:13
[INFO] [stdout]    |
[INFO] [stdout] 36 |             BISHOP_TABLE.as_mut_ptr(),
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]   --> src/helper/magic.rs:41:13
[INFO] [stdout]    |
[INFO] [stdout] 41 |             ROOK_MAGICS.as_mut_ptr(),
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]   --> src/helper/magic.rs:42:13
[INFO] [stdout]    |
[INFO] [stdout] 42 |             ROOK_TABLE.as_mut_ptr(),
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> src/helper/magic.rs:49:41
[INFO] [stdout]    |
[INFO] [stdout] 49 |     let magic_entry: &SMagic = unsafe { BISHOP_MAGICS.get_unchecked(square as usize) };
[INFO] [stdout]    |                                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> src/helper/magic.rs:58:41
[INFO] [stdout]    |
[INFO] [stdout] 58 |     let magic_entry: &SMagic = unsafe { ROOK_MAGICS.get_unchecked(square as usize) };
[INFO] [stdout]    |                                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the type `[PreSMagic; 64]` does not permit being left uninitialized
[INFO] [stdout]    --> src/helper/magic.rs:109:36
[INFO] [stdout]     |
[INFO] [stdout] 109 |         let arr: [PreSMagic; 64] = mem::MaybeUninit::uninit().assume_init();
[INFO] [stdout]     |                                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |                                    |
[INFO] [stdout]     |                                    this code causes undefined behavior when executed
[INFO] [stdout]     |                                    help: use `MaybeUninit<T>` instead, and only call `assume_init` after initialization is done
[INFO] [stdout]     |
[INFO] [stdout] note: integers must be initialized (in this struct field)
[INFO] [stdout]    --> src/helper/magic.rs:89:5
[INFO] [stdout]     |
[INFO] [stdout]  89 |     start: usize,
[INFO] [stdout]     |     ^^^^^^^^^^^^
[INFO] [stdout]     = note: `#[warn(invalid_value)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]    --> src/helper/psqt.rs:217:15
[INFO] [stdout]     |
[INFO] [stdout] 217 |     unsafe { *(PSQ.get_unchecked(piece as usize)).get_unchecked(sq.0 as usize) }
[INFO] [stdout]     |               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> src/helper/zobrist.rs:62:17
[INFO] [stdout]    |
[INFO] [stdout] 62 |     unsafe { *(*ZOBRIST_PIECE_SQUARE.get_unchecked(sq.0 as usize)).get_unchecked(piece as usize) }
[INFO] [stdout]    |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> src/helper/zobrist.rs:68:15
[INFO] [stdout]    |
[INFO] [stdout] 68 |     unsafe { *ZOBRIST_ENPASSANT.get_unchecked(sq.file() as usize) }
[INFO] [stdout]    |               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> src/helper/zobrist.rs:74:15
[INFO] [stdout]    |
[INFO] [stdout] 74 |     unsafe { *ZOBRIST_CASTLE.get_unchecked(castle as usize) }
[INFO] [stdout]    |               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary transmute
[INFO] [stdout]   --> src/tools/prng.rs:38:37
[INFO] [stdout]    |
[INFO] [stdout] 38 |         let arr: [u8; 8] = unsafe { transmute(self.rand() ^ self.rand()) };
[INFO] [stdout]    |                                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: there's also `to_le_bytes` and `to_be_bytes` if you expect a particular byte order
[INFO] [stdout]    = note: `#[warn(unnecessary_transmutes)]` on by default
[INFO] [stdout] help: replace this with
[INFO] [stdout]    |
[INFO] [stdout] 38 -         let arr: [u8; 8] = unsafe { transmute(self.rand() ^ self.rand()) };
[INFO] [stdout] 38 +         let arr: [u8; 8] = unsafe { u64::to_ne_bytes(self.rand() ^ self.rand()) };
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [optimized + debuginfo] target(s) in 12.50s
[INFO] running `Command { std: "docker" "inspect" "5e92a6715edfc16ef41286c635e70da6d2691de324cb90cb3ff1897310d85c58", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "5e92a6715edfc16ef41286c635e70da6d2691de324cb90cb3ff1897310d85c58", kill_on_drop: false }`
[INFO] [stdout] 5e92a6715edfc16ef41286c635e70da6d2691de324cb90cb3ff1897310d85c58
