[INFO] fetching crate libreal 0.14.1... [INFO] checking libreal-0.14.1 against try#b20a093d9fb1ffaa04ae9852cb034864a992bafd for pr-85073 [INFO] extracting crate libreal 0.14.1 into /workspace/builds/worker-4/source [INFO] validating manifest of crates.io crate libreal 0.14.1 on toolchain b20a093d9fb1ffaa04ae9852cb034864a992bafd [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+b20a093d9fb1ffaa04ae9852cb034864a992bafd" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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-4/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+b20a093d9fb1ffaa04ae9852cb034864a992bafd" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+b20a093d9fb1ffaa04ae9852cb034864a992bafd" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded heap v0.1.0 [INFO] [stderr] Downloaded loca v0.5.4 [INFO] [stderr] Downloaded rel v0.2.0 [INFO] [stderr] Downloaded containers v0.2.1 [INFO] [stderr] Downloaded rel v0.1.2 [INFO] [stderr] Downloaded i-o v0.2.2 [INFO] [stderr] Downloaded containers v0.7.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+b20a093d9fb1ffaa04ae9852cb034864a992bafd" "metadata" "--no-deps" "--format-version=1", 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] d317ac60454ab95df8b9c5fca01c99b05cd55b830a1ff1758ddd60fae2069804 [INFO] running `Command { std: "docker" "start" "-a" "d317ac60454ab95df8b9c5fca01c99b05cd55b830a1ff1758ddd60fae2069804", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d317ac60454ab95df8b9c5fca01c99b05cd55b830a1ff1758ddd60fae2069804", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d317ac60454ab95df8b9c5fca01c99b05cd55b830a1ff1758ddd60fae2069804", kill_on_drop: false }` [INFO] [stdout] d317ac60454ab95df8b9c5fca01c99b05cd55b830a1ff1758ddd60fae2069804 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+b20a093d9fb1ffaa04ae9852cb034864a992bafd" "check" "--frozen" "--all" "--all-targets" "--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] 761e610ce77279015cb1c5ec605dd0cedc88b110bc4e45c4ae287a593ae7b92c [INFO] running `Command { std: "docker" "start" "-a" "761e610ce77279015cb1c5ec605dd0cedc88b110bc4e45c4ae287a593ae7b92c", kill_on_drop: false }` [INFO] [stderr] Compiling containers v0.7.1 [INFO] [stderr] Checking loca v0.5.4 [INFO] [stderr] Compiling i-o v0.2.2 [INFO] [stderr] Checking rel v0.2.0 [INFO] [stderr] Checking heap v0.1.0 [INFO] [stderr] Checking siphasher v0.2.3 [INFO] [stderr] Checking rel v0.1.2 [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] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/loca-0.5.4/src/lib.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | use core::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] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/loca-0.5.4/src/lib.rs:857:42 [INFO] [stdout] | [INFO] [stdout] 857 | fn alloc_one(&mut self) -> Result, AllocErr> { [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] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/loca-0.5.4/src/lib.rs:860:44 [INFO] [stdout] | [INFO] [stdout] 860 | unsafe { self.alloc(k).map(|p| Unique::new_unchecked(p as *mut T)) } [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] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/loca-0.5.4/src/lib.rs:883:46 [INFO] [stdout] | [INFO] [stdout] 883 | unsafe fn dealloc_one(&mut self, 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] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/loca-0.5.4/src/lib.rs:921:54 [INFO] [stdout] | [INFO] [stdout] 921 | fn alloc_array(&mut self, n: usize) -> Result, AllocErr> { [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] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/loca-0.5.4/src/lib.rs:925:56 [INFO] [stdout] | [INFO] [stdout] 925 | self.alloc(layout.clone()).map(|p| Unique::new_unchecked(p as *mut T)) [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] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/loca-0.5.4/src/lib.rs:965:37 [INFO] [stdout] | [INFO] [stdout] 965 | ... 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] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/loca-0.5.4/src/lib.rs:967:56 [INFO] [stdout] | [INFO] [stdout] 967 | ... n_new: usize) -> Result, AllocErr> { [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] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/loca-0.5.4/src/lib.rs:971:29 [INFO] [stdout] | [INFO] [stdout] 971 | .map(|p|Unique::new_unchecked(p as *mut T)) [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] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/loca-0.5.4/src/lib.rs:999:48 [INFO] [stdout] | [INFO] [stdout] 999 | unsafe fn dealloc_array(&mut self, ptr: Unique, n: usize) -> Result<(), AllocErr> { [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] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/loca-0.5.4/src/lib.rs:1031:42 [INFO] [stdout] | [INFO] [stdout] 1031 | fn alloc_one(&mut self) -> Result, AllocErr> { self.deref_mut().alloc_one() } [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] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/loca-0.5.4/src/lib.rs:1032:46 [INFO] [stdout] | [INFO] [stdout] 1032 | unsafe fn dealloc_one(&mut self, ptr: Unique) { self.deref_mut().dealloc_one(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] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/loca-0.5.4/src/lib.rs:1033:54 [INFO] [stdout] | [INFO] [stdout] 1033 | fn alloc_array(&mut self, n: usize) -> Result, AllocErr> { self.deref_mut().alloc_array(n) } [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] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/loca-0.5.4/src/lib.rs:1034:48 [INFO] [stdout] | [INFO] [stdout] 1034 | unsafe fn realloc_array(&mut self, ptr: Unique, old_n: usize, new_n: usize) -> Result, AllocErr> { self.deref_mut().r... [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] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/loca-0.5.4/src/lib.rs:1034:97 [INFO] [stdout] | [INFO] [stdout] 1034 | unsafe fn realloc_array(&mut self, ptr: Unique, old_n: usize, new_n: usize) -> Result, AllocErr> { self.deref_mut().r... [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] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/loca-0.5.4/src/lib.rs:1035:48 [INFO] [stdout] | [INFO] [stdout] 1035 | unsafe fn dealloc_array(&mut self, ptr: Unique, n: usize) -> Result<(), AllocErr> { self.deref_mut().dealloc_array(ptr, n) } [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: add `#![feature(ptr_internals)]` to the crate attributes to enable [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking containers v0.2.1 [INFO] [stdout] error[E0658]: use of unstable library feature 'ptr_internals' [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/loca-0.5.4/src/lib.rs:860:44 [INFO] [stdout] | [INFO] [stdout] 860 | unsafe { self.alloc(k).map(|p| Unique::new_unchecked(p as *mut T)) } [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] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/loca-0.5.4/src/lib.rs:884:27 [INFO] [stdout] | [INFO] [stdout] 884 | let raw_ptr = ptr.as_ptr() as *mut u8; [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] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/loca-0.5.4/src/lib.rs:925:56 [INFO] [stdout] | [INFO] [stdout] 925 | self.alloc(layout.clone()).map(|p| Unique::new_unchecked(p as *mut T)) [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] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/loca-0.5.4/src/lib.rs:968:74 [INFO] [stdout] | [INFO] [stdout] 968 | match (Layout::array::(n_old), Layout::array::(n_new), 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] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/loca-0.5.4/src/lib.rs:971:29 [INFO] [stdout] | [INFO] [stdout] 971 | .map(|p|Unique::new_unchecked(p as *mut T)) [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] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/loca-0.5.4/src/lib.rs:1000:27 [INFO] [stdout] | [INFO] [stdout] 1000 | let raw_ptr = ptr.as_ptr() as *mut u8; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: add `#![feature(ptr_internals)]` to the crate attributes to enable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 22 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0658`. [INFO] [stdout] [INFO] [stderr] error: could not compile `loca` [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[E0432]: unresolved import `alloc::heap` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/containers-0.2.1/src/boxed.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | use alloc::heap::*; [INFO] [stdout] | ^^^^ could not find `heap` in `alloc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `alloc::heap` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/containers-0.2.1/src/collections/b_tree.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | use alloc::heap::*; [INFO] [stdout] | ^^^^ could not find `heap` in `alloc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `alloc::heap` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/containers-0.2.1/src/collections/hash_table.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | use alloc::heap::{ allocate, deallocate }; [INFO] [stdout] | ^^^^ could not find `heap` in `alloc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `alloc::heap` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/containers-0.2.1/src/collections/vec.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | use alloc::heap::{ EMPTY, allocate, reallocate, deallocate }; [INFO] [stdout] | ^^^^ could not find `heap` in `alloc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `allocate` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/containers-0.2.1/src/boxed.rs:16:21 [INFO] [stdout] | [INFO] [stdout] 16 | let p = allocate(mem::size_of::(), mem::align_of::()) as *mut T; [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `deallocate` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/containers-0.2.1/src/boxed.rs:57:13 [INFO] [stdout] | [INFO] [stdout] 57 | deallocate(ptr as *mut u8, mem::size_of_val(&*ptr), mem::align_of_val(&*ptr)); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `allocate` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/containers-0.2.1/src/collections/b_tree.rs:28:26 [INFO] [stdout] | [INFO] [stdout] 28 | let p = unsafe { allocate(Self::stem_size(), Self::stem_align()) }; [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `EMPTY` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/containers-0.2.1/src/collections/b_tree.rs:35:45 [INFO] [stdout] | [INFO] [stdout] 35 | let p = if Self::leaf_size() == 0 { EMPTY as *mut _ } [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `allocate` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/containers-0.2.1/src/collections/b_tree.rs:36:33 [INFO] [stdout] | [INFO] [stdout] 36 | else { unsafe { allocate(Self::leaf_size(), Self::leaf_align()) } }; [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `deallocate` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/containers-0.2.1/src/collections/b_tree.rs:44:9 [INFO] [stdout] | [INFO] [stdout] 44 | deallocate(ptr, [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `allocate` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/containers-0.2.1/src/collections/b_tree.rs:430:26 [INFO] [stdout] | [INFO] [stdout] 430 | let p = unsafe { allocate(BNode::::stem_size(), BNode::::stem_align()) }; [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `deallocate` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/containers-0.2.1/src/collections/b_tree.rs:432:29 [INFO] [stdout] | [INFO] [stdout] 432 | let d = || unsafe { deallocate(p, BNode::::stem_size(), BNode::::stem_align()) }; [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [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] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/containers-0.2.1/src/boxed.rs:6:24 [INFO] [stdout] | [INFO] [stdout] 6 | use core::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] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/containers-0.2.1/src/boxed.rs:9:27 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct Box(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] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/containers-0.2.1/src/boxed.rs:19:22 [INFO] [stdout] | [INFO] [stdout] 19 | Some(Box(Unique::new(p))) [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] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/containers-0.2.1/src/boxed.rs:31:55 [INFO] [stdout] | [INFO] [stdout] 31 | pub unsafe fn from_raw(ptr: *mut T) -> Self { Box(Unique::new(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] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/containers-0.2.1/src/collections/vec.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | use core::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] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/containers-0.2.1/src/collections/vec.rs:21:10 [INFO] [stdout] | [INFO] [stdout] 21 | 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] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/containers-0.2.1/src/collections/vec.rs:32:50 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn new() -> Vec { unsafe { Vec { ptr: Unique::new(EMPTY as *mut T), len: 0, cap: 0 } } } [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] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/containers-0.2.1/src/collections/vec.rs:42:38 [INFO] [stdout] | [INFO] [stdout] 42 | Some(unsafe { Vec { ptr: Unique::new(EMPTY as *mut T), len: 0, cap: cap } }) [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] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/containers-0.2.1/src/collections/vec.rs:49:45 [INFO] [stdout] | [INFO] [stdout] 49 | else { Some(unsafe { Vec { ptr: Unique::new(ptr), len: 0, cap: cap } }) } [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] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/containers-0.2.1/src/collections/vec.rs:94:28 [INFO] [stdout] | [INFO] [stdout] 94 | self.ptr = Unique::new(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] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/containers-0.2.1/src/collections/vec.rs:273:28 [INFO] [stdout] | [INFO] [stdout] 273 | self.ptr = Unique::new(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] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/containers-0.2.1/src/boxed.rs:19:22 [INFO] [stdout] | [INFO] [stdout] 19 | Some(Box(Unique::new(p))) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: add `#![feature(ptr_internals)]` to the crate attributes to enable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/containers-0.2.1/src/boxed.rs:19:22 [INFO] [stdout] | [INFO] [stdout] 19 | Some(Box(Unique::new(p))) [INFO] [stdout] | ^^^^^^^^^^^^^^ expected struct `Unique`, found enum `Option` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Unique` [INFO] [stdout] found enum `Option>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'ptr_internals' [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/containers-0.2.1/src/boxed.rs:31:55 [INFO] [stdout] | [INFO] [stdout] 31 | pub unsafe fn from_raw(ptr: *mut T) -> Self { Box(Unique::new(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[E0308]: mismatched types [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/containers-0.2.1/src/boxed.rs:31:55 [INFO] [stdout] | [INFO] [stdout] 31 | pub unsafe fn from_raw(ptr: *mut T) -> Self { Box(Unique::new(ptr)) } [INFO] [stdout] | ^^^^^^^^^^^^^^^^ expected struct `Unique`, found enum `Option` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Unique<_>` [INFO] [stdout] found enum `Option>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Unique` cannot be dereferenced [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/containers-0.2.1/src/boxed.rs:39:46 [INFO] [stdout] | [INFO] [stdout] 39 | pub unsafe fn into_raw(self) -> *mut T { *self.0 } [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get` found for struct `Unique` in the current scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/containers-0.2.1/src/boxed.rs:45:45 [INFO] [stdout] | [INFO] [stdout] 45 | fn deref(&self) -> &T { unsafe { self.0.get() } } [INFO] [stdout] | ^^^ method not found in `Unique` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get_mut` found for struct `Unique` in the current scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/containers-0.2.1/src/boxed.rs:49:57 [INFO] [stdout] | [INFO] [stdout] 49 | fn deref_mut(&mut self) -> &mut T { unsafe { self.0.get_mut() } } [INFO] [stdout] | ^^^^^^^ method not found in `Unique` [INFO] [stdout] | [INFO] [stdout] help: consider wrapping the receiver expression with the appropriate type [INFO] [stdout] | [INFO] [stdout] 49 | fn deref_mut(&mut self) -> &mut T { unsafe { Pin::new(&mut self.0).get_mut() } } [INFO] [stdout] | ^^^^^^^^^^^^^ ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Unique` cannot be dereferenced [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/containers-0.2.1/src/boxed.rs:54:19 [INFO] [stdout] | [INFO] [stdout] 54 | let ptr = *self.0; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'ptr_internals' [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/containers-0.2.1/src/collections/vec.rs:32:50 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn new() -> Vec { unsafe { Vec { ptr: Unique::new(EMPTY as *mut T), len: 0, cap: 0 } } } [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: add `#![feature(ptr_internals)]` to the crate attributes to enable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/containers-0.2.1/src/collections/vec.rs:32:50 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn new() -> Vec { unsafe { Vec { ptr: Unique::new(EMPTY as *mut T), len: 0, cap: 0 } } } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected struct `Unique`, found enum `Option` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Unique` [INFO] [stdout] found enum `Option>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'ptr_internals' [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/containers-0.2.1/src/collections/vec.rs:42:38 [INFO] [stdout] | [INFO] [stdout] 42 | Some(unsafe { Vec { ptr: Unique::new(EMPTY as *mut T), len: 0, cap: cap } }) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: add `#![feature(ptr_internals)]` to the crate attributes to enable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/containers-0.2.1/src/collections/vec.rs:42:38 [INFO] [stdout] | [INFO] [stdout] 42 | Some(unsafe { Vec { ptr: Unique::new(EMPTY as *mut T), len: 0, cap: cap } }) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected struct `Unique`, found enum `Option` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Unique` [INFO] [stdout] found enum `Option>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'ptr_internals' [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/containers-0.2.1/src/collections/vec.rs:49:45 [INFO] [stdout] | [INFO] [stdout] 49 | else { Some(unsafe { Vec { ptr: Unique::new(ptr), len: 0, cap: cap } }) } [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: add `#![feature(ptr_internals)]` to the crate attributes to enable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/containers-0.2.1/src/collections/vec.rs:49:45 [INFO] [stdout] | [INFO] [stdout] 49 | else { Some(unsafe { Vec { ptr: Unique::new(ptr), len: 0, cap: cap } }) } [INFO] [stdout] | ^^^^^^^^^^^^^^^^ expected struct `Unique`, found enum `Option` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Unique` [INFO] [stdout] found enum `Option>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Unique` cannot be dereferenced [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/containers-0.2.1/src/collections/vec.rs:63:35 [INFO] [stdout] | [INFO] [stdout] 63 | slice::from_raw_parts_mut(*self.ptr, self.cap) [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Unique` cannot be dereferenced [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/containers-0.2.1/src/collections/vec.rs:87:46 [INFO] [stdout] | [INFO] [stdout] 87 | if self.len == 0 { dealloc_array(*self.ptr, self.cap) } [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Unique` cannot be dereferenced [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/containers-0.2.1/src/collections/vec.rs:89:38 [INFO] [stdout] | [INFO] [stdout] 89 | let ptr = reallocate(*self.ptr as *mut u8, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'ptr_internals' [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/containers-0.2.1/src/collections/vec.rs:94:28 [INFO] [stdout] | [INFO] [stdout] 94 | self.ptr = Unique::new(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[E0308]: mismatched types [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/containers-0.2.1/src/collections/vec.rs:94:28 [INFO] [stdout] | [INFO] [stdout] 94 | self.ptr = Unique::new(ptr); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ expected struct `Unique`, found enum `Option` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Unique` [INFO] [stdout] found enum `Option>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `offset` found for struct `Unique` in the current scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/containers-0.2.1/src/collections/vec.rs:115:32 [INFO] [stdout] | [INFO] [stdout] 115 | let ptr = self.ptr.offset(k as isize); [INFO] [stdout] | ^^^^^^ method not found in `Unique` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `offset` found for struct `Unique` in the current scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/containers-0.2.1/src/collections/vec.rs:132:32 [INFO] [stdout] | [INFO] [stdout] 132 | let ptr = self.ptr.offset(k as isize); [INFO] [stdout] | ^^^^^^ method not found in `Unique` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/containers-0.2.1/src/collections/vec.rs:134:40 [INFO] [stdout] | [INFO] [stdout] 134 | ptr::copy(&*ptr.offset(1), ptr, self.len - k - 1); [INFO] [stdout] | ^^^ types differ in mutability [INFO] [stdout] | [INFO] [stdout] = note: expected raw pointer `*mut _` [INFO] [stdout] found raw pointer `*const _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Unique` cannot be dereferenced [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/containers-0.2.1/src/collections/vec.rs:179:38 [INFO] [stdout] | [INFO] [stdout] 179 | ptr::copy_nonoverlapping(*xs.ptr, self.ptr.offset(self.len as isize), xs.len); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `offset` found for struct `Unique` in the current scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/containers-0.2.1/src/collections/vec.rs:179:56 [INFO] [stdout] | [INFO] [stdout] 179 | ptr::copy_nonoverlapping(*xs.ptr, self.ptr.offset(self.len as isize), xs.len); [INFO] [stdout] | ^^^^^^ method not found in `Unique` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `offset` found for struct `Unique` in the current scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/containers-0.2.1/src/collections/vec.rs:194:60 [INFO] [stdout] | [INFO] [stdout] 194 | ptr::copy_nonoverlapping(xs.as_ptr(), self.ptr.offset(self.len as isize), xs.len()); [INFO] [stdout] | ^^^^^^ method not found in `Unique` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `offset` found for struct `Unique` in the current scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/containers-0.2.1/src/collections/vec.rs:216:47 [INFO] [stdout] | [INFO] [stdout] 216 | ptr::copy_nonoverlapping(self.ptr.offset(k as isize), *xs.ptr, xs.len); [INFO] [stdout] | ^^^^^^ method not found in `Unique` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Unique<_>` cannot be dereferenced [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/containers-0.2.1/src/collections/vec.rs:216:67 [INFO] [stdout] | [INFO] [stdout] 216 | ptr::copy_nonoverlapping(self.ptr.offset(k as isize), *xs.ptr, xs.len); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Unique` cannot be dereferenced [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/containers-0.2.1/src/collections/vec.rs:271:44 [INFO] [stdout] | [INFO] [stdout] 271 | let ptr = alloc_or_realloc(*self.ptr, self.cap * mem::size_of::(), size); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'ptr_internals' [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/containers-0.2.1/src/collections/vec.rs:273:28 [INFO] [stdout] | [INFO] [stdout] 273 | self.ptr = Unique::new(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[E0308]: mismatched types [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/containers-0.2.1/src/collections/vec.rs:273:28 [INFO] [stdout] | [INFO] [stdout] 273 | self.ptr = Unique::new(ptr); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ expected struct `Unique`, found enum `Option` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Unique` [INFO] [stdout] found enum `Option>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Unique` cannot be dereferenced [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/containers-0.2.1/src/collections/vec.rs:287:31 [INFO] [stdout] | [INFO] [stdout] 287 | dealloc_array(*self.ptr, self.cap); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Unique` cannot be dereferenced [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/containers-0.2.1/src/collections/vec.rs:361:62 [INFO] [stdout] | [INFO] [stdout] 361 | fn deref(&self) -> &[T] { unsafe { slice::from_raw_parts(*self.ptr, self.len) } } [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Unique` cannot be dereferenced [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/containers-0.2.1/src/collections/vec.rs:366:78 [INFO] [stdout] | [INFO] [stdout] 366 | fn deref_mut(&mut self) -> &mut [T] { unsafe { slice::from_raw_parts_mut(*self.ptr, self.len) } } [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Unique` cannot be dereferenced [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/containers-0.2.1/src/collections/vec.rs:384:19 [INFO] [stdout] | [INFO] [stdout] 384 | let ptr = *self.ptr; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 57 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0425, E0432, E0599, E0614, E0658. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "761e610ce77279015cb1c5ec605dd0cedc88b110bc4e45c4ae287a593ae7b92c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "761e610ce77279015cb1c5ec605dd0cedc88b110bc4e45c4ae287a593ae7b92c", kill_on_drop: false }` [INFO] [stdout] 761e610ce77279015cb1c5ec605dd0cedc88b110bc4e45c4ae287a593ae7b92c