[INFO] fetching crate tanton 1.0.0...
[INFO] testing tanton-1.0.0 against master#0d162b25edd5bf0dba9a22e83b614f1113e90474 for pr-150681
[INFO] extracting crate tanton 1.0.0 into /workspace/builds/worker-1-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-1-tc1/source/Cargo.toml
[INFO] validating manifest of crates.io crate tanton 1.0.0 on toolchain 0d162b25edd5bf0dba9a22e83b614f1113e90474
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+0d162b25edd5bf0dba9a22e83b614f1113e90474" "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" "+0d162b25edd5bf0dba9a22e83b614f1113e90474" "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.10.0)
[INFO] [stderr]       Adding criterion v0.2.11 (available: v0.8.1)
[INFO] [stderr]       Adding rand v0.8.5 (available: v0.9.2)
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+0d162b25edd5bf0dba9a22e83b614f1113e90474" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024
[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-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+0d162b25edd5bf0dba9a22e83b614f1113e90474" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] f2deebbdd7cf78287d4950ee9e28fbb6ee5c2b5a6ebd44820cefc5ee7ccda95e
[INFO] running `Command { std: "docker" "start" "-a" "f2deebbdd7cf78287d4950ee9e28fbb6ee5c2b5a6ebd44820cefc5ee7ccda95e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "f2deebbdd7cf78287d4950ee9e28fbb6ee5c2b5a6ebd44820cefc5ee7ccda95e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "f2deebbdd7cf78287d4950ee9e28fbb6ee5c2b5a6ebd44820cefc5ee7ccda95e", kill_on_drop: false }`
[INFO] [stdout] f2deebbdd7cf78287d4950ee9e28fbb6ee5c2b5a6ebd44820cefc5ee7ccda95e
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+0d162b25edd5bf0dba9a22e83b614f1113e90474" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 3e1154bb759417f536eb5d41f006cf11368966a5d99a9f673288798bdfa11ef1
[INFO] running `Command { std: "docker" "start" "-a" "3e1154bb759417f536eb5d41f006cf11368966a5d99a9f673288798bdfa11ef1", kill_on_drop: false }`
[INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024
[INFO] [stderr]    Compiling libc v0.2.179
[INFO] [stderr]    Compiling crossbeam-utils v0.8.21
[INFO] [stderr]    Compiling cfg-if v1.0.4
[INFO] [stderr]    Compiling either v1.15.0
[INFO] [stderr]    Compiling lazy_static v1.5.0
[INFO] [stderr]    Compiling mucow v0.1.0
[INFO] [stderr]    Compiling bitflags v1.3.2
[INFO] [stderr]    Compiling zerocopy v0.8.33
[INFO] [stderr]    Compiling rayon-core v1.13.0
[INFO] [stderr]    Compiling crossbeam-epoch v0.9.18
[INFO] [stderr]    Compiling getrandom v0.2.16
[INFO] [stderr]    Compiling num_cpus v1.17.0
[INFO] [stderr]    Compiling rand_core v0.6.4
[INFO] [stderr]    Compiling crossbeam-deque v0.8.6
[INFO] [stderr]    Compiling rayon v1.11.0
[INFO] [stderr]    Compiling ppv-lite86 v0.2.21
[INFO] [stderr]    Compiling rand_chacha v0.3.1
[INFO] [stderr]    Compiling rand v0.8.5
[INFO] [stderr]    Compiling 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: expected values for `target_pointer_width` are: `16`, `32`, and `64`
[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] 
[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: expected values for `target_pointer_width` are: `16`, `32`, and `64`
[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] 
[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: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[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: `#[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: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[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] 
[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: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[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] 
[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: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[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] 
[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: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[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] 
[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: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[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] 
[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: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[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] 
[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: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[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] 
[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: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[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] 
[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: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[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] 
[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: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[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] 
[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: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[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] 
[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: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[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] 
[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: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[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] 
[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: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[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] 
[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: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[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] 
[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: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[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] 
[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: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[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] 
[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: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[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] 
[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: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[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] 
[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: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[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] 
[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: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[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] 
[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: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[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] 
[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: replace this with: `u64::to_ne_bytes`
[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] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [optimized + debuginfo] target(s) in 14.36s
[INFO] running `Command { std: "docker" "inspect" "3e1154bb759417f536eb5d41f006cf11368966a5d99a9f673288798bdfa11ef1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "3e1154bb759417f536eb5d41f006cf11368966a5d99a9f673288798bdfa11ef1", kill_on_drop: false }`
[INFO] [stdout] 3e1154bb759417f536eb5d41f006cf11368966a5d99a9f673288798bdfa11ef1
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+0d162b25edd5bf0dba9a22e83b614f1113e90474" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 43c66a90ed631f73529a1b4760790a39990e992699bac929b23ab16a3e189223
[INFO] running `Command { std: "docker" "start" "-a" "43c66a90ed631f73529a1b4760790a39990e992699bac929b23ab16a3e189223", kill_on_drop: false }`
[INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024
[INFO] [stderr]    Compiling serde_core v1.0.228
[INFO] [stderr]    Compiling cfg-if v1.0.4
[INFO] [stderr]    Compiling either v1.15.0
[INFO] [stderr]    Compiling memchr v2.7.6
[INFO] [stderr]    Compiling rand_core v0.4.2
[INFO] [stderr]    Compiling libc v0.2.179
[INFO] [stderr]    Compiling zmij v1.0.12
[INFO] [stderr]    Compiling bitflags v1.3.2
[INFO] [stderr]    Compiling crossbeam-utils v0.8.21
[INFO] [stderr]    Compiling zerocopy v0.8.33
[INFO] [stderr]    Compiling cast v0.2.7
[INFO] [stderr]    Compiling itoa v1.0.17
[INFO] [stderr]    Compiling unicode-width v0.1.14
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]    Compiling serde_json v1.0.149
[INFO] [stderr]    Compiling syn v2.0.114
[INFO] [stderr]    Compiling serde v1.0.228
[INFO] [stderr]    Compiling same-file v1.0.6
[INFO] [stderr]    Compiling lazy_static v1.5.0
[INFO] [stderr]    Compiling ryu v1.0.22
[INFO] [stderr]    Compiling byteorder v1.5.0
[INFO] [stderr]    Compiling rand_core v0.3.1
[INFO] [stderr]    Compiling textwrap v0.11.0
[INFO] [stderr]    Compiling rand_xoshiro v0.1.0
[INFO] [stderr]    Compiling itertools v0.8.2
[INFO] [stderr]    Compiling walkdir v2.5.0
[INFO] [stderr]    Compiling mucow v0.1.0
[INFO] [stderr]    Compiling clap v2.34.0
[INFO] [stderr]    Compiling crossbeam-epoch v0.9.18
[INFO] [stderr]    Compiling getrandom v0.2.16
[INFO] [stderr]    Compiling num_cpus v1.17.0
[INFO] [stderr]    Compiling csv-core v0.1.13
[INFO] [stderr]    Compiling rand_os v0.1.3
[INFO] [stderr]    Compiling rand_core v0.6.4
[INFO] [stderr]    Compiling atty v0.2.14
[INFO] [stderr]    Compiling crossbeam-deque v0.8.6
[INFO] [stderr]    Compiling rayon-core v1.13.0
[INFO] [stderr]    Compiling rayon v1.11.0
[INFO] [stderr]    Compiling ppv-lite86 v0.2.21
[INFO] [stderr]    Compiling rand_chacha v0.3.1
[INFO] [stderr]    Compiling csv v1.4.0
[INFO] [stderr]    Compiling rand v0.8.5
[INFO] [stderr]    Compiling serde_derive v1.0.228
[INFO] [stderr]    Compiling 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: expected values for `target_pointer_width` are: `16`, `32`, and `64`
[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] 
[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: expected values for `target_pointer_width` are: `16`, `32`, and `64`
[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] 
[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: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[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: `#[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: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[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] 
[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: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[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] 
[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: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[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] 
[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: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[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] 
[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: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[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] 
[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: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[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] 
[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: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[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] 
[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: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[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] 
[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: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[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] 
[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: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[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] 
[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: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[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] 
[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: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[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] 
[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: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[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] 
[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: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[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] 
[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: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[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] 
[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: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[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] 
[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: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[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] 
[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: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[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] 
[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: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[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] 
[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: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[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] 
[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: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[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] 
[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: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[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] 
[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: replace this with: `u64::to_ne_bytes`
[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] 
[INFO] [stdout] 
[INFO] [stderr]    Compiling criterion v0.2.11
[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: expected values for `target_pointer_width` are: `16`, `32`, and `64`
[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] 
[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: expected values for `target_pointer_width` are: `16`, `32`, and `64`
[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] 
[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: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[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: `#[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: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[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] 
[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: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[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] 
[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: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[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] 
[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: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[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] 
[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: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[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] 
[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: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[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] 
[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: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[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] 
[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: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[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] 
[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: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[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] 
[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: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[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] 
[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: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[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] 
[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: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[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] 
[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: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[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] 
[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: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[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] 
[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: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[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] 
[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: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[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] 
[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: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[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] 
[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: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[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] 
[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: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[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] 
[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: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[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] 
[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: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[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] 
[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: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[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] 
[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: replace this with: `u64::to_ne_bytes`
[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] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `test` profile [optimized + debuginfo] target(s) in 43.23s
[INFO] running `Command { std: "docker" "inspect" "43c66a90ed631f73529a1b4760790a39990e992699bac929b23ab16a3e189223", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "43c66a90ed631f73529a1b4760790a39990e992699bac929b23ab16a3e189223", kill_on_drop: false }`
[INFO] [stdout] 43c66a90ed631f73529a1b4760790a39990e992699bac929b23ab16a3e189223
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+0d162b25edd5bf0dba9a22e83b614f1113e90474" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 078256a6fc4acf3539be8f2add0cbd89fba58a00e9decb20d02f52ee5e756471
[INFO] running `Command { std: "docker" "start" "-a" "078256a6fc4acf3539be8f2add0cbd89fba58a00e9decb20d02f52ee5e756471", kill_on_drop: false }`
[INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024
[INFO] [stderr] warning: unexpected `cfg` condition value: `dev`
[INFO] [stderr]   --> src/lib.rs:65:13
[INFO] [stderr]    |
[INFO] [stderr] 65 | #![cfg_attr(feature = "dev", allow(unstable_features))]
[INFO] [stderr]    |             ^^^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: expected values for `feature` are: `default` and `nightly`
[INFO] [stderr]    = help: consider adding `dev` as a feature in `Cargo.toml`
[INFO] [stderr]    = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stderr]    = note: `#[warn(unexpected_cfgs)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unexpected `cfg` condition value: `128`
[INFO] [stderr]   --> src/core/move_list.rs:66:7
[INFO] [stderr]    |
[INFO] [stderr] 66 | #[cfg(target_pointer_width = "128")]
[INFO] [stderr]    |       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: expected values for `target_pointer_width` are: `16`, `32`, and `64`
[INFO] [stderr]    = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stderr] 
[INFO] [stderr] warning: unexpected `cfg` condition value: `8`
[INFO] [stderr]   --> src/core/move_list.rs:72:40
[INFO] [stderr]    |
[INFO] [stderr] 72 | #[cfg(any(target_pointer_width = "16", target_pointer_width = "8",))]
[INFO] [stderr]    |                                        ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: expected values for `target_pointer_width` are: `16`, `32`, and `64`
[INFO] [stderr]    = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stderr] 
[INFO] [stderr] warning: unnecessary parentheses around const expression
[INFO] [stderr]  --> src/helper/psqt.rs:5:24
[INFO] [stderr]   |
[INFO] [stderr] 5 | const BONUS: [[[Score; (FILE_CNT / 2)]; RANK_CNT]; PIECE_TYPE_CNT] = [
[INFO] [stderr]   |                        ^            ^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] help: remove these parentheses
[INFO] [stderr]   |
[INFO] [stderr] 5 - const BONUS: [[[Score; (FILE_CNT / 2)]; RANK_CNT]; PIECE_TYPE_CNT] = [
[INFO] [stderr] 5 + const BONUS: [[[Score; FILE_CNT / 2 ]; RANK_CNT]; PIECE_TYPE_CNT] = [
[INFO] [stderr]   |
[INFO] [stderr] 
[INFO] [stderr] warning: creating a shared reference to mutable static
[INFO] [stderr]   --> src/helper/boards.rs:46:15
[INFO] [stderr]    |
[INFO] [stderr] 46 |     unsafe { *KNIGHT_TABLE.get_unchecked(sq.0 as usize) }
[INFO] [stderr]    |               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stderr]    |
[INFO] [stderr]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stderr]    = 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] [stderr]    = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: creating a shared reference to mutable static
[INFO] [stderr]   --> src/helper/boards.rs:53:15
[INFO] [stderr]    |
[INFO] [stderr] 53 |     unsafe { *KING_TABLE.get_unchecked(sq.0 as usize) }
[INFO] [stderr]    |               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stderr]    |
[INFO] [stderr]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stderr]    = 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] [stderr] 
[INFO] [stderr] warning: creating a shared reference to mutable static
[INFO] [stderr]   --> src/helper/boards.rs:69:15
[INFO] [stderr]    |
[INFO] [stderr] 69 |     unsafe { *(LINE_BITBOARD.get_unchecked(sq_one.0 as usize)).get_unchecked(sq_two.0 as usize) }
[INFO] [stderr]    |               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stderr]    |
[INFO] [stderr]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stderr]    = 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] [stderr] 
[INFO] [stderr] warning: creating a shared reference to mutable static
[INFO] [stderr]   --> src/helper/boards.rs:78:10
[INFO] [stderr]    |
[INFO] [stderr] 78 |         *(BETWEEN_SQUARES_BB.get_unchecked(sq_one.0 as usize)).get_unchecked(sq_two.0 as usize)
[INFO] [stderr]    |          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stderr]    |
[INFO] [stderr]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stderr]    = 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] [stderr] 
[INFO] [stderr] warning: creating a shared reference to mutable static
[INFO] [stderr]   --> src/helper/boards.rs:86:15
[INFO] [stderr]    |
[INFO] [stderr] 86 |     unsafe { *ADJACENT_FILES_BB.get_unchecked(sq.file() as usize) }
[INFO] [stderr]    |               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stderr]    |
[INFO] [stderr]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stderr]    = 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] [stderr] 
[INFO] [stderr] warning: creating a shared reference to mutable static
[INFO] [stderr]   --> src/helper/boards.rs:92:15
[INFO] [stderr]    |
[INFO] [stderr] 92 |     unsafe { *ADJACENT_FILES_BB.get_unchecked(f as usize) }
[INFO] [stderr]    |               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stderr]    |
[INFO] [stderr]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stderr]    = 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] [stderr] 
[INFO] [stderr] warning: creating a shared reference to mutable static
[INFO] [stderr]    --> src/helper/boards.rs:100:10
[INFO] [stderr]     |
[INFO] [stderr] 100 |           *PAWN_ATTACKS_FROM
[INFO] [stderr]     |  __________^
[INFO] [stderr] 101 | |             .get_unchecked(player as usize)
[INFO] [stderr]     | |___________________________________________^ shared reference to mutable static
[INFO] [stderr]     |
[INFO] [stderr]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stderr]     = 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] [stderr] 
[INFO] [stderr] warning: creating a shared reference to mutable static
[INFO] [stderr]    --> src/helper/boards.rs:121:10
[INFO] [stderr]     |
[INFO] [stderr] 121 |           *DISTANCE_RING_TABLE
[INFO] [stderr]     |  __________^
[INFO] [stderr] 122 | |             .get_unchecked(distance as usize)
[INFO] [stderr]     | |_____________________________________________^ shared reference to mutable static
[INFO] [stderr]     |
[INFO] [stderr]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stderr]     = 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] [stderr] 
[INFO] [stderr] warning: creating a shared reference to mutable static
[INFO] [stderr]    --> src/helper/boards.rs:131:10
[INFO] [stderr]     |
[INFO] [stderr] 131 |           *FORWARD_RANKS_BB
[INFO] [stderr]     |  __________^
[INFO] [stderr] 132 | |             .get_unchecked(rank as usize)
[INFO] [stderr]     | |_________________________________________^ shared reference to mutable static
[INFO] [stderr]     |
[INFO] [stderr]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stderr]     = 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] [stderr] 
[INFO] [stderr] warning: creating a shared reference to mutable static
[INFO] [stderr]    --> src/helper/boards.rs:150:10
[INFO] [stderr]     |
[INFO] [stderr] 150 |           *PAWN_ATTACKS_SPAN
[INFO] [stderr]     |  __________^
[INFO] [stderr] 151 | |             .get_unchecked(player as usize)
[INFO] [stderr]     | |___________________________________________^ shared reference to mutable static
[INFO] [stderr]     |
[INFO] [stderr]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stderr]     = 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] [stderr] 
[INFO] [stderr] warning: creating a shared reference to mutable static
[INFO] [stderr]    --> src/helper/boards.rs:165:10
[INFO] [stderr]     |
[INFO] [stderr] 165 |           *FORWARD_FILE_BB
[INFO] [stderr]     |  __________^
[INFO] [stderr] 166 | |             .get_unchecked(player as usize)
[INFO] [stderr]     | |___________________________________________^ shared reference to mutable static
[INFO] [stderr]     |
[INFO] [stderr]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stderr]     = 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] [stderr] 
[INFO] [stderr] warning: creating a shared reference to mutable static
[INFO] [stderr]    --> src/helper/boards.rs:180:10
[INFO] [stderr]     |
[INFO] [stderr] 180 |           *PASSED_PAWN_MASK
[INFO] [stderr]     |  __________^
[INFO] [stderr] 181 | |             .get_unchecked(player as usize)
[INFO] [stderr]     | |___________________________________________^ shared reference to mutable static
[INFO] [stderr]     |
[INFO] [stderr]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stderr]     = 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] [stderr] 
[INFO] [stderr] warning: creating a mutable reference to mutable static
[INFO] [stderr]    --> src/helper/boards.rs:191:30
[INFO] [stderr]     |
[INFO] [stderr] 191 |         for (index, spot) in KNIGHT_TABLE.iter_mut().enumerate() {
[INFO] [stderr]     |                              ^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stderr]     |
[INFO] [stderr]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stderr]     = 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] [stderr] 
[INFO] [stderr] warning: creating a mutable reference to mutable static
[INFO] [stderr]   --> src/helper/magic.rs:35:13
[INFO] [stderr]    |
[INFO] [stderr] 35 |             BISHOP_MAGICS.as_mut_ptr(),
[INFO] [stderr]    |             ^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stderr]    |
[INFO] [stderr]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stderr]    = 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] [stderr] 
[INFO] [stderr] warning: creating a mutable reference to mutable static
[INFO] [stderr]   --> src/helper/magic.rs:36:13
[INFO] [stderr]    |
[INFO] [stderr] 36 |             BISHOP_TABLE.as_mut_ptr(),
[INFO] [stderr]    |             ^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stderr]    |
[INFO] [stderr]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stderr]    = 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] [stderr] 
[INFO] [stderr] warning: creating a mutable reference to mutable static
[INFO] [stderr]   --> src/helper/magic.rs:41:13
[INFO] [stderr]    |
[INFO] [stderr] 41 |             ROOK_MAGICS.as_mut_ptr(),
[INFO] [stderr]    |             ^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stderr]    |
[INFO] [stderr]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stderr]    = 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] [stderr] 
[INFO] [stderr] warning: creating a mutable reference to mutable static
[INFO] [stderr]   --> src/helper/magic.rs:42:13
[INFO] [stderr]    |
[INFO] [stderr] 42 |             ROOK_TABLE.as_mut_ptr(),
[INFO] [stderr]    |             ^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stderr]    |
[INFO] [stderr]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stderr]    = 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] [stderr] 
[INFO] [stderr] warning: creating a shared reference to mutable static
[INFO] [stderr]   --> src/helper/magic.rs:49:41
[INFO] [stderr]    |
[INFO] [stderr] 49 |     let magic_entry: &SMagic = unsafe { BISHOP_MAGICS.get_unchecked(square as usize) };
[INFO] [stderr]    |                                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stderr]    |
[INFO] [stderr]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stderr]    = 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] [stderr] 
[INFO] [stderr] warning: creating a shared reference to mutable static
[INFO] [stderr]   --> src/helper/magic.rs:58:41
[INFO] [stderr]    |
[INFO] [stderr] 58 |     let magic_entry: &SMagic = unsafe { ROOK_MAGICS.get_unchecked(square as usize) };
[INFO] [stderr]    |                                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stderr]    |
[INFO] [stderr]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stderr]    = 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] [stderr] 
[INFO] [stderr] warning: the type `[PreSMagic; 64]` does not permit being left uninitialized
[INFO] [stderr]    --> src/helper/magic.rs:109:36
[INFO] [stderr]     |
[INFO] [stderr] 109 |         let arr: [PreSMagic; 64] = mem::MaybeUninit::uninit().assume_init();
[INFO] [stderr]     |                                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]     |                                    |
[INFO] [stderr]     |                                    this code causes undefined behavior when executed
[INFO] [stderr]     |                                    help: use `MaybeUninit<T>` instead, and only call `assume_init` after initialization is done
[INFO] [stderr]     |
[INFO] [stderr] note: integers must be initialized (in this struct field)
[INFO] [stderr]    --> src/helper/magic.rs:89:5
[INFO] [stderr]     |
[INFO] [stderr]  89 |     start: usize,
[INFO] [stderr]     |     ^^^^^^^^^^^^
[INFO] [stderr]     = note: `#[warn(invalid_value)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: creating a shared reference to mutable static
[INFO] [stderr]    --> src/helper/psqt.rs:217:15
[INFO] [stderr]     |
[INFO] [stderr] 217 |     unsafe { *(PSQ.get_unchecked(piece as usize)).get_unchecked(sq.0 as usize) }
[INFO] [stderr]     |               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stderr]     |
[INFO] [stderr]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stderr]     = 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] [stderr] 
[INFO] [stderr] warning: creating a shared reference to mutable static
[INFO] [stderr]   --> src/helper/zobrist.rs:62:17
[INFO] [stderr]    |
[INFO] [stderr] 62 |     unsafe { *(*ZOBRIST_PIECE_SQUARE.get_unchecked(sq.0 as usize)).get_unchecked(piece as usize) }
[INFO] [stderr]    |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stderr]    |
[INFO] [stderr]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stderr]    = 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] [stderr] 
[INFO] [stderr] warning: creating a shared reference to mutable static
[INFO] [stderr]   --> src/helper/zobrist.rs:68:15
[INFO] [stderr]    |
[INFO] [stderr] 68 |     unsafe { *ZOBRIST_ENPASSANT.get_unchecked(sq.file() as usize) }
[INFO] [stderr]    |               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stderr]    |
[INFO] [stderr]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stderr]    = 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] [stderr] 
[INFO] [stderr] warning: creating a shared reference to mutable static
[INFO] [stderr]   --> src/helper/zobrist.rs:74:15
[INFO] [stderr]    |
[INFO] [stderr] 74 |     unsafe { *ZOBRIST_CASTLE.get_unchecked(castle as usize) }
[INFO] [stderr]    |               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stderr]    |
[INFO] [stderr]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stderr]    = 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] [stderr] 
[INFO] [stderr] warning: unnecessary transmute
[INFO] [stderr]   --> src/tools/prng.rs:38:37
[INFO] [stderr]    |
[INFO] [stderr] 38 |         let arr: [u8; 8] = unsafe { transmute(self.rand() ^ self.rand()) };
[INFO] [stderr]    |                                     ---------^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]    |                                     |
[INFO] [stderr]    |                                     help: replace this with: `u64::to_ne_bytes`
[INFO] [stderr]    |
[INFO] [stderr]    = help: there's also `to_le_bytes` and `to_be_bytes` if you expect a particular byte order
[INFO] [stderr]    = note: `#[warn(unnecessary_transmutes)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: `tanton` (lib) generated 29 warnings (run `cargo fix --lib -p tanton` to apply 2 suggestions)
[INFO] [stderr] warning: `tanton` (lib test) generated 29 warnings (29 duplicates)
[INFO] [stderr]     Finished `test` profile [optimized + debuginfo] target(s) in 1.08s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/tanton-efb59743749c8353)
[INFO] [stdout] 
[INFO] [stdout] running 40 tests
[INFO] [stdout] test board::castle_rights::tests::const_test ... ok
[INFO] [stdout] test board::perft::tests::perft_kiwipete_all ... ignored
[INFO] [stdout] test board::pgn::tests::tags_test ... ok
[INFO] [stdout] test board::movegen::tests::movelist_basic ... ok
[INFO] [stdout] test board::fen::tests::fen_extra_pawns ... ok
[INFO] [stdout] test board::movegen::tests::movegen_list_sim_all ... ok
[INFO] [stdout] test board::piece_locations::test::stack_overflow_test ... ok
[INFO] [stdout] test board::tests::check_state ... ok
[INFO] [stdout] test board::tests::see_ge_all_fens ... ok
[INFO] [stdout] test board::tests::random_move_apply ... ok
[INFO] [stdout] test core::bit_twiddles::tests::lsb_t ... ok
[INFO] [stdout] test core::bit_twiddles::tests::msb_t ... ok
[INFO] [stdout] test board::tests::zob_equality ... ok
[INFO] [stdout] test core::bit_twiddles::tests::test_bit_scan ... ok
[INFO] [stdout] test core::bit_twiddles::tests::popcount_t ... ok
[INFO] [stdout] test board::movegen::tests::movegen_list_sim_basic ... ok
[INFO] [stdout] test core::bitboard::tests::rand_bb_gen_eq ... ok
[INFO] [stdout] test core::bitboard::tests::bb_pop_lsb ... ok
[INFO] [stdout] test core::macros::tests::macro_imlps_bb ... ok
[INFO] [stdout] test core::macros::tests::macro_imlps_sq ... ok
[INFO] [stdout] test helper::psqt::tests::psq_tes ... ok
[INFO] [stdout] test board::tests::fen_equality ... ok
[INFO] [stdout] test tools::prng::test::check_bit_displacement ... ok
[INFO] [stdout] test board::tests::uci_move ... ok
[INFO] [stdout] test helper::tests::init_helper ... ok
[INFO] [stdout] test tools::tt::tests::tt_basic_insert ... ok
[INFO] [stdout] test tools::tt::tests::tt_test_sizes ... ok
[INFO] [stdout] test tools::tt::tests::tt_alloc_realloc ... ok
[INFO] [stdout] test board::perft::tests::perft_board_3 ... ok
[INFO] [stdout] test board::perft::tests::perft_board_6 ... ok
[INFO] [stdout] test bots::tests::alpha_equality ... ok
[INFO] [stdout] test tools::tt::tests::tt_null_ptr ... ok
[INFO] [stdout] test board::perft::tests::start_pos_perft ... ok
[INFO] [stdout] test board::tests::rand_board_gen_many ... ok
[INFO] [stdout] test board::tests::rand_board_gen_one ... ok
[INFO] [stdout] test board::movegen::tests::movegen_legal_pseudo ... ok
[INFO] [stdout] test bots::tests::minimax_equality ... ok
[INFO] [stdout] test board::perft::tests::perft_board_5 ... ok
[INFO] [stdout] test board::perft::tests::start_pos_perft_all ... ok
[INFO] [stdout] test board::perft::tests::perft_kiwipete ... ok
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 39 passed; 0 failed; 1 ignored; 0 measured; 0 filtered out; finished in 5.75s
[INFO] [stdout] 
[INFO] [stderr]      Running tests/basic_bots.rs (/opt/rustwide/target/debug/deps/basic_bots-94d43756489a233f)
[INFO] [stdout] 
[INFO] [stdout] running 1 test
[INFO] [stdout] test test_all_bot ... ok
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.64s
[INFO] [stdout] 
[INFO] [stderr]      Running tests/board_build.rs (/opt/rustwide/target/debug/deps/board_build-f722004e890488d5)
[INFO] [stdout] 
[INFO] [stdout] running 3 tests
[INFO] [stdout] test basic_move_apply ... ok
[INFO] [stdout] test test_init_counts ... ok
[INFO] [stdout] test move_seq_1 ... ok
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 3 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.05s
[INFO] [stdout] 
[INFO] [stderr]      Running tests/board_hash.rs (/opt/rustwide/target/debug/deps/board_hash-06884e5691e2d92b)
[INFO] [stdout] 
[INFO] [stdout] running 3 tests
[INFO] [stdout] test pawn_key_correctness ... ok
[INFO] [stdout] test material_key_correctness ... ok
[INFO] [stdout] test zobrist_correctness ... ok
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 3 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 1.91s
[INFO] [stdout] 
[INFO] [stderr]      Running tests/board_move_apply.rs (/opt/rustwide/target/debug/deps/board_move_apply-a88ba117a539f0f2)
[INFO] [stdout] 
[INFO] [stdout] running 2 tests
[INFO] [stdout] test random_moves ... ok
[INFO] [stdout] test apply_null_moves ... ok
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.06s
[INFO] [stdout] 
[INFO] [stderr]      Running tests/fen_building.rs (/opt/rustwide/target/debug/deps/fen_building-f79e2e6cd109ec8b)
[INFO] [stdout] 
[INFO] [stdout] running 3 tests
[INFO] [stdout] test rank8_zero_fen ... ok
[INFO] [stdout] test basic_fen ... ok
[INFO] [stdout] test all_fens ... ok
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 3 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.05s
[INFO] [stdout] 
[INFO] [stderr]      Running tests/move_generating.rs (/opt/rustwide/target/debug/deps/move_generating-675e05bb4eff92c8)
[INFO] [stdout] 
[INFO] [stdout] running 7 tests
[INFO] [stdout] test bit_move_promoions ... ok
[INFO] [stdout] test bit_move_position ... ok
[INFO] [stdout] test test_move_permutations ... ok
[INFO] [stdout] test test_opening_position ... ok
[INFO] [stdout] test test_movegen_quiet_checks ... ok
[INFO] [stdout] test test_movegen_quiets ... ok
[INFO] [stdout] test test_movegen_captures ... ok
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 7 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.64s
[INFO] [stdout] 
[INFO] [stderr]      Running tests/pseudo_legal_checks.rs (/opt/rustwide/target/debug/deps/pseudo_legal_checks-24c1fd422abe7598)
[INFO] [stdout] 
[INFO] [stdout] running 5 tests
[INFO] [stdout] test legal_all_fens ... ok
[INFO] [stdout] test pseudolegal_incheck ... ok
[INFO] [stdout] test pseudolegal_all_fens ... ok
[INFO] [stdout] test pseudolegal_rand ... ok
[INFO] [stdout] test legal_rand ... ok
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 5 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.80s
[INFO] [stdout] 
[INFO] [stderr]      Running tests/test.rs (/opt/rustwide/target/debug/deps/test-c8b69a7f33c76712)
[INFO] [stdout] 
[INFO] [stdout] running 24 tests
[INFO] [stdout] test move_generating::bit_move_position ... ok
[INFO] [stdout] test move_generating::bit_move_promoions ... ok
[INFO] [stdout] test move_generating::test_move_permutations ... ok
[INFO] [stdout] test board_build::move_seq_1 ... ok
[INFO] [stdout] test move_generating::test_opening_position ... ok
[INFO] [stdout] test fen_building::rank8_zero_fen ... ok
[INFO] [stdout] test board_build::basic_move_apply ... ok
[INFO] [stdout] test fen_building::basic_fen ... ok
[INFO] [stdout] test board_move_apply::apply_null_moves ... ok
[INFO] [stdout] test fen_building::all_fens ... ok
[INFO] [stdout] test pseudo_legal_checks::legal_all_fens ... ok
[INFO] [stdout] test board_build::test_init_counts ... ok
[INFO] [stdout] test board_move_apply::random_moves ... ok
[INFO] [stdout] test pseudo_legal_checks::pseudolegal_incheck ... ok
[INFO] [stdout] test pseudo_legal_checks::pseudolegal_all_fens ... ok
[INFO] [stdout] test move_generating::test_movegen_captures ... ok
[INFO] [stdout] test move_generating::test_movegen_quiet_checks ... ok
[INFO] [stdout] test move_generating::test_movegen_quiets ... ok
[INFO] [stdout] test pseudo_legal_checks::legal_rand ... ok
[INFO] [stdout] test pseudo_legal_checks::pseudolegal_rand ... ok
[INFO] [stdout] test board_hash::pawn_key_correctness ... ok
[INFO] [stdout] test board_hash::zobrist_correctness ... ok
[INFO] [stdout] test basic_bots::test_all_bot ... ok
[INFO] [stdout] test board_hash::material_key_correctness ... ok
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 24 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 2.29s
[INFO] [stdout] 
[INFO] [stderr]    Doc-tests tanton
[INFO] [stderr] warning: unnecessary parentheses around const expression
[INFO] [stderr]  --> src/helper/psqt.rs:5:24
[INFO] [stderr]   |
[INFO] [stderr] 5 | const BONUS: [[[Score; (FILE_CNT / 2)]; RANK_CNT]; PIECE_TYPE_CNT] = [
[INFO] [stderr]   |                        ^            ^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] help: remove these parentheses
[INFO] [stderr]   |
[INFO] [stderr] 5 - const BONUS: [[[Score; (FILE_CNT / 2)]; RANK_CNT]; PIECE_TYPE_CNT] = [
[INFO] [stderr] 5 + const BONUS: [[[Score; FILE_CNT / 2 ]; RANK_CNT]; PIECE_TYPE_CNT] = [
[INFO] [stderr]   |
[INFO] [stderr] 
[INFO] [stderr] warning: 1 warning emitted
[INFO] [stderr] 
[INFO] [stdout] 
[INFO] [stdout] running 80 tests
[INFO] [stdout] test src/board/mod.rs - board::Board::count_piece (line 1567) ... ok
[INFO] [stdout] test src/board/mod.rs - board::Board::apply_uci_move (line 869) ... ok
[INFO] [stdout] test src/board/mod.rs - board::Board::ep_square (line 1391) ... ok
[INFO] [stdout] test src/board/mod.rs - board::Board (line 166) ... ok
[INFO] [stdout] test src/board/mod.rs - board::Board::count_pieces_player (line 1582) ... ok
[INFO] [stdout] test src/board/mod.rs - board::Board::from_fen (line 387) ... ok
[INFO] [stdout] test src/board/mod.rs - board::Board::count_all_pieces (line 1597) ... ok
[INFO] [stdout] test src/board/mod.rs - board::Board::generate_moves (line 1063) ... ok
[INFO] [stdout] test src/board/mod.rs - board::Board::generate_moves_of_type (line 1103) ... ok
[INFO] [stdout] test src/board/mod.rs - board::Board::get_occupied_player (line 1437) ... ok
[INFO] [stdout] test src/board/mod.rs - board::Board::moves_played (line 1332) ... ok
[INFO] [stdout] test src/board/mod.rs - board::Board::apply_null_move (line 979) ... ok
[INFO] [stdout] test src/board/mod.rs - board::Board::empty (line 1421) ... ok
[INFO] [stdout] test src/board/mod.rs - board::Board::king_sq (line 1624) ... ok
[INFO] [stdout] test src/board/mod.rs - board::Board::fen (line 564) ... ok
[INFO] [stdout] test src/board/mod.rs - board::Board::diagonal_piece_bb (line 1513) ... ok
[INFO] [stdout] test src/board/mod.rs - board::Board::occupied_white (line 1452) ... ok
[INFO] [stdout] test src/board/mod.rs - board::Board::parallel_clone (line 324) ... ok
[INFO] [stdout] test src/board/movegen.rs - board::movegen (line 34) ... ignored
[INFO] [stdout] test src/board/movegen.rs - board::movegen (line 40) ... ignored
[INFO] [stdout] test src/board/movegen.rs - board::movegen (line 46) ... ignored
[INFO] [stdout] test src/board/mod.rs - board::Board::occupied (line 1406) ... ok
[INFO] [stdout] test src/board/mod.rs - board::Board::start_pos (line 258) ... ok
[INFO] [stdout] test src/board/mod.rs - board::Board::turn (line 1303) ... ok
[INFO] [stdout] test src/board/mod.rs - board::Board::occupied_black (line 1467) ... ok
[INFO] [stdout] test src/board/mod.rs - board::Board::random (line 369) ... ok
[INFO] [stdout] test src/board/mod.rs - board::Board::shallow_clone (line 282) ... ok
[INFO] [stdout] test src/board/mod.rs - board::Board::piece_bb (line 1482) ... ok
[INFO] [stdout] test src/board/mod.rs - board::Board::piece_bb_both_players (line 1529) ... ok
[INFO] [stdout] test src/board/mod.rs - board::Board::piece_two_bb_both_players (line 1544) ... ok
[INFO] [stdout] test src/board/mod.rs - board::Board::random (line 359) ... ok
[INFO] [stdout] test src/board/mod.rs - board::Board::sliding_piece_bb (line 1498) ... ok
[INFO] [stdout] test src/board/mod.rs - board::Board::undo_null_move (line 1035) ... ok
[INFO] [stdout] test src/board/mod.rs - board::Board::undo_move (line 899) ... ok
[INFO] [stdout] test src/core/bit_twiddles.rs - core::bit_twiddles::more_than_one (line 107) ... ok
[INFO] [stdout] test src/core/bit_twiddles.rs - core::bit_twiddles::bit_scan_reverse (line 85) ... ok
[INFO] [stdout] test src/core/bit_twiddles.rs - core::bit_twiddles::bit_scan_forward_rust_trailing (line 69) ... ok
[INFO] [stdout] test src/core/bit_twiddles.rs - core::bit_twiddles::popcount64 (line 35) ... ok
[INFO] [stdout] test src/core/bit_twiddles.rs - core::bit_twiddles::lsb (line 124) ... ok
[INFO] [stdout] test src/core/bit_twiddles.rs - core::bit_twiddles::bit_scan_forward (line 49) ... ok
[INFO] [stdout] test src/core/masks.rs - core::masks::SQ_DISPLAY (line 229) ... ok
[INFO] [stdout] test src/board/mod.rs - board::RandBoard (line 2497) ... ok
[INFO] [stdout] test src/core/mod.rs - core::Piece::make (line 484) ... ok
[INFO] [stdout] test src/core/bit_twiddles.rs - core::bit_twiddles::reverse_bytes (line 180) ... ok
[INFO] [stdout] test src/core/mod.rs - core::File::max (line 679) ... ok
[INFO] [stdout] test src/core/mod.rs - core::File::min (line 659) ... ok
[INFO] [stdout] test src/core/bit_twiddles.rs - core::bit_twiddles::reverse_byte (line 204) ... ok
[INFO] [stdout] test src/core/masks.rs - core::masks::FILE_DISPLAYS (line 254) ... ok
[INFO] [stdout] test src/core/mod.rs - core::Piece::make_lossy (line 514) ... ok
[INFO] [stdout] test src/core/mod.rs - core::Piece::player_lossy (line 366) ... ok
[INFO] [stdout] test src/core/mod.rs - core::Piece::player (line 326) ... ok
[INFO] [stdout] test src/core/mod.rs - core::Piece::player_lossy (line 377) ... ok
[INFO] [stdout] test src/core/mod.rs - core::Piece::make_lossy (line 525) ... FAILED
[INFO] [stdout] test src/core/mod.rs - core::Piece::player_piece_lossy (line 451) ... ok
[INFO] [stdout] test src/core/masks.rs - core::masks::RANK_DISPLAYS (line 267) ... ok
[INFO] [stdout] test src/core/mod.rs - core::Piece::type_of (line 393) ... ok
[INFO] [stdout] test src/core/mod.rs - core::Player::relative_rank_of_sq (line 106) ... ok
[INFO] [stdout] test src/core/mod.rs - core::Piece::player (line 337) ... ok
[INFO] [stdout] test src/core/mod.rs - core::Player::relative_rank (line 126) ... ok
[INFO] [stdout] test src/lib.rs - (line 31) ... ignored
[INFO] [stdout] test src/lib.rs - (line 38) ... ignored
[INFO] [stdout] test src/lib.rs - (line 44) ... ignored
[INFO] [stdout] test src/lib.rs - (line 57) ... ignored
[INFO] [stdout] test src/core/mod.rs - core::Piece::player_piece (line 418) ... ok
[INFO] [stdout] test src/tools/tt.rs - tools::tt (line 21) ... ignored
[INFO] [stdout] test src/core/mod.rs - core::Player::other_player (line 75) ... ok
[INFO] [stdout] test src/core/sq.rs - core::sq (line 39) ... ok
[INFO] [stdout] test src/core/move_list.rs - core::move_list::MoveList::is_empty (line 130) ... ok
[INFO] [stdout] test src/core/move_list.rs - core::move_list::MoveList::as_slice (line 184) ... ok
[INFO] [stdout] test src/core/sq.rs - core::sq::SQ::is_okay (line 93) ... ok
[INFO] [stdout] test src/core/mod.rs - core::Piece::player_piece_lossy (line 463) ... ok
[INFO] [stdout] test src/core/sq.rs - core::sq::SQ::file (line 174) ... ok
[INFO] [stdout] test src/board/mod.rs - board::RandBoard (line 2508) ... ok
[INFO] [stdout] test src/core/move_list.rs - core::move_list::MoveList::vec (line 145) ... ok
[INFO] [stdout] test src/core/sq.rs - core::sq::SQ::distance (line 111) ... ok
[INFO] [stdout] test src/core/sq.rs - core::sq::SQ::make (line 216) ... ok
[INFO] [stdout] test src/core/move_list.rs - core::move_list::MoveList::len (line 166) ... ok
[INFO] [stdout] test src/core/sq.rs - core::sq::SQ::rank (line 146) ... ok
[INFO] [stdout] test src/core/sq.rs - core::sq (line 21) ... ok
[INFO] [stdout] test src/tools/eval.rs - tools::eval::Eval (line 50) ... ok
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- src/core/mod.rs - core::Piece::make_lossy (line 525) stdout ----
[INFO] [stdout] Test executable failed (signal: 6 (SIGABRT) (core dumped)).
[INFO] [stdout] 
[INFO] [stdout] stderr:
[INFO] [stdout] 
[INFO] [stdout] thread 'main' (1616) panicked at src/core/mod.rs:535:13:
[INFO] [stdout] trying to construct an enum from an invalid value 0xf
[INFO] [stdout] stack backtrace:
[INFO] [stdout]    0:     0x605b29a339d2 - std[3b51380354919863]::backtrace_rs::backtrace::libunwind::trace
[INFO] [stdout]                                at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9
[INFO] [stdout]    1:     0x605b29a339d2 - std[3b51380354919863]::backtrace_rs::backtrace::trace_unsynchronized::<std[3b51380354919863]::sys::backtrace::_print_fmt::{closure#1}>
[INFO] [stdout]                                at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14
[INFO] [stdout]    2:     0x605b29a339d2 - std[3b51380354919863]::sys::backtrace::_print_fmt
[INFO] [stdout]                                at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/std/src/sys/backtrace.rs:74:9
[INFO] [stdout]    3:     0x605b29a339d2 - <<std[3b51380354919863]::sys::backtrace::BacktraceLock>::print::DisplayBacktrace as core[27de1724e4349be2]::fmt::Display>::fmt
[INFO] [stdout]                                at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/std/src/sys/backtrace.rs:44:26
[INFO] [stdout]    4:     0x605b29a442fa - <core[27de1724e4349be2]::fmt::rt::Argument>::fmt
[INFO] [stdout]                                at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/core/src/fmt/rt.rs:152:76
[INFO] [stdout]    5:     0x605b29a442fa - core[27de1724e4349be2]::fmt::write
[INFO] [stdout]    6:     0x605b29a37526 - std[3b51380354919863]::io::default_write_fmt::<std[3b51380354919863]::sys::stdio::unix::Stderr>
[INFO] [stdout]                                at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/std/src/io/mod.rs:639:11
[INFO] [stdout]    7:     0x605b29a37526 - <std[3b51380354919863]::sys::stdio::unix::Stderr as std[3b51380354919863]::io::Write>::write_fmt
[INFO] [stdout]                                at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/std/src/io/mod.rs:1994:13
[INFO] [stdout]    8:     0x605b29a1edaf - <std[3b51380354919863]::sys::backtrace::BacktraceLock>::print
[INFO] [stdout]                                at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/std/src/sys/backtrace.rs:47:9
[INFO] [stdout]    9:     0x605b29a1edaf - std[3b51380354919863]::panicking::default_hook::{closure#0}
[INFO] [stdout]                                at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/std/src/panicking.rs:292:27
[INFO] [stdout]   10:     0x605b29a2fe91 - std[3b51380354919863]::panicking::default_hook
[INFO] [stdout]                                at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/std/src/panicking.rs:319:9
[INFO] [stdout]   11:     0x605b29a3004b - std[3b51380354919863]::panicking::panic_with_hook
[INFO] [stdout]                                at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/std/src/panicking.rs:825:13
[INFO] [stdout]   12:     0x605b29a1ee68 - std[3b51380354919863]::panicking::panic_handler::{closure#0}
[INFO] [stdout]                                at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/std/src/panicking.rs:698:13
[INFO] [stdout]   13:     0x605b29a14419 - std[3b51380354919863]::sys::backtrace::__rust_end_short_backtrace::<std[3b51380354919863]::panicking::panic_handler::{closure#0}, !>
[INFO] [stdout]                                at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/std/src/sys/backtrace.rs:182:18
[INFO] [stdout]   14:     0x605b29a1f68d - __rustc[d79c0ace40940972]::rust_begin_unwind
[INFO] [stdout]                                at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/std/src/panicking.rs:689:5
[INFO] [stdout]   15:     0x605b29a447ad - core[27de1724e4349be2]::panicking::panic_nounwind_fmt::runtime
[INFO] [stdout]                                at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/core/src/panicking.rs:122:22
[INFO] [stdout]   16:     0x605b29a447ad - core[27de1724e4349be2]::panicking::panic_nounwind_fmt
[INFO] [stdout]                                at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/core/src/intrinsics/mod.rs:2431:9
[INFO] [stdout]   17:     0x605b29a44915 - core[27de1724e4349be2]::panicking::panic_invalid_enum_construction
[INFO] [stdout]                                at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/core/src/panicking.rs:318:5
[INFO] [stdout]   18:     0x605b29a090fa - rust_out[8e547ba4386cb4c9]::main::_doctest_main_src_core_mod_rs_525_0
[INFO] [stdout]   19:     0x605b29a090d6 - rust_out[8e547ba4386cb4c9]::main
[INFO] [stdout]   20:     0x605b29a09113 - <fn() as core[27de1724e4349be2]::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]   21:     0x605b29a09096 - std[3b51380354919863]::sys::backtrace::__rust_begin_short_backtrace::<fn(), ()>
[INFO] [stdout]   22:     0x605b29a090a9 - std[3b51380354919863]::rt::lang_start::<()>::{closure#0}
[INFO] [stdout]   23:     0x605b29a2f486 - <&dyn core[27de1724e4349be2]::ops::function::Fn<(), Output = i32> + core[27de1724e4349be2]::marker::Sync + core[27de1724e4349be2]::panic::unwind_safe::RefUnwindSafe as core[27de1724e4349be2]::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]                                at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/core/src/ops/function.rs:287:21
[INFO] [stdout]   24:     0x605b29a2f486 - std[3b51380354919863]::panicking::catch_unwind::do_call::<&dyn core[27de1724e4349be2]::ops::function::Fn<(), Output = i32> + core[27de1724e4349be2]::marker::Sync + core[27de1724e4349be2]::panic::unwind_safe::RefUnwindSafe, i32>
[INFO] [stdout]                                at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/std/src/panicking.rs:581:40
[INFO] [stdout]   25:     0x605b29a2f486 - std[3b51380354919863]::panicking::catch_unwind::<i32, &dyn core[27de1724e4349be2]::ops::function::Fn<(), Output = i32> + core[27de1724e4349be2]::marker::Sync + core[27de1724e4349be2]::panic::unwind_safe::RefUnwindSafe>
[INFO] [stdout]                                at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/std/src/panicking.rs:544:19
[INFO] [stdout]   26:     0x605b29a2f486 - std[3b51380354919863]::panic::catch_unwind::<&dyn core[27de1724e4349be2]::ops::function::Fn<(), Output = i32> + core[27de1724e4349be2]::marker::Sync + core[27de1724e4349be2]::panic::unwind_safe::RefUnwindSafe, i32>
[INFO] [stdout]                                at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/std/src/panic.rs:359:14
[INFO] [stdout]   27:     0x605b29a2f486 - std[3b51380354919863]::rt::lang_start_internal::{closure#0}
[INFO] [stdout]                                at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/std/src/rt.rs:175:24
[INFO] [stdout]   28:     0x605b29a2f486 - std[3b51380354919863]::panicking::catch_unwind::do_call::<std[3b51380354919863]::rt::lang_start_internal::{closure#0}, isize>
[INFO] [stdout]                                at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/std/src/panicking.rs:581:40
[INFO] [stdout]   29:     0x605b29a2f486 - std[3b51380354919863]::panicking::catch_unwind::<isize, std[3b51380354919863]::rt::lang_start_internal::{closure#0}>
[INFO] [stdout]                                at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/std/src/panicking.rs:544:19
[INFO] [stdout]   30:     0x605b29a2f486 - std[3b51380354919863]::panic::catch_unwind::<std[3b51380354919863]::rt::lang_start_internal::{closure#0}, isize>
[INFO] [stdout]                                at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/std/src/panic.rs:359:14
[INFO] [stdout]   31:     0x605b29a2f486 - std[3b51380354919863]::rt::lang_start_internal
[INFO] [stdout]                                at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/std/src/rt.rs:171:5
[INFO] [stdout]   32:     0x605b29a09081 - std[3b51380354919863]::rt::lang_start::<()>
[INFO] [stdout]   33:     0x605b29a09175 - main
[INFO] [stdout]   34:     0x7a5b3ed7f1ca - <unknown>
[INFO] [stdout]   35:     0x7a5b3ed7f28b - __libc_start_main
[INFO] [stdout]   36:     0x605b29a08f95 - _start
[INFO] [stdout]   37:                0x0 - <unknown>
[INFO] [stdout] thread caused non-unwinding panic. aborting.
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout]     src/core/mod.rs - core::Piece::make_lossy (line 525)
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 71 passed; 1 failed; 8 ignored; 0 measured; 0 filtered out; finished in 4.42s
[INFO] [stdout] 
[INFO] [stderr] error: doctest failed, to rerun pass `--doc`
[INFO] running `Command { std: "docker" "inspect" "078256a6fc4acf3539be8f2add0cbd89fba58a00e9decb20d02f52ee5e756471", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "078256a6fc4acf3539be8f2add0cbd89fba58a00e9decb20d02f52ee5e756471", kill_on_drop: false }`
[INFO] [stdout] 078256a6fc4acf3539be8f2add0cbd89fba58a00e9decb20d02f52ee5e756471
