[INFO] fetching crate thin 0.2.0... [INFO] checking thin-0.2.0 against master#a609fb45efad59dfd459c76e50899be9f0583b5a for pr-80579 [INFO] extracting crate thin 0.2.0 into /workspace/builds/worker-9/source [INFO] validating manifest of crates.io crate thin 0.2.0 on toolchain a609fb45efad59dfd459c76e50899be9f0583b5a [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking crates.io crate thin 0.2.0 [INFO] finished tweaking crates.io crate thin 0.2.0 [INFO] tweaked toml for crates.io crate thin 0.2.0 written to /workspace/builds/worker-9/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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:c8ac004eab7d63a0ad09a2dde3d3353ba464f767bee4de425dc8f74c46a1905e" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c0e24431d1a0216195343f724c52831d401ef3d8e74a67ee507f1ffa46f4e6af [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" "c0e24431d1a0216195343f724c52831d401ef3d8e74a67ee507f1ffa46f4e6af", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c0e24431d1a0216195343f724c52831d401ef3d8e74a67ee507f1ffa46f4e6af", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c0e24431d1a0216195343f724c52831d401ef3d8e74a67ee507f1ffa46f4e6af", kill_on_drop: false }` [INFO] [stdout] c0e24431d1a0216195343f724c52831d401ef3d8e74a67ee507f1ffa46f4e6af [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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:c8ac004eab7d63a0ad09a2dde3d3353ba464f767bee4de425dc8f74c46a1905e" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f36db0bc37de8b05f612467353c8aca244d6dfc223b172cded84f0a415cacb8a [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" "f36db0bc37de8b05f612467353c8aca244d6dfc223b172cded84f0a415cacb8a", kill_on_drop: false }` [INFO] [stderr] Checking fn_move v0.1.0 [INFO] [stderr] Checking dyn_sized v0.2.0 [INFO] [stderr] Checking thin v0.2.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `alloc::heap` [INFO] [stdout] --> src/boxed.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | use alloc::heap::{Heap, Alloc, Layout}; [INFO] [stdout] | ^^^^ could not find `heap` in `alloc` [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/boxed.rs:6:22 [INFO] [stdout] | [INFO] [stdout] 6 | use std::ptr::{self, 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/boxed.rs:17:18 [INFO] [stdout] | [INFO] [stdout] 17 | backend_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/boxed.rs:189:9 [INFO] [stdout] | [INFO] [stdout] 189 | Unique::<()>::empty().as_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/boxed.rs:49:35 [INFO] [stdout] | [INFO] [stdout] 49 | backend_ptr: unsafe { Unique::new_unchecked(backend_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/boxed.rs:97:13 [INFO] [stdout] | [INFO] [stdout] 97 | Unique::<()>::empty().as_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/boxed.rs:116:26 [INFO] [stdout] | [INFO] [stdout] 116 | backend_ptr: Unique::new(backend_ptr as *mut ()).unwrap(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: add `#![feature(ptr_internals)]` to the crate attributes to enable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `alloc::heap` [INFO] [stdout] --> src/boxed.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | use alloc::heap::{Heap, Alloc, Layout}; [INFO] [stdout] | ^^^^ could not find `heap` in `alloc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/boxed.rs:225:46 [INFO] [stdout] | [INFO] [stdout] 225 | let bx = Box::new(WrapSized(Foo)) as Box; [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:242:22 [INFO] [stdout] | [INFO] [stdout] 242 | derive_DynSized!(Foo); [INFO] [stdout] | ^^^ help: use `dyn`: `dyn Foo` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/boxed.rs:244:36 [INFO] [stdout] | [INFO] [stdout] 244 | assert!(mem::size_of::>() < mem::size_of::>()); [INFO] [stdout] | ^^^ help: use `dyn`: `dyn Foo` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/boxed.rs:244:65 [INFO] [stdout] | [INFO] [stdout] 244 | assert!(mem::size_of::>() < mem::size_of::>()); [INFO] [stdout] | ^^^ help: use `dyn`: `dyn Foo` [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/boxed.rs:6:22 [INFO] [stdout] | [INFO] [stdout] 6 | use std::ptr::{self, 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/boxed.rs:17:18 [INFO] [stdout] | [INFO] [stdout] 17 | backend_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/boxed.rs:189:9 [INFO] [stdout] | [INFO] [stdout] 189 | Unique::<()>::empty().as_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/boxed.rs:49:35 [INFO] [stdout] | [INFO] [stdout] 49 | backend_ptr: unsafe { Unique::new_unchecked(backend_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/boxed.rs:97:13 [INFO] [stdout] | [INFO] [stdout] 97 | Unique::<()>::empty().as_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/boxed.rs:116:26 [INFO] [stdout] | [INFO] [stdout] 116 | backend_ptr: Unique::new(backend_ptr as *mut ()).unwrap(), [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' [INFO] [stdout] --> src/boxed.rs:49:35 [INFO] [stdout] | [INFO] [stdout] 49 | backend_ptr: unsafe { Unique::new_unchecked(backend_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' [INFO] [stdout] --> src/boxed.rs:56:94 [INFO] [stdout] | [INFO] [stdout] 56 | let ptr: *mut ThinBackend = ThinBackend::fat_from_thin_mut(self.backend_ptr.as_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' [INFO] [stdout] --> src/boxed.rs:74:75 [INFO] [stdout] | [INFO] [stdout] 74 | let backend_fat = ThinBackend::fat_from_thin(self.backend_ptr.as_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' [INFO] [stdout] --> src/boxed.rs:81:79 [INFO] [stdout] | [INFO] [stdout] 81 | let backend_fat = ThinBackend::fat_from_thin_mut(self.backend_ptr.as_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' [INFO] [stdout] --> src/boxed.rs:49:35 [INFO] [stdout] | [INFO] [stdout] 49 | backend_ptr: unsafe { Unique::new_unchecked(backend_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' [INFO] [stdout] --> src/boxed.rs:56:94 [INFO] [stdout] | [INFO] [stdout] 56 | let ptr: *mut ThinBackend = ThinBackend::fat_from_thin_mut(self.backend_ptr.as_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' [INFO] [stdout] --> src/boxed.rs:74:75 [INFO] [stdout] | [INFO] [stdout] 74 | let backend_fat = ThinBackend::fat_from_thin(self.backend_ptr.as_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' [INFO] [stdout] --> src/boxed.rs:81:79 [INFO] [stdout] | [INFO] [stdout] 81 | let backend_fat = ThinBackend::fat_from_thin_mut(self.backend_ptr.as_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[E0599]: no function or associated item named `empty` found for struct `Unique<()>` in the current scope [INFO] [stdout] --> src/boxed.rs:97:27 [INFO] [stdout] | [INFO] [stdout] 97 | Unique::<()>::empty().as_ptr() [INFO] [stdout] | ^^^^^ function or associated item not found in `Unique<()>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'ptr_internals' [INFO] [stdout] --> src/boxed.rs:116:26 [INFO] [stdout] | [INFO] [stdout] 116 | backend_ptr: Unique::new(backend_ptr as *mut ()).unwrap(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: add `#![feature(ptr_internals)]` to the crate attributes to enable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `empty` found for struct `Unique<()>` in the current scope [INFO] [stdout] --> src/boxed.rs:189:23 [INFO] [stdout] | [INFO] [stdout] 189 | Unique::<()>::empty().as_ptr() [INFO] [stdout] | ^^^^^ function or associated item not found in `Unique<()>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 14 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0599, E0658. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `empty` found for struct `Unique<()>` in the current scope [INFO] [stdout] --> src/boxed.rs:97:27 [INFO] [stdout] | [INFO] [stdout] 97 | Unique::<()>::empty().as_ptr() [INFO] [stdout] | ^^^^^ function or associated item not found in `Unique<()>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'ptr_internals' [INFO] [stdout] --> src/boxed.rs:116:26 [INFO] [stdout] | [INFO] [stdout] 116 | backend_ptr: Unique::new(backend_ptr as *mut ()).unwrap(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: add `#![feature(ptr_internals)]` to the crate attributes to enable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `empty` found for struct `Unique<()>` in the current scope [INFO] [stdout] --> src/boxed.rs:189:23 [INFO] [stdout] | [INFO] [stdout] 189 | Unique::<()>::empty().as_ptr() [INFO] [stdout] | ^^^^^ function or associated item not found in `Unique<()>` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `thin` [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: aborting due to 14 previous errors; 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0599, 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" "f36db0bc37de8b05f612467353c8aca244d6dfc223b172cded84f0a415cacb8a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f36db0bc37de8b05f612467353c8aca244d6dfc223b172cded84f0a415cacb8a", kill_on_drop: false }` [INFO] [stdout] f36db0bc37de8b05f612467353c8aca244d6dfc223b172cded84f0a415cacb8a