[INFO] cloning repository https://github.com/l3kn/rust_chess [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/l3kn/rust_chess" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fl3kn%2Frust_chess", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fl3kn%2Frust_chess'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] ae51af4460a1760b4bee1123df071b6711bc666c [INFO] checking l3kn/rust_chess against master#75530e9f72a1990ed2305e16fd51d02f47048f12 for pr-138676 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fl3kn%2Frust_chess" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/l3kn/rust_chess on toolchain 75530e9f72a1990ed2305e16fd51d02f47048f12 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+75530e9f72a1990ed2305e16fd51d02f47048f12" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/l3kn/rust_chess [INFO] finished tweaking git repo https://github.com/l3kn/rust_chess [INFO] tweaked toml for git repo https://github.com/l3kn/rust_chess written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/l3kn/rust_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" "+75530e9f72a1990ed2305e16fd51d02f47048f12" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/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:1680c8fbd8dfb46fcd6d22e546df16ab0e007457dc29fcd9e987cdd5077fd1af" "/opt/rustwide/cargo-home/bin/cargo" "+75530e9f72a1990ed2305e16fd51d02f47048f12" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b5b36998d36512376ff4e92603308ef5828af978dec0d4f2eed04396d5d448f7 [INFO] running `Command { std: "docker" "start" "-a" "b5b36998d36512376ff4e92603308ef5828af978dec0d4f2eed04396d5d448f7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b5b36998d36512376ff4e92603308ef5828af978dec0d4f2eed04396d5d448f7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b5b36998d36512376ff4e92603308ef5828af978dec0d4f2eed04396d5d448f7", kill_on_drop: false }` [INFO] [stdout] b5b36998d36512376ff4e92603308ef5828af978dec0d4f2eed04396d5d448f7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/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:1680c8fbd8dfb46fcd6d22e546df16ab0e007457dc29fcd9e987cdd5077fd1af" "/opt/rustwide/cargo-home/bin/cargo" "+75530e9f72a1990ed2305e16fd51d02f47048f12" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1d6862172bb9e37e8145fb900de212ca7c39e778c82ec9847840a045ffcaaddb [INFO] running `Command { std: "docker" "start" "-a" "1d6862172bb9e37e8145fb900de212ca7c39e778c82ec9847840a045ffcaaddb", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Checking chess v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::fmt` [INFO] [stdout] --> src/main.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::fmt; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::cmp` [INFO] [stdout] --> src/main.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::cmp; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `bitscan::*` [INFO] [stdout] --> src/main.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use bitscan::*; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/occupancy_masks.rs:18:16 [INFO] [stdout] | [INFO] [stdout] 18 | res |= (1 << (row * 8 + c)); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 18 - res |= (1 << (row * 8 + c)); [INFO] [stdout] 18 + res |= 1 << (row * 8 + c); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/occupancy_masks.rs:25:16 [INFO] [stdout] | [INFO] [stdout] 25 | res |= (1 << (r * 8 + col)); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 25 - res |= (1 << (r * 8 + col)); [INFO] [stdout] 25 + res |= 1 << (r * 8 + col); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/occupancy_masks.rs:42:12 [INFO] [stdout] | [INFO] [stdout] 42 | if (x != col && y != row) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 42 - if (x != col && y != row) { [INFO] [stdout] 42 + if x != col && y != row { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/occupancy_masks.rs:43:20 [INFO] [stdout] | [INFO] [stdout] 43 | res |= (1 << (y * 8 + x)); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 43 - res |= (1 << (y * 8 + x)); [INFO] [stdout] 43 + res |= 1 << (y * 8 + x); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/occupancy_masks.rs:59:12 [INFO] [stdout] | [INFO] [stdout] 59 | if (x != col_ && y != row) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 59 - if (x != col_ && y != row) { [INFO] [stdout] 59 + if x != col_ && y != row { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/occupancy_masks.rs:60:20 [INFO] [stdout] | [INFO] [stdout] 60 | res |= (1 << (y * 8 + (7 - x))); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 60 - res |= (1 << (y * 8 + (7 - x))); [INFO] [stdout] 60 + res |= 1 << (y * 8 + (7 - x)); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/board.rs:186:20 [INFO] [stdout] | [INFO] [stdout] 186 | '0'...'8' => { [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(ellipsis_inclusive_range_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Color` and `Position` [INFO] [stdout] --> src/main.rs:15:20 [INFO] [stdout] | [INFO] [stdout] 15 | use board::{Board, Color, Position, Move}; [INFO] [stdout] | ^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fmt` [INFO] [stdout] --> src/main.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::fmt; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::cmp` [INFO] [stdout] --> src/main.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::cmp; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `bitscan::*` [INFO] [stdout] --> src/main.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use bitscan::*; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/occupancy_masks.rs:18:16 [INFO] [stdout] | [INFO] [stdout] 18 | res |= (1 << (row * 8 + c)); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 18 - res |= (1 << (row * 8 + c)); [INFO] [stdout] 18 + res |= 1 << (row * 8 + c); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/occupancy_masks.rs:25:16 [INFO] [stdout] | [INFO] [stdout] 25 | res |= (1 << (r * 8 + col)); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 25 - res |= (1 << (r * 8 + col)); [INFO] [stdout] 25 + res |= 1 << (r * 8 + col); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/occupancy_masks.rs:42:12 [INFO] [stdout] | [INFO] [stdout] 42 | if (x != col && y != row) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 42 - if (x != col && y != row) { [INFO] [stdout] 42 + if x != col && y != row { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/occupancy_masks.rs:43:20 [INFO] [stdout] | [INFO] [stdout] 43 | res |= (1 << (y * 8 + x)); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 43 - res |= (1 << (y * 8 + x)); [INFO] [stdout] 43 + res |= 1 << (y * 8 + x); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/occupancy_masks.rs:59:12 [INFO] [stdout] | [INFO] [stdout] 59 | if (x != col_ && y != row) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 59 - if (x != col_ && y != row) { [INFO] [stdout] 59 + if x != col_ && y != row { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/occupancy_masks.rs:60:20 [INFO] [stdout] | [INFO] [stdout] 60 | res |= (1 << (y * 8 + (7 - x))); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 60 - res |= (1 << (y * 8 + (7 - x))); [INFO] [stdout] 60 + res |= 1 << (y * 8 + (7 - x)); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/board.rs:186:20 [INFO] [stdout] | [INFO] [stdout] 186 | '0'...'8' => { [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(ellipsis_inclusive_range_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Color` and `Position` [INFO] [stdout] --> src/main.rs:15:20 [INFO] [stdout] | [INFO] [stdout] 15 | use board::{Board, Color, Position, Move}; [INFO] [stdout] | ^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `bitscan_magic` should have an upper case name [INFO] [stdout] --> src/bitscan.rs:3:7 [INFO] [stdout] | [INFO] [stdout] 3 | const bitscan_magic: u64 = 0x7edd5e59a4e28c2; [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to upper case: `BITSCAN_MAGIC` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_upper_case_globals)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `bitscan_db` should have an upper case name [INFO] [stdout] --> src/bitscan.rs:4:7 [INFO] [stdout] | [INFO] [stdout] 4 | const bitscan_db: [u64; 64] = [ [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to upper case: `BITSCAN_DB` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `rook` should have an upper case name [INFO] [stdout] --> src/occupancy_masks.rs:67:7 [INFO] [stdout] | [INFO] [stdout] 67 | const rook: [u64; 64] = [ [INFO] [stdout] | ^^^^ help: convert the identifier to upper case: `ROOK` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `bishop` should have an upper case name [INFO] [stdout] --> src/occupancy_masks.rs:134:7 [INFO] [stdout] | [INFO] [stdout] 134 | const bishop: [u64; 64] = [ [INFO] [stdout] | ^^^^^^ help: convert the identifier to upper case: `BISHOP` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `bitscan_magic` should have an upper case name [INFO] [stdout] --> src/bitscan.rs:3:7 [INFO] [stdout] | [INFO] [stdout] 3 | const bitscan_magic: u64 = 0x7edd5e59a4e28c2; [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to upper case: `BITSCAN_MAGIC` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_upper_case_globals)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `bitscan_db` should have an upper case name [INFO] [stdout] --> src/bitscan.rs:4:7 [INFO] [stdout] | [INFO] [stdout] 4 | const bitscan_db: [u64; 64] = [ [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to upper case: `BITSCAN_DB` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `rook` should have an upper case name [INFO] [stdout] --> src/occupancy_masks.rs:67:7 [INFO] [stdout] | [INFO] [stdout] 67 | const rook: [u64; 64] = [ [INFO] [stdout] | ^^^^ help: convert the identifier to upper case: `ROOK` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `bishop` should have an upper case name [INFO] [stdout] --> src/occupancy_masks.rs:134:7 [INFO] [stdout] | [INFO] [stdout] 134 | const bishop: [u64; 64] = [ [INFO] [stdout] | ^^^^^^ help: convert the identifier to upper case: `BISHOP` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.35s [INFO] running `Command { std: "docker" "inspect" "1d6862172bb9e37e8145fb900de212ca7c39e778c82ec9847840a045ffcaaddb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1d6862172bb9e37e8145fb900de212ca7c39e778c82ec9847840a045ffcaaddb", kill_on_drop: false }` [INFO] [stdout] 1d6862172bb9e37e8145fb900de212ca7c39e778c82ec9847840a045ffcaaddb