[INFO] cloning repository https://github.com/declanvk/boknafisk [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/declanvk/boknafisk" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdeclanvk%2Fboknafisk", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdeclanvk%2Fboknafisk'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 595ab8824118f9ecc0a44da64544a65b4f664ce6 [INFO] checking declanvk/boknafisk/595ab8824118f9ecc0a44da64544a65b4f664ce6 against master#f609b7e0586f81fefb3523e3e17adf779ac416be for pr-129466-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdeclanvk%2Fboknafisk" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/declanvk/boknafisk on toolchain f609b7e0586f81fefb3523e3e17adf779ac416be [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/declanvk/boknafisk [INFO] finished tweaking git repo https://github.com/declanvk/boknafisk [INFO] tweaked toml for git repo https://github.com/declanvk/boknafisk written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/declanvk/boknafisk already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded lazy_static v0.2.2 [INFO] [stderr] Downloaded unicode-segmentation v1.0.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 35bf8305f01008a7dc2b30718509e670457c92de55685e1458bc8ac536c73e8e [INFO] running `Command { std: "docker" "start" "-a" "35bf8305f01008a7dc2b30718509e670457c92de55685e1458bc8ac536c73e8e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "35bf8305f01008a7dc2b30718509e670457c92de55685e1458bc8ac536c73e8e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "35bf8305f01008a7dc2b30718509e670457c92de55685e1458bc8ac536c73e8e", kill_on_drop: false }` [INFO] [stdout] 35bf8305f01008a7dc2b30718509e670457c92de55685e1458bc8ac536c73e8e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 09d209165b78f7f5cb56e45c21124dc16dce4d02e06c8a577bcba5724a58e044 [INFO] running `Command { std: "docker" "start" "-a" "09d209165b78f7f5cb56e45c21124dc16dce4d02e06c8a577bcba5724a58e044", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Checking unicode-segmentation v1.0.1 [INFO] [stderr] Checking lazy_static v0.2.2 [INFO] [stderr] Checking bitflags v0.7.0 [INFO] [stderr] Checking boknafisk v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0557]: feature has been removed [INFO] [stdout] --> src/lib.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | #![feature(box_syntax)] [INFO] [stdout] | ^^^^^^^^^^ feature has been removed [INFO] [stdout] | [INFO] [stdout] = note: replaced with `#[rustc_box]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0557]: feature has been removed [INFO] [stdout] --> src/lib.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | #![feature(box_syntax)] [INFO] [stdout] | ^^^^^^^^^^ feature has been removed [INFO] [stdout] | [INFO] [stdout] = note: replaced with `#[rustc_box]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_syntax` has been removed [INFO] [stdout] --> src/move_gen.rs:58:32 [INFO] [stdout] | [INFO] [stdout] 58 | PieceType::King => box [0 as BitBoard; KING_ATTACKS_SIZE], [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use `Box::new()` instead [INFO] [stdout] | [INFO] [stdout] 58 | PieceType::King => Box::new([0 as BitBoard; KING_ATTACKS_SIZE]), [INFO] [stdout] | ~~~~~~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_syntax` has been removed [INFO] [stdout] --> src/move_gen.rs:59:34 [INFO] [stdout] | [INFO] [stdout] 59 | PieceType::Knight => box [0 as BitBoard; KNIGHT_ATTACKS_SIZE], [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use `Box::new()` instead [INFO] [stdout] | [INFO] [stdout] 59 | PieceType::Knight => Box::new([0 as BitBoard; KNIGHT_ATTACKS_SIZE]), [INFO] [stdout] | ~~~~~~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_syntax` has been removed [INFO] [stdout] --> src/move_gen.rs:110:32 [INFO] [stdout] | [INFO] [stdout] 110 | PieceType::Rook => box [0 as BitBoard; ROOK_ATTACKS_SIZE], [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use `Box::new()` instead [INFO] [stdout] | [INFO] [stdout] 110 | PieceType::Rook => Box::new([0 as BitBoard; ROOK_ATTACKS_SIZE]), [INFO] [stdout] | ~~~~~~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_syntax` has been removed [INFO] [stdout] --> src/move_gen.rs:111:34 [INFO] [stdout] | [INFO] [stdout] 111 | PieceType::Bishop => box [0 as BitBoard; BISHOP_ATTACKS_SIZE], [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use `Box::new()` instead [INFO] [stdout] | [INFO] [stdout] 111 | PieceType::Bishop => Box::new([0 as BitBoard; BISHOP_ATTACKS_SIZE]), [INFO] [stdout] | ~~~~~~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_syntax` has been removed [INFO] [stdout] --> src/move_gen.rs:336:45 [INFO] [stdout] | [INFO] [stdout] 336 | let rook_attacks: Box<[BitBoard]> = box [0 as BitBoard; ROOK_ATTACKS_SIZE]; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use `Box::new()` instead [INFO] [stdout] | [INFO] [stdout] 336 | let rook_attacks: Box<[BitBoard]> = Box::new([0 as BitBoard; ROOK_ATTACKS_SIZE]); [INFO] [stdout] | ~~~~~~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_syntax` has been removed [INFO] [stdout] --> src/move_gen.rs:337:47 [INFO] [stdout] | [INFO] [stdout] 337 | let bishop_attacks: Box<[BitBoard]> = box [0 as BitBoard; BISHOP_ATTACKS_SIZE]; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use `Box::new()` instead [INFO] [stdout] | [INFO] [stdout] 337 | let bishop_attacks: Box<[BitBoard]> = Box::new([0 as BitBoard; BISHOP_ATTACKS_SIZE]); [INFO] [stdout] | ~~~~~~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_syntax` has been removed [INFO] [stdout] --> src/move_gen.rs:338:47 [INFO] [stdout] | [INFO] [stdout] 338 | let knight_attacks: Box<[BitBoard]> = box [0 as BitBoard; KNIGHT_ATTACKS_SIZE]; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use `Box::new()` instead [INFO] [stdout] | [INFO] [stdout] 338 | let knight_attacks: Box<[BitBoard]> = Box::new([0 as BitBoard; KNIGHT_ATTACKS_SIZE]); [INFO] [stdout] | ~~~~~~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_syntax` has been removed [INFO] [stdout] --> src/move_gen.rs:339:45 [INFO] [stdout] | [INFO] [stdout] 339 | let king_attacks: Box<[BitBoard]> = box [0 as BitBoard; KING_ATTACKS_SIZE]; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use `Box::new()` instead [INFO] [stdout] | [INFO] [stdout] 339 | let king_attacks: Box<[BitBoard]> = Box::new([0 as BitBoard; KING_ATTACKS_SIZE]); [INFO] [stdout] | ~~~~~~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_syntax` has been removed [INFO] [stdout] --> src/move_gen.rs:58:32 [INFO] [stdout] | [INFO] [stdout] 58 | PieceType::King => box [0 as BitBoard; KING_ATTACKS_SIZE], [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use `Box::new()` instead [INFO] [stdout] | [INFO] [stdout] 58 | PieceType::King => Box::new([0 as BitBoard; KING_ATTACKS_SIZE]), [INFO] [stdout] | ~~~~~~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_syntax` has been removed [INFO] [stdout] --> src/move_gen.rs:59:34 [INFO] [stdout] | [INFO] [stdout] 59 | PieceType::Knight => box [0 as BitBoard; KNIGHT_ATTACKS_SIZE], [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use `Box::new()` instead [INFO] [stdout] | [INFO] [stdout] 59 | PieceType::Knight => Box::new([0 as BitBoard; KNIGHT_ATTACKS_SIZE]), [INFO] [stdout] | ~~~~~~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_syntax` has been removed [INFO] [stdout] --> src/move_gen.rs:110:32 [INFO] [stdout] | [INFO] [stdout] 110 | PieceType::Rook => box [0 as BitBoard; ROOK_ATTACKS_SIZE], [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use `Box::new()` instead [INFO] [stdout] | [INFO] [stdout] 110 | PieceType::Rook => Box::new([0 as BitBoard; ROOK_ATTACKS_SIZE]), [INFO] [stdout] | ~~~~~~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_syntax` has been removed [INFO] [stdout] --> src/move_gen.rs:111:34 [INFO] [stdout] | [INFO] [stdout] 111 | PieceType::Bishop => box [0 as BitBoard; BISHOP_ATTACKS_SIZE], [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use `Box::new()` instead [INFO] [stdout] | [INFO] [stdout] 111 | PieceType::Bishop => Box::new([0 as BitBoard; BISHOP_ATTACKS_SIZE]), [INFO] [stdout] | ~~~~~~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_syntax` has been removed [INFO] [stdout] --> src/move_gen.rs:336:45 [INFO] [stdout] | [INFO] [stdout] 336 | let rook_attacks: Box<[BitBoard]> = box [0 as BitBoard; ROOK_ATTACKS_SIZE]; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use `Box::new()` instead [INFO] [stdout] | [INFO] [stdout] 336 | let rook_attacks: Box<[BitBoard]> = Box::new([0 as BitBoard; ROOK_ATTACKS_SIZE]); [INFO] [stdout] | ~~~~~~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_syntax` has been removed [INFO] [stdout] --> src/move_gen.rs:337:47 [INFO] [stdout] | [INFO] [stdout] 337 | let bishop_attacks: Box<[BitBoard]> = box [0 as BitBoard; BISHOP_ATTACKS_SIZE]; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use `Box::new()` instead [INFO] [stdout] | [INFO] [stdout] 337 | let bishop_attacks: Box<[BitBoard]> = Box::new([0 as BitBoard; BISHOP_ATTACKS_SIZE]); [INFO] [stdout] | ~~~~~~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_syntax` has been removed [INFO] [stdout] --> src/move_gen.rs:338:47 [INFO] [stdout] | [INFO] [stdout] 338 | let knight_attacks: Box<[BitBoard]> = box [0 as BitBoard; KNIGHT_ATTACKS_SIZE]; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use `Box::new()` instead [INFO] [stdout] | [INFO] [stdout] 338 | let knight_attacks: Box<[BitBoard]> = Box::new([0 as BitBoard; KNIGHT_ATTACKS_SIZE]); [INFO] [stdout] | ~~~~~~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_syntax` has been removed [INFO] [stdout] --> src/move_gen.rs:339:45 [INFO] [stdout] | [INFO] [stdout] 339 | let king_attacks: Box<[BitBoard]> = box [0 as BitBoard; KING_ATTACKS_SIZE]; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use `Box::new()` instead [INFO] [stdout] | [INFO] [stdout] 339 | let king_attacks: Box<[BitBoard]> = Box::new([0 as BitBoard; KING_ATTACKS_SIZE]); [INFO] [stdout] | ~~~~~~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0437]: type `Err` is not a member of trait `TryFrom` [INFO] [stdout] --> src/square_position.rs:37:5 [INFO] [stdout] | [INFO] [stdout] 37 | type Err = SquarePositionFromError; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not a member of trait `TryFrom` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0437]: type `Err` is not a member of trait `TryFrom` [INFO] [stdout] --> src/square_position.rs:54:5 [INFO] [stdout] | [INFO] [stdout] 54 | type Err = SquarePositionFromError; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not a member of trait `TryFrom` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/piece_board.rs:23:77 [INFO] [stdout] | [INFO] [stdout] 23 | starting.board[0] = Some(Piece::new(PieceType::Rook, Color::White));; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(redundant_semicolons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/piece_board.rs:24:79 [INFO] [stdout] | [INFO] [stdout] 24 | starting.board[1] = Some(Piece::new(PieceType::Knight, Color::White));; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/piece_board.rs:25:79 [INFO] [stdout] | [INFO] [stdout] 25 | starting.board[2] = Some(Piece::new(PieceType::Bishop, Color::White));; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/piece_board.rs:26:78 [INFO] [stdout] | [INFO] [stdout] 26 | starting.board[3] = Some(Piece::new(PieceType::Queen, Color::White));; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/piece_board.rs:27:77 [INFO] [stdout] | [INFO] [stdout] 27 | starting.board[4] = Some(Piece::new(PieceType::King, Color::White));; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/piece_board.rs:28:79 [INFO] [stdout] | [INFO] [stdout] 28 | starting.board[5] = Some(Piece::new(PieceType::Bishop, Color::White));; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/piece_board.rs:29:79 [INFO] [stdout] | [INFO] [stdout] 29 | starting.board[6] = Some(Piece::new(PieceType::Knight, Color::White));; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/piece_board.rs:30:77 [INFO] [stdout] | [INFO] [stdout] 30 | starting.board[7] = Some(Piece::new(PieceType::Rook, Color::White));; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/piece_board.rs:36:78 [INFO] [stdout] | [INFO] [stdout] 36 | starting.board[56] = Some(Piece::new(PieceType::Rook, Color::Black));; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/piece_board.rs:37:80 [INFO] [stdout] | [INFO] [stdout] 37 | starting.board[57] = Some(Piece::new(PieceType::Knight, Color::Black));; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/piece_board.rs:38:80 [INFO] [stdout] | [INFO] [stdout] 38 | starting.board[58] = Some(Piece::new(PieceType::Bishop, Color::Black));; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/piece_board.rs:39:79 [INFO] [stdout] | [INFO] [stdout] 39 | starting.board[59] = Some(Piece::new(PieceType::Queen, Color::Black));; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/piece_board.rs:40:78 [INFO] [stdout] | [INFO] [stdout] 40 | starting.board[60] = Some(Piece::new(PieceType::King, Color::Black));; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/piece_board.rs:41:80 [INFO] [stdout] | [INFO] [stdout] 41 | starting.board[61] = Some(Piece::new(PieceType::Bishop, Color::Black));; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/piece_board.rs:42:80 [INFO] [stdout] | [INFO] [stdout] 42 | starting.board[62] = Some(Piece::new(PieceType::Knight, Color::Black));; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/piece_board.rs:43:78 [INFO] [stdout] | [INFO] [stdout] 43 | starting.board[63] = Some(Piece::new(PieceType::Rook, Color::Black));; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/castling.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | / bitflags! { [INFO] [stdout] 6 | | pub flags CastlingFlags: u8 { [INFO] [stdout] 7 | | const WHITE_QUEENSIDE = 0b0000001, [INFO] [stdout] 8 | | const WHITE_KINGSIDE = 0b0000010, [INFO] [stdout] ... | [INFO] [stdout] 11 | | } [INFO] [stdout] 12 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in the macro `bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/castling.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | / bitflags! { [INFO] [stdout] 6 | | pub flags CastlingFlags: u8 { [INFO] [stdout] 7 | | const WHITE_QUEENSIDE = 0b0000001, [INFO] [stdout] 8 | | const WHITE_KINGSIDE = 0b0000010, [INFO] [stdout] ... | [INFO] [stdout] 11 | | } [INFO] [stdout] 12 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/misc.rs:8:59 [INFO] [stdout] | [INFO] [stdout] 8 | pub fn range<'a, T: Ord>(ref data: &'a Vec) -> (Option<&T>, Option<&T>) { [INFO] [stdout] | -- lifetime `'a` declared here ^ this elided lifetime gets resolved as `'a` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(elided_named_lifetimes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/misc.rs:8:71 [INFO] [stdout] | [INFO] [stdout] 8 | pub fn range<'a, T: Ord>(ref data: &'a Vec) -> (Option<&T>, Option<&T>) { [INFO] [stdout] | -- lifetime `'a` declared here ^ this elided lifetime gets resolved as `'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0437]: type `Err` is not a member of trait `TryFrom` [INFO] [stdout] --> src/square_position.rs:37:5 [INFO] [stdout] | [INFO] [stdout] 37 | type Err = SquarePositionFromError; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not a member of trait `TryFrom` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0437]: type `Err` is not a member of trait `TryFrom` [INFO] [stdout] --> src/square_position.rs:54:5 [INFO] [stdout] | [INFO] [stdout] 54 | type Err = SquarePositionFromError; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not a member of trait `TryFrom` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/piece_board.rs:23:77 [INFO] [stdout] | [INFO] [stdout] 23 | starting.board[0] = Some(Piece::new(PieceType::Rook, Color::White));; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(redundant_semicolons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/piece_board.rs:24:79 [INFO] [stdout] | [INFO] [stdout] 24 | starting.board[1] = Some(Piece::new(PieceType::Knight, Color::White));; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/piece_board.rs:25:79 [INFO] [stdout] | [INFO] [stdout] 25 | starting.board[2] = Some(Piece::new(PieceType::Bishop, Color::White));; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/piece_board.rs:26:78 [INFO] [stdout] | [INFO] [stdout] 26 | starting.board[3] = Some(Piece::new(PieceType::Queen, Color::White));; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/piece_board.rs:27:77 [INFO] [stdout] | [INFO] [stdout] 27 | starting.board[4] = Some(Piece::new(PieceType::King, Color::White));; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/piece_board.rs:28:79 [INFO] [stdout] | [INFO] [stdout] 28 | starting.board[5] = Some(Piece::new(PieceType::Bishop, Color::White));; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/piece_board.rs:29:79 [INFO] [stdout] | [INFO] [stdout] 29 | starting.board[6] = Some(Piece::new(PieceType::Knight, Color::White));; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/piece_board.rs:30:77 [INFO] [stdout] | [INFO] [stdout] 30 | starting.board[7] = Some(Piece::new(PieceType::Rook, Color::White));; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/piece_board.rs:36:78 [INFO] [stdout] | [INFO] [stdout] 36 | starting.board[56] = Some(Piece::new(PieceType::Rook, Color::Black));; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/piece_board.rs:37:80 [INFO] [stdout] | [INFO] [stdout] 37 | starting.board[57] = Some(Piece::new(PieceType::Knight, Color::Black));; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/piece_board.rs:38:80 [INFO] [stdout] | [INFO] [stdout] 38 | starting.board[58] = Some(Piece::new(PieceType::Bishop, Color::Black));; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/piece_board.rs:39:79 [INFO] [stdout] | [INFO] [stdout] 39 | starting.board[59] = Some(Piece::new(PieceType::Queen, Color::Black));; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/piece_board.rs:40:78 [INFO] [stdout] | [INFO] [stdout] 40 | starting.board[60] = Some(Piece::new(PieceType::King, Color::Black));; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/piece_board.rs:41:80 [INFO] [stdout] | [INFO] [stdout] 41 | starting.board[61] = Some(Piece::new(PieceType::Bishop, Color::Black));; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/piece_board.rs:42:80 [INFO] [stdout] | [INFO] [stdout] 42 | starting.board[62] = Some(Piece::new(PieceType::Knight, Color::Black));; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/piece_board.rs:43:78 [INFO] [stdout] | [INFO] [stdout] 43 | starting.board[63] = Some(Piece::new(PieceType::Rook, Color::Black));; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/castling.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | / bitflags! { [INFO] [stdout] 6 | | pub flags CastlingFlags: u8 { [INFO] [stdout] 7 | | const WHITE_QUEENSIDE = 0b0000001, [INFO] [stdout] 8 | | const WHITE_KINGSIDE = 0b0000010, [INFO] [stdout] ... | [INFO] [stdout] 11 | | } [INFO] [stdout] 12 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in the macro `bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/castling.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | / bitflags! { [INFO] [stdout] 6 | | pub flags CastlingFlags: u8 { [INFO] [stdout] 7 | | const WHITE_QUEENSIDE = 0b0000001, [INFO] [stdout] 8 | | const WHITE_KINGSIDE = 0b0000010, [INFO] [stdout] ... | [INFO] [stdout] 11 | | } [INFO] [stdout] 12 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/misc.rs:8:59 [INFO] [stdout] | [INFO] [stdout] 8 | pub fn range<'a, T: Ord>(ref data: &'a Vec) -> (Option<&T>, Option<&T>) { [INFO] [stdout] | -- lifetime `'a` declared here ^ this elided lifetime gets resolved as `'a` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(elided_named_lifetimes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/misc.rs:8:71 [INFO] [stdout] | [INFO] [stdout] 8 | pub fn range<'a, T: Ord>(ref data: &'a Vec) -> (Option<&T>, Option<&T>) { [INFO] [stdout] | -- lifetime `'a` declared here ^ this elided lifetime gets resolved as `'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Direction` [INFO] [stdout] --> src/move_gen.rs:328:37 [INFO] [stdout] | [INFO] [stdout] 328 | use square_position::{CARDINAL, Direction, SquarePosition}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stdout] --> src/bit_boards.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | / lazy_static! { [INFO] [stdout] 11 | | pub static ref FILE_BOARDS: [BitBoard; 8] = { [INFO] [stdout] 12 | | let mut file_boards = [0x101010101010101 as BitBoard; 8]; [INFO] [stdout] ... | [INFO] [stdout] 28 | | }; [INFO] [stdout] 29 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `generate_sliding_attack_bitboards` [INFO] [stdout] --> src/move_gen.rs:331:20 [INFO] [stdout] | [INFO] [stdout] 331 | generate_sliding_attack_bitboards}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stdout] --> src/bit_boards.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | / lazy_static! { [INFO] [stdout] 11 | | pub static ref FILE_BOARDS: [BitBoard; 8] = { [INFO] [stdout] 12 | | let mut file_boards = [0x101010101010101 as BitBoard; 8]; [INFO] [stdout] ... | [INFO] [stdout] 28 | | }; [INFO] [stdout] 29 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stdout] --> src/bit_boards.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | / lazy_static! { [INFO] [stdout] 11 | | pub static ref FILE_BOARDS: [BitBoard; 8] = { [INFO] [stdout] 12 | | let mut file_boards = [0x101010101010101 as BitBoard; 8]; [INFO] [stdout] ... | [INFO] [stdout] 28 | | }; [INFO] [stdout] 29 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stdout] --> src/bit_boards.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | / lazy_static! { [INFO] [stdout] 11 | | pub static ref FILE_BOARDS: [BitBoard; 8] = { [INFO] [stdout] 12 | | let mut file_boards = [0x101010101010101 as BitBoard; 8]; [INFO] [stdout] ... | [INFO] [stdout] 28 | | }; [INFO] [stdout] 29 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stdout] --> src/move_gen.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | / lazy_static! { [INFO] [stdout] 14 | | pub static ref KING_DIRECTIONS: [Direction; 8] = { [INFO] [stdout] 15 | | [ [INFO] [stdout] 16 | | NORTH, [INFO] [stdout] ... | [INFO] [stdout] 37 | | }; [INFO] [stdout] 38 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stdout] --> src/move_gen.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | / lazy_static! { [INFO] [stdout] 14 | | pub static ref KING_DIRECTIONS: [Direction; 8] = { [INFO] [stdout] 15 | | [ [INFO] [stdout] 16 | | NORTH, [INFO] [stdout] ... | [INFO] [stdout] 37 | | }; [INFO] [stdout] 38 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stdout] --> src/move_gen.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | / lazy_static! { [INFO] [stdout] 14 | | pub static ref KING_DIRECTIONS: [Direction; 8] = { [INFO] [stdout] 15 | | [ [INFO] [stdout] 16 | | NORTH, [INFO] [stdout] ... | [INFO] [stdout] 37 | | }; [INFO] [stdout] 38 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stdout] --> src/move_gen.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | / lazy_static! { [INFO] [stdout] 14 | | pub static ref KING_DIRECTIONS: [Direction; 8] = { [INFO] [stdout] 15 | | [ [INFO] [stdout] 16 | | NORTH, [INFO] [stdout] ... | [INFO] [stdout] 37 | | }; [INFO] [stdout] 38 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `try_from` has been stable since 1.34.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/lib.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(try_from)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stdout] --> src/bit_boards.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | / lazy_static! { [INFO] [stdout] 11 | | pub static ref FILE_BOARDS: [BitBoard; 8] = { [INFO] [stdout] 12 | | let mut file_boards = [0x101010101010101 as BitBoard; 8]; [INFO] [stdout] ... | [INFO] [stdout] 28 | | }; [INFO] [stdout] 29 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stdout] --> src/bit_boards.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | / lazy_static! { [INFO] [stdout] 11 | | pub static ref FILE_BOARDS: [BitBoard; 8] = { [INFO] [stdout] 12 | | let mut file_boards = [0x101010101010101 as BitBoard; 8]; [INFO] [stdout] ... | [INFO] [stdout] 28 | | }; [INFO] [stdout] 29 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stdout] --> src/bit_boards.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | / lazy_static! { [INFO] [stdout] 11 | | pub static ref FILE_BOARDS: [BitBoard; 8] = { [INFO] [stdout] 12 | | let mut file_boards = [0x101010101010101 as BitBoard; 8]; [INFO] [stdout] ... | [INFO] [stdout] 28 | | }; [INFO] [stdout] 29 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stdout] --> src/bit_boards.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | / lazy_static! { [INFO] [stdout] 11 | | pub static ref FILE_BOARDS: [BitBoard; 8] = { [INFO] [stdout] 12 | | let mut file_boards = [0x101010101010101 as BitBoard; 8]; [INFO] [stdout] ... | [INFO] [stdout] 28 | | }; [INFO] [stdout] 29 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stdout] --> src/move_gen.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | / lazy_static! { [INFO] [stdout] 14 | | pub static ref KING_DIRECTIONS: [Direction; 8] = { [INFO] [stdout] 15 | | [ [INFO] [stdout] 16 | | NORTH, [INFO] [stdout] ... | [INFO] [stdout] 37 | | }; [INFO] [stdout] 38 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stdout] --> src/move_gen.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | / lazy_static! { [INFO] [stdout] 14 | | pub static ref KING_DIRECTIONS: [Direction; 8] = { [INFO] [stdout] 15 | | [ [INFO] [stdout] 16 | | NORTH, [INFO] [stdout] ... | [INFO] [stdout] 37 | | }; [INFO] [stdout] 38 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stdout] --> src/move_gen.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | / lazy_static! { [INFO] [stdout] 14 | | pub static ref KING_DIRECTIONS: [Direction; 8] = { [INFO] [stdout] 15 | | [ [INFO] [stdout] 16 | | NORTH, [INFO] [stdout] ... | [INFO] [stdout] 37 | | }; [INFO] [stdout] 38 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stdout] --> src/move_gen.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | / lazy_static! { [INFO] [stdout] 14 | | pub static ref KING_DIRECTIONS: [Direction; 8] = { [INFO] [stdout] 15 | | [ [INFO] [stdout] 16 | | NORTH, [INFO] [stdout] ... | [INFO] [stdout] 37 | | }; [INFO] [stdout] 38 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `try_from` has been stable since 1.34.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/lib.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(try_from)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0046]: not all trait items implemented, missing: `Error` [INFO] [stdout] --> src/square_position.rs:36:1 [INFO] [stdout] | [INFO] [stdout] 36 | impl TryFrom for SquarePosition { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ missing `Error` in implementation [INFO] [stdout] | [INFO] [stdout] = help: implement the missing item: `type Error = /* Type */;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0046]: not all trait items implemented, missing: `Error` [INFO] [stdout] --> src/square_position.rs:36:1 [INFO] [stdout] | [INFO] [stdout] 36 | impl TryFrom for SquarePosition { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ missing `Error` in implementation [INFO] [stdout] | [INFO] [stdout] = help: implement the missing item: `type Error = /* Type */;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0046]: not all trait items implemented, missing: `Error` [INFO] [stdout] --> src/square_position.rs:53:1 [INFO] [stdout] | [INFO] [stdout] 53 | impl TryFrom for SquarePosition { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ missing `Error` in implementation [INFO] [stdout] | [INFO] [stdout] = help: implement the missing item: `type Error = /* Type */;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0046]: not all trait items implemented, missing: `Error` [INFO] [stdout] --> src/square_position.rs:53:1 [INFO] [stdout] | [INFO] [stdout] 53 | impl TryFrom for SquarePosition { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ missing `Error` in implementation [INFO] [stdout] | [INFO] [stdout] = help: implement the missing item: `type Error = /* Type */;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/error_types.rs:20:32 [INFO] [stdout] | [INFO] [stdout] 20 | fn cause(&self) -> Option<&Error> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 20 | fn cause(&self) -> Option<&dyn Error> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/error_types.rs:20:32 [INFO] [stdout] | [INFO] [stdout] 20 | fn cause(&self) -> Option<&Error> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 20 | fn cause(&self) -> Option<&dyn Error> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/error_types.rs:70:32 [INFO] [stdout] | [INFO] [stdout] 70 | fn cause(&self) -> Option<&Error> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 70 | fn cause(&self) -> Option<&dyn Error> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/error_types.rs:70:32 [INFO] [stdout] | [INFO] [stdout] 70 | fn cause(&self) -> Option<&Error> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 70 | fn cause(&self) -> Option<&dyn Error> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/error_types.rs:65:64 [INFO] [stdout] | [INFO] [stdout] 65 | FromFenError::MalformedStringField(ref err) => err.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/error_types.rs:66:62 [INFO] [stdout] | [INFO] [stdout] 66 | FromFenError::IntFieldParseError(ref err) => err.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/error_types.rs:73:73 [INFO] [stdout] | [INFO] [stdout] 73 | FromFenError::MalformedStringField(ref err) => Some(err as &Error), [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 73 | FromFenError::MalformedStringField(ref err) => Some(err as &dyn Error), [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/error_types.rs:74:71 [INFO] [stdout] | [INFO] [stdout] 74 | FromFenError::IntFieldParseError(ref err) => Some(err as &Error), [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 74 | FromFenError::IntFieldParseError(ref err) => Some(err as &dyn Error), [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/error_types.rs:65:64 [INFO] [stdout] | [INFO] [stdout] 65 | FromFenError::MalformedStringField(ref err) => err.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/error_types.rs:66:62 [INFO] [stdout] | [INFO] [stdout] 66 | FromFenError::IntFieldParseError(ref err) => err.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/error_types.rs:73:73 [INFO] [stdout] | [INFO] [stdout] 73 | FromFenError::MalformedStringField(ref err) => Some(err as &Error), [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 73 | FromFenError::MalformedStringField(ref err) => Some(err as &dyn Error), [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/error_types.rs:74:71 [INFO] [stdout] | [INFO] [stdout] 74 | FromFenError::IntFieldParseError(ref err) => Some(err as &Error), [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 74 | FromFenError::IntFieldParseError(ref err) => Some(err as &dyn Error), [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `occupancy` [INFO] [stdout] --> src/move_gen.rs:87:53 [INFO] [stdout] | [INFO] [stdout] 87 | fn get_attacks(&self, position: SquarePosition, occupancy: BitBoard) -> BitBoard { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_occupancy` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `magic` is never read [INFO] [stdout] --> src/move_gen.rs:243:13 [INFO] [stdout] | [INFO] [stdout] 243 | let mut magic = 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] error: aborting due to 13 previous errors; 37 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0046, E0437, E0557. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0046`. [INFO] [stdout] [INFO] [stderr] error: could not compile `boknafisk` (lib) due to 14 previous errors; 37 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: unused variable: `occupancy` [INFO] [stdout] --> src/move_gen.rs:87:53 [INFO] [stdout] | [INFO] [stdout] 87 | fn get_attacks(&self, position: SquarePosition, occupancy: BitBoard) -> BitBoard { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_occupancy` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `magic` is never read [INFO] [stdout] --> src/move_gen.rs:243:13 [INFO] [stdout] | [INFO] [stdout] 243 | let mut magic = 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] error: aborting due to 13 previous errors; 39 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0046, E0437, E0557. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0046`. [INFO] [stdout] [INFO] [stderr] error: could not compile `boknafisk` (lib test) due to 14 previous errors; 39 warnings emitted [INFO] running `Command { std: "docker" "inspect" "09d209165b78f7f5cb56e45c21124dc16dce4d02e06c8a577bcba5724a58e044", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "09d209165b78f7f5cb56e45c21124dc16dce4d02e06c8a577bcba5724a58e044", kill_on_drop: false }` [INFO] [stdout] 09d209165b78f7f5cb56e45c21124dc16dce4d02e06c8a577bcba5724a58e044