[INFO] fetching crate alloc-compose 0.5.0... [INFO] checking alloc-compose-0.5.0 against beta for pr-78714 [INFO] extracting crate alloc-compose 0.5.0 into /workspace/builds/worker-3/source [INFO] validating manifest of crates.io crate alloc-compose 0.5.0 on toolchain beta [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking crates.io crate alloc-compose 0.5.0 [INFO] finished tweaking crates.io crate alloc-compose 0.5.0 [INFO] tweaked toml for crates.io crate alloc-compose 0.5.0 written to /workspace/builds/worker-3/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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" "rustops/crates-build-env@sha256:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+beta" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 711b0af0a33906539e3b26e1ecc46cfe7dba84131d200225f028e63d74e37cc8 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "711b0af0a33906539e3b26e1ecc46cfe7dba84131d200225f028e63d74e37cc8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "711b0af0a33906539e3b26e1ecc46cfe7dba84131d200225f028e63d74e37cc8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "711b0af0a33906539e3b26e1ecc46cfe7dba84131d200225f028e63d74e37cc8", kill_on_drop: false }` [INFO] [stdout] 711b0af0a33906539e3b26e1ecc46cfe7dba84131d200225f028e63d74e37cc8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+beta" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 741383b06d72456209c9b312093a0a4e600d97f3a7ad1b19a546eb64d59e4cf6 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "741383b06d72456209c9b312093a0a4e600d97f3a7ad1b19a546eb64d59e4cf6", kill_on_drop: false }` [INFO] [stderr] Checking alloc-compose v0.5.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `core::alloc::AllocErr` [INFO] [stdout] --> src/stats.rs:9:13 [INFO] [stdout] | [INFO] [stdout] 9 | alloc::{AllocErr, Layout}, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | no `AllocErr` in `alloc` [INFO] [stdout] | help: a similar name exists in the module: `AllocError` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `core::alloc::AllocErr` [INFO] [stdout] --> src/helper.rs:2:13 [INFO] [stdout] | [INFO] [stdout] 2 | alloc::{AllocErr, AllocRef, Layout}, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | no `AllocErr` in `alloc` [INFO] [stdout] | help: a similar name exists in the module: `AllocError` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `core::alloc::AllocErr` [INFO] [stdout] --> src/affix.rs:3:13 [INFO] [stdout] | [INFO] [stdout] 3 | alloc::{AllocErr, AllocRef, Layout}, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | no `AllocErr` in `alloc` [INFO] [stdout] | help: a similar name exists in the module: `AllocError` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `core::alloc::AllocErr` [INFO] [stdout] --> src/callback_ref.rs:4:13 [INFO] [stdout] | [INFO] [stdout] 4 | alloc::{AllocErr, Layout}, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | no `AllocErr` in `alloc` [INFO] [stdout] | help: a similar name exists in the module: `AllocError` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `core::alloc::AllocErr` [INFO] [stdout] --> src/chunk.rs:3:13 [INFO] [stdout] | [INFO] [stdout] 3 | alloc::{AllocErr, AllocRef, Layout}, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | no `AllocErr` in `alloc` [INFO] [stdout] | help: a similar name exists in the module: `AllocError` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `core::alloc::AllocErr` [INFO] [stdout] --> src/fallback.rs:6:13 [INFO] [stdout] | [INFO] [stdout] 6 | alloc::{AllocErr, AllocRef, Layout}, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | no `AllocErr` in `alloc` [INFO] [stdout] | help: a similar name exists in the module: `AllocError` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `core::alloc::AllocErr` [INFO] [stdout] --> src/null.rs:3:13 [INFO] [stdout] | [INFO] [stdout] 3 | alloc::{AllocErr, AllocRef, Layout}, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | no `AllocErr` in `alloc` [INFO] [stdout] | help: a similar name exists in the module: `AllocError` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `core::alloc::AllocErr` [INFO] [stdout] --> src/proxy.rs:3:13 [INFO] [stdout] | [INFO] [stdout] 3 | alloc::{AllocErr, AllocRef, Layout}, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | no `AllocErr` in `alloc` [INFO] [stdout] | help: a similar name exists in the module: `AllocError` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `core::alloc::AllocErr` [INFO] [stdout] --> src/region.rs:9:13 [INFO] [stdout] | [INFO] [stdout] 9 | alloc::{AllocErr, AllocRef, Layout}, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | no `AllocErr` in `alloc` [INFO] [stdout] | help: a similar name exists in the module: `AllocError` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `core::alloc::AllocErr` [INFO] [stdout] --> src/segregate.rs:7:13 [INFO] [stdout] | [INFO] [stdout] 7 | alloc::{AllocErr, AllocRef, Layout}, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | no `AllocErr` in `alloc` [INFO] [stdout] | help: a similar name exists in the module: `AllocError` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `core::alloc::AllocErr` [INFO] [stdout] --> src/lib.rs:42:13 [INFO] [stdout] | [INFO] [stdout] 42 | alloc::{AllocErr, Layout}, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | no `AllocErr` in `alloc` [INFO] [stdout] | help: a similar name exists in the module: `AllocError` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `core::alloc::AllocErr` [INFO] [stdout] --> src/stats.rs:9:13 [INFO] [stdout] | [INFO] [stdout] 9 | alloc::{AllocErr, Layout}, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | no `AllocErr` in `alloc` [INFO] [stdout] | help: a similar name exists in the module: `AllocError` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `core::alloc::AllocErr` [INFO] [stdout] --> src/helper.rs:2:13 [INFO] [stdout] | [INFO] [stdout] 2 | alloc::{AllocErr, AllocRef, Layout}, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | no `AllocErr` in `alloc` [INFO] [stdout] | help: a similar name exists in the module: `AllocError` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `std::alloc::AllocErr` [INFO] [stdout] --> src/helper.rs:86:17 [INFO] [stdout] | [INFO] [stdout] 86 | alloc::{AllocErr, AllocRef, Layout, System}, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | no `AllocErr` in `alloc` [INFO] [stdout] | help: a similar name exists in the module: `AllocError` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `core::alloc::AllocErr` [INFO] [stdout] --> src/affix.rs:3:13 [INFO] [stdout] | [INFO] [stdout] 3 | alloc::{AllocErr, AllocRef, Layout}, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | no `AllocErr` in `alloc` [INFO] [stdout] | help: a similar name exists in the module: `AllocError` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `core::alloc::AllocErr` [INFO] [stdout] --> src/callback_ref.rs:4:13 [INFO] [stdout] | [INFO] [stdout] 4 | alloc::{AllocErr, Layout}, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | no `AllocErr` in `alloc` [INFO] [stdout] | help: a similar name exists in the module: `AllocError` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `std::alloc::AllocErr` [INFO] [stdout] --> src/callback_ref.rs:426:17 [INFO] [stdout] | [INFO] [stdout] 426 | alloc::{AllocErr, Layout}, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | no `AllocErr` in `alloc` [INFO] [stdout] | help: a similar name exists in the module: `AllocError` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `core::alloc::AllocErr` [INFO] [stdout] --> src/chunk.rs:3:13 [INFO] [stdout] | [INFO] [stdout] 3 | alloc::{AllocErr, AllocRef, Layout}, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | no `AllocErr` in `alloc` [INFO] [stdout] | help: a similar name exists in the module: `AllocError` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `core::alloc::AllocErr` [INFO] [stdout] --> src/fallback.rs:6:13 [INFO] [stdout] | [INFO] [stdout] 6 | alloc::{AllocErr, AllocRef, Layout}, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | no `AllocErr` in `alloc` [INFO] [stdout] | help: a similar name exists in the module: `AllocError` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0554]: `#![feature]` may not be used on the beta release channel [INFO] [stdout] --> src/lib.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | / #![feature( [INFO] [stdout] 7 | | allocator_api, [INFO] [stdout] 8 | | alloc_layout_extra, [INFO] [stdout] 9 | | const_checked_int_methods, [INFO] [stdout] ... | [INFO] [stdout] 19 | | slice_ptr_len [INFO] [stdout] 20 | | )] [INFO] [stdout] | |__^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `core::alloc::AllocErr` [INFO] [stdout] --> src/null.rs:3:13 [INFO] [stdout] | [INFO] [stdout] 3 | alloc::{AllocErr, AllocRef, Layout}, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | no `AllocErr` in `alloc` [INFO] [stdout] | help: a similar name exists in the module: `AllocError` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `core::alloc::AllocErr` [INFO] [stdout] --> src/proxy.rs:3:13 [INFO] [stdout] | [INFO] [stdout] 3 | alloc::{AllocErr, AllocRef, Layout}, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | no `AllocErr` in `alloc` [INFO] [stdout] | help: a similar name exists in the module: `AllocError` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `core::alloc::AllocErr` [INFO] [stdout] --> src/region.rs:9:13 [INFO] [stdout] | [INFO] [stdout] 9 | alloc::{AllocErr, AllocRef, Layout}, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | no `AllocErr` in `alloc` [INFO] [stdout] | help: a similar name exists in the module: `AllocError` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `core::alloc::AllocErr` [INFO] [stdout] --> src/segregate.rs:7:13 [INFO] [stdout] | [INFO] [stdout] 7 | alloc::{AllocErr, AllocRef, Layout}, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | no `AllocErr` in `alloc` [INFO] [stdout] | help: a similar name exists in the module: `AllocError` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `core::alloc::AllocErr` [INFO] [stdout] --> src/lib.rs:42:13 [INFO] [stdout] | [INFO] [stdout] 42 | alloc::{AllocErr, Layout}, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | no `AllocErr` in `alloc` [INFO] [stdout] | help: a similar name exists in the module: `AllocError` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0554]: `#![feature]` may not be used on the beta release channel [INFO] [stdout] --> src/lib.rs:4:19 [INFO] [stdout] | [INFO] [stdout] 4 | #![cfg_attr(test, feature(maybe_uninit_slice_assume_init))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0554]: `#![feature]` may not be used on the beta release channel [INFO] [stdout] --> src/lib.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | / #![feature( [INFO] [stdout] 7 | | allocator_api, [INFO] [stdout] 8 | | alloc_layout_extra, [INFO] [stdout] 9 | | const_checked_int_methods, [INFO] [stdout] ... | [INFO] [stdout] 19 | | slice_ptr_len [INFO] [stdout] 20 | | )] [INFO] [stdout] | |__^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0053]: method `dealloc` has an incompatible type for trait [INFO] [stdout] --> src/affix.rs:404:5 [INFO] [stdout] | [INFO] [stdout] 404 | unsafe fn dealloc(&mut self, ptr: NonNull, layout: Layout) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ types differ in mutability [INFO] [stdout] | [INFO] [stdout] = note: expected fn pointer `unsafe fn(&Affix, NonNull<_>, Layout)` [INFO] [stdout] found fn pointer `unsafe fn(&mut Affix, NonNull<_>, Layout)` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0053]: method `dealloc` has an incompatible type for trait [INFO] [stdout] --> src/chunk.rs:157:5 [INFO] [stdout] | [INFO] [stdout] 157 | unsafe fn dealloc(&mut self, ptr: NonNull, layout: Layout) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ types differ in mutability [INFO] [stdout] | [INFO] [stdout] = note: expected fn pointer `unsafe fn(&Chunk, NonNull<_>, Layout)` [INFO] [stdout] found fn pointer `unsafe fn(&mut Chunk, NonNull<_>, Layout)` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0053]: method `dealloc` has an incompatible type for trait [INFO] [stdout] --> src/fallback.rs:79:5 [INFO] [stdout] | [INFO] [stdout] 79 | unsafe fn dealloc(&mut self, ptr: NonNull, layout: Layout) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ types differ in mutability [INFO] [stdout] | [INFO] [stdout] = note: expected fn pointer `unsafe fn(&Fallback, NonNull<_>, Layout)` [INFO] [stdout] found fn pointer `unsafe fn(&mut Fallback, NonNull<_>, Layout)` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0053]: method `dealloc` has an incompatible type for trait [INFO] [stdout] --> src/null.rs:49:5 [INFO] [stdout] | [INFO] [stdout] 49 | unsafe fn dealloc(&mut self, _ptr: NonNull, _layout: Layout) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ types differ in mutability [INFO] [stdout] | [INFO] [stdout] = note: expected fn pointer `unsafe fn(&Null, NonNull<_>, Layout)` [INFO] [stdout] found fn pointer `unsafe fn(&mut Null, NonNull<_>, Layout)` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0053]: method `dealloc` has an incompatible type for trait [INFO] [stdout] --> src/proxy.rs:98:5 [INFO] [stdout] | [INFO] [stdout] 98 | unsafe fn dealloc(&mut self, ptr: NonNull, layout: Layout) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ types differ in mutability [INFO] [stdout] | [INFO] [stdout] = note: expected fn pointer `unsafe fn(&Proxy, NonNull<_>, Layout)` [INFO] [stdout] found fn pointer `unsafe fn(&mut Proxy, NonNull<_>, Layout)` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0053]: method `dealloc` has an incompatible type for trait [INFO] [stdout] --> src/region.rs:231:5 [INFO] [stdout] | [INFO] [stdout] 231 | unsafe fn dealloc(&mut self, ptr: NonNull, layout: Layout) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ types differ in mutability [INFO] [stdout] | [INFO] [stdout] = note: expected fn pointer `unsafe fn(&Region<'_>, NonNull<_>, Layout)` [INFO] [stdout] found fn pointer `unsafe fn(&mut Region<'_>, NonNull<_>, Layout)` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0053]: method `dealloc` has an incompatible type for trait [INFO] [stdout] --> src/segregate.rs:51:5 [INFO] [stdout] | [INFO] [stdout] 51 | unsafe fn dealloc(&mut self, ptr: NonNull, layout: Layout) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ types differ in mutability [INFO] [stdout] | [INFO] [stdout] = note: expected fn pointer `unsafe fn(&Segregate, NonNull<_>, Layout)` [INFO] [stdout] found fn pointer `unsafe fn(&mut Segregate, NonNull<_>, Layout)` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0053]: method `dealloc` has an incompatible type for trait [INFO] [stdout] --> src/affix.rs:404:5 [INFO] [stdout] | [INFO] [stdout] 404 | unsafe fn dealloc(&mut self, ptr: NonNull, layout: Layout) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ types differ in mutability [INFO] [stdout] | [INFO] [stdout] = note: expected fn pointer `unsafe fn(&affix::Affix, std::ptr::NonNull<_>, std::alloc::Layout)` [INFO] [stdout] found fn pointer `unsafe fn(&mut affix::Affix, std::ptr::NonNull<_>, std::alloc::Layout)` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/macros.rs:23:72 [INFO] [stdout] | [INFO] [stdout] 23 | |ptr, layout, new_size| self.$parent.grow(ptr, layout, new_size), [INFO] [stdout] | ^^^^^^^^ expected struct `Layout`, found `usize` [INFO] [stdout] | [INFO] [stdout] ::: src/affix.rs:402:5 [INFO] [stdout] | [INFO] [stdout] 402 | impl_alloc_ref!(parent); [INFO] [stdout] | ------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0053]: method `dealloc` has an incompatible type for trait [INFO] [stdout] --> src/chunk.rs:157:5 [INFO] [stdout] | [INFO] [stdout] 157 | unsafe fn dealloc(&mut self, ptr: NonNull, layout: Layout) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ types differ in mutability [INFO] [stdout] | [INFO] [stdout] = note: expected fn pointer `unsafe fn(&Chunk, std::ptr::NonNull<_>, std::alloc::Layout)` [INFO] [stdout] found fn pointer `unsafe fn(&mut Chunk, std::ptr::NonNull<_>, std::alloc::Layout)` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0053]: method `dealloc` has an incompatible type for trait [INFO] [stdout] --> src/fallback.rs:79:5 [INFO] [stdout] | [INFO] [stdout] 79 | unsafe fn dealloc(&mut self, ptr: NonNull, layout: Layout) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ types differ in mutability [INFO] [stdout] | [INFO] [stdout] = note: expected fn pointer `unsafe fn(&Fallback, std::ptr::NonNull<_>, std::alloc::Layout)` [INFO] [stdout] found fn pointer `unsafe fn(&mut Fallback, std::ptr::NonNull<_>, std::alloc::Layout)` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0053]: method `dealloc` has an incompatible type for trait [INFO] [stdout] --> src/null.rs:49:5 [INFO] [stdout] | [INFO] [stdout] 49 | unsafe fn dealloc(&mut self, _ptr: NonNull, _layout: Layout) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ types differ in mutability [INFO] [stdout] | [INFO] [stdout] = note: expected fn pointer `unsafe fn(&null::Null, std::ptr::NonNull<_>, std::alloc::Layout)` [INFO] [stdout] found fn pointer `unsafe fn(&mut null::Null, std::ptr::NonNull<_>, std::alloc::Layout)` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0053]: method `dealloc` has an incompatible type for trait [INFO] [stdout] --> src/proxy.rs:98:5 [INFO] [stdout] | [INFO] [stdout] 98 | unsafe fn dealloc(&mut self, ptr: NonNull, layout: Layout) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ types differ in mutability [INFO] [stdout] | [INFO] [stdout] = note: expected fn pointer `unsafe fn(&Proxy, std::ptr::NonNull<_>, std::alloc::Layout)` [INFO] [stdout] found fn pointer `unsafe fn(&mut Proxy, std::ptr::NonNull<_>, std::alloc::Layout)` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0053]: method `dealloc` has an incompatible type for trait [INFO] [stdout] --> src/region.rs:231:5 [INFO] [stdout] | [INFO] [stdout] 231 | unsafe fn dealloc(&mut self, ptr: NonNull, layout: Layout) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ types differ in mutability [INFO] [stdout] | [INFO] [stdout] = note: expected fn pointer `unsafe fn(®ion::Region<'_>, std::ptr::NonNull<_>, std::alloc::Layout)` [INFO] [stdout] found fn pointer `unsafe fn(&mut region::Region<'_>, std::ptr::NonNull<_>, std::alloc::Layout)` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/macros.rs:23:72 [INFO] [stdout] | [INFO] [stdout] 23 | |ptr, layout, new_size| self.$parent.grow(ptr, layout, new_size), [INFO] [stdout] | ^^^^^^^^ expected struct `Layout`, found `usize` [INFO] [stdout] | [INFO] [stdout] ::: src/chunk.rs:155:5 [INFO] [stdout] | [INFO] [stdout] 155 | impl_alloc_ref!(0); [INFO] [stdout] | ------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0053]: method `dealloc` has an incompatible type for trait [INFO] [stdout] --> src/segregate.rs:51:5 [INFO] [stdout] | [INFO] [stdout] 51 | unsafe fn dealloc(&mut self, ptr: NonNull, layout: Layout) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ types differ in mutability [INFO] [stdout] | [INFO] [stdout] = note: expected fn pointer `unsafe fn(&Segregate, std::ptr::NonNull<_>, std::alloc::Layout)` [INFO] [stdout] found fn pointer `unsafe fn(&mut Segregate, std::ptr::NonNull<_>, std::alloc::Layout)` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/macros.rs:39:79 [INFO] [stdout] | [INFO] [stdout] 39 | |ptr, layout, new_size| self.$parent.grow_zeroed(ptr, layout, new_size), [INFO] [stdout] | ^^^^^^^^ expected struct `Layout`, found `usize` [INFO] [stdout] | [INFO] [stdout] ::: src/affix.rs:402:5 [INFO] [stdout] | [INFO] [stdout] 402 | impl_alloc_ref!(parent); [INFO] [stdout] | ------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/macros.rs:39:79 [INFO] [stdout] | [INFO] [stdout] 39 | |ptr, layout, new_size| self.$parent.grow_zeroed(ptr, layout, new_size), [INFO] [stdout] | ^^^^^^^^ expected struct `Layout`, found `usize` [INFO] [stdout] | [INFO] [stdout] ::: src/chunk.rs:155:5 [INFO] [stdout] | [INFO] [stdout] 155 | impl_alloc_ref!(0); [INFO] [stdout] | ------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/macros.rs:51:50 [INFO] [stdout] | [INFO] [stdout] 51 | self.$parent.shrink(ptr, layout, new_size) [INFO] [stdout] | ^^^^^^^^ expected struct `Layout`, found `usize` [INFO] [stdout] | [INFO] [stdout] ::: src/affix.rs:402:5 [INFO] [stdout] | [INFO] [stdout] 402 | impl_alloc_ref!(parent); [INFO] [stdout] | ------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/macros.rs:51:50 [INFO] [stdout] | [INFO] [stdout] 51 | self.$parent.shrink(ptr, layout, new_size) [INFO] [stdout] | ^^^^^^^^ expected struct `Layout`, found `usize` [INFO] [stdout] | [INFO] [stdout] ::: src/chunk.rs:155:5 [INFO] [stdout] | [INFO] [stdout] 155 | impl_alloc_ref!(0); [INFO] [stdout] | ------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/fallback.rs:100:64 [INFO] [stdout] | [INFO] [stdout] 100 | if let Ok(memory) = self.primary.grow(ptr, layout, new_size) { [INFO] [stdout] | ^^^^^^^^ expected struct `Layout`, found `usize` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/fallback.rs:113:46 [INFO] [stdout] | [INFO] [stdout] 113 | self.secondary.grow(ptr, layout, new_size) [INFO] [stdout] | ^^^^^^^^ expected struct `Layout`, found `usize` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/stats.rs:688:86 [INFO] [stdout] | [INFO] [stdout] 688 | .grow_zeroed(memory.as_non_null_ptr(), Layout::new::<[u8; 4]>(), 80,) [INFO] [stdout] | ^^ expected struct `std::alloc::Layout`, found integer [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/fallback.rs:127:71 [INFO] [stdout] | [INFO] [stdout] 127 | if let Ok(memory) = self.primary.grow_zeroed(ptr, layout, new_size) { [INFO] [stdout] | ^^^^^^^^ expected struct `Layout`, found `usize` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/fallback.rs:140:53 [INFO] [stdout] | [INFO] [stdout] 140 | self.secondary.grow_zeroed(ptr, layout, new_size) [INFO] [stdout] | ^^^^^^^^ expected struct `Layout`, found `usize` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/stats.rs:698:79 [INFO] [stdout] | [INFO] [stdout] 698 | .grow(memory.as_non_null_ptr(), Layout::new::<[u8; 4]>(), 80,) [INFO] [stdout] | ^^ expected struct `std::alloc::Layout`, found integer [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/stats.rs:707:82 [INFO] [stdout] | [INFO] [stdout] 707 | .grow_zeroed(memory.as_non_null_ptr(), Layout::new::<[u8; 4]>(), 8) [INFO] [stdout] | ^ expected struct `std::alloc::Layout`, found integer [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/fallback.rs:154:46 [INFO] [stdout] | [INFO] [stdout] 154 | self.primary.shrink(ptr, layout, new_size) [INFO] [stdout] | ^^^^^^^^ expected struct `Layout`, found `usize` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/fallback.rs:156:48 [INFO] [stdout] | [INFO] [stdout] 156 | self.secondary.shrink(ptr, layout, new_size) [INFO] [stdout] | ^^^^^^^^ expected struct `Layout`, found `usize` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/stats.rs:710:75 [INFO] [stdout] | [INFO] [stdout] 710 | .grow(memory.as_non_null_ptr(), Layout::new::<[u8; 8]>(), 16) [INFO] [stdout] | ^^ expected struct `std::alloc::Layout`, found integer [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/stats.rs:713:78 [INFO] [stdout] | [INFO] [stdout] 713 | .shrink(memory.as_non_null_ptr(), Layout::new::<[u8; 16]>(), 4) [INFO] [stdout] | ^ expected struct `std::alloc::Layout`, found integer [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/proxy.rs:114:51 [INFO] [stdout] | [INFO] [stdout] 114 | let result = self.alloc.grow(ptr, layout, new_size); [INFO] [stdout] | ^^^^^^^^ expected struct `Layout`, found `usize` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/proxy.rs:128:58 [INFO] [stdout] | [INFO] [stdout] 128 | let result = self.alloc.grow_zeroed(ptr, layout, new_size); [INFO] [stdout] | ^^^^^^^^ expected struct `Layout`, found `usize` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/proxy.rs:143:53 [INFO] [stdout] | [INFO] [stdout] 143 | let result = self.alloc.shrink(ptr, layout, new_size); [INFO] [stdout] | ^^^^^^^^ expected struct `Layout`, found `usize` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/segregate.rs:76:59 [INFO] [stdout] | [INFO] [stdout] 76 | let memory = self.small.grow(ptr, layout, new_size)?; [INFO] [stdout] | ^^^^^^^^ expected struct `Layout`, found `usize` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/segregate.rs:80:42 [INFO] [stdout] | [INFO] [stdout] 80 | self.large.grow(ptr, layout, new_size) [INFO] [stdout] | ^^^^^^^^ expected struct `Layout`, found `usize` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/segregate.rs:101:66 [INFO] [stdout] | [INFO] [stdout] 101 | let memory = self.small.grow_zeroed(ptr, layout, new_size)?; [INFO] [stdout] | ^^^^^^^^ expected struct `Layout`, found `usize` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/helper.rs:314:89 [INFO] [stdout] | [INFO] [stdout] 314 | let _ = unsafe { alloc.grow(memory.as_non_null_ptr(), Layout::new::<[u8; 4]>(), 2) }; [INFO] [stdout] | ^ expected struct `std::alloc::Layout`, found integer [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/segregate.rs:105:49 [INFO] [stdout] | [INFO] [stdout] 105 | self.large.grow_zeroed(ptr, layout, new_size) [INFO] [stdout] | ^^^^^^^^ expected struct `Layout`, found `usize` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/segregate.rs:116:57 [INFO] [stdout] | [INFO] [stdout] 116 | let memory = self.small.shrink(ptr, layout, new_size)?; [INFO] [stdout] | ^^^^^^^^ expected struct `Layout`, found `usize` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/helper.rs:328:17 [INFO] [stdout] | [INFO] [stdout] 328 | usize::MAX, [INFO] [stdout] | ^^^^^^^^^^ expected struct `std::alloc::Layout`, found `usize` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/segregate.rs:123:44 [INFO] [stdout] | [INFO] [stdout] 123 | self.large.shrink(ptr, layout, new_size) [INFO] [stdout] | ^^^^^^^^ expected struct `Layout`, found `usize` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/helper.rs:340:89 [INFO] [stdout] | [INFO] [stdout] 340 | let _ = unsafe { alloc.grow(memory.as_non_null_ptr(), Layout::new::<[u8; 2]>(), 10) }; [INFO] [stdout] | ^^ expected struct `std::alloc::Layout`, found integer [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 40 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0053, E0308, E0432, E0554. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0053`. [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/helper.rs:350:89 [INFO] [stdout] | [INFO] [stdout] 350 | let _ = unsafe { alloc.grow(memory.as_non_null_ptr(), Layout::new::<[u8; 2]>(), 10) }; [INFO] [stdout] | ^^ expected struct `std::alloc::Layout`, found integer [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `alloc-compose` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/helper.rs:360:90 [INFO] [stdout] | [INFO] [stdout] 360 | let _ = unsafe { alloc.grow(memory.as_non_null_ptr(), Layout::new::<[u16; 2]>(), 10) }; [INFO] [stdout] | ^^ expected struct `std::alloc::Layout`, found integer [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/helper.rs:370:84 [INFO] [stdout] | [INFO] [stdout] 370 | let _ = unsafe { alloc.grow(NonNull::dangling(), Layout::new::<[u8; 4]>(), 10) }; [INFO] [stdout] | ^^ expected struct `std::alloc::Layout`, found integer [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/macros.rs:23:72 [INFO] [stdout] | [INFO] [stdout] 23 | |ptr, layout, new_size| self.$parent.grow(ptr, layout, new_size), [INFO] [stdout] | ^^^^^^^^ expected struct `std::alloc::Layout`, found `usize` [INFO] [stdout] | [INFO] [stdout] ::: src/affix.rs:402:5 [INFO] [stdout] | [INFO] [stdout] 402 | impl_alloc_ref!(parent); [INFO] [stdout] | ------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/macros.rs:23:72 [INFO] [stdout] | [INFO] [stdout] 23 | |ptr, layout, new_size| self.$parent.grow(ptr, layout, new_size), [INFO] [stdout] | ^^^^^^^^ expected struct `std::alloc::Layout`, found `usize` [INFO] [stdout] | [INFO] [stdout] ::: src/chunk.rs:155:5 [INFO] [stdout] | [INFO] [stdout] 155 | impl_alloc_ref!(0); [INFO] [stdout] | ------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/macros.rs:39:79 [INFO] [stdout] | [INFO] [stdout] 39 | |ptr, layout, new_size| self.$parent.grow_zeroed(ptr, layout, new_size), [INFO] [stdout] | ^^^^^^^^ expected struct `std::alloc::Layout`, found `usize` [INFO] [stdout] | [INFO] [stdout] ::: src/affix.rs:402:5 [INFO] [stdout] | [INFO] [stdout] 402 | impl_alloc_ref!(parent); [INFO] [stdout] | ------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/macros.rs:39:79 [INFO] [stdout] | [INFO] [stdout] 39 | |ptr, layout, new_size| self.$parent.grow_zeroed(ptr, layout, new_size), [INFO] [stdout] | ^^^^^^^^ expected struct `std::alloc::Layout`, found `usize` [INFO] [stdout] | [INFO] [stdout] ::: src/chunk.rs:155:5 [INFO] [stdout] | [INFO] [stdout] 155 | impl_alloc_ref!(0); [INFO] [stdout] | ------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/macros.rs:51:50 [INFO] [stdout] | [INFO] [stdout] 51 | self.$parent.shrink(ptr, layout, new_size) [INFO] [stdout] | ^^^^^^^^ expected struct `std::alloc::Layout`, found `usize` [INFO] [stdout] | [INFO] [stdout] ::: src/affix.rs:402:5 [INFO] [stdout] | [INFO] [stdout] 402 | impl_alloc_ref!(parent); [INFO] [stdout] | ------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/macros.rs:51:50 [INFO] [stdout] | [INFO] [stdout] 51 | self.$parent.shrink(ptr, layout, new_size) [INFO] [stdout] | ^^^^^^^^ expected struct `std::alloc::Layout`, found `usize` [INFO] [stdout] | [INFO] [stdout] ::: src/chunk.rs:155:5 [INFO] [stdout] | [INFO] [stdout] 155 | impl_alloc_ref!(0); [INFO] [stdout] | ------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/affix.rs:496:64 [INFO] [stdout] | [INFO] [stdout] 496 | .grow_zeroed(memory.as_non_null_ptr(), layout, memory.len() * 2) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ expected struct `std::alloc::Layout`, found `usize` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/affix.rs:515:59 [INFO] [stdout] | [INFO] [stdout] 515 | .shrink(memory.as_non_null_ptr(), layout, layout.size()) [INFO] [stdout] | ^^^^^^^^^^^^^ expected struct `std::alloc::Layout`, found `usize` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/chunk.rs:281:76 [INFO] [stdout] | [INFO] [stdout] 281 | .grow(memory.as_non_null_ptr(), Layout::new::<[u8; 64]>(), 65) [INFO] [stdout] | ^^ expected struct `std::alloc::Layout`, found integer [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/chunk.rs:285:77 [INFO] [stdout] | [INFO] [stdout] 285 | .grow(memory.as_non_null_ptr(), Layout::new::<[u8; 100]>(), 512) [INFO] [stdout] | ^^^ expected struct `std::alloc::Layout`, found integer [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/chunk.rs:324:79 [INFO] [stdout] | [INFO] [stdout] 324 | .shrink(memory.as_non_null_ptr(), Layout::new::<[u8; 100]>(), 64) [INFO] [stdout] | ^^ expected struct `std::alloc::Layout`, found integer [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/fallback.rs:100:64 [INFO] [stdout] | [INFO] [stdout] 100 | if let Ok(memory) = self.primary.grow(ptr, layout, new_size) { [INFO] [stdout] | ^^^^^^^^ expected struct `std::alloc::Layout`, found `usize` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/fallback.rs:113:46 [INFO] [stdout] | [INFO] [stdout] 113 | self.secondary.grow(ptr, layout, new_size) [INFO] [stdout] | ^^^^^^^^ expected struct `std::alloc::Layout`, found `usize` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/fallback.rs:127:71 [INFO] [stdout] | [INFO] [stdout] 127 | if let Ok(memory) = self.primary.grow_zeroed(ptr, layout, new_size) { [INFO] [stdout] | ^^^^^^^^ expected struct `std::alloc::Layout`, found `usize` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/fallback.rs:140:53 [INFO] [stdout] | [INFO] [stdout] 140 | self.secondary.grow_zeroed(ptr, layout, new_size) [INFO] [stdout] | ^^^^^^^^ expected struct `std::alloc::Layout`, found `usize` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/fallback.rs:154:46 [INFO] [stdout] | [INFO] [stdout] 154 | self.primary.shrink(ptr, layout, new_size) [INFO] [stdout] | ^^^^^^^^ expected struct `std::alloc::Layout`, found `usize` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/fallback.rs:156:48 [INFO] [stdout] | [INFO] [stdout] 156 | self.secondary.shrink(ptr, layout, new_size) [INFO] [stdout] | ^^^^^^^^ expected struct `std::alloc::Layout`, found `usize` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/fallback.rs:218:76 [INFO] [stdout] | [INFO] [stdout] 218 | .grow(memory.as_non_null_ptr(), Layout::new::<[u8; 32]>(), 64) [INFO] [stdout] | ^^ expected struct `std::alloc::Layout`, found integer [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/fallback.rs:224:76 [INFO] [stdout] | [INFO] [stdout] 224 | .grow(memory.as_non_null_ptr(), Layout::new::<[u8; 64]>(), 80) [INFO] [stdout] | ^^ expected struct `std::alloc::Layout`, found integer [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/fallback.rs:229:76 [INFO] [stdout] | [INFO] [stdout] 229 | .grow(memory.as_non_null_ptr(), Layout::new::<[u8; 80]>(), 96) [INFO] [stdout] | ^^ expected struct `std::alloc::Layout`, found integer [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/fallback.rs:234:76 [INFO] [stdout] | [INFO] [stdout] 234 | .grow(memory.as_non_null_ptr(), Layout::new::<[u8; 96]>(), 128) [INFO] [stdout] | ^^^ expected struct `std::alloc::Layout`, found integer [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/fallback.rs:257:78 [INFO] [stdout] | [INFO] [stdout] 257 | .shrink(memory.as_non_null_ptr(), Layout::new::<[u8; 64]>(), 32) [INFO] [stdout] | ^^ expected struct `std::alloc::Layout`, found integer [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/fallback.rs:262:76 [INFO] [stdout] | [INFO] [stdout] 262 | .grow(memory.as_non_null_ptr(), Layout::new::<[u8; 32]>(), 128) [INFO] [stdout] | ^^^ expected struct `std::alloc::Layout`, found integer [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/fallback.rs:267:79 [INFO] [stdout] | [INFO] [stdout] 267 | .shrink(memory.as_non_null_ptr(), Layout::new::<[u8; 128]>(), 96) [INFO] [stdout] | ^^ expected struct `std::alloc::Layout`, found integer [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/null.rs:169:73 [INFO] [stdout] | [INFO] [stdout] 169 | let _ = Null.grow(NonNull::dangling(), Layout::new::<()>(), 0); [INFO] [stdout] | ^ expected struct `std::alloc::Layout`, found integer [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/null.rs:177:80 [INFO] [stdout] | [INFO] [stdout] 177 | let _ = Null.grow_zeroed(NonNull::dangling(), Layout::new::<()>(), 0); [INFO] [stdout] | ^ expected struct `std::alloc::Layout`, found integer [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/null.rs:201:75 [INFO] [stdout] | [INFO] [stdout] 201 | let _ = Null.shrink(NonNull::dangling(), Layout::new::<()>(), 0); [INFO] [stdout] | ^ expected struct `std::alloc::Layout`, found integer [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/proxy.rs:114:51 [INFO] [stdout] | [INFO] [stdout] 114 | let result = self.alloc.grow(ptr, layout, new_size); [INFO] [stdout] | ^^^^^^^^ expected struct `std::alloc::Layout`, found `usize` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/proxy.rs:128:58 [INFO] [stdout] | [INFO] [stdout] 128 | let result = self.alloc.grow_zeroed(ptr, layout, new_size); [INFO] [stdout] | ^^^^^^^^ expected struct `std::alloc::Layout`, found `usize` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/proxy.rs:143:53 [INFO] [stdout] | [INFO] [stdout] 143 | let result = self.alloc.shrink(ptr, layout, new_size); [INFO] [stdout] | ^^^^^^^^ expected struct `std::alloc::Layout`, found `usize` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `slice_get_ref` found for union `std::mem::MaybeUninit<_>` in the current scope [INFO] [stdout] --> src/region.rs:393:37 [INFO] [stdout] | [INFO] [stdout] 393 | assert_eq!(MaybeUninit::slice_get_ref(&data), &[1; 32][..]); [INFO] [stdout] | ^^^^^^^^^^^^^ function or associated item not found in `std::mem::MaybeUninit<_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `slice_get_ref` found for union `std::mem::MaybeUninit<_>` in the current scope [INFO] [stdout] --> src/region.rs:411:37 [INFO] [stdout] | [INFO] [stdout] 411 | assert_eq!(MaybeUninit::slice_get_ref(&data), &[0; 32][..]); [INFO] [stdout] | ^^^^^^^^^^^^^ function or associated item not found in `std::mem::MaybeUninit<_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `slice_get_ref` found for union `std::mem::MaybeUninit<_>` in the current scope [INFO] [stdout] --> src/region.rs:460:37 [INFO] [stdout] | [INFO] [stdout] 460 | assert_eq!(MaybeUninit::slice_get_ref(&data[0..16]), &[1; 16][..]); [INFO] [stdout] | ^^^^^^^^^^^^^ function or associated item not found in `std::mem::MaybeUninit<_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `slice_get_ref` found for union `std::mem::MaybeUninit<_>` in the current scope [INFO] [stdout] --> src/region.rs:461:37 [INFO] [stdout] | [INFO] [stdout] 461 | assert_eq!(MaybeUninit::slice_get_ref(&data[16..]), &[0; 16][..]); [INFO] [stdout] | ^^^^^^^^^^^^^ function or associated item not found in `std::mem::MaybeUninit<_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `slice_get_ref` found for union `std::mem::MaybeUninit<_>` in the current scope [INFO] [stdout] --> src/region.rs:476:37 [INFO] [stdout] | [INFO] [stdout] 476 | assert_eq!(MaybeUninit::slice_get_ref(&data), &[1; 32][..]); [INFO] [stdout] | ^^^^^^^^^^^^^ function or associated item not found in `std::mem::MaybeUninit<_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/region.rs:557:57 [INFO] [stdout] | [INFO] [stdout] 557 | .grow(memory.as_non_null_ptr(), layout, 16) [INFO] [stdout] | ^^ expected struct `std::alloc::Layout`, found integer [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/region.rs:573:78 [INFO] [stdout] | [INFO] [stdout] 573 | .shrink(memory.as_non_null_ptr(), Layout::new::<[u8; 16]>(), 8) [INFO] [stdout] | ^ expected struct `std::alloc::Layout`, found integer [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/segregate.rs:76:59 [INFO] [stdout] | [INFO] [stdout] 76 | let memory = self.small.grow(ptr, layout, new_size)?; [INFO] [stdout] | ^^^^^^^^ expected struct `std::alloc::Layout`, found `usize` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/segregate.rs:80:42 [INFO] [stdout] | [INFO] [stdout] 80 | self.large.grow(ptr, layout, new_size) [INFO] [stdout] | ^^^^^^^^ expected struct `std::alloc::Layout`, found `usize` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/segregate.rs:101:66 [INFO] [stdout] | [INFO] [stdout] 101 | let memory = self.small.grow_zeroed(ptr, layout, new_size)?; [INFO] [stdout] | ^^^^^^^^ expected struct `std::alloc::Layout`, found `usize` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/segregate.rs:105:49 [INFO] [stdout] | [INFO] [stdout] 105 | self.large.grow_zeroed(ptr, layout, new_size) [INFO] [stdout] | ^^^^^^^^ expected struct `std::alloc::Layout`, found `usize` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/segregate.rs:116:57 [INFO] [stdout] | [INFO] [stdout] 116 | let memory = self.small.shrink(ptr, layout, new_size)?; [INFO] [stdout] | ^^^^^^^^ expected struct `std::alloc::Layout`, found `usize` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/segregate.rs:123:44 [INFO] [stdout] | [INFO] [stdout] 123 | self.large.shrink(ptr, layout, new_size) [INFO] [stdout] | ^^^^^^^^ expected struct `std::alloc::Layout`, found `usize` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/segregate.rs:279:72 [INFO] [stdout] | [INFO] [stdout] 279 | .grow(mem.as_non_null_ptr(), Layout::new::<[u8; 8]>(), 16) [INFO] [stdout] | ^^ expected struct `std::alloc::Layout`, found integer [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/segregate.rs:286:72 [INFO] [stdout] | [INFO] [stdout] 286 | .grow(mem.as_non_null_ptr(), Layout::new::<[u8; 8]>(), 32) [INFO] [stdout] | ^^ expected struct `std::alloc::Layout`, found integer [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/segregate.rs:293:73 [INFO] [stdout] | [INFO] [stdout] 293 | .grow(mem.as_non_null_ptr(), Layout::new::<[u8; 32]>(), 33) [INFO] [stdout] | ^^ expected struct `std::alloc::Layout`, found integer [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/segregate.rs:301:73 [INFO] [stdout] | [INFO] [stdout] 301 | .grow(mem.as_non_null_ptr(), Layout::new::<[u8; 33]>(), 64) [INFO] [stdout] | ^^ expected struct `std::alloc::Layout`, found integer [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 80 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0053, E0308, E0432, E0554, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0053`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "741383b06d72456209c9b312093a0a4e600d97f3a7ad1b19a546eb64d59e4cf6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "741383b06d72456209c9b312093a0a4e600d97f3a7ad1b19a546eb64d59e4cf6", kill_on_drop: false }` [INFO] [stdout] 741383b06d72456209c9b312093a0a4e600d97f3a7ad1b19a546eb64d59e4cf6