[INFO] cloning repository https://github.com/erikfastermann/baby-chess-engine [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/erikfastermann/baby-chess-engine" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ferikfastermann%2Fbaby-chess-engine", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ferikfastermann%2Fbaby-chess-engine'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 8354ec5169696eeee963c69df6a2ff654f4502b7 [INFO] checking erikfastermann/baby-chess-engine/8354ec5169696eeee963c69df6a2ff654f4502b7 against master#f609b7e0586f81fefb3523e3e17adf779ac416be for pr-129466-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ferikfastermann%2Fbaby-chess-engine" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/erikfastermann/baby-chess-engine on toolchain f609b7e0586f81fefb3523e3e17adf779ac416be [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/erikfastermann/baby-chess-engine [INFO] finished tweaking git repo https://github.com/erikfastermann/baby-chess-engine [INFO] tweaked toml for git repo https://github.com/erikfastermann/baby-chess-engine written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/erikfastermann/baby-chess-engine already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e89d47ac6bf80979c34eb3ccca1c559a882ab0136a404e09a0d878f676450cee [INFO] running `Command { std: "docker" "start" "-a" "e89d47ac6bf80979c34eb3ccca1c559a882ab0136a404e09a0d878f676450cee", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e89d47ac6bf80979c34eb3ccca1c559a882ab0136a404e09a0d878f676450cee", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e89d47ac6bf80979c34eb3ccca1c559a882ab0136a404e09a0d878f676450cee", kill_on_drop: false }` [INFO] [stdout] e89d47ac6bf80979c34eb3ccca1c559a882ab0136a404e09a0d878f676450cee [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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 87a8fa8b76485d558ef2a4ee62d30f57448ad13af80131070b2a63b1fd31361e [INFO] running `Command { std: "docker" "start" "-a" "87a8fa8b76485d558ef2a4ee62d30f57448ad13af80131070b2a63b1fd31361e", kill_on_drop: false }` [INFO] [stderr] Checking either v1.9.0 [INFO] [stderr] Checking itertools v0.12.0 [INFO] [stderr] Checking baby_chess_engine v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/moves.rs:442:57 [INFO] [stdout] | [INFO] [stdout] 442 | pub fn fill<'a>(&'a mut self, board: &mut Board) -> &[Move] { [INFO] [stdout] | -- 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/moves.rs:442:57 [INFO] [stdout] | [INFO] [stdout] 442 | pub fn fill<'a>(&'a mut self, board: &mut Board) -> &[Move] { [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: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/eval.rs:211:14 [INFO] [stdout] | [INFO] [stdout] 211 | unsafe { &BLACK_PIECE_SQUARE_TABLES } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] = note: `#[warn(static_mut_refs)]` on by default [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 211 | unsafe { addr_of!(BLACK_PIECE_SQUARE_TABLES) } [INFO] [stdout] | ~~~~~~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/eval.rs:215:33 [INFO] [stdout] | [INFO] [stdout] 215 | reverse_piece_square_tables(&mut BLACK_PIECE_SQUARE_TABLES) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior [INFO] [stdout] help: use `addr_of_mut!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 215 | reverse_piece_square_tables(addr_of_mut!(BLACK_PIECE_SQUARE_TABLES)) [INFO] [stdout] | ~~~~~~~~~~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/eval.rs:211:14 [INFO] [stdout] | [INFO] [stdout] 211 | unsafe { &BLACK_PIECE_SQUARE_TABLES } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] = note: `#[warn(static_mut_refs)]` on by default [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 211 | unsafe { addr_of!(BLACK_PIECE_SQUARE_TABLES) } [INFO] [stdout] | ~~~~~~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/eval.rs:215:33 [INFO] [stdout] | [INFO] [stdout] 215 | reverse_piece_square_tables(&mut BLACK_PIECE_SQUARE_TABLES) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior [INFO] [stdout] help: use `addr_of_mut!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 215 | reverse_piece_square_tables(addr_of_mut!(BLACK_PIECE_SQUARE_TABLES)) [INFO] [stdout] | ~~~~~~~~~~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/moves.rs:62:16 [INFO] [stdout] | [INFO] [stdout] 62 | king_moves(&mut KING_MOVES); [INFO] [stdout] | ^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior [INFO] [stdout] help: use `addr_of_mut!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 62 | king_moves(addr_of_mut!(KING_MOVES)); [INFO] [stdout] | ~~~~~~~~~~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/moves.rs:78:18 [INFO] [stdout] | [INFO] [stdout] 78 | knight_moves(&mut KNIGHT_MOVES); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior [INFO] [stdout] help: use `addr_of_mut!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 78 | knight_moves(addr_of_mut!(KNIGHT_MOVES)); [INFO] [stdout] | ~~~~~~~~~~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/moves.rs:62:16 [INFO] [stdout] | [INFO] [stdout] 62 | king_moves(&mut KING_MOVES); [INFO] [stdout] | ^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior [INFO] [stdout] help: use `addr_of_mut!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 62 | king_moves(addr_of_mut!(KING_MOVES)); [INFO] [stdout] | ~~~~~~~~~~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/moves.rs:78:18 [INFO] [stdout] | [INFO] [stdout] 78 | knight_moves(&mut KNIGHT_MOVES); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior [INFO] [stdout] help: use `addr_of_mut!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 78 | knight_moves(addr_of_mut!(KNIGHT_MOVES)); [INFO] [stdout] | ~~~~~~~~~~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `piece`, `from`, `to`, `we_can_castle`, and `en_passant_index` are never read [INFO] [stdout] --> src/board.rs:626:9 [INFO] [stdout] | [INFO] [stdout] 625 | NonCapture { [INFO] [stdout] | ---------- fields in this variant [INFO] [stdout] 626 | piece: Piece, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 627 | from: u8, [INFO] [stdout] | ^^^^ [INFO] [stdout] 628 | to: u8, [INFO] [stdout] | ^^ [INFO] [stdout] 629 | we_can_castle: CanCastle, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 630 | en_passant_index: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/board.rs:633:9 [INFO] [stdout] | [INFO] [stdout] 632 | Capture { [INFO] [stdout] | ------- fields in this variant [INFO] [stdout] 633 | piece: Piece, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 634 | from: u8, [INFO] [stdout] | ^^^^ [INFO] [stdout] 635 | to: u8, [INFO] [stdout] | ^^ [INFO] [stdout] 636 | captured_piece: Piece, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 637 | we_can_castle: CanCastle, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 638 | enemy_can_castle: CanCastle, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 639 | en_passant_index: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `from`, `to`, and `en_passant_index` are never read [INFO] [stdout] --> src/board.rs:641:17 [INFO] [stdout] | [INFO] [stdout] 641 | EnPassant { from: u8, to: u8, en_passant_index: Option, }, [INFO] [stdout] | --------- ^^^^ ^^ ^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `from`, `to`, `we_can_castle`, and `en_passant_index` are never read [INFO] [stdout] --> src/board.rs:642:14 [INFO] [stdout] | [INFO] [stdout] 642 | Castle { from: u8, to: u8, we_can_castle: CanCastle, en_passant_index: Option, }, [INFO] [stdout] | ------ ^^^^ ^^ ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `from`, `to`, `promotion_piece`, and `en_passant_index` are never read [INFO] [stdout] --> src/board.rs:643:17 [INFO] [stdout] | [INFO] [stdout] 643 | Promotion { from: u8, to: u8, promotion_piece: Piece, en_passant_index: Option, }, [INFO] [stdout] | --------- ^^^^ ^^ ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `from`, `to`, `promotion_piece`, `captured_piece`, `enemy_can_castle`, and `en_passant_index` are never read [INFO] [stdout] --> src/board.rs:645:9 [INFO] [stdout] | [INFO] [stdout] 644 | PromotionCapture { [INFO] [stdout] | ---------------- fields in this variant [INFO] [stdout] 645 | from: u8, [INFO] [stdout] | ^^^^ [INFO] [stdout] 646 | to: u8, [INFO] [stdout] | ^^ [INFO] [stdout] 647 | promotion_piece: Piece, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 648 | captured_piece: Piece, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 649 | enemy_can_castle: CanCastle, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 650 | en_passant_index: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `from`, `to`, and `en_passant_index` are never read [INFO] [stdout] --> src/board.rs:652:18 [INFO] [stdout] | [INFO] [stdout] 652 | PawnDouble { from: u8, to: u8, en_passant_index: Option, } [INFO] [stdout] | ---------- ^^^^ ^^ ^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `reset_with` is never used [INFO] [stdout] --> src/game.rs:55:8 [INFO] [stdout] | [INFO] [stdout] 11 | impl Game { [INFO] [stdout] | --------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 55 | fn reset_with(&mut self, other: &Self) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 13 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `piece`, `from`, `to`, `we_can_castle`, and `en_passant_index` are never read [INFO] [stdout] --> src/board.rs:626:9 [INFO] [stdout] | [INFO] [stdout] 625 | NonCapture { [INFO] [stdout] | ---------- fields in this variant [INFO] [stdout] 626 | piece: Piece, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 627 | from: u8, [INFO] [stdout] | ^^^^ [INFO] [stdout] 628 | to: u8, [INFO] [stdout] | ^^ [INFO] [stdout] 629 | we_can_castle: CanCastle, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 630 | en_passant_index: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/board.rs:633:9 [INFO] [stdout] | [INFO] [stdout] 632 | Capture { [INFO] [stdout] | ------- fields in this variant [INFO] [stdout] 633 | piece: Piece, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 634 | from: u8, [INFO] [stdout] | ^^^^ [INFO] [stdout] 635 | to: u8, [INFO] [stdout] | ^^ [INFO] [stdout] 636 | captured_piece: Piece, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 637 | we_can_castle: CanCastle, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 638 | enemy_can_castle: CanCastle, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 639 | en_passant_index: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `from`, `to`, and `en_passant_index` are never read [INFO] [stdout] --> src/board.rs:641:17 [INFO] [stdout] | [INFO] [stdout] 641 | EnPassant { from: u8, to: u8, en_passant_index: Option, }, [INFO] [stdout] | --------- ^^^^ ^^ ^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `from`, `to`, `we_can_castle`, and `en_passant_index` are never read [INFO] [stdout] --> src/board.rs:642:14 [INFO] [stdout] | [INFO] [stdout] 642 | Castle { from: u8, to: u8, we_can_castle: CanCastle, en_passant_index: Option, }, [INFO] [stdout] | ------ ^^^^ ^^ ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `from`, `to`, `promotion_piece`, and `en_passant_index` are never read [INFO] [stdout] --> src/board.rs:643:17 [INFO] [stdout] | [INFO] [stdout] 643 | Promotion { from: u8, to: u8, promotion_piece: Piece, en_passant_index: Option, }, [INFO] [stdout] | --------- ^^^^ ^^ ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `from`, `to`, `promotion_piece`, `captured_piece`, `enemy_can_castle`, and `en_passant_index` are never read [INFO] [stdout] --> src/board.rs:645:9 [INFO] [stdout] | [INFO] [stdout] 644 | PromotionCapture { [INFO] [stdout] | ---------------- fields in this variant [INFO] [stdout] 645 | from: u8, [INFO] [stdout] | ^^^^ [INFO] [stdout] 646 | to: u8, [INFO] [stdout] | ^^ [INFO] [stdout] 647 | promotion_piece: Piece, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 648 | captured_piece: Piece, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 649 | enemy_can_castle: CanCastle, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 650 | en_passant_index: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `from`, `to`, and `en_passant_index` are never read [INFO] [stdout] --> src/board.rs:652:18 [INFO] [stdout] | [INFO] [stdout] 652 | PawnDouble { from: u8, to: u8, en_passant_index: Option, } [INFO] [stdout] | ---------- ^^^^ ^^ ^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1.02s [INFO] running `Command { std: "docker" "inspect" "87a8fa8b76485d558ef2a4ee62d30f57448ad13af80131070b2a63b1fd31361e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "87a8fa8b76485d558ef2a4ee62d30f57448ad13af80131070b2a63b1fd31361e", kill_on_drop: false }` [INFO] [stdout] 87a8fa8b76485d558ef2a4ee62d30f57448ad13af80131070b2a63b1fd31361e