[INFO] cloning repository https://github.com/aolagers/rook [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/aolagers/rook" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Faolagers%2Frook", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Faolagers%2Frook'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 27ab2f93c0e7ce6398ad1bd8b08ecef53d7c14f2 [INFO] building aolagers/rook against master#11663cd3bfefef7d34e8f0892c250bf698049392+rustflags=-Dtail-expr-drop-order for pr-134523 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Faolagers%2Frook" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/aolagers/rook on toolchain 11663cd3bfefef7d34e8f0892c250bf698049392 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/aolagers/rook [INFO] finished tweaking git repo https://github.com/aolagers/rook [INFO] tweaked toml for git repo https://github.com/aolagers/rook written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/aolagers/rook 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" "+11663cd3bfefef7d34e8f0892c250bf698049392" "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-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ceff88f9a7db2565cd77af834a439e1a9cf9c1dd313cc17c9b7d26a0f825c06b [INFO] running `Command { std: "docker" "start" "-a" "ceff88f9a7db2565cd77af834a439e1a9cf9c1dd313cc17c9b7d26a0f825c06b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ceff88f9a7db2565cd77af834a439e1a9cf9c1dd313cc17c9b7d26a0f825c06b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ceff88f9a7db2565cd77af834a439e1a9cf9c1dd313cc17c9b7d26a0f825c06b", kill_on_drop: false }` [INFO] [stdout] ceff88f9a7db2565cd77af834a439e1a9cf9c1dd313cc17c9b7d26a0f825c06b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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 -Dtail-expr-drop-order" "-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] fd5237c1fecf8f306383820f99b7234874ee0f1042306b37d3527467bd8b04c6 [INFO] running `Command { std: "docker" "start" "-a" "fd5237c1fecf8f306383820f99b7234874ee0f1042306b37d3527467bd8b04c6", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling libc v0.2.139 [INFO] [stderr] Compiling time-core v0.1.0 [INFO] [stderr] Compiling time v0.3.20 [INFO] [stderr] Compiling rand v0.4.6 [INFO] [stderr] Compiling rand v0.3.23 [INFO] [stderr] Compiling rook v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around function argument [INFO] [stdout] --> src/board.rs:133:48 [INFO] [stdout] | [INFO] [stdout] 133 | let sq = BitBoard::from_square(((7-i)*8 + j)); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 133 - let sq = BitBoard::from_square(((7-i)*8 + j)); [INFO] [stdout] 133 + let sq = BitBoard::from_square((7-i)*8 + j); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/pos.rs:87:25 [INFO] [stdout] | [INFO] [stdout] 87 | n @ '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: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stdout] --> src/movegenerator.rs:225:1 [INFO] [stdout] | [INFO] [stdout] 225 | / lazy_static! { [INFO] [stdout] 226 | | static ref KNIGHT_MOVES: [BitBoard; 64] = { [INFO] [stdout] 227 | | let mut kmoves = [BitBoard::empty(); 64]; [INFO] [stdout] 228 | | for i in 0..64 { [INFO] [stdout] ... | [INFO] [stdout] 291 | | }; [INFO] [stdout] 292 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stdout] --> src/movegenerator.rs:225:1 [INFO] [stdout] | [INFO] [stdout] 225 | / lazy_static! { [INFO] [stdout] 226 | | static ref KNIGHT_MOVES: [BitBoard; 64] = { [INFO] [stdout] 227 | | let mut kmoves = [BitBoard::empty(); 64]; [INFO] [stdout] 228 | | for i in 0..64 { [INFO] [stdout] ... | [INFO] [stdout] 291 | | }; [INFO] [stdout] 292 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stdout] --> src/movegenerator.rs:225:1 [INFO] [stdout] | [INFO] [stdout] 225 | / lazy_static! { [INFO] [stdout] 226 | | static ref KNIGHT_MOVES: [BitBoard; 64] = { [INFO] [stdout] 227 | | let mut kmoves = [BitBoard::empty(); 64]; [INFO] [stdout] 228 | | for i in 0..64 { [INFO] [stdout] ... | [INFO] [stdout] 291 | | }; [INFO] [stdout] 292 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stdout] --> src/movegenerator.rs:225:1 [INFO] [stdout] | [INFO] [stdout] 225 | / lazy_static! { [INFO] [stdout] 226 | | static ref KNIGHT_MOVES: [BitBoard; 64] = { [INFO] [stdout] 227 | | let mut kmoves = [BitBoard::empty(); 64]; [INFO] [stdout] 228 | | for i in 0..64 { [INFO] [stdout] ... | [INFO] [stdout] 291 | | }; [INFO] [stdout] 292 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stdout] --> src/movegenerator.rs:225:1 [INFO] [stdout] | [INFO] [stdout] 225 | / lazy_static! { [INFO] [stdout] 226 | | static ref KNIGHT_MOVES: [BitBoard; 64] = { [INFO] [stdout] 227 | | let mut kmoves = [BitBoard::empty(); 64]; [INFO] [stdout] 228 | | for i in 0..64 { [INFO] [stdout] ... | [INFO] [stdout] 291 | | }; [INFO] [stdout] 292 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stdout] --> src/movegenerator.rs:225:1 [INFO] [stdout] | [INFO] [stdout] 225 | / lazy_static! { [INFO] [stdout] 226 | | static ref KNIGHT_MOVES: [BitBoard; 64] = { [INFO] [stdout] 227 | | let mut kmoves = [BitBoard::empty(); 64]; [INFO] [stdout] 228 | | for i in 0..64 { [INFO] [stdout] ... | [INFO] [stdout] 291 | | }; [INFO] [stdout] 292 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stdout] --> src/hash.rs:49:1 [INFO] [stdout] | [INFO] [stdout] 49 | / lazy_static! { [INFO] [stdout] 50 | | static ref HASH: Mutex> = { [INFO] [stdout] 51 | | Mutex::new(HashMap::new()) [INFO] [stdout] 52 | | }; [INFO] [stdout] ... | [INFO] [stdout] 65 | | }; [INFO] [stdout] 66 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stdout] --> src/hash.rs:49:1 [INFO] [stdout] | [INFO] [stdout] 49 | / lazy_static! { [INFO] [stdout] 50 | | static ref HASH: Mutex> = { [INFO] [stdout] 51 | | Mutex::new(HashMap::new()) [INFO] [stdout] 52 | | }; [INFO] [stdout] ... | [INFO] [stdout] 65 | | }; [INFO] [stdout] 66 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1.39s [INFO] running `Command { std: "docker" "inspect" "fd5237c1fecf8f306383820f99b7234874ee0f1042306b37d3527467bd8b04c6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fd5237c1fecf8f306383820f99b7234874ee0f1042306b37d3527467bd8b04c6", kill_on_drop: false }` [INFO] [stdout] fd5237c1fecf8f306383820f99b7234874ee0f1042306b37d3527467bd8b04c6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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 -Dtail-expr-drop-order" "-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9e87f9aed9a0c404b81c331c6f4e42fd8b24c6f12f01542cc96e49dd33ded4ff [INFO] running `Command { std: "docker" "start" "-a" "9e87f9aed9a0c404b81c331c6f4e42fd8b24c6f12f01542cc96e49dd33ded4ff", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stdout] warning: unnecessary parentheses around function argument [INFO] [stdout] --> src/board.rs:133:48 [INFO] [stdout] | [INFO] [stdout] 133 | let sq = BitBoard::from_square(((7-i)*8 + j)); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 133 - let sq = BitBoard::from_square(((7-i)*8 + j)); [INFO] [stdout] 133 + let sq = BitBoard::from_square((7-i)*8 + j); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/pos.rs:87:25 [INFO] [stdout] | [INFO] [stdout] 87 | n @ '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: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stdout] --> src/movegenerator.rs:225:1 [INFO] [stdout] | [INFO] [stdout] 225 | / lazy_static! { [INFO] [stdout] 226 | | static ref KNIGHT_MOVES: [BitBoard; 64] = { [INFO] [stdout] 227 | | let mut kmoves = [BitBoard::empty(); 64]; [INFO] [stdout] 228 | | for i in 0..64 { [INFO] [stdout] ... | [INFO] [stdout] 291 | | }; [INFO] [stdout] 292 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stdout] --> src/movegenerator.rs:225:1 [INFO] [stdout] | [INFO] [stdout] 225 | / lazy_static! { [INFO] [stdout] 226 | | static ref KNIGHT_MOVES: [BitBoard; 64] = { [INFO] [stdout] 227 | | let mut kmoves = [BitBoard::empty(); 64]; [INFO] [stdout] 228 | | for i in 0..64 { [INFO] [stdout] ... | [INFO] [stdout] 291 | | }; [INFO] [stdout] 292 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stdout] --> src/movegenerator.rs:225:1 [INFO] [stdout] | [INFO] [stdout] 225 | / lazy_static! { [INFO] [stdout] 226 | | static ref KNIGHT_MOVES: [BitBoard; 64] = { [INFO] [stdout] 227 | | let mut kmoves = [BitBoard::empty(); 64]; [INFO] [stdout] 228 | | for i in 0..64 { [INFO] [stdout] ... | [INFO] [stdout] 291 | | }; [INFO] [stdout] 292 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stdout] --> src/movegenerator.rs:225:1 [INFO] [stdout] | [INFO] [stdout] 225 | / lazy_static! { [INFO] [stdout] 226 | | static ref KNIGHT_MOVES: [BitBoard; 64] = { [INFO] [stdout] 227 | | let mut kmoves = [BitBoard::empty(); 64]; [INFO] [stdout] 228 | | for i in 0..64 { [INFO] [stdout] ... | [INFO] [stdout] 291 | | }; [INFO] [stdout] 292 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stdout] --> src/movegenerator.rs:225:1 [INFO] [stdout] | [INFO] [stdout] 225 | / lazy_static! { [INFO] [stdout] 226 | | static ref KNIGHT_MOVES: [BitBoard; 64] = { [INFO] [stdout] 227 | | let mut kmoves = [BitBoard::empty(); 64]; [INFO] [stdout] 228 | | for i in 0..64 { [INFO] [stdout] ... | [INFO] [stdout] 291 | | }; [INFO] [stdout] 292 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stdout] --> src/movegenerator.rs:225:1 [INFO] [stdout] | [INFO] [stdout] 225 | / lazy_static! { [INFO] [stdout] 226 | | static ref KNIGHT_MOVES: [BitBoard; 64] = { [INFO] [stdout] 227 | | let mut kmoves = [BitBoard::empty(); 64]; [INFO] [stdout] 228 | | for i in 0..64 { [INFO] [stdout] ... | [INFO] [stdout] 291 | | }; [INFO] [stdout] 292 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stdout] --> src/hash.rs:49:1 [INFO] [stdout] | [INFO] [stdout] 49 | / lazy_static! { [INFO] [stdout] 50 | | static ref HASH: Mutex> = { [INFO] [stdout] 51 | | Mutex::new(HashMap::new()) [INFO] [stdout] 52 | | }; [INFO] [stdout] ... | [INFO] [stdout] 65 | | }; [INFO] [stdout] 66 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling rook v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stdout] --> src/hash.rs:49:1 [INFO] [stdout] | [INFO] [stdout] 49 | / lazy_static! { [INFO] [stdout] 50 | | static ref HASH: Mutex> = { [INFO] [stdout] 51 | | Mutex::new(HashMap::new()) [INFO] [stdout] 52 | | }; [INFO] [stdout] ... | [INFO] [stdout] 65 | | }; [INFO] [stdout] 66 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around function argument [INFO] [stdout] --> src/board.rs:133:48 [INFO] [stdout] | [INFO] [stdout] 133 | let sq = BitBoard::from_square(((7-i)*8 + j)); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 133 - let sq = BitBoard::from_square(((7-i)*8 + j)); [INFO] [stdout] 133 + let sq = BitBoard::from_square((7-i)*8 + j); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/pos.rs:87:25 [INFO] [stdout] | [INFO] [stdout] 87 | n @ '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: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stdout] --> src/movegenerator.rs:225:1 [INFO] [stdout] | [INFO] [stdout] 225 | / lazy_static! { [INFO] [stdout] 226 | | static ref KNIGHT_MOVES: [BitBoard; 64] = { [INFO] [stdout] 227 | | let mut kmoves = [BitBoard::empty(); 64]; [INFO] [stdout] 228 | | for i in 0..64 { [INFO] [stdout] ... | [INFO] [stdout] 291 | | }; [INFO] [stdout] 292 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stdout] --> src/movegenerator.rs:225:1 [INFO] [stdout] | [INFO] [stdout] 225 | / lazy_static! { [INFO] [stdout] 226 | | static ref KNIGHT_MOVES: [BitBoard; 64] = { [INFO] [stdout] 227 | | let mut kmoves = [BitBoard::empty(); 64]; [INFO] [stdout] 228 | | for i in 0..64 { [INFO] [stdout] ... | [INFO] [stdout] 291 | | }; [INFO] [stdout] 292 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stdout] --> src/movegenerator.rs:225:1 [INFO] [stdout] | [INFO] [stdout] 225 | / lazy_static! { [INFO] [stdout] 226 | | static ref KNIGHT_MOVES: [BitBoard; 64] = { [INFO] [stdout] 227 | | let mut kmoves = [BitBoard::empty(); 64]; [INFO] [stdout] 228 | | for i in 0..64 { [INFO] [stdout] ... | [INFO] [stdout] 291 | | }; [INFO] [stdout] 292 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stdout] --> src/movegenerator.rs:225:1 [INFO] [stdout] | [INFO] [stdout] 225 | / lazy_static! { [INFO] [stdout] 226 | | static ref KNIGHT_MOVES: [BitBoard; 64] = { [INFO] [stdout] 227 | | let mut kmoves = [BitBoard::empty(); 64]; [INFO] [stdout] 228 | | for i in 0..64 { [INFO] [stdout] ... | [INFO] [stdout] 291 | | }; [INFO] [stdout] 292 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stdout] --> src/movegenerator.rs:225:1 [INFO] [stdout] | [INFO] [stdout] 225 | / lazy_static! { [INFO] [stdout] 226 | | static ref KNIGHT_MOVES: [BitBoard; 64] = { [INFO] [stdout] 227 | | let mut kmoves = [BitBoard::empty(); 64]; [INFO] [stdout] 228 | | for i in 0..64 { [INFO] [stdout] ... | [INFO] [stdout] 291 | | }; [INFO] [stdout] 292 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stdout] --> src/movegenerator.rs:225:1 [INFO] [stdout] | [INFO] [stdout] 225 | / lazy_static! { [INFO] [stdout] 226 | | static ref KNIGHT_MOVES: [BitBoard; 64] = { [INFO] [stdout] 227 | | let mut kmoves = [BitBoard::empty(); 64]; [INFO] [stdout] 228 | | for i in 0..64 { [INFO] [stdout] ... | [INFO] [stdout] 291 | | }; [INFO] [stdout] 292 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stdout] --> src/hash.rs:49:1 [INFO] [stdout] | [INFO] [stdout] 49 | / lazy_static! { [INFO] [stdout] 50 | | static ref HASH: Mutex> = { [INFO] [stdout] 51 | | Mutex::new(HashMap::new()) [INFO] [stdout] 52 | | }; [INFO] [stdout] ... | [INFO] [stdout] 65 | | }; [INFO] [stdout] 66 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stdout] --> src/hash.rs:49:1 [INFO] [stdout] | [INFO] [stdout] 49 | / lazy_static! { [INFO] [stdout] 50 | | static ref HASH: Mutex> = { [INFO] [stdout] 51 | | Mutex::new(HashMap::new()) [INFO] [stdout] 52 | | }; [INFO] [stdout] ... | [INFO] [stdout] 65 | | }; [INFO] [stdout] 66 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `nodes` [INFO] [stdout] --> src/lib.rs:61:13 [INFO] [stdout] | [INFO] [stdout] 61 | let (_, nodes, best_move) = game.negamax_start(4); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_nodes` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/lib.rs:60:9 [INFO] [stdout] | [INFO] [stdout] 60 | let mut game = Pos::from_fen("8/8/8/8/8/ppp5/2p5/K7 w KQkq - 0 1"); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `nodes` [INFO] [stdout] --> src/lib.rs:69:13 [INFO] [stdout] | [INFO] [stdout] 69 | let (_, nodes, best_move) = game.negamax_start(4); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_nodes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/lib.rs:67:9 [INFO] [stdout] | [INFO] [stdout] 67 | let mut game = Pos::from_fen("P7/P7/P7/P7/P7/P7/P6r/KP5r w KQkq - 0 1"); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `nodes` [INFO] [stdout] --> src/lib.rs:77:13 [INFO] [stdout] | [INFO] [stdout] 77 | let (_, nodes, best_move) = game.negamax_start(4); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_nodes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `nodes` [INFO] [stdout] --> src/lib.rs:84:13 [INFO] [stdout] | [INFO] [stdout] 84 | let (_, nodes, best_move) = game.negamax_start(4); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_nodes` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.35s [INFO] running `Command { std: "docker" "inspect" "9e87f9aed9a0c404b81c331c6f4e42fd8b24c6f12f01542cc96e49dd33ded4ff", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9e87f9aed9a0c404b81c331c6f4e42fd8b24c6f12f01542cc96e49dd33ded4ff", kill_on_drop: false }` [INFO] [stdout] 9e87f9aed9a0c404b81c331c6f4e42fd8b24c6f12f01542cc96e49dd33ded4ff