[INFO] fetching crate bulk_allocator 0.2.0... [INFO] checking bulk_allocator-0.2.0 against master#c919f490bbcd2b29b74016101f7ec71aaa24bdbb for pr-79073 [INFO] extracting crate bulk_allocator 0.2.0 into /workspace/builds/worker-6/source [INFO] validating manifest of crates.io crate bulk_allocator 0.2.0 on toolchain c919f490bbcd2b29b74016101f7ec71aaa24bdbb [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+c919f490bbcd2b29b74016101f7ec71aaa24bdbb" "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-6/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+c919f490bbcd2b29b74016101f7ec71aaa24bdbb" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+c919f490bbcd2b29b74016101f7ec71aaa24bdbb" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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" "+c919f490bbcd2b29b74016101f7ec71aaa24bdbb" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] cac364d5d0719069d30cfa06a517ea6b5c31878d703441680c057011a080b286 [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" "cac364d5d0719069d30cfa06a517ea6b5c31878d703441680c057011a080b286", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "cac364d5d0719069d30cfa06a517ea6b5c31878d703441680c057011a080b286", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cac364d5d0719069d30cfa06a517ea6b5c31878d703441680c057011a080b286", kill_on_drop: false }` [INFO] [stdout] cac364d5d0719069d30cfa06a517ea6b5c31878d703441680c057011a080b286 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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" "+c919f490bbcd2b29b74016101f7ec71aaa24bdbb" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] bb570ab5188faa48a0ab043cb6e5f27d0a471949ace406a8784805dd6fb15280 [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" "bb570ab5188faa48a0ab043cb6e5f27d0a471949ace406a8784805dd6fb15280", 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[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[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[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 6 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0053, E0432. [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: aborting due to 6 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0053, E0432. [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" "bb570ab5188faa48a0ab043cb6e5f27d0a471949ace406a8784805dd6fb15280", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bb570ab5188faa48a0ab043cb6e5f27d0a471949ace406a8784805dd6fb15280", kill_on_drop: false }` [INFO] [stdout] bb570ab5188faa48a0ab043cb6e5f27d0a471949ace406a8784805dd6fb15280