[INFO] fetching crate messloc 0.0.1... [INFO] checking messloc-0.0.1 against try#a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d for pr-145342-1 [INFO] extracting crate messloc 0.0.1 into /workspace/builds/worker-2-tc2/source [INFO] started tweaking crates.io crate messloc 0.0.1 [INFO] finished tweaking crates.io crate messloc 0.0.1 [INFO] tweaked toml for crates.io crate messloc 0.0.1 written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate messloc 0.0.1 on toolchain a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate messloc 0.0.1 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" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 836a8219ea6f8fe0a822be0fc2fcd86befbad752b02d03699b079102be4cf72d [INFO] running `Command { std: "docker" "start" "-a" "836a8219ea6f8fe0a822be0fc2fcd86befbad752b02d03699b079102be4cf72d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "836a8219ea6f8fe0a822be0fc2fcd86befbad752b02d03699b079102be4cf72d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "836a8219ea6f8fe0a822be0fc2fcd86befbad752b02d03699b079102be4cf72d", kill_on_drop: false }` [INFO] [stdout] 836a8219ea6f8fe0a822be0fc2fcd86befbad752b02d03699b079102be4cf72d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ce237072808a4da7ed197fcc0127aa37e9f52b4ecbef6578f561bc763b3f2ca5 [INFO] running `Command { std: "docker" "start" "-a" "ce237072808a4da7ed197fcc0127aa37e9f52b4ecbef6578f561bc763b3f2ca5", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling libc v0.2.140 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking once_cell v1.17.1 [INFO] [stderr] Checking arrayvec v0.7.2 [INFO] [stderr] Checking rand_xoshiro v0.6.0 [INFO] [stderr] Compiling lock_api v0.4.9 [INFO] [stderr] Checking spin v0.9.4 [INFO] [stderr] Checking memmap2 v0.5.8 [INFO] [stderr] Checking messloc v0.0.1 (/opt/rustwide/workdir) [INFO] [stdout] error: let chains are only allowed in Rust 2024 or later [INFO] [stdout] --> src/bitmap.rs:42:15 [INFO] [stdout] | [INFO] [stdout] 42 | while let Some(bit) = iter.next() && bit_count > 0 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: let chains are only allowed in Rust 2024 or later [INFO] [stdout] --> src/bitmap.rs:42:15 [INFO] [stdout] | [INFO] [stdout] 42 | while let Some(bit) = iter.next() && bit_count > 0 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: let chains are only allowed in Rust 2024 or later [INFO] [stdout] --> src/global_heap.rs:555:15 [INFO] [stdout] | [INFO] [stdout] 555 | while let MiniHeapId::HeapPointer(mh) = next && bytes_free < MINI_HEAP_REFILL_GOAL_SIZE { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: let chains are only allowed in Rust 2024 or later [INFO] [stdout] --> src/global_heap.rs:676:15 [INFO] [stdout] | [INFO] [stdout] 676 | while let MiniHeapId::HeapPointer(mh_id) = next && left_size < MAX_SPLIT_LIST_SIZE && right_size < MAX_SPLIT_LIST_SIZE [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: let chains are only allowed in Rust 2024 or later [INFO] [stdout] --> src/global_heap.rs:555:15 [INFO] [stdout] | [INFO] [stdout] 555 | while let MiniHeapId::HeapPointer(mh) = next && bytes_free < MINI_HEAP_REFILL_GOAL_SIZE { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: let chains are only allowed in Rust 2024 or later [INFO] [stdout] --> src/global_heap.rs:676:15 [INFO] [stdout] | [INFO] [stdout] 676 | while let MiniHeapId::HeapPointer(mh_id) = next && left_size < MAX_SPLIT_LIST_SIZE && right_size < MAX_SPLIT_LIST_SIZE [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: let chains are only allowed in Rust 2024 or later [INFO] [stdout] --> src/meshable_arena.rs:271:20 [INFO] [stdout] | [INFO] [stdout] 271 | if let Some(y) = x && let Some(&mh) = x.as_ref() { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: let chains are only allowed in Rust 2024 or later [INFO] [stdout] --> src/meshable_arena.rs:271:39 [INFO] [stdout] | [INFO] [stdout] 271 | if let Some(y) = x && let Some(&mh) = x.as_ref() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: let chains are only allowed in Rust 2024 or later [INFO] [stdout] --> src/meshable_arena.rs:271:20 [INFO] [stdout] | [INFO] [stdout] 271 | if let Some(y) = x && let Some(&mh) = x.as_ref() { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: let chains are only allowed in Rust 2024 or later [INFO] [stdout] --> src/meshable_arena.rs:271:39 [INFO] [stdout] | [INFO] [stdout] 271 | if let Some(y) = x && let Some(&mh) = x.as_ref() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: let chains are only allowed in Rust 2024 or later [INFO] [stdout] --> src/mini_heap.rs:360:30 [INFO] [stdout] | [INFO] [stdout] 360 | if result && let p @ &MiniHeapId::HeapPointer(val) = &$mh.next_mashed { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/global_heap.rs:244:9 [INFO] [stdout] | [INFO] [stdout] 244 | / crate::for_each_meshed!(mini_heap { [INFO] [stdout] 245 | | mini_heap as *const _ as *mut () == other [INFO] [stdout] 246 | | [INFO] [stdout] 247 | | }) [INFO] [stdout] | |__________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `crate::for_each_meshed` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: let chains are only allowed in Rust 2024 or later [INFO] [stdout] --> src/mini_heap.rs:360:30 [INFO] [stdout] | [INFO] [stdout] 360 | if result && let p @ &MiniHeapId::HeapPointer(val) = &$mh.next_mashed { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/global_heap.rs:282:9 [INFO] [stdout] | [INFO] [stdout] 282 | / crate::for_each_meshed!(mh { [INFO] [stdout] 283 | | to_free[last].write(mh); [INFO] [stdout] 284 | | last += 1; [INFO] [stdout] 285 | | false [INFO] [stdout] 286 | | }); [INFO] [stdout] | |__________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `crate::for_each_meshed` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: let chains are only allowed in Rust 2024 or later [INFO] [stdout] --> src/mini_heap.rs:360:30 [INFO] [stdout] | [INFO] [stdout] 360 | if result && let p @ &MiniHeapId::HeapPointer(val) = &$mh.next_mashed { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/global_heap.rs:779:9 [INFO] [stdout] | [INFO] [stdout] 779 | / crate::for_each_meshed!(src { [INFO] [stdout] 780 | | let src_span = src.span_start as *mut libc::c_void; [INFO] [stdout] 781 | | self.arena [INFO] [stdout] 782 | | .begin_mesh(src_span, dst.span_size()); [INFO] [stdout] 783 | | false [INFO] [stdout] 784 | | }); [INFO] [stdout] | |__________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `crate::for_each_meshed` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: let chains are only allowed in Rust 2024 or later [INFO] [stdout] --> src/mini_heap.rs:360:30 [INFO] [stdout] | [INFO] [stdout] 360 | if result && let p @ &MiniHeapId::HeapPointer(val) = &$mh.next_mashed { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/global_heap.rs:244:9 [INFO] [stdout] | [INFO] [stdout] 244 | / crate::for_each_meshed!(mini_heap { [INFO] [stdout] 245 | | mini_heap as *const _ as *mut () == other [INFO] [stdout] 246 | | [INFO] [stdout] 247 | | }) [INFO] [stdout] | |__________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `crate::for_each_meshed` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: let chains are only allowed in Rust 2024 or later [INFO] [stdout] --> src/mini_heap.rs:360:30 [INFO] [stdout] | [INFO] [stdout] 360 | if result && let p @ &MiniHeapId::HeapPointer(val) = &$mh.next_mashed { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/global_heap.rs:282:9 [INFO] [stdout] | [INFO] [stdout] 282 | / crate::for_each_meshed!(mh { [INFO] [stdout] 283 | | to_free[last].write(mh); [INFO] [stdout] 284 | | last += 1; [INFO] [stdout] 285 | | false [INFO] [stdout] 286 | | }); [INFO] [stdout] | |__________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `crate::for_each_meshed` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: let chains are only allowed in Rust 2024 or later [INFO] [stdout] --> src/mini_heap.rs:360:30 [INFO] [stdout] | [INFO] [stdout] 360 | if result && let p @ &MiniHeapId::HeapPointer(val) = &$mh.next_mashed { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/global_heap.rs:779:9 [INFO] [stdout] | [INFO] [stdout] 779 | / crate::for_each_meshed!(src { [INFO] [stdout] 780 | | let src_span = src.span_start as *mut libc::c_void; [INFO] [stdout] 781 | | self.arena [INFO] [stdout] 782 | | .begin_mesh(src_span, dst.span_size()); [INFO] [stdout] 783 | | false [INFO] [stdout] 784 | | }); [INFO] [stdout] | |__________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `crate::for_each_meshed` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `allocator_api` [INFO] [stdout] --> src/lib.rs:33:7 [INFO] [stdout] | [INFO] [stdout] 33 | #[cfg(feature = "allocator_api")] [INFO] [stdout] | ^^^^^^^^^^--------------- [INFO] [stdout] | | [INFO] [stdout] | help: there is a expected value with a similar name: `"allocator-api"` [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `allocator-api` [INFO] [stdout] = help: consider adding `allocator_api` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `allocator_api` [INFO] [stdout] --> src/lib.rs:33:7 [INFO] [stdout] | [INFO] [stdout] 33 | #[cfg(feature = "allocator_api")] [INFO] [stdout] | ^^^^^^^^^^--------------- [INFO] [stdout] | | [INFO] [stdout] | help: there is a expected value with a similar name: `"allocator-api"` [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `allocator-api` [INFO] [stdout] = help: consider adding `allocator_api` 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: the feature `let_chains` has been stable since 1.88.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/lib.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | #![feature(let_chains)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `slice_ptr_len` has been stable since 1.79.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/lib.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 16 | #![feature(slice_ptr_len)] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0635]: unknown feature `maybe_uninit_uninit_array` [INFO] [stdout] --> src/lib.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 12 | #![feature(maybe_uninit_uninit_array)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `let_chains` has been stable since 1.88.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/lib.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | #![feature(let_chains)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `slice_ptr_len` has been stable since 1.79.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/lib.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 16 | #![feature(slice_ptr_len)] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0635]: unknown feature `maybe_uninit_uninit_array` [INFO] [stdout] --> src/lib.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 12 | #![feature(maybe_uninit_uninit_array)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `uninit_array` found for union `MaybeUninit` in the current scope [INFO] [stdout] --> src/global_heap.rs:277:82 [INFO] [stdout] | [INFO] [stdout] 277 | let mut to_free: [MaybeUninit<*mut MiniHeap>; MAX_MESHES] = MaybeUninit::uninit_array(); [INFO] [stdout] | ^^^^^^^^^^^^ function or associated item not found in `MaybeUninit<_>` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `MaybeUninit<_>` consider using one of the following associated functions: [INFO] [stdout] MaybeUninit::::new [INFO] [stdout] MaybeUninit::::uninit [INFO] [stdout] MaybeUninit::::zeroed [INFO] [stdout] --> /rustc/a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d/library/core/src/mem/maybe_uninit.rs:307:5 [INFO] [stdout] help: there is an associated function `uninit` with a similar name [INFO] [stdout] | [INFO] [stdout] 277 - let mut to_free: [MaybeUninit<*mut MiniHeap>; MAX_MESHES] = MaybeUninit::uninit_array(); [INFO] [stdout] 277 + let mut to_free: [MaybeUninit<*mut MiniHeap>; MAX_MESHES] = MaybeUninit::uninit(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed for `[_; _]` [INFO] [stdout] --> src/global_heap.rs:288:13 [INFO] [stdout] | [INFO] [stdout] 288 | let to_free = unsafe { MaybeUninit::array_assume_init(to_free) }; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 293 | let mh = unsafe { heap.as_mut().unwrap() }; [INFO] [stdout] | ------ type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `to_free` an explicit type, where the type for type parameter `T` is specified [INFO] [stdout] | [INFO] [stdout] 288 | let to_free: [T; N] = unsafe { MaybeUninit::array_assume_init(to_free) }; [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `uninit_array` found for union `MaybeUninit` in the current scope [INFO] [stdout] --> src/global_heap.rs:277:82 [INFO] [stdout] | [INFO] [stdout] 277 | let mut to_free: [MaybeUninit<*mut MiniHeap>; MAX_MESHES] = MaybeUninit::uninit_array(); [INFO] [stdout] | ^^^^^^^^^^^^ function or associated item not found in `MaybeUninit<_>` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `MaybeUninit<_>` consider using one of the following associated functions: [INFO] [stdout] MaybeUninit::::new [INFO] [stdout] MaybeUninit::::uninit [INFO] [stdout] MaybeUninit::::zeroed [INFO] [stdout] --> /rustc/a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d/library/core/src/mem/maybe_uninit.rs:307:5 [INFO] [stdout] help: there is an associated function `uninit` with a similar name [INFO] [stdout] | [INFO] [stdout] 277 - let mut to_free: [MaybeUninit<*mut MiniHeap>; MAX_MESHES] = MaybeUninit::uninit_array(); [INFO] [stdout] 277 + let mut to_free: [MaybeUninit<*mut MiniHeap>; MAX_MESHES] = MaybeUninit::uninit(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed for `[_; _]` [INFO] [stdout] --> src/global_heap.rs:288:13 [INFO] [stdout] | [INFO] [stdout] 288 | let to_free = unsafe { MaybeUninit::array_assume_init(to_free) }; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 293 | let mh = unsafe { heap.as_mut().unwrap() }; [INFO] [stdout] | ------ type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `to_free` an explicit type, where the type for type parameter `T` is specified [INFO] [stdout] | [INFO] [stdout] 288 | let to_free: [T; N] = unsafe { MaybeUninit::array_assume_init(to_free) }; [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0599, E0635. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0599, E0635. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stderr] error: could not compile `messloc` (lib) due to 11 previous errors; 3 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `messloc` (lib test) due to 11 previous errors; 3 warnings emitted [INFO] running `Command { std: "docker" "inspect" "ce237072808a4da7ed197fcc0127aa37e9f52b4ecbef6578f561bc763b3f2ca5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ce237072808a4da7ed197fcc0127aa37e9f52b4ecbef6578f561bc763b3f2ca5", kill_on_drop: false }` [INFO] [stdout] ce237072808a4da7ed197fcc0127aa37e9f52b4ecbef6578f561bc763b3f2ca5