[INFO] fetching crate maskerad_stack_allocator 1.1.2... [INFO] checking maskerad_stack_allocator-1.1.2 against try#3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f for pr-87248 [INFO] extracting crate maskerad_stack_allocator 1.1.2 into /workspace/builds/worker-3/source [INFO] validating manifest of crates.io crate maskerad_stack_allocator 1.1.2 on toolchain 3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "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-3/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d200132e0b98a5f8ed64b1b6250642bab54724285982cc0f09fe9bca5b74a693 [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" "d200132e0b98a5f8ed64b1b6250642bab54724285982cc0f09fe9bca5b74a693", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d200132e0b98a5f8ed64b1b6250642bab54724285982cc0f09fe9bca5b74a693", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d200132e0b98a5f8ed64b1b6250642bab54724285982cc0f09fe9bca5b74a693", kill_on_drop: false }` [INFO] [stdout] d200132e0b98a5f8ed64b1b6250642bab54724285982cc0f09fe9bca5b74a693 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 291e3859867c49382804386979bb7e6e4aff9aacdedd3678574edf215dadf97a [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" "291e3859867c49382804386979bb7e6e4aff9aacdedd3678574edf215dadf97a", kill_on_drop: false }` [INFO] [stderr] Checking bencher v0.1.5 [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[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/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: 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] [stderr] error: could not compile `maskerad_stack_allocator` due to 33 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "291e3859867c49382804386979bb7e6e4aff9aacdedd3678574edf215dadf97a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "291e3859867c49382804386979bb7e6e4aff9aacdedd3678574edf215dadf97a", kill_on_drop: false }` [INFO] [stdout] 291e3859867c49382804386979bb7e6e4aff9aacdedd3678574edf215dadf97a