[INFO] fetching crate tanton_engine 1.0.0... [INFO] testing tanton_engine-1.0.0 against beta-2025-10-28 for beta-1.92-2 [INFO] extracting crate tanton_engine 1.0.0 into /workspace/builds/worker-4-tc2/source [INFO] started tweaking crates.io crate tanton_engine 1.0.0 [INFO] finished tweaking crates.io crate tanton_engine 1.0.0 [INFO] tweaked toml for crates.io crate tanton_engine 1.0.0 written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate tanton_engine 1.0.0 on toolchain beta-2025-10-28 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2025-10-28" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate tanton_engine 1.0.0 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2025-10-28" "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-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-10-28" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 35d5db247faaec8411e85916232a53aa6d4c0fa951d0f24b344664557d4dbcfe [INFO] running `Command { std: "docker" "start" "-a" "35d5db247faaec8411e85916232a53aa6d4c0fa951d0f24b344664557d4dbcfe", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "35d5db247faaec8411e85916232a53aa6d4c0fa951d0f24b344664557d4dbcfe", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "35d5db247faaec8411e85916232a53aa6d4c0fa951d0f24b344664557d4dbcfe", kill_on_drop: false }` [INFO] [stdout] 35d5db247faaec8411e85916232a53aa6d4c0fa951d0f24b344664557d4dbcfe [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-10-28" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] cd3c4463599884797e82cae75a0e15d5dd468c046207a1c572645f5b250fddd3 [INFO] running `Command { std: "docker" "start" "-a" "cd3c4463599884797e82cae75a0e15d5dd468c046207a1c572645f5b250fddd3", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling libc v0.2.137 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling crossbeam-utils v0.8.14 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling rayon-core v1.10.1 [INFO] [stderr] Compiling ppv-lite86 v0.2.17 [INFO] [stderr] Compiling either v1.8.0 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling mucow v0.1.0 [INFO] [stderr] Compiling iana-time-zone v0.1.53 [INFO] [stderr] Compiling memoffset v0.7.1 [INFO] [stderr] Compiling crossbeam-epoch v0.9.13 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling crossbeam-channel v0.5.6 [INFO] [stderr] Compiling crossbeam-deque v0.8.2 [INFO] [stderr] Compiling getrandom v0.2.8 [INFO] [stderr] Compiling num_cpus v1.14.0 [INFO] [stderr] Compiling time v0.1.45 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling rayon v1.6.0 [INFO] [stderr] Compiling chrono v0.4.23 [INFO] [stderr] Compiling tanton v1.0.0 [INFO] [stderr] Compiling tanton_engine v1.0.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition value: `dev` [INFO] [stdout] --> src/lib.rs:9:13 [INFO] [stdout] | [INFO] [stdout] 9 | #![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: unnecessary parentheses around const expression [INFO] [stdout] --> src/tables/butterfly.rs:10:15 [INFO] [stdout] | [INFO] [stdout] 10 | a: [[i16; (SQ_CNT * SQ_CNT)]; PLAYER_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] 10 - a: [[i16; (SQ_CNT * SQ_CNT)]; PLAYER_CNT], [INFO] [stdout] 10 + a: [[i16; SQ_CNT * SQ_CNT ]; PLAYER_CNT], [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/consts.rs:59:18 [INFO] [stdout] | [INFO] [stdout] 59 | let tt = &mut TT_TABLE as *mut DummyTranspositionTable as *mut TranspositionTable; [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] = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 59 | let tt = &raw mut TT_TABLE as *mut DummyTranspositionTable as *mut TranspositionTable; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/consts.rs:68:39 [INFO] [stdout] | [INFO] [stdout] 68 | let timer: *mut TimeManager = &mut TIMER as *mut DummyTimeManager as *mut TimeManager; [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] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 68 | let timer: *mut TimeManager = &raw mut TIMER as *mut DummyTimeManager as *mut TimeManager; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/consts.rs:75:17 [INFO] [stdout] | [INFO] [stdout] 75 | unsafe { &*(&TIMER as *const DummyTimeManager as *const TimeManager) } [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] help: use `&raw const` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 75 | unsafe { &*(&raw const TIMER as *const DummyTimeManager as *const TimeManager) } [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/consts.rs:81:17 [INFO] [stdout] | [INFO] [stdout] 81 | unsafe { &*(&TT_TABLE as *const DummyTranspositionTable as *const TranspositionTable) } [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] help: use `&raw const` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 81 | unsafe { &*(&raw const TT_TABLE as *const DummyTranspositionTable as *const TranspositionTable) } [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `SQ` does not permit being left uninitialized [INFO] [stdout] --> src/movepick/mod.rs:70:36 [INFO] [stdout] | [INFO] [stdout] 70 | recapture_sq: unsafe { 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 [INFO] [stdout] = note: `#[warn(invalid_value)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `i32` does not permit being left uninitialized [INFO] [stdout] --> src/movepick/mod.rs:71:33 [INFO] [stdout] | [INFO] [stdout] 71 | threshold: unsafe { 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 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `[BitMove; 2]` does not permit being left uninitialized [INFO] [stdout] --> src/movepick/mod.rs:101:31 [INFO] [stdout] | [INFO] [stdout] 101 | killers: unsafe { 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 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `BitMove` does not permit being left uninitialized [INFO] [stdout] --> src/movepick/mod.rs:102:26 [INFO] [stdout] | [INFO] [stdout] 102 | cm: unsafe { 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 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `SQ` does not permit being left uninitialized [INFO] [stdout] --> src/movepick/mod.rs:103:36 [INFO] [stdout] | [INFO] [stdout] 103 | recapture_sq: unsafe { 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 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `i32` does not permit being left uninitialized [INFO] [stdout] --> src/movepick/mod.rs:104:33 [INFO] [stdout] | [INFO] [stdout] 104 | threshold: unsafe { 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 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `*const [*const continuation::PieceToHistory; 4]` does not permit being left uninitialized [INFO] [stdout] --> src/movepick/mod.rs:107:33 [INFO] [stdout] | [INFO] [stdout] 107 | cont_hist: unsafe { 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: raw pointers must be initialized [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `i16` does not permit being left uninitialized [INFO] [stdout] --> src/movepick/mod.rs:155:29 [INFO] [stdout] | [INFO] [stdout] 155 | depth: unsafe { 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 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `[BitMove; 2]` does not permit being left uninitialized [INFO] [stdout] --> src/movepick/mod.rs:157:31 [INFO] [stdout] | [INFO] [stdout] 157 | killers: unsafe { 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 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `BitMove` does not permit being left uninitialized [INFO] [stdout] --> src/movepick/mod.rs:158:26 [INFO] [stdout] | [INFO] [stdout] 158 | cm: unsafe { 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 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `SQ` does not permit being left uninitialized [INFO] [stdout] --> src/movepick/mod.rs:159:36 [INFO] [stdout] | [INFO] [stdout] 159 | recapture_sq: unsafe { 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 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `*const butterfly::ButterflyHistory` does not permit being left uninitialized [INFO] [stdout] --> src/movepick/mod.rs:161:33 [INFO] [stdout] | [INFO] [stdout] 161 | main_hist: unsafe { 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: raw pointers must be initialized [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `*const capture_piece_history::CapturePieceToHistory` does not permit being left uninitialized [INFO] [stdout] --> src/movepick/mod.rs:162:36 [INFO] [stdout] | [INFO] [stdout] 162 | capture_hist: unsafe { 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: raw pointers must be initialized [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `*const [*const continuation::PieceToHistory; 4]` does not permit being left uninitialized [INFO] [stdout] --> src/movepick/mod.rs:163:33 [INFO] [stdout] | [INFO] [stdout] 163 | cont_hist: unsafe { 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: raw pointers must be initialized [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `RootMove` does not permit being left uninitialized [INFO] [stdout] --> src/root_moves/root_moves_list.rs:35:25 [INFO] [stdout] | [INFO] [stdout] 35 | moves: [mem::MaybeUninit::uninit().assume_init(); MAX_MOVES], [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/root_moves/mod.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | pub score: i32, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> src/search/mod.rs:789:32 [INFO] [stdout] | [INFO] [stdout] 789 | ... && (*cont_hists[0])[(moved_piece, mov.get_dest())] < 0 [INFO] [stdout] | ^^-------------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this raw pointer has type `*const continuation::PieceToHistory` [INFO] [stdout] | [INFO] [stdout] = note: creating a reference requires the pointer target to be valid and imposes aliasing requirements [INFO] [stdout] note: autoref is being applied to this expression, resulting in: `&continuation::PieceToHistory` [INFO] [stdout] --> src/search/mod.rs:789:32 [INFO] [stdout] | [INFO] [stdout] 789 | ... && (*cont_hists[0])[(moved_piece, mov.get_dest())] < 0 [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(dangerous_implicit_autorefs)]` on by default [INFO] [stdout] help: try using a raw pointer method instead; or if this reference is intentional, make it explicit [INFO] [stdout] | [INFO] [stdout] 789 | && (&(*cont_hists[0]))[(moved_piece, mov.get_dest())] < 0 [INFO] [stdout] | ++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> src/search/mod.rs:790:32 [INFO] [stdout] | [INFO] [stdout] 790 | ... && (*cont_hists[1])[(moved_piece, mov.get_dest())] < 0 [INFO] [stdout] | ^^-------------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this raw pointer has type `*const continuation::PieceToHistory` [INFO] [stdout] | [INFO] [stdout] = note: creating a reference requires the pointer target to be valid and imposes aliasing requirements [INFO] [stdout] note: autoref is being applied to this expression, resulting in: `&continuation::PieceToHistory` [INFO] [stdout] --> src/search/mod.rs:790:32 [INFO] [stdout] | [INFO] [stdout] 790 | ... && (*cont_hists[1])[(moved_piece, mov.get_dest())] < 0 [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] help: try using a raw pointer method instead; or if this reference is intentional, make it explicit [INFO] [stdout] | [INFO] [stdout] 790 | && (&(*cont_hists[1]))[(moved_piece, mov.get_dest())] < 0 [INFO] [stdout] | ++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> src/search/mod.rs:880:31 [INFO] [stdout] | [INFO] [stdout] 880 | ... + (*cont_hists[0])[(moved_piece, mov.get_dest())] as i32 [INFO] [stdout] | ^^-------------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this raw pointer has type `*const continuation::PieceToHistory` [INFO] [stdout] | [INFO] [stdout] = note: creating a reference requires the pointer target to be valid and imposes aliasing requirements [INFO] [stdout] note: autoref is being applied to this expression, resulting in: `&continuation::PieceToHistory` [INFO] [stdout] --> src/search/mod.rs:880:31 [INFO] [stdout] | [INFO] [stdout] 880 | ... + (*cont_hists[0])[(moved_piece, mov.get_dest())] as i32 [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] help: try using a raw pointer method instead; or if this reference is intentional, make it explicit [INFO] [stdout] | [INFO] [stdout] 880 | + (&(*cont_hists[0]))[(moved_piece, mov.get_dest())] as i32 [INFO] [stdout] | ++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> src/search/mod.rs:881:31 [INFO] [stdout] | [INFO] [stdout] 881 | ... + (*cont_hists[1])[(moved_piece, mov.get_dest())] as i32 [INFO] [stdout] | ^^-------------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this raw pointer has type `*const continuation::PieceToHistory` [INFO] [stdout] | [INFO] [stdout] = note: creating a reference requires the pointer target to be valid and imposes aliasing requirements [INFO] [stdout] note: autoref is being applied to this expression, resulting in: `&continuation::PieceToHistory` [INFO] [stdout] --> src/search/mod.rs:881:31 [INFO] [stdout] | [INFO] [stdout] 881 | ... + (*cont_hists[1])[(moved_piece, mov.get_dest())] as i32 [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] help: try using a raw pointer method instead; or if this reference is intentional, make it explicit [INFO] [stdout] | [INFO] [stdout] 881 | + (&(*cont_hists[1]))[(moved_piece, mov.get_dest())] as i32 [INFO] [stdout] | ++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> src/search/mod.rs:882:31 [INFO] [stdout] | [INFO] [stdout] 882 | ... + (*cont_hists[3])[(moved_piece, mov.get_dest())] as i32 [INFO] [stdout] | ^^-------------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this raw pointer has type `*const continuation::PieceToHistory` [INFO] [stdout] | [INFO] [stdout] = note: creating a reference requires the pointer target to be valid and imposes aliasing requirements [INFO] [stdout] note: autoref is being applied to this expression, resulting in: `&continuation::PieceToHistory` [INFO] [stdout] --> src/search/mod.rs:882:31 [INFO] [stdout] | [INFO] [stdout] 882 | ... + (*cont_hists[3])[(moved_piece, mov.get_dest())] as i32 [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] help: try using a raw pointer method instead; or if this reference is intentional, make it explicit [INFO] [stdout] | [INFO] [stdout] 882 | + (&(*cont_hists[3]))[(moved_piece, mov.get_dest())] as i32 [INFO] [stdout] | ++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `BitBoard` does not permit being left uninitialized [INFO] [stdout] --> src/search/eval.rs:743:54 [INFO] [stdout] | [INFO] [stdout] 743 | let mut pinners: BitBoard = unsafe { 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 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/threadpool/mod.rs:49:60 [INFO] [stdout] | [INFO] [stdout] 49 | let pool: *mut ThreadPool = mem::transmute(&mut THREADPOOL); [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] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 49 | let pool: *mut ThreadPool = mem::transmute(&raw mut THREADPOOL); [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/threadpool/mod.rs:60:78 [INFO] [stdout] | [INFO] [stdout] 60 | unsafe { mem::transmute::<&mut DummyThreadPool, &'static mut ThreadPool>(&mut THREADPOOL) } [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] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 60 | unsafe { mem::transmute::<&mut DummyThreadPool, &'static mut ThreadPool>(&raw mut THREADPOOL) } [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 15.27s [INFO] running `Command { std: "docker" "inspect" "cd3c4463599884797e82cae75a0e15d5dd468c046207a1c572645f5b250fddd3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cd3c4463599884797e82cae75a0e15d5dd468c046207a1c572645f5b250fddd3", kill_on_drop: false }` [INFO] [stdout] cd3c4463599884797e82cae75a0e15d5dd468c046207a1c572645f5b250fddd3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-10-28" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9c0892119b9375dff5754ed4ded43a73c37ded450e72a66fedfdfaea0a146e3f [INFO] running `Command { std: "docker" "start" "-a" "9c0892119b9375dff5754ed4ded43a73c37ded450e72a66fedfdfaea0a146e3f", 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.137 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling semver v1.0.14 [INFO] [stderr] Compiling crossbeam-utils v0.8.14 [INFO] [stderr] Compiling memoffset v0.7.1 [INFO] [stderr] Compiling crossbeam-epoch v0.9.13 [INFO] [stderr] Compiling rayon-core v1.10.1 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling either v1.8.0 [INFO] [stderr] Compiling serde v1.0.147 [INFO] [stderr] Compiling proc-macro2 v1.0.47 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling unicode-ident v1.0.5 [INFO] [stderr] Compiling quote v1.0.21 [INFO] [stderr] Compiling ppv-lite86 v0.2.17 [INFO] [stderr] Compiling rustc_version v0.4.0 [INFO] [stderr] Compiling num_cpus v1.14.0 [INFO] [stderr] Compiling getrandom v0.2.8 [INFO] [stderr] Compiling crossbeam-channel v0.5.6 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling crossbeam-deque v0.8.2 [INFO] [stderr] Compiling syn v1.0.103 [INFO] [stderr] Compiling rand_core v0.4.2 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling cast v0.2.7 [INFO] [stderr] Compiling time v0.1.45 [INFO] [stderr] Compiling serde_derive v1.0.147 [INFO] [stderr] Compiling ryu v1.0.11 [INFO] [stderr] Compiling rayon v1.6.0 [INFO] [stderr] Compiling iana-time-zone v0.1.53 [INFO] [stderr] Compiling serde_json v1.0.89 [INFO] [stderr] Compiling unicode-width v0.1.10 [INFO] [stderr] Compiling regex-automata v0.1.10 [INFO] [stderr] Compiling mucow v0.1.0 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling chrono v0.4.23 [INFO] [stderr] Compiling rand_core v0.3.1 [INFO] [stderr] Compiling csv-core v0.1.10 [INFO] [stderr] Compiling itoa v1.0.4 [INFO] [stderr] Compiling itoa v0.4.8 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling walkdir v2.3.2 [INFO] [stderr] Compiling rand_xoshiro v0.1.0 [INFO] [stderr] Compiling clap v2.34.0 [INFO] [stderr] Compiling rand_os v0.1.3 [INFO] [stderr] Compiling bstr v0.2.17 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling itertools v0.8.2 [INFO] [stderr] Compiling tanton v1.0.0 [INFO] [stderr] Compiling csv v1.1.6 [INFO] [stderr] Compiling tanton_engine v1.0.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition value: `dev` [INFO] [stdout] --> src/lib.rs:9:13 [INFO] [stdout] | [INFO] [stdout] 9 | #![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: unnecessary parentheses around const expression [INFO] [stdout] --> src/tables/butterfly.rs:10:15 [INFO] [stdout] | [INFO] [stdout] 10 | a: [[i16; (SQ_CNT * SQ_CNT)]; PLAYER_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] 10 - a: [[i16; (SQ_CNT * SQ_CNT)]; PLAYER_CNT], [INFO] [stdout] 10 + a: [[i16; SQ_CNT * SQ_CNT ]; PLAYER_CNT], [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/consts.rs:59:18 [INFO] [stdout] | [INFO] [stdout] 59 | let tt = &mut TT_TABLE as *mut DummyTranspositionTable as *mut TranspositionTable; [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] = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 59 | let tt = &raw mut TT_TABLE as *mut DummyTranspositionTable as *mut TranspositionTable; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/consts.rs:68:39 [INFO] [stdout] | [INFO] [stdout] 68 | let timer: *mut TimeManager = &mut TIMER as *mut DummyTimeManager as *mut TimeManager; [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] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 68 | let timer: *mut TimeManager = &raw mut TIMER as *mut DummyTimeManager as *mut TimeManager; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/consts.rs:75:17 [INFO] [stdout] | [INFO] [stdout] 75 | unsafe { &*(&TIMER as *const DummyTimeManager as *const TimeManager) } [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] help: use `&raw const` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 75 | unsafe { &*(&raw const TIMER as *const DummyTimeManager as *const TimeManager) } [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/consts.rs:81:17 [INFO] [stdout] | [INFO] [stdout] 81 | unsafe { &*(&TT_TABLE as *const DummyTranspositionTable as *const TranspositionTable) } [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] help: use `&raw const` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 81 | unsafe { &*(&raw const TT_TABLE as *const DummyTranspositionTable as *const TranspositionTable) } [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `SQ` does not permit being left uninitialized [INFO] [stdout] --> src/movepick/mod.rs:70:36 [INFO] [stdout] | [INFO] [stdout] 70 | recapture_sq: unsafe { 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 [INFO] [stdout] = note: `#[warn(invalid_value)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `i32` does not permit being left uninitialized [INFO] [stdout] --> src/movepick/mod.rs:71:33 [INFO] [stdout] | [INFO] [stdout] 71 | threshold: unsafe { 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 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `[BitMove; 2]` does not permit being left uninitialized [INFO] [stdout] --> src/movepick/mod.rs:101:31 [INFO] [stdout] | [INFO] [stdout] 101 | killers: unsafe { 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 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `BitMove` does not permit being left uninitialized [INFO] [stdout] --> src/movepick/mod.rs:102:26 [INFO] [stdout] | [INFO] [stdout] 102 | cm: unsafe { 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 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `SQ` does not permit being left uninitialized [INFO] [stdout] --> src/movepick/mod.rs:103:36 [INFO] [stdout] | [INFO] [stdout] 103 | recapture_sq: unsafe { 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 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `i32` does not permit being left uninitialized [INFO] [stdout] --> src/movepick/mod.rs:104:33 [INFO] [stdout] | [INFO] [stdout] 104 | threshold: unsafe { 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 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `*const [*const continuation::PieceToHistory; 4]` does not permit being left uninitialized [INFO] [stdout] --> src/movepick/mod.rs:107:33 [INFO] [stdout] | [INFO] [stdout] 107 | cont_hist: unsafe { 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: raw pointers must be initialized [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `i16` does not permit being left uninitialized [INFO] [stdout] --> src/movepick/mod.rs:155:29 [INFO] [stdout] | [INFO] [stdout] 155 | depth: unsafe { 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 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `[BitMove; 2]` does not permit being left uninitialized [INFO] [stdout] --> src/movepick/mod.rs:157:31 [INFO] [stdout] | [INFO] [stdout] 157 | killers: unsafe { 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 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `BitMove` does not permit being left uninitialized [INFO] [stdout] --> src/movepick/mod.rs:158:26 [INFO] [stdout] | [INFO] [stdout] 158 | cm: unsafe { 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 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `SQ` does not permit being left uninitialized [INFO] [stdout] --> src/movepick/mod.rs:159:36 [INFO] [stdout] | [INFO] [stdout] 159 | recapture_sq: unsafe { 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 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `*const butterfly::ButterflyHistory` does not permit being left uninitialized [INFO] [stdout] --> src/movepick/mod.rs:161:33 [INFO] [stdout] | [INFO] [stdout] 161 | main_hist: unsafe { 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: raw pointers must be initialized [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `*const capture_piece_history::CapturePieceToHistory` does not permit being left uninitialized [INFO] [stdout] --> src/movepick/mod.rs:162:36 [INFO] [stdout] | [INFO] [stdout] 162 | capture_hist: unsafe { 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: raw pointers must be initialized [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `*const [*const continuation::PieceToHistory; 4]` does not permit being left uninitialized [INFO] [stdout] --> src/movepick/mod.rs:163:33 [INFO] [stdout] | [INFO] [stdout] 163 | cont_hist: unsafe { 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: raw pointers must be initialized [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `RootMove` does not permit being left uninitialized [INFO] [stdout] --> src/root_moves/root_moves_list.rs:35:25 [INFO] [stdout] | [INFO] [stdout] 35 | moves: [mem::MaybeUninit::uninit().assume_init(); MAX_MOVES], [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/root_moves/mod.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | pub score: i32, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> src/search/mod.rs:789:32 [INFO] [stdout] | [INFO] [stdout] 789 | ... && (*cont_hists[0])[(moved_piece, mov.get_dest())] < 0 [INFO] [stdout] | ^^-------------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this raw pointer has type `*const continuation::PieceToHistory` [INFO] [stdout] | [INFO] [stdout] = note: creating a reference requires the pointer target to be valid and imposes aliasing requirements [INFO] [stdout] note: autoref is being applied to this expression, resulting in: `&continuation::PieceToHistory` [INFO] [stdout] --> src/search/mod.rs:789:32 [INFO] [stdout] | [INFO] [stdout] 789 | ... && (*cont_hists[0])[(moved_piece, mov.get_dest())] < 0 [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(dangerous_implicit_autorefs)]` on by default [INFO] [stdout] help: try using a raw pointer method instead; or if this reference is intentional, make it explicit [INFO] [stdout] | [INFO] [stdout] 789 | && (&(*cont_hists[0]))[(moved_piece, mov.get_dest())] < 0 [INFO] [stdout] | ++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> src/search/mod.rs:790:32 [INFO] [stdout] | [INFO] [stdout] 790 | ... && (*cont_hists[1])[(moved_piece, mov.get_dest())] < 0 [INFO] [stdout] | ^^-------------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this raw pointer has type `*const continuation::PieceToHistory` [INFO] [stdout] | [INFO] [stdout] = note: creating a reference requires the pointer target to be valid and imposes aliasing requirements [INFO] [stdout] note: autoref is being applied to this expression, resulting in: `&continuation::PieceToHistory` [INFO] [stdout] --> src/search/mod.rs:790:32 [INFO] [stdout] | [INFO] [stdout] 790 | ... && (*cont_hists[1])[(moved_piece, mov.get_dest())] < 0 [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] help: try using a raw pointer method instead; or if this reference is intentional, make it explicit [INFO] [stdout] | [INFO] [stdout] 790 | && (&(*cont_hists[1]))[(moved_piece, mov.get_dest())] < 0 [INFO] [stdout] | ++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> src/search/mod.rs:880:31 [INFO] [stdout] | [INFO] [stdout] 880 | ... + (*cont_hists[0])[(moved_piece, mov.get_dest())] as i32 [INFO] [stdout] | ^^-------------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this raw pointer has type `*const continuation::PieceToHistory` [INFO] [stdout] | [INFO] [stdout] = note: creating a reference requires the pointer target to be valid and imposes aliasing requirements [INFO] [stdout] note: autoref is being applied to this expression, resulting in: `&continuation::PieceToHistory` [INFO] [stdout] --> src/search/mod.rs:880:31 [INFO] [stdout] | [INFO] [stdout] 880 | ... + (*cont_hists[0])[(moved_piece, mov.get_dest())] as i32 [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] help: try using a raw pointer method instead; or if this reference is intentional, make it explicit [INFO] [stdout] | [INFO] [stdout] 880 | + (&(*cont_hists[0]))[(moved_piece, mov.get_dest())] as i32 [INFO] [stdout] | ++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> src/search/mod.rs:881:31 [INFO] [stdout] | [INFO] [stdout] 881 | ... + (*cont_hists[1])[(moved_piece, mov.get_dest())] as i32 [INFO] [stdout] | ^^-------------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this raw pointer has type `*const continuation::PieceToHistory` [INFO] [stdout] | [INFO] [stdout] = note: creating a reference requires the pointer target to be valid and imposes aliasing requirements [INFO] [stdout] note: autoref is being applied to this expression, resulting in: `&continuation::PieceToHistory` [INFO] [stdout] --> src/search/mod.rs:881:31 [INFO] [stdout] | [INFO] [stdout] 881 | ... + (*cont_hists[1])[(moved_piece, mov.get_dest())] as i32 [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] help: try using a raw pointer method instead; or if this reference is intentional, make it explicit [INFO] [stdout] | [INFO] [stdout] 881 | + (&(*cont_hists[1]))[(moved_piece, mov.get_dest())] as i32 [INFO] [stdout] | ++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> src/search/mod.rs:882:31 [INFO] [stdout] | [INFO] [stdout] 882 | ... + (*cont_hists[3])[(moved_piece, mov.get_dest())] as i32 [INFO] [stdout] | ^^-------------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this raw pointer has type `*const continuation::PieceToHistory` [INFO] [stdout] | [INFO] [stdout] = note: creating a reference requires the pointer target to be valid and imposes aliasing requirements [INFO] [stdout] note: autoref is being applied to this expression, resulting in: `&continuation::PieceToHistory` [INFO] [stdout] --> src/search/mod.rs:882:31 [INFO] [stdout] | [INFO] [stdout] 882 | ... + (*cont_hists[3])[(moved_piece, mov.get_dest())] as i32 [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] help: try using a raw pointer method instead; or if this reference is intentional, make it explicit [INFO] [stdout] | [INFO] [stdout] 882 | + (&(*cont_hists[3]))[(moved_piece, mov.get_dest())] as i32 [INFO] [stdout] | ++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `BitBoard` does not permit being left uninitialized [INFO] [stdout] --> src/search/eval.rs:743:54 [INFO] [stdout] | [INFO] [stdout] 743 | let mut pinners: BitBoard = unsafe { 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 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/threadpool/mod.rs:49:60 [INFO] [stdout] | [INFO] [stdout] 49 | let pool: *mut ThreadPool = mem::transmute(&mut THREADPOOL); [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] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 49 | let pool: *mut ThreadPool = mem::transmute(&raw mut THREADPOOL); [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/threadpool/mod.rs:60:78 [INFO] [stdout] | [INFO] [stdout] 60 | unsafe { mem::transmute::<&mut DummyThreadPool, &'static mut ThreadPool>(&mut THREADPOOL) } [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] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 60 | unsafe { mem::transmute::<&mut DummyThreadPool, &'static mut ThreadPool>(&raw mut THREADPOOL) } [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling criterion v0.2.11 [INFO] [stdout] warning: unexpected `cfg` condition value: `dev` [INFO] [stdout] --> src/lib.rs:9:13 [INFO] [stdout] | [INFO] [stdout] 9 | #![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: unnecessary parentheses around const expression [INFO] [stdout] --> src/tables/butterfly.rs:10:15 [INFO] [stdout] | [INFO] [stdout] 10 | a: [[i16; (SQ_CNT * SQ_CNT)]; PLAYER_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] 10 - a: [[i16; (SQ_CNT * SQ_CNT)]; PLAYER_CNT], [INFO] [stdout] 10 + a: [[i16; SQ_CNT * SQ_CNT ]; PLAYER_CNT], [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/consts.rs:59:18 [INFO] [stdout] | [INFO] [stdout] 59 | let tt = &mut TT_TABLE as *mut DummyTranspositionTable as *mut TranspositionTable; [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] = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 59 | let tt = &raw mut TT_TABLE as *mut DummyTranspositionTable as *mut TranspositionTable; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/consts.rs:68:39 [INFO] [stdout] | [INFO] [stdout] 68 | let timer: *mut TimeManager = &mut TIMER as *mut DummyTimeManager as *mut TimeManager; [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] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 68 | let timer: *mut TimeManager = &raw mut TIMER as *mut DummyTimeManager as *mut TimeManager; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/consts.rs:75:17 [INFO] [stdout] | [INFO] [stdout] 75 | unsafe { &*(&TIMER as *const DummyTimeManager as *const TimeManager) } [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] help: use `&raw const` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 75 | unsafe { &*(&raw const TIMER as *const DummyTimeManager as *const TimeManager) } [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/consts.rs:81:17 [INFO] [stdout] | [INFO] [stdout] 81 | unsafe { &*(&TT_TABLE as *const DummyTranspositionTable as *const TranspositionTable) } [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] help: use `&raw const` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 81 | unsafe { &*(&raw const TT_TABLE as *const DummyTranspositionTable as *const TranspositionTable) } [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `SQ` does not permit being left uninitialized [INFO] [stdout] --> src/movepick/mod.rs:70:36 [INFO] [stdout] | [INFO] [stdout] 70 | recapture_sq: unsafe { 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 [INFO] [stdout] = note: `#[warn(invalid_value)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `i32` does not permit being left uninitialized [INFO] [stdout] --> src/movepick/mod.rs:71:33 [INFO] [stdout] | [INFO] [stdout] 71 | threshold: unsafe { 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 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `[tanton::BitMove; 2]` does not permit being left uninitialized [INFO] [stdout] --> src/movepick/mod.rs:101:31 [INFO] [stdout] | [INFO] [stdout] 101 | killers: unsafe { 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 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `tanton::BitMove` does not permit being left uninitialized [INFO] [stdout] --> src/movepick/mod.rs:102:26 [INFO] [stdout] | [INFO] [stdout] 102 | cm: unsafe { 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 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `SQ` does not permit being left uninitialized [INFO] [stdout] --> src/movepick/mod.rs:103:36 [INFO] [stdout] | [INFO] [stdout] 103 | recapture_sq: unsafe { 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 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `i32` does not permit being left uninitialized [INFO] [stdout] --> src/movepick/mod.rs:104:33 [INFO] [stdout] | [INFO] [stdout] 104 | threshold: unsafe { 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 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `*const [*const continuation::PieceToHistory; 4]` does not permit being left uninitialized [INFO] [stdout] --> src/movepick/mod.rs:107:33 [INFO] [stdout] | [INFO] [stdout] 107 | cont_hist: unsafe { 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: raw pointers must be initialized [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `i16` does not permit being left uninitialized [INFO] [stdout] --> src/movepick/mod.rs:155:29 [INFO] [stdout] | [INFO] [stdout] 155 | depth: unsafe { 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 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `[tanton::BitMove; 2]` does not permit being left uninitialized [INFO] [stdout] --> src/movepick/mod.rs:157:31 [INFO] [stdout] | [INFO] [stdout] 157 | killers: unsafe { 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 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `tanton::BitMove` does not permit being left uninitialized [INFO] [stdout] --> src/movepick/mod.rs:158:26 [INFO] [stdout] | [INFO] [stdout] 158 | cm: unsafe { 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 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `SQ` does not permit being left uninitialized [INFO] [stdout] --> src/movepick/mod.rs:159:36 [INFO] [stdout] | [INFO] [stdout] 159 | recapture_sq: unsafe { 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 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `*const butterfly::ButterflyHistory` does not permit being left uninitialized [INFO] [stdout] --> src/movepick/mod.rs:161:33 [INFO] [stdout] | [INFO] [stdout] 161 | main_hist: unsafe { 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: raw pointers must be initialized [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `*const capture_piece_history::CapturePieceToHistory` does not permit being left uninitialized [INFO] [stdout] --> src/movepick/mod.rs:162:36 [INFO] [stdout] | [INFO] [stdout] 162 | capture_hist: unsafe { 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: raw pointers must be initialized [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `*const [*const continuation::PieceToHistory; 4]` does not permit being left uninitialized [INFO] [stdout] --> src/movepick/mod.rs:163:33 [INFO] [stdout] | [INFO] [stdout] 163 | cont_hist: unsafe { 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: raw pointers must be initialized [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `RootMove` does not permit being left uninitialized [INFO] [stdout] --> src/root_moves/root_moves_list.rs:35:25 [INFO] [stdout] | [INFO] [stdout] 35 | moves: [mem::MaybeUninit::uninit().assume_init(); MAX_MOVES], [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/root_moves/mod.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | pub score: i32, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> src/search/mod.rs:789:32 [INFO] [stdout] | [INFO] [stdout] 789 | ... && (*cont_hists[0])[(moved_piece, mov.get_dest())] < 0 [INFO] [stdout] | ^^-------------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this raw pointer has type `*const continuation::PieceToHistory` [INFO] [stdout] | [INFO] [stdout] = note: creating a reference requires the pointer target to be valid and imposes aliasing requirements [INFO] [stdout] note: autoref is being applied to this expression, resulting in: `&continuation::PieceToHistory` [INFO] [stdout] --> src/search/mod.rs:789:32 [INFO] [stdout] | [INFO] [stdout] 789 | ... && (*cont_hists[0])[(moved_piece, mov.get_dest())] < 0 [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(dangerous_implicit_autorefs)]` on by default [INFO] [stdout] help: try using a raw pointer method instead; or if this reference is intentional, make it explicit [INFO] [stdout] | [INFO] [stdout] 789 | && (&(*cont_hists[0]))[(moved_piece, mov.get_dest())] < 0 [INFO] [stdout] | ++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> src/search/mod.rs:790:32 [INFO] [stdout] | [INFO] [stdout] 790 | ... && (*cont_hists[1])[(moved_piece, mov.get_dest())] < 0 [INFO] [stdout] | ^^-------------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this raw pointer has type `*const continuation::PieceToHistory` [INFO] [stdout] | [INFO] [stdout] = note: creating a reference requires the pointer target to be valid and imposes aliasing requirements [INFO] [stdout] note: autoref is being applied to this expression, resulting in: `&continuation::PieceToHistory` [INFO] [stdout] --> src/search/mod.rs:790:32 [INFO] [stdout] | [INFO] [stdout] 790 | ... && (*cont_hists[1])[(moved_piece, mov.get_dest())] < 0 [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] help: try using a raw pointer method instead; or if this reference is intentional, make it explicit [INFO] [stdout] | [INFO] [stdout] 790 | && (&(*cont_hists[1]))[(moved_piece, mov.get_dest())] < 0 [INFO] [stdout] | ++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> src/search/mod.rs:880:31 [INFO] [stdout] | [INFO] [stdout] 880 | ... + (*cont_hists[0])[(moved_piece, mov.get_dest())] as i32 [INFO] [stdout] | ^^-------------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this raw pointer has type `*const continuation::PieceToHistory` [INFO] [stdout] | [INFO] [stdout] = note: creating a reference requires the pointer target to be valid and imposes aliasing requirements [INFO] [stdout] note: autoref is being applied to this expression, resulting in: `&continuation::PieceToHistory` [INFO] [stdout] --> src/search/mod.rs:880:31 [INFO] [stdout] | [INFO] [stdout] 880 | ... + (*cont_hists[0])[(moved_piece, mov.get_dest())] as i32 [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] help: try using a raw pointer method instead; or if this reference is intentional, make it explicit [INFO] [stdout] | [INFO] [stdout] 880 | + (&(*cont_hists[0]))[(moved_piece, mov.get_dest())] as i32 [INFO] [stdout] | ++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> src/search/mod.rs:881:31 [INFO] [stdout] | [INFO] [stdout] 881 | ... + (*cont_hists[1])[(moved_piece, mov.get_dest())] as i32 [INFO] [stdout] | ^^-------------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this raw pointer has type `*const continuation::PieceToHistory` [INFO] [stdout] | [INFO] [stdout] = note: creating a reference requires the pointer target to be valid and imposes aliasing requirements [INFO] [stdout] note: autoref is being applied to this expression, resulting in: `&continuation::PieceToHistory` [INFO] [stdout] --> src/search/mod.rs:881:31 [INFO] [stdout] | [INFO] [stdout] 881 | ... + (*cont_hists[1])[(moved_piece, mov.get_dest())] as i32 [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] help: try using a raw pointer method instead; or if this reference is intentional, make it explicit [INFO] [stdout] | [INFO] [stdout] 881 | + (&(*cont_hists[1]))[(moved_piece, mov.get_dest())] as i32 [INFO] [stdout] | ++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> src/search/mod.rs:882:31 [INFO] [stdout] | [INFO] [stdout] 882 | ... + (*cont_hists[3])[(moved_piece, mov.get_dest())] as i32 [INFO] [stdout] | ^^-------------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this raw pointer has type `*const continuation::PieceToHistory` [INFO] [stdout] | [INFO] [stdout] = note: creating a reference requires the pointer target to be valid and imposes aliasing requirements [INFO] [stdout] note: autoref is being applied to this expression, resulting in: `&continuation::PieceToHistory` [INFO] [stdout] --> src/search/mod.rs:882:31 [INFO] [stdout] | [INFO] [stdout] 882 | ... + (*cont_hists[3])[(moved_piece, mov.get_dest())] as i32 [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] help: try using a raw pointer method instead; or if this reference is intentional, make it explicit [INFO] [stdout] | [INFO] [stdout] 882 | + (&(*cont_hists[3]))[(moved_piece, mov.get_dest())] as i32 [INFO] [stdout] | ++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `BitBoard` does not permit being left uninitialized [INFO] [stdout] --> src/search/eval.rs:743:54 [INFO] [stdout] | [INFO] [stdout] 743 | let mut pinners: BitBoard = unsafe { 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 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/threadpool/mod.rs:49:60 [INFO] [stdout] | [INFO] [stdout] 49 | let pool: *mut ThreadPool = mem::transmute(&mut THREADPOOL); [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] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 49 | let pool: *mut ThreadPool = mem::transmute(&raw mut THREADPOOL); [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/threadpool/mod.rs:60:78 [INFO] [stdout] | [INFO] [stdout] 60 | unsafe { mem::transmute::<&mut DummyThreadPool, &'static mut ThreadPool>(&mut THREADPOOL) } [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] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 60 | unsafe { mem::transmute::<&mut DummyThreadPool, &'static mut ThreadPool>(&raw mut THREADPOOL) } [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [optimized + debuginfo] target(s) in 1m 44s [INFO] running `Command { std: "docker" "inspect" "9c0892119b9375dff5754ed4ded43a73c37ded450e72a66fedfdfaea0a146e3f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9c0892119b9375dff5754ed4ded43a73c37ded450e72a66fedfdfaea0a146e3f", kill_on_drop: false }` [INFO] [stdout] 9c0892119b9375dff5754ed4ded43a73c37ded450e72a66fedfdfaea0a146e3f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-10-28" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] f264648181c3ebc2affc12b52f5829e44c2035dc00614d5873c09c3acaa91d0a [INFO] running `Command { std: "docker" "start" "-a" "f264648181c3ebc2affc12b52f5829e44c2035dc00614d5873c09c3acaa91d0a", 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:9:13 [INFO] [stderr] | [INFO] [stderr] 9 | #![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: unnecessary parentheses around const expression [INFO] [stderr] --> src/tables/butterfly.rs:10:15 [INFO] [stderr] | [INFO] [stderr] 10 | a: [[i16; (SQ_CNT * SQ_CNT)]; PLAYER_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] 10 - a: [[i16; (SQ_CNT * SQ_CNT)]; PLAYER_CNT], [INFO] [stderr] 10 + a: [[i16; SQ_CNT * SQ_CNT ]; PLAYER_CNT], [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: creating a mutable reference to mutable static [INFO] [stderr] --> src/consts.rs:59:18 [INFO] [stderr] | [INFO] [stderr] 59 | let tt = &mut TT_TABLE as *mut DummyTranspositionTable as *mut TranspositionTable; [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] = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default [INFO] [stderr] help: use `&raw mut` instead to create a raw pointer [INFO] [stderr] | [INFO] [stderr] 59 | let tt = &raw mut TT_TABLE as *mut DummyTranspositionTable as *mut TranspositionTable; [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: creating a mutable reference to mutable static [INFO] [stderr] --> src/consts.rs:68:39 [INFO] [stderr] | [INFO] [stderr] 68 | let timer: *mut TimeManager = &mut TIMER as *mut DummyTimeManager as *mut TimeManager; [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] help: use `&raw mut` instead to create a raw pointer [INFO] [stderr] | [INFO] [stderr] 68 | let timer: *mut TimeManager = &raw mut TIMER as *mut DummyTimeManager as *mut TimeManager; [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static [INFO] [stderr] --> src/consts.rs:75:17 [INFO] [stderr] | [INFO] [stderr] 75 | unsafe { &*(&TIMER as *const DummyTimeManager as *const TimeManager) } [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] help: use `&raw const` instead to create a raw pointer [INFO] [stderr] | [INFO] [stderr] 75 | unsafe { &*(&raw const TIMER as *const DummyTimeManager as *const TimeManager) } [INFO] [stderr] | +++++++++ [INFO] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static [INFO] [stderr] --> src/consts.rs:81:17 [INFO] [stderr] | [INFO] [stderr] 81 | unsafe { &*(&TT_TABLE as *const DummyTranspositionTable as *const TranspositionTable) } [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] help: use `&raw const` instead to create a raw pointer [INFO] [stderr] | [INFO] [stderr] 81 | unsafe { &*(&raw const TT_TABLE as *const DummyTranspositionTable as *const TranspositionTable) } [INFO] [stderr] | +++++++++ [INFO] [stderr] [INFO] [stderr] warning: the type `SQ` does not permit being left uninitialized [INFO] [stderr] --> src/movepick/mod.rs:70:36 [INFO] [stderr] | [INFO] [stderr] 70 | recapture_sq: unsafe { 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 [INFO] [stderr] = note: `#[warn(invalid_value)]` on by default [INFO] [stderr] [INFO] [stderr] warning: the type `i32` does not permit being left uninitialized [INFO] [stderr] --> src/movepick/mod.rs:71:33 [INFO] [stderr] | [INFO] [stderr] 71 | threshold: unsafe { 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 [INFO] [stderr] [INFO] [stderr] warning: the type `[BitMove; 2]` does not permit being left uninitialized [INFO] [stderr] --> src/movepick/mod.rs:101:31 [INFO] [stderr] | [INFO] [stderr] 101 | killers: unsafe { 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 [INFO] [stderr] [INFO] [stderr] warning: the type `BitMove` does not permit being left uninitialized [INFO] [stderr] --> src/movepick/mod.rs:102:26 [INFO] [stderr] | [INFO] [stderr] 102 | cm: unsafe { 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 [INFO] [stderr] [INFO] [stderr] warning: the type `SQ` does not permit being left uninitialized [INFO] [stderr] --> src/movepick/mod.rs:103:36 [INFO] [stderr] | [INFO] [stderr] 103 | recapture_sq: unsafe { 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 [INFO] [stderr] [INFO] [stderr] warning: the type `i32` does not permit being left uninitialized [INFO] [stderr] --> src/movepick/mod.rs:104:33 [INFO] [stderr] | [INFO] [stderr] 104 | threshold: unsafe { 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 [INFO] [stderr] [INFO] [stderr] warning: the type `*const [*const continuation::PieceToHistory; 4]` does not permit being left uninitialized [INFO] [stderr] --> src/movepick/mod.rs:107:33 [INFO] [stderr] | [INFO] [stderr] 107 | cont_hist: unsafe { 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: raw pointers must be initialized [INFO] [stderr] [INFO] [stderr] warning: the type `i16` does not permit being left uninitialized [INFO] [stderr] --> src/movepick/mod.rs:155:29 [INFO] [stderr] | [INFO] [stderr] 155 | depth: unsafe { 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 [INFO] [stderr] [INFO] [stderr] warning: the type `[BitMove; 2]` does not permit being left uninitialized [INFO] [stderr] --> src/movepick/mod.rs:157:31 [INFO] [stderr] | [INFO] [stderr] 157 | killers: unsafe { 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 [INFO] [stderr] [INFO] [stderr] warning: the type `BitMove` does not permit being left uninitialized [INFO] [stderr] --> src/movepick/mod.rs:158:26 [INFO] [stderr] | [INFO] [stderr] 158 | cm: unsafe { 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 [INFO] [stderr] [INFO] [stderr] warning: the type `SQ` does not permit being left uninitialized [INFO] [stderr] --> src/movepick/mod.rs:159:36 [INFO] [stderr] | [INFO] [stderr] 159 | recapture_sq: unsafe { 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 [INFO] [stderr] [INFO] [stderr] warning: the type `*const butterfly::ButterflyHistory` does not permit being left uninitialized [INFO] [stderr] --> src/movepick/mod.rs:161:33 [INFO] [stderr] | [INFO] [stderr] 161 | main_hist: unsafe { 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: raw pointers must be initialized [INFO] [stderr] [INFO] [stderr] warning: the type `*const capture_piece_history::CapturePieceToHistory` does not permit being left uninitialized [INFO] [stderr] --> src/movepick/mod.rs:162:36 [INFO] [stderr] | [INFO] [stderr] 162 | capture_hist: unsafe { 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: raw pointers must be initialized [INFO] [stderr] [INFO] [stderr] warning: the type `*const [*const continuation::PieceToHistory; 4]` does not permit being left uninitialized [INFO] [stderr] --> src/movepick/mod.rs:163:33 [INFO] [stderr] | [INFO] [stderr] 163 | cont_hist: unsafe { 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: raw pointers must be initialized [INFO] [stderr] [INFO] [stderr] warning: the type `RootMove` does not permit being left uninitialized [INFO] [stderr] --> src/root_moves/root_moves_list.rs:35:25 [INFO] [stderr] | [INFO] [stderr] 35 | moves: [mem::MaybeUninit::uninit().assume_init(); MAX_MOVES], [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/root_moves/mod.rs:17:5 [INFO] [stderr] | [INFO] [stderr] 17 | pub score: i32, [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stderr] --> src/search/mod.rs:789:32 [INFO] [stderr] | [INFO] [stderr] 789 | ... && (*cont_hists[0])[(moved_piece, mov.get_dest())] < 0 [INFO] [stderr] | ^^-------------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | this raw pointer has type `*const continuation::PieceToHistory` [INFO] [stderr] | [INFO] [stderr] = note: creating a reference requires the pointer target to be valid and imposes aliasing requirements [INFO] [stderr] note: autoref is being applied to this expression, resulting in: `&continuation::PieceToHistory` [INFO] [stderr] --> src/search/mod.rs:789:32 [INFO] [stderr] | [INFO] [stderr] 789 | ... && (*cont_hists[0])[(moved_piece, mov.get_dest())] < 0 [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] = note: `#[warn(dangerous_implicit_autorefs)]` on by default [INFO] [stderr] help: try using a raw pointer method instead; or if this reference is intentional, make it explicit [INFO] [stderr] | [INFO] [stderr] 789 | && (&(*cont_hists[0]))[(moved_piece, mov.get_dest())] < 0 [INFO] [stderr] | ++ + [INFO] [stderr] [INFO] [stderr] warning: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stderr] --> src/search/mod.rs:790:32 [INFO] [stderr] | [INFO] [stderr] 790 | ... && (*cont_hists[1])[(moved_piece, mov.get_dest())] < 0 [INFO] [stderr] | ^^-------------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | this raw pointer has type `*const continuation::PieceToHistory` [INFO] [stderr] | [INFO] [stderr] = note: creating a reference requires the pointer target to be valid and imposes aliasing requirements [INFO] [stderr] note: autoref is being applied to this expression, resulting in: `&continuation::PieceToHistory` [INFO] [stderr] --> src/search/mod.rs:790:32 [INFO] [stderr] | [INFO] [stderr] 790 | ... && (*cont_hists[1])[(moved_piece, mov.get_dest())] < 0 [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] help: try using a raw pointer method instead; or if this reference is intentional, make it explicit [INFO] [stderr] | [INFO] [stderr] 790 | && (&(*cont_hists[1]))[(moved_piece, mov.get_dest())] < 0 [INFO] [stderr] | ++ + [INFO] [stderr] [INFO] [stderr] warning: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stderr] --> src/search/mod.rs:880:31 [INFO] [stderr] | [INFO] [stderr] 880 | ... + (*cont_hists[0])[(moved_piece, mov.get_dest())] as i32 [INFO] [stderr] | ^^-------------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | this raw pointer has type `*const continuation::PieceToHistory` [INFO] [stderr] | [INFO] [stderr] = note: creating a reference requires the pointer target to be valid and imposes aliasing requirements [INFO] [stderr] note: autoref is being applied to this expression, resulting in: `&continuation::PieceToHistory` [INFO] [stderr] --> src/search/mod.rs:880:31 [INFO] [stderr] | [INFO] [stderr] 880 | ... + (*cont_hists[0])[(moved_piece, mov.get_dest())] as i32 [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] help: try using a raw pointer method instead; or if this reference is intentional, make it explicit [INFO] [stderr] | [INFO] [stderr] 880 | + (&(*cont_hists[0]))[(moved_piece, mov.get_dest())] as i32 [INFO] [stderr] | ++ + [INFO] [stderr] [INFO] [stderr] warning: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stderr] --> src/search/mod.rs:881:31 [INFO] [stderr] | [INFO] [stderr] 881 | ... + (*cont_hists[1])[(moved_piece, mov.get_dest())] as i32 [INFO] [stderr] | ^^-------------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | this raw pointer has type `*const continuation::PieceToHistory` [INFO] [stderr] | [INFO] [stderr] = note: creating a reference requires the pointer target to be valid and imposes aliasing requirements [INFO] [stderr] note: autoref is being applied to this expression, resulting in: `&continuation::PieceToHistory` [INFO] [stderr] --> src/search/mod.rs:881:31 [INFO] [stderr] | [INFO] [stderr] 881 | ... + (*cont_hists[1])[(moved_piece, mov.get_dest())] as i32 [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] help: try using a raw pointer method instead; or if this reference is intentional, make it explicit [INFO] [stderr] | [INFO] [stderr] 881 | + (&(*cont_hists[1]))[(moved_piece, mov.get_dest())] as i32 [INFO] [stderr] | ++ + [INFO] [stderr] [INFO] [stderr] warning: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stderr] --> src/search/mod.rs:882:31 [INFO] [stderr] | [INFO] [stderr] 882 | ... + (*cont_hists[3])[(moved_piece, mov.get_dest())] as i32 [INFO] [stderr] | ^^-------------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | this raw pointer has type `*const continuation::PieceToHistory` [INFO] [stderr] | [INFO] [stderr] = note: creating a reference requires the pointer target to be valid and imposes aliasing requirements [INFO] [stderr] note: autoref is being applied to this expression, resulting in: `&continuation::PieceToHistory` [INFO] [stderr] --> src/search/mod.rs:882:31 [INFO] [stderr] | [INFO] [stderr] 882 | ... + (*cont_hists[3])[(moved_piece, mov.get_dest())] as i32 [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] help: try using a raw pointer method instead; or if this reference is intentional, make it explicit [INFO] [stderr] | [INFO] [stderr] 882 | + (&(*cont_hists[3]))[(moved_piece, mov.get_dest())] as i32 [INFO] [stderr] | ++ + [INFO] [stderr] [INFO] [stderr] warning: the type `BitBoard` does not permit being left uninitialized [INFO] [stderr] --> src/search/eval.rs:743:54 [INFO] [stderr] | [INFO] [stderr] 743 | let mut pinners: BitBoard = unsafe { 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 [INFO] [stderr] [INFO] [stderr] warning: creating a mutable reference to mutable static [INFO] [stderr] --> src/threadpool/mod.rs:49:60 [INFO] [stderr] | [INFO] [stderr] 49 | let pool: *mut ThreadPool = mem::transmute(&mut THREADPOOL); [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] help: use `&raw mut` instead to create a raw pointer [INFO] [stderr] | [INFO] [stderr] 49 | let pool: *mut ThreadPool = mem::transmute(&raw mut THREADPOOL); [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: creating a mutable reference to mutable static [INFO] [stderr] --> src/threadpool/mod.rs:60:78 [INFO] [stderr] | [INFO] [stderr] 60 | unsafe { mem::transmute::<&mut DummyThreadPool, &'static mut ThreadPool>(&mut THREADPOOL) } [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] help: use `&raw mut` instead to create a raw pointer [INFO] [stderr] | [INFO] [stderr] 60 | unsafe { mem::transmute::<&mut DummyThreadPool, &'static mut ThreadPool>(&raw mut THREADPOOL) } [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: `tanton_engine` (lib) generated 29 warnings (run `cargo fix --lib -p tanton_engine` to apply 1 suggestion) [INFO] [stderr] warning: the type `[tanton::BitMove; 2]` does not permit being left uninitialized [INFO] [stderr] --> src/movepick/mod.rs:101:31 [INFO] [stderr] | [INFO] [stderr] 101 | killers: unsafe { 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 [INFO] [stderr] [INFO] [stderr] warning: the type `tanton::BitMove` does not permit being left uninitialized [INFO] [stderr] --> src/movepick/mod.rs:102:26 [INFO] [stderr] | [INFO] [stderr] 102 | cm: unsafe { 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 [INFO] [stderr] [INFO] [stderr] warning: the type `[tanton::BitMove; 2]` does not permit being left uninitialized [INFO] [stderr] --> src/movepick/mod.rs:157:31 [INFO] [stderr] | [INFO] [stderr] 157 | killers: unsafe { 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 [INFO] [stderr] [INFO] [stderr] warning: the type `tanton::BitMove` does not permit being left uninitialized [INFO] [stderr] --> src/movepick/mod.rs:158:26 [INFO] [stderr] | [INFO] [stderr] 158 | cm: unsafe { 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 [INFO] [stderr] [INFO] [stderr] warning: `tanton_engine` (lib test) generated 29 warnings (25 duplicates) [INFO] [stderr] Finished `test` profile [optimized + debuginfo] target(s) in 0.08s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/tanton_engine-7ff234e848bbaeda) [INFO] [stdout] [INFO] [stdout] running 21 tests [INFO] [stdout] test movepick::tests::movepick_incorrect_move_5 ... ok [INFO] [stdout] test movepick::tests::movepick_incorrect_move_4 ... ok [INFO] [stdout] test movepick::tests::movepick_startpos_blank ... ok [INFO] [stdout] test movepick::tests::mp_partial_insertion_sort ... ok [INFO] [stdout] test movepick::tests::mp_partial_insertion_sort_rand ... ok [INFO] [stdout] test search::eval::tests::bad_board ... ok [INFO] [stdout] test movepick::tests::movepick_startpos_rand_op ... ok [INFO] [stdout] test movepick::tests::movepick_incorrect_move_3 ... ok [INFO] [stdout] test movepick::tests::movepick_incorrect_move_6 ... ok [INFO] [stdout] test movepick::tests::movepick_incorrect_move_2 ... ok [INFO] [stdout] test movepick::tests::movepick_incorrect_move_1 ... ok [INFO] [stdout] test tables::continuation::tests::size ... ok [INFO] [stdout] test search::how_big ... ok [INFO] [stdout] test uci::parse::tests::board_parse ... ok [INFO] [stdout] test uci::parse::tests::tempboard ... ok [INFO] [stdout] test uci::parse::tests::time_parse ... ok [INFO] [stdout] test search::eval::tests::trace_eval ... ok [INFO] [stderr] [INFO] [stderr] thread 'Starter' (20) panicked at src/consts.rs:75:14: [INFO] [stderr] misaligned pointer dereference: address must be a multiple of 0x8 but is 0x5897b5978181 [INFO] [stderr] stack backtrace: [INFO] [stderr] 0: 0x5897b594bac2 - std::backtrace_rs::backtrace::libunwind::trace::h16acf28769fcd909 [INFO] [stderr] at /rustc/3b4dd9bf1410f8da6329baa36ce5e37673cbbd1f/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stderr] 1: 0x5897b594bac2 - std::backtrace_rs::backtrace::trace_unsynchronized::hb5541aa5d4f92513 [INFO] [stderr] at /rustc/3b4dd9bf1410f8da6329baa36ce5e37673cbbd1f/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stderr] 2: 0x5897b594bac2 - std::sys::backtrace::_print_fmt::h8ac8268cb667a306 [INFO] [stderr] at /rustc/3b4dd9bf1410f8da6329baa36ce5e37673cbbd1f/library/std/src/sys/backtrace.rs:66:9 [INFO] [stderr] 3: 0x5897b594bac2 - ::fmt::h47627beda0767f4c [INFO] [stderr] at /rustc/3b4dd9bf1410f8da6329baa36ce5e37673cbbd1f/library/std/src/sys/backtrace.rs:39:26 [INFO] [stderr] 4: 0x5897b595c53f - core::fmt::rt::Argument::fmt::h686a01ad57c1c92a [INFO] [stderr] at /rustc/3b4dd9bf1410f8da6329baa36ce5e37673cbbd1f/library/core/src/fmt/rt.rs:173:76 [INFO] [stderr] 5: 0x5897b595c53f - core::fmt::write::h8a63064c67176fd8 [INFO] [stderr] at /rustc/3b4dd9bf1410f8da6329baa36ce5e37673cbbd1f/library/core/src/fmt/mod.rs:1469:25 [INFO] [stderr] 6: 0x5897b5919163 - std::io::default_write_fmt::hc257f38f86d39af6 [INFO] [stderr] at /rustc/3b4dd9bf1410f8da6329baa36ce5e37673cbbd1f/library/std/src/io/mod.rs:639:11 [INFO] [stderr] 7: 0x5897b5919163 - std::io::Write::write_fmt::h5e9b646cef91150b [INFO] [stderr] at /rustc/3b4dd9bf1410f8da6329baa36ce5e37673cbbd1f/library/std/src/io/mod.rs:1954:13 [INFO] [stderr] 8: 0x5897b5925302 - std::sys::backtrace::BacktraceLock::print::h4634d27c0afbaebb [INFO] [stderr] at /rustc/3b4dd9bf1410f8da6329baa36ce5e37673cbbd1f/library/std/src/sys/backtrace.rs:42:9 [INFO] [stderr] 9: 0x5897b5929e1f - std::panicking::default_hook::{{closure}}::h23e0299d4738b766 [INFO] [stderr] at /rustc/3b4dd9bf1410f8da6329baa36ce5e37673cbbd1f/library/std/src/panicking.rs:301:27 [INFO] [stderr] 10: 0x5897b5929c79 - std::panicking::default_hook::hfeec6294e8751b62 [INFO] [stderr] at /rustc/3b4dd9bf1410f8da6329baa36ce5e37673cbbd1f/library/std/src/panicking.rs:328:9 [INFO] [stderr] 11: 0x5897b58cd57e - as core::ops::function::Fn>::call::h3f5a16438cee2b4e [INFO] [stderr] at /rustc/3b4dd9bf1410f8da6329baa36ce5e37673cbbd1f/library/alloc/src/boxed.rs:2019:9 [INFO] [stderr] 12: 0x5897b58cd57e - test::test_main_with_exit_callback::{{closure}}::h9214498cef9aafc5 [INFO] [stderr] at /rustc/3b4dd9bf1410f8da6329baa36ce5e37673cbbd1f/library/test/src/lib.rs:145:21 [INFO] [stderr] 13: 0x5897b592a42f - as core::ops::function::Fn>::call::hdb18da3e68df7464 [INFO] [stderr] at /rustc/3b4dd9bf1410f8da6329baa36ce5e37673cbbd1f/library/alloc/src/boxed.rs:2019:9 [INFO] [stderr] 14: 0x5897b592a42f - std::panicking::panic_with_hook::hd57cd463d793ed79 [INFO] [stderr] at /rustc/3b4dd9bf1410f8da6329baa36ce5e37673cbbd1f/library/std/src/panicking.rs:842:13 [INFO] [stderr] 15: 0x5897b592a28a - std::panicking::panic_handler::{{closure}}::hddd6216c3fddee3b [INFO] [stderr] at /rustc/3b4dd9bf1410f8da6329baa36ce5e37673cbbd1f/library/std/src/panicking.rs:707:13 [INFO] [stderr] 16: 0x5897b5925439 - std::sys::backtrace::__rust_end_short_backtrace::h5e7a56f283378525 [INFO] [stderr] at /rustc/3b4dd9bf1410f8da6329baa36ce5e37673cbbd1f/library/std/src/sys/backtrace.rs:174:18 [INFO] [stderr] 17: 0x5897b590da3d - __rustc[256c90bb7e548b45]::rust_begin_unwind [INFO] [stderr] at /rustc/3b4dd9bf1410f8da6329baa36ce5e37673cbbd1f/library/std/src/panicking.rs:698:5 [INFO] [stderr] 18: 0x5897b5963c4d - core::panicking::panic_nounwind_fmt::runtime::hd5eea0fd564156db [INFO] [stderr] at /rustc/3b4dd9bf1410f8da6329baa36ce5e37673cbbd1f/library/core/src/panicking.rs:122:22 [INFO] [stderr] 19: 0x5897b5963c4d - core::panicking::panic_nounwind_fmt::hd9aca48f58eaf762 [INFO] [stderr] at /rustc/3b4dd9bf1410f8da6329baa36ce5e37673cbbd1f/library/core/src/intrinsics/mod.rs:2435:9 [INFO] [stderr] 20: 0x5897b5963eea - core::panicking::panic_misaligned_pointer_dereference::h73ae110e40b0e89d [INFO] [stderr] at /rustc/3b4dd9bf1410f8da6329baa36ce5e37673cbbd1f/library/core/src/panicking.rs:289:5 [INFO] [stderr] 21: 0x5897b589ed0b - tanton_engine::consts::timer::h8b7bec4a04708413 [INFO] [stderr] at /opt/rustwide/workdir/src/consts.rs:75:14 [INFO] [stderr] 22: 0x5897b589ed0b - tanton_engine::search::Searcher::new::h6d97bda792a35b4e [INFO] [stderr] at /opt/rustwide/workdir/src/search/mod.rs:184:23 [INFO] [stderr] 23: 0x5897b589ed0b - tanton_engine::threadpool::ThreadPool::create_thread::haacf7a726987b08f [INFO] [stderr] at /opt/rustwide/workdir/src/threadpool/mod.rs:166:33 [INFO] [stderr] 24: 0x5897b589ed0b - tanton_engine::threadpool::ThreadPool::attach_thread::h000aed581e5965db [INFO] [stderr] at /opt/rustwide/workdir/src/threadpool/mod.rs:134:48 [INFO] [stderr] 25: 0x5897b589ed0b - tanton_engine::threadpool::ThreadPool::new::hbc5d4710d43a2a3e [INFO] [stderr] at /opt/rustwide/workdir/src/threadpool/mod.rs:127:14 [INFO] [stderr] 26: 0x5897b589ed0b - tanton_engine::threadpool::init_threadpool::{{closure}}::{{closure}}::h6b63d06900690fc2 [INFO] [stderr] at /opt/rustwide/workdir/src/threadpool/mod.rs:50:34 [INFO] [stderr] 27: 0x5897b589ed0b - std::sys::backtrace::__rust_begin_short_backtrace::h4cea5213d4ecd5ee [INFO] [stderr] at /rustc/3b4dd9bf1410f8da6329baa36ce5e37673cbbd1f/library/std/src/sys/backtrace.rs:158:18 [INFO] [stderr] 28: 0x5897b58a02af - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::hfc6e53030a797708 [INFO] [stderr] at /rustc/3b4dd9bf1410f8da6329baa36ce5e37673cbbd1f/library/std/src/thread/mod.rs:562:17 [INFO] [stderr] 29: 0x5897b58a02af - as core::ops::function::FnOnce<()>>::call_once::hfcd2db3d5fe15a26 [INFO] [stderr] at /rustc/3b4dd9bf1410f8da6329baa36ce5e37673cbbd1f/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stderr] 30: 0x5897b58a02af - std::panicking::catch_unwind::do_call::h32df5dccd217a0f3 [INFO] [stderr] at /rustc/3b4dd9bf1410f8da6329baa36ce5e37673cbbd1f/library/std/src/panicking.rs:590:40 [INFO] [stderr] 31: 0x5897b58a02af - std::panicking::catch_unwind::h2ec9ec939f61551d [INFO] [stderr] at /rustc/3b4dd9bf1410f8da6329baa36ce5e37673cbbd1f/library/std/src/panicking.rs:553:19 [INFO] [stderr] 32: 0x5897b58a02af - std::panic::catch_unwind::hfc155f6e08478c7c [INFO] [stderr] at /rustc/3b4dd9bf1410f8da6329baa36ce5e37673cbbd1f/library/std/src/panic.rs:359:14 [INFO] [stderr] 33: 0x5897b58a02af - std::thread::Builder::spawn_unchecked_::{{closure}}::hf1efcf06ee8d3590 [INFO] [stderr] at /rustc/3b4dd9bf1410f8da6329baa36ce5e37673cbbd1f/library/std/src/thread/mod.rs:560:30 [INFO] [stderr] 34: 0x5897b58a02af - core::ops::function::FnOnce::call_once{{vtable.shim}}::h16f1f8ad7a3a544d [INFO] [stderr] at /rustc/3b4dd9bf1410f8da6329baa36ce5e37673cbbd1f/library/core/src/ops/function.rs:250:5 [INFO] [stderr] 35: 0x5897b592072f - as core::ops::function::FnOnce>::call_once::he4d85cb537521972 [INFO] [stderr] at /rustc/3b4dd9bf1410f8da6329baa36ce5e37673cbbd1f/library/alloc/src/boxed.rs:2005:9 [INFO] [stderr] 36: 0x5897b592072f - std::sys::thread::unix::Thread::new::thread_start::hbaf586a9e50a98cd [INFO] [stderr] at /rustc/3b4dd9bf1410f8da6329baa36ce5e37673cbbd1f/library/std/src/sys/thread/unix.rs:126:17 [INFO] [stderr] 37: 0x7a9188a1aaa4 - [INFO] [stderr] 38: 0x7a9188aa7a64 - clone [INFO] [stderr] 39: 0x0 - [INFO] [stderr] thread caused non-unwinding panic. aborting. [INFO] [stderr] error: test failed, to rerun pass `--lib` [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `/opt/rustwide/target/debug/deps/tanton_engine-7ff234e848bbaeda` (signal: 6, SIGABRT: process abort signal) [INFO] running `Command { std: "docker" "inspect" "f264648181c3ebc2affc12b52f5829e44c2035dc00614d5873c09c3acaa91d0a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f264648181c3ebc2affc12b52f5829e44c2035dc00614d5873c09c3acaa91d0a", kill_on_drop: false }` [INFO] [stdout] f264648181c3ebc2affc12b52f5829e44c2035dc00614d5873c09c3acaa91d0a