[INFO] fetching crate allocators 0.1.9... [INFO] checking allocators-0.1.9 against try#8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 for pr-82565 [INFO] extracting crate allocators 0.1.9 into /workspace/builds/worker-7/source [INFO] validating manifest of crates.io crate allocators 0.1.9 on toolchain 8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", 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-7/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "fetch" "--locked" "--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" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1b34e73bddc29f1d7099e96f7809cdf5ba05e2c1ffe2fbe7599927aafaf67d23 [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" "1b34e73bddc29f1d7099e96f7809cdf5ba05e2c1ffe2fbe7599927aafaf67d23", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1b34e73bddc29f1d7099e96f7809cdf5ba05e2c1ffe2fbe7599927aafaf67d23", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1b34e73bddc29f1d7099e96f7809cdf5ba05e2c1ffe2fbe7599927aafaf67d23", kill_on_drop: false }` [INFO] [stdout] 1b34e73bddc29f1d7099e96f7809cdf5ba05e2c1ffe2fbe7599927aafaf67d23 [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" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 52befe6aaace446210dd2f515605a9fd289e629705d1c74be502cc16137902a5 [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" "52befe6aaace446210dd2f515605a9fd289e629705d1c74be502cc16137902a5", 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/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: 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] 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[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[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] [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] [stderr] error: could not compile `allocators` [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] [stderr] [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] [stderr] To learn more, run the command again with --verbose. [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] [stderr] warning: build failed, waiting for other jobs to finish... [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" "52befe6aaace446210dd2f515605a9fd289e629705d1c74be502cc16137902a5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "52befe6aaace446210dd2f515605a9fd289e629705d1c74be502cc16137902a5", kill_on_drop: false }` [INFO] [stdout] 52befe6aaace446210dd2f515605a9fd289e629705d1c74be502cc16137902a5