[INFO] cloning repository https://github.com/Yigitozcelep/Persa_Engine [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Yigitozcelep/Persa_Engine" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FYigitozcelep%2FPersa_Engine", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FYigitozcelep%2FPersa_Engine'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 2d4568a1f5d019d96b4a52b3adc213b0013d113f [INFO] checking Yigitozcelep/Persa_Engine/2d4568a1f5d019d96b4a52b3adc213b0013d113f against master#f609b7e0586f81fefb3523e3e17adf779ac416be for pr-129466-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FYigitozcelep%2FPersa_Engine" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Yigitozcelep/Persa_Engine on toolchain f609b7e0586f81fefb3523e3e17adf779ac416be [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Yigitozcelep/Persa_Engine [INFO] finished tweaking git repo https://github.com/Yigitozcelep/Persa_Engine [INFO] tweaked toml for git repo https://github.com/Yigitozcelep/Persa_Engine written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/Yigitozcelep/Persa_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" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e8f40bad52ffe6ee53f4450a5d683405876d7eb8f3bc48590df81ef5676ab49b [INFO] running `Command { std: "docker" "start" "-a" "e8f40bad52ffe6ee53f4450a5d683405876d7eb8f3bc48590df81ef5676ab49b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e8f40bad52ffe6ee53f4450a5d683405876d7eb8f3bc48590df81ef5676ab49b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e8f40bad52ffe6ee53f4450a5d683405876d7eb8f3bc48590df81ef5676ab49b", kill_on_drop: false }` [INFO] [stdout] e8f40bad52ffe6ee53f4450a5d683405876d7eb8f3bc48590df81ef5676ab49b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a253dd0473236115594b2c744d27bd66c8cc0e6c4629264cba393b55caea3ee7 [INFO] running `Command { std: "docker" "start" "-a" "a253dd0473236115594b2c744d27bd66c8cc0e6c4629264cba393b55caea3ee7", kill_on_drop: false }` [INFO] [stderr] Checking persa_chess v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/pieces/tables.rs:135:50 [INFO] [stdout] | [INFO] [stdout] 135 | unsafe {generate_slider_moves(square, board, &BISHOP_ATTACKS, &BISHOP_MAGICS, &BISHOP_TABLE, &BISHOP_MOVES_COUNTS)} [INFO] [stdout] | ^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] = note: `#[warn(static_mut_refs)]` on by default [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 135 | unsafe {generate_slider_moves(square, board, addr_of!(BISHOP_ATTACKS), &BISHOP_MAGICS, &BISHOP_TABLE, &BISHOP_MOVES_COUNTS)} [INFO] [stdout] | ~~~~~~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/pieces/tables.rs:135:50 [INFO] [stdout] | [INFO] [stdout] 135 | unsafe {generate_slider_moves(square, board, &BISHOP_ATTACKS, &BISHOP_MAGICS, &BISHOP_TABLE, &BISHOP_MOVES_COUNTS)} [INFO] [stdout] | ^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] = note: `#[warn(static_mut_refs)]` on by default [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 135 | unsafe {generate_slider_moves(square, board, addr_of!(BISHOP_ATTACKS), &BISHOP_MAGICS, &BISHOP_TABLE, &BISHOP_MOVES_COUNTS)} [INFO] [stdout] | ~~~~~~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/pieces/tables.rs:135:83 [INFO] [stdout] | [INFO] [stdout] 135 | unsafe {generate_slider_moves(square, board, &BISHOP_ATTACKS, &BISHOP_MAGICS, &BISHOP_TABLE, &BISHOP_MOVES_COUNTS)} [INFO] [stdout] | ^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 135 | unsafe {generate_slider_moves(square, board, &BISHOP_ATTACKS, &BISHOP_MAGICS, addr_of!(BISHOP_TABLE), &BISHOP_MOVES_COUNTS)} [INFO] [stdout] | ~~~~~~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/pieces/tables.rs:135:83 [INFO] [stdout] | [INFO] [stdout] 135 | unsafe {generate_slider_moves(square, board, &BISHOP_ATTACKS, &BISHOP_MAGICS, &BISHOP_TABLE, &BISHOP_MOVES_COUNTS)} [INFO] [stdout] | ^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 135 | unsafe {generate_slider_moves(square, board, &BISHOP_ATTACKS, &BISHOP_MAGICS, addr_of!(BISHOP_TABLE), &BISHOP_MOVES_COUNTS)} [INFO] [stdout] | ~~~~~~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/pieces/tables.rs:139:37 [INFO] [stdout] | [INFO] [stdout] 139 | unsafe {initialize_slider_table(&mut BISHOP_TABLE, &BISHOP_MAGICS, mask_bishop_attacks, bishop_attacks_on_fly);} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior [INFO] [stdout] help: use `addr_of_mut!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 139 | unsafe {initialize_slider_table(addr_of_mut!(BISHOP_TABLE), &BISHOP_MAGICS, mask_bishop_attacks, bishop_attacks_on_fly);} [INFO] [stdout] | ~~~~~~~~~~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/pieces/tables.rs:139:37 [INFO] [stdout] | [INFO] [stdout] 139 | unsafe {initialize_slider_table(&mut BISHOP_TABLE, &BISHOP_MAGICS, mask_bishop_attacks, bishop_attacks_on_fly);} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior [INFO] [stdout] help: use `addr_of_mut!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 139 | unsafe {initialize_slider_table(addr_of_mut!(BISHOP_TABLE), &BISHOP_MAGICS, mask_bishop_attacks, bishop_attacks_on_fly);} [INFO] [stdout] | ~~~~~~~~~~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/pieces/tables.rs:140:60 [INFO] [stdout] | [INFO] [stdout] 140 | unsafe {initialize_slider_attacks(mask_bishop_attacks, &mut BISHOP_ATTACKS)} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior [INFO] [stdout] help: use `addr_of_mut!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 140 | unsafe {initialize_slider_attacks(mask_bishop_attacks, addr_of_mut!(BISHOP_ATTACKS))} [INFO] [stdout] | ~~~~~~~~~~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/pieces/tables.rs:140:60 [INFO] [stdout] | [INFO] [stdout] 140 | unsafe {initialize_slider_attacks(mask_bishop_attacks, &mut BISHOP_ATTACKS)} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior [INFO] [stdout] help: use `addr_of_mut!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 140 | unsafe {initialize_slider_attacks(mask_bishop_attacks, addr_of_mut!(BISHOP_ATTACKS))} [INFO] [stdout] | ~~~~~~~~~~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/pieces/tables.rs:264:50 [INFO] [stdout] | [INFO] [stdout] 264 | unsafe {generate_slider_moves(square, board, &ROOK_ATTACKS, &ROOK_MAGICS, &ROOK_TABLE, &ROOK_MOVES_COUNTS)} [INFO] [stdout] | ^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 264 | unsafe {generate_slider_moves(square, board, addr_of!(ROOK_ATTACKS), &ROOK_MAGICS, &ROOK_TABLE, &ROOK_MOVES_COUNTS)} [INFO] [stdout] | ~~~~~~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/pieces/tables.rs:264:79 [INFO] [stdout] | [INFO] [stdout] 264 | unsafe {generate_slider_moves(square, board, &ROOK_ATTACKS, &ROOK_MAGICS, &ROOK_TABLE, &ROOK_MOVES_COUNTS)} [INFO] [stdout] | ^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 264 | unsafe {generate_slider_moves(square, board, &ROOK_ATTACKS, &ROOK_MAGICS, addr_of!(ROOK_TABLE), &ROOK_MOVES_COUNTS)} [INFO] [stdout] | ~~~~~~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/pieces/tables.rs:268:37 [INFO] [stdout] | [INFO] [stdout] 268 | unsafe {initialize_slider_table(&mut ROOK_TABLE, &ROOK_MAGICS, mask_rook_attacks, rook_attacks_on_fly);} [INFO] [stdout] | ^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior [INFO] [stdout] help: use `addr_of_mut!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 268 | unsafe {initialize_slider_table(addr_of_mut!(ROOK_TABLE), &ROOK_MAGICS, mask_rook_attacks, rook_attacks_on_fly);} [INFO] [stdout] | ~~~~~~~~~~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/pieces/tables.rs:269:58 [INFO] [stdout] | [INFO] [stdout] 269 | unsafe {initialize_slider_attacks(mask_rook_attacks, &mut ROOK_ATTACKS)} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior [INFO] [stdout] help: use `addr_of_mut!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 269 | unsafe {initialize_slider_attacks(mask_rook_attacks, addr_of_mut!(ROOK_ATTACKS))} [INFO] [stdout] | ~~~~~~~~~~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/pieces/tables.rs:264:50 [INFO] [stdout] | [INFO] [stdout] 264 | unsafe {generate_slider_moves(square, board, &ROOK_ATTACKS, &ROOK_MAGICS, &ROOK_TABLE, &ROOK_MOVES_COUNTS)} [INFO] [stdout] | ^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 264 | unsafe {generate_slider_moves(square, board, addr_of!(ROOK_ATTACKS), &ROOK_MAGICS, &ROOK_TABLE, &ROOK_MOVES_COUNTS)} [INFO] [stdout] | ~~~~~~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/pieces/tables.rs:264:79 [INFO] [stdout] | [INFO] [stdout] 264 | unsafe {generate_slider_moves(square, board, &ROOK_ATTACKS, &ROOK_MAGICS, &ROOK_TABLE, &ROOK_MOVES_COUNTS)} [INFO] [stdout] | ^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 264 | unsafe {generate_slider_moves(square, board, &ROOK_ATTACKS, &ROOK_MAGICS, addr_of!(ROOK_TABLE), &ROOK_MOVES_COUNTS)} [INFO] [stdout] | ~~~~~~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/pieces/tables.rs:268:37 [INFO] [stdout] | [INFO] [stdout] 268 | unsafe {initialize_slider_table(&mut ROOK_TABLE, &ROOK_MAGICS, mask_rook_attacks, rook_attacks_on_fly);} [INFO] [stdout] | ^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior [INFO] [stdout] help: use `addr_of_mut!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 268 | unsafe {initialize_slider_table(addr_of_mut!(ROOK_TABLE), &ROOK_MAGICS, mask_rook_attacks, rook_attacks_on_fly);} [INFO] [stdout] | ~~~~~~~~~~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/pieces/tables.rs:269:58 [INFO] [stdout] | [INFO] [stdout] 269 | unsafe {initialize_slider_attacks(mask_rook_attacks, &mut ROOK_ATTACKS)} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior [INFO] [stdout] help: use `addr_of_mut!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 269 | unsafe {initialize_slider_attacks(mask_rook_attacks, addr_of_mut!(ROOK_ATTACKS))} [INFO] [stdout] | ~~~~~~~~~~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/pieces/tables.rs:135:50 [INFO] [stdout] | [INFO] [stdout] 135 | unsafe {generate_slider_moves(square, board, &BISHOP_ATTACKS, &BISHOP_MAGICS, &BISHOP_TABLE, &BISHOP_MOVES_COUNTS)} [INFO] [stdout] | ^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] = note: `#[warn(static_mut_refs)]` on by default [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 135 | unsafe {generate_slider_moves(square, board, addr_of!(BISHOP_ATTACKS), &BISHOP_MAGICS, &BISHOP_TABLE, &BISHOP_MOVES_COUNTS)} [INFO] [stdout] | ~~~~~~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/pieces/tables.rs:135:83 [INFO] [stdout] | [INFO] [stdout] 135 | unsafe {generate_slider_moves(square, board, &BISHOP_ATTACKS, &BISHOP_MAGICS, &BISHOP_TABLE, &BISHOP_MOVES_COUNTS)} [INFO] [stdout] | ^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 135 | unsafe {generate_slider_moves(square, board, &BISHOP_ATTACKS, &BISHOP_MAGICS, addr_of!(BISHOP_TABLE), &BISHOP_MOVES_COUNTS)} [INFO] [stdout] | ~~~~~~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/pieces/tables.rs:139:37 [INFO] [stdout] | [INFO] [stdout] 139 | unsafe {initialize_slider_table(&mut BISHOP_TABLE, &BISHOP_MAGICS, mask_bishop_attacks, bishop_attacks_on_fly);} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior [INFO] [stdout] help: use `addr_of_mut!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 139 | unsafe {initialize_slider_table(addr_of_mut!(BISHOP_TABLE), &BISHOP_MAGICS, mask_bishop_attacks, bishop_attacks_on_fly);} [INFO] [stdout] | ~~~~~~~~~~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/pieces/tables.rs:140:60 [INFO] [stdout] | [INFO] [stdout] 140 | unsafe {initialize_slider_attacks(mask_bishop_attacks, &mut BISHOP_ATTACKS)} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior [INFO] [stdout] help: use `addr_of_mut!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 140 | unsafe {initialize_slider_attacks(mask_bishop_attacks, addr_of_mut!(BISHOP_ATTACKS))} [INFO] [stdout] | ~~~~~~~~~~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/pieces/tables.rs:135:50 [INFO] [stdout] | [INFO] [stdout] 135 | unsafe {generate_slider_moves(square, board, &BISHOP_ATTACKS, &BISHOP_MAGICS, &BISHOP_TABLE, &BISHOP_MOVES_COUNTS)} [INFO] [stdout] | ^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] = note: `#[warn(static_mut_refs)]` on by default [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 135 | unsafe {generate_slider_moves(square, board, addr_of!(BISHOP_ATTACKS), &BISHOP_MAGICS, &BISHOP_TABLE, &BISHOP_MOVES_COUNTS)} [INFO] [stdout] | ~~~~~~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/pieces/tables.rs:135:83 [INFO] [stdout] | [INFO] [stdout] 135 | unsafe {generate_slider_moves(square, board, &BISHOP_ATTACKS, &BISHOP_MAGICS, &BISHOP_TABLE, &BISHOP_MOVES_COUNTS)} [INFO] [stdout] | ^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 135 | unsafe {generate_slider_moves(square, board, &BISHOP_ATTACKS, &BISHOP_MAGICS, addr_of!(BISHOP_TABLE), &BISHOP_MOVES_COUNTS)} [INFO] [stdout] | ~~~~~~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/pieces/tables.rs:139:37 [INFO] [stdout] | [INFO] [stdout] 139 | unsafe {initialize_slider_table(&mut BISHOP_TABLE, &BISHOP_MAGICS, mask_bishop_attacks, bishop_attacks_on_fly);} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior [INFO] [stdout] help: use `addr_of_mut!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 139 | unsafe {initialize_slider_table(addr_of_mut!(BISHOP_TABLE), &BISHOP_MAGICS, mask_bishop_attacks, bishop_attacks_on_fly);} [INFO] [stdout] | ~~~~~~~~~~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/pieces/tables.rs:140:60 [INFO] [stdout] | [INFO] [stdout] 140 | unsafe {initialize_slider_attacks(mask_bishop_attacks, &mut BISHOP_ATTACKS)} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior [INFO] [stdout] help: use `addr_of_mut!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 140 | unsafe {initialize_slider_attacks(mask_bishop_attacks, addr_of_mut!(BISHOP_ATTACKS))} [INFO] [stdout] | ~~~~~~~~~~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/pieces/tables.rs:264:50 [INFO] [stdout] | [INFO] [stdout] 264 | unsafe {generate_slider_moves(square, board, &ROOK_ATTACKS, &ROOK_MAGICS, &ROOK_TABLE, &ROOK_MOVES_COUNTS)} [INFO] [stdout] | ^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 264 | unsafe {generate_slider_moves(square, board, addr_of!(ROOK_ATTACKS), &ROOK_MAGICS, &ROOK_TABLE, &ROOK_MOVES_COUNTS)} [INFO] [stdout] | ~~~~~~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/pieces/tables.rs:264:79 [INFO] [stdout] | [INFO] [stdout] 264 | unsafe {generate_slider_moves(square, board, &ROOK_ATTACKS, &ROOK_MAGICS, &ROOK_TABLE, &ROOK_MOVES_COUNTS)} [INFO] [stdout] | ^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 264 | unsafe {generate_slider_moves(square, board, &ROOK_ATTACKS, &ROOK_MAGICS, addr_of!(ROOK_TABLE), &ROOK_MOVES_COUNTS)} [INFO] [stdout] | ~~~~~~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/pieces/tables.rs:268:37 [INFO] [stdout] | [INFO] [stdout] 268 | unsafe {initialize_slider_table(&mut ROOK_TABLE, &ROOK_MAGICS, mask_rook_attacks, rook_attacks_on_fly);} [INFO] [stdout] | ^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior [INFO] [stdout] help: use `addr_of_mut!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 268 | unsafe {initialize_slider_table(addr_of_mut!(ROOK_TABLE), &ROOK_MAGICS, mask_rook_attacks, rook_attacks_on_fly);} [INFO] [stdout] | ~~~~~~~~~~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/pieces/tables.rs:269:58 [INFO] [stdout] | [INFO] [stdout] 269 | unsafe {initialize_slider_attacks(mask_rook_attacks, &mut ROOK_ATTACKS)} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior [INFO] [stdout] help: use `addr_of_mut!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 269 | unsafe {initialize_slider_attacks(mask_rook_attacks, addr_of_mut!(ROOK_ATTACKS))} [INFO] [stdout] | ~~~~~~~~~~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/pieces/tables.rs:264:50 [INFO] [stdout] | [INFO] [stdout] 264 | unsafe {generate_slider_moves(square, board, &ROOK_ATTACKS, &ROOK_MAGICS, &ROOK_TABLE, &ROOK_MOVES_COUNTS)} [INFO] [stdout] | ^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 264 | unsafe {generate_slider_moves(square, board, addr_of!(ROOK_ATTACKS), &ROOK_MAGICS, &ROOK_TABLE, &ROOK_MOVES_COUNTS)} [INFO] [stdout] | ~~~~~~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/pieces/tables.rs:264:79 [INFO] [stdout] | [INFO] [stdout] 264 | unsafe {generate_slider_moves(square, board, &ROOK_ATTACKS, &ROOK_MAGICS, &ROOK_TABLE, &ROOK_MOVES_COUNTS)} [INFO] [stdout] | ^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 264 | unsafe {generate_slider_moves(square, board, &ROOK_ATTACKS, &ROOK_MAGICS, addr_of!(ROOK_TABLE), &ROOK_MOVES_COUNTS)} [INFO] [stdout] | ~~~~~~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/pieces/tables.rs:268:37 [INFO] [stdout] | [INFO] [stdout] 268 | unsafe {initialize_slider_table(&mut ROOK_TABLE, &ROOK_MAGICS, mask_rook_attacks, rook_attacks_on_fly);} [INFO] [stdout] | ^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior [INFO] [stdout] help: use `addr_of_mut!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 268 | unsafe {initialize_slider_table(addr_of_mut!(ROOK_TABLE), &ROOK_MAGICS, mask_rook_attacks, rook_attacks_on_fly);} [INFO] [stdout] | ~~~~~~~~~~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/pieces/tables.rs:269:58 [INFO] [stdout] | [INFO] [stdout] 269 | unsafe {initialize_slider_attacks(mask_rook_attacks, &mut ROOK_ATTACKS)} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior [INFO] [stdout] help: use `addr_of_mut!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 269 | unsafe {initialize_slider_attacks(mask_rook_attacks, addr_of_mut!(ROOK_ATTACKS))} [INFO] [stdout] | ~~~~~~~~~~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.45s [INFO] running `Command { std: "docker" "inspect" "a253dd0473236115594b2c744d27bd66c8cc0e6c4629264cba393b55caea3ee7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a253dd0473236115594b2c744d27bd66c8cc0e6c4629264cba393b55caea3ee7", kill_on_drop: false }` [INFO] [stdout] a253dd0473236115594b2c744d27bd66c8cc0e6c4629264cba393b55caea3ee7