[INFO] fetching crate maskerad_stack_allocator 1.1.2... [INFO] checking maskerad_stack_allocator-1.1.2 against try#4a04890980766cc79878135f5ade8c0c4321e943 for pr-65819 [INFO] extracting crate maskerad_stack_allocator 1.1.2 into /workspace/builds/worker-11/source [INFO] validating manifest of crates.io crate maskerad_stack_allocator 1.1.2 on toolchain 4a04890980766cc79878135f5ade8c0c4321e943 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+4a04890980766cc79878135f5ade8c0c4321e943" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate maskerad_stack_allocator 1.1.2 [INFO] finished tweaking crates.io crate maskerad_stack_allocator 1.1.2 [INFO] tweaked toml for crates.io crate maskerad_stack_allocator 1.1.2 written to /workspace/builds/worker-11/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+4a04890980766cc79878135f5ade8c0c4321e943" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+4a04890980766cc79878135f5ade8c0c4321e943" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:c46a2d1a26fb48b37929c74ca49dd9409f2375a0a3bdb8fe07617f3ffccaa889" "/opt/rustwide/cargo-home/bin/cargo" "+4a04890980766cc79878135f5ade8c0c4321e943" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 27c7b886b8a454f922a74a9c5209bdcef99729c8cddfd098218392269e516f20 [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" "27c7b886b8a454f922a74a9c5209bdcef99729c8cddfd098218392269e516f20", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "27c7b886b8a454f922a74a9c5209bdcef99729c8cddfd098218392269e516f20", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "27c7b886b8a454f922a74a9c5209bdcef99729c8cddfd098218392269e516f20", kill_on_drop: false }` [INFO] [stdout] 27c7b886b8a454f922a74a9c5209bdcef99729c8cddfd098218392269e516f20 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:c46a2d1a26fb48b37929c74ca49dd9409f2375a0a3bdb8fe07617f3ffccaa889" "/opt/rustwide/cargo-home/bin/cargo" "+4a04890980766cc79878135f5ade8c0c4321e943" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 78435c80cb1651d9b8f06b2abcd1b4bfa4517c58f1672538fd50a8bae8d2a491 [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" "78435c80cb1651d9b8f06b2abcd1b4bfa4517c58f1672538fd50a8bae8d2a491", kill_on_drop: false }` [INFO] [stderr] Checking maskerad_stack_allocator v1.1.2 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `alloc::allocator` [INFO] [stdout] --> src/stack_allocator.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | use alloc::allocator::Layout; [INFO] [stdout] | ^^^^^^^^^ could not find `allocator` in `alloc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `alloc::allocator` [INFO] [stdout] --> src/double_ended_allocator.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | use alloc::allocator::Layout; [INFO] [stdout] | ^^^^^^^^^ could not find `allocator` in `alloc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'raw_vec_internals': implementation detail [INFO] [stdout] --> src/stack_allocator.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use alloc::raw_vec::RawVec; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: add `#![feature(raw_vec_internals)]` to the crate attributes to enable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'raw_vec_internals': implementation detail [INFO] [stdout] --> src/stack_allocator.rs:71:12 [INFO] [stdout] | [INFO] [stdout] 71 | stack: RawVec, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: add `#![feature(raw_vec_internals)]` to the crate attributes to enable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'raw_vec_internals': implementation detail [INFO] [stdout] --> src/stack_allocator.rs:91:21 [INFO] [stdout] | [INFO] [stdout] 91 | let stack = RawVec::with_capacity(capacity); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: add `#![feature(raw_vec_internals)]` to the crate attributes to enable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'raw_vec_internals': implementation detail [INFO] [stdout] --> src/stack_allocator.rs:100:29 [INFO] [stdout] | [INFO] [stdout] 100 | pub fn stack(&self) -> &RawVec { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: add `#![feature(raw_vec_internals)]` to the crate attributes to enable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'raw_vec_internals': implementation detail [INFO] [stdout] --> src/double_ended_allocator.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use alloc::raw_vec::RawVec; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: add `#![feature(raw_vec_internals)]` to the crate attributes to enable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'raw_vec_internals': implementation detail [INFO] [stdout] --> src/double_ended_allocator.rs:87:12 [INFO] [stdout] | [INFO] [stdout] 87 | stack: RawVec, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: add `#![feature(raw_vec_internals)]` to the crate attributes to enable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'raw_vec_internals': implementation detail [INFO] [stdout] --> src/double_ended_allocator.rs:111:37 [INFO] [stdout] | [INFO] [stdout] 111 | let stack: RawVec = RawVec::with_capacity(capacity); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: add `#![feature(raw_vec_internals)]` to the crate attributes to enable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'raw_vec_internals': implementation detail [INFO] [stdout] --> src/double_ended_allocator.rs:111:24 [INFO] [stdout] | [INFO] [stdout] 111 | let stack: RawVec = RawVec::with_capacity(capacity); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: add `#![feature(raw_vec_internals)]` to the crate attributes to enable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'raw_vec_internals': implementation detail [INFO] [stdout] --> src/double_ended_allocator.rs:126:29 [INFO] [stdout] | [INFO] [stdout] 126 | pub fn stack(&self) -> &RawVec { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: add `#![feature(raw_vec_internals)]` to the crate attributes to enable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'raw_vec_internals': implementation detail [INFO] [stdout] --> src/stack_allocator.rs:91:21 [INFO] [stdout] | [INFO] [stdout] 91 | let stack = RawVec::with_capacity(capacity); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: add `#![feature(raw_vec_internals)]` to the crate attributes to enable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'raw_vec_internals': implementation detail [INFO] [stdout] --> src/stack_allocator.rs:92:46 [INFO] [stdout] | [INFO] [stdout] 92 | let current_offset = Cell::new(stack.ptr() as *mut u8); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = help: add `#![feature(raw_vec_internals)]` to the crate attributes to enable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'raw_vec_internals': implementation detail [INFO] [stdout] --> src/stack_allocator.rs:122:44 [INFO] [stdout] | [INFO] [stdout] 122 | self.current_offset.set(self.stack.ptr()); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = help: add `#![feature(raw_vec_internals)]` to the crate attributes to enable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'raw_vec_internals': implementation detail [INFO] [stdout] --> src/stack_allocator.rs:168:33 [INFO] [stdout] | [INFO] [stdout] 168 | assert!((self.stack.ptr().offset_to(aligned_ptr).unwrap() as usize) < self.stack.cap()); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = help: add `#![feature(raw_vec_internals)]` to the crate attributes to enable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `alloc::allocator` [INFO] [stdout] --> src/stack_allocator.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | use alloc::allocator::Layout; [INFO] [stdout] | ^^^^^^^^^ could not find `allocator` in `alloc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `alloc::allocator` [INFO] [stdout] --> src/double_ended_allocator.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | use alloc::allocator::Layout; [INFO] [stdout] | ^^^^^^^^^ could not find `allocator` in `alloc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'raw_vec_internals': implementation detail [INFO] [stdout] --> src/stack_allocator.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use alloc::raw_vec::RawVec; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: add `#![feature(raw_vec_internals)]` to the crate attributes to enable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'raw_vec_internals': implementation detail [INFO] [stdout] --> src/stack_allocator.rs:71:12 [INFO] [stdout] | [INFO] [stdout] 71 | stack: RawVec, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: add `#![feature(raw_vec_internals)]` to the crate attributes to enable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'raw_vec_internals': implementation detail [INFO] [stdout] --> src/stack_allocator.rs:91:21 [INFO] [stdout] | [INFO] [stdout] 91 | let stack = RawVec::with_capacity(capacity); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: add `#![feature(raw_vec_internals)]` to the crate attributes to enable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'raw_vec_internals': implementation detail [INFO] [stdout] --> src/stack_allocator.rs:100:29 [INFO] [stdout] | [INFO] [stdout] 100 | pub fn stack(&self) -> &RawVec { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: add `#![feature(raw_vec_internals)]` to the crate attributes to enable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'raw_vec_internals': implementation detail [INFO] [stdout] --> src/double_ended_allocator.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use alloc::raw_vec::RawVec; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: add `#![feature(raw_vec_internals)]` to the crate attributes to enable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'raw_vec_internals': implementation detail [INFO] [stdout] --> src/double_ended_allocator.rs:87:12 [INFO] [stdout] | [INFO] [stdout] 87 | stack: RawVec, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: add `#![feature(raw_vec_internals)]` to the crate attributes to enable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'raw_vec_internals': implementation detail [INFO] [stdout] --> src/double_ended_allocator.rs:111:37 [INFO] [stdout] | [INFO] [stdout] 111 | let stack: RawVec = RawVec::with_capacity(capacity); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: add `#![feature(raw_vec_internals)]` to the crate attributes to enable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'raw_vec_internals': implementation detail [INFO] [stdout] --> src/double_ended_allocator.rs:111:24 [INFO] [stdout] | [INFO] [stdout] 111 | let stack: RawVec = RawVec::with_capacity(capacity); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: add `#![feature(raw_vec_internals)]` to the crate attributes to enable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'raw_vec_internals': implementation detail [INFO] [stdout] --> src/double_ended_allocator.rs:126:29 [INFO] [stdout] | [INFO] [stdout] 126 | pub fn stack(&self) -> &RawVec { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: add `#![feature(raw_vec_internals)]` to the crate attributes to enable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'raw_vec_internals': implementation detail [INFO] [stdout] --> src/stack_allocator.rs:91:21 [INFO] [stdout] | [INFO] [stdout] 91 | let stack = RawVec::with_capacity(capacity); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: add `#![feature(raw_vec_internals)]` to the crate attributes to enable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'raw_vec_internals': implementation detail [INFO] [stdout] --> src/stack_allocator.rs:92:46 [INFO] [stdout] | [INFO] [stdout] 92 | let current_offset = Cell::new(stack.ptr() as *mut u8); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = help: add `#![feature(raw_vec_internals)]` to the crate attributes to enable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'raw_vec_internals': implementation detail [INFO] [stdout] --> src/stack_allocator.rs:122:44 [INFO] [stdout] | [INFO] [stdout] 122 | self.current_offset.set(self.stack.ptr()); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = help: add `#![feature(raw_vec_internals)]` to the crate attributes to enable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'raw_vec_internals': implementation detail [INFO] [stdout] --> src/stack_allocator.rs:168:33 [INFO] [stdout] | [INFO] [stdout] 168 | assert!((self.stack.ptr().offset_to(aligned_ptr).unwrap() as usize) < self.stack.cap()); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = help: add `#![feature(raw_vec_internals)]` to the crate attributes to enable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `offset_to` found for raw pointer `*mut u8` in the current scope [INFO] [stdout] --> src/stack_allocator.rs:168:39 [INFO] [stdout] | [INFO] [stdout] 168 | assert!((self.stack.ptr().offset_to(aligned_ptr).unwrap() as usize) < self.stack.cap()); [INFO] [stdout] | ^^^^^^^^^ help: there is an associated function with a similar name: `offset` [INFO] [stdout] | [INFO] [stdout] = note: try using `<*const T>::as_ref()` to get a reference to the type behind the pointer: https://doc.rust-lang.org/std/primitive.pointer.html#method.as_ref [INFO] [stdout] = note: using `<*const T>::as_ref()` on a pointer which is unaligned or points to invalid or uninitialized memory is undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `offset_to` found for raw pointer `*mut u8` in the current scope [INFO] [stdout] --> src/stack_allocator.rs:168:39 [INFO] [stdout] | [INFO] [stdout] 168 | assert!((self.stack.ptr().offset_to(aligned_ptr).unwrap() as usize) < self.stack.cap()); [INFO] [stdout] | ^^^^^^^^^ help: there is an associated function with a similar name: `offset` [INFO] [stdout] | [INFO] [stdout] = note: try using `<*const T>::as_ref()` to get a reference to the type behind the pointer: https://doc.rust-lang.org/std/primitive.pointer.html#method.as_ref [INFO] [stdout] = note: using `<*const T>::as_ref()` on a pointer which is unaligned or points to invalid or uninitialized memory is undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `cap` found for struct `RawVec` in the current scope [INFO] [stdout] --> src/stack_allocator.rs:168:94 [INFO] [stdout] | [INFO] [stdout] 168 | assert!((self.stack.ptr().offset_to(aligned_ptr).unwrap() as usize) < self.stack.cap()); [INFO] [stdout] | ^^^ private field, not a method [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'raw_vec_internals': implementation detail [INFO] [stdout] --> src/stack_allocator.rs:235:36 [INFO] [stdout] | [INFO] [stdout] 235 | let cap_used = alloc.stack.ptr().offset_to(alloc.current_offset.get()).unwrap() as usize; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = help: add `#![feature(raw_vec_internals)]` to the crate attributes to enable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `offset_to` found for raw pointer `*mut u8` in the current scope [INFO] [stdout] --> src/stack_allocator.rs:235:42 [INFO] [stdout] | [INFO] [stdout] 235 | let cap_used = alloc.stack.ptr().offset_to(alloc.current_offset.get()).unwrap() as usize; [INFO] [stdout] | ^^^^^^^^^ help: there is an associated function with a similar name: `offset` [INFO] [stdout] | [INFO] [stdout] = note: try using `<*const T>::as_ref()` to get a reference to the type behind the pointer: https://doc.rust-lang.org/std/primitive.pointer.html#method.as_ref [INFO] [stdout] = note: using `<*const T>::as_ref()` on a pointer which is unaligned or points to invalid or uninitialized memory is undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `cap` found for struct `RawVec` in the current scope [INFO] [stdout] --> src/stack_allocator.rs:236:42 [INFO] [stdout] | [INFO] [stdout] 236 | let cap_remaining = (alloc.stack.cap() - cap_used) as isize; [INFO] [stdout] | ^^^ private field, not a method [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `cap` found for struct `RawVec` in the current scope [INFO] [stdout] --> src/stack_allocator.rs:168:94 [INFO] [stdout] | [INFO] [stdout] 168 | assert!((self.stack.ptr().offset_to(aligned_ptr).unwrap() as usize) < self.stack.cap()); [INFO] [stdout] | ^^^ private field, not a method [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'raw_vec_internals': implementation detail [INFO] [stdout] --> src/double_ended_allocator.rs:111:37 [INFO] [stdout] | [INFO] [stdout] 111 | let stack: RawVec = RawVec::with_capacity(capacity); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: add `#![feature(raw_vec_internals)]` to the crate attributes to enable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'raw_vec_internals': implementation detail [INFO] [stdout] --> src/double_ended_allocator.rs:112:57 [INFO] [stdout] | [INFO] [stdout] 112 | let current_offset_bottom = Cell::new(stack.ptr() as *mut u8); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = help: add `#![feature(raw_vec_internals)]` to the crate attributes to enable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'raw_vec_internals': implementation detail [INFO] [stdout] --> src/double_ended_allocator.rs:113:54 [INFO] [stdout] | [INFO] [stdout] 113 | let current_offset_top = Cell::new(stack.ptr().offset(capacity as isize) as *mut u8); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = help: add `#![feature(raw_vec_internals)]` to the crate attributes to enable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'raw_vec_internals': implementation detail [INFO] [stdout] --> src/double_ended_allocator.rs:148:51 [INFO] [stdout] | [INFO] [stdout] 148 | self.current_offset_bottom.set(self.stack.ptr()); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = help: add `#![feature(raw_vec_internals)]` to the crate attributes to enable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'raw_vec_internals': implementation detail [INFO] [stdout] --> src/stack_allocator.rs:270:36 [INFO] [stdout] | [INFO] [stdout] 270 | let cap_used = alloc.stack.ptr().offset_to(alloc.current_offset.get()).unwrap() as usize; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = help: add `#![feature(raw_vec_internals)]` to the crate attributes to enable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'raw_vec_internals': implementation detail [INFO] [stdout] --> src/double_ended_allocator.rs:174:42 [INFO] [stdout] | [INFO] [stdout] 174 | let top_stack = self.stack().ptr().offset(self.stack().cap() as isize); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = help: add `#![feature(raw_vec_internals)]` to the crate attributes to enable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `cap` found for reference `&RawVec` in the current scope [INFO] [stdout] --> src/double_ended_allocator.rs:174:68 [INFO] [stdout] | [INFO] [stdout] 174 | let top_stack = self.stack().ptr().offset(self.stack().cap() as isize); [INFO] [stdout] | ^^^ private field, not a method [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `offset_to` found for raw pointer `*mut u8` in the current scope [INFO] [stdout] --> src/stack_allocator.rs:270:42 [INFO] [stdout] | [INFO] [stdout] 270 | let cap_used = alloc.stack.ptr().offset_to(alloc.current_offset.get()).unwrap() as usize; [INFO] [stdout] | ^^^^^^^^^ help: there is an associated function with a similar name: `offset` [INFO] [stdout] | [INFO] [stdout] = note: try using `<*const T>::as_ref()` to get a reference to the type behind the pointer: https://doc.rust-lang.org/std/primitive.pointer.html#method.as_ref [INFO] [stdout] = note: using `<*const T>::as_ref()` on a pointer which is unaligned or points to invalid or uninitialized memory is undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'raw_vec_internals': implementation detail [INFO] [stdout] --> src/double_ended_allocator.rs:226:33 [INFO] [stdout] | [INFO] [stdout] 226 | assert!((self.stack.ptr().offset_to(aligned_ptr).unwrap() as usize) < self.stack.cap() / 2); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = help: add `#![feature(raw_vec_internals)]` to the crate attributes to enable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `offset_to` found for raw pointer `*mut u8` in the current scope [INFO] [stdout] --> src/double_ended_allocator.rs:226:39 [INFO] [stdout] | [INFO] [stdout] 226 | assert!((self.stack.ptr().offset_to(aligned_ptr).unwrap() as usize) < self.stack.cap() / 2); [INFO] [stdout] | ^^^^^^^^^ help: there is an associated function with a similar name: `offset` [INFO] [stdout] | [INFO] [stdout] = note: try using `<*const T>::as_ref()` to get a reference to the type behind the pointer: https://doc.rust-lang.org/std/primitive.pointer.html#method.as_ref [INFO] [stdout] = note: using `<*const T>::as_ref()` on a pointer which is unaligned or points to invalid or uninitialized memory is undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `cap` found for struct `RawVec` in the current scope [INFO] [stdout] --> src/stack_allocator.rs:271:42 [INFO] [stdout] | [INFO] [stdout] 271 | let cap_remaining = (alloc.stack.cap() - cap_used) as isize; [INFO] [stdout] | ^^^ private field, not a method [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `cap` found for struct `RawVec` in the current scope [INFO] [stdout] --> src/double_ended_allocator.rs:226:94 [INFO] [stdout] | [INFO] [stdout] 226 | assert!((self.stack.ptr().offset_to(aligned_ptr).unwrap() as usize) < self.stack.cap() / 2); [INFO] [stdout] | ^^^ private field, not a method [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'raw_vec_internals': implementation detail [INFO] [stdout] --> src/stack_allocator.rs:296:36 [INFO] [stdout] | [INFO] [stdout] 296 | let cap_used = alloc.stack.ptr().offset_to(alloc.current_offset.get()).unwrap() as usize; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = help: add `#![feature(raw_vec_internals)]` to the crate attributes to enable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `offset_to` found for raw pointer `*mut u8` in the current scope [INFO] [stdout] --> src/stack_allocator.rs:296:42 [INFO] [stdout] | [INFO] [stdout] 296 | let cap_used = alloc.stack.ptr().offset_to(alloc.current_offset.get()).unwrap() as usize; [INFO] [stdout] | ^^^^^^^^^ help: there is an associated function with a similar name: `offset` [INFO] [stdout] | [INFO] [stdout] = note: try using `<*const T>::as_ref()` to get a reference to the type behind the pointer: https://doc.rust-lang.org/std/primitive.pointer.html#method.as_ref [INFO] [stdout] = note: using `<*const T>::as_ref()` on a pointer which is unaligned or points to invalid or uninitialized memory is undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `cap` found for struct `RawVec` in the current scope [INFO] [stdout] --> src/stack_allocator.rs:297:42 [INFO] [stdout] | [INFO] [stdout] 297 | let cap_remaining = (alloc.stack.cap() - cap_used) as isize; [INFO] [stdout] | ^^^ private field, not a method [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'raw_vec_internals': implementation detail [INFO] [stdout] --> src/double_ended_allocator.rs:274:50 [INFO] [stdout] | [INFO] [stdout] 274 | let bottom_top_offset = self.stack().ptr().offset_to(old_stack_top).unwrap(); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = help: add `#![feature(raw_vec_internals)]` to the crate attributes to enable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'raw_vec_internals': implementation detail [INFO] [stdout] --> src/stack_allocator.rs:321:36 [INFO] [stdout] | [INFO] [stdout] 321 | let cap_used = alloc.stack.ptr().offset_to(alloc.current_offset.get()).unwrap() as usize; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = help: add `#![feature(raw_vec_internals)]` to the crate attributes to enable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `offset_to` found for raw pointer `*mut u8` in the current scope [INFO] [stdout] --> src/double_ended_allocator.rs:274:56 [INFO] [stdout] | [INFO] [stdout] 274 | let bottom_top_offset = self.stack().ptr().offset_to(old_stack_top).unwrap(); [INFO] [stdout] | ^^^^^^^^^ help: there is an associated function with a similar name: `offset` [INFO] [stdout] | [INFO] [stdout] = note: try using `<*const T>::as_ref()` to get a reference to the type behind the pointer: https://doc.rust-lang.org/std/primitive.pointer.html#method.as_ref [INFO] [stdout] = note: using `<*const T>::as_ref()` on a pointer which is unaligned or points to invalid or uninitialized memory is undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'raw_vec_internals': implementation detail [INFO] [stdout] --> src/double_ended_allocator.rs:277:46 [INFO] [stdout] | [INFO] [stdout] 277 | let unaligned_ptr = self.stack().ptr().offset(bottom_top_offset - offset as isize) as usize; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = help: add `#![feature(raw_vec_internals)]` to the crate attributes to enable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `offset_to` found for raw pointer `*mut u8` in the current scope [INFO] [stdout] --> src/stack_allocator.rs:321:42 [INFO] [stdout] | [INFO] [stdout] 321 | let cap_used = alloc.stack.ptr().offset_to(alloc.current_offset.get()).unwrap() as usize; [INFO] [stdout] | ^^^^^^^^^ help: there is an associated function with a similar name: `offset` [INFO] [stdout] | [INFO] [stdout] = note: try using `<*const T>::as_ref()` to get a reference to the type behind the pointer: https://doc.rust-lang.org/std/primitive.pointer.html#method.as_ref [INFO] [stdout] = note: using `<*const T>::as_ref()` on a pointer which is unaligned or points to invalid or uninitialized memory is undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'raw_vec_internals': implementation detail [INFO] [stdout] --> src/double_ended_allocator.rs:292:33 [INFO] [stdout] | [INFO] [stdout] 292 | assert!((self.stack.ptr().offset_to(aligned_ptr).unwrap() as usize) > (self.stack.cap() / 2)); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = help: add `#![feature(raw_vec_internals)]` to the crate attributes to enable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `cap` found for struct `RawVec` in the current scope [INFO] [stdout] --> src/stack_allocator.rs:322:42 [INFO] [stdout] | [INFO] [stdout] 322 | let cap_remaining = (alloc.stack.cap() - cap_used) as isize; [INFO] [stdout] | ^^^ private field, not a method [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `offset_to` found for raw pointer `*mut u8` in the current scope [INFO] [stdout] --> src/double_ended_allocator.rs:292:39 [INFO] [stdout] | [INFO] [stdout] 292 | assert!((self.stack.ptr().offset_to(aligned_ptr).unwrap() as usize) > (self.stack.cap() / 2)); [INFO] [stdout] | ^^^^^^^^^ help: there is an associated function with a similar name: `offset` [INFO] [stdout] | [INFO] [stdout] = note: try using `<*const T>::as_ref()` to get a reference to the type behind the pointer: https://doc.rust-lang.org/std/primitive.pointer.html#method.as_ref [INFO] [stdout] = note: using `<*const T>::as_ref()` on a pointer which is unaligned or points to invalid or uninitialized memory is undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `cap` found for struct `RawVec` in the current scope [INFO] [stdout] --> src/double_ended_allocator.rs:292:95 [INFO] [stdout] | [INFO] [stdout] 292 | assert!((self.stack.ptr().offset_to(aligned_ptr).unwrap() as usize) > (self.stack.cap() / 2)); [INFO] [stdout] | ^^^ private field, not a method [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `cap` found for reference `&RawVec` in the current scope [INFO] [stdout] --> src/double_buffered_allocator.rs:144:50 [INFO] [stdout] | [INFO] [stdout] 144 | assert_eq!(alloc.active_buffer().stack().cap(), 100); [INFO] [stdout] | ^^^ private field, not a method [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `cap` found for reference `&RawVec` in the current scope [INFO] [stdout] --> src/double_buffered_allocator.rs:145:52 [INFO] [stdout] | [INFO] [stdout] 145 | assert_eq!(alloc.inactive_buffer().stack().cap(), 100); [INFO] [stdout] | ^^^ private field, not a method [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `maskerad_stack_allocator` [INFO] [stdout] error[E0658]: use of unstable library feature 'raw_vec_internals': implementation detail [INFO] [stdout] --> src/double_buffered_allocator.rs:154:50 [INFO] [stdout] | [INFO] [stdout] 154 | assert_eq!(alloc.active_buffer().stack().ptr(), active_buffer_top_stack); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = help: add `#![feature(raw_vec_internals)]` to the crate attributes to enable [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] [INFO] [stdout] error[E0658]: use of unstable library feature 'raw_vec_internals': implementation detail [INFO] [stdout] --> src/double_buffered_allocator.rs:155:52 [INFO] [stdout] | [INFO] [stdout] 155 | assert_eq!(alloc.inactive_buffer().stack().ptr(), inactive_buffer_top_stack); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = help: add `#![feature(raw_vec_internals)]` to the crate attributes to enable [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stdout] error[E0658]: use of unstable library feature 'raw_vec_internals': implementation detail [INFO] [stdout] --> src/double_buffered_allocator.rs:161:50 [INFO] [stdout] | [INFO] [stdout] 161 | assert_ne!(alloc.active_buffer().stack().ptr(), active_buffer_top_stack); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = help: add `#![feature(raw_vec_internals)]` to the crate attributes to enable [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0658]: use of unstable library feature 'raw_vec_internals': implementation detail [INFO] [stdout] --> src/double_buffered_allocator.rs:162:52 [INFO] [stdout] | [INFO] [stdout] 162 | assert_eq!(alloc.inactive_buffer().stack().ptr(), inactive_buffer_top_stack); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = help: add `#![feature(raw_vec_internals)]` to the crate attributes to enable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'raw_vec_internals': implementation detail [INFO] [stdout] --> src/double_buffered_allocator.rs:168:50 [INFO] [stdout] | [INFO] [stdout] 168 | assert_eq!(alloc.active_buffer().stack().ptr(), active_buffer_top_stack); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = help: add `#![feature(raw_vec_internals)]` to the crate attributes to enable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 32 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0599, E0658. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'raw_vec_internals': implementation detail [INFO] [stdout] --> src/double_buffered_allocator.rs:169:52 [INFO] [stdout] | [INFO] [stdout] 169 | assert_eq!(alloc.inactive_buffer().stack().ptr(), inactive_buffer_top_stack); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = help: add `#![feature(raw_vec_internals)]` to the crate attributes to enable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'raw_vec_internals': implementation detail [INFO] [stdout] --> src/double_buffered_allocator.rs:178:45 [INFO] [stdout] | [INFO] [stdout] 178 | assert_eq!(alloc.buffers[0].stack().ptr(), first_buffer_top_stack); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = help: add `#![feature(raw_vec_internals)]` to the crate attributes to enable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'raw_vec_internals': implementation detail [INFO] [stdout] --> src/double_buffered_allocator.rs:179:45 [INFO] [stdout] | [INFO] [stdout] 179 | assert_eq!(alloc.buffers[1].stack().ptr(), second_buffer_top_stack); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = help: add `#![feature(raw_vec_internals)]` to the crate attributes to enable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'raw_vec_internals': implementation detail [INFO] [stdout] --> src/double_buffered_allocator.rs:185:45 [INFO] [stdout] | [INFO] [stdout] 185 | assert_eq!(alloc.buffers[0].stack().ptr(), first_buffer_top_stack); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = help: add `#![feature(raw_vec_internals)]` to the crate attributes to enable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'raw_vec_internals': implementation detail [INFO] [stdout] --> src/double_buffered_allocator.rs:186:45 [INFO] [stdout] | [INFO] [stdout] 186 | assert_ne!(alloc.buffers[1].stack().ptr(), second_buffer_top_stack); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = help: add `#![feature(raw_vec_internals)]` to the crate attributes to enable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'raw_vec_internals': implementation detail [INFO] [stdout] --> src/double_ended_allocator.rs:111:37 [INFO] [stdout] | [INFO] [stdout] 111 | let stack: RawVec = RawVec::with_capacity(capacity); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: add `#![feature(raw_vec_internals)]` to the crate attributes to enable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'raw_vec_internals': implementation detail [INFO] [stdout] --> src/double_ended_allocator.rs:112:57 [INFO] [stdout] | [INFO] [stdout] 112 | let current_offset_bottom = Cell::new(stack.ptr() as *mut u8); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = help: add `#![feature(raw_vec_internals)]` to the crate attributes to enable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'raw_vec_internals': implementation detail [INFO] [stdout] --> src/double_ended_allocator.rs:113:54 [INFO] [stdout] | [INFO] [stdout] 113 | let current_offset_top = Cell::new(stack.ptr().offset(capacity as isize) as *mut u8); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = help: add `#![feature(raw_vec_internals)]` to the crate attributes to enable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'raw_vec_internals': implementation detail [INFO] [stdout] --> src/double_ended_allocator.rs:148:51 [INFO] [stdout] | [INFO] [stdout] 148 | self.current_offset_bottom.set(self.stack.ptr()); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = help: add `#![feature(raw_vec_internals)]` to the crate attributes to enable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'raw_vec_internals': implementation detail [INFO] [stdout] --> src/double_ended_allocator.rs:174:42 [INFO] [stdout] | [INFO] [stdout] 174 | let top_stack = self.stack().ptr().offset(self.stack().cap() as isize); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = help: add `#![feature(raw_vec_internals)]` to the crate attributes to enable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `cap` found for reference `&RawVec` in the current scope [INFO] [stdout] --> src/double_ended_allocator.rs:174:68 [INFO] [stdout] | [INFO] [stdout] 174 | let top_stack = self.stack().ptr().offset(self.stack().cap() as isize); [INFO] [stdout] | ^^^ private field, not a method [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'raw_vec_internals': implementation detail [INFO] [stdout] --> src/double_ended_allocator.rs:226:33 [INFO] [stdout] | [INFO] [stdout] 226 | assert!((self.stack.ptr().offset_to(aligned_ptr).unwrap() as usize) < self.stack.cap() / 2); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = help: add `#![feature(raw_vec_internals)]` to the crate attributes to enable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `offset_to` found for raw pointer `*mut u8` in the current scope [INFO] [stdout] --> src/double_ended_allocator.rs:226:39 [INFO] [stdout] | [INFO] [stdout] 226 | assert!((self.stack.ptr().offset_to(aligned_ptr).unwrap() as usize) < self.stack.cap() / 2); [INFO] [stdout] | ^^^^^^^^^ help: there is an associated function with a similar name: `offset` [INFO] [stdout] | [INFO] [stdout] = note: try using `<*const T>::as_ref()` to get a reference to the type behind the pointer: https://doc.rust-lang.org/std/primitive.pointer.html#method.as_ref [INFO] [stdout] = note: using `<*const T>::as_ref()` on a pointer which is unaligned or points to invalid or uninitialized memory is undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `cap` found for struct `RawVec` in the current scope [INFO] [stdout] --> src/double_ended_allocator.rs:226:94 [INFO] [stdout] | [INFO] [stdout] 226 | assert!((self.stack.ptr().offset_to(aligned_ptr).unwrap() as usize) < self.stack.cap() / 2); [INFO] [stdout] | ^^^ private field, not a method [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'raw_vec_internals': implementation detail [INFO] [stdout] --> src/double_ended_allocator.rs:274:50 [INFO] [stdout] | [INFO] [stdout] 274 | let bottom_top_offset = self.stack().ptr().offset_to(old_stack_top).unwrap(); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = help: add `#![feature(raw_vec_internals)]` to the crate attributes to enable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `offset_to` found for raw pointer `*mut u8` in the current scope [INFO] [stdout] --> src/double_ended_allocator.rs:274:56 [INFO] [stdout] | [INFO] [stdout] 274 | let bottom_top_offset = self.stack().ptr().offset_to(old_stack_top).unwrap(); [INFO] [stdout] | ^^^^^^^^^ help: there is an associated function with a similar name: `offset` [INFO] [stdout] | [INFO] [stdout] = note: try using `<*const T>::as_ref()` to get a reference to the type behind the pointer: https://doc.rust-lang.org/std/primitive.pointer.html#method.as_ref [INFO] [stdout] = note: using `<*const T>::as_ref()` on a pointer which is unaligned or points to invalid or uninitialized memory is undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'raw_vec_internals': implementation detail [INFO] [stdout] --> src/double_ended_allocator.rs:277:46 [INFO] [stdout] | [INFO] [stdout] 277 | let unaligned_ptr = self.stack().ptr().offset(bottom_top_offset - offset as isize) as usize; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = help: add `#![feature(raw_vec_internals)]` to the crate attributes to enable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'raw_vec_internals': implementation detail [INFO] [stdout] --> src/double_ended_allocator.rs:292:33 [INFO] [stdout] | [INFO] [stdout] 292 | assert!((self.stack.ptr().offset_to(aligned_ptr).unwrap() as usize) > (self.stack.cap() / 2)); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = help: add `#![feature(raw_vec_internals)]` to the crate attributes to enable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `offset_to` found for raw pointer `*mut u8` in the current scope [INFO] [stdout] --> src/double_ended_allocator.rs:292:39 [INFO] [stdout] | [INFO] [stdout] 292 | assert!((self.stack.ptr().offset_to(aligned_ptr).unwrap() as usize) > (self.stack.cap() / 2)); [INFO] [stdout] | ^^^^^^^^^ help: there is an associated function with a similar name: `offset` [INFO] [stdout] | [INFO] [stdout] = note: try using `<*const T>::as_ref()` to get a reference to the type behind the pointer: https://doc.rust-lang.org/std/primitive.pointer.html#method.as_ref [INFO] [stdout] = note: using `<*const T>::as_ref()` on a pointer which is unaligned or points to invalid or uninitialized memory is undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `cap` found for struct `RawVec` in the current scope [INFO] [stdout] --> src/double_ended_allocator.rs:292:95 [INFO] [stdout] | [INFO] [stdout] 292 | assert!((self.stack.ptr().offset_to(aligned_ptr).unwrap() as usize) > (self.stack.cap() / 2)); [INFO] [stdout] | ^^^ private field, not a method [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'raw_vec_internals': implementation detail [INFO] [stdout] --> src/double_ended_allocator.rs:387:36 [INFO] [stdout] | [INFO] [stdout] 387 | let cap_used = alloc.stack.ptr().offset_to(alloc.current_offset_bottom.get()).unwrap() as usize; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = help: add `#![feature(raw_vec_internals)]` to the crate attributes to enable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `offset_to` found for raw pointer `*mut u8` in the current scope [INFO] [stdout] --> src/double_ended_allocator.rs:387:42 [INFO] [stdout] | [INFO] [stdout] 387 | let cap_used = alloc.stack.ptr().offset_to(alloc.current_offset_bottom.get()).unwrap() as usize; [INFO] [stdout] | ^^^^^^^^^ help: there is an associated function with a similar name: `offset` [INFO] [stdout] | [INFO] [stdout] = note: try using `<*const T>::as_ref()` to get a reference to the type behind the pointer: https://doc.rust-lang.org/std/primitive.pointer.html#method.as_ref [INFO] [stdout] = note: using `<*const T>::as_ref()` on a pointer which is unaligned or points to invalid or uninitialized memory is undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `cap` found for struct `RawVec` in the current scope [INFO] [stdout] --> src/double_ended_allocator.rs:388:42 [INFO] [stdout] | [INFO] [stdout] 388 | let cap_remaining = (alloc.stack.cap() - cap_used) as isize; [INFO] [stdout] | ^^^ private field, not a method [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'raw_vec_internals': implementation detail [INFO] [stdout] --> src/double_ended_allocator.rs:422:36 [INFO] [stdout] | [INFO] [stdout] 422 | let cap_used = alloc.stack.ptr().offset_to(alloc.current_offset_bottom.get()).unwrap() as usize; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = help: add `#![feature(raw_vec_internals)]` to the crate attributes to enable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `offset_to` found for raw pointer `*mut u8` in the current scope [INFO] [stdout] --> src/double_ended_allocator.rs:422:42 [INFO] [stdout] | [INFO] [stdout] 422 | let cap_used = alloc.stack.ptr().offset_to(alloc.current_offset_bottom.get()).unwrap() as usize; [INFO] [stdout] | ^^^^^^^^^ help: there is an associated function with a similar name: `offset` [INFO] [stdout] | [INFO] [stdout] = note: try using `<*const T>::as_ref()` to get a reference to the type behind the pointer: https://doc.rust-lang.org/std/primitive.pointer.html#method.as_ref [INFO] [stdout] = note: using `<*const T>::as_ref()` on a pointer which is unaligned or points to invalid or uninitialized memory is undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `cap` found for struct `RawVec` in the current scope [INFO] [stdout] --> src/double_ended_allocator.rs:423:42 [INFO] [stdout] | [INFO] [stdout] 423 | let cap_remaining = (alloc.stack.cap() - cap_used) as isize; [INFO] [stdout] | ^^^ private field, not a method [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'raw_vec_internals': implementation detail [INFO] [stdout] --> src/double_ended_allocator.rs:448:36 [INFO] [stdout] | [INFO] [stdout] 448 | let cap_used = alloc.stack.ptr().offset_to(alloc.current_offset_bottom.get()).unwrap() as usize; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = help: add `#![feature(raw_vec_internals)]` to the crate attributes to enable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `offset_to` found for raw pointer `*mut u8` in the current scope [INFO] [stdout] --> src/double_ended_allocator.rs:448:42 [INFO] [stdout] | [INFO] [stdout] 448 | let cap_used = alloc.stack.ptr().offset_to(alloc.current_offset_bottom.get()).unwrap() as usize; [INFO] [stdout] | ^^^^^^^^^ help: there is an associated function with a similar name: `offset` [INFO] [stdout] | [INFO] [stdout] = note: try using `<*const T>::as_ref()` to get a reference to the type behind the pointer: https://doc.rust-lang.org/std/primitive.pointer.html#method.as_ref [INFO] [stdout] = note: using `<*const T>::as_ref()` on a pointer which is unaligned or points to invalid or uninitialized memory is undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `cap` found for struct `RawVec` in the current scope [INFO] [stdout] --> src/double_ended_allocator.rs:449:42 [INFO] [stdout] | [INFO] [stdout] 449 | let cap_remaining = (alloc.stack.cap() - cap_used) as isize; [INFO] [stdout] | ^^^ private field, not a method [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'raw_vec_internals': implementation detail [INFO] [stdout] --> src/double_ended_allocator.rs:473:36 [INFO] [stdout] | [INFO] [stdout] 473 | let cap_used = alloc.stack.ptr().offset_to(alloc.current_offset_bottom.get()).unwrap() as usize; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = help: add `#![feature(raw_vec_internals)]` to the crate attributes to enable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `offset_to` found for raw pointer `*mut u8` in the current scope [INFO] [stdout] --> src/double_ended_allocator.rs:473:42 [INFO] [stdout] | [INFO] [stdout] 473 | let cap_used = alloc.stack.ptr().offset_to(alloc.current_offset_bottom.get()).unwrap() as usize; [INFO] [stdout] | ^^^^^^^^^ help: there is an associated function with a similar name: `offset` [INFO] [stdout] | [INFO] [stdout] = note: try using `<*const T>::as_ref()` to get a reference to the type behind the pointer: https://doc.rust-lang.org/std/primitive.pointer.html#method.as_ref [INFO] [stdout] = note: using `<*const T>::as_ref()` on a pointer which is unaligned or points to invalid or uninitialized memory is undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `cap` found for struct `RawVec` in the current scope [INFO] [stdout] --> src/double_ended_allocator.rs:474:42 [INFO] [stdout] | [INFO] [stdout] 474 | let cap_remaining = (alloc.stack.cap() - cap_used) as isize; [INFO] [stdout] | ^^^ private field, not a method [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `offset_to` found for raw pointer `*mut u8` in the current scope [INFO] [stdout] --> src/double_ended_allocator.rs:490:35 [INFO] [stdout] | [INFO] [stdout] 490 | let cap_used = (top_stack.offset_to(alloc.current_offset_top.get()).unwrap() * -1) as usize; [INFO] [stdout] | ^^^^^^^^^ help: there is an associated function with a similar name: `offset` [INFO] [stdout] | [INFO] [stdout] = note: try using `<*const T>::as_ref()` to get a reference to the type behind the pointer: https://doc.rust-lang.org/std/primitive.pointer.html#method.as_ref [INFO] [stdout] = note: using `<*const T>::as_ref()` on a pointer which is unaligned or points to invalid or uninitialized memory is undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `cap` found for struct `RawVec` in the current scope [INFO] [stdout] --> src/double_ended_allocator.rs:491:42 [INFO] [stdout] | [INFO] [stdout] 491 | let cap_remaining = (alloc.stack.cap() - cap_used) as isize; [INFO] [stdout] | ^^^ private field, not a method [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 70 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: build failed [INFO] running `Command { std: "docker" "inspect" "78435c80cb1651d9b8f06b2abcd1b4bfa4517c58f1672538fd50a8bae8d2a491", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "78435c80cb1651d9b8f06b2abcd1b4bfa4517c58f1672538fd50a8bae8d2a491", kill_on_drop: false }` [INFO] [stdout] 78435c80cb1651d9b8f06b2abcd1b4bfa4517c58f1672538fd50a8bae8d2a491