[INFO] cloning repository https://github.com/FreeMasen/mesh-alloc [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/FreeMasen/mesh-alloc" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FFreeMasen%2Fmesh-alloc", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FFreeMasen%2Fmesh-alloc'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] e8904b9df21c01335b6153d9096ba45b27d0edb5 [INFO] checking FreeMasen/mesh-alloc against try#c9557a20e5ef2e0e02c29a5fafd850d1b7cf1e4f for 2025-12-16-next-solver-global [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FFreeMasen%2Fmesh-alloc" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/FreeMasen/mesh-alloc [INFO] finished tweaking git repo https://github.com/FreeMasen/mesh-alloc [INFO] tweaked toml for git repo https://github.com/FreeMasen/mesh-alloc written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/FreeMasen/mesh-alloc on toolchain c9557a20e5ef2e0e02c29a5fafd850d1b7cf1e4f [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c9557a20e5ef2e0e02c29a5fafd850d1b7cf1e4f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/FreeMasen/mesh-alloc 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" "+c9557a20e5ef2e0e02c29a5fafd850d1b7cf1e4f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded cordyceps v0.3.4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+c9557a20e5ef2e0e02c29a5fafd850d1b7cf1e4f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e61a38778d2693c63813d30dce7943fd5630ef0173646a1afefdd295a8e86762 [INFO] running `Command { std: "docker" "start" "-a" "e61a38778d2693c63813d30dce7943fd5630ef0173646a1afefdd295a8e86762", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e61a38778d2693c63813d30dce7943fd5630ef0173646a1afefdd295a8e86762", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e61a38778d2693c63813d30dce7943fd5630ef0173646a1afefdd295a8e86762", kill_on_drop: false }` [INFO] [stdout] e61a38778d2693c63813d30dce7943fd5630ef0173646a1afefdd295a8e86762 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+c9557a20e5ef2e0e02c29a5fafd850d1b7cf1e4f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3ea3fffcfa9d7614ac539f0bdae83006aee56d6e2ee429e461ad293e5d54b79a [INFO] running `Command { std: "docker" "start" "-a" "3ea3fffcfa9d7614ac539f0bdae83006aee56d6e2ee429e461ad293e5d54b79a", kill_on_drop: false }` [INFO] [stderr] Compiling rustix v1.0.7 [INFO] [stderr] Checking once_cell v1.21.3 [INFO] [stderr] Checking cordyceps v0.3.4 [INFO] [stderr] Compiling ahash v0.8.12 [INFO] [stderr] Checking hashbrown v0.15.4 [INFO] [stderr] Compiling thiserror v2.0.12 [INFO] [stderr] Checking page_size v0.6.0 [INFO] [stderr] Compiling syn v2.0.101 [INFO] [stderr] Checking rand_xoshiro v0.7.0 [INFO] [stderr] Checking heap_layers v0.1.0 (/opt/rustwide/workdir/heap_layers) [INFO] [stdout] warning: unused import: `handle_alloc_error` [INFO] [stdout] --> heap_layers/src/stl/mod.rs:6:64 [INFO] [stdout] | [INFO] [stdout] 6 | pub(crate) use allocator_api2::{alloc::{AllocError, Allocator, handle_alloc_error}, boxed::Box}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ahash::AHasher` [INFO] [stdout] --> heap_layers/src/top/mmap_heap.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use ahash::AHasher; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `FreeListHeap` [INFO] [stdout] --> heap_layers/src/top/mmap_heap.rs:4:46 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::building_blocks::free_list_heap::{FreeListHeap, LockedFreeListHeap}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `handle_alloc_error` [INFO] [stdout] --> heap_layers/src/stl/mod.rs:6:64 [INFO] [stdout] | [INFO] [stdout] 6 | pub(crate) use allocator_api2::{alloc::{AllocError, Allocator, handle_alloc_error}, boxed::Box}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ahash::AHasher` [INFO] [stdout] --> heap_layers/src/top/mmap_heap.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use ahash::AHasher; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `FreeListHeap` [INFO] [stdout] --> heap_layers/src/top/mmap_heap.rs:4:46 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::building_blocks::free_list_heap::{FreeListHeap, LockedFreeListHeap}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `alignment` [INFO] [stdout] --> heap_layers/src/special/bump_alloc.rs:182:24 [INFO] [stdout] | [INFO] [stdout] 182 | fn memalign(&self, alignment: usize, sz: usize) -> *mut u8 { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_alignment` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sz` [INFO] [stdout] --> heap_layers/src/special/bump_alloc.rs:182:42 [INFO] [stdout] | [INFO] [stdout] 182 | fn memalign(&self, alignment: usize, sz: usize) -> *mut u8 { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_sz` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ptr` [INFO] [stdout] --> heap_layers/src/special/bump_alloc.rs:186:24 [INFO] [stdout] | [INFO] [stdout] 186 | fn get_size(&self, ptr: *mut u8) -> usize { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ptr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `clear` is never used [INFO] [stdout] --> heap_layers/src/building_blocks/free_list_heap.rs:82:12 [INFO] [stdout] | [INFO] [stdout] 50 | impl FreeListHeap { [INFO] [stdout] | ------------------------------------------------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 82 | pub fn clear(&mut self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> heap_layers/src/threads/locked_heap.rs:80:13 [INFO] [stdout] | [INFO] [stdout] 80 | fn lock(&self) -> MutexGuard { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 80 | fn lock(&self) -> MutexGuard<'_, A> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: comparison is useless due to type limits [INFO] [stdout] --> heap_layers/src/top/mmap_heap.rs:174:12 [INFO] [stdout] | [INFO] [stdout] 174 | if sz < 0 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_comparisons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `alignment` [INFO] [stdout] --> heap_layers/src/special/bump_alloc.rs:182:24 [INFO] [stdout] | [INFO] [stdout] 182 | fn memalign(&self, alignment: usize, sz: usize) -> *mut u8 { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_alignment` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sz` [INFO] [stdout] --> heap_layers/src/special/bump_alloc.rs:182:42 [INFO] [stdout] | [INFO] [stdout] 182 | fn memalign(&self, alignment: usize, sz: usize) -> *mut u8 { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_sz` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ptr` [INFO] [stdout] --> heap_layers/src/special/bump_alloc.rs:186:24 [INFO] [stdout] | [INFO] [stdout] 186 | fn get_size(&self, ptr: *mut u8) -> usize { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ptr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `clear` is never used [INFO] [stdout] --> heap_layers/src/building_blocks/free_list_heap.rs:82:12 [INFO] [stdout] | [INFO] [stdout] 50 | impl FreeListHeap { [INFO] [stdout] | ------------------------------------------------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 82 | pub fn clear(&mut self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> heap_layers/src/special/bump_alloc.rs:75:12 [INFO] [stdout] | [INFO] [stdout] 72 | / impl BumpAlloc [INFO] [stdout] 73 | | where SuperHeap: crate::stl::allocator::RawAllocator { [INFO] [stdout] | |____________________________________________________- associated function in this implementation [INFO] [stdout] 74 | // enum { Alignment = Alignment_ }; [INFO] [stdout] 75 | pub fn new(alloc: SuperHeap) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> heap_layers/src/threads/locked_heap.rs:80:13 [INFO] [stdout] | [INFO] [stdout] 80 | fn lock(&self) -> MutexGuard { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 80 | fn lock(&self) -> MutexGuard<'_, A> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: comparison is useless due to type limits [INFO] [stdout] --> heap_layers/src/top/mmap_heap.rs:174:12 [INFO] [stdout] | [INFO] [stdout] 174 | if sz < 0 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_comparisons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling thiserror-impl v2.0.12 [INFO] [stderr] Checking mesh-alloc v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: cannot explicitly borrow within an implicitly-borrowing pattern [INFO] [stdout] --> src/lib.rs:184:25 [INFO] [stdout] | [INFO] [stdout] 184 | if let Some(ref mut mini_heap) = mini_heap_opt { [INFO] [stdout] | ^^^^^^^ explicit `ref` binding modifier not allowed when implicitly borrowing [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] note: matching on a reference type with a non-reference pattern implicitly borrows the contents [INFO] [stdout] --> src/lib.rs:184:20 [INFO] [stdout] | [INFO] [stdout] 184 | if let Some(ref mut mini_heap) = mini_heap_opt { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ this non-reference pattern matches on a reference type `&mut _` [INFO] [stdout] help: remove the unnecessary binding modifier [INFO] [stdout] | [INFO] [stdout] 184 - if let Some(ref mut mini_heap) = mini_heap_opt { [INFO] [stdout] 184 + if let Some(mini_heap) = mini_heap_opt { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::alloc::alloc` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:388:20 [INFO] [stdout] | [INFO] [stdout] 388 | return std::alloc::alloc(layout); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/lib.rs:383:5 [INFO] [stdout] | [INFO] [stdout] 383 | unsafe fn alloc(&self, layout: Layout) -> *mut u8 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(unsafe_op_in_unsafe_fn)]` (part of `#[warn(rust_2024_compatibility)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::alloc::alloc` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:393:13 [INFO] [stdout] | [INFO] [stdout] 393 | std::alloc::alloc(layout) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::alloc::dealloc` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:399:13 [INFO] [stdout] | [INFO] [stdout] 399 | std::alloc::dealloc(ptr, layout); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/lib.rs:397:5 [INFO] [stdout] | [INFO] [stdout] 397 | unsafe fn dealloc(&self, ptr: *mut u8, layout: Layout) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::alloc::dealloc` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:408:13 [INFO] [stdout] | [INFO] [stdout] 408 | std::alloc::dealloc(ptr, layout); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0133`. [INFO] [stdout] [INFO] [stderr] error: could not compile `mesh-alloc` (lib) due to 1 previous error; 4 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: cannot explicitly borrow within an implicitly-borrowing pattern [INFO] [stdout] --> src/lib.rs:184:25 [INFO] [stdout] | [INFO] [stdout] 184 | if let Some(ref mut mini_heap) = mini_heap_opt { [INFO] [stdout] | ^^^^^^^ explicit `ref` binding modifier not allowed when implicitly borrowing [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] note: matching on a reference type with a non-reference pattern implicitly borrows the contents [INFO] [stdout] --> src/lib.rs:184:20 [INFO] [stdout] | [INFO] [stdout] 184 | if let Some(ref mut mini_heap) = mini_heap_opt { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ this non-reference pattern matches on a reference type `&mut _` [INFO] [stdout] help: remove the unnecessary binding modifier [INFO] [stdout] | [INFO] [stdout] 184 - if let Some(ref mut mini_heap) = mini_heap_opt { [INFO] [stdout] 184 + if let Some(mini_heap) = mini_heap_opt { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::alloc::alloc` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:388:20 [INFO] [stdout] | [INFO] [stdout] 388 | return std::alloc::alloc(layout); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/lib.rs:383:5 [INFO] [stdout] | [INFO] [stdout] 383 | unsafe fn alloc(&self, layout: Layout) -> *mut u8 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(unsafe_op_in_unsafe_fn)]` (part of `#[warn(rust_2024_compatibility)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::alloc::alloc` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:393:13 [INFO] [stdout] | [INFO] [stdout] 393 | std::alloc::alloc(layout) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::alloc::dealloc` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:399:13 [INFO] [stdout] | [INFO] [stdout] 399 | std::alloc::dealloc(ptr, layout); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/lib.rs:397:5 [INFO] [stdout] | [INFO] [stdout] 397 | unsafe fn dealloc(&self, ptr: *mut u8, layout: Layout) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::alloc::dealloc` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:408:13 [INFO] [stdout] | [INFO] [stdout] 408 | std::alloc::dealloc(ptr, layout); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0133`. [INFO] [stdout] [INFO] [stderr] error: could not compile `mesh-alloc` (lib test) due to 1 previous error; 4 warnings emitted [INFO] running `Command { std: "docker" "inspect" "3ea3fffcfa9d7614ac539f0bdae83006aee56d6e2ee429e461ad293e5d54b79a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3ea3fffcfa9d7614ac539f0bdae83006aee56d6e2ee429e461ad293e5d54b79a", kill_on_drop: false }` [INFO] [stdout] 3ea3fffcfa9d7614ac539f0bdae83006aee56d6e2ee429e461ad293e5d54b79a