[INFO] fetching crate thin 0.2.0... [INFO] checking thin-0.2.0 against master#0d37dca25a51fb900a402c94c8818ad1c2789e30 for pr-77526 [INFO] extracting crate thin 0.2.0 into /workspace/builds/worker-12/source [INFO] validating manifest of crates.io crate thin 0.2.0 on toolchain 0d37dca25a51fb900a402c94c8818ad1c2789e30 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+0d37dca25a51fb900a402c94c8818ad1c2789e30" "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-12/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+0d37dca25a51fb900a402c94c8818ad1c2789e30" "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" "+0d37dca25a51fb900a402c94c8818ad1c2789e30" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+0d37dca25a51fb900a402c94c8818ad1c2789e30" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5525cbef384ea75e0b2b493a35c3f6281437490d3b023d34c1b3d2d6e5a5f8a6 [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" "5525cbef384ea75e0b2b493a35c3f6281437490d3b023d34c1b3d2d6e5a5f8a6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5525cbef384ea75e0b2b493a35c3f6281437490d3b023d34c1b3d2d6e5a5f8a6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5525cbef384ea75e0b2b493a35c3f6281437490d3b023d34c1b3d2d6e5a5f8a6", kill_on_drop: false }` [INFO] [stdout] 5525cbef384ea75e0b2b493a35c3f6281437490d3b023d34c1b3d2d6e5a5f8a6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+0d37dca25a51fb900a402c94c8818ad1c2789e30" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 73cb1f14ca0da2b48a37b4357f86829c3bc21be54302ae8006e3a7823a205b06 [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" "73cb1f14ca0da2b48a37b4357f86829c3bc21be54302ae8006e3a7823a205b06", 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[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[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] [stderr] error: could not compile `thin` [INFO] [stdout] error: aborting due to 14 previous errors; 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] [INFO] [stdout] Some errors have detailed explanations: E0432, E0599, E0658. [INFO] [stdout] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "73cb1f14ca0da2b48a37b4357f86829c3bc21be54302ae8006e3a7823a205b06", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "73cb1f14ca0da2b48a37b4357f86829c3bc21be54302ae8006e3a7823a205b06", kill_on_drop: false }` [INFO] [stdout] 73cb1f14ca0da2b48a37b4357f86829c3bc21be54302ae8006e3a7823a205b06