[INFO] cloning repository https://github.com/DenzelPenzel/rust-practice
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/DenzelPenzel/rust-practice" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDenzelPenzel%2Frust-practice", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDenzelPenzel%2Frust-practice'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 3d8deddecc36f2bb8f12b92139b344becfbd6cbc
[INFO] checking DenzelPenzel/rust-practice against try#f77b5bc6c7c84df104f86b0dd01d9490e3923fa8 for pr-147834
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDenzelPenzel%2Frust-practice" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/DenzelPenzel/rust-practice
[INFO] finished tweaking git repo https://github.com/DenzelPenzel/rust-practice
[INFO] tweaked toml for git repo https://github.com/DenzelPenzel/rust-practice written to /workspace/builds/worker-3-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/DenzelPenzel/rust-practice on toolchain f77b5bc6c7c84df104f86b0dd01d9490e3923fa8
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f77b5bc6c7c84df104f86b0dd01d9490e3923fa8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/DenzelPenzel/rust-practice 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" "+f77b5bc6c7c84df104f86b0dd01d9490e3923fa8" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr] warning: profiles for the non root package will be ignored, specify profiles at the workspace root:
[INFO] [stderr] package:   /workspace/builds/worker-3-tc2/source/rustlings/Cargo.toml
[INFO] [stderr] workspace: /workspace/builds/worker-3-tc2/source/Cargo.toml
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+f77b5bc6c7c84df104f86b0dd01d9490e3923fa8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 81be88481b0db12afaa1473132fb3bfb167ca43e897f255985f4188f65bcc4dd
[INFO] running `Command { std: "docker" "start" "-a" "81be88481b0db12afaa1473132fb3bfb167ca43e897f255985f4188f65bcc4dd", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "81be88481b0db12afaa1473132fb3bfb167ca43e897f255985f4188f65bcc4dd", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "81be88481b0db12afaa1473132fb3bfb167ca43e897f255985f4188f65bcc4dd", kill_on_drop: false }`
[INFO] [stdout] 81be88481b0db12afaa1473132fb3bfb167ca43e897f255985f4188f65bcc4dd
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+f77b5bc6c7c84df104f86b0dd01d9490e3923fa8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 907e9a513c3597528130f38ffb5b18aa0d182ad7ef84afc25ce9b5440308503b
[INFO] running `Command { std: "docker" "start" "-a" "907e9a513c3597528130f38ffb5b18aa0d182ad7ef84afc25ce9b5440308503b", kill_on_drop: false }`
[INFO] [stderr] warning: profiles for the non root package will be ignored, specify profiles at the workspace root:
[INFO] [stderr] package:   /opt/rustwide/workdir/rustlings/Cargo.toml
[INFO] [stderr] workspace: /opt/rustwide/workdir/Cargo.toml
[INFO] [stderr]    Compiling serde_core v1.0.224
[INFO] [stderr]    Compiling serde v1.0.224
[INFO] [stderr]    Compiling serde_json v1.0.145
[INFO] [stderr]    Compiling syn v2.0.105
[INFO] [stderr]     Checking parking_lot_core v0.9.11
[INFO] [stderr]    Compiling anyhow v1.0.99
[INFO] [stderr]     Checking bitflags v2.9.2
[INFO] [stderr]    Compiling libc v0.2.175
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]     Checking hashbrown v0.15.5
[INFO] [stderr]    Compiling thiserror v2.0.16
[INFO] [stderr]     Checking sha2 v0.10.9
[INFO] [stderr]    Compiling crossbeam-utils v0.8.21
[INFO] [stderr]    Compiling libsqlite3-sys v0.30.1
[INFO] [stderr]    Compiling percent-encoding v2.3.2
[INFO] [stderr]    Compiling foldhash v0.1.5
[INFO] [stderr]    Compiling foreign-types-shared v0.1.1
[INFO] [stderr]     Checking parking_lot v0.12.4
[INFO] [stderr]    Compiling foreign-types v0.3.2
[INFO] [stderr]    Compiling form_urlencoded v1.2.2
[INFO] [stderr]     Checking spin v0.9.8
[INFO] [stderr]     Checking indexmap v2.11.0
[INFO] [stderr]    Compiling slab v0.4.11
[INFO] [stderr]    Compiling bytes v1.10.1
[INFO] [stderr]    Compiling parking v2.2.1
[INFO] [stderr]    Compiling openssl-probe v0.1.6
[INFO] [stderr]    Compiling base64 v0.22.1
[INFO] [stderr]    Compiling concurrent-queue v2.5.0
[INFO] [stderr]    Compiling futures-util v0.3.31
[INFO] [stderr]    Compiling crossbeam-queue v0.3.12
[INFO] [stderr]    Compiling hashlink v0.10.0
[INFO] [stderr]    Compiling event-listener v5.4.1
[INFO] [stderr]    Compiling flume v0.11.1
[INFO] [stderr]     Checking num-integer v0.1.46
[INFO] [stderr]     Checking crc32fast v1.5.0
[INFO] [stderr]     Checking futures-intrusive v0.5.0
[INFO] [stderr]     Checking getrandom v0.2.16
[INFO] [stderr]    Compiling multer v3.1.0
[INFO] [stderr]     Checking atoi v2.0.0
[INFO] [stderr]    Compiling mio v1.0.4
[INFO] [stderr]    Compiling openssl-sys v0.9.109
[INFO] [stderr]    Compiling socket2 v0.6.0
[INFO] [stderr]     Checking num-bigint v0.4.6
[INFO] [stderr]     Checking rand_core v0.6.4
[INFO] [stderr]     Checking flate2 v1.1.2
[INFO] [stderr]    Compiling simd_helpers v0.1.0
[INFO] [stderr]     Checking rand_chacha v0.3.1
[INFO] [stderr]     Checking num_cpus v1.17.0
[INFO] [stderr]     Checking half v2.6.0
[INFO] [stderr]     Checking anstream v0.6.20
[INFO] [stderr]     Checking pxfm v0.1.23
[INFO] [stderr]     Checking thread-priority v2.1.0
[INFO] [stderr]     Checking tracing-subscriber v0.3.20
[INFO] [stderr]    Compiling tokio v1.47.1
[INFO] [stderr]     Checking rand v0.8.5
[INFO] [stderr]     Checking exr v1.73.0
[INFO] [stderr]     Checking png v0.18.0
[INFO] [stderr]     Checking dashmap v6.1.0
[INFO] [stderr]     Checking clap_builder v4.5.44
[INFO] [stderr]     Checking core_affinity v0.8.3
[INFO] [stderr]     Checking tprio v0.1.0 (/opt/rustwide/workdir/systhreads/tprio)
[INFO] [stderr]     Checking affinity v0.1.0 (/opt/rustwide/workdir/systhreads/affinity)
[INFO] [stderr]     Checking session2 v0.1.0 (/opt/rustwide/workdir/systhreads)
[INFO] [stdout] warning: function `hello_thread` is never used
[INFO] [stdout]  --> systhreads/src/main.rs:1:4
[INFO] [stdout]   |
[INFO] [stdout] 1 | fn hello_thread(n: u32) {
[INFO] [stdout]   |    ^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Checking dmap v0.1.0 (/opt/rustwide/workdir/systhreads/dmap)
[INFO] [stderr]     Checking workers2 v0.1.0 (/opt/rustwide/workdir/systhreads/workers2)
[INFO] [stderr]     Checking mem v0.1.0 (/opt/rustwide/workdir/mem)
[INFO] [stdout] warning: function `hello_thread` is never used
[INFO] [stdout]  --> systhreads/src/main.rs:1:4
[INFO] [stdout]   |
[INFO] [stdout] 1 | fn hello_thread(n: u32) {
[INFO] [stdout]   |    ^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Checking algos v0.1.0 (/opt/rustwide/workdir/algos)
[INFO] [stdout] warning: unused variable: `x`
[INFO] [stdout]   --> mem/src/main.rs:18:12
[INFO] [stdout]    |
[INFO] [stdout] 18 | fn move_me(x: User) {
[INFO] [stdout]    |            ^ help: if this is intentional, prefix it with an underscore: `_x`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `has_drop`
[INFO] [stdout]   --> mem/src/main.rs:40:9
[INFO] [stdout]    |
[INFO] [stdout] 40 |     let has_drop = HasDrop { x: User::new(3) };
[INFO] [stdout]    |         ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_has_drop`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `x` is never read
[INFO] [stdout]   --> mem/src/main.rs:23:5
[INFO] [stdout]    |
[INFO] [stdout] 22 | struct HasDrop {
[INFO] [stdout]    |        ------- field in this struct
[INFO] [stdout] 23 |     x: User,
[INFO] [stdout]    |     ^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Checking mutexes v0.1.0 (/opt/rustwide/workdir/systhreads/mutexes)
[INFO] [stdout] warning: unused variable: `x`
[INFO] [stdout]   --> mem/src/main.rs:18:12
[INFO] [stdout]    |
[INFO] [stdout] 18 | fn move_me(x: User) {
[INFO] [stdout]    |            ^ help: if this is intentional, prefix it with an underscore: `_x`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `has_drop`
[INFO] [stdout]   --> mem/src/main.rs:40:9
[INFO] [stdout]    |
[INFO] [stdout] 40 |     let has_drop = HasDrop { x: User::new(3) };
[INFO] [stdout]    |         ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_has_drop`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `x` is never read
[INFO] [stdout]   --> mem/src/main.rs:23:5
[INFO] [stdout]    |
[INFO] [stdout] 22 | struct HasDrop {
[INFO] [stdout]    |        ------- field in this struct
[INFO] [stdout] 23 |     x: User,
[INFO] [stdout]    |     ^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Checking exercises v0.0.0 (/opt/rustwide/workdir/rustlings)
[INFO] [stdout] error[E0412]: cannot find type `Solution` in this scope
[INFO] [stdout]   --> algos/src/problems/maximum_xor_two_numbers_in_array.rs:16:6
[INFO] [stdout]    |
[INFO] [stdout] 16 | impl Solution {
[INFO] [stdout]    |      ^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these structs
[INFO] [stdout]    |
[INFO] [stdout]  1 + use crate::problems::bus_routes::Solution;
[INFO] [stdout]    |
[INFO] [stdout]  1 + use crate::problems::fruits_into_baskets_ii::Solution;
[INFO] [stdout]    |
[INFO] [stdout]  1 + use crate::problems::is_tree_same::Solution;
[INFO] [stdout]    |
[INFO] [stdout]  1 + use crate::problems::max_binary_depth::Solution;
[INFO] [stdout]    |
[INFO] [stdout]    = and 2 other candidates
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Solution` in this scope
[INFO] [stdout]   --> algos/src/problems/maximum_xor_two_numbers_in_array.rs:16:6
[INFO] [stdout]    |
[INFO] [stdout] 16 | impl Solution {
[INFO] [stdout]    |      ^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these structs
[INFO] [stdout]    |
[INFO] [stdout]  1 + use crate::problems::bus_routes::Solution;
[INFO] [stdout]    |
[INFO] [stdout]  1 + use crate::problems::fruits_into_baskets_ii::Solution;
[INFO] [stdout]    |
[INFO] [stdout]  1 + use crate::problems::is_tree_same::Solution;
[INFO] [stdout]    |
[INFO] [stdout]  1 + use crate::problems::max_binary_depth::Solution;
[INFO] [stdout]    |
[INFO] [stdout]    = and 2 other candidates
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `DSU`
[INFO] [stdout]   --> algos/src/graph/mod.rs:76:23
[INFO] [stdout]    |
[INFO] [stdout] 76 |         let mut dsu = DSU::new(self.vertex_count());
[INFO] [stdout]    |                       ^^^ use of undeclared type `DSU`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::NonNull::<T>::as_mut` is unsafe and requires unsafe block
[INFO] [stdout]    --> algos/src/problems/local_cache.rs:102:22
[INFO] [stdout]     |
[INFO] [stdout] 102 |         let entity = non_null.as_mut();
[INFO] [stdout]     |                      ^^^^^^^^^^^^^^^^^ call to unsafe function
[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: consult the function's documentation for information on how to avoid undefined behavior
[INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default
[INFO] [stdout]    --> algos/src/problems/local_cache.rs:95:5
[INFO] [stdout]     |
[INFO] [stdout]  95 |     unsafe fn get(&mut self, key: &String) -> Option<Arc<T>> {
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[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]: call to unsafe function `problems::local_cache::InnerLocalCache::<T>::remove_lru` is unsafe and requires unsafe block
[INFO] [stdout]    --> algos/src/problems/local_cache.rs:112:9
[INFO] [stdout]     |
[INFO] [stdout] 112 |         self.remove_lru(non_null.clone());
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function
[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: consult the function's documentation for information on how to avoid undefined behavior
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `DSU`
[INFO] [stdout]   --> algos/src/graph/mod.rs:76:23
[INFO] [stdout]    |
[INFO] [stdout] 76 |         let mut dsu = DSU::new(self.vertex_count());
[INFO] [stdout]    |                       ^^^ use of undeclared type `DSU`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::NonNull::<T>::as_mut` is unsafe and requires unsafe block
[INFO] [stdout]    --> algos/src/problems/local_cache.rs:115:13
[INFO] [stdout]     |
[INFO] [stdout] 115 |             old_head.as_mut().prev = Some(non_null.clone());
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^ call to unsafe function
[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: consult the function's documentation for information on how to avoid undefined behavior
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: call to unsafe function `problems::local_cache::InnerLocalCache::<T>::remove` is unsafe and requires unsafe block
[INFO] [stdout]    --> algos/src/problems/local_cache.rs:129:9
[INFO] [stdout]     |
[INFO] [stdout] 129 |         self.remove(&key);
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^ call to unsafe function
[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: consult the function's documentation for information on how to avoid undefined behavior
[INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default
[INFO] [stdout]    --> algos/src/problems/local_cache.rs:128:5
[INFO] [stdout]     |
[INFO] [stdout] 128 |     unsafe fn put(&mut self, key: String, value: Arc<T>) {
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: call to unsafe function `problems::local_cache::InnerLocalCache::<T>::clean` is unsafe and requires unsafe block
[INFO] [stdout]    --> algos/src/problems/local_cache.rs:135:9
[INFO] [stdout]     |
[INFO] [stdout] 135 |         self.clean(now);
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^ call to unsafe function
[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: consult the function's documentation for information on how to avoid undefined behavior
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::NonNull::<T>::as_mut` is unsafe and requires unsafe block
[INFO] [stdout]    --> algos/src/problems/local_cache.rs:164:42
[INFO] [stdout]     |
[INFO] [stdout] 164 |                 let inner_old_lru_head = old_lru_head.as_mut();
[INFO] [stdout]     |                                          ^^^^^^^^^^^^^^^^^^^^^ call to unsafe function
[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: consult the function's documentation for information on how to avoid undefined behavior
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::NonNull::<T>::as_mut` is unsafe and requires unsafe block
[INFO] [stdout]    --> algos/src/problems/local_cache.rs:166:17
[INFO] [stdout]     |
[INFO] [stdout] 166 |                 cur_entity.as_mut().next = Some(old_lru_head.clone());
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^^^^^ call to unsafe function
[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: consult the function's documentation for information on how to avoid undefined behavior
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::NonNull::<T>::as_mut` is unsafe and requires unsafe block
[INFO] [stdout]    --> algos/src/problems/local_cache.rs:169:42
[INFO] [stdout]     |
[INFO] [stdout] 169 |                 let inner_old_exp_head = old_exp_head.as_mut();
[INFO] [stdout]     |                                          ^^^^^^^^^^^^^^^^^^^^^ call to unsafe function
[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: consult the function's documentation for information on how to avoid undefined behavior
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::NonNull::<T>::as_mut` is unsafe and requires unsafe block
[INFO] [stdout]    --> algos/src/problems/local_cache.rs:171:17
[INFO] [stdout]     |
[INFO] [stdout] 171 |                 cur_entity.as_mut().exp_next = Some(old_exp_head.clone());
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^^^^^ call to unsafe function
[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: consult the function's documentation for information on how to avoid undefined behavior
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::NonNull::<T>::as_ref` is unsafe and requires unsafe block
[INFO] [stdout]    --> algos/src/problems/local_cache.rs:184:21
[INFO] [stdout]     |
[INFO] [stdout] 184 |             let b = e.as_ref();
[INFO] [stdout]     |                     ^^^^^^^^^^ call to unsafe function
[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: consult the function's documentation for information on how to avoid undefined behavior
[INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default
[INFO] [stdout]    --> algos/src/problems/local_cache.rs:176:5
[INFO] [stdout]     |
[INFO] [stdout] 176 |     unsafe fn clean(&mut self, now: u128) {
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: call to unsafe function `problems::local_cache::InnerLocalCache::<T>::remove` is unsafe and requires unsafe block
[INFO] [stdout]    --> algos/src/problems/local_cache.rs:188:13
[INFO] [stdout]     |
[INFO] [stdout] 188 |             self.remove(&b.key);
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^ call to unsafe function
[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: consult the function's documentation for information on how to avoid undefined behavior
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::NonNull::<T>::as_ref` is unsafe and requires unsafe block
[INFO] [stdout]    --> algos/src/problems/local_cache.rs:193:41
[INFO] [stdout]     |
[INFO] [stdout] 193 |             let key = self.tail.map(|e| e.as_ref().key.clone()).unwrap();
[INFO] [stdout]     |                                         ^^^^^^^^^^ call to unsafe function
[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: consult the function's documentation for information on how to avoid undefined behavior
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: call to unsafe function `problems::local_cache::InnerLocalCache::<T>::remove` is unsafe and requires unsafe block
[INFO] [stdout]    --> algos/src/problems/local_cache.rs:194:13
[INFO] [stdout]     |
[INFO] [stdout] 194 |             self.remove(&key);
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^ call to unsafe function
[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: consult the function's documentation for information on how to avoid undefined behavior
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: call to unsafe function `problems::local_cache::InnerLocalCache::<T>::remove_lru` is unsafe and requires unsafe block
[INFO] [stdout]    --> algos/src/problems/local_cache.rs:205:9
[INFO] [stdout]     |
[INFO] [stdout] 205 |         self.remove_lru(old.clone());
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function
[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: consult the function's documentation for information on how to avoid undefined behavior
[INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default
[INFO] [stdout]    --> algos/src/problems/local_cache.rs:198:5
[INFO] [stdout]     |
[INFO] [stdout] 198 |     unsafe fn remove(&mut self, key: &String) {
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: call to unsafe function `problems::local_cache::InnerLocalCache::<T>::remove_exp` is unsafe and requires unsafe block
[INFO] [stdout]    --> algos/src/problems/local_cache.rs:206:9
[INFO] [stdout]     |
[INFO] [stdout] 206 |         self.remove_exp(old.clone());
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function
[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: consult the function's documentation for information on how to avoid undefined behavior
[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]    --> algos/src/problems/local_cache.rs:207:17
[INFO] [stdout]     |
[INFO] [stdout] 207 |         let _ = Box::from_raw(old.as_ptr());
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function
[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: consult the function's documentation for information on how to avoid undefined behavior
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::NonNull::<T>::as_mut` is unsafe and requires unsafe block
[INFO] [stdout]    --> algos/src/problems/local_cache.rs:211:22
[INFO] [stdout]     |
[INFO] [stdout] 211 |         let entity = non_null.as_mut();
[INFO] [stdout]     |                      ^^^^^^^^^^^^^^^^^ call to unsafe function
[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: consult the function's documentation for information on how to avoid undefined behavior
[INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default
[INFO] [stdout]    --> algos/src/problems/local_cache.rs:210:5
[INFO] [stdout]     |
[INFO] [stdout] 210 |     unsafe fn remove_lru(&mut self, mut non_null: NonNull<CacheEntity<T>>) {
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::NonNull::<T>::as_mut` is unsafe and requires unsafe block
[INFO] [stdout]    --> algos/src/problems/local_cache.rs:215:13
[INFO] [stdout]     |
[INFO] [stdout] 215 |             e.clone().as_mut().next = entity.next.clone();
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^ call to unsafe function
[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: consult the function's documentation for information on how to avoid undefined behavior
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::NonNull::<T>::as_mut` is unsafe and requires unsafe block
[INFO] [stdout]    --> algos/src/problems/local_cache.rs:219:13
[INFO] [stdout]     |
[INFO] [stdout] 219 |             e.clone().as_mut().prev = entity.prev.clone();
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^ call to unsafe function
[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: consult the function's documentation for information on how to avoid undefined behavior
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::NonNull::<T>::as_ref` is unsafe and requires unsafe block
[INFO] [stdout]    --> algos/src/problems/local_cache.rs:223:17
[INFO] [stdout]     |
[INFO] [stdout] 223 |             if &head.as_ref().key == key {
[INFO] [stdout]     |                 ^^^^^^^^^^^^^ call to unsafe function
[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: consult the function's documentation for information on how to avoid undefined behavior
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::NonNull::<T>::as_ref` is unsafe and requires unsafe block
[INFO] [stdout]    --> algos/src/problems/local_cache.rs:229:17
[INFO] [stdout]     |
[INFO] [stdout] 229 |             if &tail.as_ref().key == key {
[INFO] [stdout]     |                 ^^^^^^^^^^^^^ call to unsafe function
[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: consult the function's documentation for information on how to avoid undefined behavior
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::NonNull::<T>::as_mut` is unsafe and requires unsafe block
[INFO] [stdout]    --> algos/src/problems/local_cache.rs:236:22
[INFO] [stdout]     |
[INFO] [stdout] 236 |         let entity = non_null.as_mut();
[INFO] [stdout]     |                      ^^^^^^^^^^^^^^^^^ call to unsafe function
[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: consult the function's documentation for information on how to avoid undefined behavior
[INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default
[INFO] [stdout]    --> algos/src/problems/local_cache.rs:235:5
[INFO] [stdout]     |
[INFO] [stdout] 235 |     unsafe fn remove_exp(&mut self, mut non_null: NonNull<CacheEntity<T>>) {
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::NonNull::<T>::as_mut` is unsafe and requires unsafe block
[INFO] [stdout]    --> algos/src/problems/local_cache.rs:240:13
[INFO] [stdout]     |
[INFO] [stdout] 240 |             e.clone().as_mut().exp_next = entity.exp_next.clone();
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^ call to unsafe function
[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: consult the function's documentation for information on how to avoid undefined behavior
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::NonNull::<T>::as_mut` is unsafe and requires unsafe block
[INFO] [stdout]    --> algos/src/problems/local_cache.rs:246:26
[INFO] [stdout]     |
[INFO] [stdout] 246 |             .inspect(|e| e.clone().as_mut().exp_prev = entity.exp_prev.clone());
[INFO] [stdout]     |                          ^^^^^^^^^^^^^^^^^^ call to unsafe function
[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: consult the function's documentation for information on how to avoid undefined behavior
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::NonNull::<T>::as_ref` is unsafe and requires unsafe block
[INFO] [stdout]    --> algos/src/problems/local_cache.rs:249:17
[INFO] [stdout]     |
[INFO] [stdout] 249 |             if &exp_head.as_ref().key == key {
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^^^ call to unsafe function
[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: consult the function's documentation for information on how to avoid undefined behavior
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::NonNull::<T>::as_ref` is unsafe and requires unsafe block
[INFO] [stdout]    --> algos/src/problems/local_cache.rs:255:17
[INFO] [stdout]     |
[INFO] [stdout] 255 |             if &exp_tail.as_ref().key == key {
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^^^ call to unsafe function
[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: consult the function's documentation for information on how to avoid undefined behavior
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block
[INFO] [stdout]   --> algos/src/problems/lru.rs:96:9
[INFO] [stdout]    |
[INFO] [stdout] 96 |         (*(*node).prev).next = (*node).next;
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^ dereference of raw pointer
[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: 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]   --> algos/src/problems/lru.rs:95:5
[INFO] [stdout]    |
[INFO] [stdout] 95 |     unsafe fn detach_node(&mut self, node: *mut Node) {
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block
[INFO] [stdout]   --> algos/src/problems/lru.rs:96:11
[INFO] [stdout]    |
[INFO] [stdout] 96 |         (*(*node).prev).next = (*node).next;
[INFO] [stdout]    |           ^^^^^^^ dereference of raw pointer
[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: 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] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block
[INFO] [stdout]   --> algos/src/problems/lru.rs:96:32
[INFO] [stdout]    |
[INFO] [stdout] 96 |         (*(*node).prev).next = (*node).next;
[INFO] [stdout]    |                                ^^^^^^^ dereference of raw pointer
[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: 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] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block
[INFO] [stdout]   --> algos/src/problems/lru.rs:97:9
[INFO] [stdout]    |
[INFO] [stdout] 97 |         (*(*node).next).prev = (*node).prev;
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^ dereference of raw pointer
[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: 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] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block
[INFO] [stdout]   --> algos/src/problems/lru.rs:97:11
[INFO] [stdout]    |
[INFO] [stdout] 97 |         (*(*node).next).prev = (*node).prev;
[INFO] [stdout]    |           ^^^^^^^ dereference of raw pointer
[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: 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] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block
[INFO] [stdout]   --> algos/src/problems/lru.rs:97:32
[INFO] [stdout]    |
[INFO] [stdout] 97 |         (*(*node).next).prev = (*node).prev;
[INFO] [stdout]    |                                ^^^^^^^ dereference of raw pointer
[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: 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] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block
[INFO] [stdout]    --> algos/src/problems/lru.rs:101:9
[INFO] [stdout]     |
[INFO] [stdout] 101 |         (*node).next = (*self.head).next;
[INFO] [stdout]     |         ^^^^^^^ dereference of raw pointer
[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: 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]    --> algos/src/problems/lru.rs:100:5
[INFO] [stdout]     |
[INFO] [stdout] 100 |     unsafe fn attach_to_head(&mut self, node: *mut Node) {
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block
[INFO] [stdout]    --> algos/src/problems/lru.rs:101:24
[INFO] [stdout]     |
[INFO] [stdout] 101 |         (*node).next = (*self.head).next;
[INFO] [stdout]     |                        ^^^^^^^^^^^^ dereference of raw pointer
[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: 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] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block
[INFO] [stdout]    --> algos/src/problems/lru.rs:102:9
[INFO] [stdout]     |
[INFO] [stdout] 102 |         (*node).prev = self.head;
[INFO] [stdout]     |         ^^^^^^^ dereference of raw pointer
[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: 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] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block
[INFO] [stdout]    --> algos/src/problems/lru.rs:103:9
[INFO] [stdout]     |
[INFO] [stdout] 103 |         (*(*self.head).next).prev = node;
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer
[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: 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] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block
[INFO] [stdout]    --> algos/src/problems/lru.rs:103:11
[INFO] [stdout]     |
[INFO] [stdout] 103 |         (*(*self.head).next).prev = node;
[INFO] [stdout]     |           ^^^^^^^^^^^^ dereference of raw pointer
[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: 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] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block
[INFO] [stdout]    --> algos/src/problems/lru.rs:104:9
[INFO] [stdout]     |
[INFO] [stdout] 104 |         (*self.head).next = node;
[INFO] [stdout]     |         ^^^^^^^^^^^^ dereference of raw pointer
[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: 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] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: call to unsafe function `problems::lru::LRUCache::detach_node` is unsafe and requires unsafe block
[INFO] [stdout]    --> algos/src/problems/lru.rs:108:9
[INFO] [stdout]     |
[INFO] [stdout] 108 |         self.detach_node(node);
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function
[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: consult the function's documentation for information on how to avoid undefined behavior
[INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default
[INFO] [stdout]    --> algos/src/problems/lru.rs:107:5
[INFO] [stdout]     |
[INFO] [stdout] 107 |     unsafe fn move_to_head(&mut self, node: *mut Node) {
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: call to unsafe function `problems::lru::LRUCache::attach_to_head` is unsafe and requires unsafe block
[INFO] [stdout]    --> algos/src/problems/lru.rs:109:9
[INFO] [stdout]     |
[INFO] [stdout] 109 |         self.attach_to_head(node);
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function
[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: consult the function's documentation for information on how to avoid undefined behavior
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0133, E0412, E0433.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0133`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `algos` (lib test) due to 2 previous errors; 40 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::NonNull::<T>::as_mut` is unsafe and requires unsafe block
[INFO] [stdout]    --> algos/src/problems/local_cache.rs:102:22
[INFO] [stdout]     |
[INFO] [stdout] 102 |         let entity = non_null.as_mut();
[INFO] [stdout]     |                      ^^^^^^^^^^^^^^^^^ call to unsafe function
[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: consult the function's documentation for information on how to avoid undefined behavior
[INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default
[INFO] [stdout]    --> algos/src/problems/local_cache.rs:95:5
[INFO] [stdout]     |
[INFO] [stdout]  95 |     unsafe fn get(&mut self, key: &String) -> Option<Arc<T>> {
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[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]: call to unsafe function `problems::local_cache::InnerLocalCache::<T>::remove_lru` is unsafe and requires unsafe block
[INFO] [stdout]    --> algos/src/problems/local_cache.rs:112:9
[INFO] [stdout]     |
[INFO] [stdout] 112 |         self.remove_lru(non_null.clone());
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function
[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: consult the function's documentation for information on how to avoid undefined behavior
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::NonNull::<T>::as_mut` is unsafe and requires unsafe block
[INFO] [stdout]    --> algos/src/problems/local_cache.rs:115:13
[INFO] [stdout]     |
[INFO] [stdout] 115 |             old_head.as_mut().prev = Some(non_null.clone());
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^ call to unsafe function
[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: consult the function's documentation for information on how to avoid undefined behavior
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: call to unsafe function `problems::local_cache::InnerLocalCache::<T>::remove` is unsafe and requires unsafe block
[INFO] [stdout]    --> algos/src/problems/local_cache.rs:129:9
[INFO] [stdout]     |
[INFO] [stdout] 129 |         self.remove(&key);
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^ call to unsafe function
[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: consult the function's documentation for information on how to avoid undefined behavior
[INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default
[INFO] [stdout]    --> algos/src/problems/local_cache.rs:128:5
[INFO] [stdout]     |
[INFO] [stdout] 128 |     unsafe fn put(&mut self, key: String, value: Arc<T>) {
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: call to unsafe function `problems::local_cache::InnerLocalCache::<T>::clean` is unsafe and requires unsafe block
[INFO] [stdout]    --> algos/src/problems/local_cache.rs:135:9
[INFO] [stdout]     |
[INFO] [stdout] 135 |         self.clean(now);
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^ call to unsafe function
[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: consult the function's documentation for information on how to avoid undefined behavior
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::NonNull::<T>::as_mut` is unsafe and requires unsafe block
[INFO] [stdout]    --> algos/src/problems/local_cache.rs:164:42
[INFO] [stdout]     |
[INFO] [stdout] 164 |                 let inner_old_lru_head = old_lru_head.as_mut();
[INFO] [stdout]     |                                          ^^^^^^^^^^^^^^^^^^^^^ call to unsafe function
[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: consult the function's documentation for information on how to avoid undefined behavior
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::NonNull::<T>::as_mut` is unsafe and requires unsafe block
[INFO] [stdout]    --> algos/src/problems/local_cache.rs:166:17
[INFO] [stdout]     |
[INFO] [stdout] 166 |                 cur_entity.as_mut().next = Some(old_lru_head.clone());
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^^^^^ call to unsafe function
[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: consult the function's documentation for information on how to avoid undefined behavior
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::NonNull::<T>::as_mut` is unsafe and requires unsafe block
[INFO] [stdout]    --> algos/src/problems/local_cache.rs:169:42
[INFO] [stdout]     |
[INFO] [stdout] 169 |                 let inner_old_exp_head = old_exp_head.as_mut();
[INFO] [stdout]     |                                          ^^^^^^^^^^^^^^^^^^^^^ call to unsafe function
[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: consult the function's documentation for information on how to avoid undefined behavior
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::NonNull::<T>::as_mut` is unsafe and requires unsafe block
[INFO] [stdout]    --> algos/src/problems/local_cache.rs:171:17
[INFO] [stdout]     |
[INFO] [stdout] 171 |                 cur_entity.as_mut().exp_next = Some(old_exp_head.clone());
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^^^^^ call to unsafe function
[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: consult the function's documentation for information on how to avoid undefined behavior
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::NonNull::<T>::as_ref` is unsafe and requires unsafe block
[INFO] [stdout]    --> algos/src/problems/local_cache.rs:184:21
[INFO] [stdout]     |
[INFO] [stdout] 184 |             let b = e.as_ref();
[INFO] [stdout]     |                     ^^^^^^^^^^ call to unsafe function
[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: consult the function's documentation for information on how to avoid undefined behavior
[INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default
[INFO] [stdout]    --> algos/src/problems/local_cache.rs:176:5
[INFO] [stdout]     |
[INFO] [stdout] 176 |     unsafe fn clean(&mut self, now: u128) {
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: call to unsafe function `problems::local_cache::InnerLocalCache::<T>::remove` is unsafe and requires unsafe block
[INFO] [stdout]    --> algos/src/problems/local_cache.rs:188:13
[INFO] [stdout]     |
[INFO] [stdout] 188 |             self.remove(&b.key);
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^ call to unsafe function
[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: consult the function's documentation for information on how to avoid undefined behavior
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::NonNull::<T>::as_ref` is unsafe and requires unsafe block
[INFO] [stdout]    --> algos/src/problems/local_cache.rs:193:41
[INFO] [stdout]     |
[INFO] [stdout] 193 |             let key = self.tail.map(|e| e.as_ref().key.clone()).unwrap();
[INFO] [stdout]     |                                         ^^^^^^^^^^ call to unsafe function
[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: consult the function's documentation for information on how to avoid undefined behavior
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: call to unsafe function `problems::local_cache::InnerLocalCache::<T>::remove` is unsafe and requires unsafe block
[INFO] [stdout]    --> algos/src/problems/local_cache.rs:194:13
[INFO] [stdout]     |
[INFO] [stdout] 194 |             self.remove(&key);
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^ call to unsafe function
[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: consult the function's documentation for information on how to avoid undefined behavior
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: call to unsafe function `problems::local_cache::InnerLocalCache::<T>::remove_lru` is unsafe and requires unsafe block
[INFO] [stdout]    --> algos/src/problems/local_cache.rs:205:9
[INFO] [stdout]     |
[INFO] [stdout] 205 |         self.remove_lru(old.clone());
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function
[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: consult the function's documentation for information on how to avoid undefined behavior
[INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default
[INFO] [stdout]    --> algos/src/problems/local_cache.rs:198:5
[INFO] [stdout]     |
[INFO] [stdout] 198 |     unsafe fn remove(&mut self, key: &String) {
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: call to unsafe function `problems::local_cache::InnerLocalCache::<T>::remove_exp` is unsafe and requires unsafe block
[INFO] [stdout]    --> algos/src/problems/local_cache.rs:206:9
[INFO] [stdout]     |
[INFO] [stdout] 206 |         self.remove_exp(old.clone());
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function
[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: consult the function's documentation for information on how to avoid undefined behavior
[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]    --> algos/src/problems/local_cache.rs:207:17
[INFO] [stdout]     |
[INFO] [stdout] 207 |         let _ = Box::from_raw(old.as_ptr());
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function
[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: consult the function's documentation for information on how to avoid undefined behavior
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::NonNull::<T>::as_mut` is unsafe and requires unsafe block
[INFO] [stdout]    --> algos/src/problems/local_cache.rs:211:22
[INFO] [stdout]     |
[INFO] [stdout] 211 |         let entity = non_null.as_mut();
[INFO] [stdout]     |                      ^^^^^^^^^^^^^^^^^ call to unsafe function
[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: consult the function's documentation for information on how to avoid undefined behavior
[INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default
[INFO] [stdout]    --> algos/src/problems/local_cache.rs:210:5
[INFO] [stdout]     |
[INFO] [stdout] 210 |     unsafe fn remove_lru(&mut self, mut non_null: NonNull<CacheEntity<T>>) {
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::NonNull::<T>::as_mut` is unsafe and requires unsafe block
[INFO] [stdout]    --> algos/src/problems/local_cache.rs:215:13
[INFO] [stdout]     |
[INFO] [stdout] 215 |             e.clone().as_mut().next = entity.next.clone();
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^ call to unsafe function
[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: consult the function's documentation for information on how to avoid undefined behavior
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::NonNull::<T>::as_mut` is unsafe and requires unsafe block
[INFO] [stdout]    --> algos/src/problems/local_cache.rs:219:13
[INFO] [stdout]     |
[INFO] [stdout] 219 |             e.clone().as_mut().prev = entity.prev.clone();
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^ call to unsafe function
[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: consult the function's documentation for information on how to avoid undefined behavior
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::NonNull::<T>::as_ref` is unsafe and requires unsafe block
[INFO] [stdout]    --> algos/src/problems/local_cache.rs:223:17
[INFO] [stdout]     |
[INFO] [stdout] 223 |             if &head.as_ref().key == key {
[INFO] [stdout]     |                 ^^^^^^^^^^^^^ call to unsafe function
[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: consult the function's documentation for information on how to avoid undefined behavior
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::NonNull::<T>::as_ref` is unsafe and requires unsafe block
[INFO] [stdout]    --> algos/src/problems/local_cache.rs:229:17
[INFO] [stdout]     |
[INFO] [stdout] 229 |             if &tail.as_ref().key == key {
[INFO] [stdout]     |                 ^^^^^^^^^^^^^ call to unsafe function
[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: consult the function's documentation for information on how to avoid undefined behavior
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::NonNull::<T>::as_mut` is unsafe and requires unsafe block
[INFO] [stdout]    --> algos/src/problems/local_cache.rs:236:22
[INFO] [stdout]     |
[INFO] [stdout] 236 |         let entity = non_null.as_mut();
[INFO] [stdout]     |                      ^^^^^^^^^^^^^^^^^ call to unsafe function
[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: consult the function's documentation for information on how to avoid undefined behavior
[INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default
[INFO] [stdout]    --> algos/src/problems/local_cache.rs:235:5
[INFO] [stdout]     |
[INFO] [stdout] 235 |     unsafe fn remove_exp(&mut self, mut non_null: NonNull<CacheEntity<T>>) {
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::NonNull::<T>::as_mut` is unsafe and requires unsafe block
[INFO] [stdout]    --> algos/src/problems/local_cache.rs:240:13
[INFO] [stdout]     |
[INFO] [stdout] 240 |             e.clone().as_mut().exp_next = entity.exp_next.clone();
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^ call to unsafe function
[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: consult the function's documentation for information on how to avoid undefined behavior
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::NonNull::<T>::as_mut` is unsafe and requires unsafe block
[INFO] [stdout]    --> algos/src/problems/local_cache.rs:246:26
[INFO] [stdout]     |
[INFO] [stdout] 246 |             .inspect(|e| e.clone().as_mut().exp_prev = entity.exp_prev.clone());
[INFO] [stdout]     |                          ^^^^^^^^^^^^^^^^^^ call to unsafe function
[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: consult the function's documentation for information on how to avoid undefined behavior
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::NonNull::<T>::as_ref` is unsafe and requires unsafe block
[INFO] [stdout]    --> algos/src/problems/local_cache.rs:249:17
[INFO] [stdout]     |
[INFO] [stdout] 249 |             if &exp_head.as_ref().key == key {
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^^^ call to unsafe function
[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: consult the function's documentation for information on how to avoid undefined behavior
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::NonNull::<T>::as_ref` is unsafe and requires unsafe block
[INFO] [stdout]    --> algos/src/problems/local_cache.rs:255:17
[INFO] [stdout]     |
[INFO] [stdout] 255 |             if &exp_tail.as_ref().key == key {
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^^^ call to unsafe function
[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: consult the function's documentation for information on how to avoid undefined behavior
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block
[INFO] [stdout]   --> algos/src/problems/lru.rs:96:9
[INFO] [stdout]    |
[INFO] [stdout] 96 |         (*(*node).prev).next = (*node).next;
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^ dereference of raw pointer
[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: 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]   --> algos/src/problems/lru.rs:95:5
[INFO] [stdout]    |
[INFO] [stdout] 95 |     unsafe fn detach_node(&mut self, node: *mut Node) {
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block
[INFO] [stdout]   --> algos/src/problems/lru.rs:96:11
[INFO] [stdout]    |
[INFO] [stdout] 96 |         (*(*node).prev).next = (*node).next;
[INFO] [stdout]    |           ^^^^^^^ dereference of raw pointer
[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: 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] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block
[INFO] [stdout]   --> algos/src/problems/lru.rs:96:32
[INFO] [stdout]    |
[INFO] [stdout] 96 |         (*(*node).prev).next = (*node).next;
[INFO] [stdout]    |                                ^^^^^^^ dereference of raw pointer
[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: 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] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block
[INFO] [stdout]   --> algos/src/problems/lru.rs:97:9
[INFO] [stdout]    |
[INFO] [stdout] 97 |         (*(*node).next).prev = (*node).prev;
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^ dereference of raw pointer
[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: 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] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block
[INFO] [stdout]   --> algos/src/problems/lru.rs:97:11
[INFO] [stdout]    |
[INFO] [stdout] 97 |         (*(*node).next).prev = (*node).prev;
[INFO] [stdout]    |           ^^^^^^^ dereference of raw pointer
[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: 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] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block
[INFO] [stdout]   --> algos/src/problems/lru.rs:97:32
[INFO] [stdout]    |
[INFO] [stdout] 97 |         (*(*node).next).prev = (*node).prev;
[INFO] [stdout]    |                                ^^^^^^^ dereference of raw pointer
[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: 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] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block
[INFO] [stdout]    --> algos/src/problems/lru.rs:101:9
[INFO] [stdout]     |
[INFO] [stdout] 101 |         (*node).next = (*self.head).next;
[INFO] [stdout]     |         ^^^^^^^ dereference of raw pointer
[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: 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]    --> algos/src/problems/lru.rs:100:5
[INFO] [stdout]     |
[INFO] [stdout] 100 |     unsafe fn attach_to_head(&mut self, node: *mut Node) {
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block
[INFO] [stdout]    --> algos/src/problems/lru.rs:101:24
[INFO] [stdout]     |
[INFO] [stdout] 101 |         (*node).next = (*self.head).next;
[INFO] [stdout]     |                        ^^^^^^^^^^^^ dereference of raw pointer
[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: 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] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block
[INFO] [stdout]    --> algos/src/problems/lru.rs:102:9
[INFO] [stdout]     |
[INFO] [stdout] 102 |         (*node).prev = self.head;
[INFO] [stdout]     |         ^^^^^^^ dereference of raw pointer
[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: 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] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block
[INFO] [stdout]    --> algos/src/problems/lru.rs:103:9
[INFO] [stdout]     |
[INFO] [stdout] 103 |         (*(*self.head).next).prev = node;
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer
[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: 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] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block
[INFO] [stdout]    --> algos/src/problems/lru.rs:103:11
[INFO] [stdout]     |
[INFO] [stdout] 103 |         (*(*self.head).next).prev = node;
[INFO] [stdout]     |           ^^^^^^^^^^^^ dereference of raw pointer
[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: 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] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block
[INFO] [stdout]    --> algos/src/problems/lru.rs:104:9
[INFO] [stdout]     |
[INFO] [stdout] 104 |         (*self.head).next = node;
[INFO] [stdout]     |         ^^^^^^^^^^^^ dereference of raw pointer
[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: 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] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: call to unsafe function `problems::lru::LRUCache::detach_node` is unsafe and requires unsafe block
[INFO] [stdout]    --> algos/src/problems/lru.rs:108:9
[INFO] [stdout]     |
[INFO] [stdout] 108 |         self.detach_node(node);
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function
[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: consult the function's documentation for information on how to avoid undefined behavior
[INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default
[INFO] [stdout]    --> algos/src/problems/lru.rs:107:5
[INFO] [stdout]     |
[INFO] [stdout] 107 |     unsafe fn move_to_head(&mut self, node: *mut Node) {
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: call to unsafe function `problems::lru::LRUCache::attach_to_head` is unsafe and requires unsafe block
[INFO] [stdout]    --> algos/src/problems/lru.rs:109:9
[INFO] [stdout]     |
[INFO] [stdout] 109 |         self.attach_to_head(node);
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function
[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: consult the function's documentation for information on how to avoid undefined behavior
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0133, E0412, E0433.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0133`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `algos` (lib) due to 2 previous errors; 40 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "907e9a513c3597528130f38ffb5b18aa0d182ad7ef84afc25ce9b5440308503b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "907e9a513c3597528130f38ffb5b18aa0d182ad7ef84afc25ce9b5440308503b", kill_on_drop: false }`
[INFO] [stdout] 907e9a513c3597528130f38ffb5b18aa0d182ad7ef84afc25ce9b5440308503b
