[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] testing AaronBecker/daydreamer against beta-2022-04-10 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAaronBecker%2Fdaydreamer" "/workspace/builds/worker-25/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-25/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/AaronBecker/daydreamer on toolchain beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "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-25/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" "+beta-2022-04-10" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-25/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-25/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 27a2a2d087774c2e18a09851a5c792695126417a99f25a92a982187ff605c4ab [INFO] running `Command { std: "docker" "start" "-a" "27a2a2d087774c2e18a09851a5c792695126417a99f25a92a982187ff605c4ab", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "27a2a2d087774c2e18a09851a5c792695126417a99f25a92a982187ff605c4ab", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "27a2a2d087774c2e18a09851a5c792695126417a99f25a92a982187ff605c4ab", kill_on_drop: false }` [INFO] [stdout] 27a2a2d087774c2e18a09851a5c792695126417a99f25a92a982187ff605c4ab [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-25/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-25/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5fcfb50b82c12cfe0b0f39ce51849d22a720852e06d0182e68a04e42a3f9e551 [INFO] running `Command { std: "docker" "start" "-a" "5fcfb50b82c12cfe0b0f39ce51849d22a720852e06d0182e68a04e42a3f9e551", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.13 [INFO] [stderr] Compiling daydreamer v2.0.0-pre2 (/opt/rustwide/workdir) [INFO] [stderr] Compiling lazy_static v0.1.16 [INFO] [stderr] Compiling rand v0.3.14 [INFO] [stdout] warning: unused macro definition: `hashmap` [INFO] [stdout] --> src/macros.rs:40:14 [INFO] [stdout] | [INFO] [stdout] 40 | macro_rules! hashmap { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_macros)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition: `chess_test` [INFO] [stdout] --> src/macros.rs:76:14 [INFO] [stdout] | [INFO] [stdout] 76 | macro_rules! chess_test { [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: 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: `#[macro_use]` only has an effect on `extern crate` and modules [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: 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: 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: 59 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 3.27s [INFO] running `Command { std: "docker" "inspect" "5fcfb50b82c12cfe0b0f39ce51849d22a720852e06d0182e68a04e42a3f9e551", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5fcfb50b82c12cfe0b0f39ce51849d22a720852e06d0182e68a04e42a3f9e551", kill_on_drop: false }` [INFO] [stdout] 5fcfb50b82c12cfe0b0f39ce51849d22a720852e06d0182e68a04e42a3f9e551 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-25/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-25/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ba8d203ca4c7e9824797a1d7181ad24be4c9a5ac467ece9e6818d4aff05be3bc [INFO] running `Command { std: "docker" "start" "-a" "ba8d203ca4c7e9824797a1d7181ad24be4c9a5ac467ece9e6818d4aff05be3bc", kill_on_drop: false }` [INFO] [stderr] Compiling daydreamer v2.0.0-pre2 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused macro definition: `hashmap` [INFO] [stdout] --> src/macros.rs:40:14 [INFO] [stdout] | [INFO] [stdout] 40 | macro_rules! hashmap { [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: `#[macro_use]` only has an effect on `extern crate` and modules [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: 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: 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] [stderr] Finished test [unoptimized + debuginfo] target(s) in 1.59s [INFO] [stderr] Executable unittests src/main.rs (/opt/rustwide/target/debug/deps/daydreamer-1c1a63a2a7d29167) [INFO] running `Command { std: "docker" "inspect" "ba8d203ca4c7e9824797a1d7181ad24be4c9a5ac467ece9e6818d4aff05be3bc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ba8d203ca4c7e9824797a1d7181ad24be4c9a5ac467ece9e6818d4aff05be3bc", kill_on_drop: false }` [INFO] [stdout] ba8d203ca4c7e9824797a1d7181ad24be4c9a5ac467ece9e6818d4aff05be3bc [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-25/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-25/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 1b0272926fdc69a420b23b23b1a25ee4efc02fdab4608f74e0ff1a5291337afa [INFO] running `Command { std: "docker" "start" "-a" "1b0272926fdc69a420b23b23b1a25ee4efc02fdab4608f74e0ff1a5291337afa", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] warning: unused macro definition: `hashmap` [INFO] [stderr] --> src/macros.rs:40:14 [INFO] [stderr] | [INFO] [stderr] 40 | macro_rules! hashmap { [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_macros)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `board::*` [INFO] [stderr] --> src/bitboard.rs:596:9 [INFO] [stderr] | [INFO] [stderr] 596 | use board::*; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/position.rs:1106:21 [INFO] [stderr] | [INFO] [stderr] 1106 | try!(write!(f, "{}", empty)); [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/position.rs:1112:21 [INFO] [stderr] | [INFO] [stderr] 1112 | try!(write!(f, "{}", p.glyph())); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/position.rs:1116:25 [INFO] [stderr] | [INFO] [stderr] 1116 | try!(write!(f, "{}", empty)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/position.rs:1120:25 [INFO] [stderr] | [INFO] [stderr] 1120 | try!(write!(f, "/")); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `board::*` [INFO] [stderr] --> src/position.rs:1178:9 [INFO] [stderr] | [INFO] [stderr] 1178 | use board::*; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/uci.rs:141:30 [INFO] [stderr] | [INFO] [stderr] 141 | Some(unknown) => try!(make_move(search_data, unknown)), [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/uci.rs:151:13 [INFO] [stderr] | [INFO] [stderr] 151 | try!(search_data.pos.load_fen(position::START_FEN)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/uci.rs:163:17 [INFO] [stderr] | [INFO] [stderr] 163 | try!(search_data.pos.load_fen(fen.as_str())); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/uci.rs:263:21 [INFO] [stderr] | [INFO] [stderr] 263 | let d = try!(depth.parse::().map_err(|e| e.to_string())); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/uci.rs:278:21 [INFO] [stderr] | [INFO] [stderr] 278 | let d = try!(depth.parse::().map_err(|e| e.to_string())); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/uci.rs:305:26 [INFO] [stderr] | [INFO] [stderr] 305 | let mb = try!(t.parse::().map_err(|e| e.to_string())); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/uci.rs:313:28 [INFO] [stderr] | [INFO] [stderr] 313 | let c960 = try!(t.parse::().map_err(|e| e.to_string())); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/uci.rs:319:29 [INFO] [stderr] | [INFO] [stderr] 319 | let arena = try!(t.parse::().map_err(|e| e.to_string())); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/uci.rs:325:27 [INFO] [stderr] | [INFO] [stderr] 325 | let mpv = try!(t.parse::().map_err(|e| e.to_string())); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: `#[macro_use]` only has an effect on `extern crate` and modules [INFO] [stderr] --> src/macros.rs:1:1 [INFO] [stderr] | [INFO] [stderr] 1 | #[macro_use] [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_attributes)]` on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stderr] --> src/bitboard.rs:5:51 [INFO] [stderr] | [INFO] [stderr] 5 | static INIT: ::std::sync::Once = ::std::sync::ONCE_INIT; [INFO] [stderr] | ^^^^^^^^^ help: replace the use of the deprecated constant: `Once::new()` [INFO] [stderr] [INFO] [stderr] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stderr] --> src/eval.rs:132:1 [INFO] [stderr] | [INFO] [stderr] 132 | / lazy_static! { [INFO] [stderr] 133 | | static ref GLOBAL_PAWN_CACHE: Mutex = Mutex::new(PawnCache::new(1 << 20)); [INFO] [stderr] 134 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated constant `std::sync::atomic::ATOMIC_BOOL_INIT`: the `new` function is now preferred [INFO] [stderr] --> src/options.rs:3:43 [INFO] [stderr] | [INFO] [stderr] 3 | static C960: atomic::AtomicBool = atomic::ATOMIC_BOOL_INIT; [INFO] [stderr] | ^^^^^^^^^^^^^^^^ help: replace the use of the deprecated constant: `AtomicBool::new(false)` [INFO] [stderr] [INFO] [stderr] warning: use of deprecated constant `std::sync::atomic::ATOMIC_BOOL_INIT`: the `new` function is now preferred [INFO] [stderr] --> src/options.rs:14:51 [INFO] [stderr] | [INFO] [stderr] 14 | static ARENA_CASTLE: atomic::AtomicBool = atomic::ATOMIC_BOOL_INIT; [INFO] [stderr] | ^^^^^^^^^^^^^^^^ help: replace the use of the deprecated constant: `AtomicBool::new(false)` [INFO] [stderr] [INFO] [stderr] warning: use of deprecated constant `std::sync::atomic::ATOMIC_USIZE_INIT`: the `new` function is now preferred [INFO] [stderr] --> src/options.rs:26:48 [INFO] [stderr] | [INFO] [stderr] 26 | static MULTI_PV: atomic::AtomicUsize = atomic::ATOMIC_USIZE_INIT; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ help: replace the use of the deprecated constant: `AtomicUsize::new(0)` [INFO] [stderr] [INFO] [stderr] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stderr] --> src/position.rs:66:51 [INFO] [stderr] | [INFO] [stderr] 66 | static INIT: ::std::sync::Once = ::std::sync::ONCE_INIT; [INFO] [stderr] | ^^^^^^^^^ help: replace the use of the deprecated constant: `Once::new()` [INFO] [stderr] [INFO] [stderr] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stderr] --> src/position.rs:146:47 [INFO] [stderr] | [INFO] [stderr] 146 | let mut undo: State = ::std::mem::uninitialized(); [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stderr] --> src/score.rs:212:1 [INFO] [stderr] | [INFO] [stderr] 212 | / lazy_static! { [INFO] [stderr] 213 | | pub static ref PSQT: [[PhaseScore; 64]; 15] = init_psqt(); [INFO] [stderr] 214 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/bitboard.rs:447:9 [INFO] [stderr] | [INFO] [stderr] 447 | let mut masks = if pt == PieceType::Bishop { &mut bishop_masks } else { &mut rook_masks }; [INFO] [stderr] | ----^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_mut)]` on by default [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/bitboard.rs:448:9 [INFO] [stderr] | [INFO] [stderr] 448 | let mut magic = if pt == PieceType::Bishop { &mut bishop_magic } else { &mut rook_magic }; [INFO] [stderr] | ----^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/perft.rs:52:34 [INFO] [stderr] | [INFO] [stderr] 52 | assert!(count == expect, format!("{}, expected {} got {}", name, expect, count)); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stderr] = note: this usage of assert!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: the assert!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stderr] help: remove the `format!(..)` macro call [INFO] [stderr] | [INFO] [stderr] 52 - assert!(count == expect, format!("{}, expected {} got {}", name, expect, count)); [INFO] [stderr] 52 + assert!(count == expect, "{}, expected {} got {}", name, expect, count); [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: static variable `rank_bb` should have an upper case name [INFO] [stderr] --> src/bitboard.rs:127:12 [INFO] [stderr] | [INFO] [stderr] 127 | static mut rank_bb: [Bitboard; 8] = [0; 8]; [INFO] [stderr] | ^^^^^^^ help: convert the identifier to upper case: `RANK_BB` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(non_upper_case_globals)]` on by default [INFO] [stderr] [INFO] [stderr] warning: static variable `file_bb` should have an upper case name [INFO] [stderr] --> src/bitboard.rs:128:12 [INFO] [stderr] | [INFO] [stderr] 128 | static mut file_bb: [Bitboard; 8] = [0; 8]; [INFO] [stderr] | ^^^^^^^ help: convert the identifier to upper case: `FILE_BB` [INFO] [stderr] [INFO] [stderr] warning: static variable `distance` should have an upper case name [INFO] [stderr] --> src/bitboard.rs:129:12 [INFO] [stderr] | [INFO] [stderr] 129 | static mut distance: [[u8; 64]; 64] = [[0; 64]; 64]; [INFO] [stderr] | ^^^^^^^^ help: convert the identifier to upper case: `DISTANCE` [INFO] [stderr] [INFO] [stderr] warning: static variable `neighbor_files_bb` should have an upper case name [INFO] [stderr] --> src/bitboard.rs:131:12 [INFO] [stderr] | [INFO] [stderr] 131 | static mut neighbor_files_bb: [Bitboard; 8] = [0; 8]; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `NEIGHBOR_FILES_BB` [INFO] [stderr] [INFO] [stderr] warning: static variable `in_front_bb` should have an upper case name [INFO] [stderr] --> src/bitboard.rs:132:12 [INFO] [stderr] | [INFO] [stderr] 132 | static mut in_front_bb: [[Bitboard; 64]; 2] = [[0; 64]; 2]; [INFO] [stderr] | ^^^^^^^^^^^ help: convert the identifier to upper case: `IN_FRONT_BB` [INFO] [stderr] [INFO] [stderr] warning: static variable `passer_bb` should have an upper case name [INFO] [stderr] --> src/bitboard.rs:133:12 [INFO] [stderr] | [INFO] [stderr] 133 | static mut passer_bb: [[Bitboard; 64]; 2] = [[0; 64]; 2]; [INFO] [stderr] | ^^^^^^^^^ help: convert the identifier to upper case: `PASSER_BB` [INFO] [stderr] [INFO] [stderr] warning: static variable `outpost_bb` should have an upper case name [INFO] [stderr] --> src/bitboard.rs:134:12 [INFO] [stderr] | [INFO] [stderr] 134 | static mut outpost_bb: [[Bitboard; 64]; 2] = [[0; 64]; 2]; [INFO] [stderr] | ^^^^^^^^^^ help: convert the identifier to upper case: `OUTPOST_BB` [INFO] [stderr] [INFO] [stderr] warning: static variable `squares_of_color_bb` should have an upper case name [INFO] [stderr] --> src/bitboard.rs:136:12 [INFO] [stderr] | [INFO] [stderr] 136 | static mut squares_of_color_bb: [Bitboard; 2] = [0; 2]; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `SQUARES_OF_COLOR_BB` [INFO] [stderr] [INFO] [stderr] warning: static variable `white_pawn_attacks_bb` should have an upper case name [INFO] [stderr] --> src/bitboard.rs:219:12 [INFO] [stderr] | [INFO] [stderr] 219 | static mut white_pawn_attacks_bb: [Bitboard; 64] = [0; 64]; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `WHITE_PAWN_ATTACKS_BB` [INFO] [stderr] [INFO] [stderr] warning: static variable `black_pawn_attacks_bb` should have an upper case name [INFO] [stderr] --> src/bitboard.rs:220:12 [INFO] [stderr] | [INFO] [stderr] 220 | static mut black_pawn_attacks_bb: [Bitboard; 64] = [0; 64]; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `BLACK_PAWN_ATTACKS_BB` [INFO] [stderr] [INFO] [stderr] warning: static variable `knight_attacks_bb` should have an upper case name [INFO] [stderr] --> src/bitboard.rs:221:12 [INFO] [stderr] | [INFO] [stderr] 221 | static mut knight_attacks_bb: [Bitboard; 64] = [0; 64]; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `KNIGHT_ATTACKS_BB` [INFO] [stderr] [INFO] [stderr] warning: static variable `king_attacks_bb` should have an upper case name [INFO] [stderr] --> src/bitboard.rs:222:12 [INFO] [stderr] | [INFO] [stderr] 222 | static mut king_attacks_bb: [Bitboard; 64] = [0; 64]; [INFO] [stderr] | ^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `KING_ATTACKS_BB` [INFO] [stderr] [INFO] [stderr] warning: static variable `king_near_shield_bb` should have an upper case name [INFO] [stderr] --> src/bitboard.rs:255:12 [INFO] [stderr] | [INFO] [stderr] 255 | static mut king_near_shield_bb: [[Bitboard; 64]; 2] = [[0; 64]; 2]; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `KING_NEAR_SHIELD_BB` [INFO] [stderr] [INFO] [stderr] warning: static variable `king_shield_bb` should have an upper case name [INFO] [stderr] --> src/bitboard.rs:256:12 [INFO] [stderr] | [INFO] [stderr] 256 | static mut king_shield_bb: [[Bitboard; 64]; 2] = [[0; 64]; 2]; [INFO] [stderr] | ^^^^^^^^^^^^^^ help: convert the identifier to upper case: `KING_SHIELD_BB` [INFO] [stderr] [INFO] [stderr] warning: static variable `king_halo_bb` should have an upper case name [INFO] [stderr] --> src/bitboard.rs:257:12 [INFO] [stderr] | [INFO] [stderr] 257 | static mut king_halo_bb: [Bitboard; 64] = [0; 64]; [INFO] [stderr] | ^^^^^^^^^^^^ help: convert the identifier to upper case: `KING_HALO_BB` [INFO] [stderr] [INFO] [stderr] warning: static variable `bishop_masks` should have an upper case name [INFO] [stderr] --> src/bitboard.rs:302:12 [INFO] [stderr] | [INFO] [stderr] 302 | static mut bishop_masks: [Bitboard; 64] = [0; 64]; [INFO] [stderr] | ^^^^^^^^^^^^ help: convert the identifier to upper case: `BISHOP_MASKS` [INFO] [stderr] [INFO] [stderr] warning: static variable `bishop_magic` should have an upper case name [INFO] [stderr] --> src/bitboard.rs:303:12 [INFO] [stderr] | [INFO] [stderr] 303 | static mut bishop_magic: [Bitboard; 64] = [0; 64]; [INFO] [stderr] | ^^^^^^^^^^^^ help: convert the identifier to upper case: `BISHOP_MAGIC` [INFO] [stderr] [INFO] [stderr] warning: static variable `bishop_attacks_bb` should have an upper case name [INFO] [stderr] --> src/bitboard.rs:304:12 [INFO] [stderr] | [INFO] [stderr] 304 | static mut bishop_attacks_bb: [[Bitboard; 512]; 64] = [[0; 512]; 64]; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `BISHOP_ATTACKS_BB` [INFO] [stderr] [INFO] [stderr] warning: static variable `rook_masks` should have an upper case name [INFO] [stderr] --> src/bitboard.rs:306:12 [INFO] [stderr] | [INFO] [stderr] 306 | static mut rook_masks: [Bitboard; 64] = [0; 64]; [INFO] [stderr] | ^^^^^^^^^^ help: convert the identifier to upper case: `ROOK_MASKS` [INFO] [stderr] [INFO] [stderr] warning: static variable `rook_magic` should have an upper case name [INFO] [stderr] --> src/bitboard.rs:307:12 [INFO] [stderr] | [INFO] [stderr] 307 | static mut rook_magic: [Bitboard; 64] = [0; 64]; [INFO] [stderr] | ^^^^^^^^^^ help: convert the identifier to upper case: `ROOK_MAGIC` [INFO] [stderr] [INFO] [stderr] warning: static variable `rook_attacks_bb` should have an upper case name [INFO] [stderr] --> src/bitboard.rs:308:12 [INFO] [stderr] | [INFO] [stderr] 308 | static mut rook_attacks_bb: [[Bitboard; 4096]; 64] = [[0; 4096]; 64]; [INFO] [stderr] | ^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `ROOK_ATTACKS_BB` [INFO] [stderr] [INFO] [stderr] warning: static variable `bishop_pseudo_attacks_bb` should have an upper case name [INFO] [stderr] --> src/bitboard.rs:490:12 [INFO] [stderr] | [INFO] [stderr] 490 | static mut bishop_pseudo_attacks_bb: [Bitboard; 64] = [0; 64]; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `BISHOP_PSEUDO_ATTACKS_BB` [INFO] [stderr] [INFO] [stderr] warning: static variable `rook_pseudo_attacks_bb` should have an upper case name [INFO] [stderr] --> src/bitboard.rs:491:12 [INFO] [stderr] | [INFO] [stderr] 491 | static mut rook_pseudo_attacks_bb: [Bitboard; 64] = [0; 64]; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `ROOK_PSEUDO_ATTACKS_BB` [INFO] [stderr] [INFO] [stderr] warning: static variable `queen_pseudo_attacks_bb` should have an upper case name [INFO] [stderr] --> src/bitboard.rs:492:12 [INFO] [stderr] | [INFO] [stderr] 492 | static mut queen_pseudo_attacks_bb: [Bitboard; 64] = [0; 64]; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `QUEEN_PSEUDO_ATTACKS_BB` [INFO] [stderr] [INFO] [stderr] warning: static variable `rays_bb` should have an upper case name [INFO] [stderr] --> src/bitboard.rs:516:12 [INFO] [stderr] | [INFO] [stderr] 516 | static mut rays_bb: [[Bitboard; 64]; 64] = [[0; 64]; 64]; [INFO] [stderr] | ^^^^^^^ help: convert the identifier to upper case: `RAYS_BB` [INFO] [stderr] [INFO] [stderr] warning: static variable `between_bb` should have an upper case name [INFO] [stderr] --> src/bitboard.rs:517:12 [INFO] [stderr] | [INFO] [stderr] 517 | static mut between_bb: [[Bitboard; 64]; 64] = [[0; 64]; 64]; [INFO] [stderr] | ^^^^^^^^^^ help: convert the identifier to upper case: `BETWEEN_BB` [INFO] [stderr] [INFO] [stderr] warning: static variable `piece_random` should have an upper case name [INFO] [stderr] --> src/position.rs:58:12 [INFO] [stderr] | [INFO] [stderr] 58 | static mut piece_random: [[[HashKey; 64]; 7]; 2] = [[[0; 64]; 7]; 2]; [INFO] [stderr] | ^^^^^^^^^^^^ help: convert the identifier to upper case: `PIECE_RANDOM` [INFO] [stderr] [INFO] [stderr] warning: static variable `castle_random` should have an upper case name [INFO] [stderr] --> src/position.rs:59:12 [INFO] [stderr] | [INFO] [stderr] 59 | static mut castle_random: [HashKey; 16] = [0; 16]; [INFO] [stderr] | ^^^^^^^^^^^^^ help: convert the identifier to upper case: `CASTLE_RANDOM` [INFO] [stderr] [INFO] [stderr] warning: static variable `enpassant_random` should have an upper case name [INFO] [stderr] --> src/position.rs:60:12 [INFO] [stderr] | [INFO] [stderr] 60 | static mut enpassant_random: [HashKey; 8] = [0; 8]; [INFO] [stderr] | ^^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `ENPASSANT_RANDOM` [INFO] [stderr] [INFO] [stderr] warning: static variable `side_random` should have an upper case name [INFO] [stderr] --> src/position.rs:61:12 [INFO] [stderr] | [INFO] [stderr] 61 | static mut side_random: HashKey = 0; [INFO] [stderr] | ^^^^^^^^^^^ help: convert the identifier to upper case: `SIDE_RANDOM` [INFO] [stderr] [INFO] [stderr] warning: the type `State` does not permit being left uninitialized [INFO] [stderr] --> src/position.rs:146:35 [INFO] [stderr] | [INFO] [stderr] 146 | let mut undo: State = ::std::mem::uninitialized(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | this code causes undefined behavior when executed [INFO] [stderr] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(invalid_value)]` on by default [INFO] [stderr] note: enums have to be initialized to a variant [INFO] [stderr] --> src/board.rs:268:1 [INFO] [stderr] | [INFO] [stderr] 268 | / pub enum Square { [INFO] [stderr] 269 | | A1, B1, C1, D1, E1, F1, G1, H1, [INFO] [stderr] 270 | | A2, B2, C2, D2, E2, F2, G2, H2, [INFO] [stderr] 271 | | A3, B3, C3, D3, E3, F3, G3, H3, [INFO] [stderr] ... | [INFO] [stderr] 277 | | NoSquare, [INFO] [stderr] 278 | | } [INFO] [stderr] | |_^ [INFO] [stderr] [INFO] [stderr] warning: `daydreamer` (bin "daydreamer" test) generated 61 warnings (2 duplicates) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.11s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/daydreamer-1c1a63a2a7d29167) [INFO] [stdout] [INFO] [stdout] running 25 tests [INFO] [stdout] test perft::tests::test_perft_slow ... ignored [INFO] [stdout] test position::tests::test_pseudo_move_is_legal ... ok [INFO] [stdout] test bitboard::tests::test_pawn_masks ... ok [INFO] [stdout] test position::tests::test_checkers ... ok [INFO] [stdout] test bitboard::tests::test_rook_attacks ... ok [INFO] [stdout] test bitboard::tests::test_queen_attacks ... ok [INFO] [stdout] test position::tests::test_obvious_check ... ok [INFO] [stdout] test bitboard::tests::test_pop_square ... ok [INFO] [stdout] test bitboard::tests::test_knight_attacks ... ok [INFO] [stdout] test bitboard::tests::test_pawn_attacks ... ok [INFO] [stdout] test bitboard::tests::test_king_attacks ... ok [INFO] [stdout] test bitboard::tests::test_directional_bitboards ... ok [INFO] [stdout] test position::tests::test_attackers ... ok [INFO] [stdout] test bitboard::tests::test_color_masks ... ok [INFO] [stdout] test bitboard::tests::test_bishop_attacks ... ok [INFO] [stdout] test position::tests::test_static_exchange_eval ... ok [INFO] [stdout] test bitboard::tests::test_bb_str ... ok [INFO] [stdout] test position::tests::test_fen ... ok [INFO] [stdout] test position::tests::test_is_draw ... ok [INFO] [stdout] test position::tests::test_occlusion ... ok [INFO] [stdout] test transposition::tests::test_tt_replacement ... ok [INFO] [stdout] test movegen::tests::test_move_is_pseudo_legal ... ok [INFO] [stdout] test movegen::tests::test_legal_generation ... ok [INFO] [stdout] test position::tests::test_do_move ... FAILED [INFO] [stdout] test perft::tests::test_perft_fast ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- position::tests::test_do_move stdout ---- [INFO] [stdout] thread 'position::tests::test_do_move' panicked at 'attempted to leave type `position::State` uninitialized, which is invalid', src/position.rs:146:35 [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x55f8f99dab3d - std::backtrace_rs::backtrace::libunwind::trace::ha359b7f0090e2792 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/../../backtrace/src/backtrace/libunwind.rs:93:5 [INFO] [stdout] 1: 0x55f8f99dab3d - std::backtrace_rs::backtrace::trace_unsynchronized::h0584631f25c1d70e [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5 [INFO] [stdout] 2: 0x55f8f99dab3d - std::sys_common::backtrace::_print_fmt::hdadffd97d279ff14 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/sys_common/backtrace.rs:66:5 [INFO] [stdout] 3: 0x55f8f99dab3d - ::fmt::h26f189e611080a74 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/sys_common/backtrace.rs:45:22 [INFO] [stdout] 4: 0x55f8f99fd91c - core::fmt::write::hfb5d11dfe037e8b7 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/core/src/fmt/mod.rs:1194:17 [INFO] [stdout] 5: 0x55f8f99d7501 - std::io::Write::write_fmt::h6a24ec64406df9e2 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/io/mod.rs:1655:15 [INFO] [stdout] 6: 0x55f8f99dc885 - std::sys_common::backtrace::_print::h7a0e44402913ba60 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/sys_common/backtrace.rs:48:5 [INFO] [stdout] 7: 0x55f8f99dc885 - std::sys_common::backtrace::print::h9767dc455a84e728 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/sys_common/backtrace.rs:35:9 [INFO] [stdout] 8: 0x55f8f99dc885 - std::panicking::default_hook::{{closure}}::h60afd6c8b12988ad [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/panicking.rs:295:22 [INFO] [stdout] 9: 0x55f8f99dc574 - std::panicking::default_hook::ha7b9bac6813f9d21 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/panicking.rs:311:9 [INFO] [stdout] 10: 0x55f8f99dcdd2 - std::panicking::rust_panic_with_hook::h7b117a162a6f8664 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/panicking.rs:698:17 [INFO] [stdout] 11: 0x55f8f99dcc79 - std::panicking::begin_panic_handler::{{closure}}::h346750923c608600 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/panicking.rs:586:13 [INFO] [stdout] 12: 0x55f8f99daff4 - std::sys_common::backtrace::__rust_end_short_backtrace::h768c56c6a0c055c0 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/sys_common/backtrace.rs:138:18 [INFO] [stdout] 13: 0x55f8f99dc9e9 - rust_begin_unwind [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/panicking.rs:584:5 [INFO] [stdout] 14: 0x55f8f9928463 - core::panicking::panic_fmt::h5c41cb2fa118fdbc [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/core/src/panicking.rs:143:14 [INFO] [stdout] 15: 0x55f8f992832d - core::panicking::panic::h19a70c01bbabd538 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/core/src/panicking.rs:48:5 [INFO] [stdout] 16: 0x55f8f992dc14 - core::mem::uninitialized::h86e121bd12f6d822 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/core/src/mem/mod.rs:679:9 [INFO] [stdout] 17: 0x55f8f992dc14 - daydreamer::position::State::undo_state::h9b0c776b217734d3 [INFO] [stdout] at /opt/rustwide/workdir/src/position.rs:146:35 [INFO] [stdout] 18: 0x55f8f995ba6f - daydreamer::position::tests::test_do_move::{{closure}}::h885f042a5d232b99 [INFO] [stdout] at /opt/rustwide/workdir/src/position.rs:1289:24 [INFO] [stdout] 19: 0x55f8f995b55d - daydreamer::position::tests::test_do_move::h34969c7f0deac0b6 [INFO] [stdout] at /opt/rustwide/workdir/src/position.rs:1295:9 [INFO] [stdout] 20: 0x55f8f995b4aa - daydreamer::position::tests::test_do_move::{{closure}}::h82f8b6be01ff3041 [INFO] [stdout] at /opt/rustwide/workdir/src/macros.rs:79:9 [INFO] [stdout] 21: 0x55f8f995074e - core::ops::function::FnOnce::call_once::h4f1c924a9d71275e [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 22: 0x55f8f99ad453 - core::ops::function::FnOnce::call_once::h018fc248431ce8de [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 23: 0x55f8f99ad453 - test::__rust_begin_short_backtrace::h293b982b6069d6e3 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/test/src/lib.rs:574:5 [INFO] [stdout] 24: 0x55f8f99ac209 - as core::ops::function::FnOnce>::call_once::h4fc1be1a762c7a46 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/alloc/src/boxed.rs:1861:9 [INFO] [stdout] 25: 0x55f8f99ac209 - as core::ops::function::FnOnce<()>>::call_once::hd44623ec51b9e897 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/core/src/panic/unwind_safe.rs:271:9 [INFO] [stdout] 26: 0x55f8f99ac209 - std::panicking::try::do_call::ha8cfa4b025f5b832 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/panicking.rs:492:40 [INFO] [stdout] 27: 0x55f8f99ac209 - std::panicking::try::h664f75e41c112145 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/panicking.rs:456:19 [INFO] [stdout] 28: 0x55f8f99ac209 - std::panic::catch_unwind::h4932ec05cd60558e [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/panic.rs:137:14 [INFO] [stdout] 29: 0x55f8f99ac209 - test::run_test_in_process::ha14a47756671755c [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/test/src/lib.rs:597:18 [INFO] [stdout] 30: 0x55f8f99ac209 - test::run_test::run_test_inner::{{closure}}::h0ec9e37c8f67b62d [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/test/src/lib.rs:491:39 [INFO] [stdout] 31: 0x55f8f99783be - test::run_test::run_test_inner::{{closure}}::hd9d2e7f26d4f59e6 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/test/src/lib.rs:518:37 [INFO] [stdout] 32: 0x55f8f99783be - std::sys_common::backtrace::__rust_begin_short_backtrace::h41c0a39fac5123f8 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/sys_common/backtrace.rs:122:18 [INFO] [stdout] 33: 0x55f8f997d928 - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h69a02ca0bebb6eeb [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/thread/mod.rs:498:17 [INFO] [stdout] 34: 0x55f8f997d928 - as core::ops::function::FnOnce<()>>::call_once::hdd05632920ce689b [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/core/src/panic/unwind_safe.rs:271:9 [INFO] [stdout] 35: 0x55f8f997d928 - std::panicking::try::do_call::hb4947142729b90fd [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/panicking.rs:492:40 [INFO] [stdout] 36: 0x55f8f997d928 - std::panicking::try::h15a7e9b8394e6878 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/panicking.rs:456:19 [INFO] [stdout] 37: 0x55f8f997d928 - std::panic::catch_unwind::hbd3f4a3f9df49b85 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/panic.rs:137:14 [INFO] [stdout] 38: 0x55f8f997d928 - std::thread::Builder::spawn_unchecked_::{{closure}}::h880b5d5f1b9799f4 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/thread/mod.rs:497:30 [INFO] [stdout] 39: 0x55f8f997d928 - core::ops::function::FnOnce::call_once{{vtable.shim}}::h304d5eaf401f5061 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 40: 0x55f8f99e15e3 - as core::ops::function::FnOnce>::call_once::hdba7f2afed0c35b3 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/alloc/src/boxed.rs:1861:9 [INFO] [stdout] 41: 0x55f8f99e15e3 - as core::ops::function::FnOnce>::call_once::h38b0832765bf7961 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/alloc/src/boxed.rs:1861:9 [INFO] [stdout] 42: 0x55f8f99e15e3 - std::sys::unix::thread::Thread::new::thread_start::h70236dc17753425e [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/sys/unix/thread.rs:108:17 [INFO] [stdout] 43: 0x7f7440202609 - start_thread [INFO] [stdout] 44: 0x7f743ffd2163 - clone [INFO] [stdout] 45: 0x0 - [INFO] [stdout] [INFO] [stdout] ---- perft::tests::test_perft_fast stdout ---- [INFO] [stdout] thread 'perft::tests::test_perft_fast' panicked at 'attempted to leave type `position::State` uninitialized, which is invalid', src/position.rs:146:35 [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x55f8f99dab3d - std::backtrace_rs::backtrace::libunwind::trace::ha359b7f0090e2792 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/../../backtrace/src/backtrace/libunwind.rs:93:5 [INFO] [stdout] 1: 0x55f8f99dab3d - std::backtrace_rs::backtrace::trace_unsynchronized::h0584631f25c1d70e [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5 [INFO] [stdout] 2: 0x55f8f99dab3d - std::sys_common::backtrace::_print_fmt::hdadffd97d279ff14 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/sys_common/backtrace.rs:66:5 [INFO] [stdout] 3: 0x55f8f99dab3d - ::fmt::h26f189e611080a74 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/sys_common/backtrace.rs:45:22 [INFO] [stdout] 4: 0x55f8f99fd91c - core::fmt::write::hfb5d11dfe037e8b7 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/core/src/fmt/mod.rs:1194:17 [INFO] [stdout] 5: 0x55f8f99d7501 - std::io::Write::write_fmt::h6a24ec64406df9e2 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/io/mod.rs:1655:15 [INFO] [stdout] 6: 0x55f8f99dc885 - std::sys_common::backtrace::_print::h7a0e44402913ba60 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/sys_common/backtrace.rs:48:5 [INFO] [stdout] 7: 0x55f8f99dc885 - std::sys_common::backtrace::print::h9767dc455a84e728 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/sys_common/backtrace.rs:35:9 [INFO] [stdout] 8: 0x55f8f99dc885 - std::panicking::default_hook::{{closure}}::h60afd6c8b12988ad [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/panicking.rs:295:22 [INFO] [stdout] 9: 0x55f8f99dc574 - std::panicking::default_hook::ha7b9bac6813f9d21 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/panicking.rs:311:9 [INFO] [stdout] 10: 0x55f8f99dcdd2 - std::panicking::rust_panic_with_hook::h7b117a162a6f8664 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/panicking.rs:698:17 [INFO] [stdout] 11: 0x55f8f99dcc79 - std::panicking::begin_panic_handler::{{closure}}::h346750923c608600 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/panicking.rs:586:13 [INFO] [stdout] 12: 0x55f8f99daff4 - std::sys_common::backtrace::__rust_end_short_backtrace::h768c56c6a0c055c0 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/sys_common/backtrace.rs:138:18 [INFO] [stdout] 13: 0x55f8f99dc9e9 - rust_begin_unwind [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/panicking.rs:584:5 [INFO] [stdout] 14: 0x55f8f9928463 - core::panicking::panic_fmt::h5c41cb2fa118fdbc [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/core/src/panicking.rs:143:14 [INFO] [stdout] 15: 0x55f8f992832d - core::panicking::panic::h19a70c01bbabd538 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/core/src/panicking.rs:48:5 [INFO] [stdout] 16: 0x55f8f992dc14 - core::mem::uninitialized::h86e121bd12f6d822 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/core/src/mem/mod.rs:679:9 [INFO] [stdout] 17: 0x55f8f992dc14 - daydreamer::position::State::undo_state::h9b0c776b217734d3 [INFO] [stdout] at /opt/rustwide/workdir/src/position.rs:146:35 [INFO] [stdout] 18: 0x55f8f995328c - daydreamer::perft::internal_perft::hba780789ce1e75a3 [INFO] [stdout] at /opt/rustwide/workdir/src/perft.rs:29:16 [INFO] [stdout] 19: 0x55f8f99531d4 - daydreamer::perft::perft::haf611072013fb85d [INFO] [stdout] at /opt/rustwide/workdir/src/perft.rs:6:5 [INFO] [stdout] 20: 0x55f8f99536ad - daydreamer::perft::tests::test_case::h5f4ea3fa484c8dfb [INFO] [stdout] at /opt/rustwide/workdir/src/perft.rs:51:21 [INFO] [stdout] 21: 0x55f8f99538c4 - daydreamer::perft::tests::test_perft_fast::h987d9761d5e27407 [INFO] [stdout] at /opt/rustwide/workdir/src/perft.rs:56:9 [INFO] [stdout] 22: 0x55f8f995387a - daydreamer::perft::tests::test_perft_fast::{{closure}}::h5a53465edf78fabe [INFO] [stdout] at /opt/rustwide/workdir/src/macros.rs:79:9 [INFO] [stdout] 23: 0x55f8f9950c3e - core::ops::function::FnOnce::call_once::hc3207b1c1b767770 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 24: 0x55f8f99ad453 - core::ops::function::FnOnce::call_once::h018fc248431ce8de [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 25: 0x55f8f99ad453 - test::__rust_begin_short_backtrace::h293b982b6069d6e3 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/test/src/lib.rs:574:5 [INFO] [stdout] 26: 0x55f8f99ac209 - as core::ops::function::FnOnce>::call_once::h4fc1be1a762c7a46 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/alloc/src/boxed.rs:1861:9 [INFO] [stdout] 27: 0x55f8f99ac209 - as core::ops::function::FnOnce<()>>::call_once::hd44623ec51b9e897 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/core/src/panic/unwind_safe.rs:271:9 [INFO] [stdout] 28: 0x55f8f99ac209 - std::panicking::try::do_call::ha8cfa4b025f5b832 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/panicking.rs:492:40 [INFO] [stdout] 29: 0x55f8f99ac209 - std::panicking::try::h664f75e41c112145 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/panicking.rs:456:19 [INFO] [stdout] 30: 0x55f8f99ac209 - std::panic::catch_unwind::h4932ec05cd60558e [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/panic.rs:137:14 [INFO] [stdout] 31: 0x55f8f99ac209 - test::run_test_in_process::ha14a47756671755c [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/test/src/lib.rs:597:18 [INFO] [stdout] 32: 0x55f8f99ac209 - test::run_test::run_test_inner::{{closure}}::h0ec9e37c8f67b62d [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/test/src/lib.rs:491:39 [INFO] [stdout] 33: 0x55f8f99783be - test::run_test::run_test_inner::{{closure}}::hd9d2e7f26d4f59e6 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/test/src/lib.rs:518:37 [INFO] [stdout] 34: 0x55f8f99783be - std::sys_common::backtrace::__rust_begin_short_backtrace::h41c0a39fac5123f8 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/sys_common/backtrace.rs:122:18 [INFO] [stdout] 35: 0x55f8f997d928 - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h69a02ca0bebb6eeb [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/thread/mod.rs:498:17 [INFO] [stdout] 36: 0x55f8f997d928 - as core::ops::function::FnOnce<()>>::call_once::hdd05632920ce689b [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/core/src/panic/unwind_safe.rs:271:9 [INFO] [stdout] 37: 0x55f8f997d928 - std::panicking::try::do_call::hb4947142729b90fd [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/panicking.rs:492:40 [INFO] [stdout] 38: 0x55f8f997d928 - std::panicking::try::h15a7e9b8394e6878 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/panicking.rs:456:19 [INFO] [stdout] 39: 0x55f8f997d928 - std::panic::catch_unwind::hbd3f4a3f9df49b85 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/panic.rs:137:14 [INFO] [stdout] 40: 0x55f8f997d928 - std::thread::Builder::spawn_unchecked_::{{closure}}::h880b5d5f1b9799f4 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/thread/mod.rs:497:30 [INFO] [stdout] 41: 0x55f8f997d928 - core::ops::function::FnOnce::call_once{{vtable.shim}}::h304d5eaf401f5061 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 42: 0x55f8f99e15e3 - as core::ops::function::FnOnce>::call_once::hdba7f2afed0c35b3 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/alloc/src/boxed.rs:1861:9 [INFO] [stdout] 43: 0x55f8f99e15e3 - as core::ops::function::FnOnce>::call_once::h38b0832765bf7961 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/alloc/src/boxed.rs:1861:9 [INFO] [stdout] 44: 0x55f8f99e15e3 - std::sys::unix::thread::Thread::new::thread_start::h70236dc17753425e [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/sys/unix/thread.rs:108:17 [INFO] [stdout] 45: 0x7f7440202609 - start_thread [INFO] [stdout] 46: 0x7f743ffd2163 - clone [INFO] [stdout] 47: 0x0 - [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] perft::tests::test_perft_fast [INFO] [stdout] position::tests::test_do_move [INFO] [stdout] [INFO] [stdout] test result: FAILED. 22 passed; 2 failed; 1 ignored; 0 measured; 0 filtered out; finished in 0.46s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass '--bin daydreamer' [INFO] running `Command { std: "docker" "inspect" "1b0272926fdc69a420b23b23b1a25ee4efc02fdab4608f74e0ff1a5291337afa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1b0272926fdc69a420b23b23b1a25ee4efc02fdab4608f74e0ff1a5291337afa", kill_on_drop: false }` [INFO] [stdout] 1b0272926fdc69a420b23b23b1a25ee4efc02fdab4608f74e0ff1a5291337afa