[INFO] crate maskerad_stack_allocator 1.1.2 is already in cache [INFO] extracting crate maskerad_stack_allocator 1.1.2 into work/ex/pr-63376/sources/master#60960a260f7b5c695fd0717311d72ce62dd4eb43/reg/maskerad_stack_allocator/1.1.2 [INFO] extracting crate maskerad_stack_allocator 1.1.2 into work/ex/pr-63376/sources/try#266783e4e09e4e9d5307c1c8e695659c58bbcac7/reg/maskerad_stack_allocator/1.1.2 [INFO] validating manifest of maskerad_stack_allocator-1.1.2 on toolchain master#60960a260f7b5c695fd0717311d72ce62dd4eb43 [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+60960a260f7b5c695fd0717311d72ce62dd4eb43-alt" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] validating manifest of maskerad_stack_allocator-1.1.2 on toolchain try#266783e4e09e4e9d5307c1c8e695659c58bbcac7 [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+266783e4e09e4e9d5307c1c8e695659c58bbcac7-alt" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started frobbing maskerad_stack_allocator-1.1.2 [INFO] finished frobbing maskerad_stack_allocator-1.1.2 [INFO] frobbed toml for maskerad_stack_allocator-1.1.2 written to work/ex/pr-63376/sources/master#60960a260f7b5c695fd0717311d72ce62dd4eb43/reg/maskerad_stack_allocator/1.1.2/Cargo.toml [INFO] started frobbing maskerad_stack_allocator-1.1.2 [INFO] finished frobbing maskerad_stack_allocator-1.1.2 [INFO] frobbed toml for maskerad_stack_allocator-1.1.2 written to work/ex/pr-63376/sources/try#266783e4e09e4e9d5307c1c8e695659c58bbcac7/reg/maskerad_stack_allocator/1.1.2/Cargo.toml [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+60960a260f7b5c695fd0717311d72ce62dd4eb43-alt" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+266783e4e09e4e9d5307c1c8e695659c58bbcac7-alt" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+60960a260f7b5c695fd0717311d72ce62dd4eb43-alt" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+266783e4e09e4e9d5307c1c8e695659c58bbcac7-alt" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] checking maskerad_stack_allocator-1.1.2 against try#266783e4e09e4e9d5307c1c8e695659c58bbcac7 for pr-63376 [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/pr-63376/worker-6/try#266783e4e09e4e9d5307c1c8e695659c58bbcac7:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/pr-63376/sources/try#266783e4e09e4e9d5307c1c8e695659c58bbcac7/reg/maskerad_stack_allocator/1.1.2:/opt/crater/workdir:ro,Z" "-v" "/mnt/big/crater/work/local/cargo-home:/opt/crater/cargo-home:ro,Z" "-v" "/mnt/big/crater/work/local/rustup-home:/opt/crater/rustup-home:ro,Z" "-e" "USER_ID=1000" "-e" "SOURCE_DIR=/opt/crater/workdir" "-e" "MAP_USER_ID=1000" "-e" "CARGO_TARGET_DIR=/opt/crater/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/crater/cargo-home" "-e" "RUSTUP_HOME=/opt/crater/rustup-home" "-w" "/opt/crater/workdir" "-m" "1536M" "--network" "none" "rustops/crates-build-env" "/opt/crater/cargo-home/bin/cargo" "+266783e4e09e4e9d5307c1c8e695659c58bbcac7-alt" "check" "--frozen" "--all" "--all-targets"` [INFO] [stdout] 55a1a38703351447726c5e88651a7d01bc0c03ed142182655d8365203e75bc3c [INFO] running `"docker" "start" "-a" "55a1a38703351447726c5e88651a7d01bc0c03ed142182655d8365203e75bc3c"` [INFO] [stderr] Checking maskerad_stack_allocator v1.1.2 (/opt/crater/workdir) [INFO] [stderr] error[E0432]: unresolved import `alloc::allocator` [INFO] [stderr] --> src/stack_allocator.rs:9:12 [INFO] [stderr] | [INFO] [stderr] 9 | use alloc::allocator::Layout; [INFO] [stderr] | ^^^^^^^^^ could not find `allocator` in `alloc` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `alloc::allocator` [INFO] [stderr] --> src/double_ended_allocator.rs:9:12 [INFO] [stderr] | [INFO] [stderr] 9 | use alloc::allocator::Layout; [INFO] [stderr] | ^^^^^^^^^ could not find `allocator` in `alloc` [INFO] [stderr] [INFO] [stderr] error[E0658]: use of unstable library feature 'raw_vec_internals': implementation detail [INFO] [stderr] --> src/stack_allocator.rs:8:5 [INFO] [stderr] | [INFO] [stderr] 8 | use alloc::raw_vec::RawVec; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: add `#![feature(raw_vec_internals)]` to the crate attributes to enable [INFO] [stderr] [INFO] [stderr] error[E0658]: use of unstable library feature 'raw_vec_internals': implementation detail [INFO] [stderr] --> src/stack_allocator.rs:71:12 [INFO] [stderr] | [INFO] [stderr] 71 | stack: RawVec, [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: add `#![feature(raw_vec_internals)]` to the crate attributes to enable [INFO] [stderr] [INFO] [stderr] error[E0658]: use of unstable library feature 'raw_vec_internals': implementation detail [INFO] [stderr] --> src/stack_allocator.rs:91:21 [INFO] [stderr] | [INFO] [stderr] 91 | let stack = RawVec::with_capacity(capacity); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: add `#![feature(raw_vec_internals)]` to the crate attributes to enable [INFO] [stderr] [INFO] [stderr] error[E0658]: use of unstable library feature 'raw_vec_internals': implementation detail [INFO] [stderr] --> src/stack_allocator.rs:100:29 [INFO] [stderr] | [INFO] [stderr] 100 | pub fn stack(&self) -> &RawVec { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: add `#![feature(raw_vec_internals)]` to the crate attributes to enable [INFO] [stderr] [INFO] [stderr] error[E0658]: use of unstable library feature 'raw_vec_internals': implementation detail [INFO] [stderr] --> src/double_ended_allocator.rs:8:5 [INFO] [stderr] | [INFO] [stderr] 8 | use alloc::raw_vec::RawVec; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: add `#![feature(raw_vec_internals)]` to the crate attributes to enable [INFO] [stderr] [INFO] [stderr] error[E0658]: use of unstable library feature 'raw_vec_internals': implementation detail [INFO] [stderr] --> src/double_ended_allocator.rs:87:12 [INFO] [stderr] | [INFO] [stderr] 87 | stack: RawVec, [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: add `#![feature(raw_vec_internals)]` to the crate attributes to enable [INFO] [stderr] [INFO] [stderr] error[E0658]: use of unstable library feature 'raw_vec_internals': implementation detail [INFO] [stderr] --> src/double_ended_allocator.rs:111:37 [INFO] [stderr] | [INFO] [stderr] 111 | let stack: RawVec = RawVec::with_capacity(capacity); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: add `#![feature(raw_vec_internals)]` to the crate attributes to enable [INFO] [stderr] [INFO] [stderr] error[E0658]: use of unstable library feature 'raw_vec_internals': implementation detail [INFO] [stderr] --> src/double_ended_allocator.rs:111:24 [INFO] [stderr] | [INFO] [stderr] 111 | let stack: RawVec = RawVec::with_capacity(capacity); [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: add `#![feature(raw_vec_internals)]` to the crate attributes to enable [INFO] [stderr] [INFO] [stderr] error[E0658]: use of unstable library feature 'raw_vec_internals': implementation detail [INFO] [stderr] --> src/double_ended_allocator.rs:126:29 [INFO] [stderr] | [INFO] [stderr] 126 | pub fn stack(&self) -> &RawVec { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: add `#![feature(raw_vec_internals)]` to the crate attributes to enable [INFO] [stderr] [INFO] [stderr] error[E0658]: use of unstable library feature 'raw_vec_internals': implementation detail [INFO] [stderr] --> src/stack_allocator.rs:92:46 [INFO] [stderr] | [INFO] [stderr] 92 | let current_offset = Cell::new(stack.ptr() as *mut u8); [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = help: add `#![feature(raw_vec_internals)]` to the crate attributes to enable [INFO] [stderr] [INFO] [stderr] error[E0658]: use of unstable library feature 'raw_vec_internals': implementation detail [INFO] [stderr] --> src/stack_allocator.rs:122:44 [INFO] [stderr] | [INFO] [stderr] 122 | self.current_offset.set(self.stack.ptr()); [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = help: add `#![feature(raw_vec_internals)]` to the crate attributes to enable [INFO] [stderr] [INFO] [stderr] error[E0658]: use of unstable library feature 'raw_vec_internals': implementation detail [INFO] [stderr] --> src/stack_allocator.rs:168:33 [INFO] [stderr] | [INFO] [stderr] 168 | assert!((self.stack.ptr().offset_to(aligned_ptr).unwrap() as usize) < self.stack.cap()); [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = help: add `#![feature(raw_vec_internals)]` to the crate attributes to enable [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `offset_to` found for type `*mut u8` in the current scope [INFO] [stderr] --> src/stack_allocator.rs:168:39 [INFO] [stderr] | [INFO] [stderr] 168 | assert!((self.stack.ptr().offset_to(aligned_ptr).unwrap() as usize) < self.stack.cap()); [INFO] [stderr] | ^^^^^^^^^ help: there is a method with a similar name: `offset` [INFO] [stderr] | [INFO] [stderr] = 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] [stderr] = note: using `<*const T>::as_ref()` on a pointer which is unaligned or points to invalid or uninitialized memory is undefined behavior [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `cap` found for type `alloc::raw_vec::RawVec` in the current scope [INFO] [stderr] --> src/stack_allocator.rs:168:94 [INFO] [stderr] | [INFO] [stderr] 168 | assert!((self.stack.ptr().offset_to(aligned_ptr).unwrap() as usize) < self.stack.cap()); [INFO] [stderr] | ^^^ private field, not a method [INFO] [stderr] [INFO] [stderr] error[E0658]: use of unstable library feature 'raw_vec_internals': implementation detail [INFO] [stderr] --> src/double_ended_allocator.rs:112:57 [INFO] [stderr] | [INFO] [stderr] 112 | let current_offset_bottom = Cell::new(stack.ptr() as *mut u8); [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = help: add `#![feature(raw_vec_internals)]` to the crate attributes to enable [INFO] [stderr] [INFO] [stderr] error[E0658]: use of unstable library feature 'raw_vec_internals': implementation detail [INFO] [stderr] --> src/double_ended_allocator.rs:113:54 [INFO] [stderr] | [INFO] [stderr] 113 | let current_offset_top = Cell::new(stack.ptr().offset(capacity as isize) as *mut u8); [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = help: add `#![feature(raw_vec_internals)]` to the crate attributes to enable [INFO] [stderr] [INFO] [stderr] error[E0658]: use of unstable library feature 'raw_vec_internals': implementation detail [INFO] [stderr] --> src/double_ended_allocator.rs:148:51 [INFO] [stderr] | [INFO] [stderr] 148 | self.current_offset_bottom.set(self.stack.ptr()); [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = help: add `#![feature(raw_vec_internals)]` to the crate attributes to enable [INFO] [stderr] [INFO] [stderr] error[E0658]: use of unstable library feature 'raw_vec_internals': implementation detail [INFO] [stderr] --> src/double_ended_allocator.rs:174:42 [INFO] [stderr] | [INFO] [stderr] 174 | let top_stack = self.stack().ptr().offset(self.stack().cap() as isize); [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = help: add `#![feature(raw_vec_internals)]` to the crate attributes to enable [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `cap` found for type `&alloc::raw_vec::RawVec` in the current scope [INFO] [stderr] --> src/double_ended_allocator.rs:174:68 [INFO] [stderr] | [INFO] [stderr] 174 | let top_stack = self.stack().ptr().offset(self.stack().cap() as isize); [INFO] [stderr] | ^^^ private field, not a method [INFO] [stderr] [INFO] [stderr] error[E0658]: use of unstable library feature 'raw_vec_internals': implementation detail [INFO] [stderr] --> src/double_ended_allocator.rs:226:33 [INFO] [stderr] | [INFO] [stderr] 226 | assert!((self.stack.ptr().offset_to(aligned_ptr).unwrap() as usize) < self.stack.cap() / 2); [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = help: add `#![feature(raw_vec_internals)]` to the crate attributes to enable [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `offset_to` found for type `*mut u8` in the current scope [INFO] [stderr] --> src/double_ended_allocator.rs:226:39 [INFO] [stderr] | [INFO] [stderr] 226 | assert!((self.stack.ptr().offset_to(aligned_ptr).unwrap() as usize) < self.stack.cap() / 2); [INFO] [stderr] | ^^^^^^^^^ help: there is a method with a similar name: `offset` [INFO] [stderr] | [INFO] [stderr] = 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] [stderr] = note: using `<*const T>::as_ref()` on a pointer which is unaligned or points to invalid or uninitialized memory is undefined behavior [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `cap` found for type `alloc::raw_vec::RawVec` in the current scope [INFO] [stderr] --> src/double_ended_allocator.rs:226:94 [INFO] [stderr] | [INFO] [stderr] 226 | assert!((self.stack.ptr().offset_to(aligned_ptr).unwrap() as usize) < self.stack.cap() / 2); [INFO] [stderr] | ^^^ private field, not a method [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `alloc::allocator` [INFO] [stderr] --> src/stack_allocator.rs:9:12 [INFO] [stderr] | [INFO] [stderr] 9 | use alloc::allocator::Layout; [INFO] [stderr] | ^^^^^^^^^ could not find `allocator` in `alloc` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `alloc::allocator` [INFO] [stderr] --> src/double_ended_allocator.rs:9:12 [INFO] [stderr] | [INFO] [stderr] 9 | use alloc::allocator::Layout; [INFO] [stderr] | ^^^^^^^^^ could not find `allocator` in `alloc` [INFO] [stderr] [INFO] [stderr] error[E0658]: use of unstable library feature 'raw_vec_internals': implementation detail [INFO] [stderr] --> src/double_ended_allocator.rs:274:50 [INFO] [stderr] | [INFO] [stderr] 274 | let bottom_top_offset = self.stack().ptr().offset_to(old_stack_top).unwrap(); [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = help: add `#![feature(raw_vec_internals)]` to the crate attributes to enable [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `offset_to` found for type `*mut u8` in the current scope [INFO] [stderr] --> src/double_ended_allocator.rs:274:56 [INFO] [stderr] | [INFO] [stderr] 274 | let bottom_top_offset = self.stack().ptr().offset_to(old_stack_top).unwrap(); [INFO] [stderr] | ^^^^^^^^^ help: there is a method with a similar name: `offset` [INFO] [stderr] | [INFO] [stderr] = 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] [stderr] = note: using `<*const T>::as_ref()` on a pointer which is unaligned or points to invalid or uninitialized memory is undefined behavior [INFO] [stderr] [INFO] [stderr] error[E0658]: use of unstable library feature 'raw_vec_internals': implementation detail [INFO] [stderr] --> src/double_ended_allocator.rs:277:46 [INFO] [stderr] | [INFO] [stderr] 277 | let unaligned_ptr = self.stack().ptr().offset(bottom_top_offset - offset as isize) as usize; [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = help: add `#![feature(raw_vec_internals)]` to the crate attributes to enable [INFO] [stderr] [INFO] [stderr] error[E0658]: use of unstable library feature 'raw_vec_internals': implementation detail [INFO] [stderr] --> src/double_ended_allocator.rs:292:33 [INFO] [stderr] | [INFO] [stderr] 292 | assert!((self.stack.ptr().offset_to(aligned_ptr).unwrap() as usize) > (self.stack.cap() / 2)); [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = help: add `#![feature(raw_vec_internals)]` to the crate attributes to enable [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `offset_to` found for type `*mut u8` in the current scope [INFO] [stderr] --> src/double_ended_allocator.rs:292:39 [INFO] [stderr] | [INFO] [stderr] 292 | assert!((self.stack.ptr().offset_to(aligned_ptr).unwrap() as usize) > (self.stack.cap() / 2)); [INFO] [stderr] | ^^^^^^^^^ help: there is a method with a similar name: `offset` [INFO] [stderr] | [INFO] [stderr] = 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] [stderr] = note: using `<*const T>::as_ref()` on a pointer which is unaligned or points to invalid or uninitialized memory is undefined behavior [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `cap` found for type `alloc::raw_vec::RawVec` in the current scope [INFO] [stderr] --> src/double_ended_allocator.rs:292:95 [INFO] [stderr] | [INFO] [stderr] 292 | assert!((self.stack.ptr().offset_to(aligned_ptr).unwrap() as usize) > (self.stack.cap() / 2)); [INFO] [stderr] | ^^^ private field, not a method [INFO] [stderr] [INFO] [stderr] error: aborting due to 30 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0432, E0599, E0658. [INFO] [stderr] For more information about an error, try `rustc --explain E0432`. [INFO] [stderr] error: Could not compile `maskerad_stack_allocator`. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error[E0658]: use of unstable library feature 'raw_vec_internals': implementation detail [INFO] [stderr] --> src/stack_allocator.rs:8:5 [INFO] [stderr] | [INFO] [stderr] 8 | use alloc::raw_vec::RawVec; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: add `#![feature(raw_vec_internals)]` to the crate attributes to enable [INFO] [stderr] [INFO] [stderr] error[E0658]: use of unstable library feature 'raw_vec_internals': implementation detail [INFO] [stderr] --> src/stack_allocator.rs:71:12 [INFO] [stderr] | [INFO] [stderr] 71 | stack: RawVec, [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: add `#![feature(raw_vec_internals)]` to the crate attributes to enable [INFO] [stderr] [INFO] [stderr] error[E0658]: use of unstable library feature 'raw_vec_internals': implementation detail [INFO] [stderr] --> src/stack_allocator.rs:91:21 [INFO] [stderr] | [INFO] [stderr] 91 | let stack = RawVec::with_capacity(capacity); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: add `#![feature(raw_vec_internals)]` to the crate attributes to enable [INFO] [stderr] [INFO] [stderr] error[E0658]: use of unstable library feature 'raw_vec_internals': implementation detail [INFO] [stderr] --> src/stack_allocator.rs:100:29 [INFO] [stderr] | [INFO] [stderr] 100 | pub fn stack(&self) -> &RawVec { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: add `#![feature(raw_vec_internals)]` to the crate attributes to enable [INFO] [stderr] [INFO] [stderr] error[E0658]: use of unstable library feature 'raw_vec_internals': implementation detail [INFO] [stderr] --> src/double_ended_allocator.rs:8:5 [INFO] [stderr] | [INFO] [stderr] 8 | use alloc::raw_vec::RawVec; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: add `#![feature(raw_vec_internals)]` to the crate attributes to enable [INFO] [stderr] [INFO] [stderr] error[E0658]: use of unstable library feature 'raw_vec_internals': implementation detail [INFO] [stderr] --> src/double_ended_allocator.rs:87:12 [INFO] [stderr] | [INFO] [stderr] 87 | stack: RawVec, [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: add `#![feature(raw_vec_internals)]` to the crate attributes to enable [INFO] [stderr] [INFO] [stderr] error[E0658]: use of unstable library feature 'raw_vec_internals': implementation detail [INFO] [stderr] --> src/double_ended_allocator.rs:111:37 [INFO] [stderr] | [INFO] [stderr] 111 | let stack: RawVec = RawVec::with_capacity(capacity); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: add `#![feature(raw_vec_internals)]` to the crate attributes to enable [INFO] [stderr] [INFO] [stderr] error[E0658]: use of unstable library feature 'raw_vec_internals': implementation detail [INFO] [stderr] --> src/double_ended_allocator.rs:111:24 [INFO] [stderr] | [INFO] [stderr] 111 | let stack: RawVec = RawVec::with_capacity(capacity); [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: add `#![feature(raw_vec_internals)]` to the crate attributes to enable [INFO] [stderr] [INFO] [stderr] error[E0658]: use of unstable library feature 'raw_vec_internals': implementation detail [INFO] [stderr] --> src/double_ended_allocator.rs:126:29 [INFO] [stderr] | [INFO] [stderr] 126 | pub fn stack(&self) -> &RawVec { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: add `#![feature(raw_vec_internals)]` to the crate attributes to enable [INFO] [stderr] [INFO] [stderr] error[E0658]: use of unstable library feature 'raw_vec_internals': implementation detail [INFO] [stderr] --> src/stack_allocator.rs:92:46 [INFO] [stderr] | [INFO] [stderr] 92 | let current_offset = Cell::new(stack.ptr() as *mut u8); [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = help: add `#![feature(raw_vec_internals)]` to the crate attributes to enable [INFO] [stderr] [INFO] [stderr] error[E0658]: use of unstable library feature 'raw_vec_internals': implementation detail [INFO] [stderr] --> src/stack_allocator.rs:122:44 [INFO] [stderr] | [INFO] [stderr] 122 | self.current_offset.set(self.stack.ptr()); [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = help: add `#![feature(raw_vec_internals)]` to the crate attributes to enable [INFO] [stderr] [INFO] [stderr] error[E0658]: use of unstable library feature 'raw_vec_internals': implementation detail [INFO] [stderr] --> src/stack_allocator.rs:168:33 [INFO] [stderr] | [INFO] [stderr] 168 | assert!((self.stack.ptr().offset_to(aligned_ptr).unwrap() as usize) < self.stack.cap()); [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = help: add `#![feature(raw_vec_internals)]` to the crate attributes to enable [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `offset_to` found for type `*mut u8` in the current scope [INFO] [stderr] --> src/stack_allocator.rs:168:39 [INFO] [stderr] | [INFO] [stderr] 168 | assert!((self.stack.ptr().offset_to(aligned_ptr).unwrap() as usize) < self.stack.cap()); [INFO] [stderr] | ^^^^^^^^^ help: there is a method with a similar name: `offset` [INFO] [stderr] | [INFO] [stderr] = 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] [stderr] = note: using `<*const T>::as_ref()` on a pointer which is unaligned or points to invalid or uninitialized memory is undefined behavior [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `cap` found for type `alloc::raw_vec::RawVec` in the current scope [INFO] [stderr] --> src/stack_allocator.rs:168:94 [INFO] [stderr] | [INFO] [stderr] 168 | assert!((self.stack.ptr().offset_to(aligned_ptr).unwrap() as usize) < self.stack.cap()); [INFO] [stderr] | ^^^ private field, not a method [INFO] [stderr] [INFO] [stderr] error[E0658]: use of unstable library feature 'raw_vec_internals': implementation detail [INFO] [stderr] --> src/stack_allocator.rs:235:36 [INFO] [stderr] | [INFO] [stderr] 235 | let cap_used = alloc.stack.ptr().offset_to(alloc.current_offset.get()).unwrap() as usize; [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = help: add `#![feature(raw_vec_internals)]` to the crate attributes to enable [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `offset_to` found for type `*mut u8` in the current scope [INFO] [stderr] --> src/stack_allocator.rs:235:42 [INFO] [stderr] | [INFO] [stderr] 235 | let cap_used = alloc.stack.ptr().offset_to(alloc.current_offset.get()).unwrap() as usize; [INFO] [stderr] | ^^^^^^^^^ help: there is a method with a similar name: `offset` [INFO] [stderr] | [INFO] [stderr] = 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] [stderr] = note: using `<*const T>::as_ref()` on a pointer which is unaligned or points to invalid or uninitialized memory is undefined behavior [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `cap` found for type `alloc::raw_vec::RawVec` in the current scope [INFO] [stderr] --> src/stack_allocator.rs:236:42 [INFO] [stderr] | [INFO] [stderr] 236 | let cap_remaining = (alloc.stack.cap() - cap_used) as isize; [INFO] [stderr] | ^^^ private field, not a method [INFO] [stderr] [INFO] [stderr] error[E0658]: use of unstable library feature 'raw_vec_internals': implementation detail [INFO] [stderr] --> src/stack_allocator.rs:270:36 [INFO] [stderr] | [INFO] [stderr] 270 | let cap_used = alloc.stack.ptr().offset_to(alloc.current_offset.get()).unwrap() as usize; [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = help: add `#![feature(raw_vec_internals)]` to the crate attributes to enable [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `offset_to` found for type `*mut u8` in the current scope [INFO] [stderr] --> src/stack_allocator.rs:270:42 [INFO] [stderr] | [INFO] [stderr] 270 | let cap_used = alloc.stack.ptr().offset_to(alloc.current_offset.get()).unwrap() as usize; [INFO] [stderr] | ^^^^^^^^^ help: there is a method with a similar name: `offset` [INFO] [stderr] | [INFO] [stderr] = 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] [stderr] = note: using `<*const T>::as_ref()` on a pointer which is unaligned or points to invalid or uninitialized memory is undefined behavior [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `cap` found for type `alloc::raw_vec::RawVec` in the current scope [INFO] [stderr] --> src/stack_allocator.rs:271:42 [INFO] [stderr] | [INFO] [stderr] 271 | let cap_remaining = (alloc.stack.cap() - cap_used) as isize; [INFO] [stderr] | ^^^ private field, not a method [INFO] [stderr] [INFO] [stderr] error[E0658]: use of unstable library feature 'raw_vec_internals': implementation detail [INFO] [stderr] --> src/stack_allocator.rs:296:36 [INFO] [stderr] | [INFO] [stderr] 296 | let cap_used = alloc.stack.ptr().offset_to(alloc.current_offset.get()).unwrap() as usize; [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = help: add `#![feature(raw_vec_internals)]` to the crate attributes to enable [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `offset_to` found for type `*mut u8` in the current scope [INFO] [stderr] --> src/stack_allocator.rs:296:42 [INFO] [stderr] | [INFO] [stderr] 296 | let cap_used = alloc.stack.ptr().offset_to(alloc.current_offset.get()).unwrap() as usize; [INFO] [stderr] | ^^^^^^^^^ help: there is a method with a similar name: `offset` [INFO] [stderr] | [INFO] [stderr] = 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] [stderr] = note: using `<*const T>::as_ref()` on a pointer which is unaligned or points to invalid or uninitialized memory is undefined behavior [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `cap` found for type `alloc::raw_vec::RawVec` in the current scope [INFO] [stderr] --> src/stack_allocator.rs:297:42 [INFO] [stderr] | [INFO] [stderr] 297 | let cap_remaining = (alloc.stack.cap() - cap_used) as isize; [INFO] [stderr] | ^^^ private field, not a method [INFO] [stderr] [INFO] [stderr] error[E0658]: use of unstable library feature 'raw_vec_internals': implementation detail [INFO] [stderr] --> src/stack_allocator.rs:321:36 [INFO] [stderr] | [INFO] [stderr] 321 | let cap_used = alloc.stack.ptr().offset_to(alloc.current_offset.get()).unwrap() as usize; [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = help: add `#![feature(raw_vec_internals)]` to the crate attributes to enable [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `offset_to` found for type `*mut u8` in the current scope [INFO] [stderr] --> src/stack_allocator.rs:321:42 [INFO] [stderr] | [INFO] [stderr] 321 | let cap_used = alloc.stack.ptr().offset_to(alloc.current_offset.get()).unwrap() as usize; [INFO] [stderr] | ^^^^^^^^^ help: there is a method with a similar name: `offset` [INFO] [stderr] | [INFO] [stderr] = 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] [stderr] = note: using `<*const T>::as_ref()` on a pointer which is unaligned or points to invalid or uninitialized memory is undefined behavior [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `cap` found for type `alloc::raw_vec::RawVec` in the current scope [INFO] [stderr] --> src/stack_allocator.rs:322:42 [INFO] [stderr] | [INFO] [stderr] 322 | let cap_remaining = (alloc.stack.cap() - cap_used) as isize; [INFO] [stderr] | ^^^ private field, not a method [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `cap` found for type `&alloc::raw_vec::RawVec` in the current scope [INFO] [stderr] --> src/double_buffered_allocator.rs:144:50 [INFO] [stderr] | [INFO] [stderr] 144 | assert_eq!(alloc.active_buffer().stack().cap(), 100); [INFO] [stderr] | ^^^ private field, not a method [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `cap` found for type `&alloc::raw_vec::RawVec` in the current scope [INFO] [stderr] --> src/double_buffered_allocator.rs:145:52 [INFO] [stderr] | [INFO] [stderr] 145 | assert_eq!(alloc.inactive_buffer().stack().cap(), 100); [INFO] [stderr] | ^^^ private field, not a method [INFO] [stderr] [INFO] [stderr] error[E0658]: use of unstable library feature 'raw_vec_internals': implementation detail [INFO] [stderr] --> src/double_buffered_allocator.rs:154:50 [INFO] [stderr] | [INFO] [stderr] 154 | assert_eq!(alloc.active_buffer().stack().ptr(), active_buffer_top_stack); [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = help: add `#![feature(raw_vec_internals)]` to the crate attributes to enable [INFO] [stderr] [INFO] [stderr] error[E0658]: use of unstable library feature 'raw_vec_internals': implementation detail [INFO] [stderr] --> src/double_buffered_allocator.rs:155:52 [INFO] [stderr] | [INFO] [stderr] 155 | assert_eq!(alloc.inactive_buffer().stack().ptr(), inactive_buffer_top_stack); [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = help: add `#![feature(raw_vec_internals)]` to the crate attributes to enable [INFO] [stderr] [INFO] [stderr] error[E0658]: use of unstable library feature 'raw_vec_internals': implementation detail [INFO] [stderr] --> src/double_buffered_allocator.rs:161:50 [INFO] [stderr] | [INFO] [stderr] 161 | assert_ne!(alloc.active_buffer().stack().ptr(), active_buffer_top_stack); [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = help: add `#![feature(raw_vec_internals)]` to the crate attributes to enable [INFO] [stderr] [INFO] [stderr] error[E0658]: use of unstable library feature 'raw_vec_internals': implementation detail [INFO] [stderr] --> src/double_buffered_allocator.rs:162:52 [INFO] [stderr] | [INFO] [stderr] 162 | assert_eq!(alloc.inactive_buffer().stack().ptr(), inactive_buffer_top_stack); [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = help: add `#![feature(raw_vec_internals)]` to the crate attributes to enable [INFO] [stderr] [INFO] [stderr] error[E0658]: use of unstable library feature 'raw_vec_internals': implementation detail [INFO] [stderr] --> src/double_buffered_allocator.rs:168:50 [INFO] [stderr] | [INFO] [stderr] 168 | assert_eq!(alloc.active_buffer().stack().ptr(), active_buffer_top_stack); [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = help: add `#![feature(raw_vec_internals)]` to the crate attributes to enable [INFO] [stderr] [INFO] [stderr] error[E0658]: use of unstable library feature 'raw_vec_internals': implementation detail [INFO] [stderr] --> src/double_buffered_allocator.rs:169:52 [INFO] [stderr] | [INFO] [stderr] 169 | assert_eq!(alloc.inactive_buffer().stack().ptr(), inactive_buffer_top_stack); [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = help: add `#![feature(raw_vec_internals)]` to the crate attributes to enable [INFO] [stderr] [INFO] [stderr] error[E0658]: use of unstable library feature 'raw_vec_internals': implementation detail [INFO] [stderr] --> src/double_buffered_allocator.rs:178:45 [INFO] [stderr] | [INFO] [stderr] 178 | assert_eq!(alloc.buffers[0].stack().ptr(), first_buffer_top_stack); [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = help: add `#![feature(raw_vec_internals)]` to the crate attributes to enable [INFO] [stderr] [INFO] [stderr] error[E0658]: use of unstable library feature 'raw_vec_internals': implementation detail [INFO] [stderr] --> src/double_buffered_allocator.rs:179:45 [INFO] [stderr] | [INFO] [stderr] 179 | assert_eq!(alloc.buffers[1].stack().ptr(), second_buffer_top_stack); [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = help: add `#![feature(raw_vec_internals)]` to the crate attributes to enable [INFO] [stderr] [INFO] [stderr] error[E0658]: use of unstable library feature 'raw_vec_internals': implementation detail [INFO] [stderr] --> src/double_buffered_allocator.rs:185:45 [INFO] [stderr] | [INFO] [stderr] 185 | assert_eq!(alloc.buffers[0].stack().ptr(), first_buffer_top_stack); [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = help: add `#![feature(raw_vec_internals)]` to the crate attributes to enable [INFO] [stderr] [INFO] [stderr] error[E0658]: use of unstable library feature 'raw_vec_internals': implementation detail [INFO] [stderr] --> src/double_buffered_allocator.rs:186:45 [INFO] [stderr] | [INFO] [stderr] 186 | assert_ne!(alloc.buffers[1].stack().ptr(), second_buffer_top_stack); [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = help: add `#![feature(raw_vec_internals)]` to the crate attributes to enable [INFO] [stderr] [INFO] [stderr] error[E0658]: use of unstable library feature 'raw_vec_internals': implementation detail [INFO] [stderr] --> src/double_ended_allocator.rs:112:57 [INFO] [stderr] | [INFO] [stderr] 112 | let current_offset_bottom = Cell::new(stack.ptr() as *mut u8); [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = help: add `#![feature(raw_vec_internals)]` to the crate attributes to enable [INFO] [stderr] [INFO] [stderr] error[E0658]: use of unstable library feature 'raw_vec_internals': implementation detail [INFO] [stderr] --> src/double_ended_allocator.rs:113:54 [INFO] [stderr] | [INFO] [stderr] 113 | let current_offset_top = Cell::new(stack.ptr().offset(capacity as isize) as *mut u8); [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = help: add `#![feature(raw_vec_internals)]` to the crate attributes to enable [INFO] [stderr] [INFO] [stderr] error[E0658]: use of unstable library feature 'raw_vec_internals': implementation detail [INFO] [stderr] --> src/double_ended_allocator.rs:148:51 [INFO] [stderr] | [INFO] [stderr] 148 | self.current_offset_bottom.set(self.stack.ptr()); [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = help: add `#![feature(raw_vec_internals)]` to the crate attributes to enable [INFO] [stderr] [INFO] [stderr] error[E0658]: use of unstable library feature 'raw_vec_internals': implementation detail [INFO] [stderr] --> src/double_ended_allocator.rs:174:42 [INFO] [stderr] | [INFO] [stderr] 174 | let top_stack = self.stack().ptr().offset(self.stack().cap() as isize); [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = help: add `#![feature(raw_vec_internals)]` to the crate attributes to enable [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `cap` found for type `&alloc::raw_vec::RawVec` in the current scope [INFO] [stderr] --> src/double_ended_allocator.rs:174:68 [INFO] [stderr] | [INFO] [stderr] 174 | let top_stack = self.stack().ptr().offset(self.stack().cap() as isize); [INFO] [stderr] | ^^^ private field, not a method [INFO] [stderr] [INFO] [stderr] error[E0658]: use of unstable library feature 'raw_vec_internals': implementation detail [INFO] [stderr] --> src/double_ended_allocator.rs:226:33 [INFO] [stderr] | [INFO] [stderr] 226 | assert!((self.stack.ptr().offset_to(aligned_ptr).unwrap() as usize) < self.stack.cap() / 2); [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = help: add `#![feature(raw_vec_internals)]` to the crate attributes to enable [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `offset_to` found for type `*mut u8` in the current scope [INFO] [stderr] --> src/double_ended_allocator.rs:226:39 [INFO] [stderr] | [INFO] [stderr] 226 | assert!((self.stack.ptr().offset_to(aligned_ptr).unwrap() as usize) < self.stack.cap() / 2); [INFO] [stderr] | ^^^^^^^^^ help: there is a method with a similar name: `offset` [INFO] [stderr] | [INFO] [stderr] = 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] [stderr] = note: using `<*const T>::as_ref()` on a pointer which is unaligned or points to invalid or uninitialized memory is undefined behavior [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `cap` found for type `alloc::raw_vec::RawVec` in the current scope [INFO] [stderr] --> src/double_ended_allocator.rs:226:94 [INFO] [stderr] | [INFO] [stderr] 226 | assert!((self.stack.ptr().offset_to(aligned_ptr).unwrap() as usize) < self.stack.cap() / 2); [INFO] [stderr] | ^^^ private field, not a method [INFO] [stderr] [INFO] [stderr] error[E0658]: use of unstable library feature 'raw_vec_internals': implementation detail [INFO] [stderr] --> src/double_ended_allocator.rs:274:50 [INFO] [stderr] | [INFO] [stderr] 274 | let bottom_top_offset = self.stack().ptr().offset_to(old_stack_top).unwrap(); [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = help: add `#![feature(raw_vec_internals)]` to the crate attributes to enable [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `offset_to` found for type `*mut u8` in the current scope [INFO] [stderr] --> src/double_ended_allocator.rs:274:56 [INFO] [stderr] | [INFO] [stderr] 274 | let bottom_top_offset = self.stack().ptr().offset_to(old_stack_top).unwrap(); [INFO] [stderr] | ^^^^^^^^^ help: there is a method with a similar name: `offset` [INFO] [stderr] | [INFO] [stderr] = 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] [stderr] = note: using `<*const T>::as_ref()` on a pointer which is unaligned or points to invalid or uninitialized memory is undefined behavior [INFO] [stderr] [INFO] [stderr] error[E0658]: use of unstable library feature 'raw_vec_internals': implementation detail [INFO] [stderr] --> src/double_ended_allocator.rs:277:46 [INFO] [stderr] | [INFO] [stderr] 277 | let unaligned_ptr = self.stack().ptr().offset(bottom_top_offset - offset as isize) as usize; [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = help: add `#![feature(raw_vec_internals)]` to the crate attributes to enable [INFO] [stderr] [INFO] [stderr] error[E0658]: use of unstable library feature 'raw_vec_internals': implementation detail [INFO] [stderr] --> src/double_ended_allocator.rs:292:33 [INFO] [stderr] | [INFO] [stderr] 292 | assert!((self.stack.ptr().offset_to(aligned_ptr).unwrap() as usize) > (self.stack.cap() / 2)); [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = help: add `#![feature(raw_vec_internals)]` to the crate attributes to enable [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `offset_to` found for type `*mut u8` in the current scope [INFO] [stderr] --> src/double_ended_allocator.rs:292:39 [INFO] [stderr] | [INFO] [stderr] 292 | assert!((self.stack.ptr().offset_to(aligned_ptr).unwrap() as usize) > (self.stack.cap() / 2)); [INFO] [stderr] | ^^^^^^^^^ help: there is a method with a similar name: `offset` [INFO] [stderr] | [INFO] [stderr] = 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] [stderr] = note: using `<*const T>::as_ref()` on a pointer which is unaligned or points to invalid or uninitialized memory is undefined behavior [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `cap` found for type `alloc::raw_vec::RawVec` in the current scope [INFO] [stderr] --> src/double_ended_allocator.rs:292:95 [INFO] [stderr] | [INFO] [stderr] 292 | assert!((self.stack.ptr().offset_to(aligned_ptr).unwrap() as usize) > (self.stack.cap() / 2)); [INFO] [stderr] | ^^^ private field, not a method [INFO] [stderr] [INFO] [stderr] error[E0658]: use of unstable library feature 'raw_vec_internals': implementation detail [INFO] [stderr] --> src/double_ended_allocator.rs:387:36 [INFO] [stderr] | [INFO] [stderr] 387 | let cap_used = alloc.stack.ptr().offset_to(alloc.current_offset_bottom.get()).unwrap() as usize; [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = help: add `#![feature(raw_vec_internals)]` to the crate attributes to enable [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `offset_to` found for type `*mut u8` in the current scope [INFO] [stderr] --> src/double_ended_allocator.rs:387:42 [INFO] [stderr] | [INFO] [stderr] 387 | let cap_used = alloc.stack.ptr().offset_to(alloc.current_offset_bottom.get()).unwrap() as usize; [INFO] [stderr] | ^^^^^^^^^ help: there is a method with a similar name: `offset` [INFO] [stderr] | [INFO] [stderr] = 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] [stderr] = note: using `<*const T>::as_ref()` on a pointer which is unaligned or points to invalid or uninitialized memory is undefined behavior [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `cap` found for type `alloc::raw_vec::RawVec` in the current scope [INFO] [stderr] --> src/double_ended_allocator.rs:388:42 [INFO] [stderr] | [INFO] [stderr] 388 | let cap_remaining = (alloc.stack.cap() - cap_used) as isize; [INFO] [stderr] | ^^^ private field, not a method [INFO] [stderr] [INFO] [stderr] error[E0658]: use of unstable library feature 'raw_vec_internals': implementation detail [INFO] [stderr] --> src/double_ended_allocator.rs:422:36 [INFO] [stderr] | [INFO] [stderr] 422 | let cap_used = alloc.stack.ptr().offset_to(alloc.current_offset_bottom.get()).unwrap() as usize; [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = help: add `#![feature(raw_vec_internals)]` to the crate attributes to enable [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `offset_to` found for type `*mut u8` in the current scope [INFO] [stderr] --> src/double_ended_allocator.rs:422:42 [INFO] [stderr] | [INFO] [stderr] 422 | let cap_used = alloc.stack.ptr().offset_to(alloc.current_offset_bottom.get()).unwrap() as usize; [INFO] [stderr] | ^^^^^^^^^ help: there is a method with a similar name: `offset` [INFO] [stderr] | [INFO] [stderr] = 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] [stderr] = note: using `<*const T>::as_ref()` on a pointer which is unaligned or points to invalid or uninitialized memory is undefined behavior [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `cap` found for type `alloc::raw_vec::RawVec` in the current scope [INFO] [stderr] --> src/double_ended_allocator.rs:423:42 [INFO] [stderr] | [INFO] [stderr] 423 | let cap_remaining = (alloc.stack.cap() - cap_used) as isize; [INFO] [stderr] | ^^^ private field, not a method [INFO] [stderr] [INFO] [stderr] error[E0658]: use of unstable library feature 'raw_vec_internals': implementation detail [INFO] [stderr] --> src/double_ended_allocator.rs:448:36 [INFO] [stderr] | [INFO] [stderr] 448 | let cap_used = alloc.stack.ptr().offset_to(alloc.current_offset_bottom.get()).unwrap() as usize; [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = help: add `#![feature(raw_vec_internals)]` to the crate attributes to enable [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `offset_to` found for type `*mut u8` in the current scope [INFO] [stderr] --> src/double_ended_allocator.rs:448:42 [INFO] [stderr] | [INFO] [stderr] 448 | let cap_used = alloc.stack.ptr().offset_to(alloc.current_offset_bottom.get()).unwrap() as usize; [INFO] [stderr] | ^^^^^^^^^ help: there is a method with a similar name: `offset` [INFO] [stderr] | [INFO] [stderr] = 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] [stderr] = note: using `<*const T>::as_ref()` on a pointer which is unaligned or points to invalid or uninitialized memory is undefined behavior [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `cap` found for type `alloc::raw_vec::RawVec` in the current scope [INFO] [stderr] --> src/double_ended_allocator.rs:449:42 [INFO] [stderr] | [INFO] [stderr] 449 | let cap_remaining = (alloc.stack.cap() - cap_used) as isize; [INFO] [stderr] | ^^^ private field, not a method [INFO] [stderr] [INFO] [stderr] error[E0658]: use of unstable library feature 'raw_vec_internals': implementation detail [INFO] [stderr] --> src/double_ended_allocator.rs:473:36 [INFO] [stderr] | [INFO] [stderr] 473 | let cap_used = alloc.stack.ptr().offset_to(alloc.current_offset_bottom.get()).unwrap() as usize; [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = help: add `#![feature(raw_vec_internals)]` to the crate attributes to enable [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `offset_to` found for type `*mut u8` in the current scope [INFO] [stderr] --> src/double_ended_allocator.rs:473:42 [INFO] [stderr] | [INFO] [stderr] 473 | let cap_used = alloc.stack.ptr().offset_to(alloc.current_offset_bottom.get()).unwrap() as usize; [INFO] [stderr] | ^^^^^^^^^ help: there is a method with a similar name: `offset` [INFO] [stderr] | [INFO] [stderr] = 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] [stderr] = note: using `<*const T>::as_ref()` on a pointer which is unaligned or points to invalid or uninitialized memory is undefined behavior [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `cap` found for type `alloc::raw_vec::RawVec` in the current scope [INFO] [stderr] --> src/double_ended_allocator.rs:474:42 [INFO] [stderr] | [INFO] [stderr] 474 | let cap_remaining = (alloc.stack.cap() - cap_used) as isize; [INFO] [stderr] | ^^^ private field, not a method [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `offset_to` found for type `*mut u8` in the current scope [INFO] [stderr] --> src/double_ended_allocator.rs:490:35 [INFO] [stderr] | [INFO] [stderr] 490 | let cap_used = (top_stack.offset_to(alloc.current_offset_top.get()).unwrap() * -1) as usize; [INFO] [stderr] | ^^^^^^^^^ help: there is a method with a similar name: `offset` [INFO] [stderr] | [INFO] [stderr] = 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] [stderr] = note: using `<*const T>::as_ref()` on a pointer which is unaligned or points to invalid or uninitialized memory is undefined behavior [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `cap` found for type `alloc::raw_vec::RawVec` in the current scope [INFO] [stderr] --> src/double_ended_allocator.rs:491:42 [INFO] [stderr] | [INFO] [stderr] 491 | let cap_remaining = (alloc.stack.cap() - cap_used) as isize; [INFO] [stderr] | ^^^ private field, not a method [INFO] [stderr] [INFO] [stderr] error: aborting due to 68 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0432, E0599, E0658. [INFO] [stderr] For more information about an error, try `rustc --explain E0432`. [INFO] [stderr] error: Could not compile `maskerad_stack_allocator`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "55a1a38703351447726c5e88651a7d01bc0c03ed142182655d8365203e75bc3c"` [INFO] running `"docker" "rm" "-f" "55a1a38703351447726c5e88651a7d01bc0c03ed142182655d8365203e75bc3c"` [INFO] [stdout] 55a1a38703351447726c5e88651a7d01bc0c03ed142182655d8365203e75bc3c