[INFO] fetching crate libreal 0.14.1... [INFO] checking libreal-0.14.1 against master#b61e69433951e31f7bd746e22f516a48ad41623b for prs-64470-and-65389 [INFO] extracting crate libreal 0.14.1 into /workspace/builds/worker-7/source [INFO] validating manifest of crates.io crate libreal 0.14.1 on toolchain b61e69433951e31f7bd746e22f516a48ad41623b [INFO] running `"/workspace/cargo-home/bin/cargo" "+b61e69433951e31f7bd746e22f516a48ad41623b" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking crates.io crate libreal 0.14.1 [INFO] finished tweaking crates.io crate libreal 0.14.1 [INFO] tweaked toml for crates.io crate libreal 0.14.1 written to /workspace/builds/worker-7/source/Cargo.toml [INFO] running `"/workspace/cargo-home/bin/cargo" "+b61e69433951e31f7bd746e22f516a48ad41623b" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/workspace/cargo-home/bin/cargo" "+b61e69433951e31f7bd746e22f516a48ad41623b" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"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" "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" "/opt/rustwide/cargo-home/bin/cargo" "+b61e69433951e31f7bd746e22f516a48ad41623b" "check" "--frozen" "--all" "--all-targets"` [INFO] [stdout] d457ca56494d0ad6a887a839f5692b1e063e93e9da369906d179443b4fd880f1 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `"docker" "start" "-a" "d457ca56494d0ad6a887a839f5692b1e063e93e9da369906d179443b4fd880f1"` [INFO] [stderr] Compiling containers v0.7.1 [INFO] [stderr] Checking heap v0.1.0 [INFO] [stderr] Compiling i-o v0.2.2 [INFO] [stderr] Checking rel v0.2.0 [INFO] [stderr] Checking loca v0.5.4 [INFO] [stderr] Checking rel v0.1.2 [INFO] [stderr] Checking containers v0.2.1 [INFO] [stderr] 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] [stderr] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/loca-0.5.4/src/lib.rs:24:5 [INFO] [stderr] | [INFO] [stderr] 24 | use core::ptr::Unique; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: add `#![feature(ptr_internals)]` to the crate attributes to enable [INFO] [stderr] [INFO] [stderr] 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] [stderr] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/loca-0.5.4/src/lib.rs:857:42 [INFO] [stderr] | [INFO] [stderr] 857 | fn alloc_one(&mut self) -> Result, AllocErr> { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: add `#![feature(ptr_internals)]` to the crate attributes to enable [INFO] [stderr] [INFO] [stderr] 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] [stderr] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/loca-0.5.4/src/lib.rs:860:44 [INFO] [stderr] | [INFO] [stderr] 860 | unsafe { self.alloc(k).map(|p| Unique::new_unchecked(p as *mut T)) } [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: add `#![feature(ptr_internals)]` to the crate attributes to enable [INFO] [stderr] [INFO] [stderr] 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] [stderr] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/loca-0.5.4/src/lib.rs:883:46 [INFO] [stderr] | [INFO] [stderr] 883 | unsafe fn dealloc_one(&mut self, ptr: Unique) { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: add `#![feature(ptr_internals)]` to the crate attributes to enable [INFO] [stderr] [INFO] [stderr] 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] [stderr] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/loca-0.5.4/src/lib.rs:921:54 [INFO] [stderr] | [INFO] [stderr] 921 | fn alloc_array(&mut self, n: usize) -> Result, AllocErr> { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: add `#![feature(ptr_internals)]` to the crate attributes to enable [INFO] [stderr] [INFO] [stderr] 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] [stderr] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/loca-0.5.4/src/lib.rs:925:56 [INFO] [stderr] | [INFO] [stderr] 925 | self.alloc(layout.clone()).map(|p| Unique::new_unchecked(p as *mut T)) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: add `#![feature(ptr_internals)]` to the crate attributes to enable [INFO] [stderr] [INFO] [stderr] 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] [stderr] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/loca-0.5.4/src/lib.rs:965:37 [INFO] [stderr] | [INFO] [stderr] 965 | ... ptr: Unique, [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: add `#![feature(ptr_internals)]` to the crate attributes to enable [INFO] [stderr] [INFO] [stderr] 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] [stderr] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/loca-0.5.4/src/lib.rs:967:56 [INFO] [stderr] | [INFO] [stderr] 967 | ... n_new: usize) -> Result, AllocErr> { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: add `#![feature(ptr_internals)]` to the crate attributes to enable [INFO] [stderr] [INFO] [stderr] 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] [stderr] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/loca-0.5.4/src/lib.rs:971:29 [INFO] [stderr] | [INFO] [stderr] 971 | .map(|p|Unique::new_unchecked(p as *mut T)) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: add `#![feature(ptr_internals)]` to the crate attributes to enable [INFO] [stderr] [INFO] [stderr] 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] [stderr] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/loca-0.5.4/src/lib.rs:999:48 [INFO] [stderr] | [INFO] [stderr] 999 | unsafe fn dealloc_array(&mut self, ptr: Unique, n: usize) -> Result<(), AllocErr> { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: add `#![feature(ptr_internals)]` to the crate attributes to enable [INFO] [stderr] [INFO] [stderr] 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] [stderr] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/loca-0.5.4/src/lib.rs:1031:42 [INFO] [stderr] | [INFO] [stderr] 1031 | fn alloc_one(&mut self) -> Result, AllocErr> { self.deref_mut().alloc_one() } [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: add `#![feature(ptr_internals)]` to the crate attributes to enable [INFO] [stderr] [INFO] [stderr] 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] [stderr] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/loca-0.5.4/src/lib.rs:1032:46 [INFO] [stderr] | [INFO] [stderr] 1032 | unsafe fn dealloc_one(&mut self, ptr: Unique) { self.deref_mut().dealloc_one(ptr) } [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: add `#![feature(ptr_internals)]` to the crate attributes to enable [INFO] [stderr] [INFO] [stderr] 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] [stderr] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/loca-0.5.4/src/lib.rs:1033:54 [INFO] [stderr] | [INFO] [stderr] 1033 | fn alloc_array(&mut self, n: usize) -> Result, AllocErr> { self.deref_mut().alloc_array(n) } [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: add `#![feature(ptr_internals)]` to the crate attributes to enable [INFO] [stderr] [INFO] [stderr] 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] [stderr] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/loca-0.5.4/src/lib.rs:1034:48 [INFO] [stderr] | [INFO] [stderr] 1034 | unsafe fn realloc_array(&mut self, ptr: Unique, old_n: usize, new_n: usize) -> Result, AllocErr> { self.deref_mut().realloc_array(ptr, old_n, new_n) } [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: add `#![feature(ptr_internals)]` to the crate attributes to enable [INFO] [stderr] [INFO] [stderr] 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] [stderr] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/loca-0.5.4/src/lib.rs:1034:97 [INFO] [stderr] | [INFO] [stderr] 1034 | unsafe fn realloc_array(&mut self, ptr: Unique, old_n: usize, new_n: usize) -> Result, AllocErr> { self.deref_mut().realloc_array(ptr, old_n, new_n) } [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: add `#![feature(ptr_internals)]` to the crate attributes to enable [INFO] [stderr] [INFO] [stderr] 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] [stderr] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/loca-0.5.4/src/lib.rs:1035:48 [INFO] [stderr] | [INFO] [stderr] 1035 | unsafe fn dealloc_array(&mut self, ptr: Unique, n: usize) -> Result<(), AllocErr> { self.deref_mut().dealloc_array(ptr, n) } [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: add `#![feature(ptr_internals)]` to the crate attributes to enable [INFO] [stderr] [INFO] [stderr] error[E0658]: use of unstable library feature 'ptr_internals' [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/loca-0.5.4/src/lib.rs:860:44 [INFO] [stderr] | [INFO] [stderr] 860 | unsafe { self.alloc(k).map(|p| Unique::new_unchecked(p as *mut T)) } [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: add `#![feature(ptr_internals)]` to the crate attributes to enable [INFO] [stderr] [INFO] [stderr] error[E0658]: use of unstable library feature 'ptr_internals' [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/loca-0.5.4/src/lib.rs:884:27 [INFO] [stderr] | [INFO] [stderr] 884 | let raw_ptr = ptr.as_ptr() as *mut u8; [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: add `#![feature(ptr_internals)]` to the crate attributes to enable [INFO] [stderr] [INFO] [stderr] error[E0658]: use of unstable library feature 'ptr_internals' [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/loca-0.5.4/src/lib.rs:925:56 [INFO] [stderr] | [INFO] [stderr] 925 | self.alloc(layout.clone()).map(|p| Unique::new_unchecked(p as *mut T)) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: add `#![feature(ptr_internals)]` to the crate attributes to enable [INFO] [stderr] [INFO] [stderr] error[E0658]: use of unstable library feature 'ptr_internals' [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/loca-0.5.4/src/lib.rs:968:74 [INFO] [stderr] | [INFO] [stderr] 968 | match (Layout::array::(n_old), Layout::array::(n_new), ptr.as_ptr()) { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: add `#![feature(ptr_internals)]` to the crate attributes to enable [INFO] [stderr] [INFO] [stderr] error[E0658]: use of unstable library feature 'ptr_internals' [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/loca-0.5.4/src/lib.rs:971:29 [INFO] [stderr] | [INFO] [stderr] 971 | .map(|p|Unique::new_unchecked(p as *mut T)) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: add `#![feature(ptr_internals)]` to the crate attributes to enable [INFO] [stderr] [INFO] [stderr] error[E0658]: use of unstable library feature 'ptr_internals' [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/loca-0.5.4/src/lib.rs:1000:27 [INFO] [stderr] | [INFO] [stderr] 1000 | let raw_ptr = ptr.as_ptr() as *mut u8; [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: add `#![feature(ptr_internals)]` to the crate attributes to enable [INFO] [stderr] [INFO] [stderr] error: aborting due to 22 previous errors [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0658`. [INFO] [stderr] error: could not compile `loca`. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error[E0432]: unresolved import `alloc::heap` [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/containers-0.2.1/src/boxed.rs:3:12 [INFO] [stderr] | [INFO] [stderr] 3 | use alloc::heap::*; [INFO] [stderr] | ^^^^ could not find `heap` in `alloc` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `alloc::heap` [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/containers-0.2.1/src/collections/b_tree.rs:3:12 [INFO] [stderr] | [INFO] [stderr] 3 | use alloc::heap::*; [INFO] [stderr] | ^^^^ could not find `heap` in `alloc` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `alloc::heap` [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/containers-0.2.1/src/collections/hash_table.rs:3:12 [INFO] [stderr] | [INFO] [stderr] 3 | use alloc::heap::{ allocate, deallocate }; [INFO] [stderr] | ^^^^ could not find `heap` in `alloc` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `alloc::heap` [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/containers-0.2.1/src/collections/vec.rs:8:12 [INFO] [stderr] | [INFO] [stderr] 8 | use alloc::heap::{ EMPTY, allocate, reallocate, deallocate }; [INFO] [stderr] | ^^^^ could not find `heap` in `alloc` [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `allocate` in this scope [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/containers-0.2.1/src/boxed.rs:16:21 [INFO] [stderr] | [INFO] [stderr] 16 | let p = allocate(mem::size_of::(), mem::align_of::()) as *mut T; [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `deallocate` in this scope [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/containers-0.2.1/src/boxed.rs:57:13 [INFO] [stderr] | [INFO] [stderr] 57 | deallocate(ptr as *mut u8, mem::size_of_val(&*ptr), mem::align_of_val(&*ptr)); [INFO] [stderr] | ^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `allocate` in this scope [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/containers-0.2.1/src/collections/b_tree.rs:28:26 [INFO] [stderr] | [INFO] [stderr] 28 | let p = unsafe { allocate(Self::stem_size(), Self::stem_align()) }; [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `EMPTY` in this scope [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/containers-0.2.1/src/collections/b_tree.rs:35:45 [INFO] [stderr] | [INFO] [stderr] 35 | let p = if Self::leaf_size() == 0 { EMPTY as *mut _ } [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `allocate` in this scope [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/containers-0.2.1/src/collections/b_tree.rs:36:33 [INFO] [stderr] | [INFO] [stderr] 36 | else { unsafe { allocate(Self::leaf_size(), Self::leaf_align()) } }; [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `deallocate` in this scope [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/containers-0.2.1/src/collections/b_tree.rs:44:9 [INFO] [stderr] | [INFO] [stderr] 44 | deallocate(ptr, [INFO] [stderr] | ^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `allocate` in this scope [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/containers-0.2.1/src/collections/b_tree.rs:430:26 [INFO] [stderr] | [INFO] [stderr] 430 | let p = unsafe { allocate(BNode::::stem_size(), BNode::::stem_align()) }; [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `deallocate` in this scope [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/containers-0.2.1/src/collections/b_tree.rs:432:29 [INFO] [stderr] | [INFO] [stderr] 432 | let d = || unsafe { deallocate(p, BNode::::stem_size(), BNode::::stem_align()) }; [INFO] [stderr] | ^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] 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] [stderr] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/containers-0.2.1/src/boxed.rs:6:24 [INFO] [stderr] | [INFO] [stderr] 6 | use core::ptr::{ self, Unique }; [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: add `#![feature(ptr_internals)]` to the crate attributes to enable [INFO] [stderr] [INFO] [stderr] 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] [stderr] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/containers-0.2.1/src/boxed.rs:9:27 [INFO] [stderr] | [INFO] [stderr] 9 | pub struct Box(Unique); [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: add `#![feature(ptr_internals)]` to the crate attributes to enable [INFO] [stderr] [INFO] [stderr] 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] [stderr] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/containers-0.2.1/src/boxed.rs:19:22 [INFO] [stderr] | [INFO] [stderr] 19 | Some(Box(Unique::new(p))) [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: add `#![feature(ptr_internals)]` to the crate attributes to enable [INFO] [stderr] [INFO] [stderr] 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] [stderr] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/containers-0.2.1/src/boxed.rs:31:55 [INFO] [stderr] | [INFO] [stderr] 31 | pub unsafe fn from_raw(ptr: *mut T) -> Self { Box(Unique::new(ptr)) } [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: add `#![feature(ptr_internals)]` to the crate attributes to enable [INFO] [stderr] [INFO] [stderr] 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] [stderr] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/containers-0.2.1/src/collections/vec.rs:16:5 [INFO] [stderr] | [INFO] [stderr] 16 | use core::ptr::Unique; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: add `#![feature(ptr_internals)]` to the crate attributes to enable [INFO] [stderr] [INFO] [stderr] 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] [stderr] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/containers-0.2.1/src/collections/vec.rs:21:10 [INFO] [stderr] | [INFO] [stderr] 21 | ptr: Unique, [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: add `#![feature(ptr_internals)]` to the crate attributes to enable [INFO] [stderr] [INFO] [stderr] 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] [stderr] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/containers-0.2.1/src/collections/vec.rs:32:50 [INFO] [stderr] | [INFO] [stderr] 32 | pub fn new() -> Vec { unsafe { Vec { ptr: Unique::new(EMPTY as *mut T), len: 0, cap: 0 } } } [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: add `#![feature(ptr_internals)]` to the crate attributes to enable [INFO] [stderr] [INFO] [stderr] 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] [stderr] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/containers-0.2.1/src/collections/vec.rs:42:38 [INFO] [stderr] | [INFO] [stderr] 42 | Some(unsafe { Vec { ptr: Unique::new(EMPTY as *mut T), len: 0, cap: cap } }) [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: add `#![feature(ptr_internals)]` to the crate attributes to enable [INFO] [stderr] [INFO] [stderr] 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] [stderr] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/containers-0.2.1/src/collections/vec.rs:49:45 [INFO] [stderr] | [INFO] [stderr] 49 | else { Some(unsafe { Vec { ptr: Unique::new(ptr), len: 0, cap: cap } }) } [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: add `#![feature(ptr_internals)]` to the crate attributes to enable [INFO] [stderr] [INFO] [stderr] 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] [stderr] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/containers-0.2.1/src/collections/vec.rs:94:28 [INFO] [stderr] | [INFO] [stderr] 94 | self.ptr = Unique::new(ptr); [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: add `#![feature(ptr_internals)]` to the crate attributes to enable [INFO] [stderr] [INFO] [stderr] 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] [stderr] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/containers-0.2.1/src/collections/vec.rs:273:28 [INFO] [stderr] | [INFO] [stderr] 273 | self.ptr = Unique::new(ptr); [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: add `#![feature(ptr_internals)]` to the crate attributes to enable [INFO] [stderr] [INFO] [stderr] error[E0658]: use of unstable library feature 'ptr_internals' [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/containers-0.2.1/src/boxed.rs:19:22 [INFO] [stderr] | [INFO] [stderr] 19 | Some(Box(Unique::new(p))) [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: add `#![feature(ptr_internals)]` to the crate attributes to enable [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/containers-0.2.1/src/boxed.rs:19:22 [INFO] [stderr] | [INFO] [stderr] 19 | Some(Box(Unique::new(p))) [INFO] [stderr] | ^^^^^^^^^^^^^^ expected struct `core::ptr::Unique`, found enum `core::option::Option` [INFO] [stderr] | [INFO] [stderr] = note: expected type `core::ptr::Unique` [INFO] [stderr] found type `core::option::Option>` [INFO] [stderr] [INFO] [stderr] error[E0658]: use of unstable library feature 'ptr_internals' [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/containers-0.2.1/src/boxed.rs:31:55 [INFO] [stderr] | [INFO] [stderr] 31 | pub unsafe fn from_raw(ptr: *mut T) -> Self { Box(Unique::new(ptr)) } [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: add `#![feature(ptr_internals)]` to the crate attributes to enable [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/containers-0.2.1/src/boxed.rs:31:55 [INFO] [stderr] | [INFO] [stderr] 31 | pub unsafe fn from_raw(ptr: *mut T) -> Self { Box(Unique::new(ptr)) } [INFO] [stderr] | ^^^^^^^^^^^^^^^^ expected struct `core::ptr::Unique`, found enum `core::option::Option` [INFO] [stderr] | [INFO] [stderr] = note: expected type `core::ptr::Unique<_>` [INFO] [stderr] found type `core::option::Option>` [INFO] [stderr] [INFO] [stderr] error[E0614]: type `core::ptr::Unique` cannot be dereferenced [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/containers-0.2.1/src/boxed.rs:39:46 [INFO] [stderr] | [INFO] [stderr] 39 | pub unsafe fn into_raw(self) -> *mut T { *self.0 } [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `get` found for type `core::ptr::Unique` in the current scope [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/containers-0.2.1/src/boxed.rs:45:45 [INFO] [stderr] | [INFO] [stderr] 45 | fn deref(&self) -> &T { unsafe { self.0.get() } } [INFO] [stderr] | ^^^ method not found in `core::ptr::Unique` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `get_mut` found for type `core::ptr::Unique` in the current scope [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/containers-0.2.1/src/boxed.rs:49:57 [INFO] [stderr] | [INFO] [stderr] 49 | fn deref_mut(&mut self) -> &mut T { unsafe { self.0.get_mut() } } [INFO] [stderr] | ^^^^^^^ method not found in `core::ptr::Unique` [INFO] [stderr] [INFO] [stderr] error[E0614]: type `core::ptr::Unique` cannot be dereferenced [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/containers-0.2.1/src/boxed.rs:54:19 [INFO] [stderr] | [INFO] [stderr] 54 | let ptr = *self.0; [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0658]: use of unstable library feature 'ptr_internals' [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/containers-0.2.1/src/collections/vec.rs:32:50 [INFO] [stderr] | [INFO] [stderr] 32 | pub fn new() -> Vec { unsafe { Vec { ptr: Unique::new(EMPTY as *mut T), len: 0, cap: 0 } } } [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: add `#![feature(ptr_internals)]` to the crate attributes to enable [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/containers-0.2.1/src/collections/vec.rs:32:50 [INFO] [stderr] | [INFO] [stderr] 32 | pub fn new() -> Vec { unsafe { Vec { ptr: Unique::new(EMPTY as *mut T), len: 0, cap: 0 } } } [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected struct `core::ptr::Unique`, found enum `core::option::Option` [INFO] [stderr] | [INFO] [stderr] = note: expected type `core::ptr::Unique` [INFO] [stderr] found type `core::option::Option>` [INFO] [stderr] [INFO] [stderr] error[E0658]: use of unstable library feature 'ptr_internals' [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/containers-0.2.1/src/collections/vec.rs:42:38 [INFO] [stderr] | [INFO] [stderr] 42 | Some(unsafe { Vec { ptr: Unique::new(EMPTY as *mut T), len: 0, cap: cap } }) [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: add `#![feature(ptr_internals)]` to the crate attributes to enable [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/containers-0.2.1/src/collections/vec.rs:42:38 [INFO] [stderr] | [INFO] [stderr] 42 | Some(unsafe { Vec { ptr: Unique::new(EMPTY as *mut T), len: 0, cap: cap } }) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected struct `core::ptr::Unique`, found enum `core::option::Option` [INFO] [stderr] | [INFO] [stderr] = note: expected type `core::ptr::Unique` [INFO] [stderr] found type `core::option::Option>` [INFO] [stderr] [INFO] [stderr] error[E0658]: use of unstable library feature 'ptr_internals' [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/containers-0.2.1/src/collections/vec.rs:49:45 [INFO] [stderr] | [INFO] [stderr] 49 | else { Some(unsafe { Vec { ptr: Unique::new(ptr), len: 0, cap: cap } }) } [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: add `#![feature(ptr_internals)]` to the crate attributes to enable [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/containers-0.2.1/src/collections/vec.rs:49:45 [INFO] [stderr] | [INFO] [stderr] 49 | else { Some(unsafe { Vec { ptr: Unique::new(ptr), len: 0, cap: cap } }) } [INFO] [stderr] | ^^^^^^^^^^^^^^^^ expected struct `core::ptr::Unique`, found enum `core::option::Option` [INFO] [stderr] | [INFO] [stderr] = note: expected type `core::ptr::Unique` [INFO] [stderr] found type `core::option::Option>` [INFO] [stderr] [INFO] [stderr] error[E0614]: type `core::ptr::Unique` cannot be dereferenced [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/containers-0.2.1/src/collections/vec.rs:63:35 [INFO] [stderr] | [INFO] [stderr] 63 | slice::from_raw_parts_mut(*self.ptr, self.cap) [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0614]: type `core::ptr::Unique` cannot be dereferenced [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/containers-0.2.1/src/collections/vec.rs:87:46 [INFO] [stderr] | [INFO] [stderr] 87 | if self.len == 0 { dealloc_array(*self.ptr, self.cap) } [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0614]: type `core::ptr::Unique` cannot be dereferenced [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/containers-0.2.1/src/collections/vec.rs:89:38 [INFO] [stderr] | [INFO] [stderr] 89 | let ptr = reallocate(*self.ptr as *mut u8, [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0658]: use of unstable library feature 'ptr_internals' [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/containers-0.2.1/src/collections/vec.rs:94:28 [INFO] [stderr] | [INFO] [stderr] 94 | self.ptr = Unique::new(ptr); [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: add `#![feature(ptr_internals)]` to the crate attributes to enable [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/containers-0.2.1/src/collections/vec.rs:94:28 [INFO] [stderr] | [INFO] [stderr] 94 | self.ptr = Unique::new(ptr); [INFO] [stderr] | ^^^^^^^^^^^^^^^^ expected struct `core::ptr::Unique`, found enum `core::option::Option` [INFO] [stderr] | [INFO] [stderr] = note: expected type `core::ptr::Unique` [INFO] [stderr] found type `core::option::Option>` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `offset` found for type `core::ptr::Unique` in the current scope [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/containers-0.2.1/src/collections/vec.rs:115:32 [INFO] [stderr] | [INFO] [stderr] 115 | let ptr = self.ptr.offset(k as isize); [INFO] [stderr] | ^^^^^^ method not found in `core::ptr::Unique` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `offset` found for type `core::ptr::Unique` in the current scope [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/containers-0.2.1/src/collections/vec.rs:132:32 [INFO] [stderr] | [INFO] [stderr] 132 | let ptr = self.ptr.offset(k as isize); [INFO] [stderr] | ^^^^^^ method not found in `core::ptr::Unique` [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/containers-0.2.1/src/collections/vec.rs:134:40 [INFO] [stderr] | [INFO] [stderr] 134 | ptr::copy(&*ptr.offset(1), ptr, self.len - k - 1); [INFO] [stderr] | ^^^ types differ in mutability [INFO] [stderr] | [INFO] [stderr] = note: expected type `*mut _` [INFO] [stderr] found type `*const _` [INFO] [stderr] [INFO] [stderr] error[E0614]: type `core::ptr::Unique` cannot be dereferenced [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/containers-0.2.1/src/collections/vec.rs:179:38 [INFO] [stderr] | [INFO] [stderr] 179 | ptr::copy_nonoverlapping(*xs.ptr, self.ptr.offset(self.len as isize), xs.len); [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `offset` found for type `core::ptr::Unique` in the current scope [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/containers-0.2.1/src/collections/vec.rs:179:56 [INFO] [stderr] | [INFO] [stderr] 179 | ptr::copy_nonoverlapping(*xs.ptr, self.ptr.offset(self.len as isize), xs.len); [INFO] [stderr] | ^^^^^^ method not found in `core::ptr::Unique` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `offset` found for type `core::ptr::Unique` in the current scope [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/containers-0.2.1/src/collections/vec.rs:194:60 [INFO] [stderr] | [INFO] [stderr] 194 | ptr::copy_nonoverlapping(xs.as_ptr(), self.ptr.offset(self.len as isize), xs.len()); [INFO] [stderr] | ^^^^^^ method not found in `core::ptr::Unique` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `offset` found for type `core::ptr::Unique` in the current scope [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/containers-0.2.1/src/collections/vec.rs:216:47 [INFO] [stderr] | [INFO] [stderr] 216 | ptr::copy_nonoverlapping(self.ptr.offset(k as isize), *xs.ptr, xs.len); [INFO] [stderr] | ^^^^^^ method not found in `core::ptr::Unique` [INFO] [stderr] [INFO] [stderr] error[E0614]: type `core::ptr::Unique<_>` cannot be dereferenced [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/containers-0.2.1/src/collections/vec.rs:216:67 [INFO] [stderr] | [INFO] [stderr] 216 | ptr::copy_nonoverlapping(self.ptr.offset(k as isize), *xs.ptr, xs.len); [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0614]: type `core::ptr::Unique` cannot be dereferenced [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/containers-0.2.1/src/collections/vec.rs:271:44 [INFO] [stderr] | [INFO] [stderr] 271 | let ptr = alloc_or_realloc(*self.ptr, self.cap * mem::size_of::(), size); [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0658]: use of unstable library feature 'ptr_internals' [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/containers-0.2.1/src/collections/vec.rs:273:28 [INFO] [stderr] | [INFO] [stderr] 273 | self.ptr = Unique::new(ptr); [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: add `#![feature(ptr_internals)]` to the crate attributes to enable [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/containers-0.2.1/src/collections/vec.rs:273:28 [INFO] [stderr] | [INFO] [stderr] 273 | self.ptr = Unique::new(ptr); [INFO] [stderr] | ^^^^^^^^^^^^^^^^ expected struct `core::ptr::Unique`, found enum `core::option::Option` [INFO] [stderr] | [INFO] [stderr] = note: expected type `core::ptr::Unique` [INFO] [stderr] found type `core::option::Option>` [INFO] [stderr] [INFO] [stderr] error[E0614]: type `core::ptr::Unique` cannot be dereferenced [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/containers-0.2.1/src/collections/vec.rs:287:31 [INFO] [stderr] | [INFO] [stderr] 287 | dealloc_array(*self.ptr, self.cap); [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0614]: type `core::ptr::Unique` cannot be dereferenced [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/containers-0.2.1/src/collections/vec.rs:361:62 [INFO] [stderr] | [INFO] [stderr] 361 | fn deref(&self) -> &[T] { unsafe { slice::from_raw_parts(*self.ptr, self.len) } } [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0614]: type `core::ptr::Unique` cannot be dereferenced [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/containers-0.2.1/src/collections/vec.rs:366:78 [INFO] [stderr] | [INFO] [stderr] 366 | fn deref_mut(&mut self) -> &mut [T] { unsafe { slice::from_raw_parts_mut(*self.ptr, self.len) } } [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0614]: type `core::ptr::Unique` cannot be dereferenced [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/containers-0.2.1/src/collections/vec.rs:384:19 [INFO] [stderr] | [INFO] [stderr] 384 | let ptr = *self.ptr; [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error: aborting due to 57 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0308, E0425, E0432, E0599, E0614, E0658. [INFO] [stderr] For more information about an error, try `rustc --explain E0308`. [INFO] [stderr] error: could not compile `containers`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "d457ca56494d0ad6a887a839f5692b1e063e93e9da369906d179443b4fd880f1"` [INFO] running `"docker" "rm" "-f" "d457ca56494d0ad6a887a839f5692b1e063e93e9da369906d179443b4fd880f1"` [INFO] [stdout] d457ca56494d0ad6a887a839f5692b1e063e93e9da369906d179443b4fd880f1