[INFO] cloning repository https://github.com/ortengren/rusty_chess [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ortengren/rusty_chess" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fortengren%2Frusty_chess", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fortengren%2Frusty_chess'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] b06794fe197dee4768fcd274fa9d7b8572e8e7ab [INFO] checking ortengren/rusty_chess against master#af4a5a13a15fa0c60e06321077ef452f769b42fd for pr-122960-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fortengren%2Frusty_chess" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/ortengren/rusty_chess on toolchain af4a5a13a15fa0c60e06321077ef452f769b42fd [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/ortengren/rusty_chess [INFO] finished tweaking git repo https://github.com/ortengren/rusty_chess [INFO] tweaked toml for git repo https://github.com/ortengren/rusty_chess written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/ortengren/rusty_chess 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" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 231dce44497c8d8f06d4f1cda04f8839904d2a6d4d606220451c4397187c5027 [INFO] running `Command { std: "docker" "start" "-a" "231dce44497c8d8f06d4f1cda04f8839904d2a6d4d606220451c4397187c5027", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "231dce44497c8d8f06d4f1cda04f8839904d2a6d4d606220451c4397187c5027", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "231dce44497c8d8f06d4f1cda04f8839904d2a6d4d606220451c4397187c5027", kill_on_drop: false }` [INFO] [stdout] 231dce44497c8d8f06d4f1cda04f8839904d2a6d4d606220451c4397187c5027 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 85195bde1c36e6a24092ffda52e7883903718ba693d0e8019a2cace9af316fdc [INFO] running `Command { std: "docker" "start" "-a" "85195bde1c36e6a24092ffda52e7883903718ba693d0e8019a2cace9af316fdc", kill_on_drop: false }` [INFO] [stderr] Checking rusty_chess v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `Bishop`, `King`, `Knight`, `Pawn`, `Queen`, `Rook` [INFO] [stdout] --> src/board.rs:190:25 [INFO] [stdout] | [INFO] [stdout] 190 | use PieceType::{Pawn, Knight, Bishop, Rook, Queen, King}; [INFO] [stdout] | ^^^^ ^^^^^^ ^^^^^^ ^^^^ ^^^^^ ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Black`, `White` [INFO] [stdout] --> src/board.rs:191:21 [INFO] [stdout] | [INFO] [stdout] 191 | use Color::{Black, White}; [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::board` [INFO] [stdout] --> src/game.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::board; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `PieceType`, `Piece` [INFO] [stdout] --> src/game.rs:2:27 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::board::{Board, Piece, PieceType, Color}; [INFO] [stdout] | ^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Bishop`, `King`, `Knight`, `Pawn`, `Queen`, `Rook` [INFO] [stdout] --> src/game.rs:3:31 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::board::PieceType::{Pawn, Knight, Bishop, Rook, Queen, King}; [INFO] [stdout] | ^^^^ ^^^^^^ ^^^^^^ ^^^^ ^^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Black` [INFO] [stdout] --> src/game.rs:4:34 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::board::Color::{White, Black}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::game::*` [INFO] [stdout] --> src/game/tests.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::game::*; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::board::*` [INFO] [stdout] --> src/game/tests.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::board::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::board::*` [INFO] [stdout] --> src/bitboard/tests.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::board::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::game::*` [INFO] [stdout] --> src/bitboard/tests.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::game::*; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::bitboard::*` [INFO] [stdout] --> src/bitboard/tests.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::bitboard::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::position::*` [INFO] [stdout] --> src/bitboard/tests.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::position::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `A_FILE`, `H_FILE` [INFO] [stdout] --> src/position.rs:4:23 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::bitboard::{A_FILE, H_FILE}; [INFO] [stdout] | ^^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::board::Color` [INFO] [stdout] --> src/position.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::board::Color; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::bitboard::Bitboard` [INFO] [stdout] --> src/position/tests.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::bitboard::Bitboard; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::position::Position` [INFO] [stdout] --> src/position/tests.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::position::Position; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::board::*` [INFO] [stdout] --> src/moves/tests.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::board::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::*` [INFO] [stdout] --> src/moves/tests.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Bishop`, `King`, `Knight`, `Pawn`, `Queen`, `Rook` [INFO] [stdout] --> src/board.rs:190:25 [INFO] [stdout] | [INFO] [stdout] 190 | use PieceType::{Pawn, Knight, Bishop, Rook, Queen, King}; [INFO] [stdout] | ^^^^ ^^^^^^ ^^^^^^ ^^^^ ^^^^^ ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Black`, `White` [INFO] [stdout] --> src/board.rs:191:21 [INFO] [stdout] | [INFO] [stdout] 191 | use Color::{Black, White}; [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::board` [INFO] [stdout] --> src/game.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::board; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `PieceType`, `Piece` [INFO] [stdout] --> src/game.rs:2:27 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::board::{Board, Piece, PieceType, Color}; [INFO] [stdout] | ^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Bishop`, `King`, `Knight`, `Pawn`, `Queen`, `Rook` [INFO] [stdout] --> src/game.rs:3:31 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::board::PieceType::{Pawn, Knight, Bishop, Rook, Queen, King}; [INFO] [stdout] | ^^^^ ^^^^^^ ^^^^^^ ^^^^ ^^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Black` [INFO] [stdout] --> src/game.rs:4:34 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::board::Color::{White, Black}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::game::*` [INFO] [stdout] --> src/game/tests.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::game::*; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::board::*` [INFO] [stdout] --> src/game/tests.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::board::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::board::*` [INFO] [stdout] --> src/bitboard/tests.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::board::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::game::*` [INFO] [stdout] --> src/bitboard/tests.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::game::*; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::position::*` [INFO] [stdout] --> src/bitboard/tests.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::position::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `A_FILE`, `H_FILE` [INFO] [stdout] --> src/position.rs:4:23 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::bitboard::{A_FILE, H_FILE}; [INFO] [stdout] | ^^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::board::Color` [INFO] [stdout] --> src/position.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::board::Color; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/board.rs:112:13 [INFO] [stdout] | [INFO] [stdout] 112 | let mut piece: Piece = self.get_mut_tile(start_sq).unwrap().take().unwrap(); [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/game.rs:17:13 [INFO] [stdout] | [INFO] [stdout] 17 | let mut white_may_castle_kingside = true; [INFO] [stdout] | ----^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/game.rs:18:13 [INFO] [stdout] | [INFO] [stdout] 18 | let mut white_may_castle_queenside = true; [INFO] [stdout] | ----^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/game.rs:19:13 [INFO] [stdout] | [INFO] [stdout] 19 | let mut black_may_castle_kingside = true; [INFO] [stdout] | ----^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/game.rs:20:13 [INFO] [stdout] | [INFO] [stdout] 20 | let mut black_may_castle_queenside = true; [INFO] [stdout] | ----^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/game.rs:21:13 [INFO] [stdout] | [INFO] [stdout] 21 | let mut castling_rights_arr: [bool; 4] = [ [INFO] [stdout] | ----^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `attacks_bb` is never read [INFO] [stdout] --> src/moves.rs:56:13 [INFO] [stdout] | [INFO] [stdout] 56 | let mut attacks_bb = Bitboard(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: variable does not need to be mutable [INFO] [stdout] --> src/board.rs:112:13 [INFO] [stdout] | [INFO] [stdout] 112 | let mut piece: Piece = self.get_mut_tile(start_sq).unwrap().take().unwrap(); [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `attack_bb` is never read [INFO] [stdout] --> src/moves.rs:112:13 [INFO] [stdout] | [INFO] [stdout] 112 | let mut attack_bb = Bitboard(0); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `BOARD` is never used [INFO] [stdout] --> src/board.rs:8:8 [INFO] [stdout] | [INFO] [stdout] 8 | static BOARD: [&'static str; 64] = [ [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_mut_tile`, `move_piece_in_place`, and `move_piece` are never used [INFO] [stdout] --> src/board.rs:98:8 [INFO] [stdout] | [INFO] [stdout] 97 | impl Board { [INFO] [stdout] | ---------- methods in this implementation [INFO] [stdout] 98 | fn get_mut_tile(&mut self, square: (char, u8)) -> Result<&mut Tile, &'static str> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 111 | fn move_piece_in_place(&mut self, start_sq: (char, u8), end_sq: (char, u8)) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 116 | fn move_piece(&self, start_sq: (char, u8), end_sq: (char, u8)) -> Board { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Game` is never constructed [INFO] [stdout] --> src/game.rs:6:8 [INFO] [stdout] | [INFO] [stdout] 6 | struct Game { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/game.rs:15:8 [INFO] [stdout] | [INFO] [stdout] 14 | impl Game { [INFO] [stdout] | --------- associated function in this implementation [INFO] [stdout] 15 | fn new() -> Game { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `start_square`, `end_square`, and `promotion` are never read [INFO] [stdout] --> src/moves.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 16 | pub struct Move { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 17 | start_square: u8, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 18 | end_square: u8, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 19 | promotion: Option, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `leaper_attacks` is never read [INFO] [stdout] --> src/tables.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct Tables { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 9 | leaper_attacks: LeaperAttackTable, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/game.rs:17:13 [INFO] [stdout] | [INFO] [stdout] 17 | let mut white_may_castle_kingside = true; [INFO] [stdout] | ----^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/game.rs:18:13 [INFO] [stdout] | [INFO] [stdout] 18 | let mut white_may_castle_queenside = true; [INFO] [stdout] | ----^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/game.rs:19:13 [INFO] [stdout] | [INFO] [stdout] 19 | let mut black_may_castle_kingside = true; [INFO] [stdout] | ----^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/game.rs:20:13 [INFO] [stdout] | [INFO] [stdout] 20 | let mut black_may_castle_queenside = true; [INFO] [stdout] | ----^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/game.rs:21:13 [INFO] [stdout] | [INFO] [stdout] 21 | let mut castling_rights_arr: [bool; 4] = [ [INFO] [stdout] | ----^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 32 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `attacks_bb` is never read [INFO] [stdout] --> src/moves.rs:56:13 [INFO] [stdout] | [INFO] [stdout] 56 | let mut attacks_bb = Bitboard(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 `attack_bb` is never read [INFO] [stdout] --> src/moves.rs:112:13 [INFO] [stdout] | [INFO] [stdout] 112 | let mut attack_bb = Bitboard(0); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `BOARD` is never used [INFO] [stdout] --> src/board.rs:8:8 [INFO] [stdout] | [INFO] [stdout] 8 | static BOARD: [&'static str; 64] = [ [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `move_piece` is never used [INFO] [stdout] --> src/board.rs:116:8 [INFO] [stdout] | [INFO] [stdout] 97 | impl Board { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 116 | fn move_piece(&self, start_sq: (char, u8), end_sq: (char, u8)) -> Board { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Game` is never constructed [INFO] [stdout] --> src/game.rs:6:8 [INFO] [stdout] | [INFO] [stdout] 6 | struct Game { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/game.rs:15:8 [INFO] [stdout] | [INFO] [stdout] 14 | impl Game { [INFO] [stdout] | --------- associated function in this implementation [INFO] [stdout] 15 | fn new() -> Game { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `start_square`, `end_square`, and `promotion` are never read [INFO] [stdout] --> src/moves.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 16 | pub struct Move { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 17 | start_square: u8, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 18 | end_square: u8, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 19 | promotion: Option, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `leaper_attacks` is never read [INFO] [stdout] --> src/tables.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct Tables { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 9 | leaper_attacks: LeaperAttackTable, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 27 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.13s [INFO] running `Command { std: "docker" "inspect" "85195bde1c36e6a24092ffda52e7883903718ba693d0e8019a2cace9af316fdc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "85195bde1c36e6a24092ffda52e7883903718ba693d0e8019a2cace9af316fdc", kill_on_drop: false }` [INFO] [stdout] 85195bde1c36e6a24092ffda52e7883903718ba693d0e8019a2cace9af316fdc [INFO] checking ortengren/rusty_chess against try#36dbcaee1a55543dfc181be52a69d99ff46ff62f for pr-122960-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fortengren%2Frusty_chess" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/ortengren/rusty_chess on toolchain 36dbcaee1a55543dfc181be52a69d99ff46ff62f [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/ortengren/rusty_chess [INFO] finished tweaking git repo https://github.com/ortengren/rusty_chess [INFO] tweaked toml for git repo https://github.com/ortengren/rusty_chess written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/ortengren/rusty_chess 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" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] aa476d7a35ab9379858ed0f49e50b2044c7060f1d5b463d62bcaaa7e7b1bc800 [INFO] running `Command { std: "docker" "start" "-a" "aa476d7a35ab9379858ed0f49e50b2044c7060f1d5b463d62bcaaa7e7b1bc800", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "aa476d7a35ab9379858ed0f49e50b2044c7060f1d5b463d62bcaaa7e7b1bc800", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "aa476d7a35ab9379858ed0f49e50b2044c7060f1d5b463d62bcaaa7e7b1bc800", kill_on_drop: false }` [INFO] [stdout] aa476d7a35ab9379858ed0f49e50b2044c7060f1d5b463d62bcaaa7e7b1bc800 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 16cf40bbca64dc2ca87ec6bf2036902f1bc77a5cfd133322ea5ff1f73ea9795b [INFO] running `Command { std: "docker" "start" "-a" "16cf40bbca64dc2ca87ec6bf2036902f1bc77a5cfd133322ea5ff1f73ea9795b", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] Checking rusty_chess v0.1.0 (/tmp/fixit) [INFO] [stderr] Migrating src/lib.rs from 2021 edition to 2024 [INFO] [stderr] Fixed src/bitboard/tests.rs (4 fixes) [INFO] [stderr] Fixed src/board.rs (3 fixes) [INFO] [stderr] Fixed src/position/tests.rs (2 fixes) [INFO] [stderr] Fixed src/game.rs (9 fixes) [INFO] [stderr] Fixed src/moves/tests.rs (2 fixes) [INFO] [stderr] Fixed src/position.rs (2 fixes) [INFO] [stderr] Fixed src/game/tests.rs (2 fixes) [INFO] [stdout] warning: value assigned to `attacks_bb` is never read [INFO] [stdout] --> src/moves.rs:56:13 [INFO] [stdout] | [INFO] [stdout] 56 | let mut attacks_bb = Bitboard(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 `attack_bb` is never read [INFO] [stdout] --> src/moves.rs:112:13 [INFO] [stdout] | [INFO] [stdout] 112 | let mut attack_bb = Bitboard(0); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `BOARD` is never used [INFO] [stdout] --> src/board.rs:8:8 [INFO] [stdout] | [INFO] [stdout] 8 | static BOARD: [&'static str; 64] = [ [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_mut_tile`, `move_piece_in_place`, and `move_piece` are never used [INFO] [stdout] --> src/board.rs:98:8 [INFO] [stdout] | [INFO] [stdout] 97 | impl Board { [INFO] [stdout] | ---------- methods in this implementation [INFO] [stdout] 98 | fn get_mut_tile(&mut self, square: (char, u8)) -> Result<&mut Tile, &'static str> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 111 | fn move_piece_in_place(&mut self, start_sq: (char, u8), end_sq: (char, u8)) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 116 | fn move_piece(&self, start_sq: (char, u8), end_sq: (char, u8)) -> Board { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Game` is never constructed [INFO] [stdout] --> src/game.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | struct Game { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/game.rs:13:8 [INFO] [stdout] | [INFO] [stdout] 12 | impl Game { [INFO] [stdout] | --------- associated function in this implementation [INFO] [stdout] 13 | fn new() -> Game { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `start_square`, `end_square`, and `promotion` are never read [INFO] [stdout] --> src/moves.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 16 | pub struct Move { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 17 | start_square: u8, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 18 | end_square: u8, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 19 | promotion: Option, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `leaper_attacks` is never read [INFO] [stdout] --> src/tables.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct Tables { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 9 | leaper_attacks: LeaperAttackTable, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Migrating src/main.rs from 2021 edition to 2024 [INFO] [stdout] error[E0412]: cannot find type `Bitboard` in this scope [INFO] [stdout] --> src/bitboard/tests.rs:5:13 [INFO] [stdout] | [INFO] [stdout] 5 | let d4: Bitboard = Bitboard(0x0000000008000000); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use crate::bitboard::Bitboard; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Bitboard` in this scope [INFO] [stdout] --> src/bitboard/tests.rs:5:24 [INFO] [stdout] | [INFO] [stdout] 5 | let d4: Bitboard = Bitboard(0x0000000008000000); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple struct [INFO] [stdout] | [INFO] [stdout] 2 + use crate::bitboard::Bitboard; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Bitboard` in this scope [INFO] [stdout] --> src/bitboard/tests.rs:6:33 [INFO] [stdout] | [INFO] [stdout] 6 | assert_eq!(d4.shift_east(), Bitboard(0x0000000010000000)); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple struct [INFO] [stdout] | [INFO] [stdout] 2 + use crate::bitboard::Bitboard; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Bitboard` in this scope [INFO] [stdout] --> src/bitboard/tests.rs:7:31 [INFO] [stdout] | [INFO] [stdout] 7 | assert_eq!(d4.shift_se(), Bitboard(0x100000)); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple struct [INFO] [stdout] | [INFO] [stdout] 2 + use crate::bitboard::Bitboard; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Bitboard` in this scope [INFO] [stdout] --> src/bitboard/tests.rs:8:34 [INFO] [stdout] | [INFO] [stdout] 8 | assert_eq!(d4.shift_south(), Bitboard(0x80000)); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple struct [INFO] [stdout] | [INFO] [stdout] 2 + use crate::bitboard::Bitboard; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Bitboard` in this scope [INFO] [stdout] --> src/bitboard/tests.rs:9:31 [INFO] [stdout] | [INFO] [stdout] 9 | assert_eq!(d4.shift_sw(), Bitboard(0x40000)); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple struct [INFO] [stdout] | [INFO] [stdout] 2 + use crate::bitboard::Bitboard; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Bitboard` in this scope [INFO] [stdout] --> src/bitboard/tests.rs:10:33 [INFO] [stdout] | [INFO] [stdout] 10 | assert_eq!(d4.shift_west(), Bitboard(0x4000000)); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple struct [INFO] [stdout] | [INFO] [stdout] 2 + use crate::bitboard::Bitboard; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Bitboard` in this scope [INFO] [stdout] --> src/bitboard/tests.rs:11:31 [INFO] [stdout] | [INFO] [stdout] 11 | assert_eq!(d4.shift_nw(), Bitboard(0x400000000)); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple struct [INFO] [stdout] | [INFO] [stdout] 2 + use crate::bitboard::Bitboard; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Bitboard` in this scope [INFO] [stdout] --> src/bitboard/tests.rs:12:34 [INFO] [stdout] | [INFO] [stdout] 12 | assert_eq!(d4.shift_north(), Bitboard(0x800000000)); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple struct [INFO] [stdout] | [INFO] [stdout] 2 + use crate::bitboard::Bitboard; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Bitboard` in this scope [INFO] [stdout] --> src/bitboard/tests.rs:13:31 [INFO] [stdout] | [INFO] [stdout] 13 | assert_eq!(d4.shift_ne(), Bitboard(0x1000000000)); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple struct [INFO] [stdout] | [INFO] [stdout] 2 + use crate::bitboard::Bitboard; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Bitboard` in this scope [INFO] [stdout] --> src/bitboard/tests.rs:15:13 [INFO] [stdout] | [INFO] [stdout] 15 | let e4: Bitboard = Bitboard(268435456); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use crate::bitboard::Bitboard; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Bitboard` in this scope [INFO] [stdout] --> src/bitboard/tests.rs:15:24 [INFO] [stdout] | [INFO] [stdout] 15 | let e4: Bitboard = Bitboard(268435456); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple struct [INFO] [stdout] | [INFO] [stdout] 2 + use crate::bitboard::Bitboard; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Bitboard` in this scope [INFO] [stdout] --> src/bitboard/tests.rs:16:31 [INFO] [stdout] | [INFO] [stdout] 16 | assert_eq!(e4.shift_ne(), Bitboard(137438953472)); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple struct [INFO] [stdout] | [INFO] [stdout] 2 + use crate::bitboard::Bitboard; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Bitboard` in this scope [INFO] [stdout] --> src/bitboard/tests.rs:17:31 [INFO] [stdout] | [INFO] [stdout] 17 | assert_eq!(e4.shift_sw(), Bitboard(524288)); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple struct [INFO] [stdout] | [INFO] [stdout] 2 + use crate::bitboard::Bitboard; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `idx_to_reading_order` in this scope [INFO] [stdout] --> src/bitboard/tests.rs:23:16 [INFO] [stdout] | [INFO] [stdout] 23 | assert_eq!(idx_to_reading_order(0), 56); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 2 + use crate::bitboard::idx_to_reading_order; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `idx_to_reading_order` in this scope [INFO] [stdout] --> src/bitboard/tests.rs:24:16 [INFO] [stdout] | [INFO] [stdout] 24 | assert_eq!(idx_to_reading_order(7), 63); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 2 + use crate::bitboard::idx_to_reading_order; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `idx_to_reading_order` in this scope [INFO] [stdout] --> src/bitboard/tests.rs:25:16 [INFO] [stdout] | [INFO] [stdout] 25 | assert_eq!(idx_to_reading_order(8), 48); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 2 + use crate::bitboard::idx_to_reading_order; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `idx_to_reading_order` in this scope [INFO] [stdout] --> src/bitboard/tests.rs:26:16 [INFO] [stdout] | [INFO] [stdout] 26 | assert_eq!(idx_to_reading_order(20), 44); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 2 + use crate::bitboard::idx_to_reading_order; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `idx_to_reading_order` in this scope [INFO] [stdout] --> src/bitboard/tests.rs:27:16 [INFO] [stdout] | [INFO] [stdout] 27 | assert_eq!(idx_to_reading_order(28), 36); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 2 + use crate::bitboard::idx_to_reading_order; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `idx_to_reading_order` in this scope [INFO] [stdout] --> src/bitboard/tests.rs:28:16 [INFO] [stdout] | [INFO] [stdout] 28 | assert_eq!(idx_to_reading_order(32), 24); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 2 + use crate::bitboard::idx_to_reading_order; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `idx_to_reading_order` in this scope [INFO] [stdout] --> src/bitboard/tests.rs:29:16 [INFO] [stdout] | [INFO] [stdout] 29 | assert_eq!(idx_to_reading_order(39), 31); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 2 + use crate::bitboard::idx_to_reading_order; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `idx_to_reading_order` in this scope [INFO] [stdout] --> src/bitboard/tests.rs:30:16 [INFO] [stdout] | [INFO] [stdout] 30 | assert_eq!(idx_to_reading_order(40), 16); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 2 + use crate::bitboard::idx_to_reading_order; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `idx_to_reading_order` in this scope [INFO] [stdout] --> src/bitboard/tests.rs:31:16 [INFO] [stdout] | [INFO] [stdout] 31 | assert_eq!(idx_to_reading_order(47), 23); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 2 + use crate::bitboard::idx_to_reading_order; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `idx_to_reading_order` in this scope [INFO] [stdout] --> src/bitboard/tests.rs:32:16 [INFO] [stdout] | [INFO] [stdout] 32 | assert_eq!(idx_to_reading_order(48), 8); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 2 + use crate::bitboard::idx_to_reading_order; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `idx_to_reading_order` in this scope [INFO] [stdout] --> src/bitboard/tests.rs:33:16 [INFO] [stdout] | [INFO] [stdout] 33 | assert_eq!(idx_to_reading_order(55), 15); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 2 + use crate::bitboard::idx_to_reading_order; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `idx_to_reading_order` in this scope [INFO] [stdout] --> src/bitboard/tests.rs:34:16 [INFO] [stdout] | [INFO] [stdout] 34 | assert_eq!(idx_to_reading_order(56), 0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 2 + use crate::bitboard::idx_to_reading_order; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `idx_to_reading_order` in this scope [INFO] [stdout] --> src/bitboard/tests.rs:35:16 [INFO] [stdout] | [INFO] [stdout] 35 | assert_eq!(idx_to_reading_order(63), 7); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 2 + use crate::bitboard::idx_to_reading_order; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Bitboard` in this scope [INFO] [stdout] --> src/bitboard/tests.rs:40:16 [INFO] [stdout] | [INFO] [stdout] 40 | assert_eq!(Bitboard(1), Bitboard(0).or(Bitboard(1))); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple struct [INFO] [stdout] | [INFO] [stdout] 2 + use crate::bitboard::Bitboard; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Bitboard` in this scope [INFO] [stdout] --> src/bitboard/tests.rs:40:29 [INFO] [stdout] | [INFO] [stdout] 40 | assert_eq!(Bitboard(1), Bitboard(0).or(Bitboard(1))); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple struct [INFO] [stdout] | [INFO] [stdout] 2 + use crate::bitboard::Bitboard; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Bitboard` in this scope [INFO] [stdout] --> src/bitboard/tests.rs:40:44 [INFO] [stdout] | [INFO] [stdout] 40 | assert_eq!(Bitboard(1), Bitboard(0).or(Bitboard(1))); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple struct [INFO] [stdout] | [INFO] [stdout] 2 + use crate::bitboard::Bitboard; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Bitboard` in this scope [INFO] [stdout] --> src/bitboard/tests.rs:41:16 [INFO] [stdout] | [INFO] [stdout] 41 | assert_eq!(Bitboard(72057937635311746), [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple struct [INFO] [stdout] | [INFO] [stdout] 2 + use crate::bitboard::Bitboard; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Bitboard` in this scope [INFO] [stdout] --> src/bitboard/tests.rs:42:16 [INFO] [stdout] | [INFO] [stdout] 42 | Bitboard(72057662757404800).or(Bitboard(274877906946))); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple struct [INFO] [stdout] | [INFO] [stdout] 2 + use crate::bitboard::Bitboard; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Bitboard` in this scope [INFO] [stdout] --> src/bitboard/tests.rs:42:47 [INFO] [stdout] | [INFO] [stdout] 42 | Bitboard(72057662757404800).or(Bitboard(274877906946))); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple struct [INFO] [stdout] | [INFO] [stdout] 2 + use crate::bitboard::Bitboard; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Bitboard` in this scope [INFO] [stdout] --> src/bitboard/tests.rs:43:16 [INFO] [stdout] | [INFO] [stdout] 43 | assert_eq!(Bitboard(51541704864), [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple struct [INFO] [stdout] | [INFO] [stdout] 2 + use crate::bitboard::Bitboard; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Bitboard` in this scope [INFO] [stdout] --> src/bitboard/tests.rs:44:16 [INFO] [stdout] | [INFO] [stdout] 44 | Bitboard(51541704704).or(Bitboard(2097312))); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple struct [INFO] [stdout] | [INFO] [stdout] 2 + use crate::bitboard::Bitboard; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Bitboard` in this scope [INFO] [stdout] --> src/bitboard/tests.rs:44:41 [INFO] [stdout] | [INFO] [stdout] 44 | Bitboard(51541704704).or(Bitboard(2097312))); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple struct [INFO] [stdout] | [INFO] [stdout] 2 + use crate::bitboard::Bitboard; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Bitboard` in this scope [INFO] [stdout] --> src/bitboard/tests.rs:49:22 [INFO] [stdout] | [INFO] [stdout] 49 | let mut actual = Bitboard(0); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple struct [INFO] [stdout] | [INFO] [stdout] 2 + use crate::bitboard::Bitboard; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Bitboard` in this scope [INFO] [stdout] --> src/bitboard/tests.rs:52:16 [INFO] [stdout] | [INFO] [stdout] 52 | assert_eq!(Bitboard(268435456), actual); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple struct [INFO] [stdout] | [INFO] [stdout] 2 + use crate::bitboard::Bitboard; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Bitboard` in this scope [INFO] [stdout] --> src/position/tests.rs:10:16 [INFO] [stdout] | [INFO] [stdout] 10 | let pawns: Bitboard = Bitboard(0xff00000000ff00); [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] 2 + use crate::position::Bitboard; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Bitboard` in this scope [INFO] [stdout] --> src/position/tests.rs:10:27 [INFO] [stdout] | [INFO] [stdout] 10 | let pawns: Bitboard = Bitboard(0xff00000000ff00); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple struct through its public re-export [INFO] [stdout] | [INFO] [stdout] 2 + use crate::position::Bitboard; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Bitboard` in this scope [INFO] [stdout] --> src/position/tests.rs:11:18 [INFO] [stdout] | [INFO] [stdout] 11 | let knights: Bitboard = Bitboard(0x4200000000000042); [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] 2 + use crate::position::Bitboard; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Bitboard` in this scope [INFO] [stdout] --> src/position/tests.rs:11:29 [INFO] [stdout] | [INFO] [stdout] 11 | let knights: Bitboard = Bitboard(0x4200000000000042); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple struct through its public re-export [INFO] [stdout] | [INFO] [stdout] 2 + use crate::position::Bitboard; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Bitboard` in this scope [INFO] [stdout] --> src/position/tests.rs:12:18 [INFO] [stdout] | [INFO] [stdout] 12 | let bishops: Bitboard = Bitboard(0x2400000000000024); [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] 2 + use crate::position::Bitboard; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Bitboard` in this scope [INFO] [stdout] --> src/position/tests.rs:12:29 [INFO] [stdout] | [INFO] [stdout] 12 | let bishops: Bitboard = Bitboard(0x2400000000000024); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple struct through its public re-export [INFO] [stdout] | [INFO] [stdout] 2 + use crate::position::Bitboard; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Bitboard` in this scope [INFO] [stdout] --> src/position/tests.rs:13:16 [INFO] [stdout] | [INFO] [stdout] 13 | let rooks: Bitboard = Bitboard(0x8100000000000081); [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] 2 + use crate::position::Bitboard; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Bitboard` in this scope [INFO] [stdout] --> src/position/tests.rs:13:27 [INFO] [stdout] | [INFO] [stdout] 13 | let rooks: Bitboard = Bitboard(0x8100000000000081); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple struct through its public re-export [INFO] [stdout] | [INFO] [stdout] 2 + use crate::position::Bitboard; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Bitboard` in this scope [INFO] [stdout] --> src/position/tests.rs:14:17 [INFO] [stdout] | [INFO] [stdout] 14 | let queens: Bitboard = Bitboard(0x800000000000008); [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] 2 + use crate::position::Bitboard; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Bitboard` in this scope [INFO] [stdout] --> src/position/tests.rs:14:28 [INFO] [stdout] | [INFO] [stdout] 14 | let queens: Bitboard = Bitboard(0x800000000000008); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple struct through its public re-export [INFO] [stdout] | [INFO] [stdout] 2 + use crate::position::Bitboard; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Bitboard` in this scope [INFO] [stdout] --> src/position/tests.rs:15:16 [INFO] [stdout] | [INFO] [stdout] 15 | let kings: Bitboard = Bitboard(0x1000000000000010); [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] 2 + use crate::position::Bitboard; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Bitboard` in this scope [INFO] [stdout] --> src/position/tests.rs:15:27 [INFO] [stdout] | [INFO] [stdout] 15 | let kings: Bitboard = Bitboard(0x1000000000000010); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple struct through its public re-export [INFO] [stdout] | [INFO] [stdout] 2 + use crate::position::Bitboard; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Bitboard` in this scope [INFO] [stdout] --> src/position/tests.rs:16:23 [INFO] [stdout] | [INFO] [stdout] 16 | let white_pieces: Bitboard = Bitboard(0xffff); [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] 2 + use crate::position::Bitboard; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Bitboard` in this scope [INFO] [stdout] --> src/position/tests.rs:16:34 [INFO] [stdout] | [INFO] [stdout] 16 | let white_pieces: Bitboard = Bitboard(0xffff); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple struct through its public re-export [INFO] [stdout] | [INFO] [stdout] 2 + use crate::position::Bitboard; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Bitboard` in this scope [INFO] [stdout] --> src/position/tests.rs:17:23 [INFO] [stdout] | [INFO] [stdout] 17 | let black_pieces: Bitboard = Bitboard(0xffff000000000000); [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] 2 + use crate::position::Bitboard; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Bitboard` in this scope [INFO] [stdout] --> src/position/tests.rs:17:34 [INFO] [stdout] | [INFO] [stdout] 17 | let black_pieces: Bitboard = Bitboard(0xffff000000000000); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple struct through its public re-export [INFO] [stdout] | [INFO] [stdout] 2 + use crate::position::Bitboard; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Position` in this scope [INFO] [stdout] --> src/position/tests.rs:19:29 [INFO] [stdout] | [INFO] [stdout] 19 | let expected_start_pos: Position = [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use crate::position::Position; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Position` in this scope [INFO] [stdout] --> src/position/tests.rs:20:9 [INFO] [stdout] | [INFO] [stdout] 20 | Position { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use crate::position::Position; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Position` [INFO] [stdout] --> src/position/tests.rs:31:19 [INFO] [stdout] | [INFO] [stdout] 31 | let fen_pos = Position::from_fen("rnbqkbnr/pppppppp/8/8/8/8/PPPPPPPP/RNBQKBNR".to_string()); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Position` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use crate::position::Position; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Bitboard` in this scope [INFO] [stdout] --> src/moves/tests.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 5 | Bitboard(171798691840), [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple struct through its public re-export [INFO] [stdout] | [INFO] [stdout] 2 + use crate::moves::Bitboard; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `mask_pawn_attacks` in this scope [INFO] [stdout] --> src/moves/tests.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 6 | mask_pawn_attacks(28, Color::White) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 2 + use crate::moves::mask_pawn_attacks; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Color` [INFO] [stdout] --> src/moves/tests.rs:6:31 [INFO] [stdout] | [INFO] [stdout] 6 | mask_pawn_attacks(28, 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] 2 + use crate::moves::Color; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Bitboard` in this scope [INFO] [stdout] --> src/moves/tests.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 9 | Bitboard(4194304), [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple struct through its public re-export [INFO] [stdout] | [INFO] [stdout] 2 + use crate::moves::Bitboard; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `mask_pawn_attacks` in this scope [INFO] [stdout] --> src/moves/tests.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 10 | mask_pawn_attacks(31, Color::Black) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 2 + use crate::moves::mask_pawn_attacks; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Color` [INFO] [stdout] --> src/moves/tests.rs:10:31 [INFO] [stdout] | [INFO] [stdout] 10 | mask_pawn_attacks(31, 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] 2 + use crate::moves::Color; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Bitboard` in this scope [INFO] [stdout] --> src/moves/tests.rs:17:9 [INFO] [stdout] | [INFO] [stdout] 17 | Bitboard(345879119952), [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple struct through its public re-export [INFO] [stdout] | [INFO] [stdout] 2 + use crate::moves::Bitboard; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `mask_knight_attacks` in this scope [INFO] [stdout] --> src/moves/tests.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 18 | mask_knight_attacks(21) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 2 + use crate::moves::mask_knight_attacks; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Bitboard` in this scope [INFO] [stdout] --> src/moves/tests.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 22 | Bitboard(2685403152), [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple struct through its public re-export [INFO] [stdout] | [INFO] [stdout] 2 + use crate::moves::Bitboard; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `mask_knight_attacks` in this scope [INFO] [stdout] --> src/moves/tests.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 23 | mask_knight_attacks(14) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 2 + use crate::moves::mask_knight_attacks; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Bitboard` in this scope [INFO] [stdout] --> src/moves/tests.rs:27:9 [INFO] [stdout] | [INFO] [stdout] 27 | Bitboard(1128098930098176), [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple struct through its public re-export [INFO] [stdout] | [INFO] [stdout] 2 + use crate::moves::Bitboard; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `mask_knight_attacks` in this scope [INFO] [stdout] --> src/moves/tests.rs:28:9 [INFO] [stdout] | [INFO] [stdout] 28 | mask_knight_attacks(56) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 2 + use crate::moves::mask_knight_attacks; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Bitboard` in this scope [INFO] [stdout] --> src/moves/tests.rs:35:9 [INFO] [stdout] | [INFO] [stdout] 35 | Bitboard(241192927232), [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple struct through its public re-export [INFO] [stdout] | [INFO] [stdout] 2 + use crate::moves::Bitboard; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `mask_king_attacks` in this scope [INFO] [stdout] --> src/moves/tests.rs:36:9 [INFO] [stdout] | [INFO] [stdout] 36 | mask_king_attacks(28) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 2 + use crate::moves::mask_king_attacks; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Bitboard` in this scope [INFO] [stdout] --> src/moves/tests.rs:40:9 [INFO] [stdout] | [INFO] [stdout] 40 | Bitboard(4665729213955833856), [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple struct through its public re-export [INFO] [stdout] | [INFO] [stdout] 2 + use crate::moves::Bitboard; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `mask_king_attacks` in this scope [INFO] [stdout] --> src/moves/tests.rs:41:9 [INFO] [stdout] | [INFO] [stdout] 41 | mask_king_attacks(63) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 2 + use crate::moves::mask_king_attacks; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `init_leaper_attacks` in this scope [INFO] [stdout] --> src/moves/tests.rs:47:16 [INFO] [stdout] | [INFO] [stdout] 47 | let test = init_leaper_attacks(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 2 + use crate::moves::init_leaper_attacks; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Bitboard` in this scope [INFO] [stdout] --> src/moves/tests.rs:50:9 [INFO] [stdout] | [INFO] [stdout] 50 | Bitboard(171798691840), [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple struct through its public re-export [INFO] [stdout] | [INFO] [stdout] 2 + use crate::moves::Bitboard; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Bitboard` in this scope [INFO] [stdout] --> src/moves/tests.rs:55:9 [INFO] [stdout] | [INFO] [stdout] 55 | Bitboard(9077567998918656), [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple struct through its public re-export [INFO] [stdout] | [INFO] [stdout] 2 + use crate::moves::Bitboard; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Bitboard` in this scope [INFO] [stdout] --> src/moves/tests.rs:60:9 [INFO] [stdout] | [INFO] [stdout] 60 | Bitboard(7188), [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple struct through its public re-export [INFO] [stdout] | [INFO] [stdout] 2 + use crate::moves::Bitboard; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `attacks_bb` is never read [INFO] [stdout] --> src/moves.rs:56:13 [INFO] [stdout] | [INFO] [stdout] 56 | let mut attacks_bb = Bitboard(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 `attack_bb` is never read [INFO] [stdout] --> src/moves.rs:112:13 [INFO] [stdout] | [INFO] [stdout] 112 | let mut attack_bb = Bitboard(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 77 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 `rusty_chess` (lib test) due to 78 previous errors; 2 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: failed to migrate to next edition [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `cargo fix --edition --allow-no-vcs --allow-dirty --frozen --all --all-targets --message-format=json` (exit status: 101) [INFO] running `Command { std: "docker" "inspect" "16cf40bbca64dc2ca87ec6bf2036902f1bc77a5cfd133322ea5ff1f73ea9795b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "16cf40bbca64dc2ca87ec6bf2036902f1bc77a5cfd133322ea5ff1f73ea9795b", kill_on_drop: false }` [INFO] [stdout] 16cf40bbca64dc2ca87ec6bf2036902f1bc77a5cfd133322ea5ff1f73ea9795b