[INFO] cloning repository https://github.com/mfkrause/gargantua
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/mfkrause/gargantua" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmfkrause%2Fgargantua", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmfkrause%2Fgargantua'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] c29907b485b93973806790446af5e1ea46eed0fb
[INFO] checking mfkrause/gargantua against 895980e0290783bb09b1ccf1b11f14eb09b10430 for pr-160186
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmfkrause%2Fgargantua" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/mfkrause/gargantua
[INFO] finished tweaking git repo https://github.com/mfkrause/gargantua
[INFO] tweaked toml for git repo https://github.com/mfkrause/gargantua written to /workspace/builds/worker-1-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/mfkrause/gargantua on toolchain 895980e0290783bb09b1ccf1b11f14eb09b10430
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+895980e0290783bb09b1ccf1b11f14eb09b10430" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/mfkrause/gargantua 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" "+895980e0290783bb09b1ccf1b11f14eb09b10430" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/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:77db811e55d90add9212f6832c23229e3de5f1c1f9905e8cb07319ea15df73ac" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] e56f724f913d64db83118d0f360e23a3196b343548082585a203f56daeed869f
[INFO] running `Command { std: "docker" "start" "e56f724f913d64db83118d0f360e23a3196b343548082585a203f56daeed869f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "e56f724f913d64db83118d0f360e23a3196b343548082585a203f56daeed869f", 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" "e56f724f913d64db83118d0f360e23a3196b343548082585a203f56daeed869f" "/opt/rustwide/cargo-home/bin/cargo" "+895980e0290783bb09b1ccf1b11f14eb09b10430" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "e56f724f913d64db83118d0f360e23a3196b343548082585a203f56daeed869f", 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" "e56f724f913d64db83118d0f360e23a3196b343548082585a203f56daeed869f" "/opt/rustwide/cargo-home/bin/cargo" "+895980e0290783bb09b1ccf1b11f14eb09b10430" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]     Checking adler v1.0.2
[INFO] [stderr]    Compiling miniquad v0.4.10
[INFO] [stderr]     Checking miniz_oxide v0.5.4
[INFO] [stderr]     Checking png v0.17.6
[INFO] [stderr]     Checking image v0.24.9
[INFO] [stderr]     Checking macroquad v0.4.15
[INFO] [stderr]     Checking gargantua v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused imports: `Ordering` and `max`
[INFO] [stdout]  --> src/game/rules.rs:1:16
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::cmp::{Ordering, max};
[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 imports: `Result` and `bail`
[INFO] [stdout]  --> src/game/rules.rs:3:14
[INFO] [stdout]   |
[INFO] [stdout] 3 | use anyhow::{Result, bail};
[INFO] [stdout]   |              ^^^^^^  ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `macroquad::prelude::scene::Handle`
[INFO] [stdout]  --> src/game/rules.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use macroquad::prelude::scene::Handle;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `anyhow::Result`
[INFO] [stdout]  --> src/game/bitboard.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use anyhow::Result;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Ordering` and `max`
[INFO] [stdout]  --> src/game/rules.rs:1:16
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::cmp::{Ordering, max};
[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 imports: `Result` and `bail`
[INFO] [stdout]  --> src/game/rules.rs:3:14
[INFO] [stdout]   |
[INFO] [stdout] 3 | use anyhow::{Result, bail};
[INFO] [stdout]   |              ^^^^^^  ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `macroquad::prelude::scene::Handle`
[INFO] [stdout]  --> src/game/rules.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use macroquad::prelude::scene::Handle;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `anyhow::Result`
[INFO] [stdout]  --> src/game/bitboard.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use anyhow::Result;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `state`
[INFO] [stdout]   --> src/game/rules.rs:72:27
[INFO] [stdout]    |
[INFO] [stdout] 72 | pub fn attacks_for_knight(state: &GameState, _: &Piece, square: &Square) -> Bitboard {
[INFO] [stdout]    |                           ^^^^^ help: if this is intentional, prefix it with an underscore: `_state`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `state`
[INFO] [stdout]    --> src/game/rules.rs:108:25
[INFO] [stdout]     |
[INFO] [stdout] 108 | pub fn attacks_for_king(state: &GameState, _: &Piece, square: &Square) -> Bitboard {
[INFO] [stdout]     |                         ^^^^^ help: if this is intentional, prefix it with an underscore: `_state`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated constant `ALL` is never used
[INFO] [stdout]   --> src/game/game_state.rs:13:15
[INFO] [stdout]    |
[INFO] [stdout] 12 | impl PieceColor {
[INFO] [stdout]    | --------------- associated constant in this implementation
[INFO] [stdout] 13 |     pub const ALL: [PieceColor; 2] = [PieceColor::White, PieceColor::Black];
[INFO] [stdout]    |               ^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `king_side` and `queen_side` are never read
[INFO] [stdout]   --> src/game/game_state.rs:56:5
[INFO] [stdout]    |
[INFO] [stdout] 55 | pub struct CastlingRights {
[INFO] [stdout]    |            -------------- fields in this struct
[INFO] [stdout] 56 |     king_side: bool,
[INFO] [stdout]    |     ^^^^^^^^^
[INFO] [stdout] 57 |     queen_side: bool,
[INFO] [stdout]    |     ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `CastlingRights` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `from_algebraic_notation` and `as_algebraic_notation` are never used
[INFO] [stdout]    --> src/game/game_state.rs:78:12
[INFO] [stdout]     |
[INFO] [stdout]  66 | impl Square {
[INFO] [stdout]     | ----------- associated items in this implementation
[INFO] [stdout] ...
[INFO] [stdout]  78 |     pub fn from_algebraic_notation(notation: &str) -> Result<Self> {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 101 |     pub fn as_algebraic_notation(&self) -> Result<String> {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `white_castling_rights`, `black_castling_rights`, and `half_turn_count` are never read
[INFO] [stdout]    --> src/game/game_state.rs:171:9
[INFO] [stdout]     |
[INFO] [stdout] 168 | pub struct GameState {
[INFO] [stdout]     |            --------- fields in this struct
[INFO] [stdout] ...
[INFO] [stdout] 171 |     pub white_castling_rights: CastlingRights,
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 172 |     pub black_castling_rights: CastlingRights,
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 173 |     pub half_turn_count: u8,
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `GameState` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple associated constants are never used
[INFO] [stdout]   --> src/game/bitboard.rs:12:15
[INFO] [stdout]    |
[INFO] [stdout] 10 | impl Bitboard {
[INFO] [stdout]    | ------------- associated constants in this implementation
[INFO] [stdout] 11 |     pub const EMPTY: Self = Self(0);
[INFO] [stdout] 12 |     pub const FULL: Self = Self(!0);
[INFO] [stdout]    |               ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 15 |     pub const FILE_C: Self = Self(0x0404040404040404);
[INFO] [stdout]    |               ^^^^^^
[INFO] [stdout] 16 |     pub const FILE_D: Self = Self(0x0808080808080808);
[INFO] [stdout]    |               ^^^^^^
[INFO] [stdout] 17 |     pub const FILE_E: Self = Self(0x1010101010101010);
[INFO] [stdout]    |               ^^^^^^
[INFO] [stdout] 18 |     pub const FILE_F: Self = Self(0x2020202020202020);
[INFO] [stdout]    |               ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 21 |     pub const RANK_1: Self = Self(0xFF);
[INFO] [stdout]    |               ^^^^^^
[INFO] [stdout] 22 |     pub const RANK_2: Self = Self(0xFF00);
[INFO] [stdout]    |               ^^^^^^
[INFO] [stdout] 23 |     pub const RANK_3: Self = Self(0xFF0000);
[INFO] [stdout] 24 |     pub const RANK_4: Self = Self(0xFF000000);
[INFO] [stdout]    |               ^^^^^^
[INFO] [stdout] 25 |     pub const RANK_5: Self = Self(0xFF00000000);
[INFO] [stdout]    |               ^^^^^^
[INFO] [stdout] 26 |     pub const RANK_6: Self = Self(0xFF0000000000);
[INFO] [stdout] 27 |     pub const RANK_7: Self = Self(0xFF000000000000);
[INFO] [stdout]    |               ^^^^^^
[INFO] [stdout] 28 |     pub const RANK_8: Self = Self(0xFF00000000000000);
[INFO] [stdout]    |               ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `state`
[INFO] [stdout]   --> src/game/rules.rs:72:27
[INFO] [stdout]    |
[INFO] [stdout] 72 | pub fn attacks_for_knight(state: &GameState, _: &Piece, square: &Square) -> Bitboard {
[INFO] [stdout]    |                           ^^^^^ help: if this is intentional, prefix it with an underscore: `_state`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `state`
[INFO] [stdout]    --> src/game/rules.rs:108:25
[INFO] [stdout]     |
[INFO] [stdout] 108 | pub fn attacks_for_king(state: &GameState, _: &Piece, square: &Square) -> Bitboard {
[INFO] [stdout]     |                         ^^^^^ help: if this is intentional, prefix it with an underscore: `_state`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated constant `ALL` is never used
[INFO] [stdout]   --> src/game/game_state.rs:13:15
[INFO] [stdout]    |
[INFO] [stdout] 12 | impl PieceColor {
[INFO] [stdout]    | --------------- associated constant in this implementation
[INFO] [stdout] 13 |     pub const ALL: [PieceColor; 2] = [PieceColor::White, PieceColor::Black];
[INFO] [stdout]    |               ^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `king_side` and `queen_side` are never read
[INFO] [stdout]   --> src/game/game_state.rs:56:5
[INFO] [stdout]    |
[INFO] [stdout] 55 | pub struct CastlingRights {
[INFO] [stdout]    |            -------------- fields in this struct
[INFO] [stdout] 56 |     king_side: bool,
[INFO] [stdout]    |     ^^^^^^^^^
[INFO] [stdout] 57 |     queen_side: bool,
[INFO] [stdout]    |     ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `CastlingRights` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `white_castling_rights`, `black_castling_rights`, and `half_turn_count` are never read
[INFO] [stdout]    --> src/game/game_state.rs:171:9
[INFO] [stdout]     |
[INFO] [stdout] 168 | pub struct GameState {
[INFO] [stdout]     |            --------- fields in this struct
[INFO] [stdout] ...
[INFO] [stdout] 171 |     pub white_castling_rights: CastlingRights,
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 172 |     pub black_castling_rights: CastlingRights,
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 173 |     pub half_turn_count: u8,
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `GameState` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple associated constants are never used
[INFO] [stdout]   --> src/game/bitboard.rs:12:15
[INFO] [stdout]    |
[INFO] [stdout] 10 | impl Bitboard {
[INFO] [stdout]    | ------------- associated constants in this implementation
[INFO] [stdout] 11 |     pub const EMPTY: Self = Self(0);
[INFO] [stdout] 12 |     pub const FULL: Self = Self(!0);
[INFO] [stdout]    |               ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 15 |     pub const FILE_C: Self = Self(0x0404040404040404);
[INFO] [stdout]    |               ^^^^^^
[INFO] [stdout] 16 |     pub const FILE_D: Self = Self(0x0808080808080808);
[INFO] [stdout]    |               ^^^^^^
[INFO] [stdout] 17 |     pub const FILE_E: Self = Self(0x1010101010101010);
[INFO] [stdout]    |               ^^^^^^
[INFO] [stdout] 18 |     pub const FILE_F: Self = Self(0x2020202020202020);
[INFO] [stdout]    |               ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 21 |     pub const RANK_1: Self = Self(0xFF);
[INFO] [stdout]    |               ^^^^^^
[INFO] [stdout] 22 |     pub const RANK_2: Self = Self(0xFF00);
[INFO] [stdout]    |               ^^^^^^
[INFO] [stdout] 23 |     pub const RANK_3: Self = Self(0xFF0000);
[INFO] [stdout] 24 |     pub const RANK_4: Self = Self(0xFF000000);
[INFO] [stdout]    |               ^^^^^^
[INFO] [stdout] 25 |     pub const RANK_5: Self = Self(0xFF00000000);
[INFO] [stdout]    |               ^^^^^^
[INFO] [stdout] 26 |     pub const RANK_6: Self = Self(0xFF0000000000);
[INFO] [stdout] 27 |     pub const RANK_7: Self = Self(0xFF000000000000);
[INFO] [stdout]    |               ^^^^^^
[INFO] [stdout] 28 |     pub const RANK_8: Self = Self(0xFF00000000000000);
[INFO] [stdout]    |               ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 4.88s
[INFO] running `Command { std: "docker" "inspect" "e56f724f913d64db83118d0f360e23a3196b343548082585a203f56daeed869f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "e56f724f913d64db83118d0f360e23a3196b343548082585a203f56daeed869f", kill_on_drop: false }`
[INFO] [stdout] e56f724f913d64db83118d0f360e23a3196b343548082585a203f56daeed869f
