[INFO] cloning repository https://github.com/noschXL/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/noschXL/rusty-chess" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FnoschXL%2Frusty-chess", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FnoschXL%2Frusty-chess'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 4e3363f6dd3538e18bbda1e59fdfde08633cfaf7
[INFO] checking noschXL/rusty-chess against eca445e5ae4a6679cc27d3a09106ce245e13a5a6 for pr-162478
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FnoschXL%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] removed /workspace/builds/worker-4-tc1/source/.cargo/config.toml
[INFO] removed /workspace/builds/worker-4-tc1/source/rust-toolchain.toml
[INFO] started tweaking git repo https://github.com/noschXL/rusty-chess
[INFO] finished tweaking git repo https://github.com/noschXL/rusty-chess
[INFO] tweaked toml for git repo https://github.com/noschXL/rusty-chess written to /workspace/builds/worker-4-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/noschXL/rusty-chess on toolchain eca445e5ae4a6679cc27d3a09106ce245e13a5a6
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+eca445e5ae4a6679cc27d3a09106ce245e13a5a6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/noschXL/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" "+eca445e5ae4a6679cc27d3a09106ce245e13a5a6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded objc-rs v0.2.8
[INFO] [stderr]   Downloaded quad-rand v0.2.3
[INFO] [stderr]   Downloaded macroquad_macro v0.1.8
[INFO] [stderr]   Downloaded miniquad v0.4.8
[INFO] [stderr]   Downloaded fontdue v0.9.3
[INFO] [stderr]   Downloaded glam v0.27.0
[INFO] [stderr]   Downloaded macroquad v0.4.14
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:8683fc1fc2eb5c9ac98e0d076ab094b2ffac7f99da555d2b6a2e27f346de2ec7" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] b6be4c52aac2de0c13e0cd78a2691ebd13438f4cebcf8fec95ee489eb87be8fe
[INFO] running `Command { std: "docker" "start" "b6be4c52aac2de0c13e0cd78a2691ebd13438f4cebcf8fec95ee489eb87be8fe", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "b6be4c52aac2de0c13e0cd78a2691ebd13438f4cebcf8fec95ee489eb87be8fe", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "b6be4c52aac2de0c13e0cd78a2691ebd13438f4cebcf8fec95ee489eb87be8fe" "/opt/rustwide/cargo-home/bin/cargo" "+eca445e5ae4a6679cc27d3a09106ce245e13a5a6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "b6be4c52aac2de0c13e0cd78a2691ebd13438f4cebcf8fec95ee489eb87be8fe", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "b6be4c52aac2de0c13e0cd78a2691ebd13438f4cebcf8fec95ee489eb87be8fe" "/opt/rustwide/cargo-home/bin/cargo" "+eca445e5ae4a6679cc27d3a09106ce245e13a5a6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.185
[INFO] [stderr]    Compiling miniquad v0.4.8
[INFO] [stderr]     Checking foldhash v0.1.5
[INFO] [stderr]     Checking ttf-parser v0.21.1
[INFO] [stderr]     Checking quad-rand v0.2.3
[INFO] [stderr]    Compiling macroquad_macro v0.1.8
[INFO] [stderr]     Checking glam v0.27.0
[INFO] [stderr]     Checking png v0.17.16
[INFO] [stderr]     Checking hashbrown v0.15.5
[INFO] [stderr]     Checking image v0.24.9
[INFO] [stderr]     Checking fontdue v0.9.3
[INFO] [stderr]     Checking macroquad v0.4.14
[INFO] [stderr]     Checking rusty-chess v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `net::UdpSocket`
[INFO] [stdout]  --> src/engine/board.rs:1:11
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::{net::UdpSocket, usize};
[INFO] [stdout]   |           ^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `macroquad::miniquad::TextureParams`
[INFO] [stdout]  --> src/gui/piece.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use macroquad::miniquad::TextureParams;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trailing semicolon in macro used in expression position
[INFO] [stdout]   --> src/gui/piece.rs:15:9
[INFO] [stdout]    |
[INFO] [stdout] 15 |         warn!("piece type is Empty")
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: macro invocations at the end of a block are treated as expressions
[INFO] [stdout]    = note: to ignore the value produced by the macro, add a semicolon after the invocation of `warn`
[INFO] [stdout]    = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
[INFO] [stdout]    = note: for more information, see issue #79813 <https://github.com/rust-lang/rust/issues/79813>
[INFO] [stdout]    = note: `#[warn(semicolon_in_expressions_from_non_local_macros)]` (part of `#[warn(future_incompatible)]`) on by default
[INFO] [stdout]    = note: this warning originates in the macro `warn` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated module `std::usize`: all constants in this module replaced by associated constants on the type
[INFO] [stdout]  --> src/engine/board.rs:1:27
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::{net::UdpSocket, usize};
[INFO] [stdout]   |                           ^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable expression
[INFO] [stdout]   --> src/engine/pieces.rs:34:17
[INFO] [stdout]    |
[INFO] [stdout] 33 |                 todo!("Rookmoves not yet verifiable");
[INFO] [stdout]    |                 ------------------------------------- any code following this expression is unreachable
[INFO] [stdout] 34 |                 moves
[INFO] [stdout]    |                 ^^^^^ unreachable expression
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unreachable_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable expression
[INFO] [stdout]   --> src/engine/pieces.rs:38:17
[INFO] [stdout]    |
[INFO] [stdout] 37 |                 panic!("invalid piece type, returning nothing");
[INFO] [stdout]    |                 ----------------------------------------------- any code following this expression is unreachable
[INFO] [stdout] 38 |                 moves
[INFO] [stdout]    |                 ^^^^^ unreachable expression
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `net::UdpSocket`
[INFO] [stdout]  --> src/engine/board.rs:1:11
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::{net::UdpSocket, usize};
[INFO] [stdout]   |           ^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `macroquad::miniquad::TextureParams`
[INFO] [stdout]  --> src/gui/piece.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use macroquad::miniquad::TextureParams;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trailing semicolon in macro used in expression position
[INFO] [stdout]   --> src/gui/piece.rs:15:9
[INFO] [stdout]    |
[INFO] [stdout] 15 |         warn!("piece type is Empty")
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: macro invocations at the end of a block are treated as expressions
[INFO] [stdout]    = note: to ignore the value produced by the macro, add a semicolon after the invocation of `warn`
[INFO] [stdout]    = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
[INFO] [stdout]    = note: for more information, see issue #79813 <https://github.com/rust-lang/rust/issues/79813>
[INFO] [stdout]    = note: `#[warn(semicolon_in_expressions_from_non_local_macros)]` (part of `#[warn(future_incompatible)]`) on by default
[INFO] [stdout]    = note: this warning originates in the macro `warn` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated module `std::usize`: all constants in this module replaced by associated constants on the type
[INFO] [stdout]  --> src/engine/board.rs:1:27
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::{net::UdpSocket, usize};
[INFO] [stdout]   |                           ^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `moves`
[INFO] [stdout]   --> src/engine/pieces.rs:30:13
[INFO] [stdout]    |
[INFO] [stdout] 30 |         let mut moves: Vec<u32>;
[INFO] [stdout]    |             ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_moves`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `piece_asset`
[INFO] [stdout]   --> src/gui/board.rs:56:27
[INFO] [stdout]    |
[INFO] [stdout] 56 | pub async fn handle_mouse(piece_asset: &Asset, board: &Board, state: &mut MouseState) -> Move{
[INFO] [stdout]    |                           ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_piece_asset`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `WHITE` is never used
[INFO] [stdout]  --> src/engine/constants.rs:5:15
[INFO] [stdout]   |
[INFO] [stdout] 5 |     pub const WHITE: u32 = 0b0;
[INFO] [stdout]   |               ^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `BLACK` is never used
[INFO] [stdout]  --> src/engine/constants.rs:6:15
[INFO] [stdout]   |
[INFO] [stdout] 6 |     pub const BLACK: u32 = 0b1;
[INFO] [stdout]   |               ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `PAWN` is never used
[INFO] [stdout]  --> src/engine/constants.rs:9:15
[INFO] [stdout]   |
[INFO] [stdout] 9 |     pub const PAWN:   u32 = 0b0010;
[INFO] [stdout]   |               ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `BISHOP` is never used
[INFO] [stdout]   --> src/engine/constants.rs:10:15
[INFO] [stdout]    |
[INFO] [stdout] 10 |     pub const BISHOP: u32 = 0b0100;
[INFO] [stdout]    |               ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `KNIGHT` is never used
[INFO] [stdout]   --> src/engine/constants.rs:11:15
[INFO] [stdout]    |
[INFO] [stdout] 11 |     pub const KNIGHT: u32 = 0b0110;
[INFO] [stdout]    |               ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `ROOK` is never used
[INFO] [stdout]   --> src/engine/constants.rs:12:15
[INFO] [stdout]    |
[INFO] [stdout] 12 |     pub const ROOK:   u32 = 0b1000;
[INFO] [stdout]    |               ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `QUEEN` is never used
[INFO] [stdout]   --> src/engine/constants.rs:13:15
[INFO] [stdout]    |
[INFO] [stdout] 13 |     pub const QUEEN:  u32 = 0b1010;
[INFO] [stdout]    |               ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `KING` is never used
[INFO] [stdout]   --> src/engine/constants.rs:14:15
[INFO] [stdout]    |
[INFO] [stdout] 14 |     pub const KING:   u32 = 0b1100;
[INFO] [stdout]    |               ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `ROOK` is never used
[INFO] [stdout]   --> src/engine/constants.rs:26:15
[INFO] [stdout]    |
[INFO] [stdout] 26 |     pub const ROOK: [i32; 4] = [-1, 1, -8, 8];
[INFO] [stdout]    |               ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `BISHOP` is never used
[INFO] [stdout]   --> src/engine/constants.rs:27:15
[INFO] [stdout]    |
[INFO] [stdout] 27 |     pub const BISHOP: [i32; 4] = [-7, -9,  7,  9];
[INFO] [stdout]    |               ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `get_moves` is never used
[INFO] [stdout]   --> src/engine/pieces.rs:29:12
[INFO] [stdout]    |
[INFO] [stdout]  8 | impl Piece {
[INFO] [stdout]    | ---------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 29 |     pub fn get_moves(&self)-> Vec<u32> {
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `promotion` and `en_passant` are never read
[INFO] [stdout]    --> src/engine/board.rs:162:5
[INFO] [stdout]     |
[INFO] [stdout] 158 | pub struct Move {
[INFO] [stdout]     |            ---- fields in this struct
[INFO] [stdout] ...
[INFO] [stdout] 162 |     promotion: i32,
[INFO] [stdout]     |     ^^^^^^^^^
[INFO] [stdout] 163 |     en_passant: bool,
[INFO] [stdout]     |     ^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `Move` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `last_frame_down` is never read
[INFO] [stdout]   --> src/gui/board.rs:10:9
[INFO] [stdout]    |
[INFO] [stdout]  7 | pub struct MouseState {
[INFO] [stdout]    |            ---------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 10 |     pub last_frame_down: bool,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable expression
[INFO] [stdout]   --> src/engine/pieces.rs:34:17
[INFO] [stdout]    |
[INFO] [stdout] 33 |                 todo!("Rookmoves not yet verifiable");
[INFO] [stdout]    |                 ------------------------------------- any code following this expression is unreachable
[INFO] [stdout] 34 |                 moves
[INFO] [stdout]    |                 ^^^^^ unreachable expression
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unreachable_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable expression
[INFO] [stdout]   --> src/engine/pieces.rs:38:17
[INFO] [stdout]    |
[INFO] [stdout] 37 |                 panic!("invalid piece type, returning nothing");
[INFO] [stdout]    |                 ----------------------------------------------- any code following this expression is unreachable
[INFO] [stdout] 38 |                 moves
[INFO] [stdout]    |                 ^^^^^ unreachable expression
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `moves`
[INFO] [stdout]   --> src/engine/pieces.rs:30:13
[INFO] [stdout]    |
[INFO] [stdout] 30 |         let mut moves: Vec<u32>;
[INFO] [stdout]    |             ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_moves`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `piece_asset`
[INFO] [stdout]   --> src/gui/board.rs:56:27
[INFO] [stdout]    |
[INFO] [stdout] 56 | pub async fn handle_mouse(piece_asset: &Asset, board: &Board, state: &mut MouseState) -> Move{
[INFO] [stdout]    |                           ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_piece_asset`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `WHITE` is never used
[INFO] [stdout]  --> src/engine/constants.rs:5:15
[INFO] [stdout]   |
[INFO] [stdout] 5 |     pub const WHITE: u32 = 0b0;
[INFO] [stdout]   |               ^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `BLACK` is never used
[INFO] [stdout]  --> src/engine/constants.rs:6:15
[INFO] [stdout]   |
[INFO] [stdout] 6 |     pub const BLACK: u32 = 0b1;
[INFO] [stdout]   |               ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `PAWN` is never used
[INFO] [stdout]  --> src/engine/constants.rs:9:15
[INFO] [stdout]   |
[INFO] [stdout] 9 |     pub const PAWN:   u32 = 0b0010;
[INFO] [stdout]   |               ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `BISHOP` is never used
[INFO] [stdout]   --> src/engine/constants.rs:10:15
[INFO] [stdout]    |
[INFO] [stdout] 10 |     pub const BISHOP: u32 = 0b0100;
[INFO] [stdout]    |               ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `KNIGHT` is never used
[INFO] [stdout]   --> src/engine/constants.rs:11:15
[INFO] [stdout]    |
[INFO] [stdout] 11 |     pub const KNIGHT: u32 = 0b0110;
[INFO] [stdout]    |               ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `ROOK` is never used
[INFO] [stdout]   --> src/engine/constants.rs:12:15
[INFO] [stdout]    |
[INFO] [stdout] 12 |     pub const ROOK:   u32 = 0b1000;
[INFO] [stdout]    |               ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `QUEEN` is never used
[INFO] [stdout]   --> src/engine/constants.rs:13:15
[INFO] [stdout]    |
[INFO] [stdout] 13 |     pub const QUEEN:  u32 = 0b1010;
[INFO] [stdout]    |               ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `KING` is never used
[INFO] [stdout]   --> src/engine/constants.rs:14:15
[INFO] [stdout]    |
[INFO] [stdout] 14 |     pub const KING:   u32 = 0b1100;
[INFO] [stdout]    |               ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `ROOK` is never used
[INFO] [stdout]   --> src/engine/constants.rs:26:15
[INFO] [stdout]    |
[INFO] [stdout] 26 |     pub const ROOK: [i32; 4] = [-1, 1, -8, 8];
[INFO] [stdout]    |               ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `BISHOP` is never used
[INFO] [stdout]   --> src/engine/constants.rs:27:15
[INFO] [stdout]    |
[INFO] [stdout] 27 |     pub const BISHOP: [i32; 4] = [-7, -9,  7,  9];
[INFO] [stdout]    |               ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `get_moves` is never used
[INFO] [stdout]   --> src/engine/pieces.rs:29:12
[INFO] [stdout]    |
[INFO] [stdout]  8 | impl Piece {
[INFO] [stdout]    | ---------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 29 |     pub fn get_moves(&self)-> Vec<u32> {
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `promotion` and `en_passant` are never read
[INFO] [stdout]    --> src/engine/board.rs:162:5
[INFO] [stdout]     |
[INFO] [stdout] 158 | pub struct Move {
[INFO] [stdout]     |            ---- fields in this struct
[INFO] [stdout] ...
[INFO] [stdout] 162 |     promotion: i32,
[INFO] [stdout]     |     ^^^^^^^^^
[INFO] [stdout] 163 |     en_passant: bool,
[INFO] [stdout]     |     ^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `Move` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `last_frame_down` is never read
[INFO] [stdout]   --> src/gui/board.rs:10:9
[INFO] [stdout]    |
[INFO] [stdout]  7 | pub struct MouseState {
[INFO] [stdout]    |            ---------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 10 |     pub last_frame_down: bool,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 8.82s
[INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: rusty-chess v0.1.0 (/opt/rustwide/workdir)
[INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 3`
[INFO] running `Command { std: "docker" "inspect" "b6be4c52aac2de0c13e0cd78a2691ebd13438f4cebcf8fec95ee489eb87be8fe", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "b6be4c52aac2de0c13e0cd78a2691ebd13438f4cebcf8fec95ee489eb87be8fe", kill_on_drop: false }`
[INFO] [stdout] b6be4c52aac2de0c13e0cd78a2691ebd13438f4cebcf8fec95ee489eb87be8fe
