[INFO] fetching crate allocator-suite 0.1.7... [INFO] testing allocator-suite-0.1.7 against try#eafdee2dfae8c2233b74f98b123308be7ccefcc6 for pr-79296 [INFO] extracting crate allocator-suite 0.1.7 into /workspace/builds/worker-12/source [INFO] validating manifest of crates.io crate allocator-suite 0.1.7 on toolchain eafdee2dfae8c2233b74f98b123308be7ccefcc6 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+eafdee2dfae8c2233b74f98b123308be7ccefcc6" "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-12/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" "+eafdee2dfae8c2233b74f98b123308be7ccefcc6" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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" "+eafdee2dfae8c2233b74f98b123308be7ccefcc6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 464d47849d270b9105219b1b9d253353fef39088a9a3eec3f5e6a2a97ffe6b91 [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" "464d47849d270b9105219b1b9d253353fef39088a9a3eec3f5e6a2a97ffe6b91", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "464d47849d270b9105219b1b9d253353fef39088a9a3eec3f5e6a2a97ffe6b91", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "464d47849d270b9105219b1b9d253353fef39088a9a3eec3f5e6a2a97ffe6b91", kill_on_drop: false }` [INFO] [stdout] 464d47849d270b9105219b1b9d253353fef39088a9a3eec3f5e6a2a97ffe6b91 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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" "+eafdee2dfae8c2233b74f98b123308be7ccefcc6" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9f0022f3bdafafed5bbcf6cd1f859b5ea66fecddc8ef6e777c945f9c72c2de1c [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" "9f0022f3bdafafed5bbcf6cd1f859b5ea66fecddc8ef6e777c945f9c72c2de1c", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.74 [INFO] [stderr] Compiling either v1.6.0 [INFO] [stderr] Compiling 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[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] running `Command { std: "docker" "inspect" "9f0022f3bdafafed5bbcf6cd1f859b5ea66fecddc8ef6e777c945f9c72c2de1c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9f0022f3bdafafed5bbcf6cd1f859b5ea66fecddc8ef6e777c945f9c72c2de1c", kill_on_drop: false }` [INFO] [stdout] 9f0022f3bdafafed5bbcf6cd1f859b5ea66fecddc8ef6e777c945f9c72c2de1c