[INFO] crate thin 0.2.0 is already in cache [INFO] testing thin-0.2.0 against try#03a1ea71b075ab964b5278bc6e74cd6c52c36ee0 for pr-74409 [INFO] extracting crate thin 0.2.0 into /workspace/builds/worker-13/source [INFO] validating manifest of crates.io crate thin 0.2.0 on toolchain 03a1ea71b075ab964b5278bc6e74cd6c52c36ee0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+03a1ea71b075ab964b5278bc6e74cd6c52c36ee0" "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-13/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+03a1ea71b075ab964b5278bc6e74cd6c52c36ee0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+03a1ea71b075ab964b5278bc6e74cd6c52c36ee0" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:d9fbb4e2287ab3795bdefaf705efb7541a8875c13bce71e067d6b01dc5ed759b" "/opt/rustwide/cargo-home/bin/cargo" "+03a1ea71b075ab964b5278bc6e74cd6c52c36ee0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 30f290d893e8c55b1cd6dd76b909d0494ab50a57005a75b34a1ed2d8fa7c5bbf [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" "30f290d893e8c55b1cd6dd76b909d0494ab50a57005a75b34a1ed2d8fa7c5bbf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "30f290d893e8c55b1cd6dd76b909d0494ab50a57005a75b34a1ed2d8fa7c5bbf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "30f290d893e8c55b1cd6dd76b909d0494ab50a57005a75b34a1ed2d8fa7c5bbf", kill_on_drop: false }` [INFO] [stdout] 30f290d893e8c55b1cd6dd76b909d0494ab50a57005a75b34a1ed2d8fa7c5bbf [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:d9fbb4e2287ab3795bdefaf705efb7541a8875c13bce71e067d6b01dc5ed759b" "/opt/rustwide/cargo-home/bin/cargo" "+03a1ea71b075ab964b5278bc6e74cd6c52c36ee0" "build" "--frozen" "--message-format=json", 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] 856a4b750c5d44f249aefdb352892015342a0c1f925c2e5a1ca1698f066fbb69 [INFO] running `Command { std: "docker" "start" "-a" "856a4b750c5d44f249aefdb352892015342a0c1f925c2e5a1ca1698f066fbb69", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling fn_move v0.1.0 [INFO] [stderr] Compiling dyn_sized v0.2.0 [INFO] [stderr] Compiling 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[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 `std::ptr::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 `std::ptr::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 `std::ptr::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 `std::ptr::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] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `Command { std: "docker" "inspect" "856a4b750c5d44f249aefdb352892015342a0c1f925c2e5a1ca1698f066fbb69", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "856a4b750c5d44f249aefdb352892015342a0c1f925c2e5a1ca1698f066fbb69", kill_on_drop: false }` [INFO] [stdout] 856a4b750c5d44f249aefdb352892015342a0c1f925c2e5a1ca1698f066fbb69