[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-2021-09-08 for beta-1.56-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAaronBecker%2Fdaydreamer" "/workspace/builds/worker-9/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-9/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/AaronBecker/daydreamer on toolchain beta-2021-09-08 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2021-09-08" "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-9/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-2021-09-08" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2021-09-08" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5fe434dab1b3bfdad250d317b2bb98aee9b1d068c20e6b97e2613aa2e00b9b4d [INFO] running `Command { std: "docker" "start" "-a" "5fe434dab1b3bfdad250d317b2bb98aee9b1d068c20e6b97e2613aa2e00b9b4d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5fe434dab1b3bfdad250d317b2bb98aee9b1d068c20e6b97e2613aa2e00b9b4d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5fe434dab1b3bfdad250d317b2bb98aee9b1d068c20e6b97e2613aa2e00b9b4d", kill_on_drop: false }` [INFO] [stdout] 5fe434dab1b3bfdad250d317b2bb98aee9b1d068c20e6b97e2613aa2e00b9b4d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2021-09-08" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 995fb6332a1a6f9e297a69d58cd983c59568f6c4317f6b96a3258f768445d8b8 [INFO] running `Command { std: "docker" "start" "-a" "995fb6332a1a6f9e297a69d58cd983c59568f6c4317f6b96a3258f768445d8b8", kill_on_drop: false }` [INFO] [stderr] Compiling daydreamer v2.0.0-pre2 (/opt/rustwide/workdir) [INFO] [stderr] Compiling libc v0.2.13 [INFO] [stderr] Compiling lazy_static v0.1.16 [INFO] [stderr] Compiling rand v0.3.14 [INFO] [stdout] warning: unused macro definition [INFO] [stdout] --> src/macros.rs:40:1 [INFO] [stdout] | [INFO] [stdout] 40 | / macro_rules! hashmap { [INFO] [stdout] 41 | | ($($key:expr => $val:expr,)+) => { hashmap!($($key => $val),+) }; [INFO] [stdout] 42 | | ($($key : expr => $val : expr),*) => { [INFO] [stdout] 43 | | { [INFO] [stdout] ... | [INFO] [stdout] 48 | | } [INFO] [stdout] 49 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_macros)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition [INFO] [stdout] --> src/macros.rs:76:1 [INFO] [stdout] | [INFO] [stdout] 76 | / macro_rules! chess_test { [INFO] [stdout] 77 | | ($id:ident, $b:block) => { [INFO] [stdout] 78 | | #[test] [INFO] [stdout] 79 | | fn $id() { [INFO] [stdout] ... | [INFO] [stdout] 86 | | }; [INFO] [stdout] 87 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/position.rs:1106:21 [INFO] [stdout] | [INFO] [stdout] 1106 | try!(write!(f, "{}", empty)); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/position.rs:1112:21 [INFO] [stdout] | [INFO] [stdout] 1112 | try!(write!(f, "{}", p.glyph())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/position.rs:1116:25 [INFO] [stdout] | [INFO] [stdout] 1116 | try!(write!(f, "{}", empty)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/position.rs:1120:25 [INFO] [stdout] | [INFO] [stdout] 1120 | try!(write!(f, "/")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/uci.rs:141:30 [INFO] [stdout] | [INFO] [stdout] 141 | Some(unknown) => try!(make_move(search_data, unknown)), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/uci.rs:151:13 [INFO] [stdout] | [INFO] [stdout] 151 | try!(search_data.pos.load_fen(position::START_FEN)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/uci.rs:163:17 [INFO] [stdout] | [INFO] [stdout] 163 | try!(search_data.pos.load_fen(fen.as_str())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/uci.rs:263:21 [INFO] [stdout] | [INFO] [stdout] 263 | let d = try!(depth.parse::().map_err(|e| e.to_string())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 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 6.18s [INFO] running `Command { std: "docker" "inspect" "995fb6332a1a6f9e297a69d58cd983c59568f6c4317f6b96a3258f768445d8b8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "995fb6332a1a6f9e297a69d58cd983c59568f6c4317f6b96a3258f768445d8b8", kill_on_drop: false }` [INFO] [stdout] 995fb6332a1a6f9e297a69d58cd983c59568f6c4317f6b96a3258f768445d8b8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2021-09-08" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b64ddc1312b3e07f26db1b7c4d449bbe060e4decd4609a634394a98ec07741e0 [INFO] running `Command { std: "docker" "start" "-a" "b64ddc1312b3e07f26db1b7c4d449bbe060e4decd4609a634394a98ec07741e0", kill_on_drop: false }` [INFO] [stderr] Compiling daydreamer v2.0.0-pre2 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused macro definition [INFO] [stdout] --> src/macros.rs:40:1 [INFO] [stdout] | [INFO] [stdout] 40 | / macro_rules! hashmap { [INFO] [stdout] 41 | | ($($key:expr => $val:expr,)+) => { hashmap!($($key => $val),+) }; [INFO] [stdout] 42 | | ($($key : expr => $val : expr),*) => { [INFO] [stdout] 43 | | { [INFO] [stdout] ... | [INFO] [stdout] 48 | | } [INFO] [stdout] 49 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_macros)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `board::*` [INFO] [stdout] --> src/bitboard.rs:596:9 [INFO] [stdout] | [INFO] [stdout] 596 | use board::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/position.rs:1106:21 [INFO] [stdout] | [INFO] [stdout] 1106 | try!(write!(f, "{}", empty)); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/position.rs:1112:21 [INFO] [stdout] | [INFO] [stdout] 1112 | try!(write!(f, "{}", p.glyph())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/position.rs:1116:25 [INFO] [stdout] | [INFO] [stdout] 1116 | try!(write!(f, "{}", empty)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/position.rs:1120:25 [INFO] [stdout] | [INFO] [stdout] 1120 | try!(write!(f, "/")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `board::*` [INFO] [stdout] --> src/position.rs:1178:9 [INFO] [stdout] | [INFO] [stdout] 1178 | use board::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/uci.rs:141:30 [INFO] [stdout] | [INFO] [stdout] 141 | Some(unknown) => try!(make_move(search_data, unknown)), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/uci.rs:151:13 [INFO] [stdout] | [INFO] [stdout] 151 | try!(search_data.pos.load_fen(position::START_FEN)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/uci.rs:163:17 [INFO] [stdout] | [INFO] [stdout] 163 | try!(search_data.pos.load_fen(fen.as_str())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/uci.rs:263:21 [INFO] [stdout] | [INFO] [stdout] 263 | let d = try!(depth.parse::().map_err(|e| e.to_string())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/uci.rs:278:21 [INFO] [stdout] | [INFO] [stdout] 278 | let d = try!(depth.parse::().map_err(|e| e.to_string())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/uci.rs:305:26 [INFO] [stdout] | [INFO] [stdout] 305 | let mb = try!(t.parse::().map_err(|e| e.to_string())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/uci.rs:313:28 [INFO] [stdout] | [INFO] [stdout] 313 | let c960 = try!(t.parse::().map_err(|e| e.to_string())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/uci.rs:319:29 [INFO] [stdout] | [INFO] [stdout] 319 | let arena = try!(t.parse::().map_err(|e| e.to_string())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/uci.rs:325:27 [INFO] [stdout] | [INFO] [stdout] 325 | let mpv = try!(t.parse::().map_err(|e| e.to_string())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[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 2.52s [INFO] running `Command { std: "docker" "inspect" "b64ddc1312b3e07f26db1b7c4d449bbe060e4decd4609a634394a98ec07741e0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b64ddc1312b3e07f26db1b7c4d449bbe060e4decd4609a634394a98ec07741e0", kill_on_drop: false }` [INFO] [stdout] b64ddc1312b3e07f26db1b7c4d449bbe060e4decd4609a634394a98ec07741e0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2021-09-08" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 3e227e30ffe9e8cf6a4e5b4629f779a7c4780343be3eee058290715d49824e3d [INFO] running `Command { std: "docker" "start" "-a" "3e227e30ffe9e8cf6a4e5b4629f779a7c4780343be3eee058290715d49824e3d", kill_on_drop: false }` [INFO] [stdout] [INFO] [stderr] warning: unused macro definition [INFO] [stdout] running 25 tests [INFO] [stderr] --> src/macros.rs:40:1 [INFO] [stderr] | [INFO] [stderr] 40 | / macro_rules! hashmap { [INFO] [stderr] 41 | | ($($key:expr => $val:expr,)+) => { hashmap!($($key => $val),+) }; [INFO] [stderr] 42 | | ($($key : expr => $val : expr),*) => { [INFO] [stderr] 43 | | { [INFO] [stderr] ... | [INFO] [stderr] 48 | | } [INFO] [stderr] 49 | | } [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.03s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/daydreamer-a085f3e6d18addde) [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_color_masks ... ok [INFO] [stdout] test bitboard::tests::test_bishop_attacks ... ok [INFO] [stdout] test position::tests::test_obvious_check ... ok [INFO] [stdout] test bitboard::tests::test_knight_attacks ... ok [INFO] [stdout] test bitboard::tests::test_bb_str ... ok [INFO] [stdout] test bitboard::tests::test_queen_attacks ... ok [INFO] [stdout] test bitboard::tests::test_pop_square ... ok [INFO] [stdout] test bitboard::tests::test_pawn_attacks ... ok [INFO] [stdout] test bitboard::tests::test_directional_bitboards ... ok [INFO] [stdout] test bitboard::tests::test_rook_attacks ... ok [INFO] [stdout] test bitboard::tests::test_king_attacks ... ok [INFO] [stdout] test position::tests::test_static_exchange_eval ... ok [INFO] [stdout] test bitboard::tests::test_pawn_masks ... ok [INFO] [stdout] test position::tests::test_occlusion ... ok [INFO] [stdout] test position::tests::test_attackers ... ok [INFO] [stdout] test position::tests::test_checkers ... ok [INFO] [stdout] test position::tests::test_fen ... ok [INFO] [stdout] test position::tests::test_is_draw ... ok [INFO] [stdout] test transposition::tests::test_tt_replacement ... ok [INFO] [stdout] test movegen::tests::test_legal_generation ... ok [INFO] [stdout] test movegen::tests::test_move_is_pseudo_legal ... ok [INFO] [stdout] test perft::tests::test_perft_fast ... FAILED [INFO] [stdout] test position::tests::test_do_move ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [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: 0x55ee99813f9c - std::backtrace_rs::backtrace::libunwind::trace::h51faa62df48810e4 [INFO] [stdout] at /rustc/e784c962ea252f0874a4305168077e7048cb39e9/library/std/src/../../backtrace/src/backtrace/libunwind.rs:90:5 [INFO] [stdout] 1: 0x55ee99813f9c - std::backtrace_rs::backtrace::trace_unsynchronized::h91de4d8e16d607e4 [INFO] [stdout] at /rustc/e784c962ea252f0874a4305168077e7048cb39e9/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5 [INFO] [stdout] 2: 0x55ee99813f9c - std::sys_common::backtrace::_print_fmt::h71b0935f97e4322c [INFO] [stdout] at /rustc/e784c962ea252f0874a4305168077e7048cb39e9/library/std/src/sys_common/backtrace.rs:67:5 [INFO] [stdout] 3: 0x55ee99813f9c - ::fmt::h9a78218788c14e18 [INFO] [stdout] at /rustc/e784c962ea252f0874a4305168077e7048cb39e9/library/std/src/sys_common/backtrace.rs:46:22 [INFO] [stdout] 4: 0x55ee9983789c - core::fmt::write::h3381b3176fe2b3d3 [INFO] [stdout] at /rustc/e784c962ea252f0874a4305168077e7048cb39e9/library/core/src/fmt/mod.rs:1150:17 [INFO] [stdout] 5: 0x55ee99810be5 - std::io::Write::write_fmt::hb6383f24fe197d3c [INFO] [stdout] at /rustc/e784c962ea252f0874a4305168077e7048cb39e9/library/std/src/io/mod.rs:1667:15 [INFO] [stdout] 6: 0x55ee99815c50 - std::sys_common::backtrace::_print::h4b77abc4d907ed0e [INFO] [stdout] at /rustc/e784c962ea252f0874a4305168077e7048cb39e9/library/std/src/sys_common/backtrace.rs:49:5 [INFO] [stdout] 7: 0x55ee99815c50 - std::sys_common::backtrace::print::hb170c60b542377ad [INFO] [stdout] at /rustc/e784c962ea252f0874a4305168077e7048cb39e9/library/std/src/sys_common/backtrace.rs:36:9 [INFO] [stdout] 8: 0x55ee99815c50 - std::panicking::default_hook::{{closure}}::h12bbda9af8901ee3 [INFO] [stdout] at /rustc/e784c962ea252f0874a4305168077e7048cb39e9/library/std/src/panicking.rs:210:50 [INFO] [stdout] 9: 0x55ee99815842 - std::panicking::default_hook::h8c6c66d3f3ba6768 [INFO] [stdout] at /rustc/e784c962ea252f0874a4305168077e7048cb39e9/library/std/src/panicking.rs:224:9 [INFO] [stdout] 10: 0x55ee99816304 - std::panicking::rust_panic_with_hook::h36f2fa0bb09f4069 [INFO] [stdout] at /rustc/e784c962ea252f0874a4305168077e7048cb39e9/library/std/src/panicking.rs:624:17 [INFO] [stdout] 11: 0x55ee99815db2 - std::panicking::begin_panic_handler::{{closure}}::h9c42b65a42d06a7a [INFO] [stdout] at /rustc/e784c962ea252f0874a4305168077e7048cb39e9/library/std/src/panicking.rs:519:13 [INFO] [stdout] 12: 0x55ee99814464 - std::sys_common::backtrace::__rust_end_short_backtrace::hc791bddfe31e532c [INFO] [stdout] at /rustc/e784c962ea252f0874a4305168077e7048cb39e9/library/std/src/sys_common/backtrace.rs:141:18 [INFO] [stdout] 13: 0x55ee99815d49 - rust_begin_unwind [INFO] [stdout] at /rustc/e784c962ea252f0874a4305168077e7048cb39e9/library/std/src/panicking.rs:517:5 [INFO] [stdout] 14: 0x55ee997646e1 - core::panicking::panic_fmt::hf9de31d4acbce4db [INFO] [stdout] at /rustc/e784c962ea252f0874a4305168077e7048cb39e9/library/core/src/panicking.rs:101:14 [INFO] [stdout] 15: 0x55ee9976462d - core::panicking::panic::h8a6bc58a21c6c095 [INFO] [stdout] at /rustc/e784c962ea252f0874a4305168077e7048cb39e9/library/core/src/panicking.rs:50:5 [INFO] [stdout] 16: 0x55ee9976a474 - core::mem::uninitialized::he6ce8db38278b1cb [INFO] [stdout] at /rustc/e784c962ea252f0874a4305168077e7048cb39e9/library/core/src/mem/mod.rs:665:9 [INFO] [stdout] 17: 0x55ee9976a474 - daydreamer::position::State::undo_state::hf0a34c1776b36ab0 [INFO] [stdout] at /opt/rustwide/workdir/src/position.rs:146:35 [INFO] [stdout] 18: 0x55ee997873c5 - daydreamer::perft::internal_perft::h008b4ee2d4f622d8 [INFO] [stdout] at /opt/rustwide/workdir/src/perft.rs:29:16 [INFO] [stdout] 19: 0x55ee99787304 - daydreamer::perft::perft::he738a68e7e9f1407 [INFO] [stdout] at /opt/rustwide/workdir/src/perft.rs:6:5 [INFO] [stdout] 20: 0x55ee9978d6e3 - daydreamer::perft::tests::test_case::hfced179c126fed72 [INFO] [stdout] at /opt/rustwide/workdir/src/perft.rs:51:21 [INFO] [stdout] 21: 0x55ee9978ef44 - daydreamer::perft::tests::test_perft_fast::hc3d38846c0496bc7 [INFO] [stdout] at /opt/rustwide/workdir/src/perft.rs:56:9 [INFO] [stdout] 22: 0x55ee9978eefa - daydreamer::perft::tests::test_perft_fast::{{closure}}::h25ad630d515c111d [INFO] [stdout] at /opt/rustwide/workdir/src/macros.rs:79:9 [INFO] [stdout] 23: 0x55ee9978abde - core::ops::function::FnOnce::call_once::hb2620b997e8c9acd [INFO] [stdout] at /rustc/e784c962ea252f0874a4305168077e7048cb39e9/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 24: 0x55ee997e8063 - core::ops::function::FnOnce::call_once::h61555a204318cc58 [INFO] [stdout] at /rustc/e784c962ea252f0874a4305168077e7048cb39e9/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 25: 0x55ee997e8063 - test::__rust_begin_short_backtrace::h8331e7b1cc7a6e62 [INFO] [stdout] at /rustc/e784c962ea252f0874a4305168077e7048cb39e9/library/test/src/lib.rs:578:5 [INFO] [stdout] 26: 0x55ee997e6ae8 - as core::ops::function::FnOnce>::call_once::h98582e597fa7f145 [INFO] [stdout] at /rustc/e784c962ea252f0874a4305168077e7048cb39e9/library/alloc/src/boxed.rs:1636:9 [INFO] [stdout] 27: 0x55ee997e6ae8 - as core::ops::function::FnOnce<()>>::call_once::h38fa7a0826ecff45 [INFO] [stdout] at /rustc/e784c962ea252f0874a4305168077e7048cb39e9/library/core/src/panic/unwind_safe.rs:271:9 [INFO] [stdout] 28: 0x55ee997e6ae8 - std::panicking::try::do_call::h5b27d1cfffaa9f87 [INFO] [stdout] at /rustc/e784c962ea252f0874a4305168077e7048cb39e9/library/std/src/panicking.rs:403:40 [INFO] [stdout] 29: 0x55ee997e6ae8 - std::panicking::try::h86f7124b3264bcbe [INFO] [stdout] at /rustc/e784c962ea252f0874a4305168077e7048cb39e9/library/std/src/panicking.rs:367:19 [INFO] [stdout] 30: 0x55ee997e6ae8 - std::panic::catch_unwind::h42dadf3598df7528 [INFO] [stdout] at /rustc/e784c962ea252f0874a4305168077e7048cb39e9/library/std/src/panic.rs:129:14 [INFO] [stdout] 31: 0x55ee997e6ae8 - test::run_test_in_process::h9d4b7510f0910050 [INFO] [stdout] at /rustc/e784c962ea252f0874a4305168077e7048cb39e9/library/test/src/lib.rs:601:18 [INFO] [stdout] 32: 0x55ee997e6ae8 - test::run_test::run_test_inner::{{closure}}::h9b17f1fd181fe294 [INFO] [stdout] at /rustc/e784c962ea252f0874a4305168077e7048cb39e9/library/test/src/lib.rs:493:39 [INFO] [stdout] 33: 0x55ee997b463e - test::run_test::run_test_inner::{{closure}}::h476f9211dfec6075 [INFO] [stdout] at /rustc/e784c962ea252f0874a4305168077e7048cb39e9/library/test/src/lib.rs:520:37 [INFO] [stdout] 34: 0x55ee997b463e - std::sys_common::backtrace::__rust_begin_short_backtrace::h5c2db6945645950d [INFO] [stdout] at /rustc/e784c962ea252f0874a4305168077e7048cb39e9/library/std/src/sys_common/backtrace.rs:125:18 [INFO] [stdout] 35: 0x55ee997b8ed8 - std::thread::Builder::spawn_unchecked::{{closure}}::{{closure}}::h791169ea9ba5492d [INFO] [stdout] at /rustc/e784c962ea252f0874a4305168077e7048cb39e9/library/std/src/thread/mod.rs:481:17 [INFO] [stdout] 36: 0x55ee997b8ed8 - as core::ops::function::FnOnce<()>>::call_once::he930357ede3f4b4d [INFO] [stdout] at /rustc/e784c962ea252f0874a4305168077e7048cb39e9/library/core/src/panic/unwind_safe.rs:271:9 [INFO] [stdout] 37: 0x55ee997b8ed8 - std::panicking::try::do_call::h0de4b1dd08a9aa80 [INFO] [stdout] at /rustc/e784c962ea252f0874a4305168077e7048cb39e9/library/std/src/panicking.rs:403:40 [INFO] [stdout] 38: 0x55ee997b8ed8 - std::panicking::try::hf5b5c530df698d97 [INFO] [stdout] at /rustc/e784c962ea252f0874a4305168077e7048cb39e9/library/std/src/panicking.rs:367:19 [INFO] [stdout] 39: 0x55ee997b8ed8 - std::panic::catch_unwind::hed97078f17dbf191 [INFO] [stdout] at /rustc/e784c962ea252f0874a4305168077e7048cb39e9/library/std/src/panic.rs:129:14 [INFO] [stdout] 40: 0x55ee997b8ed8 - std::thread::Builder::spawn_unchecked::{{closure}}::h2e673950929cba93 [INFO] [stdout] at /rustc/e784c962ea252f0874a4305168077e7048cb39e9/library/std/src/thread/mod.rs:480:30 [INFO] [stdout] 41: 0x55ee997b8ed8 - core::ops::function::FnOnce::call_once{{vtable.shim}}::h8e18ddd18a52f010 [INFO] [stdout] at /rustc/e784c962ea252f0874a4305168077e7048cb39e9/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 42: 0x55ee9981afb3 - as core::ops::function::FnOnce>::call_once::hbbbb32ef11ea0ad2 [INFO] [stdout] at /rustc/e784c962ea252f0874a4305168077e7048cb39e9/library/alloc/src/boxed.rs:1636:9 [INFO] [stdout] 43: 0x55ee9981afb3 - as core::ops::function::FnOnce>::call_once::h3b8ef23699fc5385 [INFO] [stdout] at /rustc/e784c962ea252f0874a4305168077e7048cb39e9/library/alloc/src/boxed.rs:1636:9 [INFO] [stdout] 44: 0x55ee9981afb3 - std::sys::unix::thread::Thread::new::thread_start::ha57f5cba35f709b7 [INFO] [stdout] at /rustc/e784c962ea252f0874a4305168077e7048cb39e9/library/std/src/sys/unix/thread.rs:106:17 [INFO] [stdout] 45: 0x7f319a2fb609 - start_thread [INFO] [stdout] 46: 0x7f319a0cd293 - clone [INFO] [stdout] 47: 0x0 - [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: 0x55ee99813f9c - std::backtrace_rs::backtrace::libunwind::trace::h51faa62df48810e4 [INFO] [stdout] at /rustc/e784c962ea252f0874a4305168077e7048cb39e9/library/std/src/../../backtrace/src/backtrace/libunwind.rs:90:5 [INFO] [stdout] 1: 0x55ee99813f9c - std::backtrace_rs::backtrace::trace_unsynchronized::h91de4d8e16d607e4 [INFO] [stdout] at /rustc/e784c962ea252f0874a4305168077e7048cb39e9/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5 [INFO] [stdout] 2: 0x55ee99813f9c - std::sys_common::backtrace::_print_fmt::h71b0935f97e4322c [INFO] [stdout] at /rustc/e784c962ea252f0874a4305168077e7048cb39e9/library/std/src/sys_common/backtrace.rs:67:5 [INFO] [stdout] 3: 0x55ee99813f9c - ::fmt::h9a78218788c14e18 [INFO] [stdout] at /rustc/e784c962ea252f0874a4305168077e7048cb39e9/library/std/src/sys_common/backtrace.rs:46:22 [INFO] [stdout] 4: 0x55ee9983789c - core::fmt::write::h3381b3176fe2b3d3 [INFO] [stdout] at /rustc/e784c962ea252f0874a4305168077e7048cb39e9/library/core/src/fmt/mod.rs:1150:17 [INFO] [stdout] 5: 0x55ee99810be5 - std::io::Write::write_fmt::hb6383f24fe197d3c [INFO] [stdout] at /rustc/e784c962ea252f0874a4305168077e7048cb39e9/library/std/src/io/mod.rs:1667:15 [INFO] [stdout] 6: 0x55ee99815c50 - std::sys_common::backtrace::_print::h4b77abc4d907ed0e [INFO] [stdout] at /rustc/e784c962ea252f0874a4305168077e7048cb39e9/library/std/src/sys_common/backtrace.rs:49:5 [INFO] [stdout] 7: 0x55ee99815c50 - std::sys_common::backtrace::print::hb170c60b542377ad [INFO] [stdout] at /rustc/e784c962ea252f0874a4305168077e7048cb39e9/library/std/src/sys_common/backtrace.rs:36:9 [INFO] [stdout] 8: 0x55ee99815c50 - std::panicking::default_hook::{{closure}}::h12bbda9af8901ee3 [INFO] [stdout] at /rustc/e784c962ea252f0874a4305168077e7048cb39e9/library/std/src/panicking.rs:210:50 [INFO] [stdout] 9: 0x55ee99815842 - std::panicking::default_hook::h8c6c66d3f3ba6768 [INFO] [stdout] at /rustc/e784c962ea252f0874a4305168077e7048cb39e9/library/std/src/panicking.rs:224:9 [INFO] [stdout] 10: 0x55ee99816304 - std::panicking::rust_panic_with_hook::h36f2fa0bb09f4069 [INFO] [stdout] at /rustc/e784c962ea252f0874a4305168077e7048cb39e9/library/std/src/panicking.rs:624:17 [INFO] [stdout] 11: 0x55ee99815db2 - std::panicking::begin_panic_handler::{{closure}}::h9c42b65a42d06a7a [INFO] [stdout] at /rustc/e784c962ea252f0874a4305168077e7048cb39e9/library/std/src/panicking.rs:519:13 [INFO] [stdout] 12: 0x55ee99814464 - std::sys_common::backtrace::__rust_end_short_backtrace::hc791bddfe31e532c [INFO] [stdout] at /rustc/e784c962ea252f0874a4305168077e7048cb39e9/library/std/src/sys_common/backtrace.rs:141:18 [INFO] [stdout] 13: 0x55ee99815d49 - rust_begin_unwind [INFO] [stdout] at /rustc/e784c962ea252f0874a4305168077e7048cb39e9/library/std/src/panicking.rs:517:5 [INFO] [stdout] 14: 0x55ee997646e1 - core::panicking::panic_fmt::hf9de31d4acbce4db [INFO] [stdout] at /rustc/e784c962ea252f0874a4305168077e7048cb39e9/library/core/src/panicking.rs:101:14 [INFO] [stdout] 15: 0x55ee9976462d - core::panicking::panic::h8a6bc58a21c6c095 [INFO] [stdout] at /rustc/e784c962ea252f0874a4305168077e7048cb39e9/library/core/src/panicking.rs:50:5 [INFO] [stdout] 16: 0x55ee9976a474 - core::mem::uninitialized::he6ce8db38278b1cb [INFO] [stdout] at /rustc/e784c962ea252f0874a4305168077e7048cb39e9/library/core/src/mem/mod.rs:665:9 [INFO] [stdout] 17: 0x55ee9976a474 - daydreamer::position::State::undo_state::hf0a34c1776b36ab0 [INFO] [stdout] at /opt/rustwide/workdir/src/position.rs:146:35 [INFO] [stdout] 18: 0x55ee9979742a - daydreamer::position::tests::test_do_move::{{closure}}::h758413f06be9f84f [INFO] [stdout] at /opt/rustwide/workdir/src/position.rs:1289:24 [INFO] [stdout] 19: 0x55ee99796f3d - daydreamer::position::tests::test_do_move::h874616b947f47b23 [INFO] [stdout] at /opt/rustwide/workdir/src/position.rs:1295:9 [INFO] [stdout] 20: 0x55ee99796e8a - daydreamer::position::tests::test_do_move::{{closure}}::h7aad7ed3574c19f1 [INFO] [stdout] at /opt/rustwide/workdir/src/macros.rs:79:9 [INFO] [stdout] 21: 0x55ee9978ae2e - core::ops::function::FnOnce::call_once::hcf5f9a1dc2041972 [INFO] [stdout] at /rustc/e784c962ea252f0874a4305168077e7048cb39e9/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 22: 0x55ee997e8063 - core::ops::function::FnOnce::call_once::h61555a204318cc58 [INFO] [stdout] at /rustc/e784c962ea252f0874a4305168077e7048cb39e9/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 23: 0x55ee997e8063 - test::__rust_begin_short_backtrace::h8331e7b1cc7a6e62 [INFO] [stdout] at /rustc/e784c962ea252f0874a4305168077e7048cb39e9/library/test/src/lib.rs:578:5 [INFO] [stdout] 24: 0x55ee997e6ae8 - as core::ops::function::FnOnce>::call_once::h98582e597fa7f145 [INFO] [stdout] at /rustc/e784c962ea252f0874a4305168077e7048cb39e9/library/alloc/src/boxed.rs:1636:9 [INFO] [stdout] 25: 0x55ee997e6ae8 - as core::ops::function::FnOnce<()>>::call_once::h38fa7a0826ecff45 [INFO] [stdout] at /rustc/e784c962ea252f0874a4305168077e7048cb39e9/library/core/src/panic/unwind_safe.rs:271:9 [INFO] [stdout] 26: 0x55ee997e6ae8 - std::panicking::try::do_call::h5b27d1cfffaa9f87 [INFO] [stdout] at /rustc/e784c962ea252f0874a4305168077e7048cb39e9/library/std/src/panicking.rs:403:40 [INFO] [stdout] 27: 0x55ee997e6ae8 - std::panicking::try::h86f7124b3264bcbe [INFO] [stdout] at /rustc/e784c962ea252f0874a4305168077e7048cb39e9/library/std/src/panicking.rs:367:19 [INFO] [stdout] 28: 0x55ee997e6ae8 - std::panic::catch_unwind::h42dadf3598df7528 [INFO] [stdout] at /rustc/e784c962ea252f0874a4305168077e7048cb39e9/library/std/src/panic.rs:129:14 [INFO] [stdout] 29: 0x55ee997e6ae8 - test::run_test_in_process::h9d4b7510f0910050 [INFO] [stdout] at /rustc/e784c962ea252f0874a4305168077e7048cb39e9/library/test/src/lib.rs:601:18 [INFO] [stdout] 30: 0x55ee997e6ae8 - test::run_test::run_test_inner::{{closure}}::h9b17f1fd181fe294 [INFO] [stdout] at /rustc/e784c962ea252f0874a4305168077e7048cb39e9/library/test/src/lib.rs:493:39 [INFO] [stdout] 31: 0x55ee997b463e - test::run_test::run_test_inner::{{closure}}::h476f9211dfec6075 [INFO] [stdout] at /rustc/e784c962ea252f0874a4305168077e7048cb39e9/library/test/src/lib.rs:520:37 [INFO] [stdout] 32: 0x55ee997b463e - std::sys_common::backtrace::__rust_begin_short_backtrace::h5c2db6945645950d [INFO] [stdout] at /rustc/e784c962ea252f0874a4305168077e7048cb39e9/library/std/src/sys_common/backtrace.rs:125:18 [INFO] [stdout] 33: 0x55ee997b8ed8 - std::thread::Builder::spawn_unchecked::{{closure}}::{{closure}}::h791169ea9ba5492d [INFO] [stdout] at /rustc/e784c962ea252f0874a4305168077e7048cb39e9/library/std/src/thread/mod.rs:481:17 [INFO] [stdout] 34: 0x55ee997b8ed8 - as core::ops::function::FnOnce<()>>::call_once::he930357ede3f4b4d [INFO] [stdout] at /rustc/e784c962ea252f0874a4305168077e7048cb39e9/library/core/src/panic/unwind_safe.rs:271:9 [INFO] [stdout] 35: 0x55ee997b8ed8 - std::panicking::try::do_call::h0de4b1dd08a9aa80 [INFO] [stdout] at /rustc/e784c962ea252f0874a4305168077e7048cb39e9/library/std/src/panicking.rs:403:40 [INFO] [stdout] 36: 0x55ee997b8ed8 - std::panicking::try::hf5b5c530df698d97 [INFO] [stdout] at /rustc/e784c962ea252f0874a4305168077e7048cb39e9/library/std/src/panicking.rs:367:19 [INFO] [stdout] 37: 0x55ee997b8ed8 - std::panic::catch_unwind::hed97078f17dbf191 [INFO] [stdout] at /rustc/e784c962ea252f0874a4305168077e7048cb39e9/library/std/src/panic.rs:129:14 [INFO] [stdout] 38: 0x55ee997b8ed8 - std::thread::Builder::spawn_unchecked::{{closure}}::h2e673950929cba93 [INFO] [stdout] at /rustc/e784c962ea252f0874a4305168077e7048cb39e9/library/std/src/thread/mod.rs:480:30 [INFO] [stdout] 39: 0x55ee997b8ed8 - core::ops::function::FnOnce::call_once{{vtable.shim}}::h8e18ddd18a52f010 [INFO] [stdout] at /rustc/e784c962ea252f0874a4305168077e7048cb39e9/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 40: 0x55ee9981afb3 - as core::ops::function::FnOnce>::call_once::hbbbb32ef11ea0ad2 [INFO] [stdout] at /rustc/e784c962ea252f0874a4305168077e7048cb39e9/library/alloc/src/boxed.rs:1636:9 [INFO] [stdout] 41: 0x55ee9981afb3 - as core::ops::function::FnOnce>::call_once::h3b8ef23699fc5385 [INFO] [stdout] at /rustc/e784c962ea252f0874a4305168077e7048cb39e9/library/alloc/src/boxed.rs:1636:9 [INFO] [stdout] 42: 0x55ee9981afb3 - std::sys::unix::thread::Thread::new::thread_start::ha57f5cba35f709b7 [INFO] [stdout] at /rustc/e784c962ea252f0874a4305168077e7048cb39e9/library/std/src/sys/unix/thread.rs:106:17 [INFO] [stdout] 43: 0x7f319a2fb609 - start_thread [INFO] [stdout] 44: 0x7f319a0cd293 - clone [INFO] [stdout] 45: 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.67s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass '--bin daydreamer' [INFO] running `Command { std: "docker" "inspect" "3e227e30ffe9e8cf6a4e5b4629f779a7c4780343be3eee058290715d49824e3d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3e227e30ffe9e8cf6a4e5b4629f779a7c4780343be3eee058290715d49824e3d", kill_on_drop: false }` [INFO] [stdout] 3e227e30ffe9e8cf6a4e5b4629f779a7c4780343be3eee058290715d49824e3d