[INFO] fetching crate alloc-compose 0.5.0... [INFO] testing alloc-compose-0.5.0 against 1.49.0 for beta-1.50-1 [INFO] extracting crate alloc-compose 0.5.0 into /workspace/builds/worker-7/source [INFO] validating manifest of crates.io crate alloc-compose 0.5.0 on toolchain 1.49.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.49.0" "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-7/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.49.0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.49.0" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+1.49.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d866844aa8c449fe6cca7074e32d0206405aaf2db59e89532e525e4023989ac6 [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" "d866844aa8c449fe6cca7074e32d0206405aaf2db59e89532e525e4023989ac6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d866844aa8c449fe6cca7074e32d0206405aaf2db59e89532e525e4023989ac6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d866844aa8c449fe6cca7074e32d0206405aaf2db59e89532e525e4023989ac6", kill_on_drop: false }` [INFO] [stdout] d866844aa8c449fe6cca7074e32d0206405aaf2db59e89532e525e4023989ac6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "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:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+1.49.0" "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] e794aca017ad8f6b7b1151819522a53600e0fca55bc44c1fdb28640872b37939 [INFO] running `Command { std: "docker" "start" "-a" "e794aca017ad8f6b7b1151819522a53600e0fca55bc44c1fdb28640872b37939", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [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[E0554]: `#![feature]` may not be used on the stable 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[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 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] [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" "e794aca017ad8f6b7b1151819522a53600e0fca55bc44c1fdb28640872b37939", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e794aca017ad8f6b7b1151819522a53600e0fca55bc44c1fdb28640872b37939", kill_on_drop: false }` [INFO] [stdout] e794aca017ad8f6b7b1151819522a53600e0fca55bc44c1fdb28640872b37939