[INFO] cloning repository https://github.com/L1cHH/concurrent_entities
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/L1cHH/concurrent_entities" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FL1cHH%2Fconcurrent_entities", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FL1cHH%2Fconcurrent_entities'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] e07d1a8feba9ab3eeb8e617a65c99c9355734b0c
[INFO] checking L1cHH/concurrent_entities against try#db4e1d23234d93b5e96ecc768b35d9090c32cddf for pr-149901
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FL1cHH%2Fconcurrent_entities" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/L1cHH/concurrent_entities
[INFO] finished tweaking git repo https://github.com/L1cHH/concurrent_entities
[INFO] tweaked toml for git repo https://github.com/L1cHH/concurrent_entities written to /workspace/builds/worker-4-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/L1cHH/concurrent_entities on toolchain db4e1d23234d93b5e96ecc768b35d9090c32cddf
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+db4e1d23234d93b5e96ecc768b35d9090c32cddf" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/L1cHH/concurrent_entities 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" "+db4e1d23234d93b5e96ecc768b35d9090c32cddf" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+db4e1d23234d93b5e96ecc768b35d9090c32cddf" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] a5ed4bd3e8bb38f50b3a5e414873d5dec6218f32b54fed938d2103f9ff853186
[INFO] running `Command { std: "docker" "start" "-a" "a5ed4bd3e8bb38f50b3a5e414873d5dec6218f32b54fed938d2103f9ff853186", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "a5ed4bd3e8bb38f50b3a5e414873d5dec6218f32b54fed938d2103f9ff853186", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "a5ed4bd3e8bb38f50b3a5e414873d5dec6218f32b54fed938d2103f9ff853186", kill_on_drop: false }`
[INFO] [stdout] a5ed4bd3e8bb38f50b3a5e414873d5dec6218f32b54fed938d2103f9ff853186
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+db4e1d23234d93b5e96ecc768b35d9090c32cddf" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 455beefa192510b4a404dc6c8c37a449a130c31c7d0a0088e67ea6010f898325
[INFO] running `Command { std: "docker" "start" "-a" "455beefa192510b4a404dc6c8c37a449a130c31c7d0a0088e67ea6010f898325", kill_on_drop: false }`
[INFO] [stderr]    Compiling concurrency-things v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused variable: `status`
[INFO] [stdout]  --> build.rs:5:10
[INFO] [stdout]   |
[INFO] [stdout] 5 |      let status = std::process::Command::new("nasm")
[INFO] [stdout]   |          ^^^^^^ help: if this is intentional, prefix it with an underscore: `_status`
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::ops::Deref`
[INFO] [stdout]  --> src/concurrent_things/atomics/atomic.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::ops::Deref;
[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: `super::*`
[INFO] [stdout]   --> src/concurrent_things/atomics/atomic.rs:64:9
[INFO] [stdout]    |
[INFO] [stdout] 64 |     use super::*;
[INFO] [stdout]    |         ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::sync::Arc`
[INFO] [stdout]   --> src/concurrent_things/ticket_lock/ticket_lock.rs:49:9
[INFO] [stdout]    |
[INFO] [stdout] 49 |     use std::sync::Arc;
[INFO] [stdout]    |         ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::thread::yield_now`
[INFO] [stdout]   --> src/concurrent_things/ticket_lock/ticket_lock.rs:50:9
[INFO] [stdout]    |
[INFO] [stdout] 50 |     use std::thread::yield_now;
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::time::Duration`
[INFO] [stdout]   --> src/concurrent_things/ticket_lock/ticket_lock.rs:51:9
[INFO] [stdout]    |
[INFO] [stdout] 51 |     use std::time::Duration;
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `super::*`
[INFO] [stdout]   --> src/concurrent_things/ticket_lock/ticket_lock.rs:52:9
[INFO] [stdout]    |
[INFO] [stdout] 52 |     use super::*;
[INFO] [stdout]    |         ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::sync::Arc`
[INFO] [stdout]    --> src/concurrent_things/win_mutex/mutex.rs:157:9
[INFO] [stdout]     |
[INFO] [stdout] 157 |     use std::sync::Arc;
[INFO] [stdout]     |         ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::thread`
[INFO] [stdout]    --> src/concurrent_things/win_mutex/mutex.rs:158:9
[INFO] [stdout]     |
[INFO] [stdout] 158 |     use std::thread;
[INFO] [stdout]     |         ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `super::*`
[INFO] [stdout]    --> src/concurrent_things/win_mutex/mutex.rs:159:9
[INFO] [stdout]     |
[INFO] [stdout] 159 |     use super::*;
[INFO] [stdout]     |         ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::cell::UnsafeCell`
[INFO] [stdout]  --> src/concurrent_things/semaphore/semaphore.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::cell::UnsafeCell;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `AtomicI32` and `Ordering`
[INFO] [stdout]  --> src/concurrent_things/semaphore/semaphore.rs:3:25
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::sync::atomic::{AtomicI32, Ordering};
[INFO] [stdout]   |                         ^^^^^^^^^  ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::sync::atomic::Ordering::SeqCst`
[INFO] [stdout]  --> src/concurrent_things/semaphore/semaphore.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use std::sync::atomic::Ordering::SeqCst;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::sync::Arc`
[INFO] [stdout]   --> src/concurrent_things/barrier/cyclic_barrier.rs:57:9
[INFO] [stdout]    |
[INFO] [stdout] 57 |     use std::sync::Arc;
[INFO] [stdout]    |         ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::thread`
[INFO] [stdout]   --> src/concurrent_things/barrier/cyclic_barrier.rs:58:9
[INFO] [stdout]    |
[INFO] [stdout] 58 |     use std::thread;
[INFO] [stdout]    |         ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `super::*`
[INFO] [stdout]   --> src/concurrent_things/barrier/cyclic_barrier.rs:59:9
[INFO] [stdout]    |
[INFO] [stdout] 59 |     use super::*;
[INFO] [stdout]    |         ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::sync::Arc`
[INFO] [stdout]   --> src/concurrent_things/wait_group/wait_group.rs:52:9
[INFO] [stdout]    |
[INFO] [stdout] 52 |     use std::sync::Arc;
[INFO] [stdout]    |         ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::thread`
[INFO] [stdout]   --> src/concurrent_things/wait_group/wait_group.rs:53:9
[INFO] [stdout]    |
[INFO] [stdout] 53 |     use std::thread;
[INFO] [stdout]    |         ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::time::Duration`
[INFO] [stdout]   --> src/concurrent_things/wait_group/wait_group.rs:54:9
[INFO] [stdout]    |
[INFO] [stdout] 54 |     use std::time::Duration;
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `super::*`
[INFO] [stdout]   --> src/concurrent_things/wait_group/wait_group.rs:55:9
[INFO] [stdout]    |
[INFO] [stdout] 55 |     use super::*;
[INFO] [stdout]    |         ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `super::*`
[INFO] [stdout]   --> src/concurrent_things/cond_var/cond_var.rs:47:9
[INFO] [stdout]    |
[INFO] [stdout] 47 |     use super::*;
[INFO] [stdout]    |         ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::sync::Arc`
[INFO] [stdout]   --> src/concurrent_things/cond_var/cond_var.rs:48:9
[INFO] [stdout]    |
[INFO] [stdout] 48 |     use std::sync::Arc;
[INFO] [stdout]    |         ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::thread`
[INFO] [stdout]   --> src/concurrent_things/cond_var/cond_var.rs:49:9
[INFO] [stdout]    |
[INFO] [stdout] 49 |     use std::thread;
[INFO] [stdout]    |         ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::time::Duration`
[INFO] [stdout]   --> src/concurrent_things/cond_var/cond_var.rs:50:9
[INFO] [stdout]    |
[INFO] [stdout] 50 |     use std::time::Duration;
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::ops::Deref`
[INFO] [stdout]  --> src/concurrent_things/atomics/atomic.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::ops::Deref;
[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: `std::thread::yield_now`
[INFO] [stdout]   --> src/concurrent_things/ticket_lock/ticket_lock.rs:50:9
[INFO] [stdout]    |
[INFO] [stdout] 50 |     use std::thread::yield_now;
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::cell::UnsafeCell`
[INFO] [stdout]  --> src/concurrent_things/semaphore/semaphore.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::cell::UnsafeCell;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `AtomicI32` and `Ordering`
[INFO] [stdout]  --> src/concurrent_things/semaphore/semaphore.rs:3:25
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::sync::atomic::{AtomicI32, Ordering};
[INFO] [stdout]   |                         ^^^^^^^^^  ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::sync::atomic::Ordering::SeqCst`
[INFO] [stdout]  --> src/concurrent_things/semaphore/semaphore.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use std::sync::atomic::Ordering::SeqCst;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `access`
[INFO] [stdout]   --> src/concurrent_things/semaphore/bounded_blocking_queue.rs:27:17
[INFO] [stdout]    |
[INFO] [stdout] 27 |             let access = self.mutex.acquire();
[INFO] [stdout]    |                 ^^^^^^ help: if this is intentional, prefix it with an underscore: `_access`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `access`
[INFO] [stdout]   --> src/concurrent_things/semaphore/bounded_blocking_queue.rs:36:17
[INFO] [stdout]    |
[INFO] [stdout] 36 |             let access = self.mutex.acquire();
[INFO] [stdout]    |                 ^^^^^^ help: if this is intentional, prefix it with an underscore: `_access`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/concurrent_things/cond_var/cond_var.rs:167:13
[INFO] [stdout]     |
[INFO] [stdout] 167 |         let mut raw_mutex = lock.to_raw_mutex();
[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: unused variable: `value`
[INFO] [stdout]  --> src/main.rs:6:9
[INFO] [stdout]   |
[INFO] [stdout] 6 |     let value = atomic::AtomicI64::new();
[INFO] [stdout]   |         ^^^^^ help: if this is intentional, prefix it with an underscore: `_value`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `load`, `store`, and `exchange` are never used
[INFO] [stdout]   --> src/concurrent_things/atomics/atomic.rs:34:12
[INFO] [stdout]    |
[INFO] [stdout] 26 | impl AtomicI64 {
[INFO] [stdout]    | -------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 34 |     pub fn load(&self, memory_ordering: MemoryOrdering) -> i64 {
[INFO] [stdout]    |            ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 43 |     pub fn store(&self, new_value: i64, memory_ordering: MemoryOrdering) {
[INFO] [stdout]    |            ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 52 |     pub fn exchange(&self, new_value: i64, memory_ordering: MemoryOrdering) -> i64 {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `AtomicRelaxedStore` is never used
[INFO] [stdout]  --> src/concurrent_things/atomics/atomic.rs:6:8
[INFO] [stdout]   |
[INFO] [stdout] 6 |     fn AtomicRelaxedStore(prt: *mut i64, new_value: i64);
[INFO] [stdout]   |        ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `AtomicReleaseStore` is never used
[INFO] [stdout]  --> src/concurrent_things/atomics/atomic.rs:8:8
[INFO] [stdout]   |
[INFO] [stdout] 8 |     fn AtomicReleaseStore(prt: *mut i64, new_value: i64);
[INFO] [stdout]   |        ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `AtomicSeqCstStore` is never used
[INFO] [stdout]   --> src/concurrent_things/atomics/atomic.rs:10:8
[INFO] [stdout]    |
[INFO] [stdout] 10 |     fn AtomicSeqCstStore(prt: *mut i64, new_value: i64);
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `AtomicRelaxedLoad` is never used
[INFO] [stdout]   --> src/concurrent_things/atomics/atomic.rs:12:8
[INFO] [stdout]    |
[INFO] [stdout] 12 |     fn AtomicRelaxedLoad(ptr: *const i64) -> i64;
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `AtomicAcquireLoad` is never used
[INFO] [stdout]   --> src/concurrent_things/atomics/atomic.rs:14:8
[INFO] [stdout]    |
[INFO] [stdout] 14 |     fn AtomicAcquireLoad(ptr: *const i64) -> i64;
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `AtomicSeqCstLoad` is never used
[INFO] [stdout]   --> src/concurrent_things/atomics/atomic.rs:16:8
[INFO] [stdout]    |
[INFO] [stdout] 16 |     fn AtomicSeqCstLoad(ptr: *const i64) -> i64;
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `AtomicSeqCstExchange` is never used
[INFO] [stdout]   --> src/concurrent_things/atomics/atomic.rs:18:8
[INFO] [stdout]    |
[INFO] [stdout] 18 |     fn AtomicSeqCstExchange(ptr: *mut i64, new_value: i64) -> i64;
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `MemoryOrdering` is never used
[INFO] [stdout]  --> src/concurrent_things/memory_ordering/memory_ordering.rs:1:10
[INFO] [stdout]   |
[INFO] [stdout] 1 | pub enum MemoryOrdering {
[INFO] [stdout]   |          ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `WOULD_BLOCK_ERR` is never used
[INFO] [stdout]  --> src/concurrent_things/spin_lock/spin_lock.rs:5:7
[INFO] [stdout]   |
[INFO] [stdout] 5 | const WOULD_BLOCK_ERR: &str = "the lock have been already locked...";
[INFO] [stdout]   |       ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `SpinLock` is never constructed
[INFO] [stdout]  --> src/concurrent_things/spin_lock/spin_lock.rs:7:12
[INFO] [stdout]   |
[INFO] [stdout] 7 | pub struct SpinLock<T: ?Sized> {
[INFO] [stdout]   |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/concurrent_things/spin_lock/spin_lock.rs:13:12
[INFO] [stdout]    |
[INFO] [stdout] 12 | impl <T: Sized> SpinLock<T> {
[INFO] [stdout]    | --------------------------- associated function in this implementation
[INFO] [stdout] 13 |     pub fn new(data: T) -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `lock`, `try_lock`, and `unlock` are never used
[INFO] [stdout]   --> src/concurrent_things/spin_lock/spin_lock.rs:23:12
[INFO] [stdout]    |
[INFO] [stdout] 21 | impl <T: ?Sized> SpinLock<T> {
[INFO] [stdout]    | ---------------------------- methods in this implementation
[INFO] [stdout] 22 |
[INFO] [stdout] 23 |     pub fn lock(&self) -> SpinLockGuard<'_, T> {
[INFO] [stdout]    |            ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 32 |     pub fn try_lock(&self) -> Result<SpinLockGuard<'_, T>, &'static str> {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 44 |     pub fn unlock(&self) {
[INFO] [stdout]    |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `SpinLockGuard` is never constructed
[INFO] [stdout]   --> src/concurrent_things/spin_lock/spin_lock.rs:53:12
[INFO] [stdout]    |
[INFO] [stdout] 53 | pub struct SpinLockGuard<'a, T: ?Sized + 'a> {
[INFO] [stdout]    |            ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `TicketLock` is never constructed
[INFO] [stdout]  --> src/concurrent_things/ticket_lock/ticket_lock.rs:5:12
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub struct TicketLock {
[INFO] [stdout]   |            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `lock`, `try_lock`, and `unlock` are never used
[INFO] [stdout]   --> src/concurrent_things/ticket_lock/ticket_lock.rs:12:12
[INFO] [stdout]    |
[INFO] [stdout] 10 | impl TicketLock {
[INFO] [stdout]    | --------------- associated items in this implementation
[INFO] [stdout] 11 |
[INFO] [stdout] 12 |     pub fn new() -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 19 |     pub fn lock(&self) {
[INFO] [stdout]    |            ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 28 |     pub fn try_lock(&self) -> bool {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 41 |     pub fn unlock(&self) {
[INFO] [stdout]    |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `INFINITE` is never used
[INFO] [stdout]   --> src/concurrent_things/win_mutex/mutex.rs:20:11
[INFO] [stdout]    |
[INFO] [stdout] 20 | pub const INFINITE: u32 = u32::MAX;
[INFO] [stdout]    |           ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `SPIN_LIMIT` is never used
[INFO] [stdout]   --> src/concurrent_things/win_mutex/mutex.rs:21:7
[INFO] [stdout]    |
[INFO] [stdout] 21 | const SPIN_LIMIT: u32 = 100;
[INFO] [stdout]    |       ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `WOULD_BLOCK` is never used
[INFO] [stdout]   --> src/concurrent_things/win_mutex/mutex.rs:22:7
[INFO] [stdout]    |
[INFO] [stdout] 22 | const WOULD_BLOCK: &str = "it's locked now...";
[INFO] [stdout]    |       ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `InnerWinMutex` is never constructed
[INFO] [stdout]   --> src/concurrent_things/win_mutex/mutex.rs:24:8
[INFO] [stdout]    |
[INFO] [stdout] 24 | struct InnerWinMutex {
[INFO] [stdout]    |        ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `lock`, `try_lock`, `unlock`, and `unlock_much` are never used
[INFO] [stdout]   --> src/concurrent_things/win_mutex/mutex.rs:30:8
[INFO] [stdout]    |
[INFO] [stdout] 29 | impl InnerWinMutex {
[INFO] [stdout]    | ------------------ methods in this implementation
[INFO] [stdout] 30 |     fn lock(&self) {
[INFO] [stdout]    |        ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 51 |     fn try_lock(&self) -> bool {
[INFO] [stdout]    |        ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 59 |     fn unlock(&self) {
[INFO] [stdout]    |        ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 64 |     fn unlock_much(&self) {
[INFO] [stdout]    |        ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Mutex` is never constructed
[INFO] [stdout]   --> src/concurrent_things/win_mutex/mutex.rs:71:12
[INFO] [stdout]    |
[INFO] [stdout] 71 | pub struct Mutex<T: ?Sized> {
[INFO] [stdout]    |            ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/concurrent_things/win_mutex/mutex.rs:77:12
[INFO] [stdout]    |
[INFO] [stdout] 76 | impl <T: Sized> Mutex<T> {
[INFO] [stdout]    | ------------------------ associated function in this implementation
[INFO] [stdout] 77 |     pub fn new(data: T) -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `lock`, `try_lock`, `unlock`, and `get` are never used
[INFO] [stdout]    --> src/concurrent_things/win_mutex/mutex.rs:87:12
[INFO] [stdout]     |
[INFO] [stdout]  86 | impl <T: ?Sized> Mutex <T> {
[INFO] [stdout]     | -------------------------- methods in this implementation
[INFO] [stdout]  87 |     pub fn lock(&self) -> MutexGuard<'_, T>{
[INFO] [stdout]     |            ^^^^
[INFO] [stdout] ...
[INFO] [stdout]  94 |     pub fn try_lock(&self) -> Result<MutexGuard<'_, T>, &'static str> {
[INFO] [stdout]     |            ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 102 |     pub fn unlock(&self) {
[INFO] [stdout]     |            ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 106 |     pub fn get(&self) -> &T {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `RawMutex` is never constructed
[INFO] [stdout]    --> src/concurrent_things/win_mutex/mutex.rs:115:12
[INFO] [stdout]     |
[INFO] [stdout] 115 | pub struct RawMutex<'a, T: ?Sized + 'a> {
[INFO] [stdout]     |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `MutexGuard` is never constructed
[INFO] [stdout]    --> src/concurrent_things/win_mutex/mutex.rs:120:12
[INFO] [stdout]     |
[INFO] [stdout] 120 | pub struct MutexGuard<'a, T: ?Sized + 'a> {
[INFO] [stdout]     |            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `to_raw_mutex` and `from_raw` are never used
[INFO] [stdout]    --> src/concurrent_things/win_mutex/mutex.rs:125:12
[INFO] [stdout]     |
[INFO] [stdout] 124 | impl <'a, T: ?Sized + 'a> MutexGuard<'a, T> {
[INFO] [stdout]     | ------------------------------------------- associated items in this implementation
[INFO] [stdout] 125 |     pub fn to_raw_mutex(self) -> RawMutex<'a, T> {
[INFO] [stdout]     |            ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 131 |     pub fn from_raw(raw_mutex: RawMutex<'a, T>) -> MutexGuard<'a, T> {
[INFO] [stdout]     |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `WaitOnAddress` is never used
[INFO] [stdout]  --> src/concurrent_things/win_mutex/mutex.rs:8:12
[INFO] [stdout]   |
[INFO] [stdout] 8 |     pub fn WaitOnAddress(
[INFO] [stdout]   |            ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `WakeByAddressSingle` is never used
[INFO] [stdout]   --> src/concurrent_things/win_mutex/mutex.rs:15:12
[INFO] [stdout]    |
[INFO] [stdout] 15 |     pub fn WakeByAddressSingle(Address: *mut c_void);
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `WakeByAddressAll` is never used
[INFO] [stdout]   --> src/concurrent_things/win_mutex/mutex.rs:17:12
[INFO] [stdout]    |
[INFO] [stdout] 17 |     pub fn WakeByAddressAll(Address: *mut c_void);
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Semaphore` is never constructed
[INFO] [stdout]   --> src/concurrent_things/semaphore/semaphore.rs:10:12
[INFO] [stdout]    |
[INFO] [stdout] 10 | pub struct Semaphore {
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `acquire`, and `release` are never used
[INFO] [stdout]   --> src/concurrent_things/semaphore/semaphore.rs:17:12
[INFO] [stdout]    |
[INFO] [stdout] 16 | impl Semaphore {
[INFO] [stdout]    | -------------- associated items in this implementation
[INFO] [stdout] 17 |     pub fn new(init_permits: i32) -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 28 |     pub fn acquire(&self) {
[INFO] [stdout]    |            ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 38 |     pub fn release(&self) {
[INFO] [stdout]    |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `TaggedSemaphore` is never constructed
[INFO] [stdout]   --> src/concurrent_things/semaphore/semaphore.rs:46:12
[INFO] [stdout]    |
[INFO] [stdout] 46 | pub struct TaggedSemaphore<Tag> {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Permit` is never constructed
[INFO] [stdout]   --> src/concurrent_things/semaphore/semaphore.rs:53:12
[INFO] [stdout]    |
[INFO] [stdout] 53 | pub struct Permit<'a, Tag> {
[INFO] [stdout]    |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `acquire`, `release`, `move_permit_and_get`, and `move_permit` are never used
[INFO] [stdout]   --> src/concurrent_things/semaphore/semaphore.rs:64:12
[INFO] [stdout]    |
[INFO] [stdout] 63 | impl <Tag> TaggedSemaphore<Tag> {
[INFO] [stdout]    | ------------------------------- associated items in this implementation
[INFO] [stdout] 64 |     pub fn new(init_permits: i32) -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 72 |     pub fn acquire(&self) -> Permit<'_, Tag> {
[INFO] [stdout]    |            ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 86 |     fn release(&self) {
[INFO] [stdout]    |        ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 92 |     pub fn move_permit_and_get<'a>(&'a self, mut outer_permit: Permit<'a, Tag>) -> Permit<'a, Tag> {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 97 |     pub fn move_permit<'a>(&'a self, mut outer_permit: Permit<'a, Tag>) {
[INFO] [stdout]    |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Access` is never constructed
[INFO] [stdout]  --> src/concurrent_things/semaphore/bounded_blocking_queue.rs:5:12
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub struct Access {}
[INFO] [stdout]   |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `BoundedBlockingQueue` is never constructed
[INFO] [stdout]  --> src/concurrent_things/semaphore/bounded_blocking_queue.rs:7:12
[INFO] [stdout]   |
[INFO] [stdout] 7 | pub struct BoundedBlockingQueue<T, Tag> {
[INFO] [stdout]   |            ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `put`, and `take` are never used
[INFO] [stdout]   --> src/concurrent_things/semaphore/bounded_blocking_queue.rs:15:12
[INFO] [stdout]    |
[INFO] [stdout] 14 | impl <T, Tag> BoundedBlockingQueue<T, Tag> {
[INFO] [stdout]    | ------------------------------------------ associated items in this implementation
[INFO] [stdout] 15 |     pub fn new(capacity: usize) -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 24 |     pub fn put(&self, el: T) {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 33 |     pub fn take(&self) -> T {
[INFO] [stdout]    |            ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `BarrierState` is never constructed
[INFO] [stdout]  --> src/concurrent_things/barrier/cyclic_barrier.rs:3:8
[INFO] [stdout]   |
[INFO] [stdout] 3 | struct BarrierState {
[INFO] [stdout]   |        ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `init` is never used
[INFO] [stdout]  --> src/concurrent_things/barrier/cyclic_barrier.rs:9:8
[INFO] [stdout]   |
[INFO] [stdout] 8 | impl BarrierState {
[INFO] [stdout]   | ----------------- associated function in this implementation
[INFO] [stdout] 9 |     fn init() -> Self {
[INFO] [stdout]   |        ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `CyclicBarrier` is never constructed
[INFO] [stdout]   --> src/concurrent_things/barrier/cyclic_barrier.rs:18:12
[INFO] [stdout]    |
[INFO] [stdout] 18 | pub struct CyclicBarrier {
[INFO] [stdout]    |            ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new` and `arrive_and_wait` are never used
[INFO] [stdout]   --> src/concurrent_things/barrier/cyclic_barrier.rs:25:12
[INFO] [stdout]    |
[INFO] [stdout] 24 | impl CyclicBarrier {
[INFO] [stdout]    | ------------------ associated items in this implementation
[INFO] [stdout] 25 |     pub fn new(n: usize) -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 33 |     pub fn arrive_and_wait(&self) {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `WaitGroup` is never constructed
[INFO] [stdout]  --> src/concurrent_things/wait_group/wait_group.rs:3:12
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub struct WaitGroup {
[INFO] [stdout]   |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `State` is never constructed
[INFO] [stdout]  --> src/concurrent_things/wait_group/wait_group.rs:8:8
[INFO] [stdout]   |
[INFO] [stdout] 8 | struct State {
[INFO] [stdout]   |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `add`, `done`, and `wait` are never used
[INFO] [stdout]   --> src/concurrent_things/wait_group/wait_group.rs:15:12
[INFO] [stdout]    |
[INFO] [stdout] 14 | impl WaitGroup {
[INFO] [stdout]    | -------------- associated items in this implementation
[INFO] [stdout] 15 |     pub fn new() -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 22 |     pub fn add(&self, count: usize) {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 26 |     pub fn done(&self) {
[INFO] [stdout]    |            ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 37 |     pub fn wait(&self) {
[INFO] [stdout]    |            ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `CondVar` is never constructed
[INFO] [stdout]   --> src/concurrent_things/cond_var/cond_var.rs:10:12
[INFO] [stdout]    |
[INFO] [stdout] 10 | pub struct CondVar {
[INFO] [stdout]    |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `wait`, `notify_one`, and `notify_all` are never used
[INFO] [stdout]   --> src/concurrent_things/cond_var/cond_var.rs:16:12
[INFO] [stdout]    |
[INFO] [stdout] 14 | impl CondVar {
[INFO] [stdout]    | ------------ associated items in this implementation
[INFO] [stdout] 15 |
[INFO] [stdout] 16 |     pub fn new() -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 22 |     pub fn wait<'a, T: ?Sized>(&self, lock: MutexGuard<'a, T>) -> MutexGuard<'a, T> {
[INFO] [stdout]    |            ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 33 |     pub fn notify_one(&self) {
[INFO] [stdout]    |            ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 38 |     pub fn notify_all(&self) {
[INFO] [stdout]    |            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `WaitedThread` is never constructed
[INFO] [stdout]    --> src/concurrent_things/cond_var/cond_var.rs:153:8
[INFO] [stdout]     |
[INFO] [stdout] 153 | struct WaitedThread {
[INFO] [stdout]     |        ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `FairCondVar` is never constructed
[INFO] [stdout]    --> src/concurrent_things/cond_var/cond_var.rs:157:12
[INFO] [stdout]     |
[INFO] [stdout] 157 | pub struct FairCondVar {
[INFO] [stdout]     |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `wait`, `notify_one`, and `notify_all` are never used
[INFO] [stdout]    --> src/concurrent_things/cond_var/cond_var.rs:163:12
[INFO] [stdout]     |
[INFO] [stdout] 162 | impl FairCondVar {
[INFO] [stdout]     | ---------------- methods in this implementation
[INFO] [stdout] 163 |     pub fn wait<'a, T: ?Sized + 'a>(&self, lock: MutexGuard<'a, T>) -> MutexGuard<'a, T>{
[INFO] [stdout]     |            ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 176 |     pub fn notify_one(&self) {
[INFO] [stdout]     |            ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 186 |     pub fn notify_all(&self) {
[INFO] [stdout]     |            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused borrow that must be used
[INFO] [stdout]   --> src/concurrent_things/cond_var/cond_var.rs:34:9
[INFO] [stdout]    |
[INFO] [stdout] 34 |         &self.state.fetch_add(1, Ordering::Relaxed);
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value
[INFO] [stdout]    |
[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] 34 |         let _ = &self.state.fetch_add(1, Ordering::Relaxed);
[INFO] [stdout]    |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused borrow that must be used
[INFO] [stdout]   --> src/concurrent_things/cond_var/cond_var.rs:39:9
[INFO] [stdout]    |
[INFO] [stdout] 39 |         &self.state.fetch_add(1, Ordering::Relaxed);
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value
[INFO] [stdout]    |
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]    |
[INFO] [stdout] 39 |         let _ = &self.state.fetch_add(1, Ordering::Relaxed);
[INFO] [stdout]    |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]    --> src/concurrent_things/win_mutex/mutex.rs:167:13
[INFO] [stdout]     |
[INFO] [stdout] 167 |             unsafe { *guard += 1 };
[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: unused variable: `access`
[INFO] [stdout]   --> src/concurrent_things/semaphore/bounded_blocking_queue.rs:27:17
[INFO] [stdout]    |
[INFO] [stdout] 27 |             let access = self.mutex.acquire();
[INFO] [stdout]    |                 ^^^^^^ help: if this is intentional, prefix it with an underscore: `_access`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `access`
[INFO] [stdout]   --> src/concurrent_things/semaphore/bounded_blocking_queue.rs:36:17
[INFO] [stdout]    |
[INFO] [stdout] 36 |             let access = self.mutex.acquire();
[INFO] [stdout]    |                 ^^^^^^ help: if this is intentional, prefix it with an underscore: `_access`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/concurrent_things/cond_var/cond_var.rs:167:13
[INFO] [stdout]     |
[INFO] [stdout] 167 |         let mut raw_mutex = lock.to_raw_mutex();
[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: unused variable: `value`
[INFO] [stdout]  --> src/main.rs:6:9
[INFO] [stdout]   |
[INFO] [stdout] 6 |     let value = atomic::AtomicI64::new();
[INFO] [stdout]   |         ^^^^^ help: if this is intentional, prefix it with an underscore: `_value`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `Release`, `Acquire`, and `SeqCst` are never constructed
[INFO] [stdout]  --> src/concurrent_things/memory_ordering/memory_ordering.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | pub enum MemoryOrdering {
[INFO] [stdout]   |          -------------- variants in this enum
[INFO] [stdout] 2 |     Relaxed,
[INFO] [stdout] 3 |     Release,
[INFO] [stdout]   |     ^^^^^^^
[INFO] [stdout] 4 |     Acquire,
[INFO] [stdout]   |     ^^^^^^^
[INFO] [stdout] 5 |     SeqCst
[INFO] [stdout]   |     ^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `WOULD_BLOCK_ERR` is never used
[INFO] [stdout]  --> src/concurrent_things/spin_lock/spin_lock.rs:5:7
[INFO] [stdout]   |
[INFO] [stdout] 5 | const WOULD_BLOCK_ERR: &str = "the lock have been already locked...";
[INFO] [stdout]   |       ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `SpinLock` is never constructed
[INFO] [stdout]  --> src/concurrent_things/spin_lock/spin_lock.rs:7:12
[INFO] [stdout]   |
[INFO] [stdout] 7 | pub struct SpinLock<T: ?Sized> {
[INFO] [stdout]   |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/concurrent_things/spin_lock/spin_lock.rs:13:12
[INFO] [stdout]    |
[INFO] [stdout] 12 | impl <T: Sized> SpinLock<T> {
[INFO] [stdout]    | --------------------------- associated function in this implementation
[INFO] [stdout] 13 |     pub fn new(data: T) -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `lock`, `try_lock`, and `unlock` are never used
[INFO] [stdout]   --> src/concurrent_things/spin_lock/spin_lock.rs:23:12
[INFO] [stdout]    |
[INFO] [stdout] 21 | impl <T: ?Sized> SpinLock<T> {
[INFO] [stdout]    | ---------------------------- methods in this implementation
[INFO] [stdout] 22 |
[INFO] [stdout] 23 |     pub fn lock(&self) -> SpinLockGuard<'_, T> {
[INFO] [stdout]    |            ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 32 |     pub fn try_lock(&self) -> Result<SpinLockGuard<'_, T>, &'static str> {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 44 |     pub fn unlock(&self) {
[INFO] [stdout]    |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `SpinLockGuard` is never constructed
[INFO] [stdout]   --> src/concurrent_things/spin_lock/spin_lock.rs:53:12
[INFO] [stdout]    |
[INFO] [stdout] 53 | pub struct SpinLockGuard<'a, T: ?Sized + 'a> {
[INFO] [stdout]    |            ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `unlock` is never used
[INFO] [stdout]   --> src/concurrent_things/ticket_lock/ticket_lock.rs:41:12
[INFO] [stdout]    |
[INFO] [stdout] 10 | impl TicketLock {
[INFO] [stdout]    | --------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 41 |     pub fn unlock(&self) {
[INFO] [stdout]    |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `WOULD_BLOCK` is never used
[INFO] [stdout]   --> src/concurrent_things/win_mutex/mutex.rs:22:7
[INFO] [stdout]    |
[INFO] [stdout] 22 | const WOULD_BLOCK: &str = "it's locked now...";
[INFO] [stdout]    |       ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `try_lock` and `unlock_much` are never used
[INFO] [stdout]   --> src/concurrent_things/win_mutex/mutex.rs:51:8
[INFO] [stdout]    |
[INFO] [stdout] 29 | impl InnerWinMutex {
[INFO] [stdout]    | ------------------ methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 51 |     fn try_lock(&self) -> bool {
[INFO] [stdout]    |        ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 64 |     fn unlock_much(&self) {
[INFO] [stdout]    |        ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `try_lock` is never used
[INFO] [stdout]   --> src/concurrent_things/win_mutex/mutex.rs:94:12
[INFO] [stdout]    |
[INFO] [stdout] 86 | impl <T: ?Sized> Mutex <T> {
[INFO] [stdout]    | -------------------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 94 |     pub fn try_lock(&self) -> Result<MutexGuard<'_, T>, &'static str> {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Semaphore` is never constructed
[INFO] [stdout]   --> src/concurrent_things/semaphore/semaphore.rs:10:12
[INFO] [stdout]    |
[INFO] [stdout] 10 | pub struct Semaphore {
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `acquire`, and `release` are never used
[INFO] [stdout]   --> src/concurrent_things/semaphore/semaphore.rs:17:12
[INFO] [stdout]    |
[INFO] [stdout] 16 | impl Semaphore {
[INFO] [stdout]    | -------------- associated items in this implementation
[INFO] [stdout] 17 |     pub fn new(init_permits: i32) -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 28 |     pub fn acquire(&self) {
[INFO] [stdout]    |            ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 38 |     pub fn release(&self) {
[INFO] [stdout]    |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `move_permit_and_get` is never used
[INFO] [stdout]   --> src/concurrent_things/semaphore/semaphore.rs:92:12
[INFO] [stdout]    |
[INFO] [stdout] 63 | impl <Tag> TaggedSemaphore<Tag> {
[INFO] [stdout]    | ------------------------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 92 |     pub fn move_permit_and_get<'a>(&'a self, mut outer_permit: Permit<'a, Tag>) -> Permit<'a, Tag> {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `WaitedThread` is never constructed
[INFO] [stdout]    --> src/concurrent_things/cond_var/cond_var.rs:153:8
[INFO] [stdout]     |
[INFO] [stdout] 153 | struct WaitedThread {
[INFO] [stdout]     |        ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `FairCondVar` is never constructed
[INFO] [stdout]    --> src/concurrent_things/cond_var/cond_var.rs:157:12
[INFO] [stdout]     |
[INFO] [stdout] 157 | pub struct FairCondVar {
[INFO] [stdout]     |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `wait`, `notify_one`, and `notify_all` are never used
[INFO] [stdout]    --> src/concurrent_things/cond_var/cond_var.rs:163:12
[INFO] [stdout]     |
[INFO] [stdout] 162 | impl FairCondVar {
[INFO] [stdout]     | ---------------- methods in this implementation
[INFO] [stdout] 163 |     pub fn wait<'a, T: ?Sized + 'a>(&self, lock: MutexGuard<'a, T>) -> MutexGuard<'a, T>{
[INFO] [stdout]     |            ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 176 |     pub fn notify_one(&self) {
[INFO] [stdout]     |            ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 186 |     pub fn notify_all(&self) {
[INFO] [stdout]     |            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused borrow that must be used
[INFO] [stdout]   --> src/concurrent_things/cond_var/cond_var.rs:34:9
[INFO] [stdout]    |
[INFO] [stdout] 34 |         &self.state.fetch_add(1, Ordering::Relaxed);
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value
[INFO] [stdout]    |
[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] 34 |         let _ = &self.state.fetch_add(1, Ordering::Relaxed);
[INFO] [stdout]    |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused borrow that must be used
[INFO] [stdout]   --> src/concurrent_things/cond_var/cond_var.rs:39:9
[INFO] [stdout]    |
[INFO] [stdout] 39 |         &self.state.fetch_add(1, Ordering::Relaxed);
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value
[INFO] [stdout]    |
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]    |
[INFO] [stdout] 39 |         let _ = &self.state.fetch_add(1, Ordering::Relaxed);
[INFO] [stdout]    |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.36s
[INFO] running `Command { std: "docker" "inspect" "455beefa192510b4a404dc6c8c37a449a130c31c7d0a0088e67ea6010f898325", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "455beefa192510b4a404dc6c8c37a449a130c31c7d0a0088e67ea6010f898325", kill_on_drop: false }`
[INFO] [stdout] 455beefa192510b4a404dc6c8c37a449a130c31c7d0a0088e67ea6010f898325
