[INFO] fetching crate alloc-wg 0.9.0... [INFO] checking alloc-wg-0.9.0 against try#3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f for pr-87248 [INFO] extracting crate alloc-wg 0.9.0 into /workspace/builds/worker-7/source [INFO] validating manifest of crates.io crate alloc-wg 0.9.0 on toolchain 3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate alloc-wg 0.9.0 [INFO] finished tweaking crates.io crate alloc-wg 0.9.0 [INFO] tweaked toml for crates.io crate alloc-wg 0.9.0 written to /workspace/builds/worker-7/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] aba91a324d2eaf2cef85e358da4c6a4f0d76f2351e725316769ae0d9b4b87889 [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" "aba91a324d2eaf2cef85e358da4c6a4f0d76f2351e725316769ae0d9b4b87889", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "aba91a324d2eaf2cef85e358da4c6a4f0d76f2351e725316769ae0d9b4b87889", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "aba91a324d2eaf2cef85e358da4c6a4f0d76f2351e725316769ae0d9b4b87889", kill_on_drop: false }` [INFO] [stdout] aba91a324d2eaf2cef85e358da4c6a4f0d76f2351e725316769ae0d9b4b87889 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "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] 56bc7c32beb528924e2dc2e065a131987729ed3b7a07be871d79d03898d92587 [INFO] running `Command { std: "docker" "start" "-a" "56bc7c32beb528924e2dc2e065a131987729ed3b7a07be871d79d03898d92587", kill_on_drop: false }` [INFO] [stderr] Checking alloc-wg v0.9.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0557]: feature has been removed [INFO] [stdout] --> src/lib.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | const_fn, [INFO] [stdout] | ^^^^^^^^ feature has been removed [INFO] [stdout] | [INFO] [stdout] = note: split into finer-grained feature gates [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0557]: feature has been removed [INFO] [stdout] --> src/lib.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | const_raw_ptr_to_usize_cast, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ feature has been removed [INFO] [stdout] | [INFO] [stdout] = note: at compile-time, pointers do not have an integer value, so these casts cannot be properly supported [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0557]: feature has been removed [INFO] [stdout] --> src/lib.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | const_fn, [INFO] [stdout] | ^^^^^^^^ feature has been removed [INFO] [stdout] | [INFO] [stdout] = note: split into finer-grained feature gates [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0557]: feature has been removed [INFO] [stdout] --> src/lib.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | const_raw_ptr_to_usize_cast, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ feature has been removed [INFO] [stdout] | [INFO] [stdout] = note: at compile-time, pointers do not have an integer value, so these casts cannot be properly supported [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `crate::alloc::AllocErr`, `crate::alloc::AllocInit`, `crate::alloc::AllocRef` [INFO] [stdout] --> src/boxed.rs:82:33 [INFO] [stdout] | [INFO] [stdout] 82 | alloc::{handle_alloc_error, AllocErr, AllocInit, AllocRef, Global, Layout}, [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^ ^^^^^^^^ no `AllocRef` in `alloc` [INFO] [stdout] | | | [INFO] [stdout] | | no `AllocInit` in `alloc` [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 `crate::alloc::AllocRef` [INFO] [stdout] --> src/clone.rs:1:13 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::{alloc::AllocRef, collections::TryReserveError}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ no `AllocRef` in `alloc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::alloc::AllocRef` [INFO] [stdout] --> src/iter.rs:1:13 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::{alloc::AllocRef, collections::TryReserveError}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ no `AllocRef` in `alloc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `crate::alloc::AllocErr`, `crate::alloc::AllocInit`, `crate::alloc::AllocInit`, `crate::alloc::AllocRef`, `crate::alloc::MemoryBlock`, `crate::alloc::ReallocPlacement`, `crate::alloc::ReallocPlacement` [INFO] [stdout] --> src/raw_vec.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 6 | AllocErr, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | no `AllocErr` in `alloc` [INFO] [stdout] | help: a similar name exists in the module: `AllocError` [INFO] [stdout] 7 | AllocInit::{self, Uninitialized, Zeroed}, [INFO] [stdout] | ^^^^^^^^^ ^^^^ no `AllocInit` in `alloc` [INFO] [stdout] | | [INFO] [stdout] | could not find `AllocInit` in `alloc` [INFO] [stdout] 8 | AllocRef, [INFO] [stdout] | ^^^^^^^^ no `AllocRef` in `alloc` [INFO] [stdout] ... [INFO] [stdout] 11 | MemoryBlock, [INFO] [stdout] | ^^^^^^^^^^^ no `MemoryBlock` in `alloc` [INFO] [stdout] 12 | ReallocPlacement::{self, InPlace, MayMove}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ ^^^^ no `ReallocPlacement` in `alloc` [INFO] [stdout] | | [INFO] [stdout] | could not find `ReallocPlacement` in `alloc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::alloc::AllocRef` [INFO] [stdout] --> src/str/mod.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 31 | alloc::AllocRef, [INFO] [stdout] | ^^^^^^^^^^^^^^^ no `AllocRef` in `alloc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::alloc::AllocRef` [INFO] [stdout] --> src/string.rs:55:13 [INFO] [stdout] | [INFO] [stdout] 55 | alloc::{AllocRef, Global}, [INFO] [stdout] | ^^^^^^^^ no `AllocRef` in `alloc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `crate::alloc::AllocErr`, `crate::alloc::AllocInit`, `crate::alloc::AllocRef` [INFO] [stdout] --> src/boxed.rs:82:33 [INFO] [stdout] | [INFO] [stdout] 82 | alloc::{handle_alloc_error, AllocErr, AllocInit, AllocRef, Global, Layout}, [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^ ^^^^^^^^ no `AllocRef` in `alloc` [INFO] [stdout] | | | [INFO] [stdout] | | no `AllocInit` in `alloc` [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 `crate::alloc::AllocRef` [INFO] [stdout] --> src/string.rs:2140:9 [INFO] [stdout] | [INFO] [stdout] 2140 | use crate::alloc::AllocRef; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ no `AllocRef` in `alloc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::alloc::AllocRef` [INFO] [stdout] --> src/vec.rs:72:33 [INFO] [stdout] | [INFO] [stdout] 72 | alloc::{handle_alloc_error, AllocRef, Global}, [INFO] [stdout] | ^^^^^^^^ no `AllocRef` in `alloc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::alloc::AllocRef` [INFO] [stdout] --> src/clone.rs:1:13 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::{alloc::AllocRef, collections::TryReserveError}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ no `AllocRef` in `alloc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::alloc::AllocRef` [INFO] [stdout] --> src/iter.rs:1:13 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::{alloc::AllocRef, collections::TryReserveError}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ no `AllocRef` in `alloc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `crate::alloc::AllocErr`, `crate::alloc::AllocInit`, `crate::alloc::AllocInit`, `crate::alloc::AllocRef`, `crate::alloc::MemoryBlock`, `crate::alloc::ReallocPlacement`, `crate::alloc::ReallocPlacement` [INFO] [stdout] --> src/raw_vec.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 6 | AllocErr, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | no `AllocErr` in `alloc` [INFO] [stdout] | help: a similar name exists in the module: `AllocError` [INFO] [stdout] 7 | AllocInit::{self, Uninitialized, Zeroed}, [INFO] [stdout] | ^^^^^^^^^ ^^^^ no `AllocInit` in `alloc` [INFO] [stdout] | | [INFO] [stdout] | could not find `AllocInit` in `alloc` [INFO] [stdout] 8 | AllocRef, [INFO] [stdout] | ^^^^^^^^ no `AllocRef` in `alloc` [INFO] [stdout] ... [INFO] [stdout] 11 | MemoryBlock, [INFO] [stdout] | ^^^^^^^^^^^ no `MemoryBlock` in `alloc` [INFO] [stdout] 12 | ReallocPlacement::{self, InPlace, MayMove}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ ^^^^ no `ReallocPlacement` in `alloc` [INFO] [stdout] | | [INFO] [stdout] | could not find `ReallocPlacement` in `alloc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::alloc::AllocRef` [INFO] [stdout] --> src/str/mod.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 31 | alloc::AllocRef, [INFO] [stdout] | ^^^^^^^^^^^^^^^ no `AllocRef` in `alloc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::alloc::AllocRef` [INFO] [stdout] --> src/string.rs:55:13 [INFO] [stdout] | [INFO] [stdout] 55 | alloc::{AllocRef, Global}, [INFO] [stdout] | ^^^^^^^^ no `AllocRef` in `alloc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::alloc::AllocRef` [INFO] [stdout] --> src/string.rs:2140:9 [INFO] [stdout] | [INFO] [stdout] 2140 | use crate::alloc::AllocRef; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ no `AllocRef` in `alloc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::alloc::AllocRef` [INFO] [stdout] --> src/vec.rs:72:33 [INFO] [stdout] | [INFO] [stdout] 72 | alloc::{handle_alloc_error, AllocRef, Global}, [INFO] [stdout] | ^^^^^^^^ no `AllocRef` in `alloc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `LengthAtMost32` in module `core::array` [INFO] [stdout] --> src/boxed.rs:1035:26 [INFO] [stdout] | [INFO] [stdout] 1035 | [T; N]: core::array::LengthAtMost32, [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in `core::array` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `LengthAtMost32` in module `core::array` [INFO] [stdout] --> src/boxed.rs:1035:26 [INFO] [stdout] | [INFO] [stdout] 1035 | [T; N]: core::array::LengthAtMost32, [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in `core::array` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `LengthAtMost32` in module `core::array` [INFO] [stdout] --> src/vec.rs:2635:81 [INFO] [stdout] | [INFO] [stdout] 2635 | __impl_slice_eq1! { [A, const N: usize] Vec, [U; N], [U; N]: core::array::LengthAtMost32, A: AllocRef } [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in `core::array` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `LengthAtMost32` in module `core::array` [INFO] [stdout] --> src/vec.rs:2635:81 [INFO] [stdout] | [INFO] [stdout] 2635 | __impl_slice_eq1! { [A, const N: usize] Vec, [U; N], [U; N]: core::array::LengthAtMost32, A: AllocRef } [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in `core::array` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `LengthAtMost32` in module `core::array` [INFO] [stdout] --> src/vec.rs:2636:82 [INFO] [stdout] | [INFO] [stdout] 2636 | __impl_slice_eq1! { [A, const N: usize] Vec, &[U; N], [U; N]: core::array::LengthAtMost32, A: AllocRef } [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in `core::array` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `LengthAtMost32` in module `core::array` [INFO] [stdout] --> src/vec.rs:2636:82 [INFO] [stdout] | [INFO] [stdout] 2636 | __impl_slice_eq1! { [A, const N: usize] Vec, &[U; N], [U; N]: core::array::LengthAtMost32, A: AllocRef } [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in `core::array` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `std::alloc::LayoutErr`: Name does not follow std convention, use LayoutError [INFO] [stdout] --> src/collections.rs:3:28 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::alloc::{Layout, LayoutErr}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `std::alloc::LayoutErr`: Name does not follow std convention, use LayoutError [INFO] [stdout] --> src/collections.rs:31:11 [INFO] [stdout] | [INFO] [stdout] 31 | impl From for TryReserveError { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `std::alloc::LayoutErr`: Name does not follow std convention, use LayoutError [INFO] [stdout] --> src/collections.rs:33:16 [INFO] [stdout] | [INFO] [stdout] 33 | fn from(_: LayoutErr) -> Self { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `std::alloc::LayoutErr`: Name does not follow std convention, use LayoutError [INFO] [stdout] --> src/collections.rs:3:28 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::alloc::{Layout, LayoutErr}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `std::alloc::LayoutErr`: Name does not follow std convention, use LayoutError [INFO] [stdout] --> src/collections.rs:31:11 [INFO] [stdout] | [INFO] [stdout] 31 | impl From for TryReserveError { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `std::alloc::LayoutErr`: Name does not follow std convention, use LayoutError [INFO] [stdout] --> src/collections.rs:33:16 [INFO] [stdout] | [INFO] [stdout] 33 | fn from(_: LayoutErr) -> Self { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 13 previous errors; 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0405, E0432, E0557. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0405`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 13 previous errors; 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0405, E0432, E0557. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0405`. [INFO] [stdout] [INFO] [stderr] error: could not compile `alloc-wg` due to 14 previous errors; 3 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "56bc7c32beb528924e2dc2e065a131987729ed3b7a07be871d79d03898d92587", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "56bc7c32beb528924e2dc2e065a131987729ed3b7a07be871d79d03898d92587", kill_on_drop: false }` [INFO] [stdout] 56bc7c32beb528924e2dc2e065a131987729ed3b7a07be871d79d03898d92587