[INFO] fetching crate thin 0.2.0... [INFO] checking thin-0.2.0 against master#3aedcf06b73fc36feeebca3d579e1d2a6c40acc5 for pr-65819 [INFO] extracting crate thin 0.2.0 into /workspace/builds/worker-14/source [INFO] validating manifest of crates.io crate thin 0.2.0 on toolchain 3aedcf06b73fc36feeebca3d579e1d2a6c40acc5 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3aedcf06b73fc36feeebca3d579e1d2a6c40acc5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", 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-14/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3aedcf06b73fc36feeebca3d579e1d2a6c40acc5" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3aedcf06b73fc36feeebca3d579e1d2a6c40acc5" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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:c46a2d1a26fb48b37929c74ca49dd9409f2375a0a3bdb8fe07617f3ffccaa889" "/opt/rustwide/cargo-home/bin/cargo" "+3aedcf06b73fc36feeebca3d579e1d2a6c40acc5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0feb10cab2c9dd18a9ffad28bd4fba2950d09c0fa430b445869bde5bab23a75a [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" "0feb10cab2c9dd18a9ffad28bd4fba2950d09c0fa430b445869bde5bab23a75a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0feb10cab2c9dd18a9ffad28bd4fba2950d09c0fa430b445869bde5bab23a75a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0feb10cab2c9dd18a9ffad28bd4fba2950d09c0fa430b445869bde5bab23a75a", kill_on_drop: false }` [INFO] [stdout] 0feb10cab2c9dd18a9ffad28bd4fba2950d09c0fa430b445869bde5bab23a75a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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:c46a2d1a26fb48b37929c74ca49dd9409f2375a0a3bdb8fe07617f3ffccaa889" "/opt/rustwide/cargo-home/bin/cargo" "+3aedcf06b73fc36feeebca3d579e1d2a6c40acc5" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f78dc14b499daa604ec0a9adc9a22dfabe21e862db6028935ee43d1d8f43457a [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" "f78dc14b499daa604ec0a9adc9a22dfabe21e862db6028935ee43d1d8f43457a", 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] 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] 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[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: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[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: 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: 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] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "f78dc14b499daa604ec0a9adc9a22dfabe21e862db6028935ee43d1d8f43457a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f78dc14b499daa604ec0a9adc9a22dfabe21e862db6028935ee43d1d8f43457a", kill_on_drop: false }` [INFO] [stdout] f78dc14b499daa604ec0a9adc9a22dfabe21e862db6028935ee43d1d8f43457a