[INFO] fetching crate tanton 1.0.0... [INFO] testing tanton-1.0.0 against try#2440211fe03bc45c89b6dc1a3df18382ce91e32b for pr-146098-1 [INFO] extracting crate tanton 1.0.0 into /workspace/builds/worker-7-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-7-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate tanton 1.0.0 on toolchain 2440211fe03bc45c89b6dc1a3df18382ce91e32b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "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" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 62 packages to latest compatible versions [INFO] [stderr] Adding bitflags v1.3.2 (available: v2.9.4) [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" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "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-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1a268b5524967c47cf467792fd568ddd7425196ebdbf446a79b62deca9f54031 [INFO] running `Command { std: "docker" "start" "-a" "1a268b5524967c47cf467792fd568ddd7425196ebdbf446a79b62deca9f54031", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1a268b5524967c47cf467792fd568ddd7425196ebdbf446a79b62deca9f54031", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1a268b5524967c47cf467792fd568ddd7425196ebdbf446a79b62deca9f54031", kill_on_drop: false }` [INFO] [stdout] 1a268b5524967c47cf467792fd568ddd7425196ebdbf446a79b62deca9f54031 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1393378592c2f80927910443eb26cc5e3377046e2bac820a59e00914d915d7d4 [INFO] running `Command { std: "docker" "start" "-a" "1393378592c2f80927910443eb26cc5e3377046e2bac820a59e00914d915d7d4", 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.176 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Compiling cfg-if v1.0.3 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Compiling mucow v0.1.0 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling zerocopy v0.8.27 [INFO] [stderr] Compiling rayon-core v1.13.0 [INFO] [stderr] Compiling crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling crossbeam-deque v0.8.6 [INFO] [stderr] Compiling rayon v1.11.0 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling num_cpus v1.17.0 [INFO] [stderr] Compiling rand_core v0.6.4 [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 17.99s [INFO] running `Command { std: "docker" "inspect" "1393378592c2f80927910443eb26cc5e3377046e2bac820a59e00914d915d7d4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1393378592c2f80927910443eb26cc5e3377046e2bac820a59e00914d915d7d4", kill_on_drop: false }` [INFO] [stdout] 1393378592c2f80927910443eb26cc5e3377046e2bac820a59e00914d915d7d4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4aecfaa1f07ca49e6cb339967697319b185c047c2df6a1b1e72e761f61244745 [INFO] running `Command { std: "docker" "start" "-a" "4aecfaa1f07ca49e6cb339967697319b185c047c2df6a1b1e72e761f61244745", 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.176 [INFO] [stderr] Compiling cfg-if v1.0.3 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling rand_core v0.4.2 [INFO] [stderr] Compiling memchr v2.7.6 [INFO] [stderr] Compiling unicode-width v0.1.14 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling zerocopy v0.8.27 [INFO] [stderr] Compiling cast v0.2.7 [INFO] [stderr] Compiling ryu v1.0.20 [INFO] [stderr] Compiling itoa v1.0.15 [INFO] [stderr] Compiling serde_json v1.0.145 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Compiling walkdir v2.5.0 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling itertools v0.8.2 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling mucow v0.1.0 [INFO] [stderr] Compiling rand_core v0.3.1 [INFO] [stderr] Compiling clap v2.34.0 [INFO] [stderr] Compiling rand_xoshiro v0.1.0 [INFO] [stderr] Compiling crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling crossbeam-deque v0.8.6 [INFO] [stderr] Compiling csv-core v0.1.12 [INFO] [stderr] Compiling rayon-core v1.13.0 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling num_cpus v1.17.0 [INFO] [stderr] Compiling rand_os v0.1.3 [INFO] [stderr] Compiling atty v0.2.14 [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 csv v1.3.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling criterion v0.2.11 [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] [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 54.59s [INFO] running `Command { std: "docker" "inspect" "4aecfaa1f07ca49e6cb339967697319b185c047c2df6a1b1e72e761f61244745", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4aecfaa1f07ca49e6cb339967697319b185c047c2df6a1b1e72e761f61244745", kill_on_drop: false }` [INFO] [stdout] 4aecfaa1f07ca49e6cb339967697319b185c047c2df6a1b1e72e761f61244745 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] f292eadefa848f5671336e671e504b7b289ebc71f87b694685522e2578e88fce [INFO] running `Command { std: "docker" "start" "-a" "f292eadefa848f5671336e671e504b7b289ebc71f87b694685522e2578e88fce", 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.12s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/tanton-12f46ab81355d6e0) [INFO] [stdout] [INFO] [stdout] running 40 tests [INFO] [stdout] test board::castle_rights::tests::const_test ... ok [INFO] [stdout] test board::perft::tests::perft_kiwipete_all ... ignored [INFO] [stdout] test board::pgn::tests::tags_test ... ok [INFO] [stdout] test board::movegen::tests::movegen_list_sim_basic ... ok [INFO] [stdout] test board::tests::check_state ... ok [INFO] [stdout] test board::movegen::tests::movegen_list_sim_all ... ok [INFO] [stdout] test board::fen::tests::fen_extra_pawns ... ok [INFO] [stdout] test board::piece_locations::test::stack_overflow_test ... ok [INFO] [stdout] test board::tests::fen_equality ... ok [INFO] [stdout] test board::tests::uci_move ... ok [INFO] [stdout] test board::tests::see_ge_all_fens ... 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 board::movegen::tests::movelist_basic ... 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 board::tests::zob_equality ... ok [INFO] [stdout] test tools::prng::test::check_bit_displacement ... ok [INFO] [stdout] test helper::tests::init_helper ... ok [INFO] [stdout] test board::tests::random_move_apply ... ok [INFO] [stdout] test tools::tt::tests::tt_alloc_realloc ... ok [INFO] [stdout] test tools::tt::tests::tt_basic_insert ... ok [INFO] [stdout] test tools::tt::tests::tt_test_sizes ... ok [INFO] [stdout] test board::perft::tests::perft_board_6 ... ok [INFO] [stdout] test board::perft::tests::perft_board_3 ... ok [INFO] [stdout] test bots::tests::alpha_equality ... ok [INFO] [stdout] test board::perft::tests::start_pos_perft ... ok [INFO] [stdout] test tools::tt::tests::tt_null_ptr ... ok [INFO] [stdout] test board::tests::rand_board_gen_many ... 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] [stdout] [INFO] [stdout] test result: ok. 39 passed; 0 failed; 1 ignored; 0 measured; 0 filtered out; finished in 7.77s [INFO] [stdout] [INFO] [stderr] Running tests/basic_bots.rs (/opt/rustwide/target/debug/deps/basic_bots-bf8ed68fafdbbb75) [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 0.27s [INFO] [stdout] [INFO] [stderr] Running tests/board_build.rs (/opt/rustwide/target/debug/deps/board_build-03b8d424f9ae66f7) [INFO] [stdout] [INFO] [stdout] running 3 tests [INFO] [stdout] test basic_move_apply ... ok [INFO] [stdout] test move_seq_1 ... ok [INFO] [stdout] test test_init_counts ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 3 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.16s [INFO] [stdout] [INFO] [stderr] Running tests/board_hash.rs (/opt/rustwide/target/debug/deps/board_hash-21f5b85c34c149a0) [INFO] [stdout] [INFO] [stdout] running 3 tests [INFO] [stdout] test pawn_key_correctness ... ok [INFO] [stdout] test material_key_correctness ... ok [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 2.68s [INFO] [stderr] Running tests/board_move_apply.rs (/opt/rustwide/target/debug/deps/board_move_apply-1acb7391d709f4b2) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] test apply_null_moves ... ok [INFO] [stdout] test random_moves ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.09s [INFO] [stdout] [INFO] [stderr] Running tests/fen_building.rs (/opt/rustwide/target/debug/deps/fen_building-cd7b5f250b99c811) [INFO] [stdout] [INFO] [stdout] running 3 tests [INFO] [stdout] test all_fens ... ok [INFO] [stdout] test basic_fen ... ok [INFO] [stdout] test rank8_zero_fen ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 3 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.09s [INFO] [stdout] [INFO] [stderr] Running tests/move_generating.rs (/opt/rustwide/target/debug/deps/move_generating-181ec82e15d3381c) [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.41s [INFO] [stdout] [INFO] [stderr] Running tests/pseudo_legal_checks.rs (/opt/rustwide/target/debug/deps/pseudo_legal_checks-b3e6a52f8dc79629) [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.49s [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Running tests/test.rs (/opt/rustwide/target/debug/deps/test-9ad512a8d990e132) [INFO] [stdout] running 24 tests [INFO] [stdout] test move_generating::bit_move_promoions ... ok [INFO] [stdout] test move_generating::bit_move_position ... ok [INFO] [stdout] test move_generating::test_move_permutations ... ok [INFO] [stdout] test board_build::basic_move_apply ... ok [INFO] [stdout] test fen_building::basic_fen ... ok [INFO] [stdout] test move_generating::test_opening_position ... ok [INFO] [stdout] test board_move_apply::random_moves ... ok [INFO] [stdout] test fen_building::all_fens ... ok [INFO] [stdout] test pseudo_legal_checks::legal_all_fens ... ok [INFO] [stdout] test board_build::move_seq_1 ... ok [INFO] [stdout] test fen_building::rank8_zero_fen ... ok [INFO] [stdout] test board_move_apply::apply_null_moves ... ok [INFO] [stdout] test board_build::test_init_counts ... ok [INFO] [stdout] test pseudo_legal_checks::pseudolegal_incheck ... ok [INFO] [stdout] test pseudo_legal_checks::pseudolegal_all_fens ... ok [INFO] [stdout] test basic_bots::test_all_bot ... ok [INFO] [stdout] test move_generating::test_movegen_quiet_checks ... ok [INFO] [stdout] test move_generating::test_movegen_quiets ... ok [INFO] [stdout] test pseudo_legal_checks::pseudolegal_rand ... ok [INFO] [stdout] test move_generating::test_movegen_captures ... ok [INFO] [stdout] test pseudo_legal_checks::legal_rand ... ok [INFO] [stdout] test board_hash::zobrist_correctness ... ok [INFO] [stdout] test board_hash::material_key_correctness ... ok [INFO] [stderr] Doc-tests tanton [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 6.86s [INFO] [stdout] [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::apply_null_move (line 979) ... 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 (line 166) ... ok [INFO] [stdout] test src/board/mod.rs - board::Board::ep_square (line 1391) ... ok [INFO] [stdout] test src/board/mod.rs - board::Board::moves_played (line 1332) ... 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::diagonal_piece_bb (line 1513) ... ok [INFO] [stdout] test src/board/mod.rs - board::Board::generate_moves (line 1063) ... 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::king_sq (line 1624) ... 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::empty (line 1421) ... 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::piece_bb_both_players (line 1529) ... 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/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::count_piece (line 1567) ... ok [INFO] [stdout] test src/board/mod.rs - board::Board::occupied (line 1406) ... ok [INFO] [stdout] test src/board/mod.rs - board::Board::piece_bb (line 1482) ... 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_two_bb_both_players (line 1544) ... ok [INFO] [stdout] test src/board/mod.rs - board::Board::turn (line 1303) ... ok [INFO] [stdout] test src/board/mod.rs - board::Board::start_pos (line 258) ... ok [INFO] [stdout] test src/core/bit_twiddles.rs - core::bit_twiddles::lsb (line 124) ... ok [INFO] [stdout] test src/board/mod.rs - board::RandBoard (line 2497) ... ok [INFO] [stdout] test src/board/mod.rs - board::Board::shallow_clone (line 282) ... 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::random (line 359) ... ok [INFO] [stdout] test src/core/bit_twiddles.rs - core::bit_twiddles::bit_scan_reverse (line 85) ... 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::more_than_one (line 107) ... 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::bit_scan_forward_rust_trailing (line 69) ... ok [INFO] [stdout] test src/core/bit_twiddles.rs - core::bit_twiddles::popcount64 (line 35) ... ok [INFO] [stdout] test src/core/bit_twiddles.rs - core::bit_twiddles::reverse_bytes (line 180) ... ok [INFO] [stdout] test src/core/masks.rs - core::masks::FILE_DISPLAYS (line 254) ... ok [INFO] [stdout] test src/board/mod.rs - board::Board::sliding_piece_bb (line 1498) ... ok [INFO] [stdout] test src/board/mod.rs - board::Board::undo_move (line 899) ... ok [INFO] [stdout] test src/core/mod.rs - core::File::min (line 659) ... ok [INFO] [stdout] test src/core/mod.rs - core::File::max (line 679) ... ok [INFO] [stdout] test src/core/masks.rs - core::masks::RANK_DISPLAYS (line 267) ... ok [INFO] [stdout] test src/core/mod.rs - core::Piece::make_lossy (line 525) ... FAILED [INFO] [stdout] test src/core/masks.rs - core::masks::SQ_DISPLAY (line 229) ... ok [INFO] [stdout] test src/core/mod.rs - core::Piece::player (line 337) ... ok [INFO] [stdout] test src/core/mod.rs - core::Piece::player (line 326) ... 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::player_lossy (line 366) ... ok [INFO] [stdout] test src/core/mod.rs - core::Piece::type_of (line 393) ... ok [INFO] [stdout] test src/core/mod.rs - core::Piece::make (line 484) ... 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_piece_lossy (line 451) ... ok [INFO] [stdout] test src/core/mod.rs - core::Piece::player_lossy (line 377) ... ok [INFO] [stdout] test src/core/mod.rs - core::Player::relative_rank (line 126) ... ok [INFO] [stdout] test src/core/move_list.rs - core::move_list::MoveList::is_empty (line 130) ... ok [INFO] [stdout] test src/lib.rs - (line 31) ... ignored [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/core/mod.rs - core::Player::relative_rank_of_sq (line 106) ... ok [INFO] [stdout] test src/tools/tt.rs - tools::tt (line 21) ... ignored [INFO] [stdout] test src/core/sq.rs - core::sq::SQ::distance (line 111) ... ok [INFO] [stdout] test src/core/move_list.rs - core::move_list::MoveList::as_slice (line 184) ... ok [INFO] [stdout] test src/core/mod.rs - core::Piece::player_piece (line 418) ... ok [INFO] [stdout] test src/core/move_list.rs - core::move_list::MoveList::len (line 166) ... ok [INFO] [stdout] test src/core/sq.rs - core::sq::SQ::make (line 216) ... ok [INFO] [stdout] test src/core/sq.rs - core::sq::SQ::file (line 174) ... ok [INFO] [stdout] test src/core/mod.rs - core::Player::other_player (line 75) ... ok [INFO] [stdout] test src/core/sq.rs - core::sq (line 21) ... ok [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 (line 39) ... ok [INFO] [stdout] test src/core/sq.rs - core::sq::SQ::rank (line 146) ... ok [INFO] [stdout] test src/tools/eval.rs - tools::eval::Eval (line 50) ... ok [INFO] [stdout] test src/board/mod.rs - board::RandBoard (line 2508) ... ok [INFO] [stdout] test src/board/mod.rs - board::Board::random (line 369) ... ok [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [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' (1510) 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: 0x5bc0e927f492 - std::backtrace_rs::backtrace::libunwind::trace::h22a6a535a50603c6 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x5bc0e927f492 - std::backtrace_rs::backtrace::trace_unsynchronized::h2503a4f30dbfbaa2 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x5bc0e927f492 - std::sys::backtrace::_print_fmt::hec54e31f36456895 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x5bc0e927f492 - ::fmt::hb1988e8b50fa5f19 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x5bc0e928e22f - core::fmt::rt::Argument::fmt::h3118a66e1a57a586 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x5bc0e928e22f - core::fmt::write::hcd056e06a609f600 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/fmt/mod.rs:1468:25 [INFO] [stdout] 6: 0x5bc0e925dbb1 - std::io::default_write_fmt::h45f0f9de0268fdcb [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x5bc0e925dbb1 - std::io::Write::write_fmt::hc685c74e0b8ce55d [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x5bc0e92629b2 - std::sys::backtrace::BacktraceLock::print::h69f50ba7cfff8317 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x5bc0e926420c - std::panicking::default_hook::{{closure}}::hfa978eb2255ab3ab [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:301:27 [INFO] [stdout] 10: 0x5bc0e9264066 - std::panicking::default_hook::h09da2eaf8f1deadd [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:328:9 [INFO] [stdout] 11: 0x5bc0e9264895 - std::panicking::panic_with_hook::h13c40d280d130fd3 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:834:13 [INFO] [stdout] 12: 0x5bc0e926472a - std::panicking::panic_handler::{{closure}}::hd79d22e8a1d3b951 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:707:13 [INFO] [stdout] 13: 0x5bc0e9262ae9 - std::sys::backtrace::__rust_end_short_backtrace::h83414d1ec69cf3a6 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/sys/backtrace.rs:174:18 [INFO] [stdout] 14: 0x5bc0e925247d - __rustc[b78aa6c7b08e5dc4]::rust_begin_unwind [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:698:5 [INFO] [stdout] 15: 0x5bc0e9290eed - core::panicking::panic_nounwind_fmt::runtime::h4ec66813e41e0d5b [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/panicking.rs:120:22 [INFO] [stdout] 16: 0x5bc0e9290eed - core::panicking::panic_nounwind_fmt::h104e567e1186279f [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/intrinsics/mod.rs:2435:9 [INFO] [stdout] 17: 0x5bc0e92910ee - core::panicking::panic_invalid_enum_construction::h9453eaedefafd3e2 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/panicking.rs:321:5 [INFO] [stdout] 18: 0x5bc0e925215a - rust_out::main::_doctest_main_src_core_mod_rs_525_0::h42602a3c540b380e [INFO] [stdout] 19: 0x5bc0e9252136 - rust_out::main::he42420d96a9d7f64 [INFO] [stdout] 20: 0x5bc0e92520d3 - core::ops::function::FnOnce::call_once::h69ea4ce53012ff78 [INFO] [stdout] 21: 0x5bc0e92520b6 - std::sys::backtrace::__rust_begin_short_backtrace::h3de91f36bae4c6b1 [INFO] [stdout] 22: 0x5bc0e9252099 - std::rt::lang_start::{{closure}}::h8b7ae09552e39435 [INFO] [stdout] 23: 0x5bc0e925ea20 - core::ops::function::impls:: for &F>::call_once::h387c5546b57ddfde [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/ops/function.rs:287:21 [INFO] [stdout] 24: 0x5bc0e925ea20 - std::panicking::catch_unwind::do_call::hf9fdd250c001d1cd [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:590:40 [INFO] [stdout] 25: 0x5bc0e925ea20 - std::panicking::catch_unwind::hc213e1339e7313f3 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:553:19 [INFO] [stdout] 26: 0x5bc0e925ea20 - std::panic::catch_unwind::h7e2e13142bd98e67 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panic.rs:359:14 [INFO] [stdout] 27: 0x5bc0e925ea20 - std::rt::lang_start_internal::{{closure}}::ha8eea67def213c83 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/rt.rs:175:24 [INFO] [stdout] 28: 0x5bc0e925ea20 - std::panicking::catch_unwind::do_call::hc6f04b090be4f56e [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:590:40 [INFO] [stdout] 29: 0x5bc0e925ea20 - std::panicking::catch_unwind::hfb8ae23b2e34f7c2 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:553:19 [INFO] [stdout] 30: 0x5bc0e925ea20 - std::panic::catch_unwind::hf2cef20feb3addd6 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panic.rs:359:14 [INFO] [stdout] 31: 0x5bc0e925ea20 - std::rt::lang_start_internal::h1ca864a6b9355c57 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/rt.rs:171:5 [INFO] [stdout] 32: 0x5bc0e9252081 - std::rt::lang_start::h60a8ec71437d48b3 [INFO] [stdout] 33: 0x5bc0e9252175 - main [INFO] [stdout] 34: 0x7e05f41141ca - [INFO] [stdout] 35: 0x7e05f411428b - __libc_start_main [INFO] [stdout] 36: 0x5bc0e9251f95 - _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 5.86s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "f292eadefa848f5671336e671e504b7b289ebc71f87b694685522e2578e88fce", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f292eadefa848f5671336e671e504b7b289ebc71f87b694685522e2578e88fce", kill_on_drop: false }` [INFO] [stdout] f292eadefa848f5671336e671e504b7b289ebc71f87b694685522e2578e88fce