[INFO] cloning repository https://github.com/AaronBecker/daydreamer [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/AaronBecker/daydreamer" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAaronBecker%2Fdaydreamer", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAaronBecker%2Fdaydreamer'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 97e5c323d969b0376e966bb0bf487de44182c32e [INFO] checking AaronBecker/daydreamer against master#33fdb797f59421c7bbecaa4588ed5d7a31a9494a for pr-87190-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAaronBecker%2Fdaydreamer" "/workspace/builds/worker-56/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-56/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/AaronBecker/daydreamer on toolchain 33fdb797f59421c7bbecaa4588ed5d7a31a9494a [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+33fdb797f59421c7bbecaa4588ed5d7a31a9494a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/AaronBecker/daydreamer [INFO] finished tweaking git repo https://github.com/AaronBecker/daydreamer [INFO] tweaked toml for git repo https://github.com/AaronBecker/daydreamer written to /workspace/builds/worker-56/source/Cargo.toml [INFO] crate git repo https://github.com/AaronBecker/daydreamer already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+33fdb797f59421c7bbecaa4588ed5d7a31a9494a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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-56/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-56/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+33fdb797f59421c7bbecaa4588ed5d7a31a9494a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7b493ddeb7adb30b117a3bfb2342d0ebd10371554ad92c407a1e4014ef20bc6b [INFO] running `Command { std: "docker" "start" "-a" "7b493ddeb7adb30b117a3bfb2342d0ebd10371554ad92c407a1e4014ef20bc6b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7b493ddeb7adb30b117a3bfb2342d0ebd10371554ad92c407a1e4014ef20bc6b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7b493ddeb7adb30b117a3bfb2342d0ebd10371554ad92c407a1e4014ef20bc6b", kill_on_drop: false }` [INFO] [stdout] 7b493ddeb7adb30b117a3bfb2342d0ebd10371554ad92c407a1e4014ef20bc6b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-56/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-56/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" "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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+33fdb797f59421c7bbecaa4588ed5d7a31a9494a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 981020fc1aa4bb3165633406e10a37b201733d33d1a45e869165831dd8861faf [INFO] running `Command { std: "docker" "start" "-a" "981020fc1aa4bb3165633406e10a37b201733d33d1a45e869165831dd8861faf", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling daydreamer v2.0.0-pre2 (/opt/rustwide/workdir) [INFO] [stderr] Checking libc v0.2.13 [INFO] [stderr] Checking lazy_static v0.1.16 [INFO] [stderr] Checking rand v0.3.14 [INFO] [stdout] warning: unused macro definition [INFO] [stdout] --> src/macros.rs:40:1 [INFO] [stdout] | [INFO] [stdout] 40 | / macro_rules! hashmap { [INFO] [stdout] 41 | | ($($key:expr => $val:expr,)+) => { hashmap!($($key => $val),+) }; [INFO] [stdout] 42 | | ($($key : expr => $val : expr),*) => { [INFO] [stdout] 43 | | { [INFO] [stdout] ... | [INFO] [stdout] 48 | | } [INFO] [stdout] 49 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_macros)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition [INFO] [stdout] --> src/macros.rs:76:1 [INFO] [stdout] | [INFO] [stdout] 76 | / macro_rules! chess_test { [INFO] [stdout] 77 | | ($id:ident, $b:block) => { [INFO] [stdout] 78 | | #[test] [INFO] [stdout] 79 | | fn $id() { [INFO] [stdout] ... | [INFO] [stdout] 86 | | }; [INFO] [stdout] 87 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/position.rs:1106:21 [INFO] [stdout] | [INFO] [stdout] 1106 | try!(write!(f, "{}", empty)); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/position.rs:1112:21 [INFO] [stdout] | [INFO] [stdout] 1112 | try!(write!(f, "{}", p.glyph())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/position.rs:1116:25 [INFO] [stdout] | [INFO] [stdout] 1116 | try!(write!(f, "{}", empty)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/position.rs:1120:25 [INFO] [stdout] | [INFO] [stdout] 1120 | try!(write!(f, "/")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/uci.rs:141:30 [INFO] [stdout] | [INFO] [stdout] 141 | Some(unknown) => try!(make_move(search_data, unknown)), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/uci.rs:151:13 [INFO] [stdout] | [INFO] [stdout] 151 | try!(search_data.pos.load_fen(position::START_FEN)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/uci.rs:163:17 [INFO] [stdout] | [INFO] [stdout] 163 | try!(search_data.pos.load_fen(fen.as_str())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/uci.rs:263:21 [INFO] [stdout] | [INFO] [stdout] 263 | let d = try!(depth.parse::().map_err(|e| e.to_string())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition [INFO] [stdout] --> src/macros.rs:40:1 [INFO] [stdout] | [INFO] [stdout] 40 | / macro_rules! hashmap { [INFO] [stdout] 41 | | ($($key:expr => $val:expr,)+) => { hashmap!($($key => $val),+) }; [INFO] [stdout] 42 | | ($($key : expr => $val : expr),*) => { [INFO] [stdout] 43 | | { [INFO] [stdout] ... | [INFO] [stdout] 48 | | } [INFO] [stdout] 49 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_macros)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `board::*` [INFO] [stdout] --> src/bitboard.rs:596:9 [INFO] [stdout] | [INFO] [stdout] 596 | use board::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/position.rs:1106:21 [INFO] [stdout] | [INFO] [stdout] 1106 | try!(write!(f, "{}", empty)); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/position.rs:1112:21 [INFO] [stdout] | [INFO] [stdout] 1112 | try!(write!(f, "{}", p.glyph())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/position.rs:1116:25 [INFO] [stdout] | [INFO] [stdout] 1116 | try!(write!(f, "{}", empty)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/position.rs:1120:25 [INFO] [stdout] | [INFO] [stdout] 1120 | try!(write!(f, "/")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `board::*` [INFO] [stdout] --> src/position.rs:1178:9 [INFO] [stdout] | [INFO] [stdout] 1178 | use board::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/uci.rs:141:30 [INFO] [stdout] | [INFO] [stdout] 141 | Some(unknown) => try!(make_move(search_data, unknown)), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/uci.rs:151:13 [INFO] [stdout] | [INFO] [stdout] 151 | try!(search_data.pos.load_fen(position::START_FEN)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/uci.rs:163:17 [INFO] [stdout] | [INFO] [stdout] 163 | try!(search_data.pos.load_fen(fen.as_str())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/uci.rs:263:21 [INFO] [stdout] | [INFO] [stdout] 263 | let d = try!(depth.parse::().map_err(|e| e.to_string())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/uci.rs:278:21 [INFO] [stdout] | [INFO] [stdout] 278 | let d = try!(depth.parse::().map_err(|e| e.to_string())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/uci.rs:305:26 [INFO] [stdout] | [INFO] [stdout] 305 | let mb = try!(t.parse::().map_err(|e| e.to_string())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/uci.rs:313:28 [INFO] [stdout] | [INFO] [stdout] 313 | let c960 = try!(t.parse::().map_err(|e| e.to_string())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/uci.rs:319:29 [INFO] [stdout] | [INFO] [stdout] 319 | let arena = try!(t.parse::().map_err(|e| e.to_string())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/uci.rs:325:27 [INFO] [stdout] | [INFO] [stdout] 325 | let mpv = try!(t.parse::().map_err(|e| e.to_string())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/bitboard.rs:5:51 [INFO] [stdout] | [INFO] [stdout] 5 | static INIT: ::std::sync::Once = ::std::sync::ONCE_INIT; [INFO] [stdout] | ^^^^^^^^^ help: replace the use of the deprecated constant: `Once::new()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/eval.rs:132:1 [INFO] [stdout] | [INFO] [stdout] 132 | / lazy_static! { [INFO] [stdout] 133 | | static ref GLOBAL_PAWN_CACHE: Mutex = Mutex::new(PawnCache::new(1 << 20)); [INFO] [stdout] 134 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in 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 `new` function is now preferred [INFO] [stdout] --> src/eval.rs:132:1 [INFO] [stdout] | [INFO] [stdout] 132 | / lazy_static! { [INFO] [stdout] 133 | | static ref GLOBAL_PAWN_CACHE: Mutex = Mutex::new(PawnCache::new(1 << 20)); [INFO] [stdout] 134 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in 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::atomic::ATOMIC_BOOL_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/options.rs:3:43 [INFO] [stdout] | [INFO] [stdout] 3 | static C960: atomic::AtomicBool = atomic::ATOMIC_BOOL_INIT; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: replace the use of the deprecated constant: `AtomicBool::new(false)` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::atomic::ATOMIC_BOOL_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/options.rs:14:51 [INFO] [stdout] | [INFO] [stdout] 14 | static ARENA_CASTLE: atomic::AtomicBool = atomic::ATOMIC_BOOL_INIT; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: replace the use of the deprecated constant: `AtomicBool::new(false)` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::atomic::ATOMIC_USIZE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/options.rs:26:48 [INFO] [stdout] | [INFO] [stdout] 26 | static MULTI_PV: atomic::AtomicUsize = atomic::ATOMIC_USIZE_INIT; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: replace the use of the deprecated constant: `AtomicUsize::new(0)` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/position.rs:66:51 [INFO] [stdout] | [INFO] [stdout] 66 | static INIT: ::std::sync::Once = ::std::sync::ONCE_INIT; [INFO] [stdout] | ^^^^^^^^^ help: replace the use of the deprecated constant: `Once::new()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/position.rs:146:47 [INFO] [stdout] | [INFO] [stdout] 146 | let mut undo: State = ::std::mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/score.rs:212:1 [INFO] [stdout] | [INFO] [stdout] 212 | / lazy_static! { [INFO] [stdout] 213 | | pub static ref PSQT: [[PhaseScore; 64]; 15] = init_psqt(); [INFO] [stdout] 214 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in 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 `new` function is now preferred [INFO] [stdout] --> src/score.rs:212:1 [INFO] [stdout] | [INFO] [stdout] 212 | / lazy_static! { [INFO] [stdout] 213 | | pub static ref PSQT: [[PhaseScore; 64]; 15] = init_psqt(); [INFO] [stdout] 214 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in 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 macro `try`: use the `?` operator instead [INFO] [stdout] --> src/uci.rs:278:21 [INFO] [stdout] | [INFO] [stdout] 278 | let d = try!(depth.parse::().map_err(|e| e.to_string())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/uci.rs:305:26 [INFO] [stdout] | [INFO] [stdout] 305 | let mb = try!(t.parse::().map_err(|e| e.to_string())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/uci.rs:313:28 [INFO] [stdout] | [INFO] [stdout] 313 | let c960 = try!(t.parse::().map_err(|e| e.to_string())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/uci.rs:319:29 [INFO] [stdout] | [INFO] [stdout] 319 | let arena = try!(t.parse::().map_err(|e| e.to_string())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/uci.rs:325:27 [INFO] [stdout] | [INFO] [stdout] 325 | let mpv = try!(t.parse::().map_err(|e| e.to_string())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/bitboard.rs:5:51 [INFO] [stdout] | [INFO] [stdout] 5 | static INIT: ::std::sync::Once = ::std::sync::ONCE_INIT; [INFO] [stdout] | ^^^^^^^^^ help: replace the use of the deprecated constant: `Once::new()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/eval.rs:132:1 [INFO] [stdout] | [INFO] [stdout] 132 | / lazy_static! { [INFO] [stdout] 133 | | static ref GLOBAL_PAWN_CACHE: Mutex = Mutex::new(PawnCache::new(1 << 20)); [INFO] [stdout] 134 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in 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 `new` function is now preferred [INFO] [stdout] --> src/eval.rs:132:1 [INFO] [stdout] | [INFO] [stdout] 132 | / lazy_static! { [INFO] [stdout] 133 | | static ref GLOBAL_PAWN_CACHE: Mutex = Mutex::new(PawnCache::new(1 << 20)); [INFO] [stdout] 134 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in 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::atomic::ATOMIC_BOOL_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/options.rs:3:43 [INFO] [stdout] | [INFO] [stdout] 3 | static C960: atomic::AtomicBool = atomic::ATOMIC_BOOL_INIT; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: replace the use of the deprecated constant: `AtomicBool::new(false)` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::atomic::ATOMIC_BOOL_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/options.rs:14:51 [INFO] [stdout] | [INFO] [stdout] 14 | static ARENA_CASTLE: atomic::AtomicBool = atomic::ATOMIC_BOOL_INIT; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: replace the use of the deprecated constant: `AtomicBool::new(false)` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::atomic::ATOMIC_USIZE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/options.rs:26:48 [INFO] [stdout] | [INFO] [stdout] 26 | static MULTI_PV: atomic::AtomicUsize = atomic::ATOMIC_USIZE_INIT; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: replace the use of the deprecated constant: `AtomicUsize::new(0)` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/position.rs:66:51 [INFO] [stdout] | [INFO] [stdout] 66 | static INIT: ::std::sync::Once = ::std::sync::ONCE_INIT; [INFO] [stdout] | ^^^^^^^^^ help: replace the use of the deprecated constant: `Once::new()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/position.rs:146:47 [INFO] [stdout] | [INFO] [stdout] 146 | let mut undo: State = ::std::mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/score.rs:212:1 [INFO] [stdout] | [INFO] [stdout] 212 | / lazy_static! { [INFO] [stdout] 213 | | pub static ref PSQT: [[PhaseScore; 64]; 15] = init_psqt(); [INFO] [stdout] 214 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in 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 `new` function is now preferred [INFO] [stdout] --> src/score.rs:212:1 [INFO] [stdout] | [INFO] [stdout] 212 | / lazy_static! { [INFO] [stdout] 213 | | pub static ref PSQT: [[PhaseScore; 64]; 15] = init_psqt(); [INFO] [stdout] 214 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/bitboard.rs:447:9 [INFO] [stdout] | [INFO] [stdout] 447 | let mut masks = if pt == PieceType::Bishop { &mut bishop_masks } else { &mut rook_masks }; [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: variable does not need to be mutable [INFO] [stdout] --> src/bitboard.rs:448:9 [INFO] [stdout] | [INFO] [stdout] 448 | let mut magic = if pt == PieceType::Bishop { &mut bishop_magic } else { &mut rook_magic }; [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/perft.rs:52:34 [INFO] [stdout] | [INFO] [stdout] 52 | assert!(count == expect, format!("{}, expected {} got {}", name, expect, count)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] = note: this usage of assert!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the assert!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 52 - assert!(count == expect, format!("{}, expected {} got {}", name, expect, count)); [INFO] [stdout] 52 + assert!(count == expect, "{}, expected {} got {}", name, expect, count); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused attribute [INFO] [stdout] --> src/macros.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_attributes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `rank_bb` should have an upper case name [INFO] [stdout] --> src/bitboard.rs:127:12 [INFO] [stdout] | [INFO] [stdout] 127 | static mut rank_bb: [Bitboard; 8] = [0; 8]; [INFO] [stdout] | ^^^^^^^ help: convert the identifier to upper case: `RANK_BB` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_upper_case_globals)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `file_bb` should have an upper case name [INFO] [stdout] --> src/bitboard.rs:128:12 [INFO] [stdout] | [INFO] [stdout] 128 | static mut file_bb: [Bitboard; 8] = [0; 8]; [INFO] [stdout] | ^^^^^^^ help: convert the identifier to upper case: `FILE_BB` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `distance` should have an upper case name [INFO] [stdout] --> src/bitboard.rs:129:12 [INFO] [stdout] | [INFO] [stdout] 129 | static mut distance: [[u8; 64]; 64] = [[0; 64]; 64]; [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to upper case: `DISTANCE` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `neighbor_files_bb` should have an upper case name [INFO] [stdout] --> src/bitboard.rs:131:12 [INFO] [stdout] | [INFO] [stdout] 131 | static mut neighbor_files_bb: [Bitboard; 8] = [0; 8]; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `NEIGHBOR_FILES_BB` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `in_front_bb` should have an upper case name [INFO] [stdout] --> src/bitboard.rs:132:12 [INFO] [stdout] | [INFO] [stdout] 132 | static mut in_front_bb: [[Bitboard; 64]; 2] = [[0; 64]; 2]; [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to upper case: `IN_FRONT_BB` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `passer_bb` should have an upper case name [INFO] [stdout] --> src/bitboard.rs:133:12 [INFO] [stdout] | [INFO] [stdout] 133 | static mut passer_bb: [[Bitboard; 64]; 2] = [[0; 64]; 2]; [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to upper case: `PASSER_BB` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `outpost_bb` should have an upper case name [INFO] [stdout] --> src/bitboard.rs:134:12 [INFO] [stdout] | [INFO] [stdout] 134 | static mut outpost_bb: [[Bitboard; 64]; 2] = [[0; 64]; 2]; [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to upper case: `OUTPOST_BB` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `squares_of_color_bb` should have an upper case name [INFO] [stdout] --> src/bitboard.rs:136:12 [INFO] [stdout] | [INFO] [stdout] 136 | static mut squares_of_color_bb: [Bitboard; 2] = [0; 2]; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `SQUARES_OF_COLOR_BB` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `white_pawn_attacks_bb` should have an upper case name [INFO] [stdout] --> src/bitboard.rs:219:12 [INFO] [stdout] | [INFO] [stdout] 219 | static mut white_pawn_attacks_bb: [Bitboard; 64] = [0; 64]; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `WHITE_PAWN_ATTACKS_BB` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `black_pawn_attacks_bb` should have an upper case name [INFO] [stdout] --> src/bitboard.rs:220:12 [INFO] [stdout] | [INFO] [stdout] 220 | static mut black_pawn_attacks_bb: [Bitboard; 64] = [0; 64]; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `BLACK_PAWN_ATTACKS_BB` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `knight_attacks_bb` should have an upper case name [INFO] [stdout] --> src/bitboard.rs:221:12 [INFO] [stdout] | [INFO] [stdout] 221 | static mut knight_attacks_bb: [Bitboard; 64] = [0; 64]; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `KNIGHT_ATTACKS_BB` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `king_attacks_bb` should have an upper case name [INFO] [stdout] --> src/bitboard.rs:222:12 [INFO] [stdout] | [INFO] [stdout] 222 | static mut king_attacks_bb: [Bitboard; 64] = [0; 64]; [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `KING_ATTACKS_BB` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `king_near_shield_bb` should have an upper case name [INFO] [stdout] --> src/bitboard.rs:255:12 [INFO] [stdout] | [INFO] [stdout] 255 | static mut king_near_shield_bb: [[Bitboard; 64]; 2] = [[0; 64]; 2]; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `KING_NEAR_SHIELD_BB` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `king_shield_bb` should have an upper case name [INFO] [stdout] --> src/bitboard.rs:256:12 [INFO] [stdout] | [INFO] [stdout] 256 | static mut king_shield_bb: [[Bitboard; 64]; 2] = [[0; 64]; 2]; [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to upper case: `KING_SHIELD_BB` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `king_halo_bb` should have an upper case name [INFO] [stdout] --> src/bitboard.rs:257:12 [INFO] [stdout] | [INFO] [stdout] 257 | static mut king_halo_bb: [Bitboard; 64] = [0; 64]; [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to upper case: `KING_HALO_BB` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `bishop_masks` should have an upper case name [INFO] [stdout] --> src/bitboard.rs:302:12 [INFO] [stdout] | [INFO] [stdout] 302 | static mut bishop_masks: [Bitboard; 64] = [0; 64]; [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to upper case: `BISHOP_MASKS` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `bishop_magic` should have an upper case name [INFO] [stdout] --> src/bitboard.rs:303:12 [INFO] [stdout] | [INFO] [stdout] 303 | static mut bishop_magic: [Bitboard; 64] = [0; 64]; [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to upper case: `BISHOP_MAGIC` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `bishop_attacks_bb` should have an upper case name [INFO] [stdout] --> src/bitboard.rs:304:12 [INFO] [stdout] | [INFO] [stdout] 304 | static mut bishop_attacks_bb: [[Bitboard; 512]; 64] = [[0; 512]; 64]; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `BISHOP_ATTACKS_BB` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `rook_masks` should have an upper case name [INFO] [stdout] --> src/bitboard.rs:306:12 [INFO] [stdout] | [INFO] [stdout] 306 | static mut rook_masks: [Bitboard; 64] = [0; 64]; [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to upper case: `ROOK_MASKS` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `rook_magic` should have an upper case name [INFO] [stdout] --> src/bitboard.rs:307:12 [INFO] [stdout] | [INFO] [stdout] 307 | static mut rook_magic: [Bitboard; 64] = [0; 64]; [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to upper case: `ROOK_MAGIC` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `rook_attacks_bb` should have an upper case name [INFO] [stdout] --> src/bitboard.rs:308:12 [INFO] [stdout] | [INFO] [stdout] 308 | static mut rook_attacks_bb: [[Bitboard; 4096]; 64] = [[0; 4096]; 64]; [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `ROOK_ATTACKS_BB` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `bishop_pseudo_attacks_bb` should have an upper case name [INFO] [stdout] --> src/bitboard.rs:490:12 [INFO] [stdout] | [INFO] [stdout] 490 | static mut bishop_pseudo_attacks_bb: [Bitboard; 64] = [0; 64]; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `BISHOP_PSEUDO_ATTACKS_BB` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `rook_pseudo_attacks_bb` should have an upper case name [INFO] [stdout] --> src/bitboard.rs:491:12 [INFO] [stdout] | [INFO] [stdout] 491 | static mut rook_pseudo_attacks_bb: [Bitboard; 64] = [0; 64]; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `ROOK_PSEUDO_ATTACKS_BB` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `queen_pseudo_attacks_bb` should have an upper case name [INFO] [stdout] --> src/bitboard.rs:492:12 [INFO] [stdout] | [INFO] [stdout] 492 | static mut queen_pseudo_attacks_bb: [Bitboard; 64] = [0; 64]; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `QUEEN_PSEUDO_ATTACKS_BB` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `rays_bb` should have an upper case name [INFO] [stdout] --> src/bitboard.rs:516:12 [INFO] [stdout] | [INFO] [stdout] 516 | static mut rays_bb: [[Bitboard; 64]; 64] = [[0; 64]; 64]; [INFO] [stdout] | ^^^^^^^ help: convert the identifier to upper case: `RAYS_BB` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `between_bb` should have an upper case name [INFO] [stdout] --> src/bitboard.rs:517:12 [INFO] [stdout] | [INFO] [stdout] 517 | static mut between_bb: [[Bitboard; 64]; 64] = [[0; 64]; 64]; [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to upper case: `BETWEEN_BB` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `piece_random` should have an upper case name [INFO] [stdout] --> src/position.rs:58:12 [INFO] [stdout] | [INFO] [stdout] 58 | static mut piece_random: [[[HashKey; 64]; 7]; 2] = [[[0; 64]; 7]; 2]; [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to upper case: `PIECE_RANDOM` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `castle_random` should have an upper case name [INFO] [stdout] --> src/position.rs:59:12 [INFO] [stdout] | [INFO] [stdout] 59 | static mut castle_random: [HashKey; 16] = [0; 16]; [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to upper case: `CASTLE_RANDOM` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `enpassant_random` should have an upper case name [INFO] [stdout] --> src/position.rs:60:12 [INFO] [stdout] | [INFO] [stdout] 60 | static mut enpassant_random: [HashKey; 8] = [0; 8]; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `ENPASSANT_RANDOM` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `side_random` should have an upper case name [INFO] [stdout] --> src/position.rs:61:12 [INFO] [stdout] | [INFO] [stdout] 61 | static mut side_random: HashKey = 0; [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to upper case: `SIDE_RANDOM` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `State` does not permit being left uninitialized [INFO] [stdout] --> src/position.rs:146:35 [INFO] [stdout] | [INFO] [stdout] 146 | let mut undo: State = ::std::mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(invalid_value)]` on by default [INFO] [stdout] note: enums have to be initialized to a variant [INFO] [stdout] --> src/board.rs:268:1 [INFO] [stdout] | [INFO] [stdout] 268 | / pub enum Square { [INFO] [stdout] 269 | | A1, B1, C1, D1, E1, F1, G1, H1, [INFO] [stdout] 270 | | A2, B2, C2, D2, E2, F2, G2, H2, [INFO] [stdout] 271 | | A3, B3, C3, D3, E3, F3, G3, H3, [INFO] [stdout] ... | [INFO] [stdout] 277 | | NoSquare, [INFO] [stdout] 278 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/bitboard.rs:447:9 [INFO] [stdout] | [INFO] [stdout] 447 | let mut masks = if pt == PieceType::Bishop { &mut bishop_masks } else { &mut rook_masks }; [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: variable does not need to be mutable [INFO] [stdout] --> src/bitboard.rs:448:9 [INFO] [stdout] | [INFO] [stdout] 448 | let mut magic = if pt == PieceType::Bishop { &mut bishop_magic } else { &mut rook_magic }; [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused attribute [INFO] [stdout] --> src/macros.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_attributes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `rank_bb` should have an upper case name [INFO] [stdout] --> src/bitboard.rs:127:12 [INFO] [stdout] | [INFO] [stdout] 127 | static mut rank_bb: [Bitboard; 8] = [0; 8]; [INFO] [stdout] | ^^^^^^^ help: convert the identifier to upper case: `RANK_BB` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_upper_case_globals)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `file_bb` should have an upper case name [INFO] [stdout] --> src/bitboard.rs:128:12 [INFO] [stdout] | [INFO] [stdout] 128 | static mut file_bb: [Bitboard; 8] = [0; 8]; [INFO] [stdout] | ^^^^^^^ help: convert the identifier to upper case: `FILE_BB` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `distance` should have an upper case name [INFO] [stdout] --> src/bitboard.rs:129:12 [INFO] [stdout] | [INFO] [stdout] 129 | static mut distance: [[u8; 64]; 64] = [[0; 64]; 64]; [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to upper case: `DISTANCE` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `neighbor_files_bb` should have an upper case name [INFO] [stdout] --> src/bitboard.rs:131:12 [INFO] [stdout] | [INFO] [stdout] 131 | static mut neighbor_files_bb: [Bitboard; 8] = [0; 8]; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `NEIGHBOR_FILES_BB` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `in_front_bb` should have an upper case name [INFO] [stdout] --> src/bitboard.rs:132:12 [INFO] [stdout] | [INFO] [stdout] 132 | static mut in_front_bb: [[Bitboard; 64]; 2] = [[0; 64]; 2]; [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to upper case: `IN_FRONT_BB` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `passer_bb` should have an upper case name [INFO] [stdout] --> src/bitboard.rs:133:12 [INFO] [stdout] | [INFO] [stdout] 133 | static mut passer_bb: [[Bitboard; 64]; 2] = [[0; 64]; 2]; [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to upper case: `PASSER_BB` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `outpost_bb` should have an upper case name [INFO] [stdout] --> src/bitboard.rs:134:12 [INFO] [stdout] | [INFO] [stdout] 134 | static mut outpost_bb: [[Bitboard; 64]; 2] = [[0; 64]; 2]; [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to upper case: `OUTPOST_BB` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `squares_of_color_bb` should have an upper case name [INFO] [stdout] --> src/bitboard.rs:136:12 [INFO] [stdout] | [INFO] [stdout] 136 | static mut squares_of_color_bb: [Bitboard; 2] = [0; 2]; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `SQUARES_OF_COLOR_BB` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `white_pawn_attacks_bb` should have an upper case name [INFO] [stdout] --> src/bitboard.rs:219:12 [INFO] [stdout] | [INFO] [stdout] 219 | static mut white_pawn_attacks_bb: [Bitboard; 64] = [0; 64]; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `WHITE_PAWN_ATTACKS_BB` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `black_pawn_attacks_bb` should have an upper case name [INFO] [stdout] --> src/bitboard.rs:220:12 [INFO] [stdout] | [INFO] [stdout] 220 | static mut black_pawn_attacks_bb: [Bitboard; 64] = [0; 64]; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `BLACK_PAWN_ATTACKS_BB` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `knight_attacks_bb` should have an upper case name [INFO] [stdout] --> src/bitboard.rs:221:12 [INFO] [stdout] | [INFO] [stdout] 221 | static mut knight_attacks_bb: [Bitboard; 64] = [0; 64]; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `KNIGHT_ATTACKS_BB` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `king_attacks_bb` should have an upper case name [INFO] [stdout] --> src/bitboard.rs:222:12 [INFO] [stdout] | [INFO] [stdout] 222 | static mut king_attacks_bb: [Bitboard; 64] = [0; 64]; [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `KING_ATTACKS_BB` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `king_near_shield_bb` should have an upper case name [INFO] [stdout] --> src/bitboard.rs:255:12 [INFO] [stdout] | [INFO] [stdout] 255 | static mut king_near_shield_bb: [[Bitboard; 64]; 2] = [[0; 64]; 2]; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `KING_NEAR_SHIELD_BB` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `king_shield_bb` should have an upper case name [INFO] [stdout] --> src/bitboard.rs:256:12 [INFO] [stdout] | [INFO] [stdout] 256 | static mut king_shield_bb: [[Bitboard; 64]; 2] = [[0; 64]; 2]; [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to upper case: `KING_SHIELD_BB` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `king_halo_bb` should have an upper case name [INFO] [stdout] --> src/bitboard.rs:257:12 [INFO] [stdout] | [INFO] [stdout] 257 | static mut king_halo_bb: [Bitboard; 64] = [0; 64]; [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to upper case: `KING_HALO_BB` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `bishop_masks` should have an upper case name [INFO] [stdout] --> src/bitboard.rs:302:12 [INFO] [stdout] | [INFO] [stdout] 302 | static mut bishop_masks: [Bitboard; 64] = [0; 64]; [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to upper case: `BISHOP_MASKS` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `bishop_magic` should have an upper case name [INFO] [stdout] --> src/bitboard.rs:303:12 [INFO] [stdout] | [INFO] [stdout] 303 | static mut bishop_magic: [Bitboard; 64] = [0; 64]; [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to upper case: `BISHOP_MAGIC` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `bishop_attacks_bb` should have an upper case name [INFO] [stdout] --> src/bitboard.rs:304:12 [INFO] [stdout] | [INFO] [stdout] 304 | static mut bishop_attacks_bb: [[Bitboard; 512]; 64] = [[0; 512]; 64]; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `BISHOP_ATTACKS_BB` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `rook_masks` should have an upper case name [INFO] [stdout] --> src/bitboard.rs:306:12 [INFO] [stdout] | [INFO] [stdout] 306 | static mut rook_masks: [Bitboard; 64] = [0; 64]; [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to upper case: `ROOK_MASKS` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `rook_magic` should have an upper case name [INFO] [stdout] --> src/bitboard.rs:307:12 [INFO] [stdout] | [INFO] [stdout] 307 | static mut rook_magic: [Bitboard; 64] = [0; 64]; [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to upper case: `ROOK_MAGIC` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `rook_attacks_bb` should have an upper case name [INFO] [stdout] --> src/bitboard.rs:308:12 [INFO] [stdout] | [INFO] [stdout] 308 | static mut rook_attacks_bb: [[Bitboard; 4096]; 64] = [[0; 4096]; 64]; [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `ROOK_ATTACKS_BB` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `bishop_pseudo_attacks_bb` should have an upper case name [INFO] [stdout] --> src/bitboard.rs:490:12 [INFO] [stdout] | [INFO] [stdout] 490 | static mut bishop_pseudo_attacks_bb: [Bitboard; 64] = [0; 64]; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `BISHOP_PSEUDO_ATTACKS_BB` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `rook_pseudo_attacks_bb` should have an upper case name [INFO] [stdout] --> src/bitboard.rs:491:12 [INFO] [stdout] | [INFO] [stdout] 491 | static mut rook_pseudo_attacks_bb: [Bitboard; 64] = [0; 64]; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `ROOK_PSEUDO_ATTACKS_BB` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `queen_pseudo_attacks_bb` should have an upper case name [INFO] [stdout] --> src/bitboard.rs:492:12 [INFO] [stdout] | [INFO] [stdout] 492 | static mut queen_pseudo_attacks_bb: [Bitboard; 64] = [0; 64]; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `QUEEN_PSEUDO_ATTACKS_BB` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `rays_bb` should have an upper case name [INFO] [stdout] --> src/bitboard.rs:516:12 [INFO] [stdout] | [INFO] [stdout] 516 | static mut rays_bb: [[Bitboard; 64]; 64] = [[0; 64]; 64]; [INFO] [stdout] | ^^^^^^^ help: convert the identifier to upper case: `RAYS_BB` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `between_bb` should have an upper case name [INFO] [stdout] --> src/bitboard.rs:517:12 [INFO] [stdout] | [INFO] [stdout] 517 | static mut between_bb: [[Bitboard; 64]; 64] = [[0; 64]; 64]; [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to upper case: `BETWEEN_BB` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `piece_random` should have an upper case name [INFO] [stdout] --> src/position.rs:58:12 [INFO] [stdout] | [INFO] [stdout] 58 | static mut piece_random: [[[HashKey; 64]; 7]; 2] = [[[0; 64]; 7]; 2]; [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to upper case: `PIECE_RANDOM` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `castle_random` should have an upper case name [INFO] [stdout] --> src/position.rs:59:12 [INFO] [stdout] | [INFO] [stdout] 59 | static mut castle_random: [HashKey; 16] = [0; 16]; [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to upper case: `CASTLE_RANDOM` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `enpassant_random` should have an upper case name [INFO] [stdout] --> src/position.rs:60:12 [INFO] [stdout] | [INFO] [stdout] 60 | static mut enpassant_random: [HashKey; 8] = [0; 8]; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `ENPASSANT_RANDOM` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `side_random` should have an upper case name [INFO] [stdout] --> src/position.rs:61:12 [INFO] [stdout] | [INFO] [stdout] 61 | static mut side_random: HashKey = 0; [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to upper case: `SIDE_RANDOM` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `State` does not permit being left uninitialized [INFO] [stdout] --> src/position.rs:146:35 [INFO] [stdout] | [INFO] [stdout] 146 | let mut undo: State = ::std::mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(invalid_value)]` on by default [INFO] [stdout] note: enums have to be initialized to a variant [INFO] [stdout] --> src/board.rs:268:1 [INFO] [stdout] | [INFO] [stdout] 268 | / pub enum Square { [INFO] [stdout] 269 | | A1, B1, C1, D1, E1, F1, G1, H1, [INFO] [stdout] 270 | | A2, B2, C2, D2, E2, F2, G2, H2, [INFO] [stdout] 271 | | A3, B3, C3, D3, E3, F3, G3, H3, [INFO] [stdout] ... | [INFO] [stdout] 277 | | NoSquare, [INFO] [stdout] 278 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 61 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 59 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 32.31s [INFO] running `Command { std: "docker" "inspect" "981020fc1aa4bb3165633406e10a37b201733d33d1a45e869165831dd8861faf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "981020fc1aa4bb3165633406e10a37b201733d33d1a45e869165831dd8861faf", kill_on_drop: false }` [INFO] [stdout] 981020fc1aa4bb3165633406e10a37b201733d33d1a45e869165831dd8861faf