[INFO] cloning repository https://github.com/erikfastermann/baby-chess-engine
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/erikfastermann/baby-chess-engine" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ferikfastermann%2Fbaby-chess-engine", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ferikfastermann%2Fbaby-chess-engine'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 8354ec5169696eeee963c69df6a2ff654f4502b7
[INFO] checking erikfastermann/baby-chess-engine/8354ec5169696eeee963c69df6a2ff654f4502b7 against c9ff496891c278ad660bc0ab85c1f0b72059464a for pr-160491
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ferikfastermann%2Fbaby-chess-engine" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/erikfastermann/baby-chess-engine
[INFO] finished tweaking git repo https://github.com/erikfastermann/baby-chess-engine
[INFO] tweaked toml for git repo https://github.com/erikfastermann/baby-chess-engine written to /workspace/builds/worker-4-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/erikfastermann/baby-chess-engine on toolchain c9ff496891c278ad660bc0ab85c1f0b72059464a
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c9ff496891c278ad660bc0ab85c1f0b72059464a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/erikfastermann/baby-chess-engine already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c9ff496891c278ad660bc0ab85c1f0b72059464a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:00c5645b54fe3ce5dae1417175e3c7fb6a6646c021d554ecd63a097b8b9f3602" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 4d3a1fa5a8247a8f8bfbedeee0256c143586a774e86349fdf60b872e6bc9c10e
[INFO] running `Command { std: "docker" "start" "4d3a1fa5a8247a8f8bfbedeee0256c143586a774e86349fdf60b872e6bc9c10e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "4d3a1fa5a8247a8f8bfbedeee0256c143586a774e86349fdf60b872e6bc9c10e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "4d3a1fa5a8247a8f8bfbedeee0256c143586a774e86349fdf60b872e6bc9c10e" "/opt/rustwide/cargo-home/bin/cargo" "+c9ff496891c278ad660bc0ab85c1f0b72059464a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "4d3a1fa5a8247a8f8bfbedeee0256c143586a774e86349fdf60b872e6bc9c10e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-w" "/opt/rustwide/workdir" "--user" "0:0" "4d3a1fa5a8247a8f8bfbedeee0256c143586a774e86349fdf60b872e6bc9c10e" "/opt/rustwide/cargo-home/bin/cargo" "+c9ff496891c278ad660bc0ab85c1f0b72059464a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]     Checking either v1.9.0
[INFO] [stderr]     Checking itertools v0.12.0
[INFO] [stderr]     Checking baby_chess_engine v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: fields `piece`, `from`, `to`, `we_can_castle`, and `en_passant_index` are never read
[INFO] [stdout]    --> src/board.rs:626:9
[INFO] [stdout]     |
[INFO] [stdout] 625 |     NonCapture {
[INFO] [stdout]     |     ---------- fields in this variant
[INFO] [stdout] 626 |         piece: Piece,
[INFO] [stdout]     |         ^^^^^
[INFO] [stdout] 627 |         from: u8,
[INFO] [stdout]     |         ^^^^
[INFO] [stdout] 628 |         to: u8,
[INFO] [stdout]     |         ^^
[INFO] [stdout] 629 |         we_can_castle: CanCastle,
[INFO] [stdout]     |         ^^^^^^^^^^^^^
[INFO] [stdout] 630 |         en_passant_index: Option<u8>,
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple fields are never read
[INFO] [stdout]    --> src/board.rs:633:9
[INFO] [stdout]     |
[INFO] [stdout] 632 |     Capture {
[INFO] [stdout]     |     ------- fields in this variant
[INFO] [stdout] 633 |         piece: Piece,
[INFO] [stdout]     |         ^^^^^
[INFO] [stdout] 634 |         from: u8,
[INFO] [stdout]     |         ^^^^
[INFO] [stdout] 635 |         to: u8,
[INFO] [stdout]     |         ^^
[INFO] [stdout] 636 |         captured_piece: Piece,
[INFO] [stdout]     |         ^^^^^^^^^^^^^^
[INFO] [stdout] 637 |         we_can_castle: CanCastle,
[INFO] [stdout]     |         ^^^^^^^^^^^^^
[INFO] [stdout] 638 |         enemy_can_castle: CanCastle,
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^
[INFO] [stdout] 639 |         en_passant_index: Option<u8>,
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `from`, `to`, and `en_passant_index` are never read
[INFO] [stdout]    --> src/board.rs:641:17
[INFO] [stdout]     |
[INFO] [stdout] 641 |     EnPassant { from: u8, to: u8, en_passant_index: Option<u8>, },
[INFO] [stdout]     |     ---------   ^^^^      ^^      ^^^^^^^^^^^^^^^^
[INFO] [stdout]     |     |
[INFO] [stdout]     |     fields in this variant
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `from`, `to`, `we_can_castle`, and `en_passant_index` are never read
[INFO] [stdout]    --> src/board.rs:642:14
[INFO] [stdout]     |
[INFO] [stdout] 642 |     Castle { from: u8, to: u8, we_can_castle: CanCastle, en_passant_index: Option<u8>, },
[INFO] [stdout]     |     ------   ^^^^      ^^      ^^^^^^^^^^^^^             ^^^^^^^^^^^^^^^^
[INFO] [stdout]     |     |
[INFO] [stdout]     |     fields in this variant
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `from`, `to`, `promotion_piece`, and `en_passant_index` are never read
[INFO] [stdout]    --> src/board.rs:643:17
[INFO] [stdout]     |
[INFO] [stdout] 643 |     Promotion { from: u8, to: u8, promotion_piece: Piece, en_passant_index: Option<u8>, },
[INFO] [stdout]     |     ---------   ^^^^      ^^      ^^^^^^^^^^^^^^^         ^^^^^^^^^^^^^^^^
[INFO] [stdout]     |     |
[INFO] [stdout]     |     fields in this variant
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `from`, `to`, `promotion_piece`, `captured_piece`, `enemy_can_castle`, and `en_passant_index` are never read
[INFO] [stdout]    --> src/board.rs:645:9
[INFO] [stdout]     |
[INFO] [stdout] 644 |     PromotionCapture {
[INFO] [stdout]     |     ---------------- fields in this variant
[INFO] [stdout] 645 |         from: u8,
[INFO] [stdout]     |         ^^^^
[INFO] [stdout] 646 |         to: u8,
[INFO] [stdout]     |         ^^
[INFO] [stdout] 647 |         promotion_piece: Piece,
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^
[INFO] [stdout] 648 |         captured_piece: Piece,
[INFO] [stdout]     |         ^^^^^^^^^^^^^^
[INFO] [stdout] 649 |         enemy_can_castle: CanCastle,
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^
[INFO] [stdout] 650 |         en_passant_index: Option<u8>,
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `from`, `to`, and `en_passant_index` are never read
[INFO] [stdout]    --> src/board.rs:652:18
[INFO] [stdout]     |
[INFO] [stdout] 652 |     PawnDouble { from: u8, to: u8, en_passant_index: Option<u8>, }
[INFO] [stdout]     |     ----------   ^^^^      ^^      ^^^^^^^^^^^^^^^^
[INFO] [stdout]     |     |
[INFO] [stdout]     |     fields in this variant
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `reset_with` is never used
[INFO] [stdout]   --> src/game.rs:55:8
[INFO] [stdout]    |
[INFO] [stdout] 11 | impl Game {
[INFO] [stdout]    | --------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 55 |     fn reset_with(&mut self, other: &Self) {
[INFO] [stdout]    |        ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]    --> src/eval.rs:211:14
[INFO] [stdout]     |
[INFO] [stdout] 211 |     unsafe { &BLACK_PIECE_SQUARE_TABLES }
[INFO] [stdout]     |              ^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]     = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default
[INFO] [stdout] help: use `&raw const` instead to create a raw pointer
[INFO] [stdout]     |
[INFO] [stdout] 211 |     unsafe { &raw const BLACK_PIECE_SQUARE_TABLES }
[INFO] [stdout]     |               +++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]    --> src/eval.rs:215:33
[INFO] [stdout]     |
[INFO] [stdout] 215 |     reverse_piece_square_tables(&mut BLACK_PIECE_SQUARE_TABLES)
[INFO] [stdout]     |                                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: use `&raw mut` instead to create a raw pointer
[INFO] [stdout]     |
[INFO] [stdout] 215 |     reverse_piece_square_tables(&raw mut BLACK_PIECE_SQUARE_TABLES)
[INFO] [stdout]     |                                  +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]   --> src/moves.rs:62:16
[INFO] [stdout]    |
[INFO] [stdout] 62 |     king_moves(&mut KING_MOVES);
[INFO] [stdout]    |                ^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: use `&raw mut` instead to create a raw pointer
[INFO] [stdout]    |
[INFO] [stdout] 62 |     king_moves(&raw mut KING_MOVES);
[INFO] [stdout]    |                 +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]   --> src/moves.rs:78:18
[INFO] [stdout]    |
[INFO] [stdout] 78 |     knight_moves(&mut KNIGHT_MOVES);
[INFO] [stdout]    |                  ^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: use `&raw mut` instead to create a raw pointer
[INFO] [stdout]    |
[INFO] [stdout] 78 |     knight_moves(&raw mut KNIGHT_MOVES);
[INFO] [stdout]    |                   +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing
[INFO] [stdout]    --> src/moves.rs:442:57
[INFO] [stdout]     |
[INFO] [stdout] 442 |     pub fn fill<'a>(&'a mut self, board: &mut Board) -> &[Move] {
[INFO] [stdout]     |                      -- the lifetime is named here      ^^^^^^^ the same lifetime is elided here
[INFO] [stdout]     |
[INFO] [stdout]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout]     = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stdout] help: consistently use `'a`
[INFO] [stdout]     |
[INFO] [stdout] 442 |     pub fn fill<'a>(&'a mut self, board: &mut Board) -> &'a [Move] {
[INFO] [stdout]     |                                                          ++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `piece`, `from`, `to`, `we_can_castle`, and `en_passant_index` are never read
[INFO] [stdout]    --> src/board.rs:626:9
[INFO] [stdout]     |
[INFO] [stdout] 625 |     NonCapture {
[INFO] [stdout]     |     ---------- fields in this variant
[INFO] [stdout] 626 |         piece: Piece,
[INFO] [stdout]     |         ^^^^^
[INFO] [stdout] 627 |         from: u8,
[INFO] [stdout]     |         ^^^^
[INFO] [stdout] 628 |         to: u8,
[INFO] [stdout]     |         ^^
[INFO] [stdout] 629 |         we_can_castle: CanCastle,
[INFO] [stdout]     |         ^^^^^^^^^^^^^
[INFO] [stdout] 630 |         en_passant_index: Option<u8>,
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple fields are never read
[INFO] [stdout]    --> src/board.rs:633:9
[INFO] [stdout]     |
[INFO] [stdout] 632 |     Capture {
[INFO] [stdout]     |     ------- fields in this variant
[INFO] [stdout] 633 |         piece: Piece,
[INFO] [stdout]     |         ^^^^^
[INFO] [stdout] 634 |         from: u8,
[INFO] [stdout]     |         ^^^^
[INFO] [stdout] 635 |         to: u8,
[INFO] [stdout]     |         ^^
[INFO] [stdout] 636 |         captured_piece: Piece,
[INFO] [stdout]     |         ^^^^^^^^^^^^^^
[INFO] [stdout] 637 |         we_can_castle: CanCastle,
[INFO] [stdout]     |         ^^^^^^^^^^^^^
[INFO] [stdout] 638 |         enemy_can_castle: CanCastle,
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^
[INFO] [stdout] 639 |         en_passant_index: Option<u8>,
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `from`, `to`, and `en_passant_index` are never read
[INFO] [stdout]    --> src/board.rs:641:17
[INFO] [stdout]     |
[INFO] [stdout] 641 |     EnPassant { from: u8, to: u8, en_passant_index: Option<u8>, },
[INFO] [stdout]     |     ---------   ^^^^      ^^      ^^^^^^^^^^^^^^^^
[INFO] [stdout]     |     |
[INFO] [stdout]     |     fields in this variant
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `from`, `to`, `we_can_castle`, and `en_passant_index` are never read
[INFO] [stdout]    --> src/board.rs:642:14
[INFO] [stdout]     |
[INFO] [stdout] 642 |     Castle { from: u8, to: u8, we_can_castle: CanCastle, en_passant_index: Option<u8>, },
[INFO] [stdout]     |     ------   ^^^^      ^^      ^^^^^^^^^^^^^             ^^^^^^^^^^^^^^^^
[INFO] [stdout]     |     |
[INFO] [stdout]     |     fields in this variant
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `from`, `to`, `promotion_piece`, and `en_passant_index` are never read
[INFO] [stdout]    --> src/board.rs:643:17
[INFO] [stdout]     |
[INFO] [stdout] 643 |     Promotion { from: u8, to: u8, promotion_piece: Piece, en_passant_index: Option<u8>, },
[INFO] [stdout]     |     ---------   ^^^^      ^^      ^^^^^^^^^^^^^^^         ^^^^^^^^^^^^^^^^
[INFO] [stdout]     |     |
[INFO] [stdout]     |     fields in this variant
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `from`, `to`, `promotion_piece`, `captured_piece`, `enemy_can_castle`, and `en_passant_index` are never read
[INFO] [stdout]    --> src/board.rs:645:9
[INFO] [stdout]     |
[INFO] [stdout] 644 |     PromotionCapture {
[INFO] [stdout]     |     ---------------- fields in this variant
[INFO] [stdout] 645 |         from: u8,
[INFO] [stdout]     |         ^^^^
[INFO] [stdout] 646 |         to: u8,
[INFO] [stdout]     |         ^^
[INFO] [stdout] 647 |         promotion_piece: Piece,
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^
[INFO] [stdout] 648 |         captured_piece: Piece,
[INFO] [stdout]     |         ^^^^^^^^^^^^^^
[INFO] [stdout] 649 |         enemy_can_castle: CanCastle,
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^
[INFO] [stdout] 650 |         en_passant_index: Option<u8>,
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `from`, `to`, and `en_passant_index` are never read
[INFO] [stdout]    --> src/board.rs:652:18
[INFO] [stdout]     |
[INFO] [stdout] 652 |     PawnDouble { from: u8, to: u8, en_passant_index: Option<u8>, }
[INFO] [stdout]     |     ----------   ^^^^      ^^      ^^^^^^^^^^^^^^^^
[INFO] [stdout]     |     |
[INFO] [stdout]     |     fields in this variant
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]    --> src/eval.rs:211:14
[INFO] [stdout]     |
[INFO] [stdout] 211 |     unsafe { &BLACK_PIECE_SQUARE_TABLES }
[INFO] [stdout]     |              ^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]     = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default
[INFO] [stdout] help: use `&raw const` instead to create a raw pointer
[INFO] [stdout]     |
[INFO] [stdout] 211 |     unsafe { &raw const BLACK_PIECE_SQUARE_TABLES }
[INFO] [stdout]     |               +++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]    --> src/eval.rs:215:33
[INFO] [stdout]     |
[INFO] [stdout] 215 |     reverse_piece_square_tables(&mut BLACK_PIECE_SQUARE_TABLES)
[INFO] [stdout]     |                                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: use `&raw mut` instead to create a raw pointer
[INFO] [stdout]     |
[INFO] [stdout] 215 |     reverse_piece_square_tables(&raw mut BLACK_PIECE_SQUARE_TABLES)
[INFO] [stdout]     |                                  +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]   --> src/moves.rs:62:16
[INFO] [stdout]    |
[INFO] [stdout] 62 |     king_moves(&mut KING_MOVES);
[INFO] [stdout]    |                ^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: use `&raw mut` instead to create a raw pointer
[INFO] [stdout]    |
[INFO] [stdout] 62 |     king_moves(&raw mut KING_MOVES);
[INFO] [stdout]    |                 +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]   --> src/moves.rs:78:18
[INFO] [stdout]    |
[INFO] [stdout] 78 |     knight_moves(&mut KNIGHT_MOVES);
[INFO] [stdout]    |                  ^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: use `&raw mut` instead to create a raw pointer
[INFO] [stdout]    |
[INFO] [stdout] 78 |     knight_moves(&raw mut KNIGHT_MOVES);
[INFO] [stdout]    |                   +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing
[INFO] [stdout]    --> src/moves.rs:442:57
[INFO] [stdout]     |
[INFO] [stdout] 442 |     pub fn fill<'a>(&'a mut self, board: &mut Board) -> &[Move] {
[INFO] [stdout]     |                      -- the lifetime is named here      ^^^^^^^ the same lifetime is elided here
[INFO] [stdout]     |
[INFO] [stdout]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout]     = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stdout] help: consistently use `'a`
[INFO] [stdout]     |
[INFO] [stdout] 442 |     pub fn fill<'a>(&'a mut self, board: &mut Board) -> &'a [Move] {
[INFO] [stdout]     |                                                          ++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 2.13s
[INFO] running `Command { std: "docker" "inspect" "4d3a1fa5a8247a8f8bfbedeee0256c143586a774e86349fdf60b872e6bc9c10e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "4d3a1fa5a8247a8f8bfbedeee0256c143586a774e86349fdf60b872e6bc9c10e", kill_on_drop: false }`
[INFO] [stdout] 4d3a1fa5a8247a8f8bfbedeee0256c143586a774e86349fdf60b872e6bc9c10e
