[INFO] fetching crate optimistic_lock_coupling 0.2.5...
[INFO] checking optimistic_lock_coupling-0.2.5 against try#012cd62c9add58ab3910e44c137d87db3ab70f61 for pr-155915
[INFO] extracting crate optimistic_lock_coupling 0.2.5 into /workspace/builds/worker-2-tc2/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-2-tc2/source/Cargo.toml
[INFO] validating manifest of crates.io crate optimistic_lock_coupling 0.2.5 on toolchain 012cd62c9add58ab3910e44c137d87db3ab70f61
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+012cd62c9add58ab3910e44c137d87db3ab70f61" "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" "+012cd62c9add58ab3910e44c137d87db3ab70f61" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]      Locking 68 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" "+012cd62c9add58ab3910e44c137d87db3ab70f61" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+012cd62c9add58ab3910e44c137d87db3ab70f61" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 3722ed17b32778542cf6e5015416ab48348be1bec513a70dcf7200d7274daabd
[INFO] running `Command { std: "docker" "start" "-a" "3722ed17b32778542cf6e5015416ab48348be1bec513a70dcf7200d7274daabd", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "3722ed17b32778542cf6e5015416ab48348be1bec513a70dcf7200d7274daabd", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "3722ed17b32778542cf6e5015416ab48348be1bec513a70dcf7200d7274daabd", kill_on_drop: false }`
[INFO] [stdout] 3722ed17b32778542cf6e5015416ab48348be1bec513a70dcf7200d7274daabd
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+012cd62c9add58ab3910e44c137d87db3ab70f61" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 8d613a679ce03372abe34416ec0f151464470044efeceadda52f03bc9e897035
[INFO] running `Command { std: "docker" "start" "-a" "8d613a679ce03372abe34416ec0f151464470044efeceadda52f03bc9e897035", kill_on_drop: false }`
[INFO] [stderr]     Checking serde v1.0.228
[INFO] [stderr]     Checking serde_json v1.0.149
[INFO] [stderr]     Checking csv-core v0.1.13
[INFO] [stderr]     Checking criterion-plot v0.4.5
[INFO] [stderr]     Checking clap v2.34.0
[INFO] [stderr]     Checking atty v0.2.14
[INFO] [stderr]     Checking optimistic_lock_coupling v0.2.5 (/opt/rustwide/workdir)
[INFO] [stdout] warning: feature `stmt_expr_attributes` is declared but not used
[INFO] [stdout]  --> src/lib.rs:3:12
[INFO] [stdout]   |
[INFO] [stdout] 3 | #![feature(stmt_expr_attributes)]
[INFO] [stdout]   |            ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_features)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Checking csv v1.4.0
[INFO] [stderr]     Checking serde_cbor v0.11.2
[INFO] [stderr]     Checking tinytemplate v1.2.1
[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: 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: 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]    = 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: 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 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: 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 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: 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 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: 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: 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: 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 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: 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 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: 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 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: 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 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: 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: 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: 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 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: 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 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: 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 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: 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 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: 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: 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: 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 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: 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 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: 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 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: 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 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: 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: 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: 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 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: 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: 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: 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 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: 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: 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: 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 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: 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 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: 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: 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: 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 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: 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 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: 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: 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]   --> 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: 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]    = 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: 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: feature `stmt_expr_attributes` is declared but not used
[INFO] [stdout]  --> src/lib.rs:3:12
[INFO] [stdout]   |
[INFO] [stdout] 3 | #![feature(stmt_expr_attributes)]
[INFO] [stdout]   |            ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_features)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 7.43s
[INFO] running `Command { std: "docker" "inspect" "8d613a679ce03372abe34416ec0f151464470044efeceadda52f03bc9e897035", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "8d613a679ce03372abe34416ec0f151464470044efeceadda52f03bc9e897035", kill_on_drop: false }`
[INFO] [stdout] 8d613a679ce03372abe34416ec0f151464470044efeceadda52f03bc9e897035
