[INFO] cloning repository https://github.com/cabellwg/deeprust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/cabellwg/deeprust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcabellwg%2Fdeeprust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcabellwg%2Fdeeprust'... [INFO] updating cached repository https://github.com/cabellwg/deeprust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune", kill_on_drop: false }` [INFO] updating cached repository https://github.com/cabellwg/deeprust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune", kill_on_drop: false }` [INFO] updating cached repository https://github.com/cabellwg/deeprust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune", kill_on_drop: false }` [INFO] updating cached repository https://github.com/cabellwg/deeprust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune", kill_on_drop: false }` [INFO] updating cached repository https://github.com/cabellwg/deeprust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune", kill_on_drop: false }` [INFO] updating cached repository https://github.com/cabellwg/deeprust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune", kill_on_drop: false }` [INFO] updating cached repository https://github.com/cabellwg/deeprust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune", kill_on_drop: false }` [INFO] updating cached repository https://github.com/cabellwg/deeprust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune", kill_on_drop: false }` [INFO] updating cached repository https://github.com/cabellwg/deeprust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune", kill_on_drop: false }` [INFO] updating cached repository https://github.com/cabellwg/deeprust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune", kill_on_drop: false }` [INFO] updating cached repository https://github.com/cabellwg/deeprust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune", kill_on_drop: false }` [INFO] updating cached repository https://github.com/cabellwg/deeprust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune", kill_on_drop: false }` [INFO] updating cached repository https://github.com/cabellwg/deeprust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune", kill_on_drop: false }` [INFO] updating cached repository https://github.com/cabellwg/deeprust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune", kill_on_drop: false }` [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] a7b91db4aa2a21ad933b5a192709188ec4fe8b27 [INFO] checking cabellwg/deeprust against master#ea6ab1bd845790fb31ba790d2c7aec898f89fe62 for pr-99880 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcabellwg%2Fdeeprust" "/workspace/builds/worker-6/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/cabellwg/deeprust on toolchain ea6ab1bd845790fb31ba790d2c7aec898f89fe62 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ea6ab1bd845790fb31ba790d2c7aec898f89fe62" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/cabellwg/deeprust [INFO] finished tweaking git repo https://github.com/cabellwg/deeprust [INFO] tweaked toml for git repo https://github.com/cabellwg/deeprust written to /workspace/builds/worker-6/source/Cargo.toml [INFO] crate git repo https://github.com/cabellwg/deeprust already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ea6ab1bd845790fb31ba790d2c7aec898f89fe62" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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:ecb52c4cf6672b83cc996368a05b4a059042425f2b6ba9cd23a06cdead5d8d70" "/opt/rustwide/cargo-home/bin/cargo" "+ea6ab1bd845790fb31ba790d2c7aec898f89fe62" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ba33bc6d3374b6be233b6a79d1dbb42f91b53c71804dee6d449c4eed2bd3038c [INFO] running `Command { std: "docker" "start" "-a" "ba33bc6d3374b6be233b6a79d1dbb42f91b53c71804dee6d449c4eed2bd3038c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ba33bc6d3374b6be233b6a79d1dbb42f91b53c71804dee6d449c4eed2bd3038c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ba33bc6d3374b6be233b6a79d1dbb42f91b53c71804dee6d449c4eed2bd3038c", kill_on_drop: false }` [INFO] [stdout] ba33bc6d3374b6be233b6a79d1dbb42f91b53c71804dee6d449c4eed2bd3038c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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:ecb52c4cf6672b83cc996368a05b4a059042425f2b6ba9cd23a06cdead5d8d70" "/opt/rustwide/cargo-home/bin/cargo" "+ea6ab1bd845790fb31ba790d2c7aec898f89fe62" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 89ab75b06298e4b9646cc742626ebf097be55656be1c809ebdfba2ecf1c52555 [INFO] running `Command { std: "docker" "start" "-a" "89ab75b06298e4b9646cc742626ebf097be55656be1c809ebdfba2ecf1c52555", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling memchr v2.2.1 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking regex-syntax v0.6.12 [INFO] [stderr] Checking thread_local v0.3.6 [INFO] [stderr] Checking aho-corasick v0.7.6 [INFO] [stderr] Checking regex v1.3.1 [INFO] [stderr] Checking alexander v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/board.rs:80:24 [INFO] [stdout] | [INFO] [stdout] 80 | pub struct _8x8Board([[(Option); 8]; 8]); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 80 - pub struct _8x8Board([[(Option); 8]; 8]); [INFO] [stdout] 80 + pub struct _8x8Board([[Option; 8]; 8]); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/board.rs:80:24 [INFO] [stdout] | [INFO] [stdout] 80 | pub struct _8x8Board([[(Option); 8]; 8]); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 80 - pub struct _8x8Board([[(Option); 8]; 8]); [INFO] [stdout] 80 + pub struct _8x8Board([[Option; 8]; 8]); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `WHITE_PAWN_START_POS` is never used [INFO] [stdout] --> src/board.rs:10:7 [INFO] [stdout] | [INFO] [stdout] 10 | const WHITE_PAWN_START_POS: u64 = 0x000000000000ff00; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `WHITE_KNIGHT_START_POS` is never used [INFO] [stdout] --> src/board.rs:11:7 [INFO] [stdout] | [INFO] [stdout] 11 | const WHITE_KNIGHT_START_POS: u64 = 0x0000000000000042; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `WHITE_BISHOP_START_POS` is never used [INFO] [stdout] --> src/board.rs:12:7 [INFO] [stdout] | [INFO] [stdout] 12 | const WHITE_BISHOP_START_POS: u64 = 0x0000000000000024; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `WHITE_ROOK_START_POS` is never used [INFO] [stdout] --> src/board.rs:13:7 [INFO] [stdout] | [INFO] [stdout] 13 | const WHITE_ROOK_START_POS: u64 = 0x0000000000000081; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `WHITE_QUEEN_START_POS` is never used [INFO] [stdout] --> src/board.rs:14:7 [INFO] [stdout] | [INFO] [stdout] 14 | const WHITE_QUEEN_START_POS: u64 = 0x0000000000000010; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `WHITE_KING_START_POS` is never used [INFO] [stdout] --> src/board.rs:15:7 [INFO] [stdout] | [INFO] [stdout] 15 | const WHITE_KING_START_POS: u64 = 0x0000000000000008; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `BLACK_PAWN_START_POS` is never used [INFO] [stdout] --> src/board.rs:16:7 [INFO] [stdout] | [INFO] [stdout] 16 | const BLACK_PAWN_START_POS: u64 = 0x00ff000000000000; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `BLACK_KNIGHT_START_POS` is never used [INFO] [stdout] --> src/board.rs:17:7 [INFO] [stdout] | [INFO] [stdout] 17 | const BLACK_KNIGHT_START_POS: u64 = 0x4200000000000000; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `BLACK_BISHOP_START_POS` is never used [INFO] [stdout] --> src/board.rs:18:7 [INFO] [stdout] | [INFO] [stdout] 18 | const BLACK_BISHOP_START_POS: u64 = 0x2400000000000000; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `BLACK_ROOK_START_POS` is never used [INFO] [stdout] --> src/board.rs:19:7 [INFO] [stdout] | [INFO] [stdout] 19 | const BLACK_ROOK_START_POS: u64 = 0x8100000000000000; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `BLACK_QUEEN_START_POS` is never used [INFO] [stdout] --> src/board.rs:20:7 [INFO] [stdout] | [INFO] [stdout] 20 | const BLACK_QUEEN_START_POS: u64 = 0x1000000000000000; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `BLACK_KING_START_POS` is never used [INFO] [stdout] --> src/board.rs:21:7 [INFO] [stdout] | [INFO] [stdout] 21 | const BLACK_KING_START_POS: u64 = 0x0800000000000000; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `PieceSet` is never constructed [INFO] [stdout] --> src/board.rs:161:12 [INFO] [stdout] | [INFO] [stdout] 161 | pub struct PieceSet { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Board` is never constructed [INFO] [stdout] --> src/board.rs:229:12 [INFO] [stdout] | [INFO] [stdout] 229 | pub struct Board { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `file_for_index` is never used [INFO] [stdout] --> src/board.rs:332:8 [INFO] [stdout] | [INFO] [stdout] 332 | pub fn file_for_index(index: u8) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `set_square` is never used [INFO] [stdout] --> src/board.rs:104:12 [INFO] [stdout] | [INFO] [stdout] 104 | pub fn set_square( [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `get_square` is never used [INFO] [stdout] --> src/board.rs:115:12 [INFO] [stdout] | [INFO] [stdout] 115 | pub fn get_square(&self, square: &str) -> Option { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/board.rs:172:8 [INFO] [stdout] | [INFO] [stdout] 172 | fn new(side: Side) -> PieceSet { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `bit_board_for` is never used [INFO] [stdout] --> src/board.rs:193:8 [INFO] [stdout] | [INFO] [stdout] 193 | fn bit_board_for(&self, piece: PieceType) -> BitBoard { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `set_bit_board` is never used [INFO] [stdout] --> src/board.rs:204:8 [INFO] [stdout] | [INFO] [stdout] 204 | fn set_bit_board(&mut self, bit_board: BitBoard, piece: PieceType) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/board.rs:236:12 [INFO] [stdout] | [INFO] [stdout] 236 | pub fn new() -> Board { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `bit_board_for` is never used [INFO] [stdout] --> src/board.rs:244:12 [INFO] [stdout] | [INFO] [stdout] 244 | pub fn bit_board_for(&self, piece: Piece) -> BitBoard { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `set_bit_board` is never used [INFO] [stdout] --> src/board.rs:251:12 [INFO] [stdout] | [INFO] [stdout] 251 | pub fn set_bit_board(&mut self, bit_board: BitBoard, piece: Piece) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `get_square` is never used [INFO] [stdout] --> src/board.rs:262:12 [INFO] [stdout] | [INFO] [stdout] 262 | pub fn get_square(&self, square: &str) -> Option { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `set_square` is never used [INFO] [stdout] --> src/board.rs:266:12 [INFO] [stdout] | [INFO] [stdout] 266 | pub fn set_square( [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `CAPTURE_FLAG` is never used [INFO] [stdout] --> src/movegen.rs:6:7 [INFO] [stdout] | [INFO] [stdout] 6 | const CAPTURE_FLAG: u8 = 0x04; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple variants are never constructed [INFO] [stdout] --> src/movegen.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 9 | pub enum MoveType { [INFO] [stdout] | -------- variants in this enum [INFO] [stdout] 10 | Quiet = 0, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 11 | DoublePawnPush, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 12 | KingsideCastle, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 13 | QueensideCastle, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 14 | Capture, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 15 | EnPassant, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 16 | KnightPromote = 8, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 17 | BishopPromote, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 18 | RookPromote, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 19 | QueenPromote, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 20 | KnightPromoteCapture, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 21 | BishopPromoteCapture, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 22 | RookPromoteCapture, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 23 | QueenPromoteCapture, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MoveType` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Move` is never constructed [INFO] [stdout] --> src/movegen.rs:32:12 [INFO] [stdout] | [INFO] [stdout] 32 | pub struct Move { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `is_capture` is never used [INFO] [stdout] --> src/movegen.rs:27:8 [INFO] [stdout] | [INFO] [stdout] 27 | fn is_capture(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `is_capture` is never used [INFO] [stdout] --> src/movegen.rs:40:8 [INFO] [stdout] | [INFO] [stdout] 40 | fn is_capture(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `apply` is never used [INFO] [stdout] --> src/movegen.rs:44:8 [INFO] [stdout] | [INFO] [stdout] 44 | fn apply(&self, board: &mut Board) -> Result<(), Box> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 32 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `file_for_index` is never used [INFO] [stdout] --> src/board.rs:332:8 [INFO] [stdout] | [INFO] [stdout] 332 | pub fn file_for_index(index: u8) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple variants are never constructed [INFO] [stdout] --> src/movegen.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 9 | pub enum MoveType { [INFO] [stdout] | -------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 12 | KingsideCastle, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 13 | QueensideCastle, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 14 | Capture, [INFO] [stdout] 15 | EnPassant, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 16 | KnightPromote = 8, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 17 | BishopPromote, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 18 | RookPromote, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 19 | QueenPromote, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 20 | KnightPromoteCapture, [INFO] [stdout] 21 | BishopPromoteCapture, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 22 | RookPromoteCapture, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 23 | QueenPromoteCapture, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MoveType` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `is_capture` is never used [INFO] [stdout] --> src/movegen.rs:40:8 [INFO] [stdout] | [INFO] [stdout] 40 | fn is_capture(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `from` that must be used [INFO] [stdout] --> src/board.rs:365:9 [INFO] [stdout] | [INFO] [stdout] 365 | BitBoard::from("bad input"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 3.57s [INFO] running `Command { std: "docker" "inspect" "89ab75b06298e4b9646cc742626ebf097be55656be1c809ebdfba2ecf1c52555", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "89ab75b06298e4b9646cc742626ebf097be55656be1c809ebdfba2ecf1c52555", kill_on_drop: false }` [INFO] [stdout] 89ab75b06298e4b9646cc742626ebf097be55656be1c809ebdfba2ecf1c52555