[INFO] cloning repository https://github.com/4molybdenum2/safe-rlu
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/4molybdenum2/safe-rlu" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2F4molybdenum2%2Fsafe-rlu", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2F4molybdenum2%2Fsafe-rlu'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 8eafae385760b852019eba6642dd912f497de62d
[INFO] checking 4molybdenum2/safe-rlu against master#cced03bfd61a304243a34504618ecec86c17063f for pr-157082
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2F4molybdenum2%2Fsafe-rlu" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/4molybdenum2/safe-rlu
[INFO] finished tweaking git repo https://github.com/4molybdenum2/safe-rlu
[INFO] tweaked toml for git repo https://github.com/4molybdenum2/safe-rlu written to /workspace/builds/worker-3-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/4molybdenum2/safe-rlu on toolchain cced03bfd61a304243a34504618ecec86c17063f
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cced03bfd61a304243a34504618ecec86c17063f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/4molybdenum2/safe-rlu 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" "+cced03bfd61a304243a34504618ecec86c17063f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded test-log v0.2.15
[INFO] [stderr]   Downloaded test-log-macros v0.2.15
[INFO] [stderr]   Downloaded env_filter v0.1.0
[INFO] [stderr]   Downloaded autocfg v1.2.0
[INFO] [stderr]   Downloaded unicode-width v0.1.12
[INFO] [stderr]   Downloaded proc-macro2 v1.0.81
[INFO] [stderr]   Downloaded env_logger v0.11.3
[INFO] [stderr]   Downloaded log v0.4.21
[INFO] [stderr]   Downloaded syn v2.0.60
[INFO] [stderr]   Downloaded libc v0.2.153
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3e793bdf10248eb2ddbd6b0faebed8155c11b4589982e2893733958d93e8d540" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 020efa9d95c6a3069c7b8f4d637c24f78ca15077561727ed49bc086419246141
[INFO] running `Command { std: "docker" "start" "020efa9d95c6a3069c7b8f4d637c24f78ca15077561727ed49bc086419246141", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "020efa9d95c6a3069c7b8f4d637c24f78ca15077561727ed49bc086419246141" "/opt/rustwide/cargo-home/bin/cargo" "+cced03bfd61a304243a34504618ecec86c17063f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "020efa9d95c6a3069c7b8f4d637c24f78ca15077561727ed49bc086419246141", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "020efa9d95c6a3069c7b8f4d637c24f78ca15077561727ed49bc086419246141" "/opt/rustwide/cargo-home/bin/cargo" "+cced03bfd61a304243a34504618ecec86c17063f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling autocfg v1.2.0
[INFO] [stderr]    Compiling libc v0.2.153
[INFO] [stderr]    Compiling proc-macro2 v1.0.81
[INFO] [stderr]    Compiling unicode-ident v1.0.12
[INFO] [stderr]     Checking log v0.4.21
[INFO] [stderr]     Checking unicode-width v0.1.12
[INFO] [stderr]     Checking ansi_term v0.12.1
[INFO] [stderr]     Checking textwrap v0.11.0
[INFO] [stderr]    Compiling autocfg v0.1.8
[INFO] [stderr]     Checking env_filter v0.1.0
[INFO] [stderr]     Checking env_logger v0.11.3
[INFO] [stderr]    Compiling rand_pcg v0.1.2
[INFO] [stderr]    Compiling rand_chacha v0.1.1
[INFO] [stderr]    Compiling rand v0.6.5
[INFO] [stderr]     Checking atty v0.2.14
[INFO] [stderr]     Checking rand_os v0.1.3
[INFO] [stderr]     Checking clap v2.34.0
[INFO] [stderr]    Compiling quote v1.0.36
[INFO] [stderr]    Compiling syn v2.0.60
[INFO] [stderr]    Compiling test-log-macros v0.2.15
[INFO] [stderr]     Checking test-log v0.2.15
[INFO] [stderr]     Checking rlu v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused imports: `RluThreadData` and `self`
[INFO] [stdout]  --> src/rlu_set.rs:3:1
[INFO] [stdout]   |
[INFO] [stdout] 3 | self, Rlu, RluGlobal, RluThreadData
[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: `PhantomData`
[INFO] [stdout]  --> src/rlu_set.rs:7:26
[INFO] [stdout]   |
[INFO] [stdout] 7 | use std::marker::{Unpin, PhantomData};
[INFO] [stdout]   |                          ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::mem::MaybeUninit`
[INFO] [stdout]  --> src/rlu_set.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | use std::mem::MaybeUninit;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `AtomicPtr` and `Ordering`
[INFO] [stdout]  --> src/rlu_set.rs:9:25
[INFO] [stdout]   |
[INFO] [stdout] 9 | use std::sync::atomic::{AtomicPtr, Ordering};
[INFO] [stdout]   |                         ^^^^^^^^^  ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead
[INFO] [stdout]   --> src/rlu_set.rs:42:30
[INFO] [stdout]    |
[INFO] [stdout] 42 |           elem: unsafe{ mem::uninitialized()},
[INFO] [stdout]    |                              ^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `std::sync::atomic::Atomic::<*mut T>::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead
[INFO] [stdout]    --> src/rlu.rs:302:44
[INFO] [stdout]     |
[INFO] [stdout] 302 |                 let prev = actual_obj.copy.compare_and_swap(ptr::null_mut(), copy_obj, Ordering::SeqCst);
[INFO] [stdout]     |                                            ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `RluThreadData` and `self`
[INFO] [stdout]  --> src/rlu_set.rs:3:1
[INFO] [stdout]   |
[INFO] [stdout] 3 | self, Rlu, RluGlobal, RluThreadData
[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: `PhantomData`
[INFO] [stdout]  --> src/rlu_set.rs:7:26
[INFO] [stdout]   |
[INFO] [stdout] 7 | use std::marker::{Unpin, PhantomData};
[INFO] [stdout]   |                          ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::mem::MaybeUninit`
[INFO] [stdout]  --> src/rlu_set.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | use std::mem::MaybeUninit;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `AtomicPtr` and `Ordering`
[INFO] [stdout]  --> src/rlu_set.rs:9:25
[INFO] [stdout]   |
[INFO] [stdout] 9 | use std::sync::atomic::{AtomicPtr, Ordering};
[INFO] [stdout]   |                         ^^^^^^^^^  ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead
[INFO] [stdout]   --> src/rlu_set.rs:42:30
[INFO] [stdout]    |
[INFO] [stdout] 42 |           elem: unsafe{ mem::uninitialized()},
[INFO] [stdout]    |                              ^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/rlu_set.rs:58:13
[INFO] [stdout]    |
[INFO] [stdout] 58 |         let mut node = rlu_dereference(self.rlu_global, self.thread_id, node_ptr);
[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: value assigned to `node` is never read
[INFO] [stdout]    --> src/rlu_set.rs:154:22
[INFO] [stdout]     |
[INFO] [stdout] 154 |       let mut node = rlu_dereference(self.rlu_global, self.thread_id, node_ptr);
[INFO] [stdout]     |                      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this value is reassigned later and never used
[INFO] [stdout] ...
[INFO] [stdout] 169 |           node = rlu_dereference(self.rlu_global, self.thread_id, node_ptr);
[INFO] [stdout]     |           ----------------------------------------------------------------- `node` is overwritten here before the previous value is read
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]    --> src/rlu_set.rs:340:13
[INFO] [stdout]     |
[INFO] [stdout] 340 |             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: variable does not need to be mutable
[INFO] [stdout]    --> src/rlu_set.rs:301:11
[INFO] [stdout]     |
[INFO] [stdout] 301 |       let mut next = rlu_dereference(self.rlu_global, self.thread_id, next_ptr); // ptr to next ptr to prev
[INFO] [stdout]     |           ----^^^^
[INFO] [stdout]     |           |
[INFO] [stdout]     |           help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `next`
[INFO] [stdout]    --> src/rlu_set.rs:301:11
[INFO] [stdout]     |
[INFO] [stdout] 301 |       let mut next = rlu_dereference(self.rlu_global, self.thread_id, next_ptr); // ptr to next ptr to prev
[INFO] [stdout]     |           ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_next`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the type `[ObjCopy<T>; 128]` does not permit being left uninitialized
[INFO] [stdout]   --> src/rlu.rs:81:26
[INFO] [stdout]    |
[INFO] [stdout] 81 |             log: unsafe{ MaybeUninit::uninit().assume_init() },
[INFO] [stdout]    |                          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed
[INFO] [stdout]    |
[INFO] [stdout] note: integers must be initialized (in this struct field)
[INFO] [stdout]   --> src/rlu.rs:34:5
[INFO] [stdout]    |
[INFO] [stdout] 34 |     thread_id : usize,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout]    = note: `#[warn(invalid_value)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `std::sync::atomic::Atomic::<*mut T>::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead
[INFO] [stdout]    --> src/rlu.rs:302:44
[INFO] [stdout]     |
[INFO] [stdout] 302 |                 let prev = actual_obj.copy.compare_and_swap(ptr::null_mut(), copy_obj, Ordering::SeqCst);
[INFO] [stdout]     |                                            ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the type `[Rlu<T>; 100]` does not permit being left uninitialized
[INFO] [stdout]    --> src/rlu.rs:109:32
[INFO] [stdout]     |
[INFO] [stdout] 109 |             free_nodes: unsafe{MaybeUninit::uninit().assume_init()},
[INFO] [stdout]     |                                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |                                |
[INFO] [stdout]     |                                this code causes undefined behavior when executed
[INFO] [stdout]     |                                help: use `MaybeUninit<T>` instead, and only call `assume_init` after initialization is done
[INFO] [stdout]     |
[INFO] [stdout] note: raw pointers must be initialized (in this struct field)
[INFO] [stdout]    --> src/rlu.rs:46:5
[INFO] [stdout]     |
[INFO] [stdout]  46 |     *mut ObjOriginal<T>
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the type `[RluThreadData<T>; 32]` does not permit being left uninitialized
[INFO] [stdout]    --> src/rlu.rs:138:30
[INFO] [stdout]     |
[INFO] [stdout] 138 |             threads: unsafe {MaybeUninit::uninit().assume_init()},
[INFO] [stdout]     |                              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed
[INFO] [stdout]     |
[INFO] [stdout] note: booleans must be either `true` or `false` (in this struct field)
[INFO] [stdout]    --> src/rlu.rs:88:5
[INFO] [stdout]     |
[INFO] [stdout]  88 |     is_writer : bool,
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused return value of `Box::<T>::from_raw` that must be used
[INFO] [stdout]    --> src/rlu.rs:497:13
[INFO] [stdout]     |
[INFO] [stdout] 497 |             Box::from_raw(thread_data.free_nodes[i].0); //deallocate memory - hack
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: call `drop(Box::from_raw(ptr))` if you intend to drop the `Box`
[INFO] [stdout]     = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 497 |             let _ = Box::from_raw(thread_data.free_nodes[i].0); //deallocate memory - hack
[INFO] [stdout]     |             +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/rlu_set.rs:58:13
[INFO] [stdout]    |
[INFO] [stdout] 58 |         let mut node = rlu_dereference(self.rlu_global, self.thread_id, node_ptr);
[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: value assigned to `node` is never read
[INFO] [stdout]    --> src/rlu_set.rs:154:22
[INFO] [stdout]     |
[INFO] [stdout] 154 |       let mut node = rlu_dereference(self.rlu_global, self.thread_id, node_ptr);
[INFO] [stdout]     |                      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this value is reassigned later and never used
[INFO] [stdout] ...
[INFO] [stdout] 169 |           node = rlu_dereference(self.rlu_global, self.thread_id, node_ptr);
[INFO] [stdout]     |           ----------------------------------------------------------------- `node` is overwritten here before the previous value is read
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]    --> src/rlu_set.rs:340:13
[INFO] [stdout]     |
[INFO] [stdout] 340 |             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: variable does not need to be mutable
[INFO] [stdout]    --> src/rlu_set.rs:301:11
[INFO] [stdout]     |
[INFO] [stdout] 301 |       let mut next = rlu_dereference(self.rlu_global, self.thread_id, next_ptr); // ptr to next ptr to prev
[INFO] [stdout]     |           ----^^^^
[INFO] [stdout]     |           |
[INFO] [stdout]     |           help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `next`
[INFO] [stdout]    --> src/rlu_set.rs:301:11
[INFO] [stdout]     |
[INFO] [stdout] 301 |       let mut next = rlu_dereference(self.rlu_global, self.thread_id, next_ptr); // ptr to next ptr to prev
[INFO] [stdout]     |           ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_next`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the type `[ObjCopy<T>; 128]` does not permit being left uninitialized
[INFO] [stdout]   --> src/rlu.rs:81:26
[INFO] [stdout]    |
[INFO] [stdout] 81 |             log: unsafe{ MaybeUninit::uninit().assume_init() },
[INFO] [stdout]    |                          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed
[INFO] [stdout]    |
[INFO] [stdout] note: integers must be initialized (in this struct field)
[INFO] [stdout]   --> src/rlu.rs:34:5
[INFO] [stdout]    |
[INFO] [stdout] 34 |     thread_id : usize,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout]    = note: `#[warn(invalid_value)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the type `[Rlu<T>; 100]` does not permit being left uninitialized
[INFO] [stdout]    --> src/rlu.rs:109:32
[INFO] [stdout]     |
[INFO] [stdout] 109 |             free_nodes: unsafe{MaybeUninit::uninit().assume_init()},
[INFO] [stdout]     |                                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |                                |
[INFO] [stdout]     |                                this code causes undefined behavior when executed
[INFO] [stdout]     |                                help: use `MaybeUninit<T>` instead, and only call `assume_init` after initialization is done
[INFO] [stdout]     |
[INFO] [stdout] note: raw pointers must be initialized (in this struct field)
[INFO] [stdout]    --> src/rlu.rs:46:5
[INFO] [stdout]     |
[INFO] [stdout]  46 |     *mut ObjOriginal<T>
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the type `[RluThreadData<T>; 32]` does not permit being left uninitialized
[INFO] [stdout]    --> src/rlu.rs:138:30
[INFO] [stdout]     |
[INFO] [stdout] 138 |             threads: unsafe {MaybeUninit::uninit().assume_init()},
[INFO] [stdout]     |                              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed
[INFO] [stdout]     |
[INFO] [stdout] note: booleans must be either `true` or `false` (in this struct field)
[INFO] [stdout]    --> src/rlu.rs:88:5
[INFO] [stdout]     |
[INFO] [stdout]  88 |     is_writer : bool,
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused return value of `Box::<T>::from_raw` that must be used
[INFO] [stdout]    --> src/rlu.rs:497:13
[INFO] [stdout]     |
[INFO] [stdout] 497 |             Box::from_raw(thread_data.free_nodes[i].0); //deallocate memory - hack
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: call `drop(Box::from_raw(ptr))` if you intend to drop the `Box`
[INFO] [stdout]     = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 497 |             let _ = Box::from_raw(thread_data.free_nodes[i].0); //deallocate memory - hack
[INFO] [stdout]     |             +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `rand::Rng`
[INFO] [stdout]  --> tests/rlu.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use rand::Rng;
[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: `test_log::test`
[INFO] [stdout]  --> tests/rlu.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use test_log::test;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `ops` is never read
[INFO] [stdout]   --> src/bin/benchmark_rlu_set.rs:67:17
[INFO] [stdout]    |
[INFO] [stdout] 67 |                 ops += 1;
[INFO] [stdout]    |                 ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: maybe it is overwritten before being read?
[INFO] [stdout]    = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `ops` is never read
[INFO] [stdout]   --> src/bin/benchmark_rlu_set.rs:67:17
[INFO] [stdout]    |
[INFO] [stdout] 67 |                 ops += 1;
[INFO] [stdout]    |                 ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: maybe it is overwritten before being read?
[INFO] [stdout]    = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> tests/set.rs:10:7
[INFO] [stdout]    |
[INFO] [stdout] 10 |   let mut set : RluSet<i32> = RluSet::new();
[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: variable does not need to be mutable
[INFO] [stdout]   --> tests/set.rs:70:9
[INFO] [stdout]    |
[INFO] [stdout] 70 |     let mut set = set.clone_ref();
[INFO] [stdout]    |         ----^^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> tests/set.rs:51:7
[INFO] [stdout]    |
[INFO] [stdout] 51 |   let mut set = RluSet::new();
[INFO] [stdout]    |       ----^^^
[INFO] [stdout]    |       |
[INFO] [stdout]    |       help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 9.88s
[INFO] running `Command { std: "docker" "inspect" "020efa9d95c6a3069c7b8f4d637c24f78ca15077561727ed49bc086419246141", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "020efa9d95c6a3069c7b8f4d637c24f78ca15077561727ed49bc086419246141", kill_on_drop: false }`
[INFO] [stdout] 020efa9d95c6a3069c7b8f4d637c24f78ca15077561727ed49bc086419246141
