[INFO] fetching crate allocators 0.1.9... [INFO] checking allocators-0.1.9 against try#3e22d1f9053c0fc87629b3c6d5d9567856368e5d for pr-78714 [INFO] extracting crate allocators 0.1.9 into /workspace/builds/worker-6/source [INFO] validating manifest of crates.io crate allocators 0.1.9 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 allocators 0.1.9 [INFO] finished tweaking crates.io crate allocators 0.1.9 [INFO] tweaked toml for crates.io crate allocators 0.1.9 written to /workspace/builds/worker-6/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-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" "+3e22d1f9053c0fc87629b3c6d5d9567856368e5d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 350ae6587ca9dd25a9c986c020c4b72acb84fb53a885fdea48cb0d69c96ea12d [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" "350ae6587ca9dd25a9c986c020c4b72acb84fb53a885fdea48cb0d69c96ea12d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "350ae6587ca9dd25a9c986c020c4b72acb84fb53a885fdea48cb0d69c96ea12d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "350ae6587ca9dd25a9c986c020c4b72acb84fb53a885fdea48cb0d69c96ea12d", kill_on_drop: false }` [INFO] [stdout] 350ae6587ca9dd25a9c986c020c4b72acb84fb53a885fdea48cb0d69c96ea12d [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" "+3e22d1f9053c0fc87629b3c6d5d9567856368e5d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 21e51d75abf72b5e5d07cdae7121633b3172a8bf88218cb806a2ca48665ba9a8 [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" "21e51d75abf72b5e5d07cdae7121633b3172a8bf88218cb806a2ca48665ba9a8", kill_on_drop: false }` [INFO] [stderr] Checking allocators v0.1.9 (/opt/rustwide/workdir) [INFO] [stdout] error: expected expression, found keyword `in` [INFO] [stdout] --> src/lib.rs:88:20 [INFO] [stdout] | [INFO] [stdout] 88 | Ok(in place { val }) [INFO] [stdout] | ^^ expected expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected expression, found keyword `in` [INFO] [stdout] --> src/lib.rs:376:19 [INFO] [stdout] | [INFO] [stdout] 376 | let big = in HEAP.make_place().unwrap() { [0u8; 8_000_000] }; [INFO] [stdout] | ^^ expected expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected expression, found keyword `in` [INFO] [stdout] --> src/scoped.rs:218:20 [INFO] [stdout] | [INFO] [stdout] 218 | let _big = in alloc.make_place().unwrap() { [0u8; 8_000_000] }; [INFO] [stdout] | ^^ expected expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `alloc::heap` [INFO] [stdout] --> src/lib.rs:57:5 [INFO] [stdout] | [INFO] [stdout] 57 | use alloc::heap; [INFO] [stdout] | ^^^^^^^^^^^ no `heap` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `std::ops::InPlace`, `std::ops::Placer` [INFO] [stdout] --> src/boxed.rs:5:48 [INFO] [stdout] | [INFO] [stdout] 5 | use std::ops::{CoerceUnsized, Deref, DerefMut, InPlace, Placer}; [INFO] [stdout] | ^^^^^^^ ^^^^^^ no `Placer` in `ops` [INFO] [stdout] | | [INFO] [stdout] | no `InPlace` in `ops` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `std::ops::Place` [INFO] [stdout] --> src/boxed.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::ops::Place as StdPlace; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ no `Place` in `ops` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected expression, found keyword `in` [INFO] [stdout] --> src/lib.rs:88:20 [INFO] [stdout] | [INFO] [stdout] 88 | Ok(in place { val }) [INFO] [stdout] | ^^ expected expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected expression, found keyword `in` [INFO] [stdout] --> src/lib.rs:376:19 [INFO] [stdout] | [INFO] [stdout] 376 | let big = in HEAP.make_place().unwrap() { [0u8; 8_000_000] }; [INFO] [stdout] | ^^ expected expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Error` [INFO] [stdout] --> src/boxed.rs:9:24 [INFO] [stdout] | [INFO] [stdout] 9 | use super::{Allocator, Error, Block}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/boxed.rs:51:46 [INFO] [stdout] | [INFO] [stdout] 51 | impl<'a, A: ?Sized + Allocator> AllocBox<'a, Any, A> { [INFO] [stdout] | ^^^ help: use `dyn`: `dyn Any` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/boxed.rs:53:78 [INFO] [stdout] | [INFO] [stdout] 53 | pub fn downcast(self) -> Result, AllocBox<'a, Any, A>> { [INFO] [stdout] | ^^^ help: use `dyn`: `dyn Any` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/boxed.rs:56:67 [INFO] [stdout] | [INFO] [stdout] 56 | let obj: TraitObject = unsafe { mem::transmute::<*mut Any, TraitObject>(*self.item) }; [INFO] [stdout] | ^^^ help: use `dyn`: `dyn Any` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected expression, found keyword `in` [INFO] [stdout] --> src/scoped.rs:218:20 [INFO] [stdout] | [INFO] [stdout] 218 | let _big = in alloc.make_place().unwrap() { [0u8; 8_000_000] }; [INFO] [stdout] | ^^ expected expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'ptr_internals': use `NonNull` instead and consider `PhantomData` (if you also use `#[may_dangle]`), `Send`, and/or `Sync` [INFO] [stdout] --> src/lib.rs:55:5 [INFO] [stdout] | [INFO] [stdout] 55 | use std::ptr::Unique; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: add `#![feature(ptr_internals)]` to the crate attributes to enable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'ptr_internals': use `NonNull` instead and consider `PhantomData` (if you also use `#[may_dangle]`), `Send`, and/or `Sync` [INFO] [stdout] --> src/lib.rs:170:10 [INFO] [stdout] | [INFO] [stdout] 170 | ptr: Unique, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: add `#![feature(ptr_internals)]` to the crate attributes to enable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'ptr_internals': use `NonNull` instead and consider `PhantomData` (if you also use `#[may_dangle]`), `Send`, and/or `Sync` [INFO] [stdout] --> src/lib.rs:185:27 [INFO] [stdout] | [INFO] [stdout] 185 | ptr: unsafe { Unique::new(ptr) }, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: add `#![feature(ptr_internals)]` to the crate attributes to enable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'ptr_internals': use `NonNull` instead and consider `PhantomData` (if you also use `#[may_dangle]`), `Send`, and/or `Sync` [INFO] [stdout] --> src/lib.rs:195:27 [INFO] [stdout] | [INFO] [stdout] 195 | ptr: unsafe { Unique::new(heap::EMPTY as *mut u8) }, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: add `#![feature(ptr_internals)]` to the crate attributes to enable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 10 previous errors; 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0658. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `allocators` [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[E0432]: unresolved import `alloc::heap` [INFO] [stdout] --> src/lib.rs:57:5 [INFO] [stdout] | [INFO] [stdout] 57 | use alloc::heap; [INFO] [stdout] | ^^^^^^^^^^^ no `heap` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `std::ops::InPlace`, `std::ops::Placer` [INFO] [stdout] --> src/boxed.rs:5:48 [INFO] [stdout] | [INFO] [stdout] 5 | use std::ops::{CoerceUnsized, Deref, DerefMut, InPlace, Placer}; [INFO] [stdout] | ^^^^^^^ ^^^^^^ no `Placer` in `ops` [INFO] [stdout] | | [INFO] [stdout] | no `InPlace` in `ops` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `std::ops::Place` [INFO] [stdout] --> src/boxed.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::ops::Place as StdPlace; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ no `Place` in `ops` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Error` [INFO] [stdout] --> src/boxed.rs:9:24 [INFO] [stdout] | [INFO] [stdout] 9 | use super::{Allocator, Error, Block}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/boxed.rs:51:46 [INFO] [stdout] | [INFO] [stdout] 51 | impl<'a, A: ?Sized + Allocator> AllocBox<'a, Any, A> { [INFO] [stdout] | ^^^ help: use `dyn`: `dyn Any` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/boxed.rs:53:78 [INFO] [stdout] | [INFO] [stdout] 53 | pub fn downcast(self) -> Result, AllocBox<'a, Any, A>> { [INFO] [stdout] | ^^^ help: use `dyn`: `dyn Any` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/boxed.rs:56:67 [INFO] [stdout] | [INFO] [stdout] 56 | let obj: TraitObject = unsafe { mem::transmute::<*mut Any, TraitObject>(*self.item) }; [INFO] [stdout] | ^^^ help: use `dyn`: `dyn Any` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:390:30 [INFO] [stdout] | [INFO] [stdout] 390 | let my_foo: AllocBox = HEAP.allocate(Bomb).unwrap(); [INFO] [stdout] | ^^^ help: use `dyn`: `dyn Any` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:410:24 [INFO] [stdout] | [INFO] [stdout] 410 | let alloc: Box = Box::new(HEAP); [INFO] [stdout] | ^^^^^^^^^ help: use `dyn`: `dyn Allocator` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'ptr_internals': use `NonNull` instead and consider `PhantomData` (if you also use `#[may_dangle]`), `Send`, and/or `Sync` [INFO] [stdout] --> src/lib.rs:55:5 [INFO] [stdout] | [INFO] [stdout] 55 | use std::ptr::Unique; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: add `#![feature(ptr_internals)]` to the crate attributes to enable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'ptr_internals': use `NonNull` instead and consider `PhantomData` (if you also use `#[may_dangle]`), `Send`, and/or `Sync` [INFO] [stdout] --> src/lib.rs:170:10 [INFO] [stdout] | [INFO] [stdout] 170 | ptr: Unique, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: add `#![feature(ptr_internals)]` to the crate attributes to enable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'ptr_internals': use `NonNull` instead and consider `PhantomData` (if you also use `#[may_dangle]`), `Send`, and/or `Sync` [INFO] [stdout] --> src/lib.rs:185:27 [INFO] [stdout] | [INFO] [stdout] 185 | ptr: unsafe { Unique::new(ptr) }, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: add `#![feature(ptr_internals)]` to the crate attributes to enable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'ptr_internals': use `NonNull` instead and consider `PhantomData` (if you also use `#[may_dangle]`), `Send`, and/or `Sync` [INFO] [stdout] --> src/lib.rs:195:27 [INFO] [stdout] | [INFO] [stdout] 195 | ptr: unsafe { Unique::new(heap::EMPTY as *mut u8) }, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: add `#![feature(ptr_internals)]` to the crate attributes to enable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 10 previous errors; 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0658. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "21e51d75abf72b5e5d07cdae7121633b3172a8bf88218cb806a2ca48665ba9a8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "21e51d75abf72b5e5d07cdae7121633b3172a8bf88218cb806a2ca48665ba9a8", kill_on_drop: false }` [INFO] [stdout] 21e51d75abf72b5e5d07cdae7121633b3172a8bf88218cb806a2ca48665ba9a8