[INFO] fetching crate raw-vec 0.2.0... [INFO] checking raw-vec-0.2.0 against master#f609b7e0586f81fefb3523e3e17adf779ac416be for pr-129466-2 [INFO] extracting crate raw-vec 0.2.0 into /workspace/builds/worker-4-tc1/source [INFO] validating manifest of crates.io crate raw-vec 0.2.0 on toolchain f609b7e0586f81fefb3523e3e17adf779ac416be [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate raw-vec 0.2.0 [INFO] finished tweaking crates.io crate raw-vec 0.2.0 [INFO] tweaked toml for crates.io crate raw-vec 0.2.0 written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 55844c5050e9ff0385ff1d46243436432de22ba18ab8d87a59c747fd5e6fff72 [INFO] running `Command { std: "docker" "start" "-a" "55844c5050e9ff0385ff1d46243436432de22ba18ab8d87a59c747fd5e6fff72", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "55844c5050e9ff0385ff1d46243436432de22ba18ab8d87a59c747fd5e6fff72", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "55844c5050e9ff0385ff1d46243436432de22ba18ab8d87a59c747fd5e6fff72", kill_on_drop: false }` [INFO] [stdout] 55844c5050e9ff0385ff1d46243436432de22ba18ab8d87a59c747fd5e6fff72 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/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" "RUSTDOCFLAGS=--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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6a209a2446f372d549e874b21e1d78bf034d450e3ca8fba1e63ebc83a68995c8 [INFO] running `Command { std: "docker" "start" "-a" "6a209a2446f372d549e874b21e1d78bf034d450e3ca8fba1e63ebc83a68995c8", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Checking raw-vec v0.2.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0557]: feature has been removed [INFO] [stdout] --> src/lib.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | #![feature(unsafe_no_drop_flag, unique, filling_drop, dropck_parametricity, allocator, box_syntax, alloc, heap_api, oom)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ feature has been removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0557]: feature has been removed [INFO] [stdout] --> src/lib.rs:11:55 [INFO] [stdout] | [INFO] [stdout] 11 | #![feature(unsafe_no_drop_flag, unique, filling_drop, dropck_parametricity, allocator, box_syntax, alloc, heap_api, oom)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ feature has been removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0557]: feature has been removed [INFO] [stdout] --> src/lib.rs:11:77 [INFO] [stdout] | [INFO] [stdout] 11 | #![feature(unsafe_no_drop_flag, unique, filling_drop, dropck_parametricity, allocator, box_syntax, alloc, heap_api, oom)] [INFO] [stdout] | ^^^^^^^^^ feature has been removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0557]: feature has been removed [INFO] [stdout] --> src/lib.rs:11:88 [INFO] [stdout] | [INFO] [stdout] 11 | #![feature(unsafe_no_drop_flag, unique, filling_drop, dropck_parametricity, allocator, box_syntax, alloc, heap_api, oom)] [INFO] [stdout] | ^^^^^^^^^^ feature has been removed [INFO] [stdout] | [INFO] [stdout] = note: replaced with `#[rustc_box]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0557]: feature has been removed [INFO] [stdout] --> src/lib.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | #![feature(unsafe_no_drop_flag, unique, filling_drop, dropck_parametricity, allocator, box_syntax, alloc, heap_api, oom)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ feature has been removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0557]: feature has been removed [INFO] [stdout] --> src/lib.rs:11:55 [INFO] [stdout] | [INFO] [stdout] 11 | #![feature(unsafe_no_drop_flag, unique, filling_drop, dropck_parametricity, allocator, box_syntax, alloc, heap_api, oom)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ feature has been removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0557]: feature has been removed [INFO] [stdout] --> src/lib.rs:11:77 [INFO] [stdout] | [INFO] [stdout] 11 | #![feature(unsafe_no_drop_flag, unique, filling_drop, dropck_parametricity, allocator, box_syntax, alloc, heap_api, oom)] [INFO] [stdout] | ^^^^^^^^^ feature has been removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0557]: feature has been removed [INFO] [stdout] --> src/lib.rs:11:88 [INFO] [stdout] | [INFO] [stdout] 11 | #![feature(unsafe_no_drop_flag, unique, filling_drop, dropck_parametricity, allocator, box_syntax, alloc, heap_api, oom)] [INFO] [stdout] | ^^^^^^^^^^ feature has been removed [INFO] [stdout] | [INFO] [stdout] = note: replaced with `#[rustc_box]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `alloc::heap` [INFO] [stdout] --> src/lib.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | use alloc::heap; [INFO] [stdout] | ^^^^^^^^^^^ no `heap` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `alloc::oom` [INFO] [stdout] --> src/lib.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | use alloc::oom; [INFO] [stdout] | ^^^^^^^^^^ no `oom` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `unsafe_no_drop_flag` in this scope [INFO] [stdout] --> src/lib.rs:52:3 [INFO] [stdout] | [INFO] [stdout] 52 | #[unsafe_no_drop_flag] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `unsafe_destructor_blind_to_params` in this scope [INFO] [stdout] --> src/lib.rs:564:7 [INFO] [stdout] | [INFO] [stdout] 564 | #[unsafe_destructor_blind_to_params] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `alloc::heap` [INFO] [stdout] --> src/lib.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | use alloc::heap; [INFO] [stdout] | ^^^^^^^^^^^ no `heap` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `alloc::oom` [INFO] [stdout] --> src/lib.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | use alloc::oom; [INFO] [stdout] | ^^^^^^^^^^ no `oom` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `POST_DROP_USIZE` in module `mem` [INFO] [stdout] --> src/lib.rs:559:26 [INFO] [stdout] | [INFO] [stdout] 559 | self.cap != mem::POST_DROP_USIZE [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in `mem` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `unsafe_no_drop_flag` in this scope [INFO] [stdout] --> src/lib.rs:52:3 [INFO] [stdout] | [INFO] [stdout] 52 | #[unsafe_no_drop_flag] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'ptr_internals': use `NonNull` instead and consider `PhantomData` (if you also use `#[may_dangle]`), `Send`, and/or `Sync` [INFO] [stdout] --> src/lib.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use std::ptr::Unique; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: add `#![feature(ptr_internals)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'ptr_internals': use `NonNull` instead and consider `PhantomData` (if you also use `#[may_dangle]`), `Send`, and/or `Sync` [INFO] [stdout] --> src/lib.rs:54:10 [INFO] [stdout] | [INFO] [stdout] 54 | ptr: Unique, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: add `#![feature(ptr_internals)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'ptr_internals': use `NonNull` instead and consider `PhantomData` (if you also use `#[may_dangle]`), `Send`, and/or `Sync` [INFO] [stdout] --> src/lib.rs:74:22 [INFO] [stdout] | [INFO] [stdout] 74 | ptr: Unique::new(heap::EMPTY as *mut T), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: add `#![feature(ptr_internals)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `unsafe_destructor_blind_to_params` in this scope [INFO] [stdout] --> src/lib.rs:564:7 [INFO] [stdout] | [INFO] [stdout] 564 | #[unsafe_destructor_blind_to_params] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'ptr_internals': use `NonNull` instead and consider `PhantomData` (if you also use `#[may_dangle]`), `Send`, and/or `Sync` [INFO] [stdout] --> src/lib.rs:114:22 [INFO] [stdout] | [INFO] [stdout] 114 | ptr: Unique::new(ptr as *mut _), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: add `#![feature(ptr_internals)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'ptr_internals': use `NonNull` instead and consider `PhantomData` (if you also use `#[may_dangle]`), `Send`, and/or `Sync` [INFO] [stdout] --> src/lib.rs:129:18 [INFO] [stdout] | [INFO] [stdout] 129 | ptr: Unique::new(ptr), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: add `#![feature(ptr_internals)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'ptr_internals': use `NonNull` instead and consider `PhantomData` (if you also use `#[may_dangle]`), `Send`, and/or `Sync` [INFO] [stdout] --> src/lib.rs:243:24 [INFO] [stdout] | [INFO] [stdout] 243 | self.ptr = Unique::new(ptr as *mut _); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: add `#![feature(ptr_internals)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'ptr_internals': use `NonNull` instead and consider `PhantomData` (if you also use `#[may_dangle]`), `Send`, and/or `Sync` [INFO] [stdout] --> src/lib.rs:344:24 [INFO] [stdout] | [INFO] [stdout] 344 | self.ptr = Unique::new(ptr as *mut _); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: add `#![feature(ptr_internals)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'ptr_internals': use `NonNull` instead and consider `PhantomData` (if you also use `#[may_dangle]`), `Send`, and/or `Sync` [INFO] [stdout] --> src/lib.rs:443:24 [INFO] [stdout] | [INFO] [stdout] 443 | self.ptr = Unique::new(ptr as *mut _); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: add `#![feature(ptr_internals)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'ptr_internals': use `NonNull` instead and consider `PhantomData` (if you also use `#[may_dangle]`), `Send`, and/or `Sync` [INFO] [stdout] --> src/lib.rs:533:28 [INFO] [stdout] | [INFO] [stdout] 533 | self.ptr = Unique::new(ptr as *mut _); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: add `#![feature(ptr_internals)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `alloc` has been stable since 1.36.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/lib.rs:11:100 [INFO] [stdout] | [INFO] [stdout] 11 | #![feature(unsafe_no_drop_flag, unique, filling_drop, dropck_parametricity, allocator, box_syntax, alloc, heap_api, oom)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0635]: unknown feature `unique` [INFO] [stdout] --> src/lib.rs:11:33 [INFO] [stdout] | [INFO] [stdout] 11 | #![feature(unsafe_no_drop_flag, unique, filling_drop, dropck_parametricity, allocator, box_syntax, alloc, heap_api, oom)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0635]: unknown feature `filling_drop` [INFO] [stdout] --> src/lib.rs:11:41 [INFO] [stdout] | [INFO] [stdout] 11 | #![feature(unsafe_no_drop_flag, unique, filling_drop, dropck_parametricity, allocator, box_syntax, alloc, heap_api, oom)] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0635]: unknown feature `oom` [INFO] [stdout] --> src/lib.rs:11:117 [INFO] [stdout] | [INFO] [stdout] 11 | #![feature(unsafe_no_drop_flag, unique, filling_drop, dropck_parametricity, allocator, box_syntax, alloc, heap_api, oom)] [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0635]: unknown feature `heap_api` [INFO] [stdout] --> src/lib.rs:11:107 [INFO] [stdout] | [INFO] [stdout] 11 | #![feature(unsafe_no_drop_flag, unique, filling_drop, dropck_parametricity, allocator, box_syntax, alloc, heap_api, oom)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `POST_DROP_USIZE` in module `mem` [INFO] [stdout] --> src/lib.rs:559:26 [INFO] [stdout] | [INFO] [stdout] 559 | self.cap != mem::POST_DROP_USIZE [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in `mem` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'ptr_internals' [INFO] [stdout] --> src/lib.rs:74:22 [INFO] [stdout] | [INFO] [stdout] 74 | ptr: Unique::new(heap::EMPTY as *mut T), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: add `#![feature(ptr_internals)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'ptr_internals': use `NonNull` instead and consider `PhantomData` (if you also use `#[may_dangle]`), `Send`, and/or `Sync` [INFO] [stdout] --> src/lib.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use std::ptr::Unique; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: add `#![feature(ptr_internals)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'ptr_internals': use `NonNull` instead and consider `PhantomData` (if you also use `#[may_dangle]`), `Send`, and/or `Sync` [INFO] [stdout] --> src/lib.rs:54:10 [INFO] [stdout] | [INFO] [stdout] 54 | ptr: Unique, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: add `#![feature(ptr_internals)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'ptr_internals': use `NonNull` instead and consider `PhantomData` (if you also use `#[may_dangle]`), `Send`, and/or `Sync` [INFO] [stdout] --> src/lib.rs:74:22 [INFO] [stdout] | [INFO] [stdout] 74 | ptr: Unique::new(heap::EMPTY as *mut T), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: add `#![feature(ptr_internals)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'ptr_internals': use `NonNull` instead and consider `PhantomData` (if you also use `#[may_dangle]`), `Send`, and/or `Sync` [INFO] [stdout] --> src/lib.rs:114:22 [INFO] [stdout] | [INFO] [stdout] 114 | ptr: Unique::new(ptr as *mut _), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: add `#![feature(ptr_internals)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'ptr_internals': use `NonNull` instead and consider `PhantomData` (if you also use `#[may_dangle]`), `Send`, and/or `Sync` [INFO] [stdout] --> src/lib.rs:129:18 [INFO] [stdout] | [INFO] [stdout] 129 | ptr: Unique::new(ptr), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: add `#![feature(ptr_internals)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'ptr_internals': use `NonNull` instead and consider `PhantomData` (if you also use `#[may_dangle]`), `Send`, and/or `Sync` [INFO] [stdout] --> src/lib.rs:243:24 [INFO] [stdout] | [INFO] [stdout] 243 | self.ptr = Unique::new(ptr as *mut _); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: add `#![feature(ptr_internals)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'ptr_internals': use `NonNull` instead and consider `PhantomData` (if you also use `#[may_dangle]`), `Send`, and/or `Sync` [INFO] [stdout] --> src/lib.rs:344:24 [INFO] [stdout] | [INFO] [stdout] 344 | self.ptr = Unique::new(ptr as *mut _); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: add `#![feature(ptr_internals)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'ptr_internals': use `NonNull` instead and consider `PhantomData` (if you also use `#[may_dangle]`), `Send`, and/or `Sync` [INFO] [stdout] --> src/lib.rs:443:24 [INFO] [stdout] | [INFO] [stdout] 443 | self.ptr = Unique::new(ptr as *mut _); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: add `#![feature(ptr_internals)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'ptr_internals': use `NonNull` instead and consider `PhantomData` (if you also use `#[may_dangle]`), `Send`, and/or `Sync` [INFO] [stdout] --> src/lib.rs:533:28 [INFO] [stdout] | [INFO] [stdout] 533 | self.ptr = Unique::new(ptr as *mut _); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: add `#![feature(ptr_internals)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `alloc` has been stable since 1.36.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/lib.rs:11:100 [INFO] [stdout] | [INFO] [stdout] 11 | #![feature(unsafe_no_drop_flag, unique, filling_drop, dropck_parametricity, allocator, box_syntax, alloc, heap_api, oom)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:74:22 [INFO] [stdout] | [INFO] [stdout] 74 | ptr: Unique::new(heap::EMPTY as *mut T), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `Unique`, found `Option>` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Unique` [INFO] [stdout] found enum `Option>` [INFO] [stdout] help: consider using `Option::expect` to unwrap the `Option>` value, panicking if the value is an `Option::None` [INFO] [stdout] | [INFO] [stdout] 74 | ptr: Unique::new(heap::EMPTY as *mut T).expect("REASON"), [INFO] [stdout] | +++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0635]: unknown feature `unique` [INFO] [stdout] --> src/lib.rs:11:33 [INFO] [stdout] | [INFO] [stdout] 11 | #![feature(unsafe_no_drop_flag, unique, filling_drop, dropck_parametricity, allocator, box_syntax, alloc, heap_api, oom)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0635]: unknown feature `filling_drop` [INFO] [stdout] --> src/lib.rs:11:41 [INFO] [stdout] | [INFO] [stdout] 11 | #![feature(unsafe_no_drop_flag, unique, filling_drop, dropck_parametricity, allocator, box_syntax, alloc, heap_api, oom)] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0635]: unknown feature `oom` [INFO] [stdout] --> src/lib.rs:11:117 [INFO] [stdout] | [INFO] [stdout] 11 | #![feature(unsafe_no_drop_flag, unique, filling_drop, dropck_parametricity, allocator, box_syntax, alloc, heap_api, oom)] [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0635]: unknown feature `heap_api` [INFO] [stdout] --> src/lib.rs:11:107 [INFO] [stdout] | [INFO] [stdout] 11 | #![feature(unsafe_no_drop_flag, unique, filling_drop, dropck_parametricity, allocator, box_syntax, alloc, heap_api, oom)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'ptr_internals' [INFO] [stdout] --> src/lib.rs:114:22 [INFO] [stdout] | [INFO] [stdout] 114 | ptr: Unique::new(ptr as *mut _), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: add `#![feature(ptr_internals)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:114:22 [INFO] [stdout] | [INFO] [stdout] 114 | ptr: Unique::new(ptr as *mut _), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `Unique`, found `Option>` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Unique` [INFO] [stdout] found enum `Option>` [INFO] [stdout] help: consider using `Option::expect` to unwrap the `Option>` value, panicking if the value is an `Option::None` [INFO] [stdout] | [INFO] [stdout] 114 | ptr: Unique::new(ptr as *mut _).expect("REASON"), [INFO] [stdout] | +++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'ptr_internals' [INFO] [stdout] --> src/lib.rs:129:18 [INFO] [stdout] | [INFO] [stdout] 129 | ptr: Unique::new(ptr), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: add `#![feature(ptr_internals)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:129:18 [INFO] [stdout] | [INFO] [stdout] 129 | ptr: Unique::new(ptr), [INFO] [stdout] | ^^^^^^^^^^^^^^^^ expected `Unique`, found `Option>` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Unique<_>` [INFO] [stdout] found enum `Option>` [INFO] [stdout] help: consider using `Option::expect` to unwrap the `Option>` value, panicking if the value is an `Option::None` [INFO] [stdout] | [INFO] [stdout] 129 | ptr: Unique::new(ptr).expect("REASON"), [INFO] [stdout] | +++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Unique` cannot be dereferenced [INFO] [stdout] --> src/lib.rs:149:9 [INFO] [stdout] | [INFO] [stdout] 149 | *self.ptr [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'ptr_internals' [INFO] [stdout] --> src/lib.rs:243:24 [INFO] [stdout] | [INFO] [stdout] 243 | self.ptr = Unique::new(ptr as *mut _); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: add `#![feature(ptr_internals)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:243:24 [INFO] [stdout] | [INFO] [stdout] 243 | self.ptr = Unique::new(ptr as *mut _); [INFO] [stdout] | -------- ^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `Unique`, found `Option>` [INFO] [stdout] | | [INFO] [stdout] | expected due to the type of this binding [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Unique` [INFO] [stdout] found enum `Option>` [INFO] [stdout] help: consider using `Option::expect` to unwrap the `Option>` value, panicking if the value is an `Option::None` [INFO] [stdout] | [INFO] [stdout] 243 | self.ptr = Unique::new(ptr as *mut _).expect("REASON"); [INFO] [stdout] | +++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'ptr_internals' [INFO] [stdout] --> src/lib.rs:344:24 [INFO] [stdout] | [INFO] [stdout] 344 | self.ptr = Unique::new(ptr as *mut _); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: add `#![feature(ptr_internals)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:344:24 [INFO] [stdout] | [INFO] [stdout] 344 | self.ptr = Unique::new(ptr as *mut _); [INFO] [stdout] | -------- ^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `Unique`, found `Option>` [INFO] [stdout] | | [INFO] [stdout] | expected due to the type of this binding [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Unique` [INFO] [stdout] found enum `Option>` [INFO] [stdout] help: consider using `Option::expect` to unwrap the `Option>` value, panicking if the value is an `Option::None` [INFO] [stdout] | [INFO] [stdout] 344 | self.ptr = Unique::new(ptr as *mut _).expect("REASON"); [INFO] [stdout] | +++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'ptr_internals' [INFO] [stdout] --> src/lib.rs:74:22 [INFO] [stdout] | [INFO] [stdout] 74 | ptr: Unique::new(heap::EMPTY as *mut T), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: add `#![feature(ptr_internals)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'ptr_internals' [INFO] [stdout] --> src/lib.rs:443:24 [INFO] [stdout] | [INFO] [stdout] 443 | self.ptr = Unique::new(ptr as *mut _); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: add `#![feature(ptr_internals)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:443:24 [INFO] [stdout] | [INFO] [stdout] 443 | self.ptr = Unique::new(ptr as *mut _); [INFO] [stdout] | -------- ^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `Unique`, found `Option>` [INFO] [stdout] | | [INFO] [stdout] | expected due to the type of this binding [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Unique` [INFO] [stdout] found enum `Option>` [INFO] [stdout] help: consider using `Option::expect` to unwrap the `Option>` value, panicking if the value is an `Option::None` [INFO] [stdout] | [INFO] [stdout] 443 | self.ptr = Unique::new(ptr as *mut _).expect("REASON"); [INFO] [stdout] | +++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'ptr_internals' [INFO] [stdout] --> src/lib.rs:533:28 [INFO] [stdout] | [INFO] [stdout] 533 | self.ptr = Unique::new(ptr as *mut _); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: add `#![feature(ptr_internals)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:533:28 [INFO] [stdout] | [INFO] [stdout] 533 | self.ptr = Unique::new(ptr as *mut _); [INFO] [stdout] | -------- ^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `Unique`, found `Option>` [INFO] [stdout] | | [INFO] [stdout] | expected due to the type of this binding [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Unique` [INFO] [stdout] found enum `Option>` [INFO] [stdout] help: consider using `Option::expect` to unwrap the `Option>` value, panicking if the value is an `Option::None` [INFO] [stdout] | [INFO] [stdout] 533 | self.ptr = Unique::new(ptr as *mut _).expect("REASON"); [INFO] [stdout] | +++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Unique` cannot be dereferenced [INFO] [stdout] --> src/lib.rs:573:34 [INFO] [stdout] | [INFO] [stdout] 573 | heap::deallocate(*self.ptr as *mut _, num_bytes, align); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:74:22 [INFO] [stdout] | [INFO] [stdout] 74 | ptr: Unique::new(heap::EMPTY as *mut T), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `Unique`, found `Option>` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Unique` [INFO] [stdout] found enum `Option>` [INFO] [stdout] help: consider using `Option::expect` to unwrap the `Option>` value, panicking if the value is an `Option::None` [INFO] [stdout] | [INFO] [stdout] 74 | ptr: Unique::new(heap::EMPTY as *mut T).expect("REASON"), [INFO] [stdout] | +++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'ptr_internals' [INFO] [stdout] --> src/lib.rs:114:22 [INFO] [stdout] | [INFO] [stdout] 114 | ptr: Unique::new(ptr as *mut _), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: add `#![feature(ptr_internals)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:114:22 [INFO] [stdout] | [INFO] [stdout] 114 | ptr: Unique::new(ptr as *mut _), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `Unique`, found `Option>` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Unique` [INFO] [stdout] found enum `Option>` [INFO] [stdout] help: consider using `Option::expect` to unwrap the `Option>` value, panicking if the value is an `Option::None` [INFO] [stdout] | [INFO] [stdout] 114 | ptr: Unique::new(ptr as *mut _).expect("REASON"), [INFO] [stdout] | +++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'ptr_internals' [INFO] [stdout] --> src/lib.rs:129:18 [INFO] [stdout] | [INFO] [stdout] 129 | ptr: Unique::new(ptr), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: add `#![feature(ptr_internals)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:129:18 [INFO] [stdout] | [INFO] [stdout] 129 | ptr: Unique::new(ptr), [INFO] [stdout] | ^^^^^^^^^^^^^^^^ expected `Unique`, found `Option>` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Unique<_>` [INFO] [stdout] found enum `Option>` [INFO] [stdout] help: consider using `Option::expect` to unwrap the `Option>` value, panicking if the value is an `Option::None` [INFO] [stdout] | [INFO] [stdout] 129 | ptr: Unique::new(ptr).expect("REASON"), [INFO] [stdout] | +++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Unique` cannot be dereferenced [INFO] [stdout] --> src/lib.rs:149:9 [INFO] [stdout] | [INFO] [stdout] 149 | *self.ptr [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 38 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0425, E0432, E0557, E0614, E0635, E0658. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'ptr_internals' [INFO] [stdout] --> src/lib.rs:243:24 [INFO] [stdout] | [INFO] [stdout] 243 | self.ptr = Unique::new(ptr as *mut _); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: add `#![feature(ptr_internals)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:243:24 [INFO] [stdout] | [INFO] [stdout] 243 | self.ptr = Unique::new(ptr as *mut _); [INFO] [stdout] | -------- ^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `Unique`, found `Option>` [INFO] [stdout] | | [INFO] [stdout] | expected due to the type of this binding [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Unique` [INFO] [stdout] found enum `Option>` [INFO] [stdout] help: consider using `Option::expect` to unwrap the `Option>` value, panicking if the value is an `Option::None` [INFO] [stdout] | [INFO] [stdout] 243 | self.ptr = Unique::new(ptr as *mut _).expect("REASON"); [INFO] [stdout] | +++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'ptr_internals' [INFO] [stdout] --> src/lib.rs:344:24 [INFO] [stdout] | [INFO] [stdout] 344 | self.ptr = Unique::new(ptr as *mut _); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: add `#![feature(ptr_internals)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:344:24 [INFO] [stdout] | [INFO] [stdout] 344 | self.ptr = Unique::new(ptr as *mut _); [INFO] [stdout] | -------- ^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `Unique`, found `Option>` [INFO] [stdout] | | [INFO] [stdout] | expected due to the type of this binding [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Unique` [INFO] [stdout] found enum `Option>` [INFO] [stdout] help: consider using `Option::expect` to unwrap the `Option>` value, panicking if the value is an `Option::None` [INFO] [stdout] | [INFO] [stdout] 344 | self.ptr = Unique::new(ptr as *mut _).expect("REASON"); [INFO] [stdout] | +++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'ptr_internals' [INFO] [stdout] --> src/lib.rs:443:24 [INFO] [stdout] | [INFO] [stdout] 443 | self.ptr = Unique::new(ptr as *mut _); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: add `#![feature(ptr_internals)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:443:24 [INFO] [stdout] | [INFO] [stdout] 443 | self.ptr = Unique::new(ptr as *mut _); [INFO] [stdout] | -------- ^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `Unique`, found `Option>` [INFO] [stdout] | | [INFO] [stdout] | expected due to the type of this binding [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Unique` [INFO] [stdout] found enum `Option>` [INFO] [stdout] help: consider using `Option::expect` to unwrap the `Option>` value, panicking if the value is an `Option::None` [INFO] [stdout] | [INFO] [stdout] 443 | self.ptr = Unique::new(ptr as *mut _).expect("REASON"); [INFO] [stdout] | +++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'ptr_internals' [INFO] [stdout] --> src/lib.rs:533:28 [INFO] [stdout] | [INFO] [stdout] 533 | self.ptr = Unique::new(ptr as *mut _); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: add `#![feature(ptr_internals)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:533:28 [INFO] [stdout] | [INFO] [stdout] 533 | self.ptr = Unique::new(ptr as *mut _); [INFO] [stdout] | -------- ^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `Unique`, found `Option>` [INFO] [stdout] | | [INFO] [stdout] | expected due to the type of this binding [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Unique` [INFO] [stdout] found enum `Option>` [INFO] [stdout] help: consider using `Option::expect` to unwrap the `Option>` value, panicking if the value is an `Option::None` [INFO] [stdout] | [INFO] [stdout] 533 | self.ptr = Unique::new(ptr as *mut _).expect("REASON"); [INFO] [stdout] | +++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Unique` cannot be dereferenced [INFO] [stdout] --> src/lib.rs:573:34 [INFO] [stdout] | [INFO] [stdout] 573 | heap::deallocate(*self.ptr as *mut _, num_bytes, align); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `raw-vec` (lib) due to 39 previous errors; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 38 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0425, E0432, E0557, E0614, E0635, E0658. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `raw-vec` (lib test) due to 39 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "6a209a2446f372d549e874b21e1d78bf034d450e3ca8fba1e63ebc83a68995c8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6a209a2446f372d549e874b21e1d78bf034d450e3ca8fba1e63ebc83a68995c8", kill_on_drop: false }` [INFO] [stdout] 6a209a2446f372d549e874b21e1d78bf034d450e3ca8fba1e63ebc83a68995c8