[INFO] fetching crate alloc-compose 0.5.0... [INFO] testing alloc-compose-0.5.0 against master#5d5ff84130da0d74c6ece368dbe821d8f83fa526 for pr-79296 [INFO] extracting crate alloc-compose 0.5.0 into /workspace/builds/worker-8/source [INFO] validating manifest of crates.io crate alloc-compose 0.5.0 on toolchain 5d5ff84130da0d74c6ece368dbe821d8f83fa526 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+5d5ff84130da0d74c6ece368dbe821d8f83fa526" "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-8/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+5d5ff84130da0d74c6ece368dbe821d8f83fa526" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+5d5ff84130da0d74c6ece368dbe821d8f83fa526" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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" "+5d5ff84130da0d74c6ece368dbe821d8f83fa526" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7190674fac4ff5b5d4ff1bef2c9da13dfe997eeed1142074319fde0a1ef15e24 [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" "7190674fac4ff5b5d4ff1bef2c9da13dfe997eeed1142074319fde0a1ef15e24", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7190674fac4ff5b5d4ff1bef2c9da13dfe997eeed1142074319fde0a1ef15e24", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7190674fac4ff5b5d4ff1bef2c9da13dfe997eeed1142074319fde0a1ef15e24", kill_on_drop: false }` [INFO] [stdout] 7190674fac4ff5b5d4ff1bef2c9da13dfe997eeed1142074319fde0a1ef15e24 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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" "+5d5ff84130da0d74c6ece368dbe821d8f83fa526" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] bbb84a7d38a55b60f3edacf654a0cf91ff8dff413bee7a09a565427404bb5929 [INFO] running `Command { std: "docker" "start" "-a" "bbb84a7d38a55b60f3edacf654a0cf91ff8dff413bee7a09a565427404bb5929", kill_on_drop: false }` [INFO] [stderr] Compiling 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[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[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[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[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/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/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/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/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/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: aborting due to 39 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0053, E0308, E0432. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0053`. [INFO] [stdout] [INFO] [stderr] error: could not compile `alloc-compose` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `Command { std: "docker" "inspect" "bbb84a7d38a55b60f3edacf654a0cf91ff8dff413bee7a09a565427404bb5929", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bbb84a7d38a55b60f3edacf654a0cf91ff8dff413bee7a09a565427404bb5929", kill_on_drop: false }` [INFO] [stdout] bbb84a7d38a55b60f3edacf654a0cf91ff8dff413bee7a09a565427404bb5929