[INFO] fetching crate v_htmlescape 0.15.8...
[INFO] checking v_htmlescape-0.15.8 against master#af4a5a13a15fa0c60e06321077ef452f769b42fd for pr-122960-2
[INFO] extracting crate v_htmlescape 0.15.8 into /workspace/builds/worker-5-tc1/source
[INFO] validating manifest of crates.io crate v_htmlescape 0.15.8 on toolchain af4a5a13a15fa0c60e06321077ef452f769b42fd
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate v_htmlescape 0.15.8
[INFO] finished tweaking crates.io crate v_htmlescape 0.15.8
[INFO] tweaked toml for crates.io crate v_htmlescape 0.15.8 written to /workspace/builds/worker-5-tc1/source/Cargo.toml
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr] Updating crates.io index
[INFO] [stderr] Locking 2 packages
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr] Downloading crates ...
[INFO] [stderr] Downloaded buf-min v0.7.1
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 8e93bf630a24ed9628bcfd27bc2aa46282f035fbd0a98280d29a571efbc5da78
[INFO] running `Command { std: "docker" "start" "-a" "8e93bf630a24ed9628bcfd27bc2aa46282f035fbd0a98280d29a571efbc5da78", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "8e93bf630a24ed9628bcfd27bc2aa46282f035fbd0a98280d29a571efbc5da78", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "8e93bf630a24ed9628bcfd27bc2aa46282f035fbd0a98280d29a571efbc5da78", kill_on_drop: false }`
[INFO] [stdout] 8e93bf630a24ed9628bcfd27bc2aa46282f035fbd0a98280d29a571efbc5da78
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 830a509f911af765d4fb6ab4001f385dcf03f07dc866e2fdccfe2543e5658dc3
[INFO] running `Command { std: "docker" "start" "-a" "830a509f911af765d4fb6ab4001f385dcf03f07dc866e2fdccfe2543e5658dc3", kill_on_drop: false }`
[INFO] [stderr] Compiling v_htmlescape v0.15.8 (/opt/rustwide/workdir)
[INFO] [stdout] warning: creating a shared reference to mutable static is discouraged
[INFO] [stdout] --> src/lib.rs:1468:23
[INFO] [stdout] |
[INFO] [stdout] 1468 | let slot = &*(&FN as *const _ as *const AtomicUsize);
[INFO] [stdout] | ^^^ shared reference to mutable static
[INFO] [stdout] |
[INFO] [stdout] = note: for more information, see issue #114447
[INFO] [stdout] = note: this will be a hard error in the 2024 edition
[INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior
[INFO] [stdout] = note: `#[warn(static_mut_refs)]` on by default
[INFO] [stdout] help: use `addr_of!` instead to create a raw pointer
[INFO] [stdout] |
[INFO] [stdout] 1468 | let slot = &*(addr_of!(FN) as *const _ as *const AtomicUsize);
[INFO] [stdout] | ~~~~~~~~~~~~
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: creating a shared reference to mutable static is discouraged
[INFO] [stdout] --> src/lib.rs:1461:32
[INFO] [stdout] |
[INFO] [stdout] 1461 | let slot = unsafe { &*(&FN as *const _ as *const AtomicUsize) };
[INFO] [stdout] | ^^^ shared reference to mutable static
[INFO] [stdout] |
[INFO] [stdout] = note: for more information, see issue #114447
[INFO] [stdout] = note: this will be a hard error in the 2024 edition
[INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior
[INFO] [stdout] help: use `addr_of!` instead to create a raw pointer
[INFO] [stdout] |
[INFO] [stdout] 1461 | let slot = unsafe { &*(addr_of!(FN) as *const _ as *const AtomicUsize) };
[INFO] [stdout] | ~~~~~~~~~~~~
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: 2 warnings emitted
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: creating a shared reference to mutable static is discouraged
[INFO] [stdout] --> src/lib.rs:1468:23
[INFO] [stdout] |
[INFO] [stdout] 1468 | let slot = &*(&FN as *const _ as *const AtomicUsize);
[INFO] [stdout] | ^^^ shared reference to mutable static
[INFO] [stdout] |
[INFO] [stdout] = note: for more information, see issue #114447
[INFO] [stdout] = note: this will be a hard error in the 2024 edition
[INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior
[INFO] [stdout] = note: `#[warn(static_mut_refs)]` on by default
[INFO] [stdout] help: use `addr_of!` instead to create a raw pointer
[INFO] [stdout] |
[INFO] [stdout] 1468 | let slot = &*(addr_of!(FN) as *const _ as *const AtomicUsize);
[INFO] [stdout] | ~~~~~~~~~~~~
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: creating a shared reference to mutable static is discouraged
[INFO] [stdout] --> src/lib.rs:1461:32
[INFO] [stdout] |
[INFO] [stdout] 1461 | let slot = unsafe { &*(&FN as *const _ as *const AtomicUsize) };
[INFO] [stdout] | ^^^ shared reference to mutable static
[INFO] [stdout] |
[INFO] [stdout] = note: for more information, see issue #114447
[INFO] [stdout] = note: this will be a hard error in the 2024 edition
[INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior
[INFO] [stdout] help: use `addr_of!` instead to create a raw pointer
[INFO] [stdout] |
[INFO] [stdout] 1461 | let slot = unsafe { &*(addr_of!(FN) as *const _ as *const AtomicUsize) };
[INFO] [stdout] | ~~~~~~~~~~~~
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: 2 warnings emitted
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.71s
[INFO] running `Command { std: "docker" "inspect" "830a509f911af765d4fb6ab4001f385dcf03f07dc866e2fdccfe2543e5658dc3", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "830a509f911af765d4fb6ab4001f385dcf03f07dc866e2fdccfe2543e5658dc3", kill_on_drop: false }`
[INFO] [stdout] 830a509f911af765d4fb6ab4001f385dcf03f07dc866e2fdccfe2543e5658dc3
[INFO] checking v_htmlescape-0.15.8 against try#36dbcaee1a55543dfc181be52a69d99ff46ff62f for pr-122960-2
[INFO] extracting crate v_htmlescape 0.15.8 into /workspace/builds/worker-5-tc2/source
[INFO] validating manifest of crates.io crate v_htmlescape 0.15.8 on toolchain 36dbcaee1a55543dfc181be52a69d99ff46ff62f
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate v_htmlescape 0.15.8
[INFO] finished tweaking crates.io crate v_htmlescape 0.15.8
[INFO] tweaked toml for crates.io crate v_htmlescape 0.15.8 written to /workspace/builds/worker-5-tc2/source/Cargo.toml
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr] Blocking waiting for file lock on package cache
[INFO] [stderr] Updating crates.io index
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 3897ea86619e83b64dccf0f0f56e1a635cbb751354651437ebacb90a21abcbcc
[INFO] running `Command { std: "docker" "start" "-a" "3897ea86619e83b64dccf0f0f56e1a635cbb751354651437ebacb90a21abcbcc", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "3897ea86619e83b64dccf0f0f56e1a635cbb751354651437ebacb90a21abcbcc", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "3897ea86619e83b64dccf0f0f56e1a635cbb751354651437ebacb90a21abcbcc", kill_on_drop: false }`
[INFO] [stdout] 3897ea86619e83b64dccf0f0f56e1a635cbb751354651437ebacb90a21abcbcc
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 192aba0abbc0fa4171283dd47b46b84c1d72769d315d2e83f9a7a564cba5674e
[INFO] running `Command { std: "docker" "start" "-a" "192aba0abbc0fa4171283dd47b46b84c1d72769d315d2e83f9a7a564cba5674e", kill_on_drop: false }`
[INFO] [stderr] Copying to /tmp/fixit
[INFO] [stderr] Running `cargo fix --edition`
[INFO] [stderr] Compiling v_htmlescape v0.15.8 (/tmp/fixit)
[INFO] [stderr] Migrating build.rs from 2021 edition to 2024
[INFO] [stderr] Migrating src/lib.rs from 2021 edition to 2024
[INFO] [stderr] Fixed src/lib.rs (2 fixes)
[INFO] [stdout] warning: creating a shared reference to mutable static is discouraged
[INFO] [stdout] --> src/lib.rs:1468:23
[INFO] [stdout] |
[INFO] [stdout] 1468 | let slot = &*(&FN as *const _ as *const AtomicUsize);
[INFO] [stdout] | ^^^ shared reference to mutable static
[INFO] [stdout] |
[INFO] [stdout] = note: for more information, see issue #114447
[INFO] [stdout] = note: this will be a hard error in the 2024 edition
[INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior
[INFO] [stdout] = note: `--force-warn static-mut-refs` implied by `--force-warn rust-2024-compatibility`
[INFO] [stdout] = help: to override `--force-warn rust-2024-compatibility` add `#[allow(static_mut_refs)]`
[INFO] [stdout] help: use `addr_of!` instead to create a raw pointer
[INFO] [stdout] |
[INFO] [stdout] 1468 | let slot = &*(addr_of!(FN) as *const _ as *const AtomicUsize);
[INFO] [stdout] | ~~~~~~~~~~~~
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: creating a shared reference to mutable static is discouraged
[INFO] [stdout] --> src/lib.rs:1461:32
[INFO] [stdout] |
[INFO] [stdout] 1461 | let slot = unsafe { &*(&FN as *const _ as *const AtomicUsize) };
[INFO] [stdout] | ^^^ shared reference to mutable static
[INFO] [stdout] |
[INFO] [stdout] = note: for more information, see issue #114447
[INFO] [stdout] = note: this will be a hard error in the 2024 edition
[INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior
[INFO] [stdout] help: use `addr_of!` instead to create a raw pointer
[INFO] [stdout] |
[INFO] [stdout] 1461 | let slot = unsafe { &*(addr_of!(FN) as *const _ as *const AtomicUsize) };
[INFO] [stdout] | ~~~~~~~~~~~~
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: 2 warnings emitted
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stderr] Migrating tests/lib.rs from 2021 edition to 2024
[INFO] [stdout] warning: creating a shared reference to mutable static is discouraged
[INFO] [stdout] --> src/lib.rs:1468:23
[INFO] [stdout] |
[INFO] [stdout] 1468 | let slot = &*(&FN as *const _ as *const AtomicUsize);
[INFO] [stdout] | ^^^ shared reference to mutable static
[INFO] [stdout] |
[INFO] [stdout] = note: for more information, see issue #114447
[INFO] [stdout] = note: this will be a hard error in the 2024 edition
[INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior
[INFO] [stdout] = note: `--force-warn static-mut-refs` implied by `--force-warn rust-2024-compatibility`
[INFO] [stdout] = help: to override `--force-warn rust-2024-compatibility` add `#[allow(static_mut_refs)]`
[INFO] [stdout] help: use `addr_of!` instead to create a raw pointer
[INFO] [stdout] |
[INFO] [stdout] 1468 | let slot = &*(addr_of!(FN) as *const _ as *const AtomicUsize);
[INFO] [stdout] | ~~~~~~~~~~~~
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: creating a shared reference to mutable static is discouraged
[INFO] [stdout] --> src/lib.rs:1461:32
[INFO] [stdout] |
[INFO] [stdout] 1461 | let slot = unsafe { &*(&FN as *const _ as *const AtomicUsize) };
[INFO] [stdout] | ^^^ shared reference to mutable static
[INFO] [stdout] |
[INFO] [stdout] = note: for more information, see issue #114447
[INFO] [stdout] = note: this will be a hard error in the 2024 edition
[INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior
[INFO] [stdout] help: use `addr_of!` instead to create a raw pointer
[INFO] [stdout] |
[INFO] [stdout] 1461 | let slot = unsafe { &*(addr_of!(FN) as *const _ as *const AtomicUsize) };
[INFO] [stdout] | ~~~~~~~~~~~~
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: 2 warnings emitted
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.83s
[INFO] [stderr] Running `cargo check` to verify 2024
[INFO] [stderr] Compiling v_htmlescape v0.15.8 (/tmp/fixit)
[INFO] [stdout] warning: creating a shared reference to mutable static is discouraged
[INFO] [stdout] --> src/lib.rs:1468:23
[INFO] [stdout] |
[INFO] [stdout] 1468 | let slot = &*(&FN as *const _ as *const AtomicUsize);
[INFO] [stdout] | ^^^ shared reference to mutable static
[INFO] [stdout] |
[INFO] [stdout] = note: for more information, see issue #114447
[INFO] [stdout] = note: this will be a hard error in the 2024 edition
[INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior
[INFO] [stdout] = note: `#[warn(static_mut_refs)]` on by default
[INFO] [stdout] help: use `addr_of!` instead to create a raw pointer
[INFO] [stdout] |
[INFO] [stdout] 1468 | let slot = &*(addr_of!(FN) as *const _ as *const AtomicUsize);
[INFO] [stdout] | ~~~~~~~~~~~~
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: creating a shared reference to mutable static is discouraged
[INFO] [stdout] --> src/lib.rs:1461:32
[INFO] [stdout] |
[INFO] [stdout] 1461 | let slot = unsafe { &*(&FN as *const _ as *const AtomicUsize) };
[INFO] [stdout] | ^^^ shared reference to mutable static
[INFO] [stdout] |
[INFO] [stdout] = note: for more information, see issue #114447
[INFO] [stdout] = note: this will be a hard error in the 2024 edition
[INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior
[INFO] [stdout] help: use `addr_of!` instead to create a raw pointer
[INFO] [stdout] |
[INFO] [stdout] 1461 | let slot = unsafe { &*(addr_of!(FN) as *const _ as *const AtomicUsize) };
[INFO] [stdout] | ~~~~~~~~~~~~
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: creating a shared reference to mutable static is discouraged
[INFO] [stdout] --> src/lib.rs:1468:23
[INFO] [stdout] |
[INFO] [stdout] 1468 | let slot = &*(&FN as *const _ as *const AtomicUsize);
[INFO] [stdout] | ^^^ shared reference to mutable static
[INFO] [stdout] |
[INFO] [stdout] = note: for more information, see issue #114447
[INFO] [stdout] = note: this will be a hard error in the 2024 edition
[INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior
[INFO] [stdout] = note: `#[warn(static_mut_refs)]` on by default
[INFO] [stdout] help: use `addr_of!` instead to create a raw pointer
[INFO] [stdout] |
[INFO] [stdout] 1468 | let slot = &*(addr_of!(FN) as *const _ as *const AtomicUsize);
[INFO] [stdout] | ~~~~~~~~~~~~
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: creating a shared reference to mutable static is discouraged
[INFO] [stdout] --> src/lib.rs:1461:32
[INFO] [stdout] |
[INFO] [stdout] 1461 | let slot = unsafe { &*(&FN as *const _ as *const AtomicUsize) };
[INFO] [stdout] | ^^^ shared reference to mutable static
[INFO] [stdout] |
[INFO] [stdout] = note: for more information, see issue #114447
[INFO] [stdout] = note: this will be a hard error in the 2024 edition
[INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior
[INFO] [stdout] help: use `addr_of!` instead to create a raw pointer
[INFO] [stdout] |
[INFO] [stdout] 1461 | let slot = unsafe { &*(addr_of!(FN) as *const _ as *const AtomicUsize) };
[INFO] [stdout] | ~~~~~~~~~~~~
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: 2 warnings emitted
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: 2 warnings emitted
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.46s
[INFO] running `Command { std: "docker" "inspect" "192aba0abbc0fa4171283dd47b46b84c1d72769d315d2e83f9a7a564cba5674e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "192aba0abbc0fa4171283dd47b46b84c1d72769d315d2e83f9a7a564cba5674e", kill_on_drop: false }`
[INFO] [stdout] 192aba0abbc0fa4171283dd47b46b84c1d72769d315d2e83f9a7a564cba5674e