[INFO] cloning repository https://github.com/LelleSwe/chess_engine_3 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/LelleSwe/chess_engine_3" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLelleSwe%2Fchess_engine_3", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLelleSwe%2Fchess_engine_3'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] f69e15727173b250dbdaf26441c6c41a0325aa7f [INFO] checking LelleSwe/chess_engine_3 against try#c86ec274072509d26d0ee52682a0c94ed012ed89 for pr-153027 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLelleSwe%2Fchess_engine_3" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] removed /workspace/builds/worker-2-tc2/source/rust-toolchain.toml [INFO] started tweaking git repo https://github.com/LelleSwe/chess_engine_3 [INFO] finished tweaking git repo https://github.com/LelleSwe/chess_engine_3 [INFO] tweaked toml for git repo https://github.com/LelleSwe/chess_engine_3 written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/LelleSwe/chess_engine_3 on toolchain c86ec274072509d26d0ee52682a0c94ed012ed89 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c86ec274072509d26d0ee52682a0c94ed012ed89" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/LelleSwe/chess_engine_3 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" "+c86ec274072509d26d0ee52682a0c94ed012ed89" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: unused manifest key: profile.release.target-cpu [INFO] [stderr] warning: unused manifest key: unstable [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+c86ec274072509d26d0ee52682a0c94ed012ed89" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 72c9c4a7bde8b89203206243383ee84efeba8ec3693314966f636bb57062f643 [INFO] running `Command { std: "docker" "start" "-a" "72c9c4a7bde8b89203206243383ee84efeba8ec3693314966f636bb57062f643", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "72c9c4a7bde8b89203206243383ee84efeba8ec3693314966f636bb57062f643", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "72c9c4a7bde8b89203206243383ee84efeba8ec3693314966f636bb57062f643", kill_on_drop: false }` [INFO] [stdout] 72c9c4a7bde8b89203206243383ee84efeba8ec3693314966f636bb57062f643 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+c86ec274072509d26d0ee52682a0c94ed012ed89" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 39c54d4e4fd5e9be44441f95d4640401bac2702b7b60aa604830c27f9b0ee31f [INFO] running `Command { std: "docker" "start" "-a" "39c54d4e4fd5e9be44441f95d4640401bac2702b7b60aa604830c27f9b0ee31f", kill_on_drop: false }` [INFO] [stderr] warning: unused manifest key: profile.release.target-cpu [INFO] [stderr] warning: unused manifest key: unstable [INFO] [stderr] Checking chess_engine_3 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::marker::PhantomData` [INFO] [stdout] --> src/engine.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::marker::PhantomData; [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: `self` [INFO] [stdout] --> src/movegen.rs:3:13 [INFO] [stdout] | [INFO] [stdout] 3 | board::{self, Board, Castle, FILES, Piece, Player, RANKS, Square}, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `*`, `bitboard::Bitboard`, `moves::Move`, and `self` [INFO] [stdout] --> src/tests/test_board.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | bitboard::Bitboard, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 3 | board::{self, *}, [INFO] [stdout] | ^^^^ ^ [INFO] [stdout] 4 | moves::Move, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BETWEEN_SQUARES`, `Board`, `DefaultMoveGen`, `DefaultMoveList`, `HYPQUINMASKS`, `MoveGen`, `MoveList`, `Move`, `Square`, `bitboard::Bitboard`, `self`, and `self` [INFO] [stdout] --> src/tests/test_movegen.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | bitboard::Bitboard, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 3 | board::{self, Board, Square}, [INFO] [stdout] | ^^^^ ^^^^^ ^^^^^^ [INFO] [stdout] 4 | movegen::{self, BETWEEN_SQUARES, DefaultMoveGen, HYPQUINMASKS, MoveGen}, [INFO] [stdout] | ^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^ [INFO] [stdout] 5 | moves::{DefaultMoveList, Move, MoveList}, [INFO] [stdout] | ^^^^^^^^^^^^^^^ ^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::marker::PhantomData` [INFO] [stdout] --> src/engine.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::marker::PhantomData; [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: `self` [INFO] [stdout] --> src/movegen.rs:3:13 [INFO] [stdout] | [INFO] [stdout] 3 | board::{self, Board, Castle, FILES, Piece, Player, RANKS, Square}, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> src/tests/test_board.rs:3:13 [INFO] [stdout] | [INFO] [stdout] 3 | board::{self, *}, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `self` and `self` [INFO] [stdout] --> src/tests/test_movegen.rs:3:13 [INFO] [stdout] | [INFO] [stdout] 3 | board::{self, Board, Square}, [INFO] [stdout] | ^^^^ [INFO] [stdout] 4 | movegen::{self, BETWEEN_SQUARES, DefaultMoveGen, HYPQUINMASKS, MoveGen}, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `plies50` [INFO] [stdout] --> src/board.rs:525:9 [INFO] [stdout] | [INFO] [stdout] 525 | plies50: &str, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_plies50` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `move_count` [INFO] [stdout] --> src/board.rs:526:9 [INFO] [stdout] | [INFO] [stdout] 526 | move_count: &str, [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_move_count` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `plies50` [INFO] [stdout] --> src/board.rs:525:9 [INFO] [stdout] | [INFO] [stdout] 525 | plies50: &str, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_plies50` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `move_count` [INFO] [stdout] --> src/board.rs:526:9 [INFO] [stdout] | [INFO] [stdout] 526 | move_count: &str, [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_move_count` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: const parameter `opponent` should have an upper case name [INFO] [stdout] --> src/board.rs:602:28 [INFO] [stdout] | [INFO] [stdout] 602 | pub fn get_rooks(&self) -> Bitboard { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_upper_case_globals)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] help: convert the identifier to upper case [INFO] [stdout] | [INFO] [stdout] 602 - pub fn get_rooks(&self) -> Bitboard { [INFO] [stdout] 602 + pub fn get_rooks(&self) -> Bitboard { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: const parameter `opponent` should have an upper case name [INFO] [stdout] --> src/board.rs:610:28 [INFO] [stdout] | [INFO] [stdout] 610 | pub fn get_pawns(&self) -> Bitboard { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: convert the identifier to upper case [INFO] [stdout] | [INFO] [stdout] 610 - pub fn get_pawns(&self) -> Bitboard { [INFO] [stdout] 610 + pub fn get_pawns(&self) -> Bitboard { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: const parameter `opponent` should have an upper case name [INFO] [stdout] --> src/board.rs:618:29 [INFO] [stdout] | [INFO] [stdout] 618 | pub fn get_queens(&self) -> Bitboard { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: convert the identifier to upper case [INFO] [stdout] | [INFO] [stdout] 618 - pub fn get_queens(&self) -> Bitboard { [INFO] [stdout] 618 + pub fn get_queens(&self) -> Bitboard { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: const parameter `opponent` should have an upper case name [INFO] [stdout] --> src/board.rs:626:28 [INFO] [stdout] | [INFO] [stdout] 626 | pub fn get_kings(&self) -> Bitboard { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: convert the identifier to upper case [INFO] [stdout] | [INFO] [stdout] 626 - pub fn get_kings(&self) -> Bitboard { [INFO] [stdout] 626 + pub fn get_kings(&self) -> Bitboard { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: const parameter `opponent` should have an upper case name [INFO] [stdout] --> src/board.rs:634:30 [INFO] [stdout] | [INFO] [stdout] 634 | pub fn get_bishops(&self) -> Bitboard { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: convert the identifier to upper case [INFO] [stdout] | [INFO] [stdout] 634 - pub fn get_bishops(&self) -> Bitboard { [INFO] [stdout] 634 + pub fn get_bishops(&self) -> Bitboard { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: const parameter `opponent` should have an upper case name [INFO] [stdout] --> src/board.rs:642:30 [INFO] [stdout] | [INFO] [stdout] 642 | pub fn get_knights(&self) -> Bitboard { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: convert the identifier to upper case [INFO] [stdout] | [INFO] [stdout] 642 - pub fn get_knights(&self) -> Bitboard { [INFO] [stdout] 642 + pub fn get_knights(&self) -> Bitboard { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: const parameter `opponent` should have an upper case name [INFO] [stdout] --> src/board.rs:650:32 [INFO] [stdout] | [INFO] [stdout] 650 | pub fn get_combineds(&self) -> Bitboard { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: convert the identifier to upper case [INFO] [stdout] | [INFO] [stdout] 650 - pub fn get_combineds(&self) -> Bitboard { [INFO] [stdout] 650 + pub fn get_combineds(&self) -> Bitboard { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: const parameter `opponent` should have an upper case name [INFO] [stdout] --> src/movegen.rs:9:26 [INFO] [stdout] | [INFO] [stdout] 9 | fn get_attacks(&self, board: &Board) -> Bitboard; [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to upper case: `OPPONENT` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: const parameter `dir` should have an upper case name [INFO] [stdout] --> src/movegen.rs:335:53 [INFO] [stdout] | [INFO] [stdout] 335 | fn gen_king_pinned_checked_threatened_dir(&mut self, board: &Board) { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: convert the identifier to upper case [INFO] [stdout] | [INFO] [stdout] 335 - fn gen_king_pinned_checked_threatened_dir(&mut self, board: &Board) { [INFO] [stdout] 335 + fn gen_king_pinned_checked_threatened_dir(&mut self, board: &Board) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: const parameter `dir` should have an upper case name [INFO] [stdout] --> src/movegen.rs:544:31 [INFO] [stdout] | [INFO] [stdout] 544 | fn hyperbola_either(occ: Bitboard, sq: Bitboard, mask: Bitboard) -> Bitboard { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: convert the identifier to upper case [INFO] [stdout] | [INFO] [stdout] 544 - fn hyperbola_either(occ: Bitboard, sq: Bitboard, mask: Bitboard) -> Bitboard { [INFO] [stdout] 544 + fn hyperbola_either(occ: Bitboard, sq: Bitboard, mask: Bitboard) -> Bitboard { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: const parameter `opponent` should have an upper case name [INFO] [stdout] --> src/movegen.rs:551:31 [INFO] [stdout] | [INFO] [stdout] 551 | pub fn rook_attacks(&self, board: &Board) -> Bitboard { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: convert the identifier to upper case [INFO] [stdout] | [INFO] [stdout] 551 - pub fn rook_attacks(&self, board: &Board) -> Bitboard { [INFO] [stdout] 551 + pub fn rook_attacks(&self, board: &Board) -> Bitboard { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: const parameter `pseudolegal` should have an upper case name [INFO] [stdout] --> src/movegen.rs:567:42 [INFO] [stdout] | [INFO] [stdout] 567 | pub fn rook_moves( [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: convert the identifier to upper case [INFO] [stdout] | [INFO] [stdout] 567 - pub fn rook_moves( [INFO] [stdout] 567 + pub fn rook_moves( [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: const parameter `opponent` should have an upper case name [INFO] [stdout] --> src/movegen.rs:600:33 [INFO] [stdout] | [INFO] [stdout] 600 | pub fn bishop_attacks(&self, board: &Board) -> Bitboard { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: convert the identifier to upper case [INFO] [stdout] | [INFO] [stdout] 600 - pub fn bishop_attacks(&self, board: &Board) -> Bitboard { [INFO] [stdout] 600 + pub fn bishop_attacks(&self, board: &Board) -> Bitboard { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: const parameter `pseudolegal` should have an upper case name [INFO] [stdout] --> src/movegen.rs:616:44 [INFO] [stdout] | [INFO] [stdout] 616 | pub fn bishop_moves( [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: convert the identifier to upper case [INFO] [stdout] | [INFO] [stdout] 616 - pub fn bishop_moves( [INFO] [stdout] 616 + pub fn bishop_moves( [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: const parameter `opponent` should have an upper case name [INFO] [stdout] --> src/movegen.rs:649:28 [INFO] [stdout] | [INFO] [stdout] 649 | fn queen_attacks(&self, board: &Board) -> Bitboard { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: convert the identifier to upper case [INFO] [stdout] | [INFO] [stdout] 649 - fn queen_attacks(&self, board: &Board) -> Bitboard { [INFO] [stdout] 649 + fn queen_attacks(&self, board: &Board) -> Bitboard { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: const parameter `pseudolegal` should have an upper case name [INFO] [stdout] --> src/movegen.rs:670:43 [INFO] [stdout] | [INFO] [stdout] 670 | pub fn queen_moves( [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: convert the identifier to upper case [INFO] [stdout] | [INFO] [stdout] 670 - pub fn queen_moves( [INFO] [stdout] 670 + pub fn queen_moves( [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: const parameter `opponent` should have an upper case name [INFO] [stdout] --> src/movegen.rs:708:33 [INFO] [stdout] | [INFO] [stdout] 708 | pub fn knight_attacks(&self, board: &Board) -> Bitboard { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: convert the identifier to upper case [INFO] [stdout] | [INFO] [stdout] 708 - pub fn knight_attacks(&self, board: &Board) -> Bitboard { [INFO] [stdout] 708 + pub fn knight_attacks(&self, board: &Board) -> Bitboard { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: const parameter `pseudolegal` should have an upper case name [INFO] [stdout] --> src/movegen.rs:716:44 [INFO] [stdout] | [INFO] [stdout] 716 | pub fn knight_moves( [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: convert the identifier to upper case [INFO] [stdout] | [INFO] [stdout] 716 - pub fn knight_moves( [INFO] [stdout] 716 + pub fn knight_moves( [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: const parameter `pseudolegal` should have an upper case name [INFO] [stdout] --> src/movegen.rs:757:42 [INFO] [stdout] | [INFO] [stdout] 757 | pub fn pawn_moves( [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to upper case: `PSEUDOLEGAL` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: const parameter `pseudolegal` should have an upper case name [INFO] [stdout] --> src/movegen.rs:876:40 [INFO] [stdout] | [INFO] [stdout] 876 | fn castle_moves(&self, board: &Board, move_list: &mut T) { [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to upper case: `PSEUDOLEGAL` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: const parameter `opponent` should have an upper case name [INFO] [stdout] --> src/movegen.rs:934:31 [INFO] [stdout] | [INFO] [stdout] 934 | pub fn king_attacks(&self, board: &Board) -> Bitboard { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: convert the identifier to upper case [INFO] [stdout] | [INFO] [stdout] 934 - pub fn king_attacks(&self, board: &Board) -> Bitboard { [INFO] [stdout] 934 + pub fn king_attacks(&self, board: &Board) -> Bitboard { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: const parameter `pseudolegal` should have an upper case name [INFO] [stdout] --> src/movegen.rs:939:42 [INFO] [stdout] | [INFO] [stdout] 939 | pub fn king_moves( [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to upper case: `PSEUDOLEGAL` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: const parameter `opponent` should have an upper case name [INFO] [stdout] --> src/movegen.rs:963:26 [INFO] [stdout] | [INFO] [stdout] 963 | fn get_attacks(&self, board: &Board) -> Bitboard { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: convert the identifier to upper case [INFO] [stdout] | [INFO] [stdout] 963 - fn get_attacks(&self, board: &Board) -> Bitboard { [INFO] [stdout] 963 + fn get_attacks(&self, board: &Board) -> Bitboard { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pos` [INFO] [stdout] --> src/tests/test_board.rs:114:13 [INFO] [stdout] | [INFO] [stdout] 114 | for pos in bb { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_pos` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `file2` [INFO] [stdout] --> src/tests/test_movegen.rs:72:9 [INFO] [stdout] | [INFO] [stdout] 72 | let file2 = 4; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_file2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: const parameter `opponent` should have an upper case name [INFO] [stdout] --> src/board.rs:602:28 [INFO] [stdout] | [INFO] [stdout] 602 | pub fn get_rooks(&self) -> Bitboard { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_upper_case_globals)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] help: convert the identifier to upper case [INFO] [stdout] | [INFO] [stdout] 602 - pub fn get_rooks(&self) -> Bitboard { [INFO] [stdout] 602 + pub fn get_rooks(&self) -> Bitboard { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: const parameter `opponent` should have an upper case name [INFO] [stdout] --> src/board.rs:610:28 [INFO] [stdout] | [INFO] [stdout] 610 | pub fn get_pawns(&self) -> Bitboard { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: convert the identifier to upper case [INFO] [stdout] | [INFO] [stdout] 610 - pub fn get_pawns(&self) -> Bitboard { [INFO] [stdout] 610 + pub fn get_pawns(&self) -> Bitboard { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: const parameter `opponent` should have an upper case name [INFO] [stdout] --> src/board.rs:618:29 [INFO] [stdout] | [INFO] [stdout] 618 | pub fn get_queens(&self) -> Bitboard { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: convert the identifier to upper case [INFO] [stdout] | [INFO] [stdout] 618 - pub fn get_queens(&self) -> Bitboard { [INFO] [stdout] 618 + pub fn get_queens(&self) -> Bitboard { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: const parameter `opponent` should have an upper case name [INFO] [stdout] --> src/board.rs:626:28 [INFO] [stdout] | [INFO] [stdout] 626 | pub fn get_kings(&self) -> Bitboard { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: convert the identifier to upper case [INFO] [stdout] | [INFO] [stdout] 626 - pub fn get_kings(&self) -> Bitboard { [INFO] [stdout] 626 + pub fn get_kings(&self) -> Bitboard { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: const parameter `opponent` should have an upper case name [INFO] [stdout] --> src/board.rs:634:30 [INFO] [stdout] | [INFO] [stdout] 634 | pub fn get_bishops(&self) -> Bitboard { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: convert the identifier to upper case [INFO] [stdout] | [INFO] [stdout] 634 - pub fn get_bishops(&self) -> Bitboard { [INFO] [stdout] 634 + pub fn get_bishops(&self) -> Bitboard { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: const parameter `opponent` should have an upper case name [INFO] [stdout] --> src/board.rs:642:30 [INFO] [stdout] | [INFO] [stdout] 642 | pub fn get_knights(&self) -> Bitboard { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: convert the identifier to upper case [INFO] [stdout] | [INFO] [stdout] 642 - pub fn get_knights(&self) -> Bitboard { [INFO] [stdout] 642 + pub fn get_knights(&self) -> Bitboard { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: const parameter `opponent` should have an upper case name [INFO] [stdout] --> src/board.rs:650:32 [INFO] [stdout] | [INFO] [stdout] 650 | pub fn get_combineds(&self) -> Bitboard { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: convert the identifier to upper case [INFO] [stdout] | [INFO] [stdout] 650 - pub fn get_combineds(&self) -> Bitboard { [INFO] [stdout] 650 + pub fn get_combineds(&self) -> Bitboard { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: const parameter `opponent` should have an upper case name [INFO] [stdout] --> src/movegen.rs:9:26 [INFO] [stdout] | [INFO] [stdout] 9 | fn get_attacks(&self, board: &Board) -> Bitboard; [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to upper case: `OPPONENT` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: const parameter `dir` should have an upper case name [INFO] [stdout] --> src/movegen.rs:335:53 [INFO] [stdout] | [INFO] [stdout] 335 | fn gen_king_pinned_checked_threatened_dir(&mut self, board: &Board) { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: convert the identifier to upper case [INFO] [stdout] | [INFO] [stdout] 335 - fn gen_king_pinned_checked_threatened_dir(&mut self, board: &Board) { [INFO] [stdout] 335 + fn gen_king_pinned_checked_threatened_dir(&mut self, board: &Board) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: const parameter `dir` should have an upper case name [INFO] [stdout] --> src/movegen.rs:544:31 [INFO] [stdout] | [INFO] [stdout] 544 | fn hyperbola_either(occ: Bitboard, sq: Bitboard, mask: Bitboard) -> Bitboard { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: convert the identifier to upper case [INFO] [stdout] | [INFO] [stdout] 544 - fn hyperbola_either(occ: Bitboard, sq: Bitboard, mask: Bitboard) -> Bitboard { [INFO] [stdout] 544 + fn hyperbola_either(occ: Bitboard, sq: Bitboard, mask: Bitboard) -> Bitboard { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: const parameter `opponent` should have an upper case name [INFO] [stdout] --> src/movegen.rs:551:31 [INFO] [stdout] | [INFO] [stdout] 551 | pub fn rook_attacks(&self, board: &Board) -> Bitboard { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: convert the identifier to upper case [INFO] [stdout] | [INFO] [stdout] 551 - pub fn rook_attacks(&self, board: &Board) -> Bitboard { [INFO] [stdout] 551 + pub fn rook_attacks(&self, board: &Board) -> Bitboard { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: const parameter `pseudolegal` should have an upper case name [INFO] [stdout] --> src/movegen.rs:567:42 [INFO] [stdout] | [INFO] [stdout] 567 | pub fn rook_moves( [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: convert the identifier to upper case [INFO] [stdout] | [INFO] [stdout] 567 - pub fn rook_moves( [INFO] [stdout] 567 + pub fn rook_moves( [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: const parameter `opponent` should have an upper case name [INFO] [stdout] --> src/movegen.rs:600:33 [INFO] [stdout] | [INFO] [stdout] 600 | pub fn bishop_attacks(&self, board: &Board) -> Bitboard { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: convert the identifier to upper case [INFO] [stdout] | [INFO] [stdout] 600 - pub fn bishop_attacks(&self, board: &Board) -> Bitboard { [INFO] [stdout] 600 + pub fn bishop_attacks(&self, board: &Board) -> Bitboard { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: const parameter `pseudolegal` should have an upper case name [INFO] [stdout] --> src/movegen.rs:616:44 [INFO] [stdout] | [INFO] [stdout] 616 | pub fn bishop_moves( [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: convert the identifier to upper case [INFO] [stdout] | [INFO] [stdout] 616 - pub fn bishop_moves( [INFO] [stdout] 616 + pub fn bishop_moves( [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: const parameter `opponent` should have an upper case name [INFO] [stdout] --> src/movegen.rs:649:28 [INFO] [stdout] | [INFO] [stdout] 649 | fn queen_attacks(&self, board: &Board) -> Bitboard { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: convert the identifier to upper case [INFO] [stdout] | [INFO] [stdout] 649 - fn queen_attacks(&self, board: &Board) -> Bitboard { [INFO] [stdout] 649 + fn queen_attacks(&self, board: &Board) -> Bitboard { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: const parameter `pseudolegal` should have an upper case name [INFO] [stdout] --> src/movegen.rs:670:43 [INFO] [stdout] | [INFO] [stdout] 670 | pub fn queen_moves( [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: convert the identifier to upper case [INFO] [stdout] | [INFO] [stdout] 670 - pub fn queen_moves( [INFO] [stdout] 670 + pub fn queen_moves( [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: const parameter `opponent` should have an upper case name [INFO] [stdout] --> src/movegen.rs:708:33 [INFO] [stdout] | [INFO] [stdout] 708 | pub fn knight_attacks(&self, board: &Board) -> Bitboard { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: convert the identifier to upper case [INFO] [stdout] | [INFO] [stdout] 708 - pub fn knight_attacks(&self, board: &Board) -> Bitboard { [INFO] [stdout] 708 + pub fn knight_attacks(&self, board: &Board) -> Bitboard { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: const parameter `pseudolegal` should have an upper case name [INFO] [stdout] --> src/movegen.rs:716:44 [INFO] [stdout] | [INFO] [stdout] 716 | pub fn knight_moves( [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: convert the identifier to upper case [INFO] [stdout] | [INFO] [stdout] 716 - pub fn knight_moves( [INFO] [stdout] 716 + pub fn knight_moves( [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: const parameter `pseudolegal` should have an upper case name [INFO] [stdout] --> src/movegen.rs:757:42 [INFO] [stdout] | [INFO] [stdout] 757 | pub fn pawn_moves( [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to upper case: `PSEUDOLEGAL` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: const parameter `pseudolegal` should have an upper case name [INFO] [stdout] --> src/movegen.rs:876:40 [INFO] [stdout] | [INFO] [stdout] 876 | fn castle_moves(&self, board: &Board, move_list: &mut T) { [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to upper case: `PSEUDOLEGAL` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: const parameter `opponent` should have an upper case name [INFO] [stdout] --> src/movegen.rs:934:31 [INFO] [stdout] | [INFO] [stdout] 934 | pub fn king_attacks(&self, board: &Board) -> Bitboard { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: convert the identifier to upper case [INFO] [stdout] | [INFO] [stdout] 934 - pub fn king_attacks(&self, board: &Board) -> Bitboard { [INFO] [stdout] 934 + pub fn king_attacks(&self, board: &Board) -> Bitboard { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: const parameter `pseudolegal` should have an upper case name [INFO] [stdout] --> src/movegen.rs:939:42 [INFO] [stdout] | [INFO] [stdout] 939 | pub fn king_moves( [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to upper case: `PSEUDOLEGAL` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: const parameter `opponent` should have an upper case name [INFO] [stdout] --> src/movegen.rs:963:26 [INFO] [stdout] | [INFO] [stdout] 963 | fn get_attacks(&self, board: &Board) -> Bitboard { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: convert the identifier to upper case [INFO] [stdout] | [INFO] [stdout] 963 - fn get_attacks(&self, board: &Board) -> Bitboard { [INFO] [stdout] 963 + fn get_attacks(&self, board: &Board) -> Bitboard { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.47s [INFO] running `Command { std: "docker" "inspect" "39c54d4e4fd5e9be44441f95d4640401bac2702b7b60aa604830c27f9b0ee31f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "39c54d4e4fd5e9be44441f95d4640401bac2702b7b60aa604830c27f9b0ee31f", kill_on_drop: false }` [INFO] [stdout] 39c54d4e4fd5e9be44441f95d4640401bac2702b7b60aa604830c27f9b0ee31f