[INFO] fetching crate bulk_allocator 0.2.0... [INFO] checking bulk_allocator-0.2.0 against try#3e22d1f9053c0fc87629b3c6d5d9567856368e5d for pr-78714 [INFO] extracting crate bulk_allocator 0.2.0 into /workspace/builds/worker-9/source [INFO] validating manifest of crates.io crate bulk_allocator 0.2.0 on toolchain 3e22d1f9053c0fc87629b3c6d5d9567856368e5d [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3e22d1f9053c0fc87629b3c6d5d9567856368e5d" "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-9/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3e22d1f9053c0fc87629b3c6d5d9567856368e5d" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3e22d1f9053c0fc87629b3c6d5d9567856368e5d" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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" "+3e22d1f9053c0fc87629b3c6d5d9567856368e5d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0d1e2f6b8cca6f77bd1cb842431d9e5f42c13e516000ba7ef0f244489073eb6f [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" "0d1e2f6b8cca6f77bd1cb842431d9e5f42c13e516000ba7ef0f244489073eb6f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0d1e2f6b8cca6f77bd1cb842431d9e5f42c13e516000ba7ef0f244489073eb6f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0d1e2f6b8cca6f77bd1cb842431d9e5f42c13e516000ba7ef0f244489073eb6f", kill_on_drop: false }` [INFO] [stdout] 0d1e2f6b8cca6f77bd1cb842431d9e5f42c13e516000ba7ef0f244489073eb6f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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" "+3e22d1f9053c0fc87629b3c6d5d9567856368e5d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4e08e5bd752d3544e08d2e6200064ebff7a260c4e39fc4b6caf86fc3ffa8dc88 [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" "4e08e5bd752d3544e08d2e6200064ebff7a260c4e39fc4b6caf86fc3ffa8dc88", 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" "4e08e5bd752d3544e08d2e6200064ebff7a260c4e39fc4b6caf86fc3ffa8dc88", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4e08e5bd752d3544e08d2e6200064ebff7a260c4e39fc4b6caf86fc3ffa8dc88", kill_on_drop: false }` [INFO] [stdout] 4e08e5bd752d3544e08d2e6200064ebff7a260c4e39fc4b6caf86fc3ffa8dc88