[INFO] cloning repository https://github.com/ose20/rust-atomic-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/ose20/rust-atomic-and-locks" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fose20%2Frust-atomic-and-locks", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fose20%2Frust-atomic-and-locks'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 2e4b846bcd8dc290082d550fff623863a3c261ee
[INFO] testing ose20/rust-atomic-and-locks against master#c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 for pr-146098-7
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fose20%2Frust-atomic-and-locks" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/ose20/rust-atomic-and-locks
[INFO] finished tweaking git repo https://github.com/ose20/rust-atomic-and-locks
[INFO] tweaked toml for git repo https://github.com/ose20/rust-atomic-and-locks written to /workspace/builds/worker-3-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/ose20/rust-atomic-and-locks on toolchain c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/ose20/rust-atomic-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" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded proc-macro2 v1.0.94
[INFO] [stderr]   Downloaded zerocopy-derive v0.8.24
[INFO] [stderr]   Downloaded syn v2.0.100
[INFO] [stderr]   Downloaded zerocopy v0.8.24
[INFO] [stderr]   Downloaded libc v0.2.171
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] fe4f0ace17a836468fb4ba7a75fc18c13c149161e6c05b2a19a4efa1b4060641
[INFO] running `Command { std: "docker" "start" "-a" "fe4f0ace17a836468fb4ba7a75fc18c13c149161e6c05b2a19a4efa1b4060641", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "fe4f0ace17a836468fb4ba7a75fc18c13c149161e6c05b2a19a4efa1b4060641", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "fe4f0ace17a836468fb4ba7a75fc18c13c149161e6c05b2a19a4efa1b4060641", kill_on_drop: false }`
[INFO] [stdout] fe4f0ace17a836468fb4ba7a75fc18c13c149161e6c05b2a19a4efa1b4060641
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 45f4ac3d878b8f37072e78b3733cf76eb16dfd281a8b777c1676292cdd348518
[INFO] running `Command { std: "docker" "start" "-a" "45f4ac3d878b8f37072e78b3733cf76eb16dfd281a8b777c1676292cdd348518", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.171
[INFO] [stderr]    Compiling zerocopy v0.8.24
[INFO] [stderr]    Compiling getrandom v0.2.15
[INFO] [stderr]    Compiling rand_core v0.6.4
[INFO] [stderr]    Compiling ppv-lite86 v0.2.21
[INFO] [stderr]    Compiling rand_chacha v0.3.1
[INFO] [stderr]    Compiling rand v0.8.5
[INFO] [stderr]    Compiling rust-atomic-and-locks v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `thread`
[INFO] [stdout]  --> src/ch5_channels/s3_check.rs:1:73
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::{cell::UnsafeCell, mem::MaybeUninit, sync::atomic::AtomicBool, 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: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> src/ch4_spin_lock/s3_guard.rs:29:17
[INFO] [stdout]    |
[INFO] [stdout] 29 |     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]    = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]    |
[INFO] [stdout] 29 |     pub fn lock(&self) -> Guard<'_, T> {
[INFO] [stdout]    |                                 +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> src/ch5_channels/s5_borrowing.rs:33:18
[INFO] [stdout]    |
[INFO] [stdout] 33 |     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] help: use `'_` for type paths
[INFO] [stdout]    |
[INFO] [stdout] 33 |     pub fn split(&mut self) -> (Sender<'_, T>, Receiver<'_, T>) {
[INFO] [stdout]    |                                        +++              +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> src/ch5_channels/s6_blocking.rs:41:18
[INFO] [stdout]    |
[INFO] [stdout] 41 |     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] help: use `'_` for type paths
[INFO] [stdout]    |
[INFO] [stdout] 41 |     pub fn split(&mut self) -> (Sender<'_, T>, Receiver<'_, T>) {
[INFO] [stdout]    |                                        +++              +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 4.23s
[INFO] running `Command { std: "docker" "inspect" "45f4ac3d878b8f37072e78b3733cf76eb16dfd281a8b777c1676292cdd348518", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "45f4ac3d878b8f37072e78b3733cf76eb16dfd281a8b777c1676292cdd348518", kill_on_drop: false }`
[INFO] [stdout] 45f4ac3d878b8f37072e78b3733cf76eb16dfd281a8b777c1676292cdd348518
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 5d611e4c68ce2c13d5fc0480aec2a5fbb032bc0bbd6a39d39c110de6a7cee827
[INFO] running `Command { std: "docker" "start" "-a" "5d611e4c68ce2c13d5fc0480aec2a5fbb032bc0bbd6a39d39c110de6a7cee827", kill_on_drop: false }`
[INFO] [stdout] warning: unused import: `thread`
[INFO] [stdout]  --> src/ch5_channels/s3_check.rs:1:73
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::{cell::UnsafeCell, mem::MaybeUninit, sync::atomic::AtomicBool, 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: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> src/ch4_spin_lock/s3_guard.rs:29:17
[INFO] [stdout]    |
[INFO] [stdout] 29 |     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]    = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]    |
[INFO] [stdout] 29 |     pub fn lock(&self) -> Guard<'_, T> {
[INFO] [stdout]    |                                 +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> src/ch5_channels/s5_borrowing.rs:33:18
[INFO] [stdout]    |
[INFO] [stdout] 33 |     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] help: use `'_` for type paths
[INFO] [stdout]    |
[INFO] [stdout] 33 |     pub fn split(&mut self) -> (Sender<'_, T>, Receiver<'_, T>) {
[INFO] [stdout]    |                                        +++              +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> src/ch5_channels/s6_blocking.rs:41:18
[INFO] [stdout]    |
[INFO] [stdout] 41 |     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] help: use `'_` for type paths
[INFO] [stdout]    |
[INFO] [stdout] 41 |     pub fn split(&mut self) -> (Sender<'_, T>, Receiver<'_, T>) {
[INFO] [stdout]    |                                        +++              +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Compiling rust-atomic-and-locks v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]   --> examples/ch3-09-lazy-init-box.rs:27:13
[INFO] [stdout]    |
[INFO] [stdout] 27 | struct Data([u8; 100]);
[INFO] [stdout]    |        ---- ^^^^^^^^^
[INFO] [stdout]    |        |
[INFO] [stdout]    |        field in this struct
[INFO] [stdout]    |
[INFO] [stdout]    = help: consider removing this field
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> src/ch4_spin_lock/s3_guard.rs:29:17
[INFO] [stdout]    |
[INFO] [stdout] 29 |     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]    = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]    |
[INFO] [stdout] 29 |     pub fn lock(&self) -> Guard<'_, T> {
[INFO] [stdout]    |                                 +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> src/ch5_channels/s5_borrowing.rs:33:18
[INFO] [stdout]    |
[INFO] [stdout] 33 |     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] help: use `'_` for type paths
[INFO] [stdout]    |
[INFO] [stdout] 33 |     pub fn split(&mut self) -> (Sender<'_, T>, Receiver<'_, T>) {
[INFO] [stdout]    |                                        +++              +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> src/ch5_channels/s6_blocking.rs:41:18
[INFO] [stdout]    |
[INFO] [stdout] 41 |     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] help: use `'_` for type paths
[INFO] [stdout]    |
[INFO] [stdout] 41 |     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]   --> examples/ch3-08-lock.rs:16:18
[INFO] [stdout]    |
[INFO] [stdout] 16 |         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]   --> examples/ch3-08-lock.rs:27:22
[INFO] [stdout]    |
[INFO] [stdout] 27 |     assert!(unsafe { DATA.len() } > 0);
[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 shared reference to mutable static
[INFO] [stdout]   --> examples/ch3-08-lock.rs:28:22
[INFO] [stdout]    |
[INFO] [stdout] 28 |     assert!(unsafe { DATA.chars().all(|c| c == '!') });
[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: unused import: `time::Duration`
[INFO] [stdout]  --> examples/ch3-10-seqcst.rs:1:45
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::{sync::atomic::AtomicBool, thread, time::Duration};
[INFO] [stdout]   |                                             ^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]   --> examples/ch3-10-seqcst.rs:13:22
[INFO] [stdout]    |
[INFO] [stdout] 13 |             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]    = 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]   --> examples/ch3-10-seqcst.rs:20:22
[INFO] [stdout]    |
[INFO] [stdout] 20 |             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]   --> examples/ch3-10-seqcst.rs:26:29
[INFO] [stdout]    |
[INFO] [stdout] 26 |     println!("{}", unsafe { S.as_str() });
[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] error[E0117]: only traits defined in the current crate can be implemented for types defined outside of the crate
[INFO] [stdout]  --> examples/my-02.rs:7:1
[INFO] [stdout]   |
[INFO] [stdout] 7 | impl DerefMut for Rc<MyStruct> {
[INFO] [stdout]   | ^^^^^^^^^^^^^^^^^^------------
[INFO] [stdout]   |                   |
[INFO] [stdout]   |                   `Rc` is not defined in the current crate
[INFO] [stdout]   |
[INFO] [stdout]   = note: impl doesn't have any local type before any uncovered type parameters
[INFO] [stdout]   = note: for more information see https://doc.rust-lang.org/reference/items/implementations.html#orphan-rules
[INFO] [stdout]   = note: define and implement a trait or new type instead
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]  --> examples/my-02.rs:8:32
[INFO] [stdout]   |
[INFO] [stdout] 8 |     fn deref_mut(&mut self) -> &mut Self::Target {
[INFO] [stdout]   |        ---------               ^^^^^^^^^^^^^^^^^ expected `&mut MyStruct`, found `()`
[INFO] [stdout]   |        |
[INFO] [stdout]   |        implicitly returns `()` as its body has no tail or `return` expression
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `rust-atomic-and-locks` (example "my-02") due to 2 previous errors
[INFO] [stdout] Some errors have detailed explanations: E0117, E0308.
[INFO] [stdout] 
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] For more information about an error, try `rustc --explain E0117`.
[INFO] [stdout] 
[INFO] running `Command { std: "docker" "inspect" "5d611e4c68ce2c13d5fc0480aec2a5fbb032bc0bbd6a39d39c110de6a7cee827", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "5d611e4c68ce2c13d5fc0480aec2a5fbb032bc0bbd6a39d39c110de6a7cee827", kill_on_drop: false }`
[INFO] [stdout] 5d611e4c68ce2c13d5fc0480aec2a5fbb032bc0bbd6a39d39c110de6a7cee827
