[INFO] fetching crate treg 0.1.1...
[INFO] testing treg-0.1.1 against 1.99.0-beta.8 for beta-1.100-2
[INFO] extracting crate treg 0.1.1 into /workspace/builds/worker-7-tc1/source
[INFO] started tweaking crates.io crate treg 0.1.1
[INFO] finished tweaking crates.io crate treg 0.1.1
[INFO] tweaked toml for crates.io crate treg 0.1.1 written to /workspace/builds/worker-7-tc1/source/Cargo.toml
[INFO] validating manifest of crates.io crate treg 0.1.1 on toolchain 1.99.0-beta.8
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.99.0-beta.8" "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" "+1.99.0-beta.8" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]      Locking 29 packages to highest compatible versions
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.99.0-beta.8" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3111399a4047eeb3a02b7a90e478d715f38a8c6669b5c4b49d30a17385265909" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 50d583b1d892125e4d2e2d5673b24259a009c23bb15a61be091660578a7073e2
[INFO] running `Command { std: "docker" "start" "50d583b1d892125e4d2e2d5673b24259a009c23bb15a61be091660578a7073e2", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "50d583b1d892125e4d2e2d5673b24259a009c23bb15a61be091660578a7073e2", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "50d583b1d892125e4d2e2d5673b24259a009c23bb15a61be091660578a7073e2" "/opt/rustwide/cargo-home/bin/cargo" "+1.99.0-beta.8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "50d583b1d892125e4d2e2d5673b24259a009c23bb15a61be091660578a7073e2", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "50d583b1d892125e4d2e2d5673b24259a009c23bb15a61be091660578a7073e2" "/opt/rustwide/cargo-home/bin/cargo" "+1.99.0-beta.8" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.190
[INFO] [stderr]    Compiling smallvec v1.16.2
[INFO] [stderr]    Compiling syn v3.0.6
[INFO] [stderr]    Compiling errno v0.3.14
[INFO] [stderr]    Compiling parking_lot_core v0.9.12
[INFO] [stderr]    Compiling mio v1.2.4
[INFO] [stderr]    Compiling socket2 v0.6.5
[INFO] [stderr]    Compiling parking_lot v0.12.5
[INFO] [stderr]    Compiling signal-hook-registry v1.4.8
[INFO] [stderr]    Compiling tokio-macros v2.7.2
[INFO] [stderr]    Compiling serde_derive v1.0.229
[INFO] [stderr]    Compiling async-trait v0.1.92
[INFO] [stderr]    Compiling tokio v1.53.2
[INFO] [stderr]    Compiling serde v1.0.229
[INFO] [stderr]    Compiling treg v0.1.1 (/opt/rustwide/workdir)
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]    --> src/registry.rs:119:17
[INFO] [stdout]     |
[INFO] [stdout] 119 |     if unsafe { REGISTRY.is_none() } {
[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: this type already provides "interior mutability", so its binding doesn't need to be declared as mutable when borrowed with a shared reference
[INFO] [stdout]     |
[INFO] [stdout] 116 - static mut REGISTRY: Option<RwLock<Registry>> = None;
[INFO] [stdout] 116 + static REGISTRY: Option<RwLock<Registry>> = None;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]    --> src/registry.rs:125:34
[INFO] [stdout]     |
[INFO] [stdout] 125 |     if let Some(lock) = unsafe { &REGISTRY } {
[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] help: use `&raw const` instead to create a raw pointer
[INFO] [stdout]     |
[INFO] [stdout] 125 |     if let Some(lock) = unsafe { &raw const REGISTRY } {
[INFO] [stdout]     |                                   +++++++++
[INFO] [stdout] help: this type already provides "interior mutability", so its binding doesn't need to be declared as mutable when borrowed with a shared reference
[INFO] [stdout]     |
[INFO] [stdout] 116 - static mut REGISTRY: Option<RwLock<Registry>> = None;
[INFO] [stdout] 116 + static REGISTRY: Option<RwLock<Registry>> = None;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]    --> src/registry.rs:135:34
[INFO] [stdout]     |
[INFO] [stdout] 135 |     if let Some(lock) = unsafe { &REGISTRY } {
[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] help: use `&raw const` instead to create a raw pointer
[INFO] [stdout]     |
[INFO] [stdout] 135 |     if let Some(lock) = unsafe { &raw const REGISTRY } {
[INFO] [stdout]     |                                   +++++++++
[INFO] [stdout] help: this type already provides "interior mutability", so its binding doesn't need to be declared as mutable when borrowed with a shared reference
[INFO] [stdout]     |
[INFO] [stdout] 116 - static mut REGISTRY: Option<RwLock<Registry>> = None;
[INFO] [stdout] 116 + static REGISTRY: Option<RwLock<Registry>> = None;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]    --> src/registry.rs:145:34
[INFO] [stdout]     |
[INFO] [stdout] 145 |     if let Some(lock) = unsafe { &REGISTRY } {
[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] help: use `&raw const` instead to create a raw pointer
[INFO] [stdout]     |
[INFO] [stdout] 145 |     if let Some(lock) = unsafe { &raw const REGISTRY } {
[INFO] [stdout]     |                                   +++++++++
[INFO] [stdout] help: this type already provides "interior mutability", so its binding doesn't need to be declared as mutable when borrowed with a shared reference
[INFO] [stdout]     |
[INFO] [stdout] 116 - static mut REGISTRY: Option<RwLock<Registry>> = None;
[INFO] [stdout] 116 + static REGISTRY: Option<RwLock<Registry>> = None;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]    --> src/registry.rs:155:34
[INFO] [stdout]     |
[INFO] [stdout] 155 |     if let Some(lock) = unsafe { &REGISTRY } {
[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] help: use `&raw const` instead to create a raw pointer
[INFO] [stdout]     |
[INFO] [stdout] 155 |     if let Some(lock) = unsafe { &raw const REGISTRY } {
[INFO] [stdout]     |                                   +++++++++
[INFO] [stdout] help: this type already provides "interior mutability", so its binding doesn't need to be declared as mutable when borrowed with a shared reference
[INFO] [stdout]     |
[INFO] [stdout] 116 - static mut REGISTRY: Option<RwLock<Registry>> = None;
[INFO] [stdout] 116 + static REGISTRY: Option<RwLock<Registry>> = None;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]    --> src/registry.rs:165:34
[INFO] [stdout]     |
[INFO] [stdout] 165 |     if let Some(lock) = unsafe { &REGISTRY } {
[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] help: use `&raw const` instead to create a raw pointer
[INFO] [stdout]     |
[INFO] [stdout] 165 |     if let Some(lock) = unsafe { &raw const REGISTRY } {
[INFO] [stdout]     |                                   +++++++++
[INFO] [stdout] help: this type already provides "interior mutability", so its binding doesn't need to be declared as mutable when borrowed with a shared reference
[INFO] [stdout]     |
[INFO] [stdout] 116 - static mut REGISTRY: Option<RwLock<Registry>> = None;
[INFO] [stdout] 116 + static REGISTRY: Option<RwLock<Registry>> = None;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]    --> src/registry.rs:175:34
[INFO] [stdout]     |
[INFO] [stdout] 175 |     if let Some(lock) = unsafe { &REGISTRY } {
[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] help: use `&raw const` instead to create a raw pointer
[INFO] [stdout]     |
[INFO] [stdout] 175 |     if let Some(lock) = unsafe { &raw const REGISTRY } {
[INFO] [stdout]     |                                   +++++++++
[INFO] [stdout] help: this type already provides "interior mutability", so its binding doesn't need to be declared as mutable when borrowed with a shared reference
[INFO] [stdout]     |
[INFO] [stdout] 116 - static mut REGISTRY: Option<RwLock<Registry>> = None;
[INFO] [stdout] 116 + static REGISTRY: Option<RwLock<Registry>> = None;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]    --> src/registry.rs:185:34
[INFO] [stdout]     |
[INFO] [stdout] 185 |     if let Some(lock) = unsafe { &REGISTRY } {
[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] help: use `&raw const` instead to create a raw pointer
[INFO] [stdout]     |
[INFO] [stdout] 185 |     if let Some(lock) = unsafe { &raw const REGISTRY } {
[INFO] [stdout]     |                                   +++++++++
[INFO] [stdout] help: this type already provides "interior mutability", so its binding doesn't need to be declared as mutable when borrowed with a shared reference
[INFO] [stdout]     |
[INFO] [stdout] 116 - static mut REGISTRY: Option<RwLock<Registry>> = None;
[INFO] [stdout] 116 + static REGISTRY: Option<RwLock<Registry>> = None;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]    --> src/registry.rs:195:34
[INFO] [stdout]     |
[INFO] [stdout] 195 |     if let Some(lock) = unsafe { &REGISTRY } {
[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] help: use `&raw const` instead to create a raw pointer
[INFO] [stdout]     |
[INFO] [stdout] 195 |     if let Some(lock) = unsafe { &raw const REGISTRY } {
[INFO] [stdout]     |                                   +++++++++
[INFO] [stdout] help: this type already provides "interior mutability", so its binding doesn't need to be declared as mutable when borrowed with a shared reference
[INFO] [stdout]     |
[INFO] [stdout] 116 - static mut REGISTRY: Option<RwLock<Registry>> = None;
[INFO] [stdout] 116 + static REGISTRY: Option<RwLock<Registry>> = None;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]    --> src/registry.rs:205:34
[INFO] [stdout]     |
[INFO] [stdout] 205 |     if let Some(lock) = unsafe { &REGISTRY } {
[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] help: use `&raw const` instead to create a raw pointer
[INFO] [stdout]     |
[INFO] [stdout] 205 |     if let Some(lock) = unsafe { &raw const REGISTRY } {
[INFO] [stdout]     |                                   +++++++++
[INFO] [stdout] help: this type already provides "interior mutability", so its binding doesn't need to be declared as mutable when borrowed with a shared reference
[INFO] [stdout]     |
[INFO] [stdout] 116 - static mut REGISTRY: Option<RwLock<Registry>> = None;
[INFO] [stdout] 116 + static REGISTRY: Option<RwLock<Registry>> = None;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]    --> src/registry.rs:214:34
[INFO] [stdout]     |
[INFO] [stdout] 214 |     if let Some(lock) = unsafe { &REGISTRY } {
[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] help: use `&raw const` instead to create a raw pointer
[INFO] [stdout]     |
[INFO] [stdout] 214 |     if let Some(lock) = unsafe { &raw const REGISTRY } {
[INFO] [stdout]     |                                   +++++++++
[INFO] [stdout] help: this type already provides "interior mutability", so its binding doesn't need to be declared as mutable when borrowed with a shared reference
[INFO] [stdout]     |
[INFO] [stdout] 116 - static mut REGISTRY: Option<RwLock<Registry>> = None;
[INFO] [stdout] 116 + static REGISTRY: Option<RwLock<Registry>> = None;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 15.98s
[INFO] running `Command { std: "docker" "inspect" "50d583b1d892125e4d2e2d5673b24259a009c23bb15a61be091660578a7073e2", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "50d583b1d892125e4d2e2d5673b24259a009c23bb15a61be091660578a7073e2" "/opt/rustwide/cargo-home/bin/cargo" "+1.99.0-beta.8" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling treg v0.1.1 (/opt/rustwide/workdir)
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]    --> src/registry.rs:119:17
[INFO] [stdout]     |
[INFO] [stdout] 119 |     if unsafe { REGISTRY.is_none() } {
[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: this type already provides "interior mutability", so its binding doesn't need to be declared as mutable when borrowed with a shared reference
[INFO] [stdout]     |
[INFO] [stdout] 116 - static mut REGISTRY: Option<RwLock<Registry>> = None;
[INFO] [stdout] 116 + static REGISTRY: Option<RwLock<Registry>> = None;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]    --> src/registry.rs:125:34
[INFO] [stdout]     |
[INFO] [stdout] 125 |     if let Some(lock) = unsafe { &REGISTRY } {
[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] help: use `&raw const` instead to create a raw pointer
[INFO] [stdout]     |
[INFO] [stdout] 125 |     if let Some(lock) = unsafe { &raw const REGISTRY } {
[INFO] [stdout]     |                                   +++++++++
[INFO] [stdout] help: this type already provides "interior mutability", so its binding doesn't need to be declared as mutable when borrowed with a shared reference
[INFO] [stdout]     |
[INFO] [stdout] 116 - static mut REGISTRY: Option<RwLock<Registry>> = None;
[INFO] [stdout] 116 + static REGISTRY: Option<RwLock<Registry>> = None;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]    --> src/registry.rs:135:34
[INFO] [stdout]     |
[INFO] [stdout] 135 |     if let Some(lock) = unsafe { &REGISTRY } {
[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] help: use `&raw const` instead to create a raw pointer
[INFO] [stdout]     |
[INFO] [stdout] 135 |     if let Some(lock) = unsafe { &raw const REGISTRY } {
[INFO] [stdout]     |                                   +++++++++
[INFO] [stdout] help: this type already provides "interior mutability", so its binding doesn't need to be declared as mutable when borrowed with a shared reference
[INFO] [stdout]     |
[INFO] [stdout] 116 - static mut REGISTRY: Option<RwLock<Registry>> = None;
[INFO] [stdout] 116 + static REGISTRY: Option<RwLock<Registry>> = None;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]    --> src/registry.rs:145:34
[INFO] [stdout]     |
[INFO] [stdout] 145 |     if let Some(lock) = unsafe { &REGISTRY } {
[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] help: use `&raw const` instead to create a raw pointer
[INFO] [stdout]     |
[INFO] [stdout] 145 |     if let Some(lock) = unsafe { &raw const REGISTRY } {
[INFO] [stdout]     |                                   +++++++++
[INFO] [stdout] help: this type already provides "interior mutability", so its binding doesn't need to be declared as mutable when borrowed with a shared reference
[INFO] [stdout]     |
[INFO] [stdout] 116 - static mut REGISTRY: Option<RwLock<Registry>> = None;
[INFO] [stdout] 116 + static REGISTRY: Option<RwLock<Registry>> = None;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]    --> src/registry.rs:155:34
[INFO] [stdout]     |
[INFO] [stdout] 155 |     if let Some(lock) = unsafe { &REGISTRY } {
[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] help: use `&raw const` instead to create a raw pointer
[INFO] [stdout]     |
[INFO] [stdout] 155 |     if let Some(lock) = unsafe { &raw const REGISTRY } {
[INFO] [stdout]     |                                   +++++++++
[INFO] [stdout] help: this type already provides "interior mutability", so its binding doesn't need to be declared as mutable when borrowed with a shared reference
[INFO] [stdout]     |
[INFO] [stdout] 116 - static mut REGISTRY: Option<RwLock<Registry>> = None;
[INFO] [stdout] 116 + static REGISTRY: Option<RwLock<Registry>> = None;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]    --> src/registry.rs:165:34
[INFO] [stdout]     |
[INFO] [stdout] 165 |     if let Some(lock) = unsafe { &REGISTRY } {
[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] help: use `&raw const` instead to create a raw pointer
[INFO] [stdout]     |
[INFO] [stdout] 165 |     if let Some(lock) = unsafe { &raw const REGISTRY } {
[INFO] [stdout]     |                                   +++++++++
[INFO] [stdout] help: this type already provides "interior mutability", so its binding doesn't need to be declared as mutable when borrowed with a shared reference
[INFO] [stdout]     |
[INFO] [stdout] 116 - static mut REGISTRY: Option<RwLock<Registry>> = None;
[INFO] [stdout] 116 + static REGISTRY: Option<RwLock<Registry>> = None;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]    --> src/registry.rs:175:34
[INFO] [stdout]     |
[INFO] [stdout] 175 |     if let Some(lock) = unsafe { &REGISTRY } {
[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] help: use `&raw const` instead to create a raw pointer
[INFO] [stdout]     |
[INFO] [stdout] 175 |     if let Some(lock) = unsafe { &raw const REGISTRY } {
[INFO] [stdout]     |                                   +++++++++
[INFO] [stdout] help: this type already provides "interior mutability", so its binding doesn't need to be declared as mutable when borrowed with a shared reference
[INFO] [stdout]     |
[INFO] [stdout] 116 - static mut REGISTRY: Option<RwLock<Registry>> = None;
[INFO] [stdout] 116 + static REGISTRY: Option<RwLock<Registry>> = None;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]    --> src/registry.rs:185:34
[INFO] [stdout]     |
[INFO] [stdout] 185 |     if let Some(lock) = unsafe { &REGISTRY } {
[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] help: use `&raw const` instead to create a raw pointer
[INFO] [stdout]     |
[INFO] [stdout] 185 |     if let Some(lock) = unsafe { &raw const REGISTRY } {
[INFO] [stdout]     |                                   +++++++++
[INFO] [stdout] help: this type already provides "interior mutability", so its binding doesn't need to be declared as mutable when borrowed with a shared reference
[INFO] [stdout]     |
[INFO] [stdout] 116 - static mut REGISTRY: Option<RwLock<Registry>> = None;
[INFO] [stdout] 116 + static REGISTRY: Option<RwLock<Registry>> = None;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]    --> src/registry.rs:195:34
[INFO] [stdout]     |
[INFO] [stdout] 195 |     if let Some(lock) = unsafe { &REGISTRY } {
[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] help: use `&raw const` instead to create a raw pointer
[INFO] [stdout]     |
[INFO] [stdout] 195 |     if let Some(lock) = unsafe { &raw const REGISTRY } {
[INFO] [stdout]     |                                   +++++++++
[INFO] [stdout] help: this type already provides "interior mutability", so its binding doesn't need to be declared as mutable when borrowed with a shared reference
[INFO] [stdout]     |
[INFO] [stdout] 116 - static mut REGISTRY: Option<RwLock<Registry>> = None;
[INFO] [stdout] 116 + static REGISTRY: Option<RwLock<Registry>> = None;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]    --> src/registry.rs:205:34
[INFO] [stdout]     |
[INFO] [stdout] 205 |     if let Some(lock) = unsafe { &REGISTRY } {
[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] help: use `&raw const` instead to create a raw pointer
[INFO] [stdout]     |
[INFO] [stdout] 205 |     if let Some(lock) = unsafe { &raw const REGISTRY } {
[INFO] [stdout]     |                                   +++++++++
[INFO] [stdout] help: this type already provides "interior mutability", so its binding doesn't need to be declared as mutable when borrowed with a shared reference
[INFO] [stdout]     |
[INFO] [stdout] 116 - static mut REGISTRY: Option<RwLock<Registry>> = None;
[INFO] [stdout] 116 + static REGISTRY: Option<RwLock<Registry>> = None;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]    --> src/registry.rs:214:34
[INFO] [stdout]     |
[INFO] [stdout] 214 |     if let Some(lock) = unsafe { &REGISTRY } {
[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] help: use `&raw const` instead to create a raw pointer
[INFO] [stdout]     |
[INFO] [stdout] 214 |     if let Some(lock) = unsafe { &raw const REGISTRY } {
[INFO] [stdout]     |                                   +++++++++
[INFO] [stdout] help: this type already provides "interior mutability", so its binding doesn't need to be declared as mutable when borrowed with a shared reference
[INFO] [stdout]     |
[INFO] [stdout] 116 - static mut REGISTRY: Option<RwLock<Registry>> = None;
[INFO] [stdout] 116 + static REGISTRY: Option<RwLock<Registry>> = None;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]    --> src/registry.rs:119:17
[INFO] [stdout]     |
[INFO] [stdout] 119 |     if unsafe { REGISTRY.is_none() } {
[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: this type already provides "interior mutability", so its binding doesn't need to be declared as mutable when borrowed with a shared reference
[INFO] [stdout]     |
[INFO] [stdout] 116 - static mut REGISTRY: Option<RwLock<Registry>> = None;
[INFO] [stdout] 116 + static REGISTRY: Option<RwLock<Registry>> = None;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]    --> src/registry.rs:125:34
[INFO] [stdout]     |
[INFO] [stdout] 125 |     if let Some(lock) = unsafe { &REGISTRY } {
[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] help: use `&raw const` instead to create a raw pointer
[INFO] [stdout]     |
[INFO] [stdout] 125 |     if let Some(lock) = unsafe { &raw const REGISTRY } {
[INFO] [stdout]     |                                   +++++++++
[INFO] [stdout] help: this type already provides "interior mutability", so its binding doesn't need to be declared as mutable when borrowed with a shared reference
[INFO] [stdout]     |
[INFO] [stdout] 116 - static mut REGISTRY: Option<RwLock<Registry>> = None;
[INFO] [stdout] 116 + static REGISTRY: Option<RwLock<Registry>> = None;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]    --> src/registry.rs:135:34
[INFO] [stdout]     |
[INFO] [stdout] 135 |     if let Some(lock) = unsafe { &REGISTRY } {
[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] help: use `&raw const` instead to create a raw pointer
[INFO] [stdout]     |
[INFO] [stdout] 135 |     if let Some(lock) = unsafe { &raw const REGISTRY } {
[INFO] [stdout]     |                                   +++++++++
[INFO] [stdout] help: this type already provides "interior mutability", so its binding doesn't need to be declared as mutable when borrowed with a shared reference
[INFO] [stdout]     |
[INFO] [stdout] 116 - static mut REGISTRY: Option<RwLock<Registry>> = None;
[INFO] [stdout] 116 + static REGISTRY: Option<RwLock<Registry>> = None;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]    --> src/registry.rs:145:34
[INFO] [stdout]     |
[INFO] [stdout] 145 |     if let Some(lock) = unsafe { &REGISTRY } {
[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] help: use `&raw const` instead to create a raw pointer
[INFO] [stdout]     |
[INFO] [stdout] 145 |     if let Some(lock) = unsafe { &raw const REGISTRY } {
[INFO] [stdout]     |                                   +++++++++
[INFO] [stdout] help: this type already provides "interior mutability", so its binding doesn't need to be declared as mutable when borrowed with a shared reference
[INFO] [stdout]     |
[INFO] [stdout] 116 - static mut REGISTRY: Option<RwLock<Registry>> = None;
[INFO] [stdout] 116 + static REGISTRY: Option<RwLock<Registry>> = None;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]    --> src/registry.rs:155:34
[INFO] [stdout]     |
[INFO] [stdout] 155 |     if let Some(lock) = unsafe { &REGISTRY } {
[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] help: use `&raw const` instead to create a raw pointer
[INFO] [stdout]     |
[INFO] [stdout] 155 |     if let Some(lock) = unsafe { &raw const REGISTRY } {
[INFO] [stdout]     |                                   +++++++++
[INFO] [stdout] help: this type already provides "interior mutability", so its binding doesn't need to be declared as mutable when borrowed with a shared reference
[INFO] [stdout]     |
[INFO] [stdout] 116 - static mut REGISTRY: Option<RwLock<Registry>> = None;
[INFO] [stdout] 116 + static REGISTRY: Option<RwLock<Registry>> = None;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]    --> src/registry.rs:165:34
[INFO] [stdout]     |
[INFO] [stdout] 165 |     if let Some(lock) = unsafe { &REGISTRY } {
[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] help: use `&raw const` instead to create a raw pointer
[INFO] [stdout]     |
[INFO] [stdout] 165 |     if let Some(lock) = unsafe { &raw const REGISTRY } {
[INFO] [stdout]     |                                   +++++++++
[INFO] [stdout] help: this type already provides "interior mutability", so its binding doesn't need to be declared as mutable when borrowed with a shared reference
[INFO] [stdout]     |
[INFO] [stdout] 116 - static mut REGISTRY: Option<RwLock<Registry>> = None;
[INFO] [stdout] 116 + static REGISTRY: Option<RwLock<Registry>> = None;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]    --> src/registry.rs:175:34
[INFO] [stdout]     |
[INFO] [stdout] 175 |     if let Some(lock) = unsafe { &REGISTRY } {
[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] help: use `&raw const` instead to create a raw pointer
[INFO] [stdout]     |
[INFO] [stdout] 175 |     if let Some(lock) = unsafe { &raw const REGISTRY } {
[INFO] [stdout]     |                                   +++++++++
[INFO] [stdout] help: this type already provides "interior mutability", so its binding doesn't need to be declared as mutable when borrowed with a shared reference
[INFO] [stdout]     |
[INFO] [stdout] 116 - static mut REGISTRY: Option<RwLock<Registry>> = None;
[INFO] [stdout] 116 + static REGISTRY: Option<RwLock<Registry>> = None;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]    --> src/registry.rs:185:34
[INFO] [stdout]     |
[INFO] [stdout] 185 |     if let Some(lock) = unsafe { &REGISTRY } {
[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] help: use `&raw const` instead to create a raw pointer
[INFO] [stdout]     |
[INFO] [stdout] 185 |     if let Some(lock) = unsafe { &raw const REGISTRY } {
[INFO] [stdout]     |                                   +++++++++
[INFO] [stdout] help: this type already provides "interior mutability", so its binding doesn't need to be declared as mutable when borrowed with a shared reference
[INFO] [stdout]     |
[INFO] [stdout] 116 - static mut REGISTRY: Option<RwLock<Registry>> = None;
[INFO] [stdout] 116 + static REGISTRY: Option<RwLock<Registry>> = None;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]    --> src/registry.rs:195:34
[INFO] [stdout]     |
[INFO] [stdout] 195 |     if let Some(lock) = unsafe { &REGISTRY } {
[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] help: use `&raw const` instead to create a raw pointer
[INFO] [stdout]     |
[INFO] [stdout] 195 |     if let Some(lock) = unsafe { &raw const REGISTRY } {
[INFO] [stdout]     |                                   +++++++++
[INFO] [stdout] help: this type already provides "interior mutability", so its binding doesn't need to be declared as mutable when borrowed with a shared reference
[INFO] [stdout]     |
[INFO] [stdout] 116 - static mut REGISTRY: Option<RwLock<Registry>> = None;
[INFO] [stdout] 116 + static REGISTRY: Option<RwLock<Registry>> = None;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]    --> src/registry.rs:205:34
[INFO] [stdout]     |
[INFO] [stdout] 205 |     if let Some(lock) = unsafe { &REGISTRY } {
[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] help: use `&raw const` instead to create a raw pointer
[INFO] [stdout]     |
[INFO] [stdout] 205 |     if let Some(lock) = unsafe { &raw const REGISTRY } {
[INFO] [stdout]     |                                   +++++++++
[INFO] [stdout] help: this type already provides "interior mutability", so its binding doesn't need to be declared as mutable when borrowed with a shared reference
[INFO] [stdout]     |
[INFO] [stdout] 116 - static mut REGISTRY: Option<RwLock<Registry>> = None;
[INFO] [stdout] 116 + static REGISTRY: Option<RwLock<Registry>> = None;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]    --> src/registry.rs:214:34
[INFO] [stdout]     |
[INFO] [stdout] 214 |     if let Some(lock) = unsafe { &REGISTRY } {
[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] help: use `&raw const` instead to create a raw pointer
[INFO] [stdout]     |
[INFO] [stdout] 214 |     if let Some(lock) = unsafe { &raw const REGISTRY } {
[INFO] [stdout]     |                                   +++++++++
[INFO] [stdout] help: this type already provides "interior mutability", so its binding doesn't need to be declared as mutable when borrowed with a shared reference
[INFO] [stdout]     |
[INFO] [stdout] 116 - static mut REGISTRY: Option<RwLock<Registry>> = None;
[INFO] [stdout] 116 + static REGISTRY: Option<RwLock<Registry>> = None;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 2.40s
[INFO] running `Command { std: "docker" "inspect" "50d583b1d892125e4d2e2d5673b24259a009c23bb15a61be091660578a7073e2", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "50d583b1d892125e4d2e2d5673b24259a009c23bb15a61be091660578a7073e2" "/opt/rustwide/cargo-home/bin/cargo" "+1.99.0-beta.8" "test" "--frozen", kill_on_drop: false }`
[INFO] [stderr] warning: creating a shared reference to mutable static
[INFO] [stderr]    --> src/registry.rs:119:17
[INFO] [stderr]     |
[INFO] [stderr] 119 |     if unsafe { REGISTRY.is_none() } {
[INFO] [stderr]     |                 ^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stderr]     |
[INFO] [stderr]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stderr]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stderr]     = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default
[INFO] [stderr] help: this type already provides "interior mutability", so its binding doesn't need to be declared as mutable when borrowed with a shared reference
[INFO] [stderr]     |
[INFO] [stderr] 116 - static mut REGISTRY: Option<RwLock<Registry>> = None;
[INFO] [stderr] 116 + static REGISTRY: Option<RwLock<Registry>> = None;
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] warning: creating a shared reference to mutable static
[INFO] [stderr]    --> src/registry.rs:125:34
[INFO] [stderr]     |
[INFO] [stderr] 125 |     if let Some(lock) = unsafe { &REGISTRY } {
[INFO] [stderr]     |                                  ^^^^^^^^^ shared reference to mutable static
[INFO] [stderr]     |
[INFO] [stderr]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stderr]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stderr] help: use `&raw const` instead to create a raw pointer
[INFO] [stderr]     |
[INFO] [stderr] 125 |     if let Some(lock) = unsafe { &raw const REGISTRY } {
[INFO] [stderr]     |                                   +++++++++
[INFO] [stderr] help: this type already provides "interior mutability", so its binding doesn't need to be declared as mutable when borrowed with a shared reference
[INFO] [stderr]     |
[INFO] [stderr] 116 - static mut REGISTRY: Option<RwLock<Registry>> = None;
[INFO] [stderr] 116 + static REGISTRY: Option<RwLock<Registry>> = None;
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] warning: creating a shared reference to mutable static
[INFO] [stderr]    --> src/registry.rs:135:34
[INFO] [stderr]     |
[INFO] [stderr] 135 |     if let Some(lock) = unsafe { &REGISTRY } {
[INFO] [stderr]     |                                  ^^^^^^^^^ shared reference to mutable static
[INFO] [stderr]     |
[INFO] [stderr]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stderr]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stderr] help: use `&raw const` instead to create a raw pointer
[INFO] [stderr]     |
[INFO] [stderr] 135 |     if let Some(lock) = unsafe { &raw const REGISTRY } {
[INFO] [stderr]     |                                   +++++++++
[INFO] [stderr] help: this type already provides "interior mutability", so its binding doesn't need to be declared as mutable when borrowed with a shared reference
[INFO] [stderr]     |
[INFO] [stderr] 116 - static mut REGISTRY: Option<RwLock<Registry>> = None;
[INFO] [stderr] 116 + static REGISTRY: Option<RwLock<Registry>> = None;
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] warning: creating a shared reference to mutable static
[INFO] [stderr]    --> src/registry.rs:145:34
[INFO] [stderr]     |
[INFO] [stderr] 145 |     if let Some(lock) = unsafe { &REGISTRY } {
[INFO] [stderr]     |                                  ^^^^^^^^^ shared reference to mutable static
[INFO] [stderr]     |
[INFO] [stderr]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stderr]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stderr] help: use `&raw const` instead to create a raw pointer
[INFO] [stderr]     |
[INFO] [stderr] 145 |     if let Some(lock) = unsafe { &raw const REGISTRY } {
[INFO] [stderr]     |                                   +++++++++
[INFO] [stderr] help: this type already provides "interior mutability", so its binding doesn't need to be declared as mutable when borrowed with a shared reference
[INFO] [stderr]     |
[INFO] [stderr] 116 - static mut REGISTRY: Option<RwLock<Registry>> = None;
[INFO] [stderr] 116 + static REGISTRY: Option<RwLock<Registry>> = None;
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] warning: creating a shared reference to mutable static
[INFO] [stderr]    --> src/registry.rs:155:34
[INFO] [stderr]     |
[INFO] [stderr] 155 |     if let Some(lock) = unsafe { &REGISTRY } {
[INFO] [stderr]     |                                  ^^^^^^^^^ shared reference to mutable static
[INFO] [stderr]     |
[INFO] [stderr]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stderr]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stderr] help: use `&raw const` instead to create a raw pointer
[INFO] [stderr]     |
[INFO] [stderr] 155 |     if let Some(lock) = unsafe { &raw const REGISTRY } {
[INFO] [stderr]     |                                   +++++++++
[INFO] [stderr] help: this type already provides "interior mutability", so its binding doesn't need to be declared as mutable when borrowed with a shared reference
[INFO] [stderr]     |
[INFO] [stderr] 116 - static mut REGISTRY: Option<RwLock<Registry>> = None;
[INFO] [stderr] 116 + static REGISTRY: Option<RwLock<Registry>> = None;
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] warning: creating a shared reference to mutable static
[INFO] [stderr]    --> src/registry.rs:165:34
[INFO] [stderr]     |
[INFO] [stderr] 165 |     if let Some(lock) = unsafe { &REGISTRY } {
[INFO] [stderr]     |                                  ^^^^^^^^^ shared reference to mutable static
[INFO] [stderr]     |
[INFO] [stderr]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stderr]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stderr] help: use `&raw const` instead to create a raw pointer
[INFO] [stderr]     |
[INFO] [stderr] 165 |     if let Some(lock) = unsafe { &raw const REGISTRY } {
[INFO] [stderr]     |                                   +++++++++
[INFO] [stderr] help: this type already provides "interior mutability", so its binding doesn't need to be declared as mutable when borrowed with a shared reference
[INFO] [stderr]     |
[INFO] [stderr] 116 - static mut REGISTRY: Option<RwLock<Registry>> = None;
[INFO] [stderr] 116 + static REGISTRY: Option<RwLock<Registry>> = None;
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] warning: creating a shared reference to mutable static
[INFO] [stderr]    --> src/registry.rs:175:34
[INFO] [stderr]     |
[INFO] [stderr] 175 |     if let Some(lock) = unsafe { &REGISTRY } {
[INFO] [stderr]     |                                  ^^^^^^^^^ shared reference to mutable static
[INFO] [stderr]     |
[INFO] [stderr]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stderr]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stderr] help: use `&raw const` instead to create a raw pointer
[INFO] [stderr]     |
[INFO] [stderr] 175 |     if let Some(lock) = unsafe { &raw const REGISTRY } {
[INFO] [stderr]     |                                   +++++++++
[INFO] [stderr] help: this type already provides "interior mutability", so its binding doesn't need to be declared as mutable when borrowed with a shared reference
[INFO] [stderr]     |
[INFO] [stderr] 116 - static mut REGISTRY: Option<RwLock<Registry>> = None;
[INFO] [stderr] 116 + static REGISTRY: Option<RwLock<Registry>> = None;
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] warning: creating a shared reference to mutable static
[INFO] [stderr]    --> src/registry.rs:185:34
[INFO] [stderr]     |
[INFO] [stderr] 185 |     if let Some(lock) = unsafe { &REGISTRY } {
[INFO] [stderr]     |                                  ^^^^^^^^^ shared reference to mutable static
[INFO] [stderr]     |
[INFO] [stderr]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stderr]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stderr] help: use `&raw const` instead to create a raw pointer
[INFO] [stderr]     |
[INFO] [stderr] 185 |     if let Some(lock) = unsafe { &raw const REGISTRY } {
[INFO] [stderr]     |                                   +++++++++
[INFO] [stderr] help: this type already provides "interior mutability", so its binding doesn't need to be declared as mutable when borrowed with a shared reference
[INFO] [stderr]     |
[INFO] [stderr] 116 - static mut REGISTRY: Option<RwLock<Registry>> = None;
[INFO] [stderr] 116 + static REGISTRY: Option<RwLock<Registry>> = None;
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] warning: creating a shared reference to mutable static
[INFO] [stderr]    --> src/registry.rs:195:34
[INFO] [stderr]     |
[INFO] [stderr] 195 |     if let Some(lock) = unsafe { &REGISTRY } {
[INFO] [stderr]     |                                  ^^^^^^^^^ shared reference to mutable static
[INFO] [stderr]     |
[INFO] [stderr]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stderr]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stderr] help: use `&raw const` instead to create a raw pointer
[INFO] [stderr]     |
[INFO] [stderr] 195 |     if let Some(lock) = unsafe { &raw const REGISTRY } {
[INFO] [stderr]     |                                   +++++++++
[INFO] [stderr] help: this type already provides "interior mutability", so its binding doesn't need to be declared as mutable when borrowed with a shared reference
[INFO] [stderr]     |
[INFO] [stderr] 116 - static mut REGISTRY: Option<RwLock<Registry>> = None;
[INFO] [stderr] 116 + static REGISTRY: Option<RwLock<Registry>> = None;
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] warning: creating a shared reference to mutable static
[INFO] [stderr]    --> src/registry.rs:205:34
[INFO] [stderr]     |
[INFO] [stderr] 205 |     if let Some(lock) = unsafe { &REGISTRY } {
[INFO] [stderr]     |                                  ^^^^^^^^^ shared reference to mutable static
[INFO] [stderr]     |
[INFO] [stderr]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stderr]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stderr] help: use `&raw const` instead to create a raw pointer
[INFO] [stderr]     |
[INFO] [stderr] 205 |     if let Some(lock) = unsafe { &raw const REGISTRY } {
[INFO] [stderr]     |                                   +++++++++
[INFO] [stderr] help: this type already provides "interior mutability", so its binding doesn't need to be declared as mutable when borrowed with a shared reference
[INFO] [stderr]     |
[INFO] [stderr] 116 - static mut REGISTRY: Option<RwLock<Registry>> = None;
[INFO] [stderr] 116 + static REGISTRY: Option<RwLock<Registry>> = None;
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] warning: creating a shared reference to mutable static
[INFO] [stderr]    --> src/registry.rs:214:34
[INFO] [stderr]     |
[INFO] [stderr] 214 |     if let Some(lock) = unsafe { &REGISTRY } {
[INFO] [stderr]     |                                  ^^^^^^^^^ shared reference to mutable static
[INFO] [stderr]     |
[INFO] [stderr]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stderr]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stderr] help: use `&raw const` instead to create a raw pointer
[INFO] [stderr]     |
[INFO] [stderr] 214 |     if let Some(lock) = unsafe { &raw const REGISTRY } {
[INFO] [stderr]     |                                   +++++++++
[INFO] [stderr] help: this type already provides "interior mutability", so its binding doesn't need to be declared as mutable when borrowed with a shared reference
[INFO] [stderr]     |
[INFO] [stderr] 116 - static mut REGISTRY: Option<RwLock<Registry>> = None;
[INFO] [stderr] 116 + static REGISTRY: Option<RwLock<Registry>> = None;
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] warning: `treg` (lib) generated 11 warnings
[INFO] [stderr] warning: `treg` (lib test) generated 11 warnings (11 duplicates)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.09s
[INFO] [stdout] 
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/treg-43f24c61a29e51bf)
[INFO] [stdout] running 9 tests
[INFO] [stdout] test registry::registry_tests::ask_percent_float_test ... ok
[INFO] [stderr]    Doc-tests treg
[INFO] [stdout] test registry::registry_tests::ask_test ... ok
[INFO] [stdout] test registry::registry_tests::get_free_id_test ... ok
[INFO] [stdout] test registry::registry_tests::update_test ... ok
[INFO] [stdout] test registry::registry_tests::push_test ... ok
[INFO] [stdout] test registry::registry_tests::list_all_test ... ok
[INFO] [stdout] test registry::registry_tests::ask_percent_test ... ok
[INFO] [stdout] test registry::registry_tests::cancel_test ... ok
[INFO] [stdout] test registry::registry_tests::remove_test ... ok
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 9 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] running 0 tests
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] running `Command { std: "docker" "inspect" "50d583b1d892125e4d2e2d5673b24259a009c23bb15a61be091660578a7073e2", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "50d583b1d892125e4d2e2d5673b24259a009c23bb15a61be091660578a7073e2", kill_on_drop: false }`
[INFO] [stdout] 50d583b1d892125e4d2e2d5673b24259a009c23bb15a61be091660578a7073e2
