[INFO] fetching crate bulk_allocator 0.2.0... [INFO] checking bulk_allocator-0.2.0 against beta for pr-78714 [INFO] extracting crate bulk_allocator 0.2.0 into /workspace/builds/worker-13/source [INFO] validating manifest of crates.io crate bulk_allocator 0.2.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 bulk_allocator 0.2.0 [INFO] finished tweaking crates.io crate bulk_allocator 0.2.0 [INFO] tweaked toml for crates.io crate bulk_allocator 0.2.0 written to /workspace/builds/worker-13/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-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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] 705950c50577e428ae735737f26307ab28161f48d3b6d6b51fb615f0243f2afd [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" "705950c50577e428ae735737f26307ab28161f48d3b6d6b51fb615f0243f2afd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "705950c50577e428ae735737f26307ab28161f48d3b6d6b51fb615f0243f2afd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "705950c50577e428ae735737f26307ab28161f48d3b6d6b51fb615f0243f2afd", kill_on_drop: false }` [INFO] [stdout] 705950c50577e428ae735737f26307ab28161f48d3b6d6b51fb615f0243f2afd [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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] 14aac6ba76a9b25667a2237315983b8fc59df75b50db31288f2083fb9fd893e4 [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" "14aac6ba76a9b25667a2237315983b8fc59df75b50db31288f2083fb9fd893e4", kill_on_drop: false }` [INFO] [stderr] Checking bulk_allocator v0.2.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `core::alloc::AllocErr` [INFO] [stdout] --> src/backend.rs:32:19 [INFO] [stdout] | [INFO] [stdout] 32 | use core::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/bulk_allocator.rs:37:19 [INFO] [stdout] | [INFO] [stdout] 37 | use core::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/layout_bulk_allocator.rs:36:19 [INFO] [stdout] | [INFO] [stdout] 36 | use core::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:32:1 [INFO] [stdout] | [INFO] [stdout] 32 | #![feature(allocator_api, external_doc, slice_ptr_len)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `core::alloc::AllocErr` [INFO] [stdout] --> src/backend.rs:32:19 [INFO] [stdout] | [INFO] [stdout] 32 | use core::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/bulk_allocator.rs:37:19 [INFO] [stdout] | [INFO] [stdout] 37 | use core::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/layout_bulk_allocator.rs:36:19 [INFO] [stdout] | [INFO] [stdout] 36 | use core::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:32:1 [INFO] [stdout] | [INFO] [stdout] 32 | #![feature(allocator_api, external_doc, slice_ptr_len)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0053]: method `dealloc` has an incompatible type for trait [INFO] [stdout] --> src/backend.rs:52:5 [INFO] [stdout] | [INFO] [stdout] 52 | 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(&Backend<'_, B>, NonNull<_>, Layout)` [INFO] [stdout] found fn pointer `unsafe fn(&mut Backend<'_, B>, NonNull<_>, Layout)` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0053]: method `dealloc` has an incompatible type for trait [INFO] [stdout] --> src/bulk_allocator.rs:173:5 [INFO] [stdout] | [INFO] [stdout] 173 | 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(&BulkAllocator<'_, B>, NonNull<_>, Layout)` [INFO] [stdout] found fn pointer `unsafe fn(&mut BulkAllocator<'_, B>, NonNull<_>, Layout)` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0053]: method `dealloc` has an incompatible type for trait [INFO] [stdout] --> src/layout_bulk_allocator.rs:190:5 [INFO] [stdout] | [INFO] [stdout] 190 | 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(&LayoutBulkAllocator<'_, B>, NonNull<_>, Layout)` [INFO] [stdout] found fn pointer `unsafe fn(&mut LayoutBulkAllocator<'_, B>, NonNull<_>, Layout)` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 7 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0053, E0432, E0554. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0053`. [INFO] [stdout] [INFO] [stderr] error: could not compile `bulk_allocator` [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[E0053]: method `dealloc` has an incompatible type for trait [INFO] [stdout] --> src/backend.rs:52:5 [INFO] [stdout] | [INFO] [stdout] 52 | 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(&Backend<'_, B>, std::ptr::NonNull<_>, std::alloc::Layout)` [INFO] [stdout] found fn pointer `unsafe fn(&mut Backend<'_, B>, 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/bulk_allocator.rs:173:5 [INFO] [stdout] | [INFO] [stdout] 173 | 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(&bulk_allocator::BulkAllocator<'_, B>, std::ptr::NonNull<_>, std::alloc::Layout)` [INFO] [stdout] found fn pointer `unsafe fn(&mut bulk_allocator::BulkAllocator<'_, B>, 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/layout_bulk_allocator.rs:190:5 [INFO] [stdout] | [INFO] [stdout] 190 | 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(&layout_bulk_allocator::LayoutBulkAllocator<'_, B>, std::ptr::NonNull<_>, std::alloc::Layout)` [INFO] [stdout] found fn pointer `unsafe fn(&mut layout_bulk_allocator::LayoutBulkAllocator<'_, B>, std::ptr::NonNull<_>, std::alloc::Layout)` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 7 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0053, E0432, E0554. [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" "14aac6ba76a9b25667a2237315983b8fc59df75b50db31288f2083fb9fd893e4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "14aac6ba76a9b25667a2237315983b8fc59df75b50db31288f2083fb9fd893e4", kill_on_drop: false }` [INFO] [stdout] 14aac6ba76a9b25667a2237315983b8fc59df75b50db31288f2083fb9fd893e4