[INFO] fetching crate grow 0.0.0...
[INFO] checking grow-0.0.0 against master#c2f2db79ca3024f68d22b45aa22b570775c2c4ad for pr-124157
[INFO] extracting crate grow 0.0.0 into /workspace/builds/worker-5-tc1/source
[INFO] validating manifest of crates.io crate grow 0.0.0 on toolchain c2f2db79ca3024f68d22b45aa22b570775c2c4ad
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2f2db79ca3024f68d22b45aa22b570775c2c4ad" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate grow 0.0.0
[INFO] finished tweaking crates.io crate grow 0.0.0
[INFO] tweaked toml for crates.io crate grow 0.0.0 written to /workspace/builds/worker-5-tc1/source/Cargo.toml
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2f2db79ca3024f68d22b45aa22b570775c2c4ad" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2f2db79ca3024f68d22b45aa22b570775c2c4ad" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:99613afd962a8cfa530ec1899472a458bd015a1ab0af876cf7eb06f6006d81ea" "/opt/rustwide/cargo-home/bin/cargo" "+c2f2db79ca3024f68d22b45aa22b570775c2c4ad" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 26773fcc3c076080448aeb97591ee12856599b53260893541d72c2958f5364bb
[INFO] running `Command { std: "docker" "start" "-a" "26773fcc3c076080448aeb97591ee12856599b53260893541d72c2958f5364bb", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "26773fcc3c076080448aeb97591ee12856599b53260893541d72c2958f5364bb", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "26773fcc3c076080448aeb97591ee12856599b53260893541d72c2958f5364bb", kill_on_drop: false }`
[INFO] [stdout] 26773fcc3c076080448aeb97591ee12856599b53260893541d72c2958f5364bb
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:99613afd962a8cfa530ec1899472a458bd015a1ab0af876cf7eb06f6006d81ea" "/opt/rustwide/cargo-home/bin/cargo" "+c2f2db79ca3024f68d22b45aa22b570775c2c4ad" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] a51af88b668dc292557203524594979d112bcc87986bf05b488e32d90a1c25bc
[INFO] running `Command { std: "docker" "start" "-a" "a51af88b668dc292557203524594979d112bcc87986bf05b488e32d90a1c25bc", kill_on_drop: false }`
[INFO] [stderr]     Checking grow v0.0.0 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0557]: feature has been removed
[INFO] [stdout]  --> src/lib.rs:2:12
[INFO] [stdout]   |
[INFO] [stdout] 2 | #![feature(unsafe_no_drop_flag, filling_drop)]
[INFO] [stdout]   |            ^^^^^^^^^^^^^^^^^^^ feature has been removed
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0557]: feature has been removed
[INFO] [stdout]  --> src/lib.rs:2:12
[INFO] [stdout]   |
[INFO] [stdout] 2 | #![feature(unsafe_no_drop_flag, filling_drop)]
[INFO] [stdout]   |            ^^^^^^^^^^^^^^^^^^^ feature has been removed
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `alloc::heap`
[INFO] [stdout]  --> src/lib.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use alloc::heap;
[INFO] [stdout]   |     ^^^^^^^^^^^ no `heap` in the root
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `alloc::heap`
[INFO] [stdout]  --> src/lib.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use alloc::heap;
[INFO] [stdout]   |     ^^^^^^^^^^^ no `heap` 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:11:3
[INFO] [stdout]    |
[INFO] [stdout] 11 | #[unsafe_no_drop_flag]
[INFO] [stdout]    |   ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `unsafe_no_drop_flag` in this scope
[INFO] [stdout]   --> src/lib.rs:11:3
[INFO] [stdout]    |
[INFO] [stdout] 11 | #[unsafe_no_drop_flag]
[INFO] [stdout]    |   ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `oom` in `alloc`
[INFO] [stdout]    --> src/lib.rs:103:28
[INFO] [stdout]     |
[INFO] [stdout] 103 |                     alloc::oom::oom()
[INFO] [stdout]     |                            ^^^ could not find `oom` in `alloc`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `oom` in `alloc`
[INFO] [stdout]    --> src/lib.rs:103:28
[INFO] [stdout]     |
[INFO] [stdout] 103 |                     alloc::oom::oom()
[INFO] [stdout]     |                            ^^^ could not find `oom` in `alloc`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `POST_DROP_USIZE` in module `mem`
[INFO] [stdout]    --> src/lib.rs:137:57
[INFO] [stdout]     |
[INFO] [stdout] 137 |         if self._capacity > 0 && self._capacity != mem::POST_DROP_USIZE {
[INFO] [stdout]     |                                                         ^^^^^^^^^^^^^^^ not found in `mem`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `POST_DROP_USIZE` in module `mem`
[INFO] [stdout]    --> src/lib.rs:137:57
[INFO] [stdout]     |
[INFO] [stdout] 137 |         if self._capacity > 0 && self._capacity != 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': use `NonNull` instead and consider `PhantomData<T>` (if you also use `#[may_dangle]`), `Send`, and/or `Sync`
[INFO] [stdout]  --> src/lib.rs:5:22
[INFO] [stdout]   |
[INFO] [stdout] 5 | use std::ptr::{self, 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-04-23; 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<T>` (if you also use `#[may_dangle]`), `Send`, and/or `Sync`
[INFO] [stdout]   --> src/lib.rs:13:11
[INFO] [stdout]    |
[INFO] [stdout] 13 |     _ptr: Unique<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-04-23; 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<T>` (if you also use `#[may_dangle]`), `Send`, and/or `Sync`
[INFO] [stdout]  --> src/lib.rs:5:22
[INFO] [stdout]   |
[INFO] [stdout] 5 | use std::ptr::{self, 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-04-23; 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<T>` (if you also use `#[may_dangle]`), `Send`, and/or `Sync`
[INFO] [stdout]   --> src/lib.rs:63:23
[INFO] [stdout]    |
[INFO] [stdout] 63 |                 _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-04-23; 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<T>` (if you also use `#[may_dangle]`), `Send`, and/or `Sync`
[INFO] [stdout]   --> src/lib.rs:13:11
[INFO] [stdout]    |
[INFO] [stdout] 13 |     _ptr: Unique<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-04-23; 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<T>` (if you also use `#[may_dangle]`), `Send`, and/or `Sync`
[INFO] [stdout]   --> src/lib.rs:80:23
[INFO] [stdout]    |
[INFO] [stdout] 80 |                 _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-04-23; 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<T>` (if you also use `#[may_dangle]`), `Send`, and/or `Sync`
[INFO] [stdout]   --> src/lib.rs:63:23
[INFO] [stdout]    |
[INFO] [stdout] 63 |                 _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-04-23; 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<T>` (if you also use `#[may_dangle]`), `Send`, and/or `Sync`
[INFO] [stdout]    --> src/lib.rs:105:29
[INFO] [stdout]     |
[INFO] [stdout] 105 |                 self._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-04-23; 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<T>` (if you also use `#[may_dangle]`), `Send`, and/or `Sync`
[INFO] [stdout]    --> src/lib.rs:123:43
[INFO] [stdout]     |
[INFO] [stdout] 123 |             let s = mem::transmute::<&mut Unique<T>, &mut *mut T>(&mut self._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-04-23; 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<T>` (if you also use `#[may_dangle]`), `Send`, and/or `Sync`
[INFO] [stdout]   --> src/lib.rs:80:23
[INFO] [stdout]    |
[INFO] [stdout] 80 |                 _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-04-23; 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<T>` (if you also use `#[may_dangle]`), `Send`, and/or `Sync`
[INFO] [stdout]    --> src/lib.rs:105:29
[INFO] [stdout]     |
[INFO] [stdout] 105 |                 self._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-04-23; 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<T>` (if you also use `#[may_dangle]`), `Send`, and/or `Sync`
[INFO] [stdout]    --> src/lib.rs:123:43
[INFO] [stdout]     |
[INFO] [stdout] 123 |             let s = mem::transmute::<&mut Unique<T>, &mut *mut T>(&mut self._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-04-23; 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:1:12
[INFO] [stdout]   |
[INFO] [stdout] 1 | #![feature(alloc, heap_api, coerce_unsized, unsize, unique, 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:1:53
[INFO] [stdout]   |
[INFO] [stdout] 1 | #![feature(alloc, heap_api, coerce_unsized, unsize, unique, oom)]
[INFO] [stdout]   |                                                     ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0635]: unknown feature `heap_api`
[INFO] [stdout]  --> src/lib.rs:1:19
[INFO] [stdout]   |
[INFO] [stdout] 1 | #![feature(alloc, heap_api, coerce_unsized, unsize, unique, oom)]
[INFO] [stdout]   |                   ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0635]: unknown feature `filling_drop`
[INFO] [stdout]  --> src/lib.rs:2:33
[INFO] [stdout]   |
[INFO] [stdout] 2 | #![feature(unsafe_no_drop_flag, filling_drop)]
[INFO] [stdout]   |                                 ^^^^^^^^^^^^
[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:1:12
[INFO] [stdout]   |
[INFO] [stdout] 1 | #![feature(alloc, heap_api, coerce_unsized, unsize, unique, oom)]
[INFO] [stdout]   |            ^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(stable_features)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0635]: unknown feature `oom`
[INFO] [stdout]  --> src/lib.rs:1:61
[INFO] [stdout]   |
[INFO] [stdout] 1 | #![feature(alloc, heap_api, coerce_unsized, unsize, unique, oom)]
[INFO] [stdout]   |                                                             ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0635]: unknown feature `unique`
[INFO] [stdout]  --> src/lib.rs:1:53
[INFO] [stdout]   |
[INFO] [stdout] 1 | #![feature(alloc, heap_api, coerce_unsized, unsize, unique, oom)]
[INFO] [stdout]   |                                                     ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0635]: unknown feature `heap_api`
[INFO] [stdout]  --> src/lib.rs:1:19
[INFO] [stdout]   |
[INFO] [stdout] 1 | #![feature(alloc, heap_api, coerce_unsized, unsize, unique, oom)]
[INFO] [stdout]   |                   ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0635]: unknown feature `filling_drop`
[INFO] [stdout]  --> src/lib.rs:2:33
[INFO] [stdout]   |
[INFO] [stdout] 2 | #![feature(unsafe_no_drop_flag, filling_drop)]
[INFO] [stdout]   |                                 ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0635]: unknown feature `oom`
[INFO] [stdout]  --> src/lib.rs:1:61
[INFO] [stdout]   |
[INFO] [stdout] 1 | #![feature(alloc, heap_api, coerce_unsized, unsize, unique, oom)]
[INFO] [stdout]   |                                                             ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0658]: use of unstable library feature 'ptr_internals'
[INFO] [stdout]   --> src/lib.rs:63:23
[INFO] [stdout]    |
[INFO] [stdout] 63 |                 _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-04-23; 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:63:23
[INFO] [stdout]    |
[INFO] [stdout] 63 |                 _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-04-23; consider upgrading it if it is out of date
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/lib.rs:63:23
[INFO] [stdout]    |
[INFO] [stdout] 63 |                 _ptr: Unique::new(ptr),
[INFO] [stdout]    |                       ^^^^^^^^^^^^^^^^ expected `Unique<T>`, found `Option<Unique<_>>`
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected struct `Unique<T>`
[INFO] [stdout]                 found enum `Option<Unique<_>>`
[INFO] [stdout] help: consider using `Option::expect` to unwrap the `Option<Unique<_>>` value, panicking if the value is an `Option::None`
[INFO] [stdout]    |
[INFO] [stdout] 63 |                 _ptr: Unique::new(ptr).expect("REASON"),
[INFO] [stdout]    |                                       +++++++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0658]: use of unstable library feature 'ptr_internals'
[INFO] [stdout]   --> src/lib.rs:80:23
[INFO] [stdout]    |
[INFO] [stdout] 80 |                 _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-04-23; consider upgrading it if it is out of date
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/lib.rs:80:23
[INFO] [stdout]    |
[INFO] [stdout] 80 |                 _ptr: Unique::new(ptr),
[INFO] [stdout]    |                       ^^^^^^^^^^^^^^^^ expected `Unique<T>`, found `Option<Unique<_>>`
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected struct `Unique<T>`
[INFO] [stdout]                 found enum `Option<Unique<_>>`
[INFO] [stdout] help: consider using `Option::expect` to unwrap the `Option<Unique<_>>` value, panicking if the value is an `Option::None`
[INFO] [stdout]    |
[INFO] [stdout] 80 |                 _ptr: Unique::new(ptr).expect("REASON"),
[INFO] [stdout]    |                                       +++++++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/lib.rs:63:23
[INFO] [stdout]    |
[INFO] [stdout] 63 |                 _ptr: Unique::new(ptr),
[INFO] [stdout]    |                       ^^^^^^^^^^^^^^^^ expected `Unique<T>`, found `Option<Unique<_>>`
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected struct `Unique<T>`
[INFO] [stdout]                 found enum `Option<Unique<_>>`
[INFO] [stdout] help: consider using `Option::expect` to unwrap the `Option<Unique<_>>` value, panicking if the value is an `Option::None`
[INFO] [stdout]    |
[INFO] [stdout] 63 |                 _ptr: Unique::new(ptr).expect("REASON"),
[INFO] [stdout]    |                                       +++++++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0658]: use of unstable library feature 'ptr_internals'
[INFO] [stdout]   --> src/lib.rs:80:23
[INFO] [stdout]    |
[INFO] [stdout] 80 |                 _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-04-23; consider upgrading it if it is out of date
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/lib.rs:80:23
[INFO] [stdout]    |
[INFO] [stdout] 80 |                 _ptr: Unique::new(ptr),
[INFO] [stdout]    |                       ^^^^^^^^^^^^^^^^ expected `Unique<T>`, found `Option<Unique<_>>`
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected struct `Unique<T>`
[INFO] [stdout]                 found enum `Option<Unique<_>>`
[INFO] [stdout] help: consider using `Option::expect` to unwrap the `Option<Unique<_>>` value, panicking if the value is an `Option::None`
[INFO] [stdout]    |
[INFO] [stdout] 80 |                 _ptr: Unique::new(ptr).expect("REASON"),
[INFO] [stdout]    |                                       +++++++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `get_mut` found for struct `Unique` in the current scope
[INFO] [stdout]    --> src/lib.rs:101:58
[INFO] [stdout]     |
[INFO] [stdout] 101 |                 let mut ptr = alloc_or_realloc(self._ptr.get_mut(), size, self._capacity);
[INFO] [stdout]     |                                                          ^^^^^^^ method not found in `Unique<T>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `get_mut` found for struct `Unique` in the current scope
[INFO] [stdout]    --> src/lib.rs:101:58
[INFO] [stdout]     |
[INFO] [stdout] 101 |                 let mut ptr = alloc_or_realloc(self._ptr.get_mut(), size, self._capacity);
[INFO] [stdout]     |                                                          ^^^^^^^ method not found in `Unique<T>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0658]: use of unstable library feature 'ptr_internals'
[INFO] [stdout]    --> src/lib.rs:105:29
[INFO] [stdout]     |
[INFO] [stdout] 105 |                 self._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-04-23; 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:105:29
[INFO] [stdout]     |
[INFO] [stdout] 105 |                 self._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-04-23; consider upgrading it if it is out of date
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/lib.rs:105:29
[INFO] [stdout]     |
[INFO] [stdout] 105 |                 self._ptr = Unique::new(ptr);
[INFO] [stdout]     |                 ---------   ^^^^^^^^^^^^^^^^ expected `Unique<T>`, found `Option<Unique<_>>`
[INFO] [stdout]     |                 |
[INFO] [stdout]     |                 expected due to the type of this binding
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected struct `Unique<T>`
[INFO] [stdout]                  found enum `Option<Unique<_>>`
[INFO] [stdout] help: consider using `Option::expect` to unwrap the `Option<Unique<_>>` value, panicking if the value is an `Option::None`
[INFO] [stdout]     |
[INFO] [stdout] 105 |                 self._ptr = Unique::new(ptr).expect("REASON");
[INFO] [stdout]     |                                             +++++++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0614]: type `Unique<T>` cannot be dereferenced
[INFO] [stdout]    --> src/lib.rs:120:31
[INFO] [stdout]     |
[INFO] [stdout] 120 |         let selfptr: *mut T = *self._ptr;
[INFO] [stdout]     |                               ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/lib.rs:105:29
[INFO] [stdout]     |
[INFO] [stdout] 105 |                 self._ptr = Unique::new(ptr);
[INFO] [stdout]     |                 ---------   ^^^^^^^^^^^^^^^^ expected `Unique<T>`, found `Option<Unique<_>>`
[INFO] [stdout]     |                 |
[INFO] [stdout]     |                 expected due to the type of this binding
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected struct `Unique<T>`
[INFO] [stdout]                  found enum `Option<Unique<_>>`
[INFO] [stdout] help: consider using `Option::expect` to unwrap the `Option<Unique<_>>` value, panicking if the value is an `Option::None`
[INFO] [stdout]     |
[INFO] [stdout] 105 |                 self._ptr = Unique::new(ptr).expect("REASON");
[INFO] [stdout]     |                                             +++++++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0614]: type `Unique<T>` cannot be dereferenced
[INFO] [stdout]    --> src/lib.rs:139:49
[INFO] [stdout]     |
[INFO] [stdout] 139 |                 let align = mem::align_of_val(&**self._ptr);
[INFO] [stdout]     |                                                 ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0614]: type `Unique<T>` cannot be dereferenced
[INFO] [stdout]    --> src/lib.rs:140:36
[INFO] [stdout]     |
[INFO] [stdout] 140 |                 ptr::drop_in_place(*self._ptr);
[INFO] [stdout]     |                                    ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0614]: type `Unique<T>` cannot be dereferenced
[INFO] [stdout]    --> src/lib.rs:141:34
[INFO] [stdout]     |
[INFO] [stdout] 141 |                 heap::deallocate(*self._ptr as *mut u8, self._capacity, align);
[INFO] [stdout]     |                                  ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0614]: type `Unique<T>` cannot be dereferenced
[INFO] [stdout]    --> src/lib.rs:120:31
[INFO] [stdout]     |
[INFO] [stdout] 120 |         let selfptr: *mut T = *self._ptr;
[INFO] [stdout]     |                               ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0614]: type `Unique<T>` cannot be dereferenced
[INFO] [stdout]    --> src/lib.rs:139:49
[INFO] [stdout]     |
[INFO] [stdout] 139 |                 let align = mem::align_of_val(&**self._ptr);
[INFO] [stdout]     |                                                 ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0614]: type `Unique<T>` cannot be dereferenced
[INFO] [stdout]    --> src/lib.rs:140:36
[INFO] [stdout]     |
[INFO] [stdout] 140 |                 ptr::drop_in_place(*self._ptr);
[INFO] [stdout]     |                                    ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0614]: type `Unique<T>` cannot be dereferenced
[INFO] [stdout]    --> src/lib.rs:141:34
[INFO] [stdout]     |
[INFO] [stdout] 141 |                 heap::deallocate(*self._ptr as *mut u8, self._capacity, align);
[INFO] [stdout]     |                                  ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `get` found for struct `Unique` in the current scope
[INFO] [stdout]    --> src/lib.rs:154:23
[INFO] [stdout]     |
[INFO] [stdout] 154 |             self._ptr.get()
[INFO] [stdout]     |                       ^^^ method not found in `Unique<T>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `get` found for struct `Unique` in the current scope
[INFO] [stdout]    --> src/lib.rs:154:23
[INFO] [stdout]     |
[INFO] [stdout] 154 |             self._ptr.get()
[INFO] [stdout]     |                       ^^^ method not found in `Unique<T>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `get_mut` found for struct `Unique` in the current scope
[INFO] [stdout]    --> src/lib.rs:162:23
[INFO] [stdout]     |
[INFO] [stdout] 162 |             self._ptr.get_mut()
[INFO] [stdout]     |                       ^^^^^^^ method not found in `Unique<T>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `get_mut` found for struct `Unique` in the current scope
[INFO] [stdout]    --> src/lib.rs:162:23
[INFO] [stdout]     |
[INFO] [stdout] 162 |             self._ptr.get_mut()
[INFO] [stdout]     |                       ^^^^^^^ method not found in `Unique<T>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]    --> src/lib.rs:193:29
[INFO] [stdout]     |
[INFO] [stdout] 193 |             let mut g: Grow<FnMut(i32) -> i32> = Grow::new(|x| x + 1);
[INFO] [stdout]     |                             ^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout]     = note: `#[warn(bare_trait_objects)]` on by default
[INFO] [stdout] help: if this is an object-safe trait, use `dyn`
[INFO] [stdout]     |
[INFO] [stdout] 193 |             let mut g: Grow<dyn FnMut(i32) -> i32> = Grow::new(|x| x + 1);
[INFO] [stdout]     |                             +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/lib.rs:17:29
[INFO] [stdout]    |
[INFO] [stdout] 17 | fn decompose_ptr<T: ?Sized>(mut ptr: &mut *mut T) -> (*mut u8, Option<&mut usize>) {
[INFO] [stdout]    |                             ----^^^
[INFO] [stdout]    |                             |
[INFO] [stdout]    |                             help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 28 previous errors; 2 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0308, E0425, E0432, E0433, E0557, E0599, E0614, E0635, E0658.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0308`.
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/lib.rs:17:29
[INFO] [stdout]    |
[INFO] [stdout] 17 | fn decompose_ptr<T: ?Sized>(mut ptr: &mut *mut T) -> (*mut u8, Option<&mut usize>) {
[INFO] [stdout]    |                             ----^^^
[INFO] [stdout]    |                             |
[INFO] [stdout]    |                             help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `grow` (lib) due to 29 previous errors; 2 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] error: aborting due to 28 previous errors; 3 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0308, E0425, E0432, E0433, E0557, E0599, 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 `grow` (lib test) due to 29 previous errors; 3 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "a51af88b668dc292557203524594979d112bcc87986bf05b488e32d90a1c25bc", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "a51af88b668dc292557203524594979d112bcc87986bf05b488e32d90a1c25bc", kill_on_drop: false }`
[INFO] [stdout] a51af88b668dc292557203524594979d112bcc87986bf05b488e32d90a1c25bc
