[INFO] cloning repository https://github.com/SanderMoon/SuperRusty [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/SanderMoon/SuperRusty" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSanderMoon%2FSuperRusty", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSanderMoon%2FSuperRusty'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] a9304203d838c6aaa5ebaed90995aa6c7838172f [INFO] checking SanderMoon/SuperRusty/a9304203d838c6aaa5ebaed90995aa6c7838172f against try#ccf408f4326a858c00dd845a64a86b16f360a801 for pr-129466-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSanderMoon%2FSuperRusty" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/SanderMoon/SuperRusty on toolchain ccf408f4326a858c00dd845a64a86b16f360a801 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/SanderMoon/SuperRusty [INFO] finished tweaking git repo https://github.com/SanderMoon/SuperRusty [INFO] tweaked toml for git repo https://github.com/SanderMoon/SuperRusty written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/SanderMoon/SuperRusty 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" "+ccf408f4326a858c00dd845a64a86b16f360a801" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d6897f13de6d39d529b013758b3f23f0adeded53b1f52a3da9ad41ff0ef49a9d [INFO] running `Command { std: "docker" "start" "-a" "d6897f13de6d39d529b013758b3f23f0adeded53b1f52a3da9ad41ff0ef49a9d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d6897f13de6d39d529b013758b3f23f0adeded53b1f52a3da9ad41ff0ef49a9d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d6897f13de6d39d529b013758b3f23f0adeded53b1f52a3da9ad41ff0ef49a9d", kill_on_drop: false }` [INFO] [stdout] d6897f13de6d39d529b013758b3f23f0adeded53b1f52a3da9ad41ff0ef49a9d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-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" "+ccf408f4326a858c00dd845a64a86b16f360a801" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 03fa4fbdc4b572734c533faa7454d3efeb8d5536eb48bc97e73cb3c90c57a6e7 [INFO] running `Command { std: "docker" "start" "-a" "03fa4fbdc4b572734c533faa7454d3efeb8d5536eb48bc97e73cb3c90c57a6e7", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] Migrating Cargo.toml from 2021 edition to 2024 [INFO] [stderr] Compiling libc v0.2.139 [INFO] [stderr] Compiling crossbeam-utils v0.8.14 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Compiling rayon-core v1.10.2 [INFO] [stderr] Checking ppv-lite86 v0.2.17 [INFO] [stderr] Checking either v1.8.1 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling memoffset v0.7.1 [INFO] [stderr] Compiling crossbeam-epoch v0.9.13 [INFO] [stderr] Checking crossbeam-channel v0.5.6 [INFO] [stderr] Checking crossbeam-deque v0.8.2 [INFO] [stderr] Checking getrandom v0.2.8 [INFO] [stderr] Checking num_cpus v1.15.0 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking rayon v1.6.1 [INFO] [stderr] Checking super_rusty v0.1.0 (/tmp/fixit) [INFO] [stderr] Migrating src/main.rs from 2021 edition to 2024 [INFO] [stderr] Fixed src/movesets/magic_bitboards.rs (3 fixes) [INFO] [stderr] Fixed src/chess/visualization.rs (1 fix) [INFO] [stdout] warning: value assigned to `single_pushes` is never read [INFO] [stdout] --> src/movesets/pawn.rs:104:13 [INFO] [stdout] | [INFO] [stdout] 104 | let mut single_pushes = 0; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `double_pushes` is never read [INFO] [stdout] --> src/movesets/pawn.rs:105:13 [INFO] [stdout] | [INFO] [stdout] 105 | let mut double_pushes = 0; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Castling` is never used [INFO] [stdout] --> src/chess/castling.rs:1:17 [INFO] [stdout] | [INFO] [stdout] 1 | pub(crate) enum Castling { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `active_color`, `white_king_side_castle`, `white_queen_side_castle`, `black_king_side_castle`, `black_queen_side_castle`, and `move_history` are never read [INFO] [stdout] --> src/chess/chess_board.rs:37:9 [INFO] [stdout] | [INFO] [stdout] 35 | pub(crate) struct ChessBoard { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 36 | pub piece_infos: HashMap>, [INFO] [stdout] 37 | pub active_color: Color, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 38 | pub white_king_side_castle: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 39 | pub white_queen_side_castle: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 40 | pub black_king_side_castle: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 41 | pub black_queen_side_castle: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 42 | pub move_history: Vec, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> src/chess/chess_board.rs:64:10 [INFO] [stdout] | [INFO] [stdout] 46 | impl ChessBoard { [INFO] [stdout] | --------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 64 | (white_pawns_immutable, Pawn, White), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 65 | (white_rooks_immutable, Rook, White), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 66 | (white_knights_immutable, Knight, White), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 67 | (white_bishops_immutable, Bishop, White), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 68 | (white_queens_immutable, Queen, White), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 69 | (white_kings_immutable, King, White), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 70 | (black_pawns_immutable, Pawn, Black), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 71 | (black_rooks_immutable, Rook, Black), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 72 | (black_knights_immutable, Knight, Black), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 73 | (black_bishops_immutable, Bishop, Black), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 74 | (black_queens_immutable, Queen, Black), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 75 | (black_kings_immutable, King, Black), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 102 | pub(crate) fn set_active_color(&mut self, color: Color) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 106 | pub(crate) fn set_castling(&mut self, color: Color, castling: Castling) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `piece_accessors_immutable` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_pawn_attack_set` is never used [INFO] [stdout] --> src/movesets/pawn.rs:116:4 [INFO] [stdout] | [INFO] [stdout] 116 | fn get_pawn_attack_set(last_move: &Move, pawn_positions: u64, opponent_pieces: u64, color: Color) -> u64{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Fixed src/movesets/rook.rs (1 fix) [INFO] [stderr] Fixed src/movesets/knight.rs (2 fixes) [INFO] [stderr] Fixed src/movesets/pawn.rs (2 fixes) [INFO] [stderr] Fixed src/movesets/bishop.rs (1 fix) [INFO] [stderr] Fixed src/movesets/queen.rs (2 fixes) [INFO] [stderr] Fixed src/movesets/magic_bitboards.rs (1 fix) [INFO] [stderr] Fixed src/movesets/king.rs (2 fixes) [INFO] [stdout] warning: value assigned to `single_pushes` is never read [INFO] [stdout] --> src/movesets/pawn.rs:104:13 [INFO] [stdout] | [INFO] [stdout] 104 | let mut single_pushes = 0; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `double_pushes` is never read [INFO] [stdout] --> src/movesets/pawn.rs:105:13 [INFO] [stdout] | [INFO] [stdout] 105 | let mut double_pushes = 0; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SinglePieceInfo` is never constructed [INFO] [stdout] --> src/chess/piece.rs:127:19 [INFO] [stdout] | [INFO] [stdout] 127 | pub(crate) struct SinglePieceInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `piece_type`, `old_position`, and `new_position` are never read [INFO] [stdout] --> src/chess/chess_move.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 3 | pub(crate) struct Move { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 4 | pub piece_type:PieceType, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 5 | pub old_position: u64, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 6 | pub new_position: u64 [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Castling` is never used [INFO] [stdout] --> src/chess/castling.rs:1:17 [INFO] [stdout] | [INFO] [stdout] 1 | pub(crate) enum Castling { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `active_color`, `white_king_side_castle`, `white_queen_side_castle`, `black_king_side_castle`, `black_queen_side_castle`, and `move_history` are never read [INFO] [stdout] --> src/chess/chess_board.rs:37:9 [INFO] [stdout] | [INFO] [stdout] 35 | pub(crate) struct ChessBoard { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 36 | pub piece_infos: HashMap>, [INFO] [stdout] 37 | pub active_color: Color, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 38 | pub white_king_side_castle: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 39 | pub white_queen_side_castle: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 40 | pub black_king_side_castle: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 41 | pub black_queen_side_castle: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 42 | pub move_history: Vec, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> src/chess/chess_board.rs:49:10 [INFO] [stdout] | [INFO] [stdout] 46 | impl ChessBoard { [INFO] [stdout] | --------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 49 | (white_pawns, Pawn, White), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 50 | (white_rooks, Rook, White), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 51 | (white_knights, Knight, White), [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 52 | (white_bishops, Bishop, White), [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 53 | (white_queens, Queen, White), [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 54 | (white_kings, King, White), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 55 | (black_pawns, Pawn, Black), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 56 | (black_rooks, Rook, Black), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 57 | (black_knights, Knight, Black), [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 58 | (black_bishops, Bishop, Black), [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 59 | (black_queens, Queen, Black), [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 60 | (black_kings, King, Black), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 64 | (white_pawns_immutable, Pawn, White), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 65 | (white_rooks_immutable, Rook, White), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 66 | (white_knights_immutable, Knight, White), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 67 | (white_bishops_immutable, Bishop, White), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 68 | (white_queens_immutable, Queen, White), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 69 | (white_kings_immutable, King, White), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 70 | (black_pawns_immutable, Pawn, Black), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 71 | (black_rooks_immutable, Rook, Black), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 72 | (black_knights_immutable, Knight, Black), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 73 | (black_bishops_immutable, Bishop, Black), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 74 | (black_queens_immutable, Queen, Black), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 75 | (black_kings_immutable, King, Black), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 94 | pub(crate) fn set_square(&mut self, piece_info: SinglePieceInfo) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 102 | pub(crate) fn set_active_color(&mut self, color: Color) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 106 | pub(crate) fn set_castling(&mut self, color: Color, castling: Castling) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 126 | pub fn get_mutable_piece_info(&mut self, piece_type: PieceType, color: Color) -> &mut PieceInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `piece_accessors` which comes from the expansion of the macro `piece_accessors_immutable` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_empty_squares` is never used [INFO] [stdout] --> src/chess/chess_board.rs:174:4 [INFO] [stdout] | [INFO] [stdout] 174 | fn get_empty_squares(chessboard : &mut ChessBoard) -> u64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_white_pieces` is never used [INFO] [stdout] --> src/chess/chess_board.rs:179:4 [INFO] [stdout] | [INFO] [stdout] 179 | fn get_white_pieces(chessboard : &mut ChessBoard) -> u64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_black_pieces` is never used [INFO] [stdout] --> src/chess/chess_board.rs:189:4 [INFO] [stdout] | [INFO] [stdout] 189 | fn get_black_pieces(chessboard : &mut ChessBoard) -> u64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `knight_move_nnw` is never used [INFO] [stdout] --> src/movesets/knight.rs:6:4 [INFO] [stdout] | [INFO] [stdout] 6 | fn knight_move_nnw(knight_position: u64) -> u64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `knight_move_nww` is never used [INFO] [stdout] --> src/movesets/knight.rs:11:4 [INFO] [stdout] | [INFO] [stdout] 11 | fn knight_move_nww(knight_position: u64) -> u64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `knight_move_nne` is never used [INFO] [stdout] --> src/movesets/knight.rs:16:4 [INFO] [stdout] | [INFO] [stdout] 16 | fn knight_move_nne(knight_position: u64) -> u64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `knight_move_nee` is never used [INFO] [stdout] --> src/movesets/knight.rs:21:4 [INFO] [stdout] | [INFO] [stdout] 21 | fn knight_move_nee(knight_position: u64) -> u64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `knight_move_sww` is never used [INFO] [stdout] --> src/movesets/knight.rs:26:4 [INFO] [stdout] | [INFO] [stdout] 26 | fn knight_move_sww(knight_position: u64) -> u64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `knight_move_ssw` is never used [INFO] [stdout] --> src/movesets/knight.rs:31:4 [INFO] [stdout] | [INFO] [stdout] 31 | fn knight_move_ssw(knight_position: u64) -> u64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `knight_move_see` is never used [INFO] [stdout] --> src/movesets/knight.rs:36:4 [INFO] [stdout] | [INFO] [stdout] 36 | fn knight_move_see(knight_position: u64) -> u64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `knight_move_sse` is never used [INFO] [stdout] --> src/movesets/knight.rs:41:4 [INFO] [stdout] | [INFO] [stdout] 41 | fn knight_move_sse(knight_position: u64) -> u64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `all_knight_moves` is never used [INFO] [stdout] --> src/movesets/knight.rs:46:4 [INFO] [stdout] | [INFO] [stdout] 46 | fn all_knight_moves(knight_position: u64) -> u64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_knight_soft_moves` is never used [INFO] [stdout] --> src/movesets/knight.rs:51:4 [INFO] [stdout] | [INFO] [stdout] 51 | fn get_knight_soft_moves(all_knight_moves: u64, empty_squares: u64) -> u64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_knight_attacks` is never used [INFO] [stdout] --> src/movesets/knight.rs:55:4 [INFO] [stdout] | [INFO] [stdout] 55 | fn get_knight_attacks(all_knight_moves: u64, opponent_pieces: u64) -> u64{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `set_moves_attacks_knights` is never used [INFO] [stdout] --> src/movesets/knight.rs:59:4 [INFO] [stdout] | [INFO] [stdout] 59 | fn set_moves_attacks_knights(knights: &mut PieceInfo, opponent_pieces: u64, empty_squares: u64){ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `bishop_move` is never used [INFO] [stdout] --> src/movesets/bishop.rs:4:15 [INFO] [stdout] | [INFO] [stdout] 4 | pub(crate) fn bishop_move(square : u64, occupancy : u64 ) -> u64{ [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `king_move_east` is never used [INFO] [stdout] --> src/movesets/king.rs:6:4 [INFO] [stdout] | [INFO] [stdout] 6 | fn king_move_east(king_position : u64) -> u64{ [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `king_move_west` is never used [INFO] [stdout] --> src/movesets/king.rs:11:4 [INFO] [stdout] | [INFO] [stdout] 11 | fn king_move_west(king_position : u64) -> u64{ [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `king_moves_north` is never used [INFO] [stdout] --> src/movesets/king.rs:16:4 [INFO] [stdout] | [INFO] [stdout] 16 | fn king_moves_north(king_position_ew : u64) -> u64{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `king_moves_south` is never used [INFO] [stdout] --> src/movesets/king.rs:21:4 [INFO] [stdout] | [INFO] [stdout] 21 | fn king_moves_south(king_position_ew : u64) -> u64{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `all_king_moves` is never used [INFO] [stdout] --> src/movesets/king.rs:26:4 [INFO] [stdout] | [INFO] [stdout] 26 | fn all_king_moves(king_position : u64) -> u64{ [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_king_soft_moves` is never used [INFO] [stdout] --> src/movesets/king.rs:32:4 [INFO] [stdout] | [INFO] [stdout] 32 | fn get_king_soft_moves(all_king_moves: u64, empty_squares: u64) -> u64{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_king_attacks` is never used [INFO] [stdout] --> src/movesets/king.rs:36:4 [INFO] [stdout] | [INFO] [stdout] 36 | fn get_king_attacks(all_king_moves: u64, opponent_pieces: u64) -> u64{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `set_moves_attacks_kings` is never used [INFO] [stdout] --> src/movesets/king.rs:40:4 [INFO] [stdout] | [INFO] [stdout] 40 | fn set_moves_attacks_kings(king: &mut PieceInfo, opponent_pieces: u64, empty_squares: u64){ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `FORWARD` is never used [INFO] [stdout] --> src/movesets/pawn.rs:7:7 [INFO] [stdout] | [INFO] [stdout] 7 | const FORWARD: u8 = 8; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `FORWARD_RIGHT` is never used [INFO] [stdout] --> src/movesets/pawn.rs:8:7 [INFO] [stdout] | [INFO] [stdout] 8 | const FORWARD_RIGHT: u8 = 7; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `FORWARD_LEFT` is never used [INFO] [stdout] --> src/movesets/pawn.rs:9:7 [INFO] [stdout] | [INFO] [stdout] 9 | const FORWARD_LEFT: u8 = 9; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `white_pawn_single_push` is never used [INFO] [stdout] --> src/movesets/pawn.rs:16:4 [INFO] [stdout] | [INFO] [stdout] 16 | fn white_pawn_single_push(pawn_positions: u64, empty_squares: u64) -> u64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `white_pawn_double_push` is never used [INFO] [stdout] --> src/movesets/pawn.rs:22:4 [INFO] [stdout] | [INFO] [stdout] 22 | fn white_pawn_double_push(pawns: u64, empty_squares: u64) -> u64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `white_pawn_attacks` is never used [INFO] [stdout] --> src/movesets/pawn.rs:28:4 [INFO] [stdout] | [INFO] [stdout] 28 | fn white_pawn_attacks(pawn_positions: u64, opponent_pieces: u64) -> u64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `white_en_passant_calculation` is never used [INFO] [stdout] --> src/movesets/pawn.rs:41:4 [INFO] [stdout] | [INFO] [stdout] 41 | fn white_en_passant_calculation(last_move: &Move, pawn_positions: u64) -> u64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `black_pawn_single_push` is never used [INFO] [stdout] --> src/movesets/pawn.rs:60:4 [INFO] [stdout] | [INFO] [stdout] 60 | fn black_pawn_single_push(pawn_positions: u64, empty_squares: u64) -> u64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `black_pawn_double_push` is never used [INFO] [stdout] --> src/movesets/pawn.rs:66:4 [INFO] [stdout] | [INFO] [stdout] 66 | fn black_pawn_double_push(pawns: u64, empty_squares: u64) -> u64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `black_pawn_attacks` is never used [INFO] [stdout] --> src/movesets/pawn.rs:72:4 [INFO] [stdout] | [INFO] [stdout] 72 | fn black_pawn_attacks(pawn_positions: u64, opponent_pieces: u64) -> u64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `black_en_passant_calculation` is never used [INFO] [stdout] --> src/movesets/pawn.rs:85:4 [INFO] [stdout] | [INFO] [stdout] 85 | fn black_en_passant_calculation(last_move: &Move, pawn_positions: u64) -> u64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_pawn_moves` is never used [INFO] [stdout] --> src/movesets/pawn.rs:103:4 [INFO] [stdout] | [INFO] [stdout] 103 | fn get_pawn_moves(pawn_positions: u64, empty_squares: u64, color: Color) -> u64 { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_pawn_attack_set` is never used [INFO] [stdout] --> src/movesets/pawn.rs:116:4 [INFO] [stdout] | [INFO] [stdout] 116 | fn get_pawn_attack_set(last_move: &Move, pawn_positions: u64, opponent_pieces: u64, color: Color) -> u64{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `initialize` is never used [INFO] [stdout] --> src/movesets/magic_bitboards.rs:19:15 [INFO] [stdout] | [INFO] [stdout] 19 | pub(crate) fn initialize(){ [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `generate_all_move_patterns` is never used [INFO] [stdout] --> src/movesets/magic_bitboards.rs:255:4 [INFO] [stdout] | [INFO] [stdout] 255 | fn generate_all_move_patterns(piece_name: PieceType) -> [u64; 64] { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 3.56s [INFO] [stdout] warning: function `rook_move` is never used [INFO] [stdout] --> src/movesets/rook.rs:3:15 [INFO] [stdout] | [INFO] [stdout] 3 | pub(crate) fn rook_move(square : u64, occupancy : u64 ) -> u64{ [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `queen_move` is never used [INFO] [stdout] --> src/movesets/queen.rs:4:15 [INFO] [stdout] | [INFO] [stdout] 4 | pub(crate) fn queen_move(square : u64, occupancy : u64 ) -> u64{ [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 48 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Running `cargo check` to verify 2024 [INFO] [stderr] Checking super_rusty v0.1.0 (/tmp/fixit) [INFO] [stdout] warning: value assigned to `single_pushes` is never read [INFO] [stdout] --> src/movesets/pawn.rs:104:13 [INFO] [stdout] | [INFO] [stdout] 104 | let mut single_pushes = 0; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `double_pushes` is never read [INFO] [stdout] --> src/movesets/pawn.rs:105:13 [INFO] [stdout] | [INFO] [stdout] 105 | let mut double_pushes = 0; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SinglePieceInfo` is never constructed [INFO] [stdout] --> src/chess/piece.rs:127:19 [INFO] [stdout] | [INFO] [stdout] 127 | pub(crate) struct SinglePieceInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `piece_type`, `old_position`, and `new_position` are never read [INFO] [stdout] --> src/chess/chess_move.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 3 | pub(crate) struct Move { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 4 | pub piece_type:PieceType, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 5 | pub old_position: u64, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 6 | pub new_position: u64 [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Castling` is never used [INFO] [stdout] --> src/chess/castling.rs:1:17 [INFO] [stdout] | [INFO] [stdout] 1 | pub(crate) enum Castling { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `active_color`, `white_king_side_castle`, `white_queen_side_castle`, `black_king_side_castle`, `black_queen_side_castle`, and `move_history` are never read [INFO] [stdout] --> src/chess/chess_board.rs:37:9 [INFO] [stdout] | [INFO] [stdout] 35 | pub(crate) struct ChessBoard { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 36 | pub piece_infos: HashMap>, [INFO] [stdout] 37 | pub active_color: Color, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 38 | pub white_king_side_castle: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 39 | pub white_queen_side_castle: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 40 | pub black_king_side_castle: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 41 | pub black_queen_side_castle: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 42 | pub move_history: Vec, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> src/chess/chess_board.rs:49:10 [INFO] [stdout] | [INFO] [stdout] 46 | impl ChessBoard { [INFO] [stdout] | --------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 49 | (white_pawns, Pawn, White), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 50 | (white_rooks, Rook, White), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 51 | (white_knights, Knight, White), [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 52 | (white_bishops, Bishop, White), [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 53 | (white_queens, Queen, White), [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 54 | (white_kings, King, White), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 55 | (black_pawns, Pawn, Black), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 56 | (black_rooks, Rook, Black), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 57 | (black_knights, Knight, Black), [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 58 | (black_bishops, Bishop, Black), [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 59 | (black_queens, Queen, Black), [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 60 | (black_kings, King, Black), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 64 | (white_pawns_immutable, Pawn, White), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 65 | (white_rooks_immutable, Rook, White), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 66 | (white_knights_immutable, Knight, White), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 67 | (white_bishops_immutable, Bishop, White), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 68 | (white_queens_immutable, Queen, White), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 69 | (white_kings_immutable, King, White), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 70 | (black_pawns_immutable, Pawn, Black), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 71 | (black_rooks_immutable, Rook, Black), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 72 | (black_knights_immutable, Knight, Black), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 73 | (black_bishops_immutable, Bishop, Black), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 74 | (black_queens_immutable, Queen, Black), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 75 | (black_kings_immutable, King, Black), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 94 | pub(crate) fn set_square(&mut self, piece_info: SinglePieceInfo) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 102 | pub(crate) fn set_active_color(&mut self, color: Color) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 106 | pub(crate) fn set_castling(&mut self, color: Color, castling: Castling) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 126 | pub fn get_mutable_piece_info(&mut self, piece_type: PieceType, color: Color) -> &mut PieceInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `piece_accessors` which comes from the expansion of the macro `piece_accessors_immutable` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_empty_squares` is never used [INFO] [stdout] --> src/chess/chess_board.rs:174:4 [INFO] [stdout] | [INFO] [stdout] 174 | fn get_empty_squares(chessboard : &mut ChessBoard) -> u64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_white_pieces` is never used [INFO] [stdout] --> src/chess/chess_board.rs:179:4 [INFO] [stdout] | [INFO] [stdout] 179 | fn get_white_pieces(chessboard : &mut ChessBoard) -> u64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_black_pieces` is never used [INFO] [stdout] --> src/chess/chess_board.rs:189:4 [INFO] [stdout] | [INFO] [stdout] 189 | fn get_black_pieces(chessboard : &mut ChessBoard) -> u64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `knight_move_nnw` is never used [INFO] [stdout] --> src/movesets/knight.rs:6:4 [INFO] [stdout] | [INFO] [stdout] 6 | fn knight_move_nnw(knight_position: u64) -> u64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `knight_move_nww` is never used [INFO] [stdout] --> src/movesets/knight.rs:11:4 [INFO] [stdout] | [INFO] [stdout] 11 | fn knight_move_nww(knight_position: u64) -> u64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `knight_move_nne` is never used [INFO] [stdout] --> src/movesets/knight.rs:16:4 [INFO] [stdout] | [INFO] [stdout] 16 | fn knight_move_nne(knight_position: u64) -> u64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `knight_move_nee` is never used [INFO] [stdout] --> src/movesets/knight.rs:21:4 [INFO] [stdout] | [INFO] [stdout] 21 | fn knight_move_nee(knight_position: u64) -> u64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `knight_move_sww` is never used [INFO] [stdout] --> src/movesets/knight.rs:26:4 [INFO] [stdout] | [INFO] [stdout] 26 | fn knight_move_sww(knight_position: u64) -> u64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `knight_move_ssw` is never used [INFO] [stdout] --> src/movesets/knight.rs:31:4 [INFO] [stdout] | [INFO] [stdout] 31 | fn knight_move_ssw(knight_position: u64) -> u64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `knight_move_see` is never used [INFO] [stdout] --> src/movesets/knight.rs:36:4 [INFO] [stdout] | [INFO] [stdout] 36 | fn knight_move_see(knight_position: u64) -> u64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `knight_move_sse` is never used [INFO] [stdout] --> src/movesets/knight.rs:41:4 [INFO] [stdout] | [INFO] [stdout] 41 | fn knight_move_sse(knight_position: u64) -> u64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `all_knight_moves` is never used [INFO] [stdout] --> src/movesets/knight.rs:46:4 [INFO] [stdout] | [INFO] [stdout] 46 | fn all_knight_moves(knight_position: u64) -> u64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_knight_soft_moves` is never used [INFO] [stdout] --> src/movesets/knight.rs:51:4 [INFO] [stdout] | [INFO] [stdout] 51 | fn get_knight_soft_moves(all_knight_moves: u64, empty_squares: u64) -> u64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_knight_attacks` is never used [INFO] [stdout] --> src/movesets/knight.rs:55:4 [INFO] [stdout] | [INFO] [stdout] 55 | fn get_knight_attacks(all_knight_moves: u64, opponent_pieces: u64) -> u64{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `set_moves_attacks_knights` is never used [INFO] [stdout] --> src/movesets/knight.rs:59:4 [INFO] [stdout] | [INFO] [stdout] 59 | fn set_moves_attacks_knights(knights: &mut PieceInfo, opponent_pieces: u64, empty_squares: u64){ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `bishop_move` is never used [INFO] [stdout] --> src/movesets/bishop.rs:4:15 [INFO] [stdout] | [INFO] [stdout] 4 | pub(crate) fn bishop_move(square : u64, occupancy : u64 ) -> u64{ [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `king_move_east` is never used [INFO] [stdout] --> src/movesets/king.rs:6:4 [INFO] [stdout] | [INFO] [stdout] 6 | fn king_move_east(king_position : u64) -> u64{ [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `king_move_west` is never used [INFO] [stdout] --> src/movesets/king.rs:11:4 [INFO] [stdout] | [INFO] [stdout] 11 | fn king_move_west(king_position : u64) -> u64{ [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `king_moves_north` is never used [INFO] [stdout] --> src/movesets/king.rs:16:4 [INFO] [stdout] | [INFO] [stdout] 16 | fn king_moves_north(king_position_ew : u64) -> u64{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `king_moves_south` is never used [INFO] [stdout] --> src/movesets/king.rs:21:4 [INFO] [stdout] | [INFO] [stdout] 21 | fn king_moves_south(king_position_ew : u64) -> u64{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `all_king_moves` is never used [INFO] [stdout] --> src/movesets/king.rs:26:4 [INFO] [stdout] | [INFO] [stdout] 26 | fn all_king_moves(king_position : u64) -> u64{ [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_king_soft_moves` is never used [INFO] [stdout] --> src/movesets/king.rs:32:4 [INFO] [stdout] | [INFO] [stdout] 32 | fn get_king_soft_moves(all_king_moves: u64, empty_squares: u64) -> u64{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_king_attacks` is never used [INFO] [stdout] --> src/movesets/king.rs:36:4 [INFO] [stdout] | [INFO] [stdout] 36 | fn get_king_attacks(all_king_moves: u64, opponent_pieces: u64) -> u64{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `set_moves_attacks_kings` is never used [INFO] [stdout] --> src/movesets/king.rs:40:4 [INFO] [stdout] | [INFO] [stdout] 40 | fn set_moves_attacks_kings(king: &mut PieceInfo, opponent_pieces: u64, empty_squares: u64){ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `FORWARD` is never used [INFO] [stdout] --> src/movesets/pawn.rs:7:7 [INFO] [stdout] | [INFO] [stdout] 7 | const FORWARD: u8 = 8; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `FORWARD_RIGHT` is never used [INFO] [stdout] --> src/movesets/pawn.rs:8:7 [INFO] [stdout] | [INFO] [stdout] 8 | const FORWARD_RIGHT: u8 = 7; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `FORWARD_LEFT` is never used [INFO] [stdout] --> src/movesets/pawn.rs:9:7 [INFO] [stdout] | [INFO] [stdout] 9 | const FORWARD_LEFT: u8 = 9; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `white_pawn_single_push` is never used [INFO] [stdout] --> src/movesets/pawn.rs:16:4 [INFO] [stdout] | [INFO] [stdout] 16 | fn white_pawn_single_push(pawn_positions: u64, empty_squares: u64) -> u64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `white_pawn_double_push` is never used [INFO] [stdout] --> src/movesets/pawn.rs:22:4 [INFO] [stdout] | [INFO] [stdout] 22 | fn white_pawn_double_push(pawns: u64, empty_squares: u64) -> u64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `white_pawn_attacks` is never used [INFO] [stdout] --> src/movesets/pawn.rs:28:4 [INFO] [stdout] | [INFO] [stdout] 28 | fn white_pawn_attacks(pawn_positions: u64, opponent_pieces: u64) -> u64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `white_en_passant_calculation` is never used [INFO] [stdout] --> src/movesets/pawn.rs:41:4 [INFO] [stdout] | [INFO] [stdout] 41 | fn white_en_passant_calculation(last_move: &Move, pawn_positions: u64) -> u64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `black_pawn_single_push` is never used [INFO] [stdout] --> src/movesets/pawn.rs:60:4 [INFO] [stdout] | [INFO] [stdout] 60 | fn black_pawn_single_push(pawn_positions: u64, empty_squares: u64) -> u64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `black_pawn_double_push` is never used [INFO] [stdout] --> src/movesets/pawn.rs:66:4 [INFO] [stdout] | [INFO] [stdout] 66 | fn black_pawn_double_push(pawns: u64, empty_squares: u64) -> u64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `black_pawn_attacks` is never used [INFO] [stdout] --> src/movesets/pawn.rs:72:4 [INFO] [stdout] | [INFO] [stdout] 72 | fn black_pawn_attacks(pawn_positions: u64, opponent_pieces: u64) -> u64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `black_en_passant_calculation` is never used [INFO] [stdout] --> src/movesets/pawn.rs:85:4 [INFO] [stdout] | [INFO] [stdout] 85 | fn black_en_passant_calculation(last_move: &Move, pawn_positions: u64) -> u64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_pawn_moves` is never used [INFO] [stdout] --> src/movesets/pawn.rs:103:4 [INFO] [stdout] | [INFO] [stdout] 103 | fn get_pawn_moves(pawn_positions: u64, empty_squares: u64, color: Color) -> u64 { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_pawn_attack_set` is never used [INFO] [stdout] --> src/movesets/pawn.rs:116:4 [INFO] [stdout] | [INFO] [stdout] 116 | fn get_pawn_attack_set(last_move: &Move, pawn_positions: u64, opponent_pieces: u64, color: Color) -> u64{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `initialize` is never used [INFO] [stdout] --> src/movesets/magic_bitboards.rs:19:15 [INFO] [stdout] | [INFO] [stdout] 19 | pub(crate) fn initialize(){ [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `generate_all_move_patterns` is never used [INFO] [stdout] --> src/movesets/magic_bitboards.rs:255:4 [INFO] [stdout] | [INFO] [stdout] 255 | fn generate_all_move_patterns(piece_name: PieceType) -> [u64; 64] { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `rook_move` is never used [INFO] [stdout] --> src/movesets/rook.rs:3:15 [INFO] [stdout] | [INFO] [stdout] 3 | pub(crate) fn rook_move(square : u64, occupancy : u64 ) -> u64{ [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `queen_move` is never used [INFO] [stdout] --> src/movesets/queen.rs:4:15 [INFO] [stdout] | [INFO] [stdout] 4 | pub(crate) fn queen_move(square : u64, occupancy : u64 ) -> u64{ [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 48 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `knight_move_nne` in this scope [INFO] [stdout] --> src/movesets/knight.rs:73:22 [INFO] [stdout] | [INFO] [stdout] 73 | let result = knight_move_nne(knight_initial_position); [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 69 + use crate::movesets::knight::knight_move_nne; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `knight_move_nne` in this scope [INFO] [stdout] --> src/movesets/knight.rs:81:22 [INFO] [stdout] | [INFO] [stdout] 81 | let result = knight_move_nne(knight_initial_position); [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 69 + use crate::movesets::knight::knight_move_nne; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `knight_move_nne` in this scope [INFO] [stdout] --> src/movesets/knight.rs:89:22 [INFO] [stdout] | [INFO] [stdout] 89 | let result = knight_move_nne(knight_initial_position); [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 69 + use crate::movesets::knight::knight_move_nne; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `knight_move_nne` in this scope [INFO] [stdout] --> src/movesets/knight.rs:96:22 [INFO] [stdout] | [INFO] [stdout] 96 | let result = knight_move_nne(knight_initial_position); [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 69 + use crate::movesets::knight::knight_move_nne; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `knight_move_nee` in this scope [INFO] [stdout] --> src/movesets/knight.rs:104:22 [INFO] [stdout] | [INFO] [stdout] 104 | let result = knight_move_nee(knight_initial_position); [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 69 + use crate::movesets::knight::knight_move_nee; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `knight_move_nee` in this scope [INFO] [stdout] --> src/movesets/knight.rs:112:22 [INFO] [stdout] | [INFO] [stdout] 112 | let result = knight_move_nee(knight_initial_position); [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 69 + use crate::movesets::knight::knight_move_nee; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `knight_move_nee` in this scope [INFO] [stdout] --> src/movesets/knight.rs:120:22 [INFO] [stdout] | [INFO] [stdout] 120 | let result = knight_move_nee(knight_initial_position); [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 69 + use crate::movesets::knight::knight_move_nee; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `knight_move_nee` in this scope [INFO] [stdout] --> src/movesets/knight.rs:127:22 [INFO] [stdout] | [INFO] [stdout] 127 | let result = knight_move_nee(knight_initial_position); [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 69 + use crate::movesets::knight::knight_move_nee; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `knight_move_nww` in this scope [INFO] [stdout] --> src/movesets/knight.rs:134:22 [INFO] [stdout] | [INFO] [stdout] 134 | let result = knight_move_nww(knight_initial_position); [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 69 + use crate::movesets::knight::knight_move_nww; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `knight_move_nww` in this scope [INFO] [stdout] --> src/movesets/knight.rs:142:22 [INFO] [stdout] | [INFO] [stdout] 142 | let result = knight_move_nww(knight_initial_position); [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 69 + use crate::movesets::knight::knight_move_nww; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `knight_move_nww` in this scope [INFO] [stdout] --> src/movesets/knight.rs:150:22 [INFO] [stdout] | [INFO] [stdout] 150 | let result = knight_move_nww(knight_initial_position); [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 69 + use crate::movesets::knight::knight_move_nww; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `knight_move_nww` in this scope [INFO] [stdout] --> src/movesets/knight.rs:157:22 [INFO] [stdout] | [INFO] [stdout] 157 | let result = knight_move_nww(knight_initial_position); [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 69 + use crate::movesets::knight::knight_move_nww; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `knight_move_nnw` in this scope [INFO] [stdout] --> src/movesets/knight.rs:165:22 [INFO] [stdout] | [INFO] [stdout] 165 | let result = knight_move_nnw(knight_initial_position); [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 69 + use crate::movesets::knight::knight_move_nnw; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `knight_move_nnw` in this scope [INFO] [stdout] --> src/movesets/knight.rs:173:22 [INFO] [stdout] | [INFO] [stdout] 173 | let result = knight_move_nnw(knight_initial_position); [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 69 + use crate::movesets::knight::knight_move_nnw; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `knight_move_nnw` in this scope [INFO] [stdout] --> src/movesets/knight.rs:181:22 [INFO] [stdout] | [INFO] [stdout] 181 | let result = knight_move_nnw(knight_initial_position); [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 69 + use crate::movesets::knight::knight_move_nnw; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `knight_move_nnw` in this scope [INFO] [stdout] --> src/movesets/knight.rs:188:22 [INFO] [stdout] | [INFO] [stdout] 188 | let result = knight_move_nnw(knight_initial_position); [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 69 + use crate::movesets::knight::knight_move_nnw; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `knight_move_sse` in this scope [INFO] [stdout] --> src/movesets/knight.rs:196:22 [INFO] [stdout] | [INFO] [stdout] 196 | let result = knight_move_sse(knight_initial_position); [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 69 + use crate::movesets::knight::knight_move_sse; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `knight_move_sse` in this scope [INFO] [stdout] --> src/movesets/knight.rs:204:22 [INFO] [stdout] | [INFO] [stdout] 204 | let result = knight_move_sse(knight_initial_position); [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 69 + use crate::movesets::knight::knight_move_sse; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `knight_move_sse` in this scope [INFO] [stdout] --> src/movesets/knight.rs:212:22 [INFO] [stdout] | [INFO] [stdout] 212 | let result = knight_move_sse(knight_initial_position); [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 69 + use crate::movesets::knight::knight_move_sse; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `knight_move_sse` in this scope [INFO] [stdout] --> src/movesets/knight.rs:219:22 [INFO] [stdout] | [INFO] [stdout] 219 | let result = knight_move_sse(knight_initial_position); [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 69 + use crate::movesets::knight::knight_move_sse; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `knight_move_see` in this scope [INFO] [stdout] --> src/movesets/knight.rs:227:22 [INFO] [stdout] | [INFO] [stdout] 227 | let result = knight_move_see(knight_initial_position); [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 69 + use crate::movesets::knight::knight_move_see; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `knight_move_see` in this scope [INFO] [stdout] --> src/movesets/knight.rs:235:22 [INFO] [stdout] | [INFO] [stdout] 235 | let result = knight_move_see(knight_initial_position); [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 69 + use crate::movesets::knight::knight_move_see; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `knight_move_see` in this scope [INFO] [stdout] --> src/movesets/knight.rs:243:22 [INFO] [stdout] | [INFO] [stdout] 243 | let result = knight_move_see(knight_initial_position); [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 69 + use crate::movesets::knight::knight_move_see; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `knight_move_see` in this scope [INFO] [stdout] --> src/movesets/knight.rs:250:22 [INFO] [stdout] | [INFO] [stdout] 250 | let result = knight_move_see(knight_initial_position); [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 69 + use crate::movesets::knight::knight_move_see; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `knight_move_sww` in this scope [INFO] [stdout] --> src/movesets/knight.rs:257:22 [INFO] [stdout] | [INFO] [stdout] 257 | let result = knight_move_sww(knight_initial_position); [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 69 + use crate::movesets::knight::knight_move_sww; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `knight_move_sww` in this scope [INFO] [stdout] --> src/movesets/knight.rs:265:22 [INFO] [stdout] | [INFO] [stdout] 265 | let result = knight_move_sww(knight_initial_position); [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 69 + use crate::movesets::knight::knight_move_sww; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `knight_move_sww` in this scope [INFO] [stdout] --> src/movesets/knight.rs:273:22 [INFO] [stdout] | [INFO] [stdout] 273 | let result = knight_move_sww(knight_initial_position); [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 69 + use crate::movesets::knight::knight_move_sww; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `knight_move_sww` in this scope [INFO] [stdout] --> src/movesets/knight.rs:280:22 [INFO] [stdout] | [INFO] [stdout] 280 | let result = knight_move_sww(knight_initial_position); [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 69 + use crate::movesets::knight::knight_move_sww; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `knight_move_ssw` in this scope [INFO] [stdout] --> src/movesets/knight.rs:288:22 [INFO] [stdout] | [INFO] [stdout] 288 | let result = knight_move_ssw(knight_initial_position); [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 69 + use crate::movesets::knight::knight_move_ssw; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `knight_move_ssw` in this scope [INFO] [stdout] --> src/movesets/knight.rs:296:22 [INFO] [stdout] | [INFO] [stdout] 296 | let result = knight_move_ssw(knight_initial_position); [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 69 + use crate::movesets::knight::knight_move_ssw; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `knight_move_ssw` in this scope [INFO] [stdout] --> src/movesets/knight.rs:304:22 [INFO] [stdout] | [INFO] [stdout] 304 | let result = knight_move_ssw(knight_initial_position); [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 69 + use crate::movesets::knight::knight_move_ssw; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `knight_move_ssw` in this scope [INFO] [stdout] --> src/movesets/knight.rs:311:22 [INFO] [stdout] | [INFO] [stdout] 311 | let result = knight_move_ssw(knight_initial_position); [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 69 + use crate::movesets::knight::knight_move_ssw; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `all_knight_moves` in this scope [INFO] [stdout] --> src/movesets/knight.rs:319:22 [INFO] [stdout] | [INFO] [stdout] 319 | let result = all_knight_moves(knight_initial_position); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 69 + use crate::movesets::knight::all_knight_moves; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `get_knight_soft_moves` in this scope [INFO] [stdout] --> src/movesets/knight.rs:328:22 [INFO] [stdout] | [INFO] [stdout] 328 | let result = get_knight_soft_moves(all_knight_moves, empty_squares); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 69 + use crate::movesets::knight::get_knight_soft_moves; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `get_knight_attacks` in this scope [INFO] [stdout] --> src/movesets/knight.rs:337:22 [INFO] [stdout] | [INFO] [stdout] 337 | let result = get_knight_attacks(all_knight_moves, opponent_pieces); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 69 + use crate::movesets::knight::get_knight_attacks; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `PieceInfo` in this scope [INFO] [stdout] --> src/movesets/knight.rs:343:27 [INFO] [stdout] | [INFO] [stdout] 343 | let mut knights = PieceInfo{ [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct through its public re-export [INFO] [stdout] | [INFO] [stdout] 69 + use crate::movesets::knight::PieceInfo; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Color` [INFO] [stdout] --> src/movesets/knight.rs:345:20 [INFO] [stdout] | [INFO] [stdout] 345 | color: Color::White, [INFO] [stdout] | ^^^^^ use of undeclared type `Color` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 69 + use crate::chess::piece::Color; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `set_moves_attacks_knights` in this scope [INFO] [stdout] --> src/movesets/knight.rs:353:9 [INFO] [stdout] | [INFO] [stdout] 353 | set_moves_attacks_knights(&mut knights, opponent_pieces, empty_squares); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 69 + use crate::movesets::knight::set_moves_attacks_knights; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `PieceInfo` in this scope [INFO] [stdout] --> src/movesets/knight.rs:355:24 [INFO] [stdout] | [INFO] [stdout] 355 | let expected = PieceInfo{ [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct through its public re-export [INFO] [stdout] | [INFO] [stdout] 69 + use crate::movesets::knight::PieceInfo; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Color` [INFO] [stdout] --> src/movesets/knight.rs:357:20 [INFO] [stdout] | [INFO] [stdout] 357 | color: Color::White, [INFO] [stdout] | ^^^^^ use of undeclared type `Color` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 69 + use crate::chess::piece::Color; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `MAGIC_TUPLE_BISHOP` in this scope [INFO] [stdout] --> src/movesets/bishop.rs:20:34 [INFO] [stdout] | [INFO] [stdout] 20 | lazy_static::initialize(&MAGIC_TUPLE_BISHOP); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this static [INFO] [stdout] | [INFO] [stdout] 18 + use crate::movesets::magic_bitboards::MAGIC_TUPLE_BISHOP; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `bishop_move` in this scope [INFO] [stdout] --> src/movesets/bishop.rs:24:27 [INFO] [stdout] | [INFO] [stdout] 24 | let actual_move = bishop_move(square, occupancy); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 18 + use crate::movesets::bishop::bishop_move; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `king_move_east` in this scope [INFO] [stdout] --> src/movesets/king.rs:54:22 [INFO] [stdout] | [INFO] [stdout] 54 | let result = king_move_east(king_initial_position); [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 50 + use crate::movesets::king::king_move_east; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `king_move_east` in this scope [INFO] [stdout] --> src/movesets/king.rs:62:22 [INFO] [stdout] | [INFO] [stdout] 62 | let result = king_move_east(king_initial_position); [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 50 + use crate::movesets::king::king_move_east; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `king_move_west` in this scope [INFO] [stdout] --> src/movesets/king.rs:70:22 [INFO] [stdout] | [INFO] [stdout] 70 | let result = king_move_west(king_initial_position); [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 50 + use crate::movesets::king::king_move_west; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `king_move_west` in this scope [INFO] [stdout] --> src/movesets/king.rs:78:22 [INFO] [stdout] | [INFO] [stdout] 78 | let result = king_move_west(king_initial_position); [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 50 + use crate::movesets::king::king_move_west; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `king_moves_north` in this scope [INFO] [stdout] --> src/movesets/king.rs:86:22 [INFO] [stdout] | [INFO] [stdout] 86 | let result = king_moves_north(king_moves_ew); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: a local variable with a similar name exists [INFO] [stdout] | [INFO] [stdout] 86 | let result = king_moves_ew(king_moves_ew); [INFO] [stdout] | ~~~~~~~~~~~~~ [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 50 + use crate::movesets::king::king_moves_north; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `king_moves_north` in this scope [INFO] [stdout] --> src/movesets/king.rs:94:22 [INFO] [stdout] | [INFO] [stdout] 94 | let result = king_moves_north(king_moves_ew); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: a local variable with a similar name exists [INFO] [stdout] | [INFO] [stdout] 94 | let result = king_moves_ew(king_moves_ew); [INFO] [stdout] | ~~~~~~~~~~~~~ [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 50 + use crate::movesets::king::king_moves_north; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `king_moves_south` in this scope [INFO] [stdout] --> src/movesets/king.rs:102:22 [INFO] [stdout] | [INFO] [stdout] 102 | let result = king_moves_south(king_moves_ew); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: a local variable with a similar name exists [INFO] [stdout] | [INFO] [stdout] 102 | let result = king_moves_ew(king_moves_ew); [INFO] [stdout] | ~~~~~~~~~~~~~ [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 50 + use crate::movesets::king::king_moves_south; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `king_moves_south` in this scope [INFO] [stdout] --> src/movesets/king.rs:110:22 [INFO] [stdout] | [INFO] [stdout] 110 | let result = king_moves_south(king_moves_ew); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: a local variable with a similar name exists [INFO] [stdout] | [INFO] [stdout] 110 | let result = king_moves_ew(king_moves_ew); [INFO] [stdout] | ~~~~~~~~~~~~~ [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 50 + use crate::movesets::king::king_moves_south; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `all_king_moves` in this scope [INFO] [stdout] --> src/movesets/king.rs:118:22 [INFO] [stdout] | [INFO] [stdout] 118 | let result = all_king_moves(king_initial_position); [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 50 + use crate::movesets::king::all_king_moves; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `all_king_moves` in this scope [INFO] [stdout] --> src/movesets/king.rs:126:22 [INFO] [stdout] | [INFO] [stdout] 126 | let result = all_king_moves(king_initial_position); [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 50 + use crate::movesets::king::all_king_moves; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `get_king_soft_moves` in this scope [INFO] [stdout] --> src/movesets/king.rs:136:22 [INFO] [stdout] | [INFO] [stdout] 136 | let result = get_king_soft_moves(all_king_moves, empty_squares); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 50 + use crate::movesets::king::get_king_soft_moves; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `get_king_attacks` in this scope [INFO] [stdout] --> src/movesets/king.rs:146:22 [INFO] [stdout] | [INFO] [stdout] 146 | let result = get_king_attacks(all_king_moves, opponent_pieces); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 50 + use crate::movesets::king::get_king_attacks; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `PieceInfo` in this scope [INFO] [stdout] --> src/movesets/king.rs:152:24 [INFO] [stdout] | [INFO] [stdout] 152 | let mut king = PieceInfo{ [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct through its public re-export [INFO] [stdout] | [INFO] [stdout] 50 + use crate::movesets::king::PieceInfo; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Color` [INFO] [stdout] --> src/movesets/king.rs:154:20 [INFO] [stdout] | [INFO] [stdout] 154 | color: Color::White, [INFO] [stdout] | ^^^^^ use of undeclared type `Color` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 50 + use crate::chess::piece::Color; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `set_moves_attacks_kings` in this scope [INFO] [stdout] --> src/movesets/king.rs:162:9 [INFO] [stdout] | [INFO] [stdout] 162 | set_moves_attacks_kings(&mut king, opponent_pieces, empty_squares); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 50 + use crate::movesets::king::set_moves_attacks_kings; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PieceInfo` in this scope [INFO] [stdout] --> src/movesets/king.rs:164:23 [INFO] [stdout] | [INFO] [stdout] 164 | let expected: PieceInfo = PieceInfo{ [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct through its public re-export [INFO] [stdout] | [INFO] [stdout] 50 + use crate::movesets::king::PieceInfo; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `PieceInfo` in this scope [INFO] [stdout] --> src/movesets/king.rs:164:35 [INFO] [stdout] | [INFO] [stdout] 164 | let expected: PieceInfo = PieceInfo{ [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct through its public re-export [INFO] [stdout] | [INFO] [stdout] 50 + use crate::movesets::king::PieceInfo; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Color` [INFO] [stdout] --> src/movesets/king.rs:166:20 [INFO] [stdout] | [INFO] [stdout] 166 | color: Color::White, [INFO] [stdout] | ^^^^^ use of undeclared type `Color` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 50 + use crate::chess::piece::Color; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `white_pawn_single_push` in this scope [INFO] [stdout] --> src/movesets/pawn.rs:141:22 [INFO] [stdout] | [INFO] [stdout] 141 | let result = white_pawn_single_push(pawn_initial_position, empty_squares); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 133 + use crate::movesets::pawn::white_pawn_single_push; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `white_pawn_single_push` in this scope [INFO] [stdout] --> src/movesets/pawn.rs:153:22 [INFO] [stdout] | [INFO] [stdout] 153 | let result = white_pawn_single_push(pawn_initial_position, empty_squares); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 133 + use crate::movesets::pawn::white_pawn_single_push; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `white_pawn_single_push` in this scope [INFO] [stdout] --> src/movesets/pawn.rs:165:22 [INFO] [stdout] | [INFO] [stdout] 165 | let result = white_pawn_single_push(pawn_initial_position, empty_squares); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 133 + use crate::movesets::pawn::white_pawn_single_push; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `white_pawn_double_push` in this scope [INFO] [stdout] --> src/movesets/pawn.rs:177:22 [INFO] [stdout] | [INFO] [stdout] 177 | let result = white_pawn_double_push(pawn_initial_position, empty_squares); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 133 + use crate::movesets::pawn::white_pawn_double_push; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `white_pawn_double_push` in this scope [INFO] [stdout] --> src/movesets/pawn.rs:189:22 [INFO] [stdout] | [INFO] [stdout] 189 | let result = white_pawn_double_push(pawn_initial_position, empty_squares); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 133 + use crate::movesets::pawn::white_pawn_double_push; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `white_pawn_double_push` in this scope [INFO] [stdout] --> src/movesets/pawn.rs:201:22 [INFO] [stdout] | [INFO] [stdout] 201 | let result = white_pawn_double_push(pawn_initial_position, empty_squares); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 133 + use crate::movesets::pawn::white_pawn_double_push; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `white_pawn_double_push` in this scope [INFO] [stdout] --> src/movesets/pawn.rs:213:22 [INFO] [stdout] | [INFO] [stdout] 213 | let result = white_pawn_double_push(pawn_initial_position, empty_squares); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 133 + use crate::movesets::pawn::white_pawn_double_push; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `white_pawn_attacks` in this scope [INFO] [stdout] --> src/movesets/pawn.rs:225:22 [INFO] [stdout] | [INFO] [stdout] 225 | let result = white_pawn_attacks(pawn_initial_position, opponent_pieces); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 133 + use crate::movesets::pawn::white_pawn_attacks; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `white_pawn_attacks` in this scope [INFO] [stdout] --> src/movesets/pawn.rs:237:22 [INFO] [stdout] | [INFO] [stdout] 218 | fn test_white_pawn_attacks(){ [INFO] [stdout] | ---------------------------- similarly named function `test_white_pawn_attacks` defined here [INFO] [stdout] ... [INFO] [stdout] 237 | let result = white_pawn_attacks(pawn_initial_position, opponent_pieces); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: a function with a similar name exists [INFO] [stdout] | [INFO] [stdout] 237 | let result = test_white_pawn_attacks(pawn_initial_position, opponent_pieces); [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 133 + use crate::movesets::pawn::white_pawn_attacks; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Move` in this scope [INFO] [stdout] --> src/movesets/pawn.rs:246:25 [INFO] [stdout] | [INFO] [stdout] 246 | let last_move = Move { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct through its public re-export [INFO] [stdout] | [INFO] [stdout] 133 + use crate::movesets::pawn::Move; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PieceType` [INFO] [stdout] --> src/movesets/pawn.rs:247:28 [INFO] [stdout] | [INFO] [stdout] 247 | piece_type:PieceType::Pawn, [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `PieceType` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum through its public re-export [INFO] [stdout] | [INFO] [stdout] 133 + use crate::movesets::pawn::PieceType; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `white_en_passant_calculation` in this scope [INFO] [stdout] --> src/movesets/pawn.rs:253:22 [INFO] [stdout] | [INFO] [stdout] 253 | let result = white_en_passant_calculation(&last_move, pawn_positions); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 133 + use crate::movesets::pawn::white_en_passant_calculation; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `black_pawn_single_push` in this scope [INFO] [stdout] --> src/movesets/pawn.rs:269:22 [INFO] [stdout] | [INFO] [stdout] 269 | let result = black_pawn_single_push(pawn_initial_position, empty_squares); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 133 + use crate::movesets::pawn::black_pawn_single_push; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `black_pawn_single_push` in this scope [INFO] [stdout] --> src/movesets/pawn.rs:281:22 [INFO] [stdout] | [INFO] [stdout] 281 | let result = black_pawn_single_push(pawn_initial_position, empty_squares); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 133 + use crate::movesets::pawn::black_pawn_single_push; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `black_pawn_single_push` in this scope [INFO] [stdout] --> src/movesets/pawn.rs:293:22 [INFO] [stdout] | [INFO] [stdout] 293 | let result = black_pawn_single_push(pawn_initial_position, empty_squares); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 133 + use crate::movesets::pawn::black_pawn_single_push; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `black_pawn_double_push` in this scope [INFO] [stdout] --> src/movesets/pawn.rs:305:22 [INFO] [stdout] | [INFO] [stdout] 305 | let result = black_pawn_double_push(pawn_initial_position, empty_squares); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 133 + use crate::movesets::pawn::black_pawn_double_push; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `black_pawn_double_push` in this scope [INFO] [stdout] --> src/movesets/pawn.rs:317:22 [INFO] [stdout] | [INFO] [stdout] 317 | let result = black_pawn_double_push(pawn_initial_position, empty_squares); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 133 + use crate::movesets::pawn::black_pawn_double_push; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `black_pawn_double_push` in this scope [INFO] [stdout] --> src/movesets/pawn.rs:329:22 [INFO] [stdout] | [INFO] [stdout] 329 | let result = black_pawn_double_push(pawn_initial_position, empty_squares); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 133 + use crate::movesets::pawn::black_pawn_double_push; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `black_pawn_double_push` in this scope [INFO] [stdout] --> src/movesets/pawn.rs:341:22 [INFO] [stdout] | [INFO] [stdout] 341 | let result = black_pawn_double_push(pawn_initial_position, empty_squares); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 133 + use crate::movesets::pawn::black_pawn_double_push; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `black_pawn_attacks` in this scope [INFO] [stdout] --> src/movesets/pawn.rs:353:22 [INFO] [stdout] | [INFO] [stdout] 353 | let result = black_pawn_attacks(pawn_initial_position, opponent_pieces); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 133 + use crate::movesets::pawn::black_pawn_attacks; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `black_pawn_attacks` in this scope [INFO] [stdout] --> src/movesets/pawn.rs:365:22 [INFO] [stdout] | [INFO] [stdout] 346 | fn test_black_pawn_attacks(){ [INFO] [stdout] | ---------------------------- similarly named function `test_black_pawn_attacks` defined here [INFO] [stdout] ... [INFO] [stdout] 365 | let result = black_pawn_attacks(pawn_initial_position, opponent_pieces); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: a function with a similar name exists [INFO] [stdout] | [INFO] [stdout] 365 | let result = test_black_pawn_attacks(pawn_initial_position, opponent_pieces); [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 133 + use crate::movesets::pawn::black_pawn_attacks; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Move` in this scope [INFO] [stdout] --> src/movesets/pawn.rs:374:25 [INFO] [stdout] | [INFO] [stdout] 374 | let last_move = Move { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct through its public re-export [INFO] [stdout] | [INFO] [stdout] 133 + use crate::movesets::pawn::Move; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PieceType` [INFO] [stdout] --> src/movesets/pawn.rs:375:28 [INFO] [stdout] | [INFO] [stdout] 375 | piece_type:PieceType::Pawn, [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `PieceType` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum through its public re-export [INFO] [stdout] | [INFO] [stdout] 133 + use crate::movesets::pawn::PieceType; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `black_en_passant_calculation` in this scope [INFO] [stdout] --> src/movesets/pawn.rs:381:22 [INFO] [stdout] | [INFO] [stdout] 381 | let result = black_en_passant_calculation(&last_move, pawn_positions); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 133 + use crate::movesets::pawn::black_en_passant_calculation; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Color` [INFO] [stdout] --> src/movesets/pawn.rs:391:21 [INFO] [stdout] | [INFO] [stdout] 391 | let color = Color::White; [INFO] [stdout] | ^^^^^ use of undeclared type `Color` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum through its public re-export [INFO] [stdout] | [INFO] [stdout] 133 + use crate::movesets::pawn::Color; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `get_pawn_moves` in this scope [INFO] [stdout] --> src/movesets/pawn.rs:398:22 [INFO] [stdout] | [INFO] [stdout] 398 | let result = get_pawn_moves(pawn_initial_position, empty_squares, color); [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 133 + use crate::movesets::pawn::get_pawn_moves; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Color` [INFO] [stdout] --> src/movesets/pawn.rs:404:21 [INFO] [stdout] | [INFO] [stdout] 404 | let color = Color::Black; [INFO] [stdout] | ^^^^^ use of undeclared type `Color` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum through its public re-export [INFO] [stdout] | [INFO] [stdout] 133 + use crate::movesets::pawn::Color; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `get_pawn_moves` in this scope [INFO] [stdout] --> src/movesets/pawn.rs:411:22 [INFO] [stdout] | [INFO] [stdout] 411 | let result = get_pawn_moves(pawn_initial_position, empty_squares, color); [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 133 + use crate::movesets::pawn::get_pawn_moves; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `blockermask_rook` in this scope [INFO] [stdout] --> src/movesets/magic_bitboards.rs:314:22 [INFO] [stdout] | [INFO] [stdout] 314 | let result = blockermask_rook(input); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 310 + use crate::movesets::magic_bitboards::blockermask_rook; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `generate_rook_move_pattern` in this scope [INFO] [stdout] --> src/movesets/magic_bitboards.rs:324:22 [INFO] [stdout] | [INFO] [stdout] 324 | let result = generate_rook_move_pattern(row, col); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 310 + use crate::movesets::magic_bitboards::generate_rook_move_pattern; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `blockermask_rook` in this scope [INFO] [stdout] --> src/movesets/magic_bitboards.rs:333:22 [INFO] [stdout] | [INFO] [stdout] 311 | fn test_blockermask_rook(){ [INFO] [stdout] | -------------------------- similarly named function `test_blockermask_rook` defined here [INFO] [stdout] ... [INFO] [stdout] 333 | let result = blockermask_rook(input); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: a function with a similar name exists [INFO] [stdout] | [INFO] [stdout] 333 | let result = test_blockermask_rook(input); [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 310 + use crate::movesets::magic_bitboards::blockermask_rook; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `generate_bishop_move_pattern` in this scope [INFO] [stdout] --> src/movesets/magic_bitboards.rs:343:22 [INFO] [stdout] | [INFO] [stdout] 343 | let result = generate_bishop_move_pattern(row as i8, col as i8); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 310 + use crate::movesets::magic_bitboards::generate_bishop_move_pattern; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `remove_edges` in this scope [INFO] [stdout] --> src/movesets/magic_bitboards.rs:354:22 [INFO] [stdout] | [INFO] [stdout] 354 | let actual = remove_edges(row, blocker_mask, col); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 310 + use crate::movesets::magic_bitboards::remove_edges; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `remove_edges` in this scope [INFO] [stdout] --> src/movesets/magic_bitboards.rs:364:22 [INFO] [stdout] | [INFO] [stdout] 364 | let actual = remove_edges(row, blocker_mask, col); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 310 + use crate::movesets::magic_bitboards::remove_edges; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `blockermask_bishop` in this scope [INFO] [stdout] --> src/movesets/magic_bitboards.rs:372:22 [INFO] [stdout] | [INFO] [stdout] 372 | let result = blockermask_bishop(input); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 310 + use crate::movesets::magic_bitboards::blockermask_bishop; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `blockermask_bishop` in this scope [INFO] [stdout] --> src/movesets/magic_bitboards.rs:379:22 [INFO] [stdout] | [INFO] [stdout] 369 | fn test_blockermask_bishop(){ [INFO] [stdout] | ---------------------------- similarly named function `test_blockermask_bishop` defined here [INFO] [stdout] ... [INFO] [stdout] 379 | let result = blockermask_bishop(input); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: a function with a similar name exists [INFO] [stdout] | [INFO] [stdout] 379 | let result = test_blockermask_bishop(input); [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 310 + use crate::movesets::magic_bitboards::blockermask_bishop; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `generate_all_blockermasks` in this scope [INFO] [stdout] --> src/movesets/magic_bitboards.rs:385:22 [INFO] [stdout] | [INFO] [stdout] 385 | let result = generate_all_blockermasks(PieceType::Rook); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 310 + use crate::movesets::magic_bitboards::generate_all_blockermasks; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PieceType` [INFO] [stdout] --> src/movesets/magic_bitboards.rs:385:48 [INFO] [stdout] | [INFO] [stdout] 385 | let result = generate_all_blockermasks(PieceType::Rook); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `PieceType` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum through its public re-export [INFO] [stdout] | [INFO] [stdout] 310 + use crate::movesets::magic_bitboards::PieceType; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `generate_all_blockermasks` in this scope [INFO] [stdout] --> src/movesets/magic_bitboards.rs:391:22 [INFO] [stdout] | [INFO] [stdout] 391 | let result = generate_all_blockermasks(PieceType::Bishop); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 310 + use crate::movesets::magic_bitboards::generate_all_blockermasks; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PieceType` [INFO] [stdout] --> src/movesets/magic_bitboards.rs:391:48 [INFO] [stdout] | [INFO] [stdout] 391 | let result = generate_all_blockermasks(PieceType::Bishop); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `PieceType` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum through its public re-export [INFO] [stdout] | [INFO] [stdout] 310 + use crate::movesets::magic_bitboards::PieceType; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `generate_moveboard_for_square` in this scope [INFO] [stdout] --> src/movesets/magic_bitboards.rs:401:29 [INFO] [stdout] | [INFO] [stdout] 401 | let actual_result = generate_moveboard_for_square(square, move_pattern, blockerboard); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 310 + use crate::movesets::magic_bitboards::generate_moveboard_for_square; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `generate_all_move_patterns` in this scope [INFO] [stdout] --> src/movesets/magic_bitboards.rs:408:22 [INFO] [stdout] | [INFO] [stdout] 408 | let result = generate_all_move_patterns(PieceType::Rook); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 310 + use crate::movesets::magic_bitboards::generate_all_move_patterns; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PieceType` [INFO] [stdout] --> src/movesets/magic_bitboards.rs:408:49 [INFO] [stdout] | [INFO] [stdout] 408 | let result = generate_all_move_patterns(PieceType::Rook); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `PieceType` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum through its public re-export [INFO] [stdout] | [INFO] [stdout] 310 + use crate::movesets::magic_bitboards::PieceType; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `generate_all_move_patterns` in this scope [INFO] [stdout] --> src/movesets/magic_bitboards.rs:414:22 [INFO] [stdout] | [INFO] [stdout] 414 | let result = generate_all_move_patterns(PieceType::Bishop); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 310 + use crate::movesets::magic_bitboards::generate_all_move_patterns; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PieceType` [INFO] [stdout] --> src/movesets/magic_bitboards.rs:414:49 [INFO] [stdout] | [INFO] [stdout] 414 | let result = generate_all_move_patterns(PieceType::Bishop); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `PieceType` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum through its public re-export [INFO] [stdout] | [INFO] [stdout] 310 + use crate::movesets::magic_bitboards::PieceType; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `generate_all_blockermasks` in this scope [INFO] [stdout] --> src/movesets/magic_bitboards.rs:420:22 [INFO] [stdout] | [INFO] [stdout] 420 | let result = generate_all_blockermasks(PieceType::Rook); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 310 + use crate::movesets::magic_bitboards::generate_all_blockermasks; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PieceType` [INFO] [stdout] --> src/movesets/magic_bitboards.rs:420:48 [INFO] [stdout] | [INFO] [stdout] 420 | let result = generate_all_blockermasks(PieceType::Rook); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `PieceType` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum through its public re-export [INFO] [stdout] | [INFO] [stdout] 310 + use crate::movesets::magic_bitboards::PieceType; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `generate_all_blockermasks` in this scope [INFO] [stdout] --> src/movesets/magic_bitboards.rs:426:22 [INFO] [stdout] | [INFO] [stdout] 426 | let result = generate_all_blockermasks(PieceType::Bishop); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 310 + use crate::movesets::magic_bitboards::generate_all_blockermasks; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PieceType` [INFO] [stdout] --> src/movesets/magic_bitboards.rs:426:48 [INFO] [stdout] | [INFO] [stdout] 426 | let result = generate_all_blockermasks(PieceType::Bishop); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `PieceType` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum through its public re-export [INFO] [stdout] | [INFO] [stdout] 310 + use crate::movesets::magic_bitboards::PieceType; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PieceType` [INFO] [stdout] --> src/movesets/magic_bitboards.rs:442:26 [INFO] [stdout] | [INFO] [stdout] 442 | let piece_name = PieceType::Rook; [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `PieceType` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum through its public re-export [INFO] [stdout] | [INFO] [stdout] 310 + use crate::movesets::magic_bitboards::PieceType; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `generate_all_blockermasks` in this scope [INFO] [stdout] --> src/movesets/magic_bitboards.rs:443:28 [INFO] [stdout] | [INFO] [stdout] 443 | let blockermasks = generate_all_blockermasks(piece_name); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 310 + use crate::movesets::magic_bitboards::generate_all_blockermasks; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `generate_all_blockerboards` in this scope [INFO] [stdout] --> src/movesets/magic_bitboards.rs:444:29 [INFO] [stdout] | [INFO] [stdout] 444 | let blockerboards = generate_all_blockerboards(&blockermasks); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 310 + use crate::movesets::magic_bitboards::generate_all_blockerboards; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `generate_all_moveboards` in this scope [INFO] [stdout] --> src/movesets/magic_bitboards.rs:445:26 [INFO] [stdout] | [INFO] [stdout] 445 | let moveboards = generate_all_moveboards(&blockerboards, PieceType::Rook); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 310 + use crate::movesets::magic_bitboards::generate_all_moveboards; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PieceType` [INFO] [stdout] --> src/movesets/magic_bitboards.rs:445:66 [INFO] [stdout] | [INFO] [stdout] 445 | let moveboards = generate_all_moveboards(&blockerboards, PieceType::Rook); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `PieceType` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum through its public re-export [INFO] [stdout] | [INFO] [stdout] 310 + use crate::movesets::magic_bitboards::PieceType; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `generate_magic_numbers` in this scope [INFO] [stdout] --> src/movesets/magic_bitboards.rs:446:45 [INFO] [stdout] | [INFO] [stdout] 446 | let (magic_numbers, magic_tables) = generate_magic_numbers(&blockerboards, &moveboards, &blockermasks); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 310 + use crate::movesets::magic_bitboards::generate_magic_numbers; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PieceType` [INFO] [stdout] --> src/movesets/magic_bitboards.rs:466:26 [INFO] [stdout] | [INFO] [stdout] 466 | let piece_name = PieceType::Bishop; [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `PieceType` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum through its public re-export [INFO] [stdout] | [INFO] [stdout] 310 + use crate::movesets::magic_bitboards::PieceType; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `generate_all_blockermasks` in this scope [INFO] [stdout] --> src/movesets/magic_bitboards.rs:467:28 [INFO] [stdout] | [INFO] [stdout] 467 | let blockermasks = generate_all_blockermasks(piece_name); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 310 + use crate::movesets::magic_bitboards::generate_all_blockermasks; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `generate_all_blockerboards` in this scope [INFO] [stdout] --> src/movesets/magic_bitboards.rs:468:29 [INFO] [stdout] | [INFO] [stdout] 468 | let blockerboards = generate_all_blockerboards(&blockermasks); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 310 + use crate::movesets::magic_bitboards::generate_all_blockerboards; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `generate_all_moveboards` in this scope [INFO] [stdout] --> src/movesets/magic_bitboards.rs:469:26 [INFO] [stdout] | [INFO] [stdout] 469 | let moveboards = generate_all_moveboards(&blockerboards, PieceType::Bishop); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 310 + use crate::movesets::magic_bitboards::generate_all_moveboards; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PieceType` [INFO] [stdout] --> src/movesets/magic_bitboards.rs:469:66 [INFO] [stdout] | [INFO] [stdout] 469 | let moveboards = generate_all_moveboards(&blockerboards, PieceType::Bishop); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `PieceType` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum through its public re-export [INFO] [stdout] | [INFO] [stdout] 310 + use crate::movesets::magic_bitboards::PieceType; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `generate_magic_numbers` in this scope [INFO] [stdout] --> src/movesets/magic_bitboards.rs:470:45 [INFO] [stdout] | [INFO] [stdout] 470 | let (magic_numbers, magic_tables) = generate_magic_numbers(&blockerboards, &moveboards, &blockermasks); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 310 + use crate::movesets::magic_bitboards::generate_magic_numbers; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `MAGIC_TUPLE_ROOK` in this scope [INFO] [stdout] --> src/movesets/rook.rs:19:34 [INFO] [stdout] | [INFO] [stdout] 19 | lazy_static::initialize(&MAGIC_TUPLE_ROOK); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this static through its public re-export [INFO] [stdout] | [INFO] [stdout] 17 + use crate::movesets::rook::MAGIC_TUPLE_ROOK; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `rook_move` in this scope [INFO] [stdout] --> src/movesets/rook.rs:23:27 [INFO] [stdout] | [INFO] [stdout] 23 | let actual_move = rook_move(square, occupancy); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 17 + use crate::movesets::rook::rook_move; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `initialize` in this scope [INFO] [stdout] --> src/movesets/queen.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 14 | initialize(); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these functions [INFO] [stdout] | [INFO] [stdout] 12 + use crate::movesets::magic_bitboards::initialize; [INFO] [stdout] | [INFO] [stdout] 12 + use lazy_static::initialize; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `queen_move` in this scope [INFO] [stdout] --> src/movesets/queen.rs:18:27 [INFO] [stdout] | [INFO] [stdout] 18 | let actual_move = queen_move(square, occupancy); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 12 + use crate::movesets::queen::queen_move; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `single_pushes` is never read [INFO] [stdout] --> src/movesets/pawn.rs:104:13 [INFO] [stdout] | [INFO] [stdout] 104 | let mut single_pushes = 0; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `double_pushes` is never read [INFO] [stdout] --> src/movesets/pawn.rs:105:13 [INFO] [stdout] | [INFO] [stdout] 105 | let mut double_pushes = 0; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 125 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0422, E0425, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: could not compile `super_rusty` (bin "super_rusty" test) due to 126 previous errors; 2 warnings emitted [INFO] [stderr] error: failed to check after updating to 2024 [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `cargo check --frozen --all --all-targets --message-format=json` (exit status: 101) [INFO] running `Command { std: "docker" "inspect" "03fa4fbdc4b572734c533faa7454d3efeb8d5536eb48bc97e73cb3c90c57a6e7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "03fa4fbdc4b572734c533faa7454d3efeb8d5536eb48bc97e73cb3c90c57a6e7", kill_on_drop: false }` [INFO] [stdout] 03fa4fbdc4b572734c533faa7454d3efeb8d5536eb48bc97e73cb3c90c57a6e7