[INFO] fetching crate allocators 0.1.9... [INFO] checking allocators-0.1.9 against beta for pr-78714 [INFO] extracting crate allocators 0.1.9 into /workspace/builds/worker-1/source [INFO] validating manifest of crates.io crate allocators 0.1.9 on toolchain beta [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta" "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-1/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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" "+beta" "metadata" "--no-deps" "--format-version=1", 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] b688d3ad9860d2212abdada66fe1b4d4b0ffe7fa8cf15ed529e056d0be25e91c [INFO] running `Command { std: "docker" "start" "-a" "b688d3ad9860d2212abdada66fe1b4d4b0ffe7fa8cf15ed529e056d0be25e91c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b688d3ad9860d2212abdada66fe1b4d4b0ffe7fa8cf15ed529e056d0be25e91c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b688d3ad9860d2212abdada66fe1b4d4b0ffe7fa8cf15ed529e056d0be25e91c", kill_on_drop: false }` [INFO] [stdout] b688d3ad9860d2212abdada66fe1b4d4b0ffe7fa8cf15ed529e056d0be25e91c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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" "+beta" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a12d340e6d0fa4da9939a8f9f6289b5cf6f5bd14d1824af55aab8aca7c18f2c3 [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" "a12d340e6d0fa4da9939a8f9f6289b5cf6f5bd14d1824af55aab8aca7c18f2c3", 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] 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[E0554]: `#![feature]` may not be used on the beta release channel [INFO] [stdout] --> src/lib.rs:40:1 [INFO] [stdout] | [INFO] [stdout] 40 | / #![feature( [INFO] [stdout] 41 | | alloc, [INFO] [stdout] 42 | | coerce_unsized, [INFO] [stdout] 43 | | drop_in_place, [INFO] [stdout] ... | [INFO] [stdout] 49 | | unsize, [INFO] [stdout] 50 | | )] [INFO] [stdout] | |__^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0554]: `#![feature]` may not be used on the beta release channel [INFO] [stdout] --> src/lib.rs:40:1 [INFO] [stdout] | [INFO] [stdout] 40 | / #![feature( [INFO] [stdout] 41 | | alloc, [INFO] [stdout] 42 | | coerce_unsized, [INFO] [stdout] 43 | | drop_in_place, [INFO] [stdout] ... | [INFO] [stdout] 49 | | unsize, [INFO] [stdout] 50 | | )] [INFO] [stdout] | |__^ [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: 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: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/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] [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] [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] [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] [INFO] [stdout] error: aborting due to 11 previous errors; 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0554, E0658. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [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] [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] [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[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] [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] [INFO] [stdout] error: aborting due to 11 previous errors; 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0554, 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" "a12d340e6d0fa4da9939a8f9f6289b5cf6f5bd14d1824af55aab8aca7c18f2c3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a12d340e6d0fa4da9939a8f9f6289b5cf6f5bd14d1824af55aab8aca7c18f2c3", kill_on_drop: false }` [INFO] [stdout] a12d340e6d0fa4da9939a8f9f6289b5cf6f5bd14d1824af55aab8aca7c18f2c3