[INFO] fetching crate optimistic_lock_coupling 0.2.5...
[INFO] checking optimistic_lock_coupling-0.2.5 against master#035b01b794602d5861daa43ac792f372f8981ed7 for 152214-denied-retry-0
[INFO] extracting crate optimistic_lock_coupling 0.2.5 into /workspace/builds/worker-6-tc1/source
[INFO] started tweaking crates.io crate optimistic_lock_coupling 0.2.5
[INFO] finished tweaking crates.io crate optimistic_lock_coupling 0.2.5
[INFO] tweaked toml for crates.io crate optimistic_lock_coupling 0.2.5 written to /workspace/builds/worker-6-tc1/source/Cargo.toml
[INFO] validating manifest of crates.io crate optimistic_lock_coupling 0.2.5 on toolchain 035b01b794602d5861daa43ac792f372f8981ed7
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+035b01b794602d5861daa43ac792f372f8981ed7" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+035b01b794602d5861daa43ac792f372f8981ed7" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]      Locking 63 packages to latest compatible versions
[INFO] [stderr]       Adding criterion v0.3.6 (available: v0.8.2)
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+035b01b794602d5861daa43ac792f372f8981ed7" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:61361fe0aef631f17e9d025a70c5a647956f8c671dd02950a60ad3f5cc5526d7" "/opt/rustwide/cargo-home/bin/cargo" "+035b01b794602d5861daa43ac792f372f8981ed7" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 0e6cebe162c38e82413e0c1c3b4f4e1e8b9a20f84663ae2ff3c42bc2940170a9
[INFO] running `Command { std: "docker" "start" "-a" "0e6cebe162c38e82413e0c1c3b4f4e1e8b9a20f84663ae2ff3c42bc2940170a9", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "0e6cebe162c38e82413e0c1c3b4f4e1e8b9a20f84663ae2ff3c42bc2940170a9", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "0e6cebe162c38e82413e0c1c3b4f4e1e8b9a20f84663ae2ff3c42bc2940170a9", kill_on_drop: false }`
[INFO] [stdout] 0e6cebe162c38e82413e0c1c3b4f4e1e8b9a20f84663ae2ff3c42bc2940170a9
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:61361fe0aef631f17e9d025a70c5a647956f8c671dd02950a60ad3f5cc5526d7" "/opt/rustwide/cargo-home/bin/cargo" "+035b01b794602d5861daa43ac792f372f8981ed7" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] dca9f4dbcfc1983e85050f3f7f5733dccf89f857f4156e1c05b4676dbf7c50ac
[INFO] running `Command { std: "docker" "start" "-a" "dca9f4dbcfc1983e85050f3f7f5733dccf89f857f4156e1c05b4676dbf7c50ac", kill_on_drop: false }`
[INFO] [stderr]    Compiling serde_core v1.0.228
[INFO] [stderr]    Compiling proc-macro2 v1.0.106
[INFO] [stderr]    Compiling serde v1.0.228
[INFO] [stderr]     Checking memchr v2.8.0
[INFO] [stderr]    Compiling zmij v1.0.20
[INFO] [stderr]    Compiling unicode-ident v1.0.23
[INFO] [stderr]    Compiling quote v1.0.44
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]    Compiling libc v0.2.181
[INFO] [stderr]    Compiling serde_json v1.0.149
[INFO] [stderr]     Checking itoa v1.0.17
[INFO] [stderr]     Checking either v1.15.0
[INFO] [stderr]     Checking unicode-width v0.1.14
[INFO] [stderr]     Checking regex-syntax v0.8.9
[INFO] [stderr]     Checking itertools v0.10.5
[INFO] [stderr]     Checking textwrap v0.11.0
[INFO] [stderr]     Checking csv-core v0.1.13
[INFO] [stderr]     Checking bitflags v1.3.2
[INFO] [stderr]     Checking ryu v1.0.23
[INFO] [stderr]     Checking half v1.8.3
[INFO] [stderr]     Checking clap v2.34.0
[INFO] [stderr]    Compiling syn v2.0.114
[INFO] [stderr]     Checking rayon v1.11.0
[INFO] [stderr]     Checking plotters v0.3.7
[INFO] [stderr]     Checking regex-automata v0.4.14
[INFO] [stderr]     Checking atty v0.2.14
[INFO] [stderr]     Checking lazy_static v1.5.0
[INFO] [stderr]     Checking optimistic_lock_coupling v0.2.5 (/opt/rustwide/workdir)
[INFO] [stderr]     Checking criterion-plot v0.4.5
[INFO] [stderr]     Checking regex v1.12.3
[INFO] [stderr]     Checking csv v1.4.0
[INFO] [stderr]     Checking serde_cbor v0.11.2
[INFO] [stderr]     Checking tinytemplate v1.2.1
[INFO] [stderr]    Compiling serde_derive v1.0.228
[INFO] [stderr]     Checking criterion v0.3.6
[INFO] [stdout] warning: unused imports: `BenchmarkId` and `ParameterizedBenchmark`
[INFO] [stdout]  --> benches/benchmarks/compare_heavy_read.rs:1:34
[INFO] [stdout]   |
[INFO] [stdout] 1 | use criterion::{criterion_group, BenchmarkId, Criterion, Fun, ParameterizedBenchmark};
[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: `BenchmarkId` and `ParameterizedBenchmark`
[INFO] [stdout]  --> benches/benchmarks/compare_heavy_write.rs:1:34
[INFO] [stdout]   |
[INFO] [stdout] 1 | use criterion::{criterion_group, BenchmarkId, Criterion, Fun, ParameterizedBenchmark};
[INFO] [stdout]   |                                  ^^^^^^^^^^^                  ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `BenchmarkId` and `ParameterizedBenchmark`
[INFO] [stdout]  --> benches/benchmarks/compare_read_only.rs:1:34
[INFO] [stdout]   |
[INFO] [stdout] 1 | use criterion::{criterion_group, BenchmarkId, Criterion, Fun, ParameterizedBenchmark};
[INFO] [stdout]   |                                  ^^^^^^^^^^^                  ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `BenchmarkId` and `ParameterizedBenchmark`
[INFO] [stdout]  --> benches/benchmarks/compare_write_only.rs:1:34
[INFO] [stdout]   |
[INFO] [stdout] 1 | use criterion::{criterion_group, BenchmarkId, Criterion, Fun, ParameterizedBenchmark};
[INFO] [stdout]   |                                  ^^^^^^^^^^^                  ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `RwLock`
[INFO] [stdout]  --> benches/benchmarks/mod.rs:7:29
[INFO] [stdout]   |
[INFO] [stdout] 7 | use std::sync::{Arc, Mutex, RwLock};
[INFO] [stdout]   |                             ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated function `std::thread::sleep_ms`: replaced by `std::thread::sleep`
[INFO] [stdout]   --> src/test.rs:63:18
[INFO] [stdout]    |
[INFO] [stdout] 63 |     std::thread::sleep_ms(5000);
[INFO] [stdout]    |                  ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: static variable `lock` should have an upper case name
[INFO] [stdout]  --> benches/benchmarks/compare_heavy_read.rs:7:16
[INFO] [stdout]   |
[INFO] [stdout] 7 |     static mut lock: Option<ListMutex> = None;
[INFO] [stdout]   |                ^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(non_upper_case_globals)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] help: convert the identifier to upper case
[INFO] [stdout]   |
[INFO] [stdout] 7 -     static mut lock: Option<ListMutex> = None;
[INFO] [stdout] 7 +     static mut LOCK: Option<ListMutex> = None;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> benches/benchmarks/compare_heavy_read.rs:12:13
[INFO] [stdout]    |
[INFO] [stdout] 12 |             lock.as_ref().unwrap().set2();
[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]    = 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]   --> benches/benchmarks/compare_heavy_read.rs:14:13
[INFO] [stdout]    |
[INFO] [stdout] 14 |             lock.as_ref().unwrap().set3();
[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]   --> benches/benchmarks/compare_heavy_read.rs:20:13
[INFO] [stdout]    |
[INFO] [stdout] 20 |             lock.as_ref().unwrap().get_all();
[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]   --> benches/benchmarks/compare_heavy_read.rs:26:13
[INFO] [stdout]    |
[INFO] [stdout] 26 |             lock.as_ref().unwrap().get2();
[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]   --> benches/benchmarks/compare_heavy_read.rs:40:25
[INFO] [stdout]    |
[INFO] [stdout] 40 |     unsafe { assert_eq!(lock.as_ref().unwrap().get2(), 2 * i) }
[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: static variable `lock` should have an upper case name
[INFO] [stdout]   --> benches/benchmarks/compare_heavy_read.rs:43:16
[INFO] [stdout]    |
[INFO] [stdout] 43 |     static mut lock: Option<ListOLock> = None;
[INFO] [stdout]    |                ^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: convert the identifier to upper case
[INFO] [stdout]    |
[INFO] [stdout] 43 -     static mut lock: Option<ListOLock> = None;
[INFO] [stdout] 43 +     static mut LOCK: Option<ListOLock> = None;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> benches/benchmarks/compare_heavy_read.rs:48:13
[INFO] [stdout]    |
[INFO] [stdout] 48 |             lock.as_ref().unwrap().set2();
[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]   --> benches/benchmarks/compare_heavy_read.rs:50:13
[INFO] [stdout]    |
[INFO] [stdout] 50 |             lock.as_ref().unwrap().set3();
[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]   --> benches/benchmarks/compare_heavy_read.rs:56:13
[INFO] [stdout]    |
[INFO] [stdout] 56 |             lock.as_ref().unwrap().get_all();
[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]   --> benches/benchmarks/compare_heavy_read.rs:62:13
[INFO] [stdout]    |
[INFO] [stdout] 62 |             lock.as_ref().unwrap().get2();
[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]   --> benches/benchmarks/compare_heavy_read.rs:76:25
[INFO] [stdout]    |
[INFO] [stdout] 76 |     unsafe { assert_eq!(lock.as_ref().unwrap().get2(), 2 * i) }
[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: static variable `lock` should have an upper case name
[INFO] [stdout]  --> benches/benchmarks/compare_heavy_write.rs:7:16
[INFO] [stdout]   |
[INFO] [stdout] 7 |     static mut lock: Option<ListMutex> = None;
[INFO] [stdout]   |                ^^^^
[INFO] [stdout]   |
[INFO] [stdout] help: convert the identifier to upper case
[INFO] [stdout]   |
[INFO] [stdout] 7 -     static mut lock: Option<ListMutex> = None;
[INFO] [stdout] 7 +     static mut LOCK: Option<ListMutex> = None;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> benches/benchmarks/compare_heavy_write.rs:12:13
[INFO] [stdout]    |
[INFO] [stdout] 12 |             lock.as_ref().unwrap().set2();
[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]   --> benches/benchmarks/compare_heavy_write.rs:14:13
[INFO] [stdout]    |
[INFO] [stdout] 14 |             lock.as_ref().unwrap().set3();
[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]   --> benches/benchmarks/compare_heavy_write.rs:20:13
[INFO] [stdout]    |
[INFO] [stdout] 20 |             lock.as_ref().unwrap().get_all();
[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]   --> benches/benchmarks/compare_heavy_write.rs:26:13
[INFO] [stdout]    |
[INFO] [stdout] 26 |             lock.as_ref().unwrap().get2();
[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]   --> benches/benchmarks/compare_heavy_write.rs:40:25
[INFO] [stdout]    |
[INFO] [stdout] 40 |     unsafe { assert_eq!(lock.as_ref().unwrap().get2(), 3 * i) }
[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: static variable `lock` should have an upper case name
[INFO] [stdout]   --> benches/benchmarks/compare_heavy_write.rs:43:16
[INFO] [stdout]    |
[INFO] [stdout] 43 |     static mut lock: Option<ListOLock> = None;
[INFO] [stdout]    |                ^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: convert the identifier to upper case
[INFO] [stdout]    |
[INFO] [stdout] 43 -     static mut lock: Option<ListOLock> = None;
[INFO] [stdout] 43 +     static mut LOCK: Option<ListOLock> = None;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> benches/benchmarks/compare_heavy_write.rs:48:13
[INFO] [stdout]    |
[INFO] [stdout] 48 |             lock.as_ref().unwrap().set2();
[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]   --> benches/benchmarks/compare_heavy_write.rs:50:13
[INFO] [stdout]    |
[INFO] [stdout] 50 |             lock.as_ref().unwrap().set3();
[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]   --> benches/benchmarks/compare_heavy_write.rs:56:13
[INFO] [stdout]    |
[INFO] [stdout] 56 |             lock.as_ref().unwrap().get_all();
[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]   --> benches/benchmarks/compare_heavy_write.rs:62:13
[INFO] [stdout]    |
[INFO] [stdout] 62 |             lock.as_ref().unwrap().get2();
[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]   --> benches/benchmarks/compare_heavy_write.rs:76:25
[INFO] [stdout]    |
[INFO] [stdout] 76 |     unsafe { assert_eq!(lock.as_ref().unwrap().get2(), 3 * i) }
[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: static variable `lock` should have an upper case name
[INFO] [stdout]   --> src/test.rs:37:16
[INFO] [stdout]    |
[INFO] [stdout] 37 |     static mut lock: Option<OptimisticLockCoupling<i32>> = None;
[INFO] [stdout]    |                ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(non_upper_case_globals)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] help: convert the identifier to upper case
[INFO] [stdout]    |
[INFO] [stdout] 37 -     static mut lock: Option<OptimisticLockCoupling<i32>> = None;
[INFO] [stdout] 37 +     static mut LOCK: Option<OptimisticLockCoupling<i32>> = None;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> src/test.rs:44:27
[INFO] [stdout]    |
[INFO] [stdout] 44 |                     match (&lock).as_ref().unwrap().write() {
[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]    = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default
[INFO] [stdout] help: use `&raw const` instead to create a raw pointer
[INFO] [stdout]    |
[INFO] [stdout] 44 |                     match (&raw const lock).as_ref().unwrap().write() {
[INFO] [stdout]    |                             +++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> src/test.rs:65:20
[INFO] [stdout]    |
[INFO] [stdout] 65 |         let read = lock.as_ref().unwrap().read().unwrap();
[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: static variable `lock` should have an upper case name
[INFO] [stdout]  --> benches/benchmarks/compare_read_only.rs:7:16
[INFO] [stdout]   |
[INFO] [stdout] 7 |     static mut lock: Option<ListMutex> = None;
[INFO] [stdout]   |                ^^^^
[INFO] [stdout]   |
[INFO] [stdout] help: convert the identifier to upper case
[INFO] [stdout]   |
[INFO] [stdout] 7 -     static mut lock: Option<ListMutex> = None;
[INFO] [stdout] 7 +     static mut LOCK: Option<ListMutex> = None;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> benches/benchmarks/compare_read_only.rs:12:13
[INFO] [stdout]    |
[INFO] [stdout] 12 |             lock.as_ref().unwrap().get_all();
[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]   --> benches/benchmarks/compare_read_only.rs:18:13
[INFO] [stdout]    |
[INFO] [stdout] 18 |             lock.as_ref().unwrap().get2();
[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: static variable `lock` should have an upper case name
[INFO] [stdout]   --> benches/benchmarks/compare_read_only.rs:34:16
[INFO] [stdout]    |
[INFO] [stdout] 34 |     static mut lock: Option<ListOLock> = None;
[INFO] [stdout]    |                ^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: convert the identifier to upper case
[INFO] [stdout]    |
[INFO] [stdout] 34 -     static mut lock: Option<ListOLock> = None;
[INFO] [stdout] 34 +     static mut LOCK: Option<ListOLock> = None;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> benches/benchmarks/compare_read_only.rs:39:13
[INFO] [stdout]    |
[INFO] [stdout] 39 |             lock.as_ref().unwrap().get_all();
[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]   --> benches/benchmarks/compare_read_only.rs:45:13
[INFO] [stdout]    |
[INFO] [stdout] 45 |             lock.as_ref().unwrap().get2();
[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: static variable `lock` should have an upper case name
[INFO] [stdout]  --> benches/benchmarks/compare_write_only.rs:7:16
[INFO] [stdout]   |
[INFO] [stdout] 7 |     static mut lock: Option<ListMutex> = None;
[INFO] [stdout]   |                ^^^^
[INFO] [stdout]   |
[INFO] [stdout] help: convert the identifier to upper case
[INFO] [stdout]   |
[INFO] [stdout] 7 -     static mut lock: Option<ListMutex> = None;
[INFO] [stdout] 7 +     static mut LOCK: Option<ListMutex> = None;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> benches/benchmarks/compare_write_only.rs:12:13
[INFO] [stdout]    |
[INFO] [stdout] 12 |             lock.as_ref().unwrap().set2();
[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]   --> benches/benchmarks/compare_write_only.rs:14:13
[INFO] [stdout]    |
[INFO] [stdout] 14 |             lock.as_ref().unwrap().set3();
[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]   --> benches/benchmarks/compare_write_only.rs:28:25
[INFO] [stdout]    |
[INFO] [stdout] 28 |     unsafe { assert_eq!(lock.as_ref().unwrap().get2(), 5 * i) }
[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: static variable `lock` should have an upper case name
[INFO] [stdout]   --> benches/benchmarks/compare_write_only.rs:31:16
[INFO] [stdout]    |
[INFO] [stdout] 31 |     static mut lock: Option<ListOLock> = None;
[INFO] [stdout]    |                ^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: convert the identifier to upper case
[INFO] [stdout]    |
[INFO] [stdout] 31 -     static mut lock: Option<ListOLock> = None;
[INFO] [stdout] 31 +     static mut LOCK: Option<ListOLock> = None;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> benches/benchmarks/compare_write_only.rs:36:13
[INFO] [stdout]    |
[INFO] [stdout] 36 |             lock.as_ref().unwrap().set2();
[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]   --> benches/benchmarks/compare_write_only.rs:38:13
[INFO] [stdout]    |
[INFO] [stdout] 38 |             lock.as_ref().unwrap().set3();
[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]   --> benches/benchmarks/compare_write_only.rs:52:25
[INFO] [stdout]    |
[INFO] [stdout] 52 |     unsafe { assert_eq!(lock.as_ref().unwrap().get2(), 5 * i) }
[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] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 26.68s
[INFO] running `Command { std: "docker" "inspect" "dca9f4dbcfc1983e85050f3f7f5733dccf89f857f4156e1c05b4676dbf7c50ac", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "dca9f4dbcfc1983e85050f3f7f5733dccf89f857f4156e1c05b4676dbf7c50ac", kill_on_drop: false }`
[INFO] [stdout] dca9f4dbcfc1983e85050f3f7f5733dccf89f857f4156e1c05b4676dbf7c50ac
