[INFO] fetching crate tanton 1.0.0... [INFO] testing tanton-1.0.0 against try#b83b707f97d809763b7861afa7638871f3339a33 for pr-145838-1 [INFO] extracting crate tanton 1.0.0 into /workspace/builds/worker-5-tc2/source [INFO] started tweaking crates.io crate tanton 1.0.0 [INFO] finished tweaking crates.io crate tanton 1.0.0 [INFO] tweaked toml for crates.io crate tanton 1.0.0 written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate tanton 1.0.0 on toolchain b83b707f97d809763b7861afa7638871f3339a33 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 70 packages to latest compatible versions [INFO] [stderr] Adding bitflags v1.3.2 (available: v2.9.3) [INFO] [stderr] Adding criterion v0.2.11 (available: v0.7.0) [INFO] [stderr] Adding rand v0.8.5 (available: v0.9.2) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e45c71970307d098b52f6064c8b590c2543472775ced12bac675685980593b39 [INFO] running `Command { std: "docker" "start" "-a" "e45c71970307d098b52f6064c8b590c2543472775ced12bac675685980593b39", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e45c71970307d098b52f6064c8b590c2543472775ced12bac675685980593b39", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e45c71970307d098b52f6064c8b590c2543472775ced12bac675685980593b39", kill_on_drop: false }` [INFO] [stdout] e45c71970307d098b52f6064c8b590c2543472775ced12bac675685980593b39 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d33cf4a37efcd06f1c3620cd36b939e1bc4d5907097304cfa88d0d31c23d3532 [INFO] running `Command { std: "docker" "start" "-a" "d33cf4a37efcd06f1c3620cd36b939e1bc4d5907097304cfa88d0d31c23d3532", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling libc v0.2.175 [INFO] [stderr] Compiling cfg-if v1.0.3 [INFO] [stderr] Compiling rayon-core v1.13.0 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Compiling zerocopy v0.8.26 [INFO] [stderr] Compiling mucow v0.1.0 [INFO] [stderr] Compiling crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling num_cpus v1.17.0 [INFO] [stderr] Compiling crossbeam-deque v0.8.6 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling rayon v1.11.0 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling tanton v1.0.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition value: `dev` [INFO] [stdout] --> src/lib.rs:65:13 [INFO] [stdout] | [INFO] [stdout] 65 | #![cfg_attr(feature = "dev", allow(unstable_features))] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default` and `nightly` [INFO] [stdout] = help: consider adding `dev` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `128` [INFO] [stdout] --> src/core/move_list.rs:66:7 [INFO] [stdout] | [INFO] [stdout] 66 | #[cfg(target_pointer_width = "128")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `target_pointer_width` are: `16`, `32`, and `64` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `8` [INFO] [stdout] --> src/core/move_list.rs:72:40 [INFO] [stdout] | [INFO] [stdout] 72 | #[cfg(any(target_pointer_width = "16", target_pointer_width = "8",))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `target_pointer_width` are: `16`, `32`, and `64` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around const expression [INFO] [stdout] --> src/helper/psqt.rs:5:24 [INFO] [stdout] | [INFO] [stdout] 5 | const BONUS: [[[Score; (FILE_CNT / 2)]; RANK_CNT]; PIECE_TYPE_CNT] = [ [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 5 - const BONUS: [[[Score; (FILE_CNT / 2)]; RANK_CNT]; PIECE_TYPE_CNT] = [ [INFO] [stdout] 5 + const BONUS: [[[Score; FILE_CNT / 2]; RANK_CNT]; PIECE_TYPE_CNT] = [ [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/helper/boards.rs:46:15 [INFO] [stdout] | [INFO] [stdout] 46 | unsafe { *KNIGHT_TABLE.get_unchecked(sq.0 as usize) } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/helper/boards.rs:53:15 [INFO] [stdout] | [INFO] [stdout] 53 | unsafe { *KING_TABLE.get_unchecked(sq.0 as usize) } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/helper/boards.rs:69:15 [INFO] [stdout] | [INFO] [stdout] 69 | unsafe { *(LINE_BITBOARD.get_unchecked(sq_one.0 as usize)).get_unchecked(sq_two.0 as usize) } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/helper/boards.rs:78:10 [INFO] [stdout] | [INFO] [stdout] 78 | *(BETWEEN_SQUARES_BB.get_unchecked(sq_one.0 as usize)).get_unchecked(sq_two.0 as usize) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/helper/boards.rs:86:15 [INFO] [stdout] | [INFO] [stdout] 86 | unsafe { *ADJACENT_FILES_BB.get_unchecked(sq.file() as usize) } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/helper/boards.rs:92:15 [INFO] [stdout] | [INFO] [stdout] 92 | unsafe { *ADJACENT_FILES_BB.get_unchecked(f as usize) } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/helper/boards.rs:100:10 [INFO] [stdout] | [INFO] [stdout] 100 | *PAWN_ATTACKS_FROM [INFO] [stdout] | __________^ [INFO] [stdout] 101 | | .get_unchecked(player as usize) [INFO] [stdout] | |___________________________________________^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/helper/boards.rs:121:10 [INFO] [stdout] | [INFO] [stdout] 121 | *DISTANCE_RING_TABLE [INFO] [stdout] | __________^ [INFO] [stdout] 122 | | .get_unchecked(distance as usize) [INFO] [stdout] | |_____________________________________________^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/helper/boards.rs:131:10 [INFO] [stdout] | [INFO] [stdout] 131 | *FORWARD_RANKS_BB [INFO] [stdout] | __________^ [INFO] [stdout] 132 | | .get_unchecked(rank as usize) [INFO] [stdout] | |_________________________________________^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/helper/boards.rs:150:10 [INFO] [stdout] | [INFO] [stdout] 150 | *PAWN_ATTACKS_SPAN [INFO] [stdout] | __________^ [INFO] [stdout] 151 | | .get_unchecked(player as usize) [INFO] [stdout] | |___________________________________________^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/helper/boards.rs:165:10 [INFO] [stdout] | [INFO] [stdout] 165 | *FORWARD_FILE_BB [INFO] [stdout] | __________^ [INFO] [stdout] 166 | | .get_unchecked(player as usize) [INFO] [stdout] | |___________________________________________^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/helper/boards.rs:180:10 [INFO] [stdout] | [INFO] [stdout] 180 | *PASSED_PAWN_MASK [INFO] [stdout] | __________^ [INFO] [stdout] 181 | | .get_unchecked(player as usize) [INFO] [stdout] | |___________________________________________^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/helper/boards.rs:191:30 [INFO] [stdout] | [INFO] [stdout] 191 | for (index, spot) in KNIGHT_TABLE.iter_mut().enumerate() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/helper/magic.rs:35:13 [INFO] [stdout] | [INFO] [stdout] 35 | BISHOP_MAGICS.as_mut_ptr(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/helper/magic.rs:36:13 [INFO] [stdout] | [INFO] [stdout] 36 | BISHOP_TABLE.as_mut_ptr(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/helper/magic.rs:41:13 [INFO] [stdout] | [INFO] [stdout] 41 | ROOK_MAGICS.as_mut_ptr(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/helper/magic.rs:42:13 [INFO] [stdout] | [INFO] [stdout] 42 | ROOK_TABLE.as_mut_ptr(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/helper/magic.rs:49:41 [INFO] [stdout] | [INFO] [stdout] 49 | let magic_entry: &SMagic = unsafe { BISHOP_MAGICS.get_unchecked(square as usize) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/helper/magic.rs:58:41 [INFO] [stdout] | [INFO] [stdout] 58 | let magic_entry: &SMagic = unsafe { ROOK_MAGICS.get_unchecked(square as usize) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `[PreSMagic; 64]` does not permit being left uninitialized [INFO] [stdout] --> src/helper/magic.rs:109:36 [INFO] [stdout] | [INFO] [stdout] 109 | let arr: [PreSMagic; 64] = mem::MaybeUninit::uninit().assume_init(); [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: integers must be initialized (in this struct field) [INFO] [stdout] --> src/helper/magic.rs:89:5 [INFO] [stdout] | [INFO] [stdout] 89 | start: usize, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(invalid_value)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/helper/psqt.rs:217:15 [INFO] [stdout] | [INFO] [stdout] 217 | unsafe { *(PSQ.get_unchecked(piece as usize)).get_unchecked(sq.0 as usize) } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/helper/zobrist.rs:62:17 [INFO] [stdout] | [INFO] [stdout] 62 | unsafe { *(*ZOBRIST_PIECE_SQUARE.get_unchecked(sq.0 as usize)).get_unchecked(piece as usize) } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/helper/zobrist.rs:68:15 [INFO] [stdout] | [INFO] [stdout] 68 | unsafe { *ZOBRIST_ENPASSANT.get_unchecked(sq.file() as usize) } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/helper/zobrist.rs:74:15 [INFO] [stdout] | [INFO] [stdout] 74 | unsafe { *ZOBRIST_CASTLE.get_unchecked(castle as usize) } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/tools/prng.rs:38:37 [INFO] [stdout] | [INFO] [stdout] 38 | let arr: [u8; 8] = unsafe { transmute(self.rand() ^ self.rand()) }; [INFO] [stdout] | ---------^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `u64::to_ne_bytes` [INFO] [stdout] | [INFO] [stdout] = help: there's also `to_le_bytes` and `to_be_bytes` if you expect a particular byte order [INFO] [stdout] = note: `#[warn(unnecessary_transmutes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [optimized + debuginfo] target(s) in 20.64s [INFO] running `Command { std: "docker" "inspect" "d33cf4a37efcd06f1c3620cd36b939e1bc4d5907097304cfa88d0d31c23d3532", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d33cf4a37efcd06f1c3620cd36b939e1bc4d5907097304cfa88d0d31c23d3532", kill_on_drop: false }` [INFO] [stdout] d33cf4a37efcd06f1c3620cd36b939e1bc4d5907097304cfa88d0d31c23d3532 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 99311aad9960e0c374b0b67ab2ab0a7c26bebc2cb2d38eedad07776413b9ef7a [INFO] running `Command { std: "docker" "start" "-a" "99311aad9960e0c374b0b67ab2ab0a7c26bebc2cb2d38eedad07776413b9ef7a", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling libc v0.2.175 [INFO] [stderr] Compiling cfg-if v1.0.3 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Compiling zerocopy v0.8.26 [INFO] [stderr] Compiling rustc_version v0.4.1 [INFO] [stderr] Compiling memchr v2.7.5 [INFO] [stderr] Compiling rand_core v0.4.2 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling itoa v1.0.15 [INFO] [stderr] Compiling ryu v1.0.20 [INFO] [stderr] Compiling unicode-width v0.1.14 [INFO] [stderr] Compiling cast v0.2.7 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling serde_json v1.0.143 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling csv-core v0.1.12 [INFO] [stderr] Compiling crossbeam-deque v0.8.6 [INFO] [stderr] Compiling rayon-core v1.13.0 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling rand_core v0.3.1 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling walkdir v2.5.0 [INFO] [stderr] Compiling rand_xoshiro v0.1.0 [INFO] [stderr] Compiling rayon v1.11.0 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling rand_os v0.1.3 [INFO] [stderr] Compiling csv v1.3.1 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling num_cpus v1.17.0 [INFO] [stderr] Compiling clap v2.34.0 [INFO] [stderr] Compiling itertools v0.8.2 [INFO] [stderr] Compiling mucow v0.1.0 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling tanton v1.0.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition value: `dev` [INFO] [stdout] --> src/lib.rs:65:13 [INFO] [stdout] | [INFO] [stdout] 65 | #![cfg_attr(feature = "dev", allow(unstable_features))] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default` and `nightly` [INFO] [stdout] = help: consider adding `dev` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `128` [INFO] [stdout] --> src/core/move_list.rs:66:7 [INFO] [stdout] | [INFO] [stdout] 66 | #[cfg(target_pointer_width = "128")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `target_pointer_width` are: `16`, `32`, and `64` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `8` [INFO] [stdout] --> src/core/move_list.rs:72:40 [INFO] [stdout] | [INFO] [stdout] 72 | #[cfg(any(target_pointer_width = "16", target_pointer_width = "8",))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `target_pointer_width` are: `16`, `32`, and `64` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around const expression [INFO] [stdout] --> src/helper/psqt.rs:5:24 [INFO] [stdout] | [INFO] [stdout] 5 | const BONUS: [[[Score; (FILE_CNT / 2)]; RANK_CNT]; PIECE_TYPE_CNT] = [ [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 5 - const BONUS: [[[Score; (FILE_CNT / 2)]; RANK_CNT]; PIECE_TYPE_CNT] = [ [INFO] [stdout] 5 + const BONUS: [[[Score; FILE_CNT / 2]; RANK_CNT]; PIECE_TYPE_CNT] = [ [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/helper/boards.rs:46:15 [INFO] [stdout] | [INFO] [stdout] 46 | unsafe { *KNIGHT_TABLE.get_unchecked(sq.0 as usize) } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/helper/boards.rs:53:15 [INFO] [stdout] | [INFO] [stdout] 53 | unsafe { *KING_TABLE.get_unchecked(sq.0 as usize) } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/helper/boards.rs:69:15 [INFO] [stdout] | [INFO] [stdout] 69 | unsafe { *(LINE_BITBOARD.get_unchecked(sq_one.0 as usize)).get_unchecked(sq_two.0 as usize) } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/helper/boards.rs:78:10 [INFO] [stdout] | [INFO] [stdout] 78 | *(BETWEEN_SQUARES_BB.get_unchecked(sq_one.0 as usize)).get_unchecked(sq_two.0 as usize) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/helper/boards.rs:86:15 [INFO] [stdout] | [INFO] [stdout] 86 | unsafe { *ADJACENT_FILES_BB.get_unchecked(sq.file() as usize) } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/helper/boards.rs:92:15 [INFO] [stdout] | [INFO] [stdout] 92 | unsafe { *ADJACENT_FILES_BB.get_unchecked(f as usize) } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/helper/boards.rs:100:10 [INFO] [stdout] | [INFO] [stdout] 100 | *PAWN_ATTACKS_FROM [INFO] [stdout] | __________^ [INFO] [stdout] 101 | | .get_unchecked(player as usize) [INFO] [stdout] | |___________________________________________^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/helper/boards.rs:121:10 [INFO] [stdout] | [INFO] [stdout] 121 | *DISTANCE_RING_TABLE [INFO] [stdout] | __________^ [INFO] [stdout] 122 | | .get_unchecked(distance as usize) [INFO] [stdout] | |_____________________________________________^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/helper/boards.rs:131:10 [INFO] [stdout] | [INFO] [stdout] 131 | *FORWARD_RANKS_BB [INFO] [stdout] | __________^ [INFO] [stdout] 132 | | .get_unchecked(rank as usize) [INFO] [stdout] | |_________________________________________^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/helper/boards.rs:150:10 [INFO] [stdout] | [INFO] [stdout] 150 | *PAWN_ATTACKS_SPAN [INFO] [stdout] | __________^ [INFO] [stdout] 151 | | .get_unchecked(player as usize) [INFO] [stdout] | |___________________________________________^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/helper/boards.rs:165:10 [INFO] [stdout] | [INFO] [stdout] 165 | *FORWARD_FILE_BB [INFO] [stdout] | __________^ [INFO] [stdout] 166 | | .get_unchecked(player as usize) [INFO] [stdout] | |___________________________________________^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/helper/boards.rs:180:10 [INFO] [stdout] | [INFO] [stdout] 180 | *PASSED_PAWN_MASK [INFO] [stdout] | __________^ [INFO] [stdout] 181 | | .get_unchecked(player as usize) [INFO] [stdout] | |___________________________________________^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/helper/boards.rs:191:30 [INFO] [stdout] | [INFO] [stdout] 191 | for (index, spot) in KNIGHT_TABLE.iter_mut().enumerate() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/helper/magic.rs:35:13 [INFO] [stdout] | [INFO] [stdout] 35 | BISHOP_MAGICS.as_mut_ptr(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/helper/magic.rs:36:13 [INFO] [stdout] | [INFO] [stdout] 36 | BISHOP_TABLE.as_mut_ptr(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/helper/magic.rs:41:13 [INFO] [stdout] | [INFO] [stdout] 41 | ROOK_MAGICS.as_mut_ptr(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/helper/magic.rs:42:13 [INFO] [stdout] | [INFO] [stdout] 42 | ROOK_TABLE.as_mut_ptr(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/helper/magic.rs:49:41 [INFO] [stdout] | [INFO] [stdout] 49 | let magic_entry: &SMagic = unsafe { BISHOP_MAGICS.get_unchecked(square as usize) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/helper/magic.rs:58:41 [INFO] [stdout] | [INFO] [stdout] 58 | let magic_entry: &SMagic = unsafe { ROOK_MAGICS.get_unchecked(square as usize) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `[PreSMagic; 64]` does not permit being left uninitialized [INFO] [stdout] --> src/helper/magic.rs:109:36 [INFO] [stdout] | [INFO] [stdout] 109 | let arr: [PreSMagic; 64] = mem::MaybeUninit::uninit().assume_init(); [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: integers must be initialized (in this struct field) [INFO] [stdout] --> src/helper/magic.rs:89:5 [INFO] [stdout] | [INFO] [stdout] 89 | start: usize, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(invalid_value)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/helper/psqt.rs:217:15 [INFO] [stdout] | [INFO] [stdout] 217 | unsafe { *(PSQ.get_unchecked(piece as usize)).get_unchecked(sq.0 as usize) } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/helper/zobrist.rs:62:17 [INFO] [stdout] | [INFO] [stdout] 62 | unsafe { *(*ZOBRIST_PIECE_SQUARE.get_unchecked(sq.0 as usize)).get_unchecked(piece as usize) } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/helper/zobrist.rs:68:15 [INFO] [stdout] | [INFO] [stdout] 68 | unsafe { *ZOBRIST_ENPASSANT.get_unchecked(sq.file() as usize) } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/helper/zobrist.rs:74:15 [INFO] [stdout] | [INFO] [stdout] 74 | unsafe { *ZOBRIST_CASTLE.get_unchecked(castle as usize) } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/tools/prng.rs:38:37 [INFO] [stdout] | [INFO] [stdout] 38 | let arr: [u8; 8] = unsafe { transmute(self.rand() ^ self.rand()) }; [INFO] [stdout] | ---------^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `u64::to_ne_bytes` [INFO] [stdout] | [INFO] [stdout] = help: there's also `to_le_bytes` and `to_be_bytes` if you expect a particular byte order [INFO] [stdout] = note: `#[warn(unnecessary_transmutes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling criterion v0.2.11 [INFO] [stdout] warning: unexpected `cfg` condition value: `dev` [INFO] [stdout] --> src/lib.rs:65:13 [INFO] [stdout] | [INFO] [stdout] 65 | #![cfg_attr(feature = "dev", allow(unstable_features))] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default` and `nightly` [INFO] [stdout] = help: consider adding `dev` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `128` [INFO] [stdout] --> src/core/move_list.rs:66:7 [INFO] [stdout] | [INFO] [stdout] 66 | #[cfg(target_pointer_width = "128")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `target_pointer_width` are: `16`, `32`, and `64` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `8` [INFO] [stdout] --> src/core/move_list.rs:72:40 [INFO] [stdout] | [INFO] [stdout] 72 | #[cfg(any(target_pointer_width = "16", target_pointer_width = "8",))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `target_pointer_width` are: `16`, `32`, and `64` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around const expression [INFO] [stdout] --> src/helper/psqt.rs:5:24 [INFO] [stdout] | [INFO] [stdout] 5 | const BONUS: [[[Score; (FILE_CNT / 2)]; RANK_CNT]; PIECE_TYPE_CNT] = [ [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 5 - const BONUS: [[[Score; (FILE_CNT / 2)]; RANK_CNT]; PIECE_TYPE_CNT] = [ [INFO] [stdout] 5 + const BONUS: [[[Score; FILE_CNT / 2]; RANK_CNT]; PIECE_TYPE_CNT] = [ [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/helper/boards.rs:46:15 [INFO] [stdout] | [INFO] [stdout] 46 | unsafe { *KNIGHT_TABLE.get_unchecked(sq.0 as usize) } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/helper/boards.rs:53:15 [INFO] [stdout] | [INFO] [stdout] 53 | unsafe { *KING_TABLE.get_unchecked(sq.0 as usize) } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/helper/boards.rs:69:15 [INFO] [stdout] | [INFO] [stdout] 69 | unsafe { *(LINE_BITBOARD.get_unchecked(sq_one.0 as usize)).get_unchecked(sq_two.0 as usize) } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/helper/boards.rs:78:10 [INFO] [stdout] | [INFO] [stdout] 78 | *(BETWEEN_SQUARES_BB.get_unchecked(sq_one.0 as usize)).get_unchecked(sq_two.0 as usize) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/helper/boards.rs:86:15 [INFO] [stdout] | [INFO] [stdout] 86 | unsafe { *ADJACENT_FILES_BB.get_unchecked(sq.file() as usize) } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/helper/boards.rs:92:15 [INFO] [stdout] | [INFO] [stdout] 92 | unsafe { *ADJACENT_FILES_BB.get_unchecked(f as usize) } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/helper/boards.rs:100:10 [INFO] [stdout] | [INFO] [stdout] 100 | *PAWN_ATTACKS_FROM [INFO] [stdout] | __________^ [INFO] [stdout] 101 | | .get_unchecked(player as usize) [INFO] [stdout] | |___________________________________________^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/helper/boards.rs:121:10 [INFO] [stdout] | [INFO] [stdout] 121 | *DISTANCE_RING_TABLE [INFO] [stdout] | __________^ [INFO] [stdout] 122 | | .get_unchecked(distance as usize) [INFO] [stdout] | |_____________________________________________^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/helper/boards.rs:131:10 [INFO] [stdout] | [INFO] [stdout] 131 | *FORWARD_RANKS_BB [INFO] [stdout] | __________^ [INFO] [stdout] 132 | | .get_unchecked(rank as usize) [INFO] [stdout] | |_________________________________________^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/helper/boards.rs:150:10 [INFO] [stdout] | [INFO] [stdout] 150 | *PAWN_ATTACKS_SPAN [INFO] [stdout] | __________^ [INFO] [stdout] 151 | | .get_unchecked(player as usize) [INFO] [stdout] | |___________________________________________^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/helper/boards.rs:165:10 [INFO] [stdout] | [INFO] [stdout] 165 | *FORWARD_FILE_BB [INFO] [stdout] | __________^ [INFO] [stdout] 166 | | .get_unchecked(player as usize) [INFO] [stdout] | |___________________________________________^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/helper/boards.rs:180:10 [INFO] [stdout] | [INFO] [stdout] 180 | *PASSED_PAWN_MASK [INFO] [stdout] | __________^ [INFO] [stdout] 181 | | .get_unchecked(player as usize) [INFO] [stdout] | |___________________________________________^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/helper/boards.rs:191:30 [INFO] [stdout] | [INFO] [stdout] 191 | for (index, spot) in KNIGHT_TABLE.iter_mut().enumerate() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/helper/magic.rs:35:13 [INFO] [stdout] | [INFO] [stdout] 35 | BISHOP_MAGICS.as_mut_ptr(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/helper/magic.rs:36:13 [INFO] [stdout] | [INFO] [stdout] 36 | BISHOP_TABLE.as_mut_ptr(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/helper/magic.rs:41:13 [INFO] [stdout] | [INFO] [stdout] 41 | ROOK_MAGICS.as_mut_ptr(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/helper/magic.rs:42:13 [INFO] [stdout] | [INFO] [stdout] 42 | ROOK_TABLE.as_mut_ptr(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/helper/magic.rs:49:41 [INFO] [stdout] | [INFO] [stdout] 49 | let magic_entry: &SMagic = unsafe { BISHOP_MAGICS.get_unchecked(square as usize) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/helper/magic.rs:58:41 [INFO] [stdout] | [INFO] [stdout] 58 | let magic_entry: &SMagic = unsafe { ROOK_MAGICS.get_unchecked(square as usize) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `[PreSMagic; 64]` does not permit being left uninitialized [INFO] [stdout] --> src/helper/magic.rs:109:36 [INFO] [stdout] | [INFO] [stdout] 109 | let arr: [PreSMagic; 64] = mem::MaybeUninit::uninit().assume_init(); [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: integers must be initialized (in this struct field) [INFO] [stdout] --> src/helper/magic.rs:89:5 [INFO] [stdout] | [INFO] [stdout] 89 | start: usize, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(invalid_value)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/helper/psqt.rs:217:15 [INFO] [stdout] | [INFO] [stdout] 217 | unsafe { *(PSQ.get_unchecked(piece as usize)).get_unchecked(sq.0 as usize) } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/helper/zobrist.rs:62:17 [INFO] [stdout] | [INFO] [stdout] 62 | unsafe { *(*ZOBRIST_PIECE_SQUARE.get_unchecked(sq.0 as usize)).get_unchecked(piece as usize) } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/helper/zobrist.rs:68:15 [INFO] [stdout] | [INFO] [stdout] 68 | unsafe { *ZOBRIST_ENPASSANT.get_unchecked(sq.file() as usize) } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/helper/zobrist.rs:74:15 [INFO] [stdout] | [INFO] [stdout] 74 | unsafe { *ZOBRIST_CASTLE.get_unchecked(castle as usize) } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/tools/prng.rs:38:37 [INFO] [stdout] | [INFO] [stdout] 38 | let arr: [u8; 8] = unsafe { transmute(self.rand() ^ self.rand()) }; [INFO] [stdout] | ---------^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `u64::to_ne_bytes` [INFO] [stdout] | [INFO] [stdout] = help: there's also `to_le_bytes` and `to_be_bytes` if you expect a particular byte order [INFO] [stdout] = note: `#[warn(unnecessary_transmutes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [optimized + debuginfo] target(s) in 1m 21s [INFO] running `Command { std: "docker" "inspect" "99311aad9960e0c374b0b67ab2ab0a7c26bebc2cb2d38eedad07776413b9ef7a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "99311aad9960e0c374b0b67ab2ab0a7c26bebc2cb2d38eedad07776413b9ef7a", kill_on_drop: false }` [INFO] [stdout] 99311aad9960e0c374b0b67ab2ab0a7c26bebc2cb2d38eedad07776413b9ef7a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] faa3e8668d57536555b4727a153e19f798fe79ffb60854c82d3508e4c74f212d [INFO] running `Command { std: "docker" "start" "-a" "faa3e8668d57536555b4727a153e19f798fe79ffb60854c82d3508e4c74f212d", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] warning: unexpected `cfg` condition value: `dev` [INFO] [stderr] --> src/lib.rs:65:13 [INFO] [stderr] | [INFO] [stderr] 65 | #![cfg_attr(feature = "dev", allow(unstable_features))] [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: expected values for `feature` are: `default` and `nightly` [INFO] [stderr] = help: consider adding `dev` as a feature in `Cargo.toml` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `128` [INFO] [stderr] --> src/core/move_list.rs:66:7 [INFO] [stderr] | [INFO] [stderr] 66 | #[cfg(target_pointer_width = "128")] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: expected values for `target_pointer_width` are: `16`, `32`, and `64` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `8` [INFO] [stderr] --> src/core/move_list.rs:72:40 [INFO] [stderr] | [INFO] [stderr] 72 | #[cfg(any(target_pointer_width = "16", target_pointer_width = "8",))] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: expected values for `target_pointer_width` are: `16`, `32`, and `64` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around const expression [INFO] [stderr] --> src/helper/psqt.rs:5:24 [INFO] [stderr] | [INFO] [stderr] 5 | const BONUS: [[[Score; (FILE_CNT / 2)]; RANK_CNT]; PIECE_TYPE_CNT] = [ [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 5 - const BONUS: [[[Score; (FILE_CNT / 2)]; RANK_CNT]; PIECE_TYPE_CNT] = [ [INFO] [stderr] 5 + const BONUS: [[[Score; FILE_CNT / 2]; RANK_CNT]; PIECE_TYPE_CNT] = [ [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static [INFO] [stderr] --> src/helper/boards.rs:46:15 [INFO] [stderr] | [INFO] [stderr] 46 | unsafe { *KNIGHT_TABLE.get_unchecked(sq.0 as usize) } [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stderr] = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static [INFO] [stderr] --> src/helper/boards.rs:53:15 [INFO] [stderr] | [INFO] [stderr] 53 | unsafe { *KING_TABLE.get_unchecked(sq.0 as usize) } [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static [INFO] [stderr] --> src/helper/boards.rs:69:15 [INFO] [stderr] | [INFO] [stderr] 69 | unsafe { *(LINE_BITBOARD.get_unchecked(sq_one.0 as usize)).get_unchecked(sq_two.0 as usize) } [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static [INFO] [stderr] --> src/helper/boards.rs:78:10 [INFO] [stderr] | [INFO] [stderr] 78 | *(BETWEEN_SQUARES_BB.get_unchecked(sq_one.0 as usize)).get_unchecked(sq_two.0 as usize) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static [INFO] [stderr] --> src/helper/boards.rs:86:15 [INFO] [stderr] | [INFO] [stderr] 86 | unsafe { *ADJACENT_FILES_BB.get_unchecked(sq.file() as usize) } [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static [INFO] [stderr] --> src/helper/boards.rs:92:15 [INFO] [stderr] | [INFO] [stderr] 92 | unsafe { *ADJACENT_FILES_BB.get_unchecked(f as usize) } [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static [INFO] [stderr] --> src/helper/boards.rs:100:10 [INFO] [stderr] | [INFO] [stderr] 100 | *PAWN_ATTACKS_FROM [INFO] [stderr] | __________^ [INFO] [stderr] 101 | | .get_unchecked(player as usize) [INFO] [stderr] | |___________________________________________^ shared reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static [INFO] [stderr] --> src/helper/boards.rs:121:10 [INFO] [stderr] | [INFO] [stderr] 121 | *DISTANCE_RING_TABLE [INFO] [stderr] | __________^ [INFO] [stderr] 122 | | .get_unchecked(distance as usize) [INFO] [stderr] | |_____________________________________________^ shared reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static [INFO] [stderr] --> src/helper/boards.rs:131:10 [INFO] [stderr] | [INFO] [stderr] 131 | *FORWARD_RANKS_BB [INFO] [stderr] | __________^ [INFO] [stderr] 132 | | .get_unchecked(rank as usize) [INFO] [stderr] | |_________________________________________^ shared reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static [INFO] [stderr] --> src/helper/boards.rs:150:10 [INFO] [stderr] | [INFO] [stderr] 150 | *PAWN_ATTACKS_SPAN [INFO] [stderr] | __________^ [INFO] [stderr] 151 | | .get_unchecked(player as usize) [INFO] [stderr] | |___________________________________________^ shared reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static [INFO] [stderr] --> src/helper/boards.rs:165:10 [INFO] [stderr] | [INFO] [stderr] 165 | *FORWARD_FILE_BB [INFO] [stderr] | __________^ [INFO] [stderr] 166 | | .get_unchecked(player as usize) [INFO] [stderr] | |___________________________________________^ shared reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static [INFO] [stderr] --> src/helper/boards.rs:180:10 [INFO] [stderr] | [INFO] [stderr] 180 | *PASSED_PAWN_MASK [INFO] [stderr] | __________^ [INFO] [stderr] 181 | | .get_unchecked(player as usize) [INFO] [stderr] | |___________________________________________^ shared reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stderr] [INFO] [stderr] warning: creating a mutable reference to mutable static [INFO] [stderr] --> src/helper/boards.rs:191:30 [INFO] [stderr] | [INFO] [stderr] 191 | for (index, spot) in KNIGHT_TABLE.iter_mut().enumerate() { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stderr] [INFO] [stderr] warning: creating a mutable reference to mutable static [INFO] [stderr] --> src/helper/magic.rs:35:13 [INFO] [stderr] | [INFO] [stderr] 35 | BISHOP_MAGICS.as_mut_ptr(), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stderr] [INFO] [stderr] warning: creating a mutable reference to mutable static [INFO] [stderr] --> src/helper/magic.rs:36:13 [INFO] [stderr] | [INFO] [stderr] 36 | BISHOP_TABLE.as_mut_ptr(), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stderr] [INFO] [stderr] warning: creating a mutable reference to mutable static [INFO] [stderr] --> src/helper/magic.rs:41:13 [INFO] [stderr] | [INFO] [stderr] 41 | ROOK_MAGICS.as_mut_ptr(), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stderr] [INFO] [stderr] warning: creating a mutable reference to mutable static [INFO] [stderr] --> src/helper/magic.rs:42:13 [INFO] [stderr] | [INFO] [stderr] 42 | ROOK_TABLE.as_mut_ptr(), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static [INFO] [stderr] --> src/helper/magic.rs:49:41 [INFO] [stderr] | [INFO] [stderr] 49 | let magic_entry: &SMagic = unsafe { BISHOP_MAGICS.get_unchecked(square as usize) }; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static [INFO] [stderr] --> src/helper/magic.rs:58:41 [INFO] [stderr] | [INFO] [stderr] 58 | let magic_entry: &SMagic = unsafe { ROOK_MAGICS.get_unchecked(square as usize) }; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stderr] [INFO] [stderr] warning: the type `[PreSMagic; 64]` does not permit being left uninitialized [INFO] [stderr] --> src/helper/magic.rs:109:36 [INFO] [stderr] | [INFO] [stderr] 109 | let arr: [PreSMagic; 64] = mem::MaybeUninit::uninit().assume_init(); [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: integers must be initialized (in this struct field) [INFO] [stderr] --> src/helper/magic.rs:89:5 [INFO] [stderr] | [INFO] [stderr] 89 | start: usize, [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] = note: `#[warn(invalid_value)]` on by default [INFO] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static [INFO] [stderr] --> src/helper/psqt.rs:217:15 [INFO] [stderr] | [INFO] [stderr] 217 | unsafe { *(PSQ.get_unchecked(piece as usize)).get_unchecked(sq.0 as usize) } [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static [INFO] [stderr] --> src/helper/zobrist.rs:62:17 [INFO] [stderr] | [INFO] [stderr] 62 | unsafe { *(*ZOBRIST_PIECE_SQUARE.get_unchecked(sq.0 as usize)).get_unchecked(piece as usize) } [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static [INFO] [stderr] --> src/helper/zobrist.rs:68:15 [INFO] [stderr] | [INFO] [stderr] 68 | unsafe { *ZOBRIST_ENPASSANT.get_unchecked(sq.file() as usize) } [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static [INFO] [stderr] --> src/helper/zobrist.rs:74:15 [INFO] [stderr] | [INFO] [stderr] 74 | unsafe { *ZOBRIST_CASTLE.get_unchecked(castle as usize) } [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stderr] [INFO] [stderr] warning: unnecessary transmute [INFO] [stderr] --> src/tools/prng.rs:38:37 [INFO] [stderr] | [INFO] [stderr] 38 | let arr: [u8; 8] = unsafe { transmute(self.rand() ^ self.rand()) }; [INFO] [stderr] | ---------^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: replace this with: `u64::to_ne_bytes` [INFO] [stderr] | [INFO] [stderr] = help: there's also `to_le_bytes` and `to_be_bytes` if you expect a particular byte order [INFO] [stderr] = note: `#[warn(unnecessary_transmutes)]` on by default [INFO] [stderr] [INFO] [stderr] warning: `tanton` (lib) generated 29 warnings (run `cargo fix --lib -p tanton` to apply 2 suggestions) [INFO] [stderr] warning: `tanton` (lib test) generated 29 warnings (29 duplicates) [INFO] [stderr] Finished `test` profile [optimized + debuginfo] target(s) in 0.15s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/tanton-124059fd1e902764) [INFO] [stdout] [INFO] [stdout] running 40 tests [INFO] [stdout] test board::castle_rights::tests::const_test ... ok [INFO] [stdout] test board::movegen::tests::movelist_basic ... ok [INFO] [stdout] test board::movegen::tests::movegen_list_sim_basic ... ok [INFO] [stdout] test board::perft::tests::perft_kiwipete_all ... ignored [INFO] [stdout] test board::fen::tests::fen_extra_pawns ... ok [INFO] [stdout] test board::movegen::tests::movegen_list_sim_all ... ok [INFO] [stdout] test board::pgn::tests::tags_test ... ok [INFO] [stdout] test board::piece_locations::test::stack_overflow_test ... ok [INFO] [stdout] test board::tests::check_state ... ok [INFO] [stdout] test board::tests::fen_equality ... ok [INFO] [stdout] test board::perft::tests::perft_board_3 ... ok [INFO] [stdout] test board::perft::tests::perft_board_6 ... ok [INFO] [stdout] test board::tests::random_move_apply ... ok [INFO] [stdout] test board::tests::see_ge_all_fens ... ok [INFO] [stdout] test board::tests::uci_move ... ok [INFO] [stdout] test board::tests::zob_equality ... ok [INFO] [stdout] test board::perft::tests::start_pos_perft ... ok [INFO] [stdout] test bots::tests::alpha_equality ... ok [INFO] [stdout] test core::bit_twiddles::tests::lsb_t ... ok [INFO] [stdout] test core::bit_twiddles::tests::msb_t ... ok [INFO] [stdout] test core::bit_twiddles::tests::popcount_t ... ok [INFO] [stdout] test core::bit_twiddles::tests::test_bit_scan ... ok [INFO] [stdout] test core::bitboard::tests::bb_pop_lsb ... ok [INFO] [stdout] test core::bitboard::tests::rand_bb_gen_eq ... ok [INFO] [stdout] test core::macros::tests::macro_imlps_bb ... ok [INFO] [stdout] test core::macros::tests::macro_imlps_sq ... ok [INFO] [stdout] test helper::psqt::tests::psq_tes ... ok [INFO] [stdout] test helper::tests::init_helper ... ok [INFO] [stdout] test tools::prng::test::check_bit_displacement ... ok [INFO] [stdout] test tools::tt::tests::tt_alloc_realloc ... ok [INFO] [stdout] test tools::tt::tests::tt_basic_insert ... ok [INFO] [stdout] test board::tests::rand_board_gen_many ... ok [INFO] [stdout] test tools::tt::tests::tt_test_sizes ... ok [INFO] [stdout] test tools::tt::tests::tt_null_ptr ... ok [INFO] [stdout] test board::tests::rand_board_gen_one ... ok [INFO] [stdout] test board::movegen::tests::movegen_legal_pseudo ... ok [INFO] [stdout] test board::perft::tests::perft_board_5 ... ok [INFO] [stdout] test bots::tests::minimax_equality ... ok [INFO] [stdout] test board::perft::tests::start_pos_perft_all ... ok [INFO] [stdout] test board::perft::tests::perft_kiwipete ... ok [INFO] [stderr] Running tests/basic_bots.rs (/opt/rustwide/target/debug/deps/basic_bots-6d66580b254b6dd4) [INFO] [stdout] [INFO] [stdout] test result: ok. 39 passed; 0 failed; 1 ignored; 0 measured; 0 filtered out; finished in 12.38s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test test_all_bot ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 2.46s [INFO] [stdout] [INFO] [stderr] Running tests/board_build.rs (/opt/rustwide/target/debug/deps/board_build-ea1339712ad040d7) [INFO] [stdout] [INFO] [stdout] running 3 tests [INFO] [stdout] test basic_move_apply ... ok [INFO] [stdout] test test_init_counts ... ok [INFO] [stdout] test move_seq_1 ... ok [INFO] [stderr] Running tests/board_hash.rs (/opt/rustwide/target/debug/deps/board_hash-effb198bdb03b397) [INFO] [stdout] [INFO] [stdout] test result: ok. 3 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.08s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 3 tests [INFO] [stdout] test pawn_key_correctness ... ok [INFO] [stdout] test material_key_correctness ... ok [INFO] [stderr] Running tests/board_move_apply.rs (/opt/rustwide/target/debug/deps/board_move_apply-2c5c0132ef13f53a) [INFO] [stdout] test zobrist_correctness ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 3 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 4.60s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] test random_moves ... ok [INFO] [stdout] test apply_null_moves ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.14s [INFO] [stdout] [INFO] [stderr] Running tests/fen_building.rs (/opt/rustwide/target/debug/deps/fen_building-b8c7b3127425c099) [INFO] [stdout] [INFO] [stdout] running 3 tests [INFO] [stdout] test rank8_zero_fen ... ok [INFO] [stdout] test all_fens ... ok [INFO] [stdout] test basic_fen ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 3 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.22s [INFO] [stdout] [INFO] [stderr] Running tests/move_generating.rs (/opt/rustwide/target/debug/deps/move_generating-3dcc5277dc04524f) [INFO] [stdout] [INFO] [stdout] running 7 tests [INFO] [stdout] test bit_move_promoions ... ok [INFO] [stdout] test test_move_permutations ... ok [INFO] [stdout] test bit_move_position ... ok [INFO] [stdout] test test_opening_position ... ok [INFO] [stdout] test test_movegen_quiet_checks ... ok [INFO] [stdout] test test_movegen_captures ... ok [INFO] [stdout] test test_movegen_quiets ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 7 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 1.07s [INFO] [stdout] [INFO] [stderr] Running tests/pseudo_legal_checks.rs (/opt/rustwide/target/debug/deps/pseudo_legal_checks-d014e7a779ca5814) [INFO] [stdout] [INFO] [stdout] running 5 tests [INFO] [stdout] test legal_all_fens ... ok [INFO] [stdout] test pseudolegal_incheck ... ok [INFO] [stdout] test pseudolegal_all_fens ... ok [INFO] [stdout] test pseudolegal_rand ... ok [INFO] [stdout] test legal_rand ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 5 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 1.86s [INFO] [stdout] [INFO] [stderr] Running tests/test.rs (/opt/rustwide/target/debug/deps/test-06968cc258028ad4) [INFO] [stdout] [INFO] [stdout] running 24 tests [INFO] [stdout] test board_build::basic_move_apply ... ok [INFO] [stdout] test board_build::test_init_counts ... ok [INFO] [stdout] test board_build::move_seq_1 ... ok [INFO] [stdout] test board_move_apply::random_moves ... ok [INFO] [stdout] test fen_building::all_fens ... ok [INFO] [stdout] test fen_building::basic_fen ... ok [INFO] [stdout] test fen_building::rank8_zero_fen ... ok [INFO] [stdout] test move_generating::test_move_permutations ... ok [INFO] [stdout] test move_generating::bit_move_position ... ok [INFO] [stdout] test board_move_apply::apply_null_moves ... ok [INFO] [stdout] test move_generating::bit_move_promoions ... ok [INFO] [stdout] test move_generating::test_opening_position ... ok [INFO] [stdout] test pseudo_legal_checks::legal_all_fens ... ok [INFO] [stdout] test move_generating::test_movegen_quiets ... ok [INFO] [stdout] test pseudo_legal_checks::pseudolegal_all_fens ... ok [INFO] [stdout] test move_generating::test_movegen_quiet_checks ... ok [INFO] [stdout] test pseudo_legal_checks::pseudolegal_incheck ... ok [INFO] [stdout] test move_generating::test_movegen_captures ... ok [INFO] [stdout] test basic_bots::test_all_bot ... ok [INFO] [stdout] test pseudo_legal_checks::legal_rand ... ok [INFO] [stdout] test board_hash::material_key_correctness ... ok [INFO] [stdout] test pseudo_legal_checks::pseudolegal_rand ... ok [INFO] [stdout] test board_hash::zobrist_correctness ... ok [INFO] [stdout] test board_hash::pawn_key_correctness ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 24 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 8.95s [INFO] [stdout] [INFO] [stderr] Doc-tests tanton [INFO] [stderr] warning: unnecessary parentheses around const expression [INFO] [stderr] --> src/helper/psqt.rs:5:24 [INFO] [stderr] | [INFO] [stderr] 5 | const BONUS: [[[Score; (FILE_CNT / 2)]; RANK_CNT]; PIECE_TYPE_CNT] = [ [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 5 - const BONUS: [[[Score; (FILE_CNT / 2)]; RANK_CNT]; PIECE_TYPE_CNT] = [ [INFO] [stderr] 5 + const BONUS: [[[Score; FILE_CNT / 2]; RANK_CNT]; PIECE_TYPE_CNT] = [ [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: 1 warning emitted [INFO] [stderr] [INFO] [stdout] [INFO] [stdout] running 80 tests [INFO] [stdout] test src/board/mod.rs - board::Board::diagonal_piece_bb (line 1513) ... ok [INFO] [stdout] test src/board/mod.rs - board::Board::apply_null_move (line 979) ... ok [INFO] [stdout] test src/board/mod.rs - board::Board::empty (line 1421) ... ok [INFO] [stdout] test src/board/mod.rs - board::Board::count_piece (line 1567) ... ok [INFO] [stdout] test src/board/mod.rs - board::Board (line 166) ... ok [INFO] [stdout] test src/board/mod.rs - board::Board::count_all_pieces (line 1597) ... ok [INFO] [stdout] test src/board/mod.rs - board::Board::from_fen (line 387) ... ok [INFO] [stdout] test src/board/mod.rs - board::Board::apply_uci_move (line 869) ... ok [INFO] [stdout] test src/board/mod.rs - board::Board::count_pieces_player (line 1582) ... ok [INFO] [stdout] test src/board/mod.rs - board::Board::fen (line 564) ... ok [INFO] [stdout] test src/board/mod.rs - board::Board::generate_moves (line 1063) ... ok [INFO] [stdout] test src/board/mod.rs - board::Board::generate_moves_of_type (line 1103) ... ok [INFO] [stdout] test src/board/mod.rs - board::Board::moves_played (line 1332) ... ok [INFO] [stdout] test src/board/mod.rs - board::Board::get_occupied_player (line 1437) ... ok [INFO] [stdout] test src/board/mod.rs - board::Board::ep_square (line 1391) ... ok [INFO] [stdout] test src/board/mod.rs - board::Board::king_sq (line 1624) ... ok [INFO] [stdout] test src/board/mod.rs - board::Board::occupied (line 1406) ... ok [INFO] [stdout] test src/board/mod.rs - board::Board::piece_two_bb_both_players (line 1544) ... ok [INFO] [stdout] test src/board/mod.rs - board::Board::piece_bb (line 1482) ... ok [INFO] [stdout] test src/board/mod.rs - board::Board::occupied_white (line 1452) ... ok [INFO] [stdout] test src/board/mod.rs - board::Board::occupied_black (line 1467) ... ok [INFO] [stdout] test src/board/mod.rs - board::Board::parallel_clone (line 324) ... ok [INFO] [stdout] test src/board/mod.rs - board::Board::piece_bb_both_players (line 1529) ... ok [INFO] [stdout] test src/board/mod.rs - board::Board::shallow_clone (line 282) ... ok [INFO] [stdout] test src/board/mod.rs - board::Board::start_pos (line 258) ... ok [INFO] [stdout] test src/board/mod.rs - board::Board::turn (line 1303) ... ok [INFO] [stdout] test src/board/movegen.rs - board::movegen (line 34) ... ignored [INFO] [stdout] test src/board/movegen.rs - board::movegen (line 40) ... ignored [INFO] [stdout] test src/board/movegen.rs - board::movegen (line 46) ... ignored [INFO] [stdout] test src/board/mod.rs - board::Board::random (line 359) ... ok [INFO] [stdout] test src/board/mod.rs - board::Board::sliding_piece_bb (line 1498) ... ok [INFO] [stdout] test src/core/bit_twiddles.rs - core::bit_twiddles::bit_scan_forward (line 49) ... ok [INFO] [stdout] test src/board/mod.rs - board::Board::undo_move (line 899) ... ok [INFO] [stdout] test src/core/bit_twiddles.rs - core::bit_twiddles::bit_scan_forward_rust_trailing (line 69) ... ok [INFO] [stdout] test src/core/bit_twiddles.rs - core::bit_twiddles::bit_scan_reverse (line 85) ... ok [INFO] [stdout] test src/board/mod.rs - board::RandBoard (line 2497) ... ok [INFO] [stdout] test src/board/mod.rs - board::Board::undo_null_move (line 1035) ... ok [INFO] [stdout] test src/core/bit_twiddles.rs - core::bit_twiddles::reverse_byte (line 204) ... ok [INFO] [stdout] test src/core/bit_twiddles.rs - core::bit_twiddles::lsb (line 124) ... ok [INFO] [stdout] test src/core/bit_twiddles.rs - core::bit_twiddles::more_than_one (line 107) ... ok [INFO] [stdout] test src/core/masks.rs - core::masks::FILE_DISPLAYS (line 254) ... ok [INFO] [stdout] test src/core/bit_twiddles.rs - core::bit_twiddles::popcount64 (line 35) ... ok [INFO] [stdout] test src/core/masks.rs - core::masks::SQ_DISPLAY (line 229) ... ok [INFO] [stdout] test src/core/masks.rs - core::masks::RANK_DISPLAYS (line 267) ... ok [INFO] [stdout] test src/core/bit_twiddles.rs - core::bit_twiddles::reverse_bytes (line 180) ... ok [INFO] [stdout] test src/core/mod.rs - core::Piece::make (line 484) ... ok [INFO] [stdout] test src/core/mod.rs - core::File::max (line 679) ... ok [INFO] [stdout] test src/core/mod.rs - core::File::min (line 659) ... ok [INFO] [stdout] test src/core/mod.rs - core::Piece::make_lossy (line 514) ... ok [INFO] [stdout] test src/core/mod.rs - core::Piece::player (line 337) ... ok [INFO] [stdout] test src/core/mod.rs - core::Piece::make_lossy (line 525) ... FAILED [INFO] [stdout] test src/core/mod.rs - core::Piece::player (line 326) ... ok [INFO] [stdout] test src/core/mod.rs - core::Piece::player_lossy (line 377) ... ok [INFO] [stdout] test src/core/mod.rs - core::Piece::player_lossy (line 366) ... ok [INFO] [stdout] test src/board/mod.rs - board::Board::random (line 369) ... ok [INFO] [stdout] test src/core/mod.rs - core::Piece::player_piece (line 418) ... ok [INFO] [stdout] test src/core/mod.rs - core::Piece::player_piece_lossy (line 463) ... ok [INFO] [stdout] test src/core/mod.rs - core::Piece::type_of (line 393) ... ok [INFO] [stdout] test src/board/mod.rs - board::RandBoard (line 2508) ... ok [INFO] [stdout] test src/core/mod.rs - core::Player::relative_rank (line 126) ... ok [INFO] [stdout] test src/core/mod.rs - core::Player::relative_rank_of_sq (line 106) ... ok [INFO] [stdout] test src/core/mod.rs - core::Player::other_player (line 75) ... ok [INFO] [stdout] test src/core/mod.rs - core::Piece::player_piece_lossy (line 451) ... ok [INFO] [stdout] test src/core/move_list.rs - core::move_list::MoveList::len (line 166) ... ok [INFO] [stdout] test src/core/move_list.rs - core::move_list::MoveList::as_slice (line 184) ... ok [INFO] [stdout] test src/core/move_list.rs - core::move_list::MoveList::is_empty (line 130) ... ok [INFO] [stdout] test src/core/sq.rs - core::sq (line 21) ... ok [INFO] [stdout] test src/core/sq.rs - core::sq (line 39) ... ok [INFO] [stdout] test src/lib.rs - (line 31) ... ignored [INFO] [stdout] test src/core/sq.rs - core::sq::SQ::distance (line 111) ... ok [INFO] [stdout] test src/lib.rs - (line 38) ... ignored [INFO] [stdout] test src/lib.rs - (line 44) ... ignored [INFO] [stdout] test src/lib.rs - (line 57) ... ignored [INFO] [stdout] test src/tools/tt.rs - tools::tt (line 21) ... ignored [INFO] [stdout] test src/core/sq.rs - core::sq::SQ::is_okay (line 93) ... ok [INFO] [stdout] test src/core/move_list.rs - core::move_list::MoveList::vec (line 145) ... ok [INFO] [stdout] test src/core/sq.rs - core::sq::SQ::rank (line 146) ... ok [INFO] [stdout] test src/core/sq.rs - core::sq::SQ::file (line 174) ... ok [INFO] [stdout] test src/core/sq.rs - core::sq::SQ::make (line 216) ... ok [INFO] [stdout] test src/tools/eval.rs - tools::eval::Eval (line 50) ... ok [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/core/mod.rs - core::Piece::make_lossy (line 525) stdout ---- [INFO] [stdout] Test executable failed (signal: 6 (SIGABRT) (core dumped)). [INFO] [stdout] [INFO] [stdout] stderr: [INFO] [stdout] [INFO] [stdout] thread 'main' (1234) panicked at /opt/rustwide/workdir/src/core/mod.rs:535:13: [INFO] [stdout] trying to construct an enum from an invalid value 0xf [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x64fcdba85c32 - std::backtrace_rs::backtrace::libunwind::trace::h589a96ef7638b383 [INFO] [stdout] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x64fcdba85c32 - std::backtrace_rs::backtrace::trace_unsynchronized::h23a30a7548c40de4 [INFO] [stdout] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x64fcdba85c32 - std::sys::backtrace::_print_fmt::h87dabd6535c8c07a [INFO] [stdout] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x64fcdba85c32 - ::fmt::hffd20ad4e5eca8ab [INFO] [stdout] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x64fcdba949bf - core::fmt::rt::Argument::fmt::h75c83e3fd5ce2419 [INFO] [stdout] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x64fcdba949bf - core::fmt::write::h6d9d3a7cfd7b84f5 [INFO] [stdout] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/core/src/fmt/mod.rs:1468:25 [INFO] [stdout] 6: 0x64fcdba646d3 - std::io::default_write_fmt::ha7130bf70117e1da [INFO] [stdout] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x64fcdba646d3 - std::io::Write::write_fmt::h22459ad26fe60c51 [INFO] [stdout] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x64fcdba695e2 - std::sys::backtrace::BacktraceLock::print::hb28797143397220e [INFO] [stdout] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x64fcdba6ae3c - std::panicking::default_hook::{{closure}}::h7555113b62983743 [INFO] [stdout] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/std/src/panicking.rs:301:27 [INFO] [stdout] 10: 0x64fcdba6ac96 - std::panicking::default_hook::h2714b564abe8d914 [INFO] [stdout] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/std/src/panicking.rs:328:9 [INFO] [stdout] 11: 0x64fcdba6b415 - std::panicking::panic_with_hook::h190dc82263685ec5 [INFO] [stdout] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/std/src/panicking.rs:834:13 [INFO] [stdout] 12: 0x64fcdba6b2aa - std::panicking::panic_handler::{{closure}}::h8b036a1b366643ac [INFO] [stdout] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/std/src/panicking.rs:707:13 [INFO] [stdout] 13: 0x64fcdba69719 - std::sys::backtrace::__rust_end_short_backtrace::h45affcfc0c830da8 [INFO] [stdout] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/std/src/sys/backtrace.rs:174:18 [INFO] [stdout] 14: 0x64fcdba590ad - __rustc[9b67c8562bba447b]::rust_begin_unwind [INFO] [stdout] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/std/src/panicking.rs:698:5 [INFO] [stdout] 15: 0x64fcdba9769d - core::panicking::panic_nounwind_fmt::runtime::h0e9d970dfc029f14 [INFO] [stdout] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/core/src/panicking.rs:117:22 [INFO] [stdout] 16: 0x64fcdba9769d - core::panicking::panic_nounwind_fmt::h120e82628a1ba90a [INFO] [stdout] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/core/src/intrinsics/mod.rs:2380:9 [INFO] [stdout] 17: 0x64fcdba9789e - core::panicking::panic_invalid_enum_construction::h75c8d3d99a96f5b1 [INFO] [stdout] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/core/src/panicking.rs:318:5 [INFO] [stdout] 18: 0x64fcdba58d8a - rust_out::main::_doctest_main_src_core_mod_rs_525_0::h00e3ba1dc112aa6b [INFO] [stdout] 19: 0x64fcdba58d66 - rust_out::main::h542e0f1f2a7f6b11 [INFO] [stdout] 20: 0x64fcdba58d43 - core::ops::function::FnOnce::call_once::h21e4d13f24e06a24 [INFO] [stdout] 21: 0x64fcdba58ce6 - std::sys::backtrace::__rust_begin_short_backtrace::h603ef4a30a4f78fd [INFO] [stdout] 22: 0x64fcdba58cc9 - std::rt::lang_start::{{closure}}::h433d00c5fb7f893d [INFO] [stdout] 23: 0x64fcdba65670 - core::ops::function::impls:: for &F>::call_once::hcc75fa61d21ecbe5 [INFO] [stdout] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/core/src/ops/function.rs:290:21 [INFO] [stdout] 24: 0x64fcdba65670 - std::panicking::catch_unwind::do_call::h38c051a071ca3bc0 [INFO] [stdout] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/std/src/panicking.rs:590:40 [INFO] [stdout] 25: 0x64fcdba65670 - std::panicking::catch_unwind::hede2a2f6f4519f78 [INFO] [stdout] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/std/src/panicking.rs:553:19 [INFO] [stdout] 26: 0x64fcdba65670 - std::panic::catch_unwind::h94765a19f52c0a43 [INFO] [stdout] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/std/src/panic.rs:359:14 [INFO] [stdout] 27: 0x64fcdba65670 - std::rt::lang_start_internal::{{closure}}::hb89c21d557706591 [INFO] [stdout] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/std/src/rt.rs:175:24 [INFO] [stdout] 28: 0x64fcdba65670 - std::panicking::catch_unwind::do_call::h50685f05733aeeef [INFO] [stdout] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/std/src/panicking.rs:590:40 [INFO] [stdout] 29: 0x64fcdba65670 - std::panicking::catch_unwind::hf9ba9716b02e6738 [INFO] [stdout] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/std/src/panicking.rs:553:19 [INFO] [stdout] 30: 0x64fcdba65670 - std::panic::catch_unwind::h29770e281302b24d [INFO] [stdout] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/std/src/panic.rs:359:14 [INFO] [stdout] 31: 0x64fcdba65670 - std::rt::lang_start_internal::hd5573b1f5f705a2a [INFO] [stdout] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/std/src/rt.rs:171:5 [INFO] [stdout] 32: 0x64fcdba58cb1 - std::rt::lang_start::habd89dad5a59b012 [INFO] [stdout] 33: 0x64fcdba58da5 - main [INFO] [stdout] 34: 0x7f481f7141ca - [INFO] [stdout] 35: 0x7f481f71428b - __libc_start_main [INFO] [stdout] 36: 0x64fcdba58bc5 - _start [INFO] [stdout] 37: 0x0 - [INFO] [stdout] thread caused non-unwinding panic. aborting. [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/core/mod.rs - core::Piece::make_lossy (line 525) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 71 passed; 1 failed; 8 ignored; 0 measured; 0 filtered out; finished in 7.69s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "faa3e8668d57536555b4727a153e19f798fe79ffb60854c82d3508e4c74f212d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "faa3e8668d57536555b4727a153e19f798fe79ffb60854c82d3508e4c74f212d", kill_on_drop: false }` [INFO] [stdout] faa3e8668d57536555b4727a153e19f798fe79ffb60854c82d3508e4c74f212d