[INFO] cloning repository https://github.com/Adiao1973/dstructs
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Adiao1973/dstructs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAdiao1973%2Fdstructs", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAdiao1973%2Fdstructs'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] c0f927935afaffac22f7c2b52a8c21b834b8f401
[INFO] checking Adiao1973/dstructs against try#0611f7de057c584b8771102fde7aed6c70c71d3b for pr-146440
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAdiao1973%2Fdstructs" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/Adiao1973/dstructs
[INFO] finished tweaking git repo https://github.com/Adiao1973/dstructs
[INFO] tweaked toml for git repo https://github.com/Adiao1973/dstructs written to /workspace/builds/worker-4-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/Adiao1973/dstructs on toolchain 0611f7de057c584b8771102fde7aed6c70c71d3b
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+0611f7de057c584b8771102fde7aed6c70c71d3b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/Adiao1973/dstructs already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+0611f7de057c584b8771102fde7aed6c70c71d3b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+0611f7de057c584b8771102fde7aed6c70c71d3b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 67f9bba75f7c858107114482a7501694361c56bfe486b1643ae8e6367dc89eee
[INFO] running `Command { std: "docker" "start" "-a" "67f9bba75f7c858107114482a7501694361c56bfe486b1643ae8e6367dc89eee", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "67f9bba75f7c858107114482a7501694361c56bfe486b1643ae8e6367dc89eee", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "67f9bba75f7c858107114482a7501694361c56bfe486b1643ae8e6367dc89eee", kill_on_drop: false }`
[INFO] [stdout] 67f9bba75f7c858107114482a7501694361c56bfe486b1643ae8e6367dc89eee
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+0611f7de057c584b8771102fde7aed6c70c71d3b" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 744f3e730c81a13da481468de976f45ca0df11140f21c5ebd752bfff26ddd8de
[INFO] running `Command { std: "docker" "start" "-a" "744f3e730c81a13da481468de976f45ca0df11140f21c5ebd752bfff26ddd8de", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.173
[INFO] [stderr]     Checking regex-syntax v0.8.5
[INFO] [stderr]     Checking aho-corasick v1.1.3
[INFO] [stderr]     Checking jiff v0.2.15
[INFO] [stderr]     Checking foldhash v0.1.5
[INFO] [stderr]     Checking anstream v0.6.19
[INFO] [stderr]     Checking crossbeam-epoch v0.9.18
[INFO] [stderr]     Checking crossbeam-channel v0.5.15
[INFO] [stderr]     Checking crossbeam-queue v0.3.12
[INFO] [stderr]    Compiling syn v2.0.103
[INFO] [stderr]     Checking hashbrown v0.15.4
[INFO] [stderr]     Checking crossbeam-deque v0.8.6
[INFO] [stderr]     Checking crossbeam v0.8.4
[INFO] [stderr]     Checking regex-automata v0.4.9
[INFO] [stderr]     Checking getrandom v0.2.16
[INFO] [stderr]     Checking parking_lot_core v0.9.11
[INFO] [stderr]     Checking num_cpus v1.17.0
[INFO] [stderr]     Checking rand_core v0.6.4
[INFO] [stderr]     Checking parking_lot v0.12.4
[INFO] [stderr]     Checking dashmap v5.5.3
[INFO] [stderr]     Checking rand_chacha v0.3.1
[INFO] [stderr]     Checking rand v0.8.5
[INFO] [stderr]    Compiling thiserror-impl v2.0.12
[INFO] [stderr]     Checking thiserror v2.0.12
[INFO] [stderr]     Checking regex v1.11.1
[INFO] [stderr]     Checking env_filter v0.1.3
[INFO] [stderr]     Checking env_logger v0.11.8
[INFO] [stderr]     Checking dstructs v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `core::cell::RefCell`
[INFO] [stdout]   --> src/core/collections/graph.rs:14:5
[INFO] [stdout]    |
[INFO] [stdout] 14 | use core::cell::RefCell;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `alloc::string::String`
[INFO] [stdout]    --> src/core/collections/graph.rs:884:9
[INFO] [stdout]     |
[INFO] [stdout] 884 |     use alloc::string::String;
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::collections::hash_map::DefaultHasher`
[INFO] [stdout]    --> src/core/collections/hash_map.rs:449:13
[INFO] [stdout]     |
[INFO] [stdout] 449 |         use std::collections::hash_map::DefaultHasher;
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Display`
[INFO] [stdout]  --> src/core/collections/queue.rs:1:23
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::fmt::{Debug, Display};
[INFO] [stdout]   |                       ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::thread`
[INFO] [stdout]  --> src/core/concurrent/concurrent_hash_map.rs:9:5
[INFO] [stdout]   |
[INFO] [stdout] 9 | use std::thread;
[INFO] [stdout]   |     ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `core::cell::RefCell`
[INFO] [stdout]   --> src/core/collections/graph.rs:14:5
[INFO] [stdout]    |
[INFO] [stdout] 14 | use core::cell::RefCell;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Display`
[INFO] [stdout]  --> src/core/collections/queue.rs:1:23
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::fmt::{Debug, Display};
[INFO] [stdout]   |                       ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `rand::Rng`
[INFO] [stdout]  --> src/core/concurrent/concurrent_hash_map.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use rand::Rng;
[INFO] [stdout]   |     ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::thread`
[INFO] [stdout]  --> src/core/concurrent/concurrent_hash_map.rs:9:5
[INFO] [stdout]   |
[INFO] [stdout] 9 | use std::thread;
[INFO] [stdout]   |     ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the `#![no_std]` attribute can only be used at the crate root
[INFO] [stdout]  --> src/core/collections/graph.rs:1:1
[INFO] [stdout]   |
[INFO] [stdout] 1 | #![no_std]
[INFO] [stdout]   | ^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_attributes)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the `#![no_std]` attribute can only be used at the crate root
[INFO] [stdout]  --> src/core/concurrent/lock_free_queue.rs:1:1
[INFO] [stdout]   |
[INFO] [stdout] 1 | #![no_std]
[INFO] [stdout]   | ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the `#![no_std]` attribute can only be used at the crate root
[INFO] [stdout]  --> src/core/collections/graph.rs:1:1
[INFO] [stdout]   |
[INFO] [stdout] 1 | #![no_std]
[INFO] [stdout]   | ^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_attributes)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the `#![no_std]` attribute can only be used at the crate root
[INFO] [stdout]  --> src/core/concurrent/lock_free_queue.rs:1:1
[INFO] [stdout]   |
[INFO] [stdout] 1 | #![no_std]
[INFO] [stdout]   | ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/core/collections/binary_heap.rs:139:21
[INFO] [stdout]     |
[INFO] [stdout] 139 |     pub fn from_vec(mut vec: Vec<T>, heap_type: HeapType) -> Self {
[INFO] [stdout]     |                     ----^^^
[INFO] [stdout]     |                     |
[INFO] [stdout]     |                     help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]    --> src/core/collections/binary_tree.rs:166:25
[INFO] [stdout]     |
[INFO] [stdout] 144 |         unsafe {
[INFO] [stdout]     |         ------ because it's nested under this `unsafe` block
[INFO] [stdout] ...
[INFO] [stdout] 166 |                         unsafe {
[INFO] [stdout]     |                         ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_unsafe)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]    --> src/core/collections/binary_tree.rs:170:33
[INFO] [stdout]     |
[INFO] [stdout] 144 |         unsafe {
[INFO] [stdout]     |         ------ because it's nested under this `unsafe` block
[INFO] [stdout] ...
[INFO] [stdout] 170 |                         let _ = unsafe { Box::from_raw(new_node.as_ptr()) };
[INFO] [stdout]     |                                 ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block
[INFO] [stdout]    --> src/core/collections/binary_tree.rs:211:13
[INFO] [stdout]     |
[INFO] [stdout] 211 |             (*n.as_ptr()).update_height();
[INFO] [stdout]     |             ^^^^^^^^^^^^^ dereference of raw pointer
[INFO] [stdout]     |
[INFO] [stdout]     = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior
[INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default
[INFO] [stdout]    --> src/core/collections/binary_tree.rs:209:5
[INFO] [stdout]     |
[INFO] [stdout] 209 |     unsafe fn rebalance_after_insert(&mut self, mut node: Option<NonNull<Node<T>>>) {
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout]     = note: `#[warn(unsafe_op_in_unsafe_fn)]` (part of `#[warn(rust_2024_compatibility)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block
[INFO] [stdout]    --> src/core/collections/binary_tree.rs:212:27
[INFO] [stdout]     |
[INFO] [stdout] 212 |             let balance = (*n.as_ptr()).balance_factor();
[INFO] [stdout]     |                           ^^^^^^^^^^^^^ dereference of raw pointer
[INFO] [stdout]     |
[INFO] [stdout]     = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block
[INFO] [stdout]    --> src/core/collections/binary_tree.rs:215:28
[INFO] [stdout]     |
[INFO] [stdout] 215 |                 let left = (*n.as_ptr()).left.unwrap();
[INFO] [stdout]     |                            ^^^^^^^^^^^^^ dereference of raw pointer
[INFO] [stdout]     |
[INFO] [stdout]     = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block
[INFO] [stdout]    --> src/core/collections/binary_tree.rs:216:20
[INFO] [stdout]     |
[INFO] [stdout] 216 |                 if (*left.as_ptr()).balance_factor() < 0 {
[INFO] [stdout]     |                    ^^^^^^^^^^^^^^^^ dereference of raw pointer
[INFO] [stdout]     |
[INFO] [stdout]     = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: call to unsafe function `core::collections::binary_tree::BinaryTree::<T, C>::rotate_left` is unsafe and requires unsafe block
[INFO] [stdout]    --> src/core/collections/binary_tree.rs:217:21
[INFO] [stdout]     |
[INFO] [stdout] 217 |                     self.rotate_left(Some(left));
[INFO] [stdout]     |                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function
[INFO] [stdout]     |
[INFO] [stdout]     = note: consult the function's documentation for information on how to avoid undefined behavior
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: call to unsafe function `core::collections::binary_tree::BinaryTree::<T, C>::rotate_right` is unsafe and requires unsafe block
[INFO] [stdout]    --> src/core/collections/binary_tree.rs:219:24
[INFO] [stdout]     |
[INFO] [stdout] 219 |                 node = self.rotate_right(Some(n));
[INFO] [stdout]     |                        ^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function
[INFO] [stdout]     |
[INFO] [stdout]     = note: consult the function's documentation for information on how to avoid undefined behavior
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block
[INFO] [stdout]    --> src/core/collections/binary_tree.rs:221:29
[INFO] [stdout]     |
[INFO] [stdout] 221 |                 let right = (*n.as_ptr()).right.unwrap();
[INFO] [stdout]     |                             ^^^^^^^^^^^^^ dereference of raw pointer
[INFO] [stdout]     |
[INFO] [stdout]     = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block
[INFO] [stdout]    --> src/core/collections/binary_tree.rs:222:20
[INFO] [stdout]     |
[INFO] [stdout] 222 |                 if (*right.as_ptr()).balance_factor() > 0 {
[INFO] [stdout]     |                    ^^^^^^^^^^^^^^^^^ dereference of raw pointer
[INFO] [stdout]     |
[INFO] [stdout]     = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: call to unsafe function `core::collections::binary_tree::BinaryTree::<T, C>::rotate_right` is unsafe and requires unsafe block
[INFO] [stdout]    --> src/core/collections/binary_tree.rs:223:21
[INFO] [stdout]     |
[INFO] [stdout] 223 |                     self.rotate_right(Some(right));
[INFO] [stdout]     |                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function
[INFO] [stdout]     |
[INFO] [stdout]     = note: consult the function's documentation for information on how to avoid undefined behavior
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: call to unsafe function `core::collections::binary_tree::BinaryTree::<T, C>::rotate_left` is unsafe and requires unsafe block
[INFO] [stdout]    --> src/core/collections/binary_tree.rs:225:24
[INFO] [stdout]     |
[INFO] [stdout] 225 |                 node = self.rotate_left(Some(n));
[INFO] [stdout]     |                        ^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function
[INFO] [stdout]     |
[INFO] [stdout]     = note: consult the function's documentation for information on how to avoid undefined behavior
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block
[INFO] [stdout]    --> src/core/collections/binary_tree.rs:228:20
[INFO] [stdout]     |
[INFO] [stdout] 228 |             node = (*n.as_ptr()).parent;
[INFO] [stdout]     |                    ^^^^^^^^^^^^^ dereference of raw pointer
[INFO] [stdout]     |
[INFO] [stdout]     = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `node` is never read
[INFO] [stdout]    --> src/core/collections/binary_tree.rs:225:17
[INFO] [stdout]     |
[INFO] [stdout] 219 |                 node = self.rotate_right(Some(n));
[INFO] [stdout]     |                 --------------------------------- `node` is overwritten here before the previous value is read
[INFO] [stdout] ...
[INFO] [stdout] 225 |                 node = self.rotate_left(Some(n));
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this value is reassigned later and never used
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `node` is never read
[INFO] [stdout]    --> src/core/collections/binary_tree.rs:219:17
[INFO] [stdout]     |
[INFO] [stdout] 219 |                 node = self.rotate_right(Some(n));
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this value is reassigned later and never used
[INFO] [stdout] ...
[INFO] [stdout] 228 |             node = (*n.as_ptr()).parent;
[INFO] [stdout]     |             --------------------------- `node` is overwritten here before the previous value is read
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block
[INFO] [stdout]    --> src/core/collections/binary_tree.rs:235:34
[INFO] [stdout]     |
[INFO] [stdout] 235 |             if let Some(right) = (*n.as_ptr()).right {
[INFO] [stdout]     |                                  ^^^^^^^^^^^^^ dereference of raw pointer
[INFO] [stdout]     |
[INFO] [stdout]     = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior
[INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default
[INFO] [stdout]    --> src/core/collections/binary_tree.rs:233:5
[INFO] [stdout]     |
[INFO] [stdout] 233 |     unsafe fn rotate_left(&mut self, node: Option<NonNull<Node<T>>>) -> Option<NonNull<Node<T>>> {
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block
[INFO] [stdout]    --> src/core/collections/binary_tree.rs:236:17
[INFO] [stdout]     |
[INFO] [stdout] 236 |                 (*n.as_ptr()).right = (*right.as_ptr()).left;
[INFO] [stdout]     |                 ^^^^^^^^^^^^^ dereference of raw pointer
[INFO] [stdout]     |
[INFO] [stdout]     = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block
[INFO] [stdout]    --> src/core/collections/binary_tree.rs:236:39
[INFO] [stdout]     |
[INFO] [stdout] 236 |                 (*n.as_ptr()).right = (*right.as_ptr()).left;
[INFO] [stdout]     |                                       ^^^^^^^^^^^^^^^^^ dereference of raw pointer
[INFO] [stdout]     |
[INFO] [stdout]     = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block
[INFO] [stdout]    --> src/core/collections/binary_tree.rs:237:37
[INFO] [stdout]     |
[INFO] [stdout] 237 |                 if let Some(left) = (*right.as_ptr()).left {
[INFO] [stdout]     |                                     ^^^^^^^^^^^^^^^^^ dereference of raw pointer
[INFO] [stdout]     |
[INFO] [stdout]     = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block
[INFO] [stdout]    --> src/core/collections/binary_tree.rs:238:21
[INFO] [stdout]     |
[INFO] [stdout] 238 |                     (*left.as_ptr()).parent = Some(n);
[INFO] [stdout]     |                     ^^^^^^^^^^^^^^^^ dereference of raw pointer
[INFO] [stdout]     |
[INFO] [stdout]     = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block
[INFO] [stdout]    --> src/core/collections/binary_tree.rs:240:17
[INFO] [stdout]     |
[INFO] [stdout] 240 |                 (*right.as_ptr()).left = Some(n);
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^^^ dereference of raw pointer
[INFO] [stdout]     |
[INFO] [stdout]     = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block
[INFO] [stdout]    --> src/core/collections/binary_tree.rs:241:17
[INFO] [stdout]     |
[INFO] [stdout] 241 |                 (*right.as_ptr()).parent = (*n.as_ptr()).parent;
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^^^ dereference of raw pointer
[INFO] [stdout]     |
[INFO] [stdout]     = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block
[INFO] [stdout]    --> src/core/collections/binary_tree.rs:241:44
[INFO] [stdout]     |
[INFO] [stdout] 241 |                 (*right.as_ptr()).parent = (*n.as_ptr()).parent;
[INFO] [stdout]     |                                            ^^^^^^^^^^^^^ dereference of raw pointer
[INFO] [stdout]     |
[INFO] [stdout]     = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block
[INFO] [stdout]    --> src/core/collections/binary_tree.rs:242:17
[INFO] [stdout]     |
[INFO] [stdout] 242 |                 (*n.as_ptr()).parent = Some(right);
[INFO] [stdout]     |                 ^^^^^^^^^^^^^ dereference of raw pointer
[INFO] [stdout]     |
[INFO] [stdout]     = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block
[INFO] [stdout]    --> src/core/collections/binary_tree.rs:244:39
[INFO] [stdout]     |
[INFO] [stdout] 244 |                 if let Some(parent) = (*right.as_ptr()).parent {
[INFO] [stdout]     |                                       ^^^^^^^^^^^^^^^^^ dereference of raw pointer
[INFO] [stdout]     |
[INFO] [stdout]     = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block
[INFO] [stdout]    --> src/core/collections/binary_tree.rs:245:24
[INFO] [stdout]     |
[INFO] [stdout] 245 |                     if (*parent.as_ptr()).left == Some(n) {
[INFO] [stdout]     |                        ^^^^^^^^^^^^^^^^^^ dereference of raw pointer
[INFO] [stdout]     |
[INFO] [stdout]     = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block
[INFO] [stdout]    --> src/core/collections/binary_tree.rs:246:25
[INFO] [stdout]     |
[INFO] [stdout] 246 |                         (*parent.as_ptr()).left = Some(right);
[INFO] [stdout]     |                         ^^^^^^^^^^^^^^^^^^ dereference of raw pointer
[INFO] [stdout]     |
[INFO] [stdout]     = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block
[INFO] [stdout]    --> src/core/collections/binary_tree.rs:248:25
[INFO] [stdout]     |
[INFO] [stdout] 248 |                         (*parent.as_ptr()).right = Some(right);
[INFO] [stdout]     |                         ^^^^^^^^^^^^^^^^^^ dereference of raw pointer
[INFO] [stdout]     |
[INFO] [stdout]     = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block
[INFO] [stdout]    --> src/core/collections/binary_tree.rs:254:17
[INFO] [stdout]     |
[INFO] [stdout] 254 |                 (*n.as_ptr()).update_height();
[INFO] [stdout]     |                 ^^^^^^^^^^^^^ dereference of raw pointer
[INFO] [stdout]     |
[INFO] [stdout]     = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block
[INFO] [stdout]    --> src/core/collections/binary_tree.rs:255:17
[INFO] [stdout]     |
[INFO] [stdout] 255 |                 (*right.as_ptr()).update_height();
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^^^ dereference of raw pointer
[INFO] [stdout]     |
[INFO] [stdout]     = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block
[INFO] [stdout]    --> src/core/collections/binary_tree.rs:266:33
[INFO] [stdout]     |
[INFO] [stdout] 266 |             if let Some(left) = (*n.as_ptr()).left {
[INFO] [stdout]     |                                 ^^^^^^^^^^^^^ dereference of raw pointer
[INFO] [stdout]     |
[INFO] [stdout]     = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior
[INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default
[INFO] [stdout]    --> src/core/collections/binary_tree.rs:264:5
[INFO] [stdout]     |
[INFO] [stdout] 264 |     unsafe fn rotate_right(&mut self, node: Option<NonNull<Node<T>>>) -> Option<NonNull<Node<T>>> {
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block
[INFO] [stdout]    --> src/core/collections/binary_tree.rs:267:17
[INFO] [stdout]     |
[INFO] [stdout] 267 |                 (*n.as_ptr()).left = (*left.as_ptr()).right;
[INFO] [stdout]     |                 ^^^^^^^^^^^^^ dereference of raw pointer
[INFO] [stdout]     |
[INFO] [stdout]     = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block
[INFO] [stdout]    --> src/core/collections/binary_tree.rs:267:38
[INFO] [stdout]     |
[INFO] [stdout] 267 |                 (*n.as_ptr()).left = (*left.as_ptr()).right;
[INFO] [stdout]     |                                      ^^^^^^^^^^^^^^^^ dereference of raw pointer
[INFO] [stdout]     |
[INFO] [stdout]     = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block
[INFO] [stdout]    --> src/core/collections/binary_tree.rs:268:38
[INFO] [stdout]     |
[INFO] [stdout] 268 |                 if let Some(right) = (*left.as_ptr()).right {
[INFO] [stdout]     |                                      ^^^^^^^^^^^^^^^^ dereference of raw pointer
[INFO] [stdout]     |
[INFO] [stdout]     = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block
[INFO] [stdout]    --> src/core/collections/binary_tree.rs:269:21
[INFO] [stdout]     |
[INFO] [stdout] 269 |                     (*right.as_ptr()).parent = Some(n);
[INFO] [stdout]     |                     ^^^^^^^^^^^^^^^^^ dereference of raw pointer
[INFO] [stdout]     |
[INFO] [stdout]     = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block
[INFO] [stdout]    --> src/core/collections/binary_tree.rs:271:17
[INFO] [stdout]     |
[INFO] [stdout] 271 |                 (*left.as_ptr()).right = Some(n);
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^^ dereference of raw pointer
[INFO] [stdout]     |
[INFO] [stdout]     = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block
[INFO] [stdout]    --> src/core/collections/binary_tree.rs:272:17
[INFO] [stdout]     |
[INFO] [stdout] 272 |                 (*left.as_ptr()).parent = (*n.as_ptr()).parent;
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^^ dereference of raw pointer
[INFO] [stdout]     |
[INFO] [stdout]     = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block
[INFO] [stdout]    --> src/core/collections/binary_tree.rs:272:43
[INFO] [stdout]     |
[INFO] [stdout] 272 |                 (*left.as_ptr()).parent = (*n.as_ptr()).parent;
[INFO] [stdout]     |                                           ^^^^^^^^^^^^^ dereference of raw pointer
[INFO] [stdout]     |
[INFO] [stdout]     = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block
[INFO] [stdout]    --> src/core/collections/binary_tree.rs:273:17
[INFO] [stdout]     |
[INFO] [stdout] 273 |                 (*n.as_ptr()).parent = Some(left);
[INFO] [stdout]     |                 ^^^^^^^^^^^^^ dereference of raw pointer
[INFO] [stdout]     |
[INFO] [stdout]     = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block
[INFO] [stdout]    --> src/core/collections/binary_tree.rs:275:39
[INFO] [stdout]     |
[INFO] [stdout] 275 |                 if let Some(parent) = (*left.as_ptr()).parent {
[INFO] [stdout]     |                                       ^^^^^^^^^^^^^^^^ dereference of raw pointer
[INFO] [stdout]     |
[INFO] [stdout]     = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block
[INFO] [stdout]    --> src/core/collections/binary_tree.rs:276:24
[INFO] [stdout]     |
[INFO] [stdout] 276 |                     if (*parent.as_ptr()).left == Some(n) {
[INFO] [stdout]     |                        ^^^^^^^^^^^^^^^^^^ dereference of raw pointer
[INFO] [stdout]     |
[INFO] [stdout]     = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block
[INFO] [stdout]    --> src/core/collections/binary_tree.rs:277:25
[INFO] [stdout]     |
[INFO] [stdout] 277 |                         (*parent.as_ptr()).left = Some(left);
[INFO] [stdout]     |                         ^^^^^^^^^^^^^^^^^^ dereference of raw pointer
[INFO] [stdout]     |
[INFO] [stdout]     = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block
[INFO] [stdout]    --> src/core/collections/binary_tree.rs:279:25
[INFO] [stdout]     |
[INFO] [stdout] 279 |                         (*parent.as_ptr()).right = Some(left);
[INFO] [stdout]     |                         ^^^^^^^^^^^^^^^^^^ dereference of raw pointer
[INFO] [stdout]     |
[INFO] [stdout]     = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block
[INFO] [stdout]    --> src/core/collections/binary_tree.rs:285:17
[INFO] [stdout]     |
[INFO] [stdout] 285 |                 (*n.as_ptr()).update_height();
[INFO] [stdout]     |                 ^^^^^^^^^^^^^ dereference of raw pointer
[INFO] [stdout]     |
[INFO] [stdout]     = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block
[INFO] [stdout]    --> src/core/collections/binary_tree.rs:286:17
[INFO] [stdout]     |
[INFO] [stdout] 286 |                 (*left.as_ptr()).update_height();
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^^ dereference of raw pointer
[INFO] [stdout]     |
[INFO] [stdout]     = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block
[INFO] [stdout]    --> src/core/collections/binary_tree.rs:314:22
[INFO] [stdout]     |
[INFO] [stdout] 314 |         let parent = (*node).parent;
[INFO] [stdout]     |                      ^^^^^^^ dereference of raw pointer
[INFO] [stdout]     |
[INFO] [stdout]     = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior
[INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default
[INFO] [stdout]    --> src/core/collections/binary_tree.rs:312:5
[INFO] [stdout]     |
[INFO] [stdout] 312 |     unsafe fn remove_node(&mut self, node: NonNull<Node<T>>) -> T {
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block
[INFO] [stdout]    --> src/core/collections/binary_tree.rs:316:16
[INFO] [stdout]     |
[INFO] [stdout] 316 |         match ((*node).left, (*node).right) {
[INFO] [stdout]     |                ^^^^^^^ dereference of raw pointer
[INFO] [stdout]     |
[INFO] [stdout]     = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block
[INFO] [stdout]    --> src/core/collections/binary_tree.rs:316:30
[INFO] [stdout]     |
[INFO] [stdout] 316 |         match ((*node).left, (*node).right) {
[INFO] [stdout]     |                              ^^^^^^^ dereference of raw pointer
[INFO] [stdout]     |
[INFO] [stdout]     = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: call to unsafe function `core::collections::binary_tree::BinaryTree::<T, C>::update_parent_link` is unsafe and requires unsafe block
[INFO] [stdout]    --> src/core/collections/binary_tree.rs:319:17
[INFO] [stdout]     |
[INFO] [stdout] 319 |                 self.update_parent_link(node, None);
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function
[INFO] [stdout]     |
[INFO] [stdout]     = note: consult the function's documentation for information on how to avoid undefined behavior
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: call to unsafe function `std::boxed::Box::<T>::from_raw` is unsafe and requires unsafe block
[INFO] [stdout]    --> src/core/collections/binary_tree.rs:320:28
[INFO] [stdout]     |
[INFO] [stdout] 320 |                 let node = Box::from_raw(node);
[INFO] [stdout]     |                            ^^^^^^^^^^^^^^^^^^^ call to unsafe function
[INFO] [stdout]     |
[INFO] [stdout]     = note: consult the function's documentation for information on how to avoid undefined behavior
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: call to unsafe function `core::collections::binary_tree::BinaryTree::<T, C>::rebalance_after_remove` is unsafe and requires unsafe block
[INFO] [stdout]    --> src/core/collections/binary_tree.rs:322:17
[INFO] [stdout]     |
[INFO] [stdout] 322 |                 self.rebalance_after_remove(parent);
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function
[INFO] [stdout]     |
[INFO] [stdout]     = note: consult the function's documentation for information on how to avoid undefined behavior
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: call to unsafe function `core::collections::binary_tree::BinaryTree::<T, C>::update_parent_link` is unsafe and requires unsafe block
[INFO] [stdout]    --> src/core/collections/binary_tree.rs:328:17
[INFO] [stdout]     |
[INFO] [stdout] 328 |                 self.update_parent_link(node, Some(child));
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function
[INFO] [stdout]     |
[INFO] [stdout]     = note: consult the function's documentation for information on how to avoid undefined behavior
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block
[INFO] [stdout]    --> src/core/collections/binary_tree.rs:329:17
[INFO] [stdout]     |
[INFO] [stdout] 329 |                 (*child.as_ptr()).parent = (*node).parent;
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^^^ dereference of raw pointer
[INFO] [stdout]     |
[INFO] [stdout]     = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block
[INFO] [stdout]    --> src/core/collections/binary_tree.rs:329:44
[INFO] [stdout]     |
[INFO] [stdout] 329 |                 (*child.as_ptr()).parent = (*node).parent;
[INFO] [stdout]     |                                            ^^^^^^^ dereference of raw pointer
[INFO] [stdout]     |
[INFO] [stdout]     = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: call to unsafe function `std::boxed::Box::<T>::from_raw` is unsafe and requires unsafe block
[INFO] [stdout]    --> src/core/collections/binary_tree.rs:330:28
[INFO] [stdout]     |
[INFO] [stdout] 330 |                 let node = Box::from_raw(node);
[INFO] [stdout]     |                            ^^^^^^^^^^^^^^^^^^^ call to unsafe function
[INFO] [stdout]     |
[INFO] [stdout]     = note: consult the function's documentation for information on how to avoid undefined behavior
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: call to unsafe function `core::collections::binary_tree::BinaryTree::<T, C>::rebalance_after_remove` is unsafe and requires unsafe block
[INFO] [stdout]    --> src/core/collections/binary_tree.rs:332:17
[INFO] [stdout]     |
[INFO] [stdout] 332 |                 self.rebalance_after_remove(parent);
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function
[INFO] [stdout]     |
[INFO] [stdout]     = note: consult the function's documentation for information on how to avoid undefined behavior
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: call to unsafe function `core::collections::binary_tree::BinaryTree::<T, C>::find_successor` is unsafe and requires unsafe block
[INFO] [stdout]    --> src/core/collections/binary_tree.rs:337:33
[INFO] [stdout]     |
[INFO] [stdout] 337 |                 let successor = self.find_successor(node);
[INFO] [stdout]     |                                 ^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function
[INFO] [stdout]     |
[INFO] [stdout]     = note: consult the function's documentation for information on how to avoid undefined behavior
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block
[INFO] [stdout]    --> src/core/collections/binary_tree.rs:338:32
[INFO] [stdout]     |
[INFO] [stdout] 338 |                 mem::swap(&mut (*node).data, &mut (*successor.as_ptr()).data);
[INFO] [stdout]     |                                ^^^^^^^ dereference of raw pointer
[INFO] [stdout]     |
[INFO] [stdout]     = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block
[INFO] [stdout]    --> src/core/collections/binary_tree.rs:338:51
[INFO] [stdout]     |
[INFO] [stdout] 338 |                 mem::swap(&mut (*node).data, &mut (*successor.as_ptr()).data);
[INFO] [stdout]     |                                                   ^^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer
[INFO] [stdout]     |
[INFO] [stdout]     = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: call to unsafe function `core::collections::binary_tree::BinaryTree::<T, C>::remove_node` is unsafe and requires unsafe block
[INFO] [stdout]    --> src/core/collections/binary_tree.rs:339:17
[INFO] [stdout]     |
[INFO] [stdout] 339 |                 self.remove_node(successor)
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function
[INFO] [stdout]     |
[INFO] [stdout]     = note: consult the function's documentation for information on how to avoid undefined behavior
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block
[INFO] [stdout]    --> src/core/collections/binary_tree.rs:350:22
[INFO] [stdout]     |
[INFO] [stdout] 350 |         let parent = (*node).parent;
[INFO] [stdout]     |                      ^^^^^^^ dereference of raw pointer
[INFO] [stdout]     |
[INFO] [stdout]     = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior
[INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default
[INFO] [stdout]    --> src/core/collections/binary_tree.rs:345:5
[INFO] [stdout]     |
[INFO] [stdout] 345 | /     unsafe fn update_parent_link(
[INFO] [stdout] 346 | |         &mut self,
[INFO] [stdout] 347 | |         node: *mut Node<T>,
[INFO] [stdout] 348 | |         new_child: Option<NonNull<Node<T>>>,
[INFO] [stdout] 349 | |     ) {
[INFO] [stdout]     | |_____^
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block
[INFO] [stdout]    --> src/core/collections/binary_tree.rs:354:20
[INFO] [stdout]     |
[INFO] [stdout] 354 |                 if (*p.as_ptr()).left == Some(NonNull::new(node).unwrap()) {
[INFO] [stdout]     |                    ^^^^^^^^^^^^^ dereference of raw pointer
[INFO] [stdout]     |
[INFO] [stdout]     = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block
[INFO] [stdout]    --> src/core/collections/binary_tree.rs:355:21
[INFO] [stdout]     |
[INFO] [stdout] 355 |                     (*p.as_ptr()).left = new_child;
[INFO] [stdout]     |                     ^^^^^^^^^^^^^ dereference of raw pointer
[INFO] [stdout]     |
[INFO] [stdout]     = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block
[INFO] [stdout]    --> src/core/collections/binary_tree.rs:357:21
[INFO] [stdout]     |
[INFO] [stdout] 357 |                     (*p.as_ptr()).right = new_child;
[INFO] [stdout]     |                     ^^^^^^^^^^^^^ dereference of raw pointer
[INFO] [stdout]     |
[INFO] [stdout]     = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block
[INFO] [stdout]    --> src/core/collections/binary_tree.rs:365:27
[INFO] [stdout]     |
[INFO] [stdout] 365 |         let mut current = (*node).right.unwrap();
[INFO] [stdout]     |                           ^^^^^^^ dereference of raw pointer
[INFO] [stdout]     |
[INFO] [stdout]     = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior
[INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default
[INFO] [stdout]    --> src/core/collections/binary_tree.rs:364:5
[INFO] [stdout]     |
[INFO] [stdout] 364 |     unsafe fn find_successor(&self, node: *mut Node<T>) -> NonNull<Node<T>> {
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block
[INFO] [stdout]    --> src/core/collections/binary_tree.rs:366:32
[INFO] [stdout]     |
[INFO] [stdout] 366 |         while let Some(left) = (*current.as_ptr()).left {
[INFO] [stdout]     |                                ^^^^^^^^^^^^^^^^^^^ dereference of raw pointer
[INFO] [stdout]     |
[INFO] [stdout]     = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block
[INFO] [stdout]    --> src/core/collections/binary_tree.rs:375:13
[INFO] [stdout]     |
[INFO] [stdout] 375 |             (*n.as_ptr()).update_height();
[INFO] [stdout]     |             ^^^^^^^^^^^^^ dereference of raw pointer
[INFO] [stdout]     |
[INFO] [stdout]     = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior
[INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default
[INFO] [stdout]    --> src/core/collections/binary_tree.rs:373:5
[INFO] [stdout]     |
[INFO] [stdout] 373 |     unsafe fn rebalance_after_remove(&mut self, mut node: Option<NonNull<Node<T>>>) {
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block
[INFO] [stdout]    --> src/core/collections/binary_tree.rs:376:27
[INFO] [stdout]     |
[INFO] [stdout] 376 |             let balance = (*n.as_ptr()).balance_factor();
[INFO] [stdout]     |                           ^^^^^^^^^^^^^ dereference of raw pointer
[INFO] [stdout]     |
[INFO] [stdout]     = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block
[INFO] [stdout]    --> src/core/collections/binary_tree.rs:379:28
[INFO] [stdout]     |
[INFO] [stdout] 379 |                 let left = (*n.as_ptr()).left.unwrap();
[INFO] [stdout]     |                            ^^^^^^^^^^^^^ dereference of raw pointer
[INFO] [stdout]     |
[INFO] [stdout]     = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block
[INFO] [stdout]    --> src/core/collections/binary_tree.rs:380:20
[INFO] [stdout]     |
[INFO] [stdout] 380 |                 if (*left.as_ptr()).balance_factor() < 0 {
[INFO] [stdout]     |                    ^^^^^^^^^^^^^^^^ dereference of raw pointer
[INFO] [stdout]     |
[INFO] [stdout]     = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: call to unsafe function `core::collections::binary_tree::BinaryTree::<T, C>::rotate_left` is unsafe and requires unsafe block
[INFO] [stdout]    --> src/core/collections/binary_tree.rs:381:21
[INFO] [stdout]     |
[INFO] [stdout] 381 |                     self.rotate_left(Some(left));
[INFO] [stdout]     |                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function
[INFO] [stdout]     |
[INFO] [stdout]     = note: consult the function's documentation for information on how to avoid undefined behavior
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: call to unsafe function `core::collections::binary_tree::BinaryTree::<T, C>::rotate_right` is unsafe and requires unsafe block
[INFO] [stdout]    --> src/core/collections/binary_tree.rs:383:24
[INFO] [stdout]     |
[INFO] [stdout] 383 |                 node = self.rotate_right(Some(n));
[INFO] [stdout]     |                        ^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function
[INFO] [stdout]     |
[INFO] [stdout]     = note: consult the function's documentation for information on how to avoid undefined behavior
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block
[INFO] [stdout]    --> src/core/collections/binary_tree.rs:385:29
[INFO] [stdout]     |
[INFO] [stdout] 385 |                 let right = (*n.as_ptr()).right.unwrap();
[INFO] [stdout]     |                             ^^^^^^^^^^^^^ dereference of raw pointer
[INFO] [stdout]     |
[INFO] [stdout]     = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block
[INFO] [stdout]    --> src/core/collections/binary_tree.rs:386:20
[INFO] [stdout]     |
[INFO] [stdout] 386 |                 if (*right.as_ptr()).balance_factor() > 0 {
[INFO] [stdout]     |                    ^^^^^^^^^^^^^^^^^ dereference of raw pointer
[INFO] [stdout]     |
[INFO] [stdout]     = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: call to unsafe function `core::collections::binary_tree::BinaryTree::<T, C>::rotate_right` is unsafe and requires unsafe block
[INFO] [stdout]    --> src/core/collections/binary_tree.rs:387:21
[INFO] [stdout]     |
[INFO] [stdout] 387 |                     self.rotate_right(Some(right));
[INFO] [stdout]     |                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function
[INFO] [stdout]     |
[INFO] [stdout]     = note: consult the function's documentation for information on how to avoid undefined behavior
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: call to unsafe function `core::collections::binary_tree::BinaryTree::<T, C>::rotate_left` is unsafe and requires unsafe block
[INFO] [stdout]    --> src/core/collections/binary_tree.rs:389:24
[INFO] [stdout]     |
[INFO] [stdout] 389 |                 node = self.rotate_left(Some(n));
[INFO] [stdout]     |                        ^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function
[INFO] [stdout]     |
[INFO] [stdout]     = note: consult the function's documentation for information on how to avoid undefined behavior
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block
[INFO] [stdout]    --> src/core/collections/binary_tree.rs:392:20
[INFO] [stdout]     |
[INFO] [stdout] 392 |             node = (*n.as_ptr()).parent;
[INFO] [stdout]     |                    ^^^^^^^^^^^^^ dereference of raw pointer
[INFO] [stdout]     |
[INFO] [stdout]     = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `node` is never read
[INFO] [stdout]    --> src/core/collections/binary_tree.rs:389:17
[INFO] [stdout]     |
[INFO] [stdout] 383 |                 node = self.rotate_right(Some(n));
[INFO] [stdout]     |                 --------------------------------- `node` is overwritten here before the previous value is read
[INFO] [stdout] ...
[INFO] [stdout] 389 |                 node = self.rotate_left(Some(n));
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this value is reassigned later and never used
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `node` is never read
[INFO] [stdout]    --> src/core/collections/binary_tree.rs:383:17
[INFO] [stdout]     |
[INFO] [stdout] 383 |                 node = self.rotate_right(Some(n));
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this value is reassigned later and never used
[INFO] [stdout] ...
[INFO] [stdout] 392 |             node = (*n.as_ptr()).parent;
[INFO] [stdout]     |             --------------------------- `node` is overwritten here before the previous value is read
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block
[INFO] [stdout]   --> src/core/concurrent/lock_free_queue.rs:72:36
[INFO] [stdout]    |
[INFO] [stdout] 72 |         NonNull::new(ptr).map(|p| &*p.as_ptr())
[INFO] [stdout]    |                                    ^^^^^^^^^^^ dereference of raw pointer
[INFO] [stdout]    |
[INFO] [stdout]    = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior
[INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default
[INFO] [stdout]   --> src/core/concurrent/lock_free_queue.rs:71:5
[INFO] [stdout]    |
[INFO] [stdout] 71 |     unsafe fn as_ref<'a>(ptr: *mut Self) -> Option<&'a Self> {
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `old_head`
[INFO] [stdout]    --> src/core/concurrent/lock_free_queue.rs:153:25
[INFO] [stdout]     |
[INFO] [stdout] 153 |                     let old_head = Box::from_raw(head);
[INFO] [stdout]     |                         ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_old_head`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type `SegmentStats` is more private than the item `ConcurrentHashMap::<K, V, S>::get_stats`
[INFO] [stdout]    --> src/core/concurrent/concurrent_hash_map.rs:127:5
[INFO] [stdout]     |
[INFO] [stdout] 127 |     pub fn get_stats(&self) -> HashMap<usize, SegmentStats> {
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method `ConcurrentHashMap::<K, V, S>::get_stats` is reachable at visibility `pub`
[INFO] [stdout]     |
[INFO] [stdout] note: but type `SegmentStats` is only usable at visibility `pub(self)`
[INFO] [stdout]    --> src/core/concurrent/concurrent_hash_map.rs:39:1
[INFO] [stdout]     |
[INFO] [stdout]  39 | struct SegmentStats {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = note: `#[warn(private_interfaces)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `is_valid_heap` is never used
[INFO] [stdout]    --> src/core/collections/binary_heap.rs:421:8
[INFO] [stdout]     |
[INFO] [stdout]  58 | impl<T: Ord> BinaryHeap<T> {
[INFO] [stdout]     | -------------------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 421 |     fn is_valid_heap(&self) -> bool {
[INFO] [stdout]     |        ^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `height` is never used
[INFO] [stdout]   --> src/core/collections/binary_tree.rs:76:8
[INFO] [stdout]    |
[INFO] [stdout] 57 | impl<T> Node<T> {
[INFO] [stdout]    | --------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 76 |     fn height(&self) -> i32 {
[INFO] [stdout]    |        ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new_deleted` is never used
[INFO] [stdout]   --> src/core/collections/hash_map.rs:44:8
[INFO] [stdout]    |
[INFO] [stdout] 33 | impl<K, V> Entry<K, V> {
[INFO] [stdout]    | ---------------------- associated function in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 44 |     fn new_deleted() -> Self {
[INFO] [stdout]    |        ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: struct `Drain` is never constructed
[INFO] [stdout]   --> src/core/collections/vector.rs:17:12
[INFO] [stdout]    |
[INFO] [stdout] 17 | pub struct Drain<'a, T: 'a> {
[INFO] [stdout]    |            ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this `pub` struct has private fields, no public constructor, and is not otherwise reachable through the external API, so consider providing a public constructor or removing it
[INFO] [stdout]    = note: `#[deny(unused_unconstructable_pub_struct)]` (part of `#[deny(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `vec` and `range` are never read
[INFO] [stdout]   --> src/core/collections/vector.rs:18:5
[INFO] [stdout]    |
[INFO] [stdout] 17 | pub struct Drain<'a, T: 'a> {
[INFO] [stdout]    |            ----- fields in this struct
[INFO] [stdout] 18 |     vec: &'a mut Vector<T>,
[INFO] [stdout]    |     ^^^
[INFO] [stdout] 19 |     range: Range<usize>,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `contention_count` and `last_resize` are never read
[INFO] [stdout]   --> src/core/concurrent/concurrent_hash_map.rs:41:5
[INFO] [stdout]    |
[INFO] [stdout] 39 | struct SegmentStats {
[INFO] [stdout]    |        ------------ fields in this struct
[INFO] [stdout] 40 |     operations: u64,
[INFO] [stdout] 41 |     contention_count: u64,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^
[INFO] [stdout] 42 |     last_resize: Option<Instant>,
[INFO] [stdout]    |     ^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `SegmentStats` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0133`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `dstructs` (lib) due to 1 previous error; 94 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/core/collections/binary_heap.rs:139:21
[INFO] [stdout]     |
[INFO] [stdout] 139 |     pub fn from_vec(mut vec: Vec<T>, heap_type: HeapType) -> Self {
[INFO] [stdout]     |                     ----^^^
[INFO] [stdout]     |                     |
[INFO] [stdout]     |                     help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]    --> src/core/collections/binary_tree.rs:166:25
[INFO] [stdout]     |
[INFO] [stdout] 144 |         unsafe {
[INFO] [stdout]     |         ------ because it's nested under this `unsafe` block
[INFO] [stdout] ...
[INFO] [stdout] 166 |                         unsafe {
[INFO] [stdout]     |                         ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_unsafe)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]    --> src/core/collections/binary_tree.rs:170:33
[INFO] [stdout]     |
[INFO] [stdout] 144 |         unsafe {
[INFO] [stdout]     |         ------ because it's nested under this `unsafe` block
[INFO] [stdout] ...
[INFO] [stdout] 170 |                         let _ = unsafe { Box::from_raw(new_node.as_ptr()) };
[INFO] [stdout]     |                                 ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block
[INFO] [stdout]    --> src/core/collections/binary_tree.rs:211:13
[INFO] [stdout]     |
[INFO] [stdout] 211 |             (*n.as_ptr()).update_height();
[INFO] [stdout]     |             ^^^^^^^^^^^^^ dereference of raw pointer
[INFO] [stdout]     |
[INFO] [stdout]     = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior
[INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default
[INFO] [stdout]    --> src/core/collections/binary_tree.rs:209:5
[INFO] [stdout]     |
[INFO] [stdout] 209 |     unsafe fn rebalance_after_insert(&mut self, mut node: Option<NonNull<Node<T>>>) {
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout]     = note: `#[warn(unsafe_op_in_unsafe_fn)]` (part of `#[warn(rust_2024_compatibility)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block
[INFO] [stdout]    --> src/core/collections/binary_tree.rs:212:27
[INFO] [stdout]     |
[INFO] [stdout] 212 |             let balance = (*n.as_ptr()).balance_factor();
[INFO] [stdout]     |                           ^^^^^^^^^^^^^ dereference of raw pointer
[INFO] [stdout]     |
[INFO] [stdout]     = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block
[INFO] [stdout]    --> src/core/collections/binary_tree.rs:215:28
[INFO] [stdout]     |
[INFO] [stdout] 215 |                 let left = (*n.as_ptr()).left.unwrap();
[INFO] [stdout]     |                            ^^^^^^^^^^^^^ dereference of raw pointer
[INFO] [stdout]     |
[INFO] [stdout]     = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block
[INFO] [stdout]    --> src/core/collections/binary_tree.rs:216:20
[INFO] [stdout]     |
[INFO] [stdout] 216 |                 if (*left.as_ptr()).balance_factor() < 0 {
[INFO] [stdout]     |                    ^^^^^^^^^^^^^^^^ dereference of raw pointer
[INFO] [stdout]     |
[INFO] [stdout]     = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: call to unsafe function `core::collections::binary_tree::BinaryTree::<T, C>::rotate_left` is unsafe and requires unsafe block
[INFO] [stdout]    --> src/core/collections/binary_tree.rs:217:21
[INFO] [stdout]     |
[INFO] [stdout] 217 |                     self.rotate_left(Some(left));
[INFO] [stdout]     |                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function
[INFO] [stdout]     |
[INFO] [stdout]     = note: consult the function's documentation for information on how to avoid undefined behavior
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: call to unsafe function `core::collections::binary_tree::BinaryTree::<T, C>::rotate_right` is unsafe and requires unsafe block
[INFO] [stdout]    --> src/core/collections/binary_tree.rs:219:24
[INFO] [stdout]     |
[INFO] [stdout] 219 |                 node = self.rotate_right(Some(n));
[INFO] [stdout]     |                        ^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function
[INFO] [stdout]     |
[INFO] [stdout]     = note: consult the function's documentation for information on how to avoid undefined behavior
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block
[INFO] [stdout]    --> src/core/collections/binary_tree.rs:221:29
[INFO] [stdout]     |
[INFO] [stdout] 221 |                 let right = (*n.as_ptr()).right.unwrap();
[INFO] [stdout]     |                             ^^^^^^^^^^^^^ dereference of raw pointer
[INFO] [stdout]     |
[INFO] [stdout]     = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block
[INFO] [stdout]    --> src/core/collections/binary_tree.rs:222:20
[INFO] [stdout]     |
[INFO] [stdout] 222 |                 if (*right.as_ptr()).balance_factor() > 0 {
[INFO] [stdout]     |                    ^^^^^^^^^^^^^^^^^ dereference of raw pointer
[INFO] [stdout]     |
[INFO] [stdout]     = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: call to unsafe function `core::collections::binary_tree::BinaryTree::<T, C>::rotate_right` is unsafe and requires unsafe block
[INFO] [stdout]    --> src/core/collections/binary_tree.rs:223:21
[INFO] [stdout]     |
[INFO] [stdout] 223 |                     self.rotate_right(Some(right));
[INFO] [stdout]     |                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function
[INFO] [stdout]     |
[INFO] [stdout]     = note: consult the function's documentation for information on how to avoid undefined behavior
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: call to unsafe function `core::collections::binary_tree::BinaryTree::<T, C>::rotate_left` is unsafe and requires unsafe block
[INFO] [stdout]    --> src/core/collections/binary_tree.rs:225:24
[INFO] [stdout]     |
[INFO] [stdout] 225 |                 node = self.rotate_left(Some(n));
[INFO] [stdout]     |                        ^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function
[INFO] [stdout]     |
[INFO] [stdout]     = note: consult the function's documentation for information on how to avoid undefined behavior
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block
[INFO] [stdout]    --> src/core/collections/binary_tree.rs:228:20
[INFO] [stdout]     |
[INFO] [stdout] 228 |             node = (*n.as_ptr()).parent;
[INFO] [stdout]     |                    ^^^^^^^^^^^^^ dereference of raw pointer
[INFO] [stdout]     |
[INFO] [stdout]     = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `node` is never read
[INFO] [stdout]    --> src/core/collections/binary_tree.rs:225:17
[INFO] [stdout]     |
[INFO] [stdout] 219 |                 node = self.rotate_right(Some(n));
[INFO] [stdout]     |                 --------------------------------- `node` is overwritten here before the previous value is read
[INFO] [stdout] ...
[INFO] [stdout] 225 |                 node = self.rotate_left(Some(n));
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this value is reassigned later and never used
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `node` is never read
[INFO] [stdout]    --> src/core/collections/binary_tree.rs:219:17
[INFO] [stdout]     |
[INFO] [stdout] 219 |                 node = self.rotate_right(Some(n));
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this value is reassigned later and never used
[INFO] [stdout] ...
[INFO] [stdout] 228 |             node = (*n.as_ptr()).parent;
[INFO] [stdout]     |             --------------------------- `node` is overwritten here before the previous value is read
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block
[INFO] [stdout]    --> src/core/collections/binary_tree.rs:235:34
[INFO] [stdout]     |
[INFO] [stdout] 235 |             if let Some(right) = (*n.as_ptr()).right {
[INFO] [stdout]     |                                  ^^^^^^^^^^^^^ dereference of raw pointer
[INFO] [stdout]     |
[INFO] [stdout]     = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior
[INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default
[INFO] [stdout]    --> src/core/collections/binary_tree.rs:233:5
[INFO] [stdout]     |
[INFO] [stdout] 233 |     unsafe fn rotate_left(&mut self, node: Option<NonNull<Node<T>>>) -> Option<NonNull<Node<T>>> {
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block
[INFO] [stdout]    --> src/core/collections/binary_tree.rs:236:17
[INFO] [stdout]     |
[INFO] [stdout] 236 |                 (*n.as_ptr()).right = (*right.as_ptr()).left;
[INFO] [stdout]     |                 ^^^^^^^^^^^^^ dereference of raw pointer
[INFO] [stdout]     |
[INFO] [stdout]     = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block
[INFO] [stdout]    --> src/core/collections/binary_tree.rs:236:39
[INFO] [stdout]     |
[INFO] [stdout] 236 |                 (*n.as_ptr()).right = (*right.as_ptr()).left;
[INFO] [stdout]     |                                       ^^^^^^^^^^^^^^^^^ dereference of raw pointer
[INFO] [stdout]     |
[INFO] [stdout]     = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block
[INFO] [stdout]    --> src/core/collections/binary_tree.rs:237:37
[INFO] [stdout]     |
[INFO] [stdout] 237 |                 if let Some(left) = (*right.as_ptr()).left {
[INFO] [stdout]     |                                     ^^^^^^^^^^^^^^^^^ dereference of raw pointer
[INFO] [stdout]     |
[INFO] [stdout]     = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block
[INFO] [stdout]    --> src/core/collections/binary_tree.rs:238:21
[INFO] [stdout]     |
[INFO] [stdout] 238 |                     (*left.as_ptr()).parent = Some(n);
[INFO] [stdout]     |                     ^^^^^^^^^^^^^^^^ dereference of raw pointer
[INFO] [stdout]     |
[INFO] [stdout]     = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block
[INFO] [stdout]    --> src/core/collections/binary_tree.rs:240:17
[INFO] [stdout]     |
[INFO] [stdout] 240 |                 (*right.as_ptr()).left = Some(n);
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^^^ dereference of raw pointer
[INFO] [stdout]     |
[INFO] [stdout]     = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block
[INFO] [stdout]    --> src/core/collections/binary_tree.rs:241:17
[INFO] [stdout]     |
[INFO] [stdout] 241 |                 (*right.as_ptr()).parent = (*n.as_ptr()).parent;
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^^^ dereference of raw pointer
[INFO] [stdout]     |
[INFO] [stdout]     = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block
[INFO] [stdout]    --> src/core/collections/binary_tree.rs:241:44
[INFO] [stdout]     |
[INFO] [stdout] 241 |                 (*right.as_ptr()).parent = (*n.as_ptr()).parent;
[INFO] [stdout]     |                                            ^^^^^^^^^^^^^ dereference of raw pointer
[INFO] [stdout]     |
[INFO] [stdout]     = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block
[INFO] [stdout]    --> src/core/collections/binary_tree.rs:242:17
[INFO] [stdout]     |
[INFO] [stdout] 242 |                 (*n.as_ptr()).parent = Some(right);
[INFO] [stdout]     |                 ^^^^^^^^^^^^^ dereference of raw pointer
[INFO] [stdout]     |
[INFO] [stdout]     = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block
[INFO] [stdout]    --> src/core/collections/binary_tree.rs:244:39
[INFO] [stdout]     |
[INFO] [stdout] 244 |                 if let Some(parent) = (*right.as_ptr()).parent {
[INFO] [stdout]     |                                       ^^^^^^^^^^^^^^^^^ dereference of raw pointer
[INFO] [stdout]     |
[INFO] [stdout]     = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block
[INFO] [stdout]    --> src/core/collections/binary_tree.rs:245:24
[INFO] [stdout]     |
[INFO] [stdout] 245 |                     if (*parent.as_ptr()).left == Some(n) {
[INFO] [stdout]     |                        ^^^^^^^^^^^^^^^^^^ dereference of raw pointer
[INFO] [stdout]     |
[INFO] [stdout]     = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block
[INFO] [stdout]    --> src/core/collections/binary_tree.rs:246:25
[INFO] [stdout]     |
[INFO] [stdout] 246 |                         (*parent.as_ptr()).left = Some(right);
[INFO] [stdout]     |                         ^^^^^^^^^^^^^^^^^^ dereference of raw pointer
[INFO] [stdout]     |
[INFO] [stdout]     = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block
[INFO] [stdout]    --> src/core/collections/binary_tree.rs:248:25
[INFO] [stdout]     |
[INFO] [stdout] 248 |                         (*parent.as_ptr()).right = Some(right);
[INFO] [stdout]     |                         ^^^^^^^^^^^^^^^^^^ dereference of raw pointer
[INFO] [stdout]     |
[INFO] [stdout]     = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block
[INFO] [stdout]    --> src/core/collections/binary_tree.rs:254:17
[INFO] [stdout]     |
[INFO] [stdout] 254 |                 (*n.as_ptr()).update_height();
[INFO] [stdout]     |                 ^^^^^^^^^^^^^ dereference of raw pointer
[INFO] [stdout]     |
[INFO] [stdout]     = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block
[INFO] [stdout]    --> src/core/collections/binary_tree.rs:255:17
[INFO] [stdout]     |
[INFO] [stdout] 255 |                 (*right.as_ptr()).update_height();
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^^^ dereference of raw pointer
[INFO] [stdout]     |
[INFO] [stdout]     = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block
[INFO] [stdout]    --> src/core/collections/binary_tree.rs:266:33
[INFO] [stdout]     |
[INFO] [stdout] 266 |             if let Some(left) = (*n.as_ptr()).left {
[INFO] [stdout]     |                                 ^^^^^^^^^^^^^ dereference of raw pointer
[INFO] [stdout]     |
[INFO] [stdout]     = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior
[INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default
[INFO] [stdout]    --> src/core/collections/binary_tree.rs:264:5
[INFO] [stdout]     |
[INFO] [stdout] 264 |     unsafe fn rotate_right(&mut self, node: Option<NonNull<Node<T>>>) -> Option<NonNull<Node<T>>> {
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block
[INFO] [stdout]    --> src/core/collections/binary_tree.rs:267:17
[INFO] [stdout]     |
[INFO] [stdout] 267 |                 (*n.as_ptr()).left = (*left.as_ptr()).right;
[INFO] [stdout]     |                 ^^^^^^^^^^^^^ dereference of raw pointer
[INFO] [stdout]     |
[INFO] [stdout]     = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block
[INFO] [stdout]    --> src/core/collections/binary_tree.rs:267:38
[INFO] [stdout]     |
[INFO] [stdout] 267 |                 (*n.as_ptr()).left = (*left.as_ptr()).right;
[INFO] [stdout]     |                                      ^^^^^^^^^^^^^^^^ dereference of raw pointer
[INFO] [stdout]     |
[INFO] [stdout]     = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block
[INFO] [stdout]    --> src/core/collections/binary_tree.rs:268:38
[INFO] [stdout]     |
[INFO] [stdout] 268 |                 if let Some(right) = (*left.as_ptr()).right {
[INFO] [stdout]     |                                      ^^^^^^^^^^^^^^^^ dereference of raw pointer
[INFO] [stdout]     |
[INFO] [stdout]     = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block
[INFO] [stdout]    --> src/core/collections/binary_tree.rs:269:21
[INFO] [stdout]     |
[INFO] [stdout] 269 |                     (*right.as_ptr()).parent = Some(n);
[INFO] [stdout]     |                     ^^^^^^^^^^^^^^^^^ dereference of raw pointer
[INFO] [stdout]     |
[INFO] [stdout]     = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block
[INFO] [stdout]    --> src/core/collections/binary_tree.rs:271:17
[INFO] [stdout]     |
[INFO] [stdout] 271 |                 (*left.as_ptr()).right = Some(n);
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^^ dereference of raw pointer
[INFO] [stdout]     |
[INFO] [stdout]     = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block
[INFO] [stdout]    --> src/core/collections/binary_tree.rs:272:17
[INFO] [stdout]     |
[INFO] [stdout] 272 |                 (*left.as_ptr()).parent = (*n.as_ptr()).parent;
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^^ dereference of raw pointer
[INFO] [stdout]     |
[INFO] [stdout]     = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block
[INFO] [stdout]    --> src/core/collections/binary_tree.rs:272:43
[INFO] [stdout]     |
[INFO] [stdout] 272 |                 (*left.as_ptr()).parent = (*n.as_ptr()).parent;
[INFO] [stdout]     |                                           ^^^^^^^^^^^^^ dereference of raw pointer
[INFO] [stdout]     |
[INFO] [stdout]     = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block
[INFO] [stdout]    --> src/core/collections/binary_tree.rs:273:17
[INFO] [stdout]     |
[INFO] [stdout] 273 |                 (*n.as_ptr()).parent = Some(left);
[INFO] [stdout]     |                 ^^^^^^^^^^^^^ dereference of raw pointer
[INFO] [stdout]     |
[INFO] [stdout]     = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block
[INFO] [stdout]    --> src/core/collections/binary_tree.rs:275:39
[INFO] [stdout]     |
[INFO] [stdout] 275 |                 if let Some(parent) = (*left.as_ptr()).parent {
[INFO] [stdout]     |                                       ^^^^^^^^^^^^^^^^ dereference of raw pointer
[INFO] [stdout]     |
[INFO] [stdout]     = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block
[INFO] [stdout]    --> src/core/collections/binary_tree.rs:276:24
[INFO] [stdout]     |
[INFO] [stdout] 276 |                     if (*parent.as_ptr()).left == Some(n) {
[INFO] [stdout]     |                        ^^^^^^^^^^^^^^^^^^ dereference of raw pointer
[INFO] [stdout]     |
[INFO] [stdout]     = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block
[INFO] [stdout]    --> src/core/collections/binary_tree.rs:277:25
[INFO] [stdout]     |
[INFO] [stdout] 277 |                         (*parent.as_ptr()).left = Some(left);
[INFO] [stdout]     |                         ^^^^^^^^^^^^^^^^^^ dereference of raw pointer
[INFO] [stdout]     |
[INFO] [stdout]     = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block
[INFO] [stdout]    --> src/core/collections/binary_tree.rs:279:25
[INFO] [stdout]     |
[INFO] [stdout] 279 |                         (*parent.as_ptr()).right = Some(left);
[INFO] [stdout]     |                         ^^^^^^^^^^^^^^^^^^ dereference of raw pointer
[INFO] [stdout]     |
[INFO] [stdout]     = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block
[INFO] [stdout]    --> src/core/collections/binary_tree.rs:285:17
[INFO] [stdout]     |
[INFO] [stdout] 285 |                 (*n.as_ptr()).update_height();
[INFO] [stdout]     |                 ^^^^^^^^^^^^^ dereference of raw pointer
[INFO] [stdout]     |
[INFO] [stdout]     = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block
[INFO] [stdout]    --> src/core/collections/binary_tree.rs:286:17
[INFO] [stdout]     |
[INFO] [stdout] 286 |                 (*left.as_ptr()).update_height();
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^^ dereference of raw pointer
[INFO] [stdout]     |
[INFO] [stdout]     = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block
[INFO] [stdout]    --> src/core/collections/binary_tree.rs:314:22
[INFO] [stdout]     |
[INFO] [stdout] 314 |         let parent = (*node).parent;
[INFO] [stdout]     |                      ^^^^^^^ dereference of raw pointer
[INFO] [stdout]     |
[INFO] [stdout]     = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior
[INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default
[INFO] [stdout]    --> src/core/collections/binary_tree.rs:312:5
[INFO] [stdout]     |
[INFO] [stdout] 312 |     unsafe fn remove_node(&mut self, node: NonNull<Node<T>>) -> T {
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block
[INFO] [stdout]    --> src/core/collections/binary_tree.rs:316:16
[INFO] [stdout]     |
[INFO] [stdout] 316 |         match ((*node).left, (*node).right) {
[INFO] [stdout]     |                ^^^^^^^ dereference of raw pointer
[INFO] [stdout]     |
[INFO] [stdout]     = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block
[INFO] [stdout]    --> src/core/collections/binary_tree.rs:316:30
[INFO] [stdout]     |
[INFO] [stdout] 316 |         match ((*node).left, (*node).right) {
[INFO] [stdout]     |                              ^^^^^^^ dereference of raw pointer
[INFO] [stdout]     |
[INFO] [stdout]     = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: call to unsafe function `core::collections::binary_tree::BinaryTree::<T, C>::update_parent_link` is unsafe and requires unsafe block
[INFO] [stdout]    --> src/core/collections/binary_tree.rs:319:17
[INFO] [stdout]     |
[INFO] [stdout] 319 |                 self.update_parent_link(node, None);
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function
[INFO] [stdout]     |
[INFO] [stdout]     = note: consult the function's documentation for information on how to avoid undefined behavior
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: call to unsafe function `std::boxed::Box::<T>::from_raw` is unsafe and requires unsafe block
[INFO] [stdout]    --> src/core/collections/binary_tree.rs:320:28
[INFO] [stdout]     |
[INFO] [stdout] 320 |                 let node = Box::from_raw(node);
[INFO] [stdout]     |                            ^^^^^^^^^^^^^^^^^^^ call to unsafe function
[INFO] [stdout]     |
[INFO] [stdout]     = note: consult the function's documentation for information on how to avoid undefined behavior
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: call to unsafe function `core::collections::binary_tree::BinaryTree::<T, C>::rebalance_after_remove` is unsafe and requires unsafe block
[INFO] [stdout]    --> src/core/collections/binary_tree.rs:322:17
[INFO] [stdout]     |
[INFO] [stdout] 322 |                 self.rebalance_after_remove(parent);
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function
[INFO] [stdout]     |
[INFO] [stdout]     = note: consult the function's documentation for information on how to avoid undefined behavior
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: call to unsafe function `core::collections::binary_tree::BinaryTree::<T, C>::update_parent_link` is unsafe and requires unsafe block
[INFO] [stdout]    --> src/core/collections/binary_tree.rs:328:17
[INFO] [stdout]     |
[INFO] [stdout] 328 |                 self.update_parent_link(node, Some(child));
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function
[INFO] [stdout]     |
[INFO] [stdout]     = note: consult the function's documentation for information on how to avoid undefined behavior
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block
[INFO] [stdout]    --> src/core/collections/binary_tree.rs:329:17
[INFO] [stdout]     |
[INFO] [stdout] 329 |                 (*child.as_ptr()).parent = (*node).parent;
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^^^ dereference of raw pointer
[INFO] [stdout]     |
[INFO] [stdout]     = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block
[INFO] [stdout]    --> src/core/collections/binary_tree.rs:329:44
[INFO] [stdout]     |
[INFO] [stdout] 329 |                 (*child.as_ptr()).parent = (*node).parent;
[INFO] [stdout]     |                                            ^^^^^^^ dereference of raw pointer
[INFO] [stdout]     |
[INFO] [stdout]     = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: call to unsafe function `std::boxed::Box::<T>::from_raw` is unsafe and requires unsafe block
[INFO] [stdout]    --> src/core/collections/binary_tree.rs:330:28
[INFO] [stdout]     |
[INFO] [stdout] 330 |                 let node = Box::from_raw(node);
[INFO] [stdout]     |                            ^^^^^^^^^^^^^^^^^^^ call to unsafe function
[INFO] [stdout]     |
[INFO] [stdout]     = note: consult the function's documentation for information on how to avoid undefined behavior
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: call to unsafe function `core::collections::binary_tree::BinaryTree::<T, C>::rebalance_after_remove` is unsafe and requires unsafe block
[INFO] [stdout]    --> src/core/collections/binary_tree.rs:332:17
[INFO] [stdout]     |
[INFO] [stdout] 332 |                 self.rebalance_after_remove(parent);
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function
[INFO] [stdout]     |
[INFO] [stdout]     = note: consult the function's documentation for information on how to avoid undefined behavior
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: call to unsafe function `core::collections::binary_tree::BinaryTree::<T, C>::find_successor` is unsafe and requires unsafe block
[INFO] [stdout]    --> src/core/collections/binary_tree.rs:337:33
[INFO] [stdout]     |
[INFO] [stdout] 337 |                 let successor = self.find_successor(node);
[INFO] [stdout]     |                                 ^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function
[INFO] [stdout]     |
[INFO] [stdout]     = note: consult the function's documentation for information on how to avoid undefined behavior
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block
[INFO] [stdout]    --> src/core/collections/binary_tree.rs:338:32
[INFO] [stdout]     |
[INFO] [stdout] 338 |                 mem::swap(&mut (*node).data, &mut (*successor.as_ptr()).data);
[INFO] [stdout]     |                                ^^^^^^^ dereference of raw pointer
[INFO] [stdout]     |
[INFO] [stdout]     = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block
[INFO] [stdout]    --> src/core/collections/binary_tree.rs:338:51
[INFO] [stdout]     |
[INFO] [stdout] 338 |                 mem::swap(&mut (*node).data, &mut (*successor.as_ptr()).data);
[INFO] [stdout]     |                                                   ^^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer
[INFO] [stdout]     |
[INFO] [stdout]     = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: call to unsafe function `core::collections::binary_tree::BinaryTree::<T, C>::remove_node` is unsafe and requires unsafe block
[INFO] [stdout]    --> src/core/collections/binary_tree.rs:339:17
[INFO] [stdout]     |
[INFO] [stdout] 339 |                 self.remove_node(successor)
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function
[INFO] [stdout]     |
[INFO] [stdout]     = note: consult the function's documentation for information on how to avoid undefined behavior
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block
[INFO] [stdout]    --> src/core/collections/binary_tree.rs:350:22
[INFO] [stdout]     |
[INFO] [stdout] 350 |         let parent = (*node).parent;
[INFO] [stdout]     |                      ^^^^^^^ dereference of raw pointer
[INFO] [stdout]     |
[INFO] [stdout]     = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior
[INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default
[INFO] [stdout]    --> src/core/collections/binary_tree.rs:345:5
[INFO] [stdout]     |
[INFO] [stdout] 345 | /     unsafe fn update_parent_link(
[INFO] [stdout] 346 | |         &mut self,
[INFO] [stdout] 347 | |         node: *mut Node<T>,
[INFO] [stdout] 348 | |         new_child: Option<NonNull<Node<T>>>,
[INFO] [stdout] 349 | |     ) {
[INFO] [stdout]     | |_____^
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block
[INFO] [stdout]    --> src/core/collections/binary_tree.rs:354:20
[INFO] [stdout]     |
[INFO] [stdout] 354 |                 if (*p.as_ptr()).left == Some(NonNull::new(node).unwrap()) {
[INFO] [stdout]     |                    ^^^^^^^^^^^^^ dereference of raw pointer
[INFO] [stdout]     |
[INFO] [stdout]     = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block
[INFO] [stdout]    --> src/core/collections/binary_tree.rs:355:21
[INFO] [stdout]     |
[INFO] [stdout] 355 |                     (*p.as_ptr()).left = new_child;
[INFO] [stdout]     |                     ^^^^^^^^^^^^^ dereference of raw pointer
[INFO] [stdout]     |
[INFO] [stdout]     = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block
[INFO] [stdout]    --> src/core/collections/binary_tree.rs:357:21
[INFO] [stdout]     |
[INFO] [stdout] 357 |                     (*p.as_ptr()).right = new_child;
[INFO] [stdout]     |                     ^^^^^^^^^^^^^ dereference of raw pointer
[INFO] [stdout]     |
[INFO] [stdout]     = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block
[INFO] [stdout]    --> src/core/collections/binary_tree.rs:365:27
[INFO] [stdout]     |
[INFO] [stdout] 365 |         let mut current = (*node).right.unwrap();
[INFO] [stdout]     |                           ^^^^^^^ dereference of raw pointer
[INFO] [stdout]     |
[INFO] [stdout]     = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior
[INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default
[INFO] [stdout]    --> src/core/collections/binary_tree.rs:364:5
[INFO] [stdout]     |
[INFO] [stdout] 364 |     unsafe fn find_successor(&self, node: *mut Node<T>) -> NonNull<Node<T>> {
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block
[INFO] [stdout]    --> src/core/collections/binary_tree.rs:366:32
[INFO] [stdout]     |
[INFO] [stdout] 366 |         while let Some(left) = (*current.as_ptr()).left {
[INFO] [stdout]     |                                ^^^^^^^^^^^^^^^^^^^ dereference of raw pointer
[INFO] [stdout]     |
[INFO] [stdout]     = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block
[INFO] [stdout]    --> src/core/collections/binary_tree.rs:375:13
[INFO] [stdout]     |
[INFO] [stdout] 375 |             (*n.as_ptr()).update_height();
[INFO] [stdout]     |             ^^^^^^^^^^^^^ dereference of raw pointer
[INFO] [stdout]     |
[INFO] [stdout]     = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior
[INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default
[INFO] [stdout]    --> src/core/collections/binary_tree.rs:373:5
[INFO] [stdout]     |
[INFO] [stdout] 373 |     unsafe fn rebalance_after_remove(&mut self, mut node: Option<NonNull<Node<T>>>) {
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block
[INFO] [stdout]    --> src/core/collections/binary_tree.rs:376:27
[INFO] [stdout]     |
[INFO] [stdout] 376 |             let balance = (*n.as_ptr()).balance_factor();
[INFO] [stdout]     |                           ^^^^^^^^^^^^^ dereference of raw pointer
[INFO] [stdout]     |
[INFO] [stdout]     = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block
[INFO] [stdout]    --> src/core/collections/binary_tree.rs:379:28
[INFO] [stdout]     |
[INFO] [stdout] 379 |                 let left = (*n.as_ptr()).left.unwrap();
[INFO] [stdout]     |                            ^^^^^^^^^^^^^ dereference of raw pointer
[INFO] [stdout]     |
[INFO] [stdout]     = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block
[INFO] [stdout]    --> src/core/collections/binary_tree.rs:380:20
[INFO] [stdout]     |
[INFO] [stdout] 380 |                 if (*left.as_ptr()).balance_factor() < 0 {
[INFO] [stdout]     |                    ^^^^^^^^^^^^^^^^ dereference of raw pointer
[INFO] [stdout]     |
[INFO] [stdout]     = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: call to unsafe function `core::collections::binary_tree::BinaryTree::<T, C>::rotate_left` is unsafe and requires unsafe block
[INFO] [stdout]    --> src/core/collections/binary_tree.rs:381:21
[INFO] [stdout]     |
[INFO] [stdout] 381 |                     self.rotate_left(Some(left));
[INFO] [stdout]     |                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function
[INFO] [stdout]     |
[INFO] [stdout]     = note: consult the function's documentation for information on how to avoid undefined behavior
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: call to unsafe function `core::collections::binary_tree::BinaryTree::<T, C>::rotate_right` is unsafe and requires unsafe block
[INFO] [stdout]    --> src/core/collections/binary_tree.rs:383:24
[INFO] [stdout]     |
[INFO] [stdout] 383 |                 node = self.rotate_right(Some(n));
[INFO] [stdout]     |                        ^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function
[INFO] [stdout]     |
[INFO] [stdout]     = note: consult the function's documentation for information on how to avoid undefined behavior
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block
[INFO] [stdout]    --> src/core/collections/binary_tree.rs:385:29
[INFO] [stdout]     |
[INFO] [stdout] 385 |                 let right = (*n.as_ptr()).right.unwrap();
[INFO] [stdout]     |                             ^^^^^^^^^^^^^ dereference of raw pointer
[INFO] [stdout]     |
[INFO] [stdout]     = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block
[INFO] [stdout]    --> src/core/collections/binary_tree.rs:386:20
[INFO] [stdout]     |
[INFO] [stdout] 386 |                 if (*right.as_ptr()).balance_factor() > 0 {
[INFO] [stdout]     |                    ^^^^^^^^^^^^^^^^^ dereference of raw pointer
[INFO] [stdout]     |
[INFO] [stdout]     = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: call to unsafe function `core::collections::binary_tree::BinaryTree::<T, C>::rotate_right` is unsafe and requires unsafe block
[INFO] [stdout]    --> src/core/collections/binary_tree.rs:387:21
[INFO] [stdout]     |
[INFO] [stdout] 387 |                     self.rotate_right(Some(right));
[INFO] [stdout]     |                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function
[INFO] [stdout]     |
[INFO] [stdout]     = note: consult the function's documentation for information on how to avoid undefined behavior
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: call to unsafe function `core::collections::binary_tree::BinaryTree::<T, C>::rotate_left` is unsafe and requires unsafe block
[INFO] [stdout]    --> src/core/collections/binary_tree.rs:389:24
[INFO] [stdout]     |
[INFO] [stdout] 389 |                 node = self.rotate_left(Some(n));
[INFO] [stdout]     |                        ^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function
[INFO] [stdout]     |
[INFO] [stdout]     = note: consult the function's documentation for information on how to avoid undefined behavior
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block
[INFO] [stdout]    --> src/core/collections/binary_tree.rs:392:20
[INFO] [stdout]     |
[INFO] [stdout] 392 |             node = (*n.as_ptr()).parent;
[INFO] [stdout]     |                    ^^^^^^^^^^^^^ dereference of raw pointer
[INFO] [stdout]     |
[INFO] [stdout]     = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `node` is never read
[INFO] [stdout]    --> src/core/collections/binary_tree.rs:389:17
[INFO] [stdout]     |
[INFO] [stdout] 383 |                 node = self.rotate_right(Some(n));
[INFO] [stdout]     |                 --------------------------------- `node` is overwritten here before the previous value is read
[INFO] [stdout] ...
[INFO] [stdout] 389 |                 node = self.rotate_left(Some(n));
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this value is reassigned later and never used
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `node` is never read
[INFO] [stdout]    --> src/core/collections/binary_tree.rs:383:17
[INFO] [stdout]     |
[INFO] [stdout] 383 |                 node = self.rotate_right(Some(n));
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this value is reassigned later and never used
[INFO] [stdout] ...
[INFO] [stdout] 392 |             node = (*n.as_ptr()).parent;
[INFO] [stdout]     |             --------------------------- `node` is overwritten here before the previous value is read
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/core/collections/graph.rs:890:13
[INFO] [stdout]     |
[INFO] [stdout] 890 |         let mut graph: Graph<i32, f64> = Graph::new(false);
[INFO] [stdout]     |             ----^^^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block
[INFO] [stdout]   --> src/core/concurrent/lock_free_queue.rs:72:36
[INFO] [stdout]    |
[INFO] [stdout] 72 |         NonNull::new(ptr).map(|p| &*p.as_ptr())
[INFO] [stdout]    |                                    ^^^^^^^^^^^ dereference of raw pointer
[INFO] [stdout]    |
[INFO] [stdout]    = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior
[INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default
[INFO] [stdout]   --> src/core/concurrent/lock_free_queue.rs:71:5
[INFO] [stdout]    |
[INFO] [stdout] 71 |     unsafe fn as_ref<'a>(ptr: *mut Self) -> Option<&'a Self> {
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `old_head`
[INFO] [stdout]    --> src/core/concurrent/lock_free_queue.rs:153:25
[INFO] [stdout]     |
[INFO] [stdout] 153 |                     let old_head = Box::from_raw(head);
[INFO] [stdout]     |                         ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_old_head`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type `SegmentStats` is more private than the item `concurrent_hash_map::ConcurrentHashMap::<K, V, S>::get_stats`
[INFO] [stdout]    --> src/core/concurrent/concurrent_hash_map.rs:127:5
[INFO] [stdout]     |
[INFO] [stdout] 127 |     pub fn get_stats(&self) -> HashMap<usize, SegmentStats> {
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method `concurrent_hash_map::ConcurrentHashMap::<K, V, S>::get_stats` is reachable at visibility `pub`
[INFO] [stdout]     |
[INFO] [stdout] note: but type `SegmentStats` is only usable at visibility `pub(self)`
[INFO] [stdout]    --> src/core/concurrent/concurrent_hash_map.rs:39:1
[INFO] [stdout]     |
[INFO] [stdout]  39 | struct SegmentStats {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = note: `#[warn(private_interfaces)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `height` is never used
[INFO] [stdout]   --> src/core/collections/binary_tree.rs:76:8
[INFO] [stdout]    |
[INFO] [stdout] 57 | impl<T> Node<T> {
[INFO] [stdout]    | --------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 76 |     fn height(&self) -> i32 {
[INFO] [stdout]    |        ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new_deleted` is never used
[INFO] [stdout]   --> src/core/collections/hash_map.rs:44:8
[INFO] [stdout]    |
[INFO] [stdout] 33 | impl<K, V> Entry<K, V> {
[INFO] [stdout]    | ---------------------- associated function in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 44 |     fn new_deleted() -> Self {
[INFO] [stdout]    |        ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: struct `Drain` is never constructed
[INFO] [stdout]   --> src/core/collections/vector.rs:17:12
[INFO] [stdout]    |
[INFO] [stdout] 17 | pub struct Drain<'a, T: 'a> {
[INFO] [stdout]    |            ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this `pub` struct has private fields, no public constructor, and is not otherwise reachable through the external API, so consider providing a public constructor or removing it
[INFO] [stdout]    = note: `#[deny(unused_unconstructable_pub_struct)]` (part of `#[deny(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `vec` and `range` are never read
[INFO] [stdout]   --> src/core/collections/vector.rs:18:5
[INFO] [stdout]    |
[INFO] [stdout] 17 | pub struct Drain<'a, T: 'a> {
[INFO] [stdout]    |            ----- fields in this struct
[INFO] [stdout] 18 |     vec: &'a mut Vector<T>,
[INFO] [stdout]    |     ^^^
[INFO] [stdout] 19 |     range: Range<usize>,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `contention_count` and `last_resize` are never read
[INFO] [stdout]   --> src/core/concurrent/concurrent_hash_map.rs:41:5
[INFO] [stdout]    |
[INFO] [stdout] 39 | struct SegmentStats {
[INFO] [stdout]    |        ------------ fields in this struct
[INFO] [stdout] 40 |     operations: u64,
[INFO] [stdout] 41 |     contention_count: u64,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^
[INFO] [stdout] 42 |     last_resize: Option<Instant>,
[INFO] [stdout]    |     ^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `SegmentStats` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0133`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `dstructs` (lib test) due to 1 previous error; 95 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "744f3e730c81a13da481468de976f45ca0df11140f21c5ebd752bfff26ddd8de", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "744f3e730c81a13da481468de976f45ca0df11140f21c5ebd752bfff26ddd8de", kill_on_drop: false }`
[INFO] [stdout] 744f3e730c81a13da481468de976f45ca0df11140f21c5ebd752bfff26ddd8de
