[INFO] fetching crate tanton_engine 1.0.0... [INFO] testing tanton_engine-1.0.0 against 1.90.0 for beta-1.91-3 [INFO] extracting crate tanton_engine 1.0.0 into /workspace/builds/worker-0-tc1/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-0-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate tanton_engine 1.0.0 on toolchain 1.90.0 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.90.0" "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" "+1.90.0" "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] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded mucow v0.1.0 [INFO] [stderr] Downloaded cc v1.0.77 [INFO] [stderr] Downloaded cxxbridge-flags v1.0.82 [INFO] [stderr] Downloaded rand_xoshiro v0.1.0 [INFO] [stderr] Downloaded iana-time-zone v0.1.53 [INFO] [stderr] Downloaded semver v1.0.14 [INFO] [stderr] Downloaded cxxbridge-macro v1.0.82 [INFO] [stderr] Downloaded cxx-build v1.0.82 [INFO] [stderr] Downloaded chrono v0.4.23 [INFO] [stderr] Downloaded criterion v0.2.11 [INFO] [stderr] Downloaded tanton v1.0.0 [INFO] [stderr] Downloaded cxx v1.0.82 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+1.90.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d2e4999bbeccd4eb823ef7e736647a56293d7cbc06b3e20b894202c5c955ec22 [INFO] running `Command { std: "docker" "start" "-a" "d2e4999bbeccd4eb823ef7e736647a56293d7cbc06b3e20b894202c5c955ec22", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d2e4999bbeccd4eb823ef7e736647a56293d7cbc06b3e20b894202c5c955ec22", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d2e4999bbeccd4eb823ef7e736647a56293d7cbc06b3e20b894202c5c955ec22", kill_on_drop: false }` [INFO] [stdout] d2e4999bbeccd4eb823ef7e736647a56293d7cbc06b3e20b894202c5c955ec22 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+1.90.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b285f1dcd78b6d7d79ca9c92a700057cb6e2cf9f2538ddad401e5a0eb9e00482 [INFO] running `Command { std: "docker" "start" "-a" "b285f1dcd78b6d7d79ca9c92a700057cb6e2cf9f2538ddad401e5a0eb9e00482", 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 crossbeam-utils v0.8.14 [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 rayon-core v1.10.1 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling mucow v0.1.0 [INFO] [stderr] Compiling iana-time-zone v0.1.53 [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 chrono v0.4.23 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling rayon v1.6.0 [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)]` 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)]` 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 11.38s [INFO] running `Command { std: "docker" "inspect" "b285f1dcd78b6d7d79ca9c92a700057cb6e2cf9f2538ddad401e5a0eb9e00482", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b285f1dcd78b6d7d79ca9c92a700057cb6e2cf9f2538ddad401e5a0eb9e00482", kill_on_drop: false }` [INFO] [stdout] b285f1dcd78b6d7d79ca9c92a700057cb6e2cf9f2538ddad401e5a0eb9e00482 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+1.90.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4cc4882fc51d4bf8923b778b7913f31559231aaa503b7314774e3f0b07f21796 [INFO] running `Command { std: "docker" "start" "-a" "4cc4882fc51d4bf8923b778b7913f31559231aaa503b7314774e3f0b07f21796", 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 either v1.8.0 [INFO] [stderr] Compiling proc-macro2 v1.0.47 [INFO] [stderr] Compiling serde v1.0.147 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling bitflags v1.3.2 [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 num-traits v0.2.15 [INFO] [stderr] Compiling rayon-core v1.10.1 [INFO] [stderr] Compiling unicode-ident v1.0.5 [INFO] [stderr] Compiling ppv-lite86 v0.2.17 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling rand_core v0.4.2 [INFO] [stderr] Compiling syn v1.0.103 [INFO] [stderr] Compiling serde_json v1.0.89 [INFO] [stderr] Compiling unicode-width v0.1.10 [INFO] [stderr] Compiling serde_derive v1.0.147 [INFO] [stderr] Compiling iana-time-zone v0.1.53 [INFO] [stderr] Compiling regex-automata v0.1.10 [INFO] [stderr] Compiling ryu v1.0.11 [INFO] [stderr] Compiling mucow v0.1.0 [INFO] [stderr] Compiling rand_core v0.3.1 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling itoa v1.0.4 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling itoa v0.4.8 [INFO] [stderr] Compiling itertools v0.8.2 [INFO] [stderr] Compiling rustc_version v0.4.0 [INFO] [stderr] Compiling walkdir v2.3.2 [INFO] [stderr] Compiling clap v2.34.0 [INFO] [stderr] Compiling rand_xoshiro v0.1.0 [INFO] [stderr] Compiling csv-core v0.1.10 [INFO] [stderr] Compiling cast v0.2.7 [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 crossbeam-channel v0.5.6 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling crossbeam-deque v0.8.2 [INFO] [stderr] Compiling quote v1.0.21 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling rand_os v0.1.3 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling chrono v0.4.23 [INFO] [stderr] Compiling rayon v1.6.0 [INFO] [stderr] Compiling bstr v0.2.17 [INFO] [stderr] Compiling csv v1.1.6 [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)]` 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)]` 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)]` 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)]` 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 54.46s [INFO] running `Command { std: "docker" "inspect" "4cc4882fc51d4bf8923b778b7913f31559231aaa503b7314774e3f0b07f21796", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4cc4882fc51d4bf8923b778b7913f31559231aaa503b7314774e3f0b07f21796", kill_on_drop: false }` [INFO] [stdout] 4cc4882fc51d4bf8923b778b7913f31559231aaa503b7314774e3f0b07f21796 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+1.90.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 13760d7ff2e528d6b2bf949161d3a6c1e90cedc89cc0b824d9dc5276fb043ab9 [INFO] running `Command { std: "docker" "start" "-a" "13760d7ff2e528d6b2bf949161d3a6c1e90cedc89cc0b824d9dc5276fb043ab9", 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)]` 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)]` 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.15s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/tanton_engine-a5f07ba99039af9c) [INFO] [stdout] [INFO] [stdout] running 21 tests [INFO] [stdout] test movepick::tests::mp_partial_insertion_sort_rand ... ok [INFO] [stdout] test search::how_big ... ok [INFO] [stdout] test tables::continuation::tests::size ... ok [INFO] [stdout] test movepick::tests::mp_partial_insertion_sort ... ok [INFO] [stdout] test time::time_management::tests::time_man ... ok [INFO] [stdout] test uci::parse::tests::time_parse ... ok [INFO] [stderr] [INFO] [stderr] thread 'Starter' panicked at src/consts.rs:75:14: [INFO] [stderr] misaligned pointer dereference: address must be a multiple of 0x8 but is 0x56ce16b16901 [INFO] [stderr] stack backtrace: [INFO] [stderr] 0: 0x56ce16ad7262 - std::backtrace_rs::backtrace::libunwind::trace::h2d45396358f41939 [INFO] [stderr] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stderr] 1: 0x56ce16ad7262 - std::backtrace_rs::backtrace::trace_unsynchronized::hffcefc0b67f1d6e2 [INFO] [stderr] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stderr] 2: 0x56ce16ad7262 - std::sys::backtrace::_print_fmt::hd72f71d23b436b92 [INFO] [stderr] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/sys/backtrace.rs:66:9 [INFO] [stderr] 3: 0x56ce16ad7262 - ::fmt::hdcfcb6d4c8489523 [INFO] [stderr] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/sys/backtrace.rs:39:26 [INFO] [stderr] 4: 0x56ce16afce03 - core::fmt::rt::Argument::fmt::h2c56b3114963061a [INFO] [stderr] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/fmt/rt.rs:173:76 [INFO] [stderr] 5: 0x56ce16afce03 - core::fmt::write::h8a494366950f23bb [INFO] [stderr] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/fmt/mod.rs:1468:25 [INFO] [stderr] 6: 0x56ce16ad42f3 - std::io::default_write_fmt::ha27fbccbc65eb6fa [INFO] [stderr] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/io/mod.rs:639:11 [INFO] [stderr] 7: 0x56ce16ad42f3 - std::io::Write::write_fmt::h6556609fca33d0b1 [INFO] [stderr] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/io/mod.rs:1954:13 [INFO] [stderr] 8: 0x56ce16ad70b2 - std::sys::backtrace::BacktraceLock::print::hb2a626a81e06b2dc [INFO] [stderr] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/sys/backtrace.rs:42:9 [INFO] [stderr] 9: 0x56ce16ad87e9 - std::panicking::default_hook::{{closure}}::h4f78485264f12d10 [INFO] [stderr] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:300:27 [INFO] [stderr] 10: 0x56ce16ad85cb - std::panicking::default_hook::h2c66fc99e962531d [INFO] [stderr] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:327:9 [INFO] [stderr] 11: 0x56ce16a82db4 - as core::ops::function::Fn>::call::hb6bd65493727d71a [INFO] [stderr] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/alloc/src/boxed.rs:1985:9 [INFO] [stderr] 12: 0x56ce16a82db4 - test::test_main_with_exit_callback::{{closure}}::h60217ec76a0ece4a [INFO] [stderr] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/test/src/lib.rs:145:21 [INFO] [stderr] 13: 0x56ce16ad92be - as core::ops::function::Fn>::call::h318e4efb8c1a5689 [INFO] [stderr] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/alloc/src/boxed.rs:1985:9 [INFO] [stderr] 14: 0x56ce16ad92be - std::panicking::rust_panic_with_hook::h33ac55f64bbd807d [INFO] [stderr] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:841:13 [INFO] [stderr] 15: 0x56ce16ad8f8a - std::panicking::begin_panic_handler::{{closure}}::h30e7cb89678a57fe [INFO] [stderr] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:706:13 [INFO] [stderr] 16: 0x56ce16ad7769 - std::sys::backtrace::__rust_end_short_backtrace::hed60f27456c16ced [INFO] [stderr] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/sys/backtrace.rs:174:18 [INFO] [stderr] 17: 0x56ce16ad8c1d - __rustc[de2ca18b4c54d5b8]::rust_begin_unwind [INFO] [stderr] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:697:5 [INFO] [stderr] 18: 0x56ce16afb83d - core::panicking::panic_nounwind_fmt::runtime::hde3dd742c40069fa [INFO] [stderr] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/panicking.rs:117:22 [INFO] [stderr] 19: 0x56ce16afb83d - core::panicking::panic_nounwind_fmt::h6c46f1098922b4b6 [INFO] [stderr] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/intrinsics/mod.rs:2367:9 [INFO] [stderr] 20: 0x56ce16afb9e5 - core::panicking::panic_misaligned_pointer_dereference::h78ecfc0a58b01c4f [INFO] [stderr] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/panicking.rs:293:5 [INFO] [stderr] 21: 0x56ce16a22789 - tanton_engine::consts::timer::hdc66922b03584428 [INFO] [stderr] at /opt/rustwide/workdir/src/consts.rs:75:14 [INFO] [stderr] 22: 0x56ce16a22789 - tanton_engine::search::Searcher::new::h1267e5987f1a0f3a [INFO] [stderr] at /opt/rustwide/workdir/src/search/mod.rs:184:23 [INFO] [stderr] 23: 0x56ce16a22789 - tanton_engine::threadpool::ThreadPool::create_thread::h226d891cb31ab49f [INFO] [stderr] at /opt/rustwide/workdir/src/threadpool/mod.rs:166:33 [INFO] [stderr] 24: 0x56ce16a22789 - tanton_engine::threadpool::ThreadPool::attach_thread::h14cfdee55ac5a979 [INFO] [stderr] at /opt/rustwide/workdir/src/threadpool/mod.rs:134:48 [INFO] [stderr] 25: 0x56ce16a22789 - tanton_engine::threadpool::ThreadPool::new::hf9777533df57faef [INFO] [stderr] at /opt/rustwide/workdir/src/threadpool/mod.rs:127:14 [INFO] [stderr] 26: 0x56ce16a22789 - tanton_engine::threadpool::init_threadpool::{{closure}}::{{closure}}::h41e06bfbca17482f [INFO] [stderr] at /opt/rustwide/workdir/src/threadpool/mod.rs:50:34 [INFO] [stderr] 27: 0x56ce16a22789 - std::sys::backtrace::__rust_begin_short_backtrace::h1bf3a7b9b6b13153 [INFO] [stderr] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/sys/backtrace.rs:158:18 [INFO] [stderr] 28: 0x56ce16a23b0f - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h7a217e60735aa21b [INFO] [stderr] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/thread/mod.rs:559:17 [INFO] [stderr] 29: 0x56ce16a23b0f - as core::ops::function::FnOnce<()>>::call_once::h4df64cf8ae0d4bd9 [INFO] [stderr] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stderr] 30: 0x56ce16a23b0f - std::panicking::catch_unwind::do_call::h18007552cd38a3f6 [INFO] [stderr] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:589:40 [INFO] [stderr] 31: 0x56ce16a23b0f - std::panicking::catch_unwind::hcb25480b9c60e6b6 [INFO] [stderr] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:552:19 [INFO] [stderr] 32: 0x56ce16a23b0f - std::panic::catch_unwind::h98a161169c6c8427 [INFO] [stderr] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panic.rs:359:14 [INFO] [stderr] 33: 0x56ce16a23b0f - std::thread::Builder::spawn_unchecked_::{{closure}}::h8084cd647355ed85 [INFO] [stderr] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/thread/mod.rs:557:30 [INFO] [stderr] 34: 0x56ce16a23b0f - core::ops::function::FnOnce::call_once{{vtable.shim}}::h9a958c78a2c38255 [INFO] [stderr] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/ops/function.rs:253:5 [INFO] [stderr] 35: 0x56ce16adc23f - as core::ops::function::FnOnce>::call_once::h5924238c754de3b8 [INFO] [stderr] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/alloc/src/boxed.rs:1971:9 [INFO] [stderr] 36: 0x56ce16adc23f - std::sys::pal::unix::thread::Thread::new::thread_start::hb6e99e73da4d28f8 [INFO] [stderr] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/sys/pal/unix/thread.rs:107:17 [INFO] [stderr] 37: 0x7398d5e99aa4 - [INFO] [stderr] 38: 0x7398d5f26a34 - 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-a5f07ba99039af9c` (signal: 6, SIGABRT: process abort signal) [INFO] running `Command { std: "docker" "inspect" "13760d7ff2e528d6b2bf949161d3a6c1e90cedc89cc0b824d9dc5276fb043ab9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "13760d7ff2e528d6b2bf949161d3a6c1e90cedc89cc0b824d9dc5276fb043ab9", kill_on_drop: false }` [INFO] [stdout] 13760d7ff2e528d6b2bf949161d3a6c1e90cedc89cc0b824d9dc5276fb043ab9