[INFO] fetching crate maskerad_stack_allocator 1.1.2... [INFO] checking maskerad_stack_allocator-1.1.2 against master#9fa580b1175018b0a276b0bc68f9827a106f7260 for pr-82565 [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 9fa580b1175018b0a276b0bc68f9827a106f7260 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+9fa580b1175018b0a276b0bc68f9827a106f7260" "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" "+9fa580b1175018b0a276b0bc68f9827a106f7260" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+9fa580b1175018b0a276b0bc68f9827a106f7260" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [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" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+9fa580b1175018b0a276b0bc68f9827a106f7260" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] f92ee7d1ca2bb74ad4af8845bf7d202b47bacc4feba5813b4b873f2a56644403 [INFO] running `Command { std: "docker" "start" "-a" "f92ee7d1ca2bb74ad4af8845bf7d202b47bacc4feba5813b4b873f2a56644403", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f92ee7d1ca2bb74ad4af8845bf7d202b47bacc4feba5813b4b873f2a56644403", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f92ee7d1ca2bb74ad4af8845bf7d202b47bacc4feba5813b4b873f2a56644403", kill_on_drop: false }` [INFO] [stdout] f92ee7d1ca2bb74ad4af8845bf7d202b47bacc4feba5813b4b873f2a56644403 [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" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+9fa580b1175018b0a276b0bc68f9827a106f7260" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8dd86707626ad6eecd5601ce307f73895537be672597f266335c2b892ed93880 [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" "8dd86707626ad6eecd5601ce307f73895537be672597f266335c2b892ed93880", kill_on_drop: false }` [INFO] [stderr] Checking maskerad_stack_allocator v1.1.2 (/opt/rustwide/workdir) [INFO] [stderr] Checking time v0.1.44 [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: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: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 30 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` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "8dd86707626ad6eecd5601ce307f73895537be672597f266335c2b892ed93880", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8dd86707626ad6eecd5601ce307f73895537be672597f266335c2b892ed93880", kill_on_drop: false }` [INFO] [stdout] 8dd86707626ad6eecd5601ce307f73895537be672597f266335c2b892ed93880