[INFO] cloning repository https://github.com/mikeleppane/rust-atomics-and-locks
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/mikeleppane/rust-atomics-and-locks" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmikeleppane%2Frust-atomics-and-locks", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmikeleppane%2Frust-atomics-and-locks'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 491bce7c76ee7f029f4fde79bbef39e819a411f3
[INFO] testing mikeleppane/rust-atomics-and-locks against try#db823df02fd0c2cf67b43025ac3fef3f2d743245 for pr-150681
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmikeleppane%2Frust-atomics-and-locks" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'...
[INFO] [stderr] done.
[INFO] removed /workspace/builds/worker-5-tc2/source/.cargo/config.toml
[INFO] started tweaking git repo https://github.com/mikeleppane/rust-atomics-and-locks
[INFO] finished tweaking git repo https://github.com/mikeleppane/rust-atomics-and-locks
[INFO] tweaked toml for git repo https://github.com/mikeleppane/rust-atomics-and-locks written to /workspace/builds/worker-5-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/mikeleppane/rust-atomics-and-locks on toolchain db823df02fd0c2cf67b43025ac3fef3f2d743245
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+db823df02fd0c2cf67b43025ac3fef3f2d743245" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/mikeleppane/rust-atomics-and-locks 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" "+db823df02fd0c2cf67b43025ac3fef3f2d743245" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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" "+db823df02fd0c2cf67b43025ac3fef3f2d743245" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] dce80ff1610127294dab13347bbf05f68e536eae8c9da6c27848ca29faa58500
[INFO] running `Command { std: "docker" "start" "-a" "dce80ff1610127294dab13347bbf05f68e536eae8c9da6c27848ca29faa58500", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "dce80ff1610127294dab13347bbf05f68e536eae8c9da6c27848ca29faa58500", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "dce80ff1610127294dab13347bbf05f68e536eae8c9da6c27848ca29faa58500", kill_on_drop: false }`
[INFO] [stdout] dce80ff1610127294dab13347bbf05f68e536eae8c9da6c27848ca29faa58500
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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" "+db823df02fd0c2cf67b43025ac3fef3f2d743245" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] fabd5060d47fea310e3aa9c48ad8533d6bb3e984f8e389ea1bfc0a88cf1295d1
[INFO] running `Command { std: "docker" "start" "-a" "fabd5060d47fea310e3aa9c48ad8533d6bb3e984f8e389ea1bfc0a88cf1295d1", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.140
[INFO] [stderr]    Compiling yansi v0.5.1
[INFO] [stderr]    Compiling diff v0.1.13
[INFO] [stderr]    Compiling pretty_assertions v1.3.0
[INFO] [stderr]    Compiling getrandom v0.2.8
[INFO] [stderr]    Compiling rand_core v0.6.4
[INFO] [stderr]    Compiling rand_chacha v0.3.1
[INFO] [stderr]    Compiling rand v0.8.5
[INFO] [stderr]    Compiling atomics-and-locks v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `std::thread`
[INFO] [stdout]   --> src/channels/channel.rs:38:9
[INFO] [stdout]    |
[INFO] [stdout] 38 |     use std::thread;
[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`
[INFO] [stdout]    --> src/channels/channel.rs:136:9
[INFO] [stdout]     |
[INFO] [stdout] 136 |     use std::thread;
[INFO] [stdout]     |         ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::thread`
[INFO] [stdout]    --> src/channels/channel.rs:214:9
[INFO] [stdout]     |
[INFO] [stdout] 214 |     use std::thread;
[INFO] [stdout]     |         ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::thread`
[INFO] [stdout]   --> src/memory_ordering/memory.rs:37:9
[INFO] [stdout]    |
[INFO] [stdout] 37 |     use std::thread;
[INFO] [stdout]    |         ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::thread::current`
[INFO] [stdout]   --> src/memory_ordering/memory.rs:38:9
[INFO] [stdout]    |
[INFO] [stdout] 38 |     use std::thread::current;
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `ArcData` is never constructed
[INFO] [stdout]  --> src/arc/reference_counting.rs:7:12
[INFO] [stdout]   |
[INFO] [stdout] 7 |     struct ArcData<T> {
[INFO] [stdout]   |            ^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Arc` is never constructed
[INFO] [stdout]   --> src/arc/reference_counting.rs:12:16
[INFO] [stdout]    |
[INFO] [stdout] 12 |     pub struct Arc<T> {
[INFO] [stdout]    |                ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `data`, and `get_mut` are never used
[INFO] [stdout]   --> src/arc/reference_counting.rs:21:16
[INFO] [stdout]    |
[INFO] [stdout] 20 |     impl<T> Arc<T> {
[INFO] [stdout]    |     -------------- associated items in this implementation
[INFO] [stdout] 21 |         pub fn new(data: T) -> Arc<T> {
[INFO] [stdout]    |                ^^^
[INFO] [stdout] ...
[INFO] [stdout] 30 |         fn data(&self) -> &ArcData<T> {
[INFO] [stdout]    |            ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 34 |         pub fn get_mut(arc: &mut Self) -> Option<&mut T> {
[INFO] [stdout]    |                ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `ArcData` is never constructed
[INFO] [stdout]    --> src/arc/reference_counting.rs:116:12
[INFO] [stdout]     |
[INFO] [stdout] 116 |     struct ArcData<T> {
[INFO] [stdout]     |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Arc` is never constructed
[INFO] [stdout]    --> src/arc/reference_counting.rs:125:16
[INFO] [stdout]     |
[INFO] [stdout] 125 |     pub struct Arc<T> {
[INFO] [stdout]     |                ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Weak` is never constructed
[INFO] [stdout]    --> src/arc/reference_counting.rs:129:16
[INFO] [stdout]     |
[INFO] [stdout] 129 |     pub struct Weak<T> {
[INFO] [stdout]     |                ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated functions `new`, `get_mut`, and `downgrade` are never used
[INFO] [stdout]    --> src/arc/reference_counting.rs:138:16
[INFO] [stdout]     |
[INFO] [stdout] 137 |     impl<T> Arc<T> {
[INFO] [stdout]     |     -------------- associated functions in this implementation
[INFO] [stdout] 138 |         pub fn new(data: T) -> Arc<T> {
[INFO] [stdout]     |                ^^^
[INFO] [stdout] ...
[INFO] [stdout] 150 |         pub fn get_mut(arc: &mut Self) -> Option<&mut T> {
[INFO] [stdout]     |                ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 167 |         pub fn downgrade(arc: &Self) -> Weak<T> {
[INFO] [stdout]     |                ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `data` and `upgrade` are never used
[INFO] [stdout]    --> src/arc/reference_counting.rs:173:12
[INFO] [stdout]     |
[INFO] [stdout] 172 |     impl<T> Weak<T> {
[INFO] [stdout]     |     --------------- methods in this implementation
[INFO] [stdout] 173 |         fn data(&self) -> &ArcData<T> {
[INFO] [stdout]     |            ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 177 |         pub fn upgrade(&self) -> Option<Arc<T>> {
[INFO] [stdout]     |                ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `ArcData` is never constructed
[INFO] [stdout]    --> src/arc/reference_counting.rs:293:12
[INFO] [stdout]     |
[INFO] [stdout] 293 |     struct ArcData<T> {
[INFO] [stdout]     |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Arc` is never constructed
[INFO] [stdout]    --> src/arc/reference_counting.rs:302:16
[INFO] [stdout]     |
[INFO] [stdout] 302 |     pub struct Arc<T> {
[INFO] [stdout]     |                ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Weak` is never constructed
[INFO] [stdout]    --> src/arc/reference_counting.rs:310:16
[INFO] [stdout]     |
[INFO] [stdout] 310 |     pub struct Weak<T> {
[INFO] [stdout]     |                ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new` and `data` are never used
[INFO] [stdout]    --> src/arc/reference_counting.rs:319:16
[INFO] [stdout]     |
[INFO] [stdout] 318 |     impl<T> Arc<T> {
[INFO] [stdout]     |     -------------- associated items in this implementation
[INFO] [stdout] 319 |         pub fn new(data: T) -> Arc<T> {
[INFO] [stdout]     |                ^^^
[INFO] [stdout] ...
[INFO] [stdout] 329 |         fn data(&self) -> &ArcData<T> {
[INFO] [stdout]     |            ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `data`, `upgrade`, and `get_mut` are never used
[INFO] [stdout]    --> src/arc/reference_counting.rs:345:12
[INFO] [stdout]     |
[INFO] [stdout] 344 |     impl<T> Weak<T> {
[INFO] [stdout]     |     --------------- associated items in this implementation
[INFO] [stdout] 345 |         fn data(&self) -> &ArcData<T> {
[INFO] [stdout]     |            ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 349 |         pub fn upgrade(&self) -> Option<Arc<T>> {
[INFO] [stdout]     |                ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 368 |         pub fn get_mut(arc: &mut Self) -> Option<&mut T> {
[INFO] [stdout]     |                ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Channel` is never constructed
[INFO] [stdout]  --> src/channels/channel.rs:5:16
[INFO] [stdout]   |
[INFO] [stdout] 5 |     pub struct Channel<T> {
[INFO] [stdout]   |                ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `send`, and `receive` are never used
[INFO] [stdout]   --> src/channels/channel.rs:11:16
[INFO] [stdout]    |
[INFO] [stdout] 10 |     impl<T> Channel<T> {
[INFO] [stdout]    |     ------------------ associated items in this implementation
[INFO] [stdout] 11 |         pub fn new() -> Self {
[INFO] [stdout]    |                ^^^
[INFO] [stdout] ...
[INFO] [stdout] 17 |         pub fn send(&self, message: T) {
[INFO] [stdout]    |                ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 21 |         pub fn receive(&self) -> T {
[INFO] [stdout]    |                ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Channel` is never constructed
[INFO] [stdout]   --> src/channels/channel.rs:40:16
[INFO] [stdout]    |
[INFO] [stdout] 40 |     pub struct Channel<T> {
[INFO] [stdout]    |                ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `send`, `is_ready`, and `receive` are never used
[INFO] [stdout]   --> src/channels/channel.rs:49:22
[INFO] [stdout]    |
[INFO] [stdout] 48 |     impl<T> Channel<T> {
[INFO] [stdout]    |     ------------------ associated items in this implementation
[INFO] [stdout] 49 |         pub const fn new() -> Self {
[INFO] [stdout]    |                      ^^^
[INFO] [stdout] ...
[INFO] [stdout] 58 |         pub fn send(&self, message: T) {
[INFO] [stdout]    |                ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 68 |         pub fn is_ready(&self) -> bool {
[INFO] [stdout]    |                ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 77 |         pub fn receive(&self) -> T {
[INFO] [stdout]    |                ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Sender` is never constructed
[INFO] [stdout]    --> src/channels/channel.rs:138:16
[INFO] [stdout]     |
[INFO] [stdout] 138 |     pub struct Sender<T> {
[INFO] [stdout]     |                ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Receiver` is never constructed
[INFO] [stdout]    --> src/channels/channel.rs:142:16
[INFO] [stdout]     |
[INFO] [stdout] 142 |     pub struct Receiver<T> {
[INFO] [stdout]     |                ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Channel` is never constructed
[INFO] [stdout]    --> src/channels/channel.rs:146:12
[INFO] [stdout]     |
[INFO] [stdout] 146 |     struct Channel<T> {
[INFO] [stdout]     |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `channel` is never used
[INFO] [stdout]    --> src/channels/channel.rs:154:12
[INFO] [stdout]     |
[INFO] [stdout] 154 |     pub fn channel<T>() -> (Sender<T>, Receiver<T>) {
[INFO] [stdout]     |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `send` is never used
[INFO] [stdout]    --> src/channels/channel.rs:164:16
[INFO] [stdout]     |
[INFO] [stdout] 162 |     impl<T> Sender<T> {
[INFO] [stdout]     |     ----------------- method in this implementation
[INFO] [stdout] 163 |         /// This never panics. :)
[INFO] [stdout] 164 |         pub fn send(self, message: T) {
[INFO] [stdout]     |                ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `is_ready` and `receive` are never used
[INFO] [stdout]    --> src/channels/channel.rs:171:16
[INFO] [stdout]     |
[INFO] [stdout] 170 |     impl<T> Receiver<T> {
[INFO] [stdout]     |     ------------------- methods in this implementation
[INFO] [stdout] 171 |         pub fn is_ready(&self) -> bool {
[INFO] [stdout]     |                ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 174 |         pub fn receive(self) -> T {
[INFO] [stdout]     |                ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Channel` is never constructed
[INFO] [stdout]    --> src/channels/channel.rs:216:16
[INFO] [stdout]     |
[INFO] [stdout] 216 |     pub struct Channel<T> {
[INFO] [stdout]     |                ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Sender` is never constructed
[INFO] [stdout]    --> src/channels/channel.rs:223:16
[INFO] [stdout]     |
[INFO] [stdout] 223 |     pub struct Sender<'a, T> {
[INFO] [stdout]     |                ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Receiver` is never constructed
[INFO] [stdout]    --> src/channels/channel.rs:227:16
[INFO] [stdout]     |
[INFO] [stdout] 227 |     pub struct Receiver<'a, T> {
[INFO] [stdout]     |                ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new` and `split` are never used
[INFO] [stdout]    --> src/channels/channel.rs:232:22
[INFO] [stdout]     |
[INFO] [stdout] 231 |     impl<T> Channel<T> {
[INFO] [stdout]     |     ------------------ associated items in this implementation
[INFO] [stdout] 232 |         pub const fn new() -> Self {
[INFO] [stdout]     |                      ^^^
[INFO] [stdout] ...
[INFO] [stdout] 238 |         pub fn split(&mut self) -> (Sender<T>, Receiver<T>) {
[INFO] [stdout]     |                ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `send` is never used
[INFO] [stdout]    --> src/channels/channel.rs:245:16
[INFO] [stdout]     |
[INFO] [stdout] 244 |     impl<T> Sender<'_, T> {
[INFO] [stdout]     |     --------------------- method in this implementation
[INFO] [stdout] 245 |         pub fn send(self, message: T) {
[INFO] [stdout]     |                ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `is_ready` and `receive` are never used
[INFO] [stdout]    --> src/channels/channel.rs:252:16
[INFO] [stdout]     |
[INFO] [stdout] 251 |     impl<T> Receiver<'_, T> {
[INFO] [stdout]     |     ----------------------- methods in this implementation
[INFO] [stdout] 252 |         pub fn is_ready(&self) -> bool {
[INFO] [stdout]     |                ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 256 |         pub fn receive(self) -> T {
[INFO] [stdout]     |                ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Guard` is never constructed
[INFO] [stdout]  --> src/spinning/spin_lock.rs:6:12
[INFO] [stdout]   |
[INFO] [stdout] 6 | pub struct Guard<'a, T> {
[INFO] [stdout]   |            ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `SpinLock` is never constructed
[INFO] [stdout]   --> src/spinning/spin_lock.rs:33:12
[INFO] [stdout]    |
[INFO] [stdout] 33 | pub struct SpinLock<T> {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `lock`, and `unlock` are never used
[INFO] [stdout]   --> src/spinning/spin_lock.rs:41:18
[INFO] [stdout]    |
[INFO] [stdout] 40 | impl<T> SpinLock<T> {
[INFO] [stdout]    | ------------------- associated items in this implementation
[INFO] [stdout] 41 |     pub const fn new(value: T) -> Self {
[INFO] [stdout]    |                  ^^^
[INFO] [stdout] ...
[INFO] [stdout] 49 |     pub fn lock(&self) -> Guard<T> {
[INFO] [stdout]    |            ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 58 |     pub unsafe fn unlock(&self) {
[INFO] [stdout]    |                   ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]    --> src/channels/channel.rs:238:22
[INFO] [stdout]     |
[INFO] [stdout] 238 |         pub fn split(&mut self) -> (Sender<T>, Receiver<T>) {
[INFO] [stdout]     |                      ^^^^^^^^^      ^^^^^^^^^  ^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]     |                      |              |
[INFO] [stdout]     |                      |              the same lifetime is hidden here
[INFO] [stdout]     |                      the lifetime is elided here
[INFO] [stdout]     |
[INFO] [stdout]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout]     = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]     |
[INFO] [stdout] 238 |         pub fn split(&mut self) -> (Sender<'_, T>, Receiver<'_, T>) {
[INFO] [stdout]     |                                            +++              +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]   --> src/memory_ordering/memory.rs:14:22
[INFO] [stdout]    |
[INFO] [stdout] 14 |             unsafe { DATA.push('!') };
[INFO] [stdout]    |                      ^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]    = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]    = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> src/memory_ordering/memory.rs:25:29
[INFO] [stdout]    |
[INFO] [stdout] 25 |         unsafe { println!("{DATA}") }
[INFO] [stdout]    |                             ^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]    --> src/memory_ordering/memory.rs:100:26
[INFO] [stdout]     |
[INFO] [stdout] 100 |                 unsafe { S.push('!') };
[INFO] [stdout]     |                          ^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]     = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]    --> src/memory_ordering/memory.rs:106:26
[INFO] [stdout]     |
[INFO] [stdout] 106 |                 unsafe { S.push('!') };
[INFO] [stdout]     |                          ^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]     = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]    --> src/memory_ordering/memory.rs:111:29
[INFO] [stdout]     |
[INFO] [stdout] 111 |         unsafe { println!("{S}") }
[INFO] [stdout]     |                             ^ shared reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> src/spinning/spin_lock.rs:49:17
[INFO] [stdout]    |
[INFO] [stdout] 49 |     pub fn lock(&self) -> Guard<T> {
[INFO] [stdout]    |                 ^^^^^     ^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]    |                 |
[INFO] [stdout]    |                 the lifetime is elided here
[INFO] [stdout]    |
[INFO] [stdout]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]    |
[INFO] [stdout] 49 |     pub fn lock(&self) -> Guard<'_, T> {
[INFO] [stdout]    |                                 +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 3.10s
[INFO] running `Command { std: "docker" "inspect" "fabd5060d47fea310e3aa9c48ad8533d6bb3e984f8e389ea1bfc0a88cf1295d1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "fabd5060d47fea310e3aa9c48ad8533d6bb3e984f8e389ea1bfc0a88cf1295d1", kill_on_drop: false }`
[INFO] [stdout] fabd5060d47fea310e3aa9c48ad8533d6bb3e984f8e389ea1bfc0a88cf1295d1
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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" "+db823df02fd0c2cf67b43025ac3fef3f2d743245" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 92eba469b97e73f65ec8b4c2de78b379f85e9562005f36c27239406ef6b4723d
[INFO] running `Command { std: "docker" "start" "-a" "92eba469b97e73f65ec8b4c2de78b379f85e9562005f36c27239406ef6b4723d", kill_on_drop: false }`
[INFO] [stderr]    Compiling atomics-and-locks v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: associated function `get_mut` is never used
[INFO] [stdout]   --> src/arc/reference_counting.rs:34:16
[INFO] [stdout]    |
[INFO] [stdout] 20 |     impl<T> Arc<T> {
[INFO] [stdout]    |     -------------- associated function in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 34 |         pub fn get_mut(arc: &mut Self) -> Option<&mut T> {
[INFO] [stdout]    |                ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `get_mut` is never used
[INFO] [stdout]    --> src/arc/reference_counting.rs:150:16
[INFO] [stdout]     |
[INFO] [stdout] 137 |     impl<T> Arc<T> {
[INFO] [stdout]     |     -------------- associated function in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 150 |         pub fn get_mut(arc: &mut Self) -> Option<&mut T> {
[INFO] [stdout]     |                ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `ArcData` is never constructed
[INFO] [stdout]    --> src/arc/reference_counting.rs:293:12
[INFO] [stdout]     |
[INFO] [stdout] 293 |     struct ArcData<T> {
[INFO] [stdout]     |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Arc` is never constructed
[INFO] [stdout]    --> src/arc/reference_counting.rs:302:16
[INFO] [stdout]     |
[INFO] [stdout] 302 |     pub struct Arc<T> {
[INFO] [stdout]     |                ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Weak` is never constructed
[INFO] [stdout]    --> src/arc/reference_counting.rs:310:16
[INFO] [stdout]     |
[INFO] [stdout] 310 |     pub struct Weak<T> {
[INFO] [stdout]     |                ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new` and `data` are never used
[INFO] [stdout]    --> src/arc/reference_counting.rs:319:16
[INFO] [stdout]     |
[INFO] [stdout] 318 |     impl<T> Arc<T> {
[INFO] [stdout]     |     -------------- associated items in this implementation
[INFO] [stdout] 319 |         pub fn new(data: T) -> Arc<T> {
[INFO] [stdout]     |                ^^^
[INFO] [stdout] ...
[INFO] [stdout] 329 |         fn data(&self) -> &ArcData<T> {
[INFO] [stdout]     |            ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `data`, `upgrade`, and `get_mut` are never used
[INFO] [stdout]    --> src/arc/reference_counting.rs:345:12
[INFO] [stdout]     |
[INFO] [stdout] 344 |     impl<T> Weak<T> {
[INFO] [stdout]     |     --------------- associated items in this implementation
[INFO] [stdout] 345 |         fn data(&self) -> &ArcData<T> {
[INFO] [stdout]     |            ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 349 |         pub fn upgrade(&self) -> Option<Arc<T>> {
[INFO] [stdout]     |                ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 368 |         pub fn get_mut(arc: &mut Self) -> Option<&mut T> {
[INFO] [stdout]     |                ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Channel` is never constructed
[INFO] [stdout]  --> src/channels/channel.rs:5:16
[INFO] [stdout]   |
[INFO] [stdout] 5 |     pub struct Channel<T> {
[INFO] [stdout]   |                ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `send`, and `receive` are never used
[INFO] [stdout]   --> src/channels/channel.rs:11:16
[INFO] [stdout]    |
[INFO] [stdout] 10 |     impl<T> Channel<T> {
[INFO] [stdout]    |     ------------------ associated items in this implementation
[INFO] [stdout] 11 |         pub fn new() -> Self {
[INFO] [stdout]    |                ^^^
[INFO] [stdout] ...
[INFO] [stdout] 17 |         pub fn send(&self, message: T) {
[INFO] [stdout]    |                ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 21 |         pub fn receive(&self) -> T {
[INFO] [stdout]    |                ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `unlock` is never used
[INFO] [stdout]   --> src/spinning/spin_lock.rs:58:19
[INFO] [stdout]    |
[INFO] [stdout] 40 | impl<T> SpinLock<T> {
[INFO] [stdout]    | ------------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 58 |     pub unsafe fn unlock(&self) {
[INFO] [stdout]    |                   ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]    --> src/channels/channel.rs:238:22
[INFO] [stdout]     |
[INFO] [stdout] 238 |         pub fn split(&mut self) -> (Sender<T>, Receiver<T>) {
[INFO] [stdout]     |                      ^^^^^^^^^      ^^^^^^^^^  ^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]     |                      |              |
[INFO] [stdout]     |                      |              the same lifetime is hidden here
[INFO] [stdout]     |                      the lifetime is elided here
[INFO] [stdout]     |
[INFO] [stdout]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout]     = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]     |
[INFO] [stdout] 238 |         pub fn split(&mut self) -> (Sender<'_, T>, Receiver<'_, T>) {
[INFO] [stdout]     |                                            +++              +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]   --> src/memory_ordering/memory.rs:14:22
[INFO] [stdout]    |
[INFO] [stdout] 14 |             unsafe { DATA.push('!') };
[INFO] [stdout]    |                      ^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]    = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]    = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> src/memory_ordering/memory.rs:25:29
[INFO] [stdout]    |
[INFO] [stdout] 25 |         unsafe { println!("{DATA}") }
[INFO] [stdout]    |                             ^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]    --> src/memory_ordering/memory.rs:100:26
[INFO] [stdout]     |
[INFO] [stdout] 100 |                 unsafe { S.push('!') };
[INFO] [stdout]     |                          ^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]     = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]    --> src/memory_ordering/memory.rs:106:26
[INFO] [stdout]     |
[INFO] [stdout] 106 |                 unsafe { S.push('!') };
[INFO] [stdout]     |                          ^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]     = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]    --> src/memory_ordering/memory.rs:111:29
[INFO] [stdout]     |
[INFO] [stdout] 111 |         unsafe { println!("{S}") }
[INFO] [stdout]     |                             ^ shared reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> src/spinning/spin_lock.rs:49:17
[INFO] [stdout]    |
[INFO] [stdout] 49 |     pub fn lock(&self) -> Guard<T> {
[INFO] [stdout]    |                 ^^^^^     ^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]    |                 |
[INFO] [stdout]    |                 the lifetime is elided here
[INFO] [stdout]    |
[INFO] [stdout]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]    |
[INFO] [stdout] 49 |     pub fn lock(&self) -> Guard<'_, T> {
[INFO] [stdout]    |                                 +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.99s
[INFO] running `Command { std: "docker" "inspect" "92eba469b97e73f65ec8b4c2de78b379f85e9562005f36c27239406ef6b4723d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "92eba469b97e73f65ec8b4c2de78b379f85e9562005f36c27239406ef6b4723d", kill_on_drop: false }`
[INFO] [stdout] 92eba469b97e73f65ec8b4c2de78b379f85e9562005f36c27239406ef6b4723d
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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" "+db823df02fd0c2cf67b43025ac3fef3f2d743245" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] c70f423f3eb3edd3e94cabf74b12d31106ca75f44cd39b1337e6384af84c485c
[INFO] running `Command { std: "docker" "start" "-a" "c70f423f3eb3edd3e94cabf74b12d31106ca75f44cd39b1337e6384af84c485c", kill_on_drop: false }`
[INFO] [stderr] warning: associated function `get_mut` is never used
[INFO] [stderr]   --> src/arc/reference_counting.rs:34:16
[INFO] [stderr]    |
[INFO] [stderr] 20 |     impl<T> Arc<T> {
[INFO] [stderr]    |     -------------- associated function in this implementation
[INFO] [stderr] ...
[INFO] [stderr] 34 |         pub fn get_mut(arc: &mut Self) -> Option<&mut T> {
[INFO] [stderr]    |                ^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: associated function `get_mut` is never used
[INFO] [stderr]    --> src/arc/reference_counting.rs:150:16
[INFO] [stderr]     |
[INFO] [stderr] 137 |     impl<T> Arc<T> {
[INFO] [stderr]     |     -------------- associated function in this implementation
[INFO] [stderr] ...
[INFO] [stderr] 150 |         pub fn get_mut(arc: &mut Self) -> Option<&mut T> {
[INFO] [stderr]     |                ^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `ArcData` is never constructed
[INFO] [stderr]    --> src/arc/reference_counting.rs:293:12
[INFO] [stderr]     |
[INFO] [stderr] 293 |     struct ArcData<T> {
[INFO] [stderr]     |            ^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `Arc` is never constructed
[INFO] [stderr]    --> src/arc/reference_counting.rs:302:16
[INFO] [stderr]     |
[INFO] [stderr] 302 |     pub struct Arc<T> {
[INFO] [stderr]     |                ^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `Weak` is never constructed
[INFO] [stderr]    --> src/arc/reference_counting.rs:310:16
[INFO] [stderr]     |
[INFO] [stderr] 310 |     pub struct Weak<T> {
[INFO] [stderr]     |                ^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: associated items `new` and `data` are never used
[INFO] [stderr]    --> src/arc/reference_counting.rs:319:16
[INFO] [stderr]     |
[INFO] [stderr] 318 |     impl<T> Arc<T> {
[INFO] [stderr]     |     -------------- associated items in this implementation
[INFO] [stderr] 319 |         pub fn new(data: T) -> Arc<T> {
[INFO] [stderr]     |                ^^^
[INFO] [stderr] ...
[INFO] [stderr] 329 |         fn data(&self) -> &ArcData<T> {
[INFO] [stderr]     |            ^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: associated items `data`, `upgrade`, and `get_mut` are never used
[INFO] [stderr]    --> src/arc/reference_counting.rs:345:12
[INFO] [stderr]     |
[INFO] [stderr] 344 |     impl<T> Weak<T> {
[INFO] [stderr]     |     --------------- associated items in this implementation
[INFO] [stderr] 345 |         fn data(&self) -> &ArcData<T> {
[INFO] [stderr]     |            ^^^^
[INFO] [stderr] ...
[INFO] [stderr] 349 |         pub fn upgrade(&self) -> Option<Arc<T>> {
[INFO] [stderr]     |                ^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 368 |         pub fn get_mut(arc: &mut Self) -> Option<&mut T> {
[INFO] [stderr]     |                ^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `Channel` is never constructed
[INFO] [stderr]  --> src/channels/channel.rs:5:16
[INFO] [stderr]   |
[INFO] [stderr] 5 |     pub struct Channel<T> {
[INFO] [stderr]   |                ^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: associated items `new`, `send`, and `receive` are never used
[INFO] [stderr]   --> src/channels/channel.rs:11:16
[INFO] [stderr]    |
[INFO] [stderr] 10 |     impl<T> Channel<T> {
[INFO] [stderr]    |     ------------------ associated items in this implementation
[INFO] [stderr] 11 |         pub fn new() -> Self {
[INFO] [stderr]    |                ^^^
[INFO] [stderr] ...
[INFO] [stderr] 17 |         pub fn send(&self, message: T) {
[INFO] [stderr]    |                ^^^^
[INFO] [stderr] ...
[INFO] [stderr] 21 |         pub fn receive(&self) -> T {
[INFO] [stderr]    |                ^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: method `unlock` is never used
[INFO] [stderr]   --> src/spinning/spin_lock.rs:58:19
[INFO] [stderr]    |
[INFO] [stderr] 40 | impl<T> SpinLock<T> {
[INFO] [stderr]    | ------------------- method in this implementation
[INFO] [stderr] ...
[INFO] [stderr] 58 |     pub unsafe fn unlock(&self) {
[INFO] [stderr]    |                   ^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stderr]    --> src/channels/channel.rs:238:22
[INFO] [stderr]     |
[INFO] [stderr] 238 |         pub fn split(&mut self) -> (Sender<T>, Receiver<T>) {
[INFO] [stderr]     |                      ^^^^^^^^^      ^^^^^^^^^  ^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stderr]     |                      |              |
[INFO] [stderr]     |                      |              the same lifetime is hidden here
[INFO] [stderr]     |                      the lifetime is elided here
[INFO] [stderr]     |
[INFO] [stderr]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stderr]     = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stderr] help: use `'_` for type paths
[INFO] [stderr]     |
[INFO] [stderr] 238 |         pub fn split(&mut self) -> (Sender<'_, T>, Receiver<'_, T>) {
[INFO] [stderr]     |                                            +++              +++
[INFO] [stderr] 
[INFO] [stderr] warning: creating a mutable reference to mutable static
[INFO] [stderr]   --> src/memory_ordering/memory.rs:14:22
[INFO] [stderr]    |
[INFO] [stderr] 14 |             unsafe { DATA.push('!') };
[INFO] [stderr]    |                      ^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stderr]    |
[INFO] [stderr]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stderr]    = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stderr]    = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: creating a shared reference to mutable static
[INFO] [stderr]   --> src/memory_ordering/memory.rs:25:29
[INFO] [stderr]    |
[INFO] [stderr] 25 |         unsafe { println!("{DATA}") }
[INFO] [stderr]    |                             ^^^^ shared reference to mutable static
[INFO] [stderr]    |
[INFO] [stderr]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stderr]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stderr] 
[INFO] [stderr] warning: creating a mutable reference to mutable static
[INFO] [stderr]    --> src/memory_ordering/memory.rs:100:26
[INFO] [stderr]     |
[INFO] [stderr] 100 |                 unsafe { S.push('!') };
[INFO] [stderr]     |                          ^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stderr]     |
[INFO] [stderr]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stderr]     = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stderr] 
[INFO] [stderr] warning: creating a mutable reference to mutable static
[INFO] [stderr]    --> src/memory_ordering/memory.rs:106:26
[INFO] [stderr]     |
[INFO] [stderr] 106 |                 unsafe { S.push('!') };
[INFO] [stderr]     |                          ^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stderr]     |
[INFO] [stderr]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stderr]     = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stderr] 
[INFO] [stderr] warning: creating a shared reference to mutable static
[INFO] [stderr]    --> src/memory_ordering/memory.rs:111:29
[INFO] [stderr]     |
[INFO] [stderr] 111 |         unsafe { println!("{S}") }
[INFO] [stderr]     |                             ^ shared reference to mutable static
[INFO] [stderr]     |
[INFO] [stderr]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stderr]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stderr] 
[INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stderr]   --> src/spinning/spin_lock.rs:49:17
[INFO] [stderr]    |
[INFO] [stderr] 49 |     pub fn lock(&self) -> Guard<T> {
[INFO] [stderr]    |                 ^^^^^     ^^^^^^^^ the same lifetime is hidden here
[INFO] [stderr]    |                 |
[INFO] [stderr]    |                 the lifetime is elided here
[INFO] [stderr]    |
[INFO] [stderr]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stderr] help: use `'_` for type paths
[INFO] [stderr]    |
[INFO] [stderr] 49 |     pub fn lock(&self) -> Guard<'_, T> {
[INFO] [stderr]    |                                 +++
[INFO] [stderr] 
[INFO] [stderr] warning: `atomics-and-locks` (bin "atomics-and-locks" test) generated 17 warnings (run `cargo fix --bin "atomics-and-locks" -p atomics-and-locks --tests` to apply 2 suggestions)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.05s
[INFO] [stderr]      Running unittests src/main.rs (/opt/rustwide/target/debug/deps/atomics_and_locks-0e8f32845574bbab)
[INFO] [stdout] 
[INFO] [stdout] running 11 tests
[INFO] [stdout] test arc::reference_counting::with_weak::test ... ok
[INFO] [stdout] test channels::channel::one_shot_channel::test_one_shot_channel_with_parking ... ok
[INFO] [stdout] test memory_ordering::memory::lazy_init::test_get_data ... ok
[INFO] [stdout] test channels::channel::sender_receiver_channel_with_borrowing::test_sender_receiver ... ok
[INFO] [stdout] test memory_ordering::memory::seq_cst::test_main ... ok
[INFO] [stdout] test channels::channel::one_shot_channel::test_one_shot_channel_calling_send_twice_should_panic - should panic ... ok
[INFO] [stdout] test channels::channel::sender_receiver_channel_with_arc::test_sender_receiver - should panic ... FAILED
[INFO] [stdout] test spinning::spin_lock::tests::test_spin_lock ... ok
[INFO] [stdout] test arc::reference_counting::basic::test ... ok
[INFO] [stdout] test memory_ordering::memory::rel_acq::test_values_from_thin_air ... ok
[INFO] [stdout] test memory_ordering::memory::fences::test_main ... ok
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- channels::channel::sender_receiver_channel_with_arc::test_sender_receiver stdout ----
[INFO] [stdout] note: test did not panic as expected at src/channels/channel.rs:192:8
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout]     channels::channel::sender_receiver_channel_with_arc::test_sender_receiver
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 10 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.51s
[INFO] [stdout] 
[INFO] [stderr] error: test failed, to rerun pass `--bin atomics-and-locks`
[INFO] running `Command { std: "docker" "inspect" "c70f423f3eb3edd3e94cabf74b12d31106ca75f44cd39b1337e6384af84c485c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "c70f423f3eb3edd3e94cabf74b12d31106ca75f44cd39b1337e6384af84c485c", kill_on_drop: false }`
[INFO] [stdout] c70f423f3eb3edd3e94cabf74b12d31106ca75f44cd39b1337e6384af84c485c
