[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 eca445e5ae4a6679cc27d3a09106ce245e13a5a6 for pr-162478 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmfkrause%2Fgargantua" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/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-2-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/mfkrause/gargantua 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/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" "+eca445e5ae4a6679cc27d3a09106ce245e13a5a6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded miniz_oxide v0.5.4 [INFO] [stderr] Downloaded miniquad v0.4.10 [INFO] [stderr] Downloaded png v0.17.6 [INFO] [stderr] Downloaded macroquad v0.4.15 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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] 51834749de68d8189e43c95f4e749ce44724a2c4528fef8239134b482270df05 [INFO] running `Command { std: "docker" "start" "51834749de68d8189e43c95f4e749ce44724a2c4528fef8239134b482270df05", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "51834749de68d8189e43c95f4e749ce44724a2c4528fef8239134b482270df05", 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" "51834749de68d8189e43c95f4e749ce44724a2c4528fef8239134b482270df05" "/opt/rustwide/cargo-home/bin/cargo" "+eca445e5ae4a6679cc27d3a09106ce245e13a5a6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "51834749de68d8189e43c95f4e749ce44724a2c4528fef8239134b482270df05", 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" "51834749de68d8189e43c95f4e749ce44724a2c4528fef8239134b482270df05" "/opt/rustwide/cargo-home/bin/cargo" "+eca445e5ae4a6679cc27d3a09106ce245e13a5a6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] Compiling miniquad v0.4.10 [INFO] [stderr] Checking ttf-parser v0.21.1 [INFO] [stderr] Checking bytemuck v1.25.0 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking miniz_oxide v0.5.4 [INFO] [stderr] Checking hashbrown v0.15.5 [INFO] [stderr] Compiling macroquad_macro v0.1.8 [INFO] [stderr] Checking glam v0.27.0 [INFO] [stderr] Checking quad-rand v0.2.3 [INFO] [stderr] Checking png v0.17.6 [INFO] [stderr] Checking image v0.24.9 [INFO] [stderr] Checking fontdue v0.9.3 [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: 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] [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 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 101 | pub fn as_algebraic_notation(&self) -> Result { [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] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 7.27s [INFO] running `Command { std: "docker" "inspect" "51834749de68d8189e43c95f4e749ce44724a2c4528fef8239134b482270df05", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "51834749de68d8189e43c95f4e749ce44724a2c4528fef8239134b482270df05", kill_on_drop: false }` [INFO] [stdout] 51834749de68d8189e43c95f4e749ce44724a2c4528fef8239134b482270df05