[INFO] fetching crate allocator-suite 0.1.7... [INFO] checking allocator-suite-0.1.7 against master#0d37dca25a51fb900a402c94c8818ad1c2789e30 for pr-77526 [INFO] extracting crate allocator-suite 0.1.7 into /workspace/builds/worker-0/source [INFO] validating manifest of crates.io crate allocator-suite 0.1.7 on toolchain 0d37dca25a51fb900a402c94c8818ad1c2789e30 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+0d37dca25a51fb900a402c94c8818ad1c2789e30" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking crates.io crate allocator-suite 0.1.7 [INFO] finished tweaking crates.io crate allocator-suite 0.1.7 [INFO] tweaked toml for crates.io crate allocator-suite 0.1.7 written to /workspace/builds/worker-0/source/Cargo.toml [INFO] crate crates.io crate allocator-suite 0.1.7 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+0d37dca25a51fb900a402c94c8818ad1c2789e30" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+0d37dca25a51fb900a402c94c8818ad1c2789e30" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 16a59e0a4b482c4101bf7af382b30ad56765951ae0a362dd422da792e3b35f47 [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" "16a59e0a4b482c4101bf7af382b30ad56765951ae0a362dd422da792e3b35f47", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "16a59e0a4b482c4101bf7af382b30ad56765951ae0a362dd422da792e3b35f47", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "16a59e0a4b482c4101bf7af382b30ad56765951ae0a362dd422da792e3b35f47", kill_on_drop: false }` [INFO] [stdout] 16a59e0a4b482c4101bf7af382b30ad56765951ae0a362dd422da792e3b35f47 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+0d37dca25a51fb900a402c94c8818ad1c2789e30" "check" "--frozen" "--all" "--all-targets" "--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] 35e4aadb05cc88db7ca3831b5308afe7a2ce4cf2a62f1908a7e37fccf5e733f0 [INFO] running `Command { std: "docker" "start" "-a" "35e4aadb05cc88db7ca3831b5308afe7a2ce4cf2a62f1908a7e37fccf5e733f0", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.74 [INFO] [stderr] Checking either v1.6.0 [INFO] [stderr] Checking allocator-suite v0.1.7 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `std::alloc::AllocErr` [INFO] [stdout] --> src/adaptors/allocator_adaptor.rs:2:18 [INFO] [stdout] | [INFO] [stdout] 2 | use std::alloc::{AllocErr, AllocRef, GlobalAlloc, 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 `std::alloc::AllocErr` [INFO] [stdout] --> src/adaptors/alloc_to_allocator_adaptor.rs:4:18 [INFO] [stdout] | [INFO] [stdout] 4 | use std::alloc::{AllocErr, GlobalAlloc, 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 `std::alloc::AllocErr` [INFO] [stdout] --> src/adaptors/global_alloc_to_allocator_adaptor.rs:3:18 [INFO] [stdout] | [INFO] [stdout] 3 | use std::alloc::{AllocErr, GlobalAlloc, 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 `std::alloc::AllocErr` [INFO] [stdout] --> src/allocators/bit_set/bit_set_allocator.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use std::alloc::AllocErr; [INFO] [stdout] | ^^^^^^^^^^^^-------- [INFO] [stdout] | | | [INFO] [stdout] | | help: a similar name exists in the module: `AllocError` [INFO] [stdout] | no `AllocErr` in `alloc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `std::alloc::AllocErr` [INFO] [stdout] --> src/allocators/allocator.rs:7:18 [INFO] [stdout] | [INFO] [stdout] 7 | use std::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 `std::alloc::AllocErr` [INFO] [stdout] --> src/allocators/bump_allocator.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use std::alloc::AllocErr; [INFO] [stdout] | ^^^^^^^^^^^^-------- [INFO] [stdout] | | | [INFO] [stdout] | | help: a similar name exists in the module: `AllocError` [INFO] [stdout] | no `AllocErr` in `alloc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `std::alloc::AllocErr` [INFO] [stdout] --> src/allocators/context_allocator.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use std::alloc::AllocErr; [INFO] [stdout] | ^^^^^^^^^^^^-------- [INFO] [stdout] | | | [INFO] [stdout] | | help: a similar name exists in the module: `AllocError` [INFO] [stdout] | no `AllocErr` in `alloc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `std::alloc::AllocErr` [INFO] [stdout] --> src/allocators/memory_map_allocator.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::alloc::AllocErr; [INFO] [stdout] | ^^^^^^^^^^^^-------- [INFO] [stdout] | | | [INFO] [stdout] | | help: a similar name exists in the module: `AllocError` [INFO] [stdout] | no `AllocErr` in `alloc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `std::alloc::AllocErr` [INFO] [stdout] --> src/allocators/multiple_binary_search_tree_allocator.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::alloc::AllocErr; [INFO] [stdout] | ^^^^^^^^^^^^-------- [INFO] [stdout] | | | [INFO] [stdout] | | help: a similar name exists in the module: `AllocError` [INFO] [stdout] | no `AllocErr` in `alloc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `std::alloc::AllocErr` [INFO] [stdout] --> src/memory_sources/arena_memory_source/arena_memory_source.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use std::alloc::AllocErr; [INFO] [stdout] | ^^^^^^^^^^^^-------- [INFO] [stdout] | | | [INFO] [stdout] | | help: a similar name exists in the module: `AllocError` [INFO] [stdout] | no `AllocErr` in `alloc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `std::alloc::AllocErr` [INFO] [stdout] --> src/memory_sources/mmap/memory_map_source.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use std::alloc::AllocErr; [INFO] [stdout] | ^^^^^^^^^^^^-------- [INFO] [stdout] | | | [INFO] [stdout] | | help: a similar name exists in the module: `AllocError` [INFO] [stdout] | no `AllocErr` in `alloc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `std::alloc::AllocErr` [INFO] [stdout] --> src/memory_sources/memory_source.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::alloc::AllocErr; [INFO] [stdout] | ^^^^^^^^^^^^-------- [INFO] [stdout] | | | [INFO] [stdout] | | help: a similar name exists in the module: `AllocError` [INFO] [stdout] | no `AllocErr` in `alloc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `std::alloc::AllocErr` [INFO] [stdout] --> src/memory_sources/rc_memory_source.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::alloc::AllocErr; [INFO] [stdout] | ^^^^^^^^^^^^-------- [INFO] [stdout] | | | [INFO] [stdout] | | help: a similar name exists in the module: `AllocError` [INFO] [stdout] | no `AllocErr` in `alloc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `std::alloc::AllocErr` [INFO] [stdout] --> src/adaptors/allocator_adaptor.rs:2:18 [INFO] [stdout] | [INFO] [stdout] 2 | use std::alloc::{AllocErr, AllocRef, GlobalAlloc, 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 `std::alloc::AllocErr` [INFO] [stdout] --> src/adaptors/alloc_to_allocator_adaptor.rs:4:18 [INFO] [stdout] | [INFO] [stdout] 4 | use std::alloc::{AllocErr, GlobalAlloc, 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 `std::alloc::AllocErr` [INFO] [stdout] --> src/adaptors/global_alloc_to_allocator_adaptor.rs:3:18 [INFO] [stdout] | [INFO] [stdout] 3 | use std::alloc::{AllocErr, GlobalAlloc, 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 `std::alloc::AllocErr` [INFO] [stdout] --> src/allocators/bit_set/bit_set_allocator.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use std::alloc::AllocErr; [INFO] [stdout] | ^^^^^^^^^^^^-------- [INFO] [stdout] | | | [INFO] [stdout] | | help: a similar name exists in the module: `AllocError` [INFO] [stdout] | no `AllocErr` in `alloc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `std::alloc::AllocErr` [INFO] [stdout] --> src/allocators/allocator.rs:7:18 [INFO] [stdout] | [INFO] [stdout] 7 | use std::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 `std::alloc::AllocErr` [INFO] [stdout] --> src/allocators/bump_allocator.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use std::alloc::AllocErr; [INFO] [stdout] | ^^^^^^^^^^^^-------- [INFO] [stdout] | | | [INFO] [stdout] | | help: a similar name exists in the module: `AllocError` [INFO] [stdout] | no `AllocErr` in `alloc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `std::alloc::AllocErr` [INFO] [stdout] --> src/allocators/context_allocator.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use std::alloc::AllocErr; [INFO] [stdout] | ^^^^^^^^^^^^-------- [INFO] [stdout] | | | [INFO] [stdout] | | help: a similar name exists in the module: `AllocError` [INFO] [stdout] | no `AllocErr` in `alloc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `std::alloc::AllocErr` [INFO] [stdout] --> src/allocators/memory_map_allocator.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::alloc::AllocErr; [INFO] [stdout] | ^^^^^^^^^^^^-------- [INFO] [stdout] | | | [INFO] [stdout] | | help: a similar name exists in the module: `AllocError` [INFO] [stdout] | no `AllocErr` in `alloc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `std::alloc::AllocErr` [INFO] [stdout] --> src/allocators/multiple_binary_search_tree_allocator.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::alloc::AllocErr; [INFO] [stdout] | ^^^^^^^^^^^^-------- [INFO] [stdout] | | | [INFO] [stdout] | | help: a similar name exists in the module: `AllocError` [INFO] [stdout] | no `AllocErr` in `alloc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `std::alloc::AllocErr` [INFO] [stdout] --> src/memory_sources/arena_memory_source/arena_memory_source.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use std::alloc::AllocErr; [INFO] [stdout] | ^^^^^^^^^^^^-------- [INFO] [stdout] | | | [INFO] [stdout] | | help: a similar name exists in the module: `AllocError` [INFO] [stdout] | no `AllocErr` in `alloc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `std::alloc::AllocErr` [INFO] [stdout] --> src/memory_sources/mmap/memory_map_source.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use std::alloc::AllocErr; [INFO] [stdout] | ^^^^^^^^^^^^-------- [INFO] [stdout] | | | [INFO] [stdout] | | help: a similar name exists in the module: `AllocError` [INFO] [stdout] | no `AllocErr` in `alloc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `std::alloc::AllocErr` [INFO] [stdout] --> src/memory_sources/memory_source.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::alloc::AllocErr; [INFO] [stdout] | ^^^^^^^^^^^^-------- [INFO] [stdout] | | | [INFO] [stdout] | | help: a similar name exists in the module: `AllocError` [INFO] [stdout] | no `AllocErr` in `alloc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `std::alloc::AllocErr` [INFO] [stdout] --> src/memory_sources/rc_memory_source.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::alloc::AllocErr; [INFO] [stdout] | ^^^^^^^^^^^^-------- [INFO] [stdout] | | | [INFO] [stdout] | | help: a similar name exists in the module: `AllocError` [INFO] [stdout] | no `AllocErr` in `alloc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0053]: method `dealloc` has an incompatible type for trait [INFO] [stdout] --> src/adaptors/allocator_adaptor.rs:54:5 [INFO] [stdout] | [INFO] [stdout] 54 | unsafe fn dealloc(&mut self, ptr: MemoryAddress, layout: Layout) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ types differ in mutability [INFO] [stdout] | [INFO] [stdout] = note: expected fn pointer `unsafe fn(&AllocatorAdaptor<'a, A>, NonNull<_>, Layout)` [INFO] [stdout] found fn pointer `unsafe fn(&mut AllocatorAdaptor<'a, A>, NonNull<_>, Layout)` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0053]: method `dealloc` has an incompatible type for trait [INFO] [stdout] --> src/adaptors/allocator_adaptor.rs:54:5 [INFO] [stdout] | [INFO] [stdout] 54 | unsafe fn dealloc(&mut self, ptr: MemoryAddress, layout: Layout) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ types differ in mutability [INFO] [stdout] | [INFO] [stdout] = note: expected fn pointer `unsafe fn(&AllocatorAdaptor<'a, A>, NonNull<_>, Layout)` [INFO] [stdout] found fn pointer `unsafe fn(&mut AllocatorAdaptor<'a, A>, NonNull<_>, Layout)` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::extensions::prelude` [INFO] [stdout] --> src/allocators/allocator.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::extensions::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 14 previous errors; 1 warning emitted [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 `allocator-suite` [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] warning: unused import: `crate::extensions::prelude` [INFO] [stdout] --> src/allocators/allocator.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::extensions::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 14 previous errors; 1 warning emitted [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" "35e4aadb05cc88db7ca3831b5308afe7a2ce4cf2a62f1908a7e37fccf5e733f0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "35e4aadb05cc88db7ca3831b5308afe7a2ce4cf2a62f1908a7e37fccf5e733f0", kill_on_drop: false }` [INFO] [stdout] 35e4aadb05cc88db7ca3831b5308afe7a2ce4cf2a62f1908a7e37fccf5e733f0