[INFO] cloning repository https://github.com/suryxks/atomic-rust
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/suryxks/atomic-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsuryxks%2Fatomic-rust", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsuryxks%2Fatomic-rust'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] fd97adb497db6c1a4f3d5b9f8b2bcdb5ebc230b1
[INFO] checking suryxks/atomic-rust against c397dae808f70caebab1fc4e11b3edf7e59f58c7 for pr-158759-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsuryxks%2Fatomic-rust" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/suryxks/atomic-rust
[INFO] finished tweaking git repo https://github.com/suryxks/atomic-rust
[INFO] tweaked toml for git repo https://github.com/suryxks/atomic-rust written to /workspace/builds/worker-7-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/suryxks/atomic-rust on toolchain c397dae808f70caebab1fc4e11b3edf7e59f58c7
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c397dae808f70caebab1fc4e11b3edf7e59f58c7" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/suryxks/atomic-rust 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" "+c397dae808f70caebab1fc4e11b3edf7e59f58c7" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3d5ced03c013a94a2f102a4510f48a6e9184255caf5fd8244f58017bde7f5210" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] e20e957b3e7496eca078c2c5e1a873876b7fe534103ab9a306f868931523daf6
[INFO] running `Command { std: "docker" "start" "e20e957b3e7496eca078c2c5e1a873876b7fe534103ab9a306f868931523daf6", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "e20e957b3e7496eca078c2c5e1a873876b7fe534103ab9a306f868931523daf6", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "e20e957b3e7496eca078c2c5e1a873876b7fe534103ab9a306f868931523daf6" "/opt/rustwide/cargo-home/bin/cargo" "+c397dae808f70caebab1fc4e11b3edf7e59f58c7" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "e20e957b3e7496eca078c2c5e1a873876b7fe534103ab9a306f868931523daf6", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-w" "/opt/rustwide/workdir" "--user" "0:0" "e20e957b3e7496eca078c2c5e1a873876b7fe534103ab9a306f868931523daf6" "/opt/rustwide/cargo-home/bin/cargo" "+c397dae808f70caebab1fc4e11b3edf7e59f58c7" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]     Checking atomic-rust v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `core::num`
[INFO] [stdout]  --> src/ch_1.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use core::num;
[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: `core::num`
[INFO] [stdout]  --> src/ch_1.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use core::num;
[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 imports: `AtomicI32` and `Ordering`
[INFO] [stdout]  --> src/main.rs:2:26
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::sync::atomic::{ AtomicI32, Ordering };
[INFO] [stdout]   |                          ^^^^^^^^^  ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `ch_1::ch_1`
[INFO] [stdout]  --> src/main.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use ch_1::ch_1;
[INFO] [stdout]   |     ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `AtomicBool`
[INFO] [stdout]  --> src/ch_2.rs:2:21
[INFO] [stdout]   |
[INFO] [stdout] 2 |     sync::atomic::{ AtomicBool, AtomicU32, AtomicU64, AtomicUsize, Ordering::Relaxed },
[INFO] [stdout]   |                     ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `AtomicI32` and `Ordering`
[INFO] [stdout]  --> src/main.rs:2:26
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::sync::atomic::{ AtomicI32, Ordering };
[INFO] [stdout]   |                          ^^^^^^^^^  ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `ch_1::ch_1`
[INFO] [stdout]  --> src/main.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use ch_1::ch_1;
[INFO] [stdout]   |     ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `ch_2::ch_2`
[INFO] [stdout]  --> src/main.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use ch_2::ch_2;
[INFO] [stdout]   |     ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `AtomicBool`
[INFO] [stdout]  --> src/ch_2.rs:2:21
[INFO] [stdout]   |
[INFO] [stdout] 2 |     sync::atomic::{ AtomicBool, AtomicU32, AtomicU64, AtomicUsize, Ordering::Relaxed },
[INFO] [stdout]   |                     ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `ch_2::ch_2`
[INFO] [stdout]  --> src/main.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use ch_2::ch_2;
[INFO] [stdout]   |     ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `AtomicPtr`, `AtomicU64`, and `yield_now`
[INFO] [stdout]  --> src/ch_3.rs:5:9
[INFO] [stdout]   |
[INFO] [stdout] 5 |         AtomicPtr,
[INFO] [stdout]   |         ^^^^^^^^^
[INFO] [stdout] 6 |         AtomicU64,
[INFO] [stdout]   |         ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 9 |     thread::{ self, yield_now },
[INFO] [stdout]   |                     ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `AtomicPtr`, `AtomicU64`, and `yield_now`
[INFO] [stdout]  --> src/ch_3.rs:5:9
[INFO] [stdout]   |
[INFO] [stdout] 5 |         AtomicPtr,
[INFO] [stdout]   |         ^^^^^^^^^
[INFO] [stdout] 6 |         AtomicU64,
[INFO] [stdout]   |         ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 9 |     thread::{ self, yield_now },
[INFO] [stdout]   |                     ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `i`
[INFO] [stdout]   --> src/ch_2.rs:11:17
[INFO] [stdout]    |
[INFO] [stdout] 11 | fn process_item(i: usize) {
[INFO] [stdout]    |                 ^ help: if this is intentional, prefix it with an underscore: `_i`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `i`
[INFO] [stdout]   --> src/ch_2.rs:11:17
[INFO] [stdout]    |
[INFO] [stdout] 11 | fn process_item(i: usize) {
[INFO] [stdout]    |                 ^ help: if this is intentional, prefix it with an underscore: `_i`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `ch_1` is never used
[INFO] [stdout]  --> src/ch_1.rs:3:8
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub fn ch_1() {
[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 `f` is never used
[INFO] [stdout]   --> src/ch_1.rs:26:4
[INFO] [stdout]    |
[INFO] [stdout] 26 | fn f() {
[INFO] [stdout]    |    ^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `ch_1` is never used
[INFO] [stdout]  --> src/ch_1.rs:3:8
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub fn ch_1() {
[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 `scoped_threads` is never used
[INFO] [stdout]   --> src/ch_1.rs:33:4
[INFO] [stdout]    |
[INFO] [stdout] 33 | fn scoped_threads() {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `reference_counting` is never used
[INFO] [stdout]   --> src/ch_1.rs:46:4
[INFO] [stdout]    |
[INFO] [stdout] 46 | fn reference_counting() {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `f` is never used
[INFO] [stdout]   --> src/ch_1.rs:26:4
[INFO] [stdout]    |
[INFO] [stdout] 26 | fn f() {
[INFO] [stdout]    |    ^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `scoped_threads` is never used
[INFO] [stdout]   --> src/ch_1.rs:33:4
[INFO] [stdout]    |
[INFO] [stdout] 33 | fn scoped_threads() {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `mutex` is never used
[INFO] [stdout]   --> src/ch_1.rs:59:4
[INFO] [stdout]    |
[INFO] [stdout] 59 | fn mutex() {
[INFO] [stdout]    |    ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `thread_parking` is never used
[INFO] [stdout]    --> src/ch_1.rs:105:4
[INFO] [stdout]     |
[INFO] [stdout] 105 | fn thread_parking() {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `reference_counting` is never used
[INFO] [stdout]   --> src/ch_1.rs:46:4
[INFO] [stdout]    |
[INFO] [stdout] 46 | fn reference_counting() {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `conditional_variables` is never used
[INFO] [stdout]    --> src/ch_1.rs:126:4
[INFO] [stdout]     |
[INFO] [stdout] 126 | fn conditional_variables() {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `mutex` is never used
[INFO] [stdout]   --> src/ch_1.rs:59:4
[INFO] [stdout]    |
[INFO] [stdout] 59 | fn mutex() {
[INFO] [stdout]    |    ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `ch_2` is never used
[INFO] [stdout]  --> src/ch_2.rs:7:8
[INFO] [stdout]   |
[INFO] [stdout] 7 | pub fn ch_2() {
[INFO] [stdout]   |        ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `process_item` is never used
[INFO] [stdout]   --> src/ch_2.rs:11:4
[INFO] [stdout]    |
[INFO] [stdout] 11 | fn process_item(i: usize) {
[INFO] [stdout]    |    ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `thread_parking` is never used
[INFO] [stdout]    --> src/ch_1.rs:105:4
[INFO] [stdout]     |
[INFO] [stdout] 105 | fn thread_parking() {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `example_process_reporting_multiple_threads` is never used
[INFO] [stdout]   --> src/ch_2.rs:15:4
[INFO] [stdout]    |
[INFO] [stdout] 15 | fn example_process_reporting_multiple_threads() {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `conditional_variables` is never used
[INFO] [stdout]    --> src/ch_1.rs:126:4
[INFO] [stdout]     |
[INFO] [stdout] 126 | fn conditional_variables() {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `example_statistics` is never used
[INFO] [stdout]   --> src/ch_2.rs:43:4
[INFO] [stdout]    |
[INFO] [stdout] 43 | fn example_statistics() {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `ch_2` is never used
[INFO] [stdout]  --> src/ch_2.rs:7:8
[INFO] [stdout]   |
[INFO] [stdout] 7 | pub fn ch_2() {
[INFO] [stdout]   |        ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `increment` is never used
[INFO] [stdout]   --> src/ch_2.rs:82:4
[INFO] [stdout]    |
[INFO] [stdout] 82 | fn increment(a: &AtomicU32) {
[INFO] [stdout]    |    ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `process_item` is never used
[INFO] [stdout]   --> src/ch_2.rs:11:4
[INFO] [stdout]    |
[INFO] [stdout] 11 | fn process_item(i: usize) {
[INFO] [stdout]    |    ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `id_allocation` is never used
[INFO] [stdout]   --> src/ch_2.rs:96:4
[INFO] [stdout]    |
[INFO] [stdout] 96 | fn id_allocation() -> u32 {
[INFO] [stdout]    |    ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: static `X` is never used
[INFO] [stdout]   --> src/ch_3.rs:13:8
[INFO] [stdout]    |
[INFO] [stdout] 13 | static X: AtomicI32 = AtomicI32::new(0);
[INFO] [stdout]    |        ^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `example_process_reporting_multiple_threads` is never used
[INFO] [stdout]   --> src/ch_2.rs:15:4
[INFO] [stdout]    |
[INFO] [stdout] 15 | fn example_process_reporting_multiple_threads() {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: static `Y` is never used
[INFO] [stdout]   --> src/ch_3.rs:14:8
[INFO] [stdout]    |
[INFO] [stdout] 14 | static Y: AtomicI32 = AtomicI32::new(0);
[INFO] [stdout]    |        ^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `example_statistics` is never used
[INFO] [stdout]   --> src/ch_2.rs:43:4
[INFO] [stdout]    |
[INFO] [stdout] 43 | fn example_statistics() {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: static `DATA` is never used
[INFO] [stdout]   --> src/ch_3.rs:15:12
[INFO] [stdout]    |
[INFO] [stdout] 15 | static mut DATA: String = String::new();
[INFO] [stdout]    |            ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `increment` is never used
[INFO] [stdout]   --> src/ch_2.rs:82:4
[INFO] [stdout]    |
[INFO] [stdout] 82 | fn increment(a: &AtomicU32) {
[INFO] [stdout]    |    ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: static `LOCKED` is never used
[INFO] [stdout]   --> src/ch_3.rs:16:8
[INFO] [stdout]    |
[INFO] [stdout] 16 | static LOCKED: AtomicBool = AtomicBool::new(false);
[INFO] [stdout]    |        ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `a` is never used
[INFO] [stdout]   --> src/ch_3.rs:18:4
[INFO] [stdout]    |
[INFO] [stdout] 18 | fn a() {
[INFO] [stdout]    |    ^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `id_allocation` is never used
[INFO] [stdout]   --> src/ch_2.rs:96:4
[INFO] [stdout]    |
[INFO] [stdout] 96 | fn id_allocation() -> u32 {
[INFO] [stdout]    |    ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `b` is never used
[INFO] [stdout]   --> src/ch_3.rs:22:4
[INFO] [stdout]    |
[INFO] [stdout] 22 | fn b() {
[INFO] [stdout]    |    ^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: static `X` is never used
[INFO] [stdout]   --> src/ch_3.rs:13:8
[INFO] [stdout]    |
[INFO] [stdout] 13 | static X: AtomicI32 = AtomicI32::new(0);
[INFO] [stdout]    |        ^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `f` is never used
[INFO] [stdout]   --> src/ch_3.rs:45:4
[INFO] [stdout]    |
[INFO] [stdout] 45 | fn f() {
[INFO] [stdout]    |    ^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: static `Y` is never used
[INFO] [stdout]   --> src/ch_3.rs:14:8
[INFO] [stdout]    |
[INFO] [stdout] 14 | static Y: AtomicI32 = AtomicI32::new(0);
[INFO] [stdout]    |        ^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `ex` is never used
[INFO] [stdout]   --> src/ch_3.rs:49:4
[INFO] [stdout]    |
[INFO] [stdout] 49 | fn ex() {
[INFO] [stdout]    |    ^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `release_and_acquire_ordering` is never used
[INFO] [stdout]   --> src/ch_3.rs:63:4
[INFO] [stdout]    |
[INFO] [stdout] 63 | fn release_and_acquire_ordering() {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: static `DATA` is never used
[INFO] [stdout]   --> src/ch_3.rs:15:12
[INFO] [stdout]    |
[INFO] [stdout] 15 | static mut DATA: String = String::new();
[INFO] [stdout]    |            ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `ex_locking` is never used
[INFO] [stdout]   --> src/ch_3.rs:83:4
[INFO] [stdout]    |
[INFO] [stdout] 83 | fn ex_locking() {
[INFO] [stdout]    |    ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: static `LOCKED` is never used
[INFO] [stdout]   --> src/ch_3.rs:16:8
[INFO] [stdout]    |
[INFO] [stdout] 16 | static LOCKED: AtomicBool = AtomicBool::new(false);
[INFO] [stdout]    |        ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `a` is never used
[INFO] [stdout]   --> src/ch_3.rs:18:4
[INFO] [stdout]    |
[INFO] [stdout] 18 | fn a() {
[INFO] [stdout]    |    ^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `b` is never used
[INFO] [stdout]   --> src/ch_3.rs:22:4
[INFO] [stdout]    |
[INFO] [stdout] 22 | fn b() {
[INFO] [stdout]    |    ^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `f` is never used
[INFO] [stdout]   --> src/ch_3.rs:45:4
[INFO] [stdout]    |
[INFO] [stdout] 45 | fn f() {
[INFO] [stdout]    |    ^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `ex` is never used
[INFO] [stdout]   --> src/ch_3.rs:49:4
[INFO] [stdout]    |
[INFO] [stdout] 49 | fn ex() {
[INFO] [stdout]    |    ^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `release_and_acquire_ordering` is never used
[INFO] [stdout]   --> src/ch_3.rs:63:4
[INFO] [stdout]    |
[INFO] [stdout] 63 | fn release_and_acquire_ordering() {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `ex_locking` is never used
[INFO] [stdout]   --> src/ch_3.rs:83:4
[INFO] [stdout]    |
[INFO] [stdout] 83 | fn ex_locking() {
[INFO] [stdout]    |    ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]   --> src/ch_3.rs:86:13
[INFO] [stdout]    |
[INFO] [stdout] 86 |             DATA.push('!');
[INFO] [stdout]    |             ^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]    |
[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: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[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 mutable reference to mutable static
[INFO] [stdout]   --> src/ch_3.rs:86:13
[INFO] [stdout]    |
[INFO] [stdout] 86 |             DATA.push('!');
[INFO] [stdout]    |             ^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]    |
[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: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[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 mutable reference to mutable static
[INFO] [stdout]    --> src/ch_3.rs:101:17
[INFO] [stdout]     |
[INFO] [stdout] 101 |                 S.push('!');
[INFO] [stdout]     |                 ^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]     |
[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: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]    --> src/ch_3.rs:109:17
[INFO] [stdout]     |
[INFO] [stdout] 109 |                 S.push('1');
[INFO] [stdout]     |                 ^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]     |
[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: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]    --> src/ch_3.rs:101:17
[INFO] [stdout]     |
[INFO] [stdout] 101 |                 S.push('!');
[INFO] [stdout]     |                 ^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]     |
[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: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]    --> src/ch_3.rs:116:31
[INFO] [stdout]     |
[INFO] [stdout] 116 |     println!("{:?}", unsafe { S.as_str() })
[INFO] [stdout]     |                               ^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]     |
[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]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]    --> src/ch_3.rs:109:17
[INFO] [stdout]     |
[INFO] [stdout] 109 |                 S.push('1');
[INFO] [stdout]     |                 ^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]     |
[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: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]    --> src/ch_3.rs:116:31
[INFO] [stdout]     |
[INFO] [stdout] 116 |     println!("{:?}", unsafe { S.as_str() })
[INFO] [stdout]     |                               ^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]     |
[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]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.08s
[INFO] running `Command { std: "docker" "inspect" "e20e957b3e7496eca078c2c5e1a873876b7fe534103ab9a306f868931523daf6", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "e20e957b3e7496eca078c2c5e1a873876b7fe534103ab9a306f868931523daf6", kill_on_drop: false }`
[INFO] [stdout] e20e957b3e7496eca078c2c5e1a873876b7fe534103ab9a306f868931523daf6
