[INFO] fetching crate genref 0.8.0... [INFO] checking genref-0.8.0 against try#ccf408f4326a858c00dd845a64a86b16f360a801 for pr-129466-2 [INFO] extracting crate genref 0.8.0 into /workspace/builds/worker-5-tc2/source [INFO] validating manifest of crates.io crate genref 0.8.0 on toolchain ccf408f4326a858c00dd845a64a86b16f360a801 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate genref 0.8.0 [INFO] finished tweaking crates.io crate genref 0.8.0 [INFO] tweaked toml for crates.io crate genref 0.8.0 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" "+ccf408f4326a858c00dd845a64a86b16f360a801" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 20 packages to latest compatible versions [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c729a4b28077ae11bfae80a65ca8ffb3c1b594be195d626232dc629e27786c7e [INFO] running `Command { std: "docker" "start" "-a" "c729a4b28077ae11bfae80a65ca8ffb3c1b594be195d626232dc629e27786c7e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c729a4b28077ae11bfae80a65ca8ffb3c1b594be195d626232dc629e27786c7e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c729a4b28077ae11bfae80a65ca8ffb3c1b594be195d626232dc629e27786c7e", kill_on_drop: false }` [INFO] [stdout] c729a4b28077ae11bfae80a65ca8ffb3c1b594be195d626232dc629e27786c7e [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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3c77b4be0f4d41d238994f025fd39884e1f24c332dfe1a1e93108e007307638e [INFO] running `Command { std: "docker" "start" "-a" "3c77b4be0f4d41d238994f025fd39884e1f24c332dfe1a1e93108e007307638e", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] Migrating Cargo.toml from 2021 edition to 2024 [INFO] [stderr] Checking genref v0.8.0 (/tmp/fixit) [INFO] [stderr] Migrating src/lib.rs from 2021 edition to 2024 [INFO] [stderr] Fixed src/global.rs (22 fixes) [INFO] [stderr] Fixed src/lib.rs (23 fixes) [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/lib.rs:298:54 [INFO] [stdout] | [INFO] [stdout] 298 | r#gen: Generation(NonNull::from(unsafe { &mut ZERO })), [INFO] [stdout] | ^^^^^^^^^ mutable 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 mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior [INFO] [stdout] = note: `--force-warn static-mut-refs` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] help: use `addr_of_mut!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 298 | r#gen: Generation(NonNull::from(unsafe { addr_of_mut!(ZERO) })), [INFO] [stdout] | ~~~~~~~~~~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `dq` is assigned to, but never used [INFO] [stdout] --> src/global.rs:123:13 [INFO] [stdout] | [INFO] [stdout] 123 | let dq; [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_dq` instead [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `dq` is never read [INFO] [stdout] --> src/global.rs:125:27 [INFO] [stdout] | [INFO] [stdout] 125 | Ok(mut wl) => dq = DropQueue::clear(&mut wl), [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `try_reading` is never used [INFO] [stdout] --> src/global.rs:52:8 [INFO] [stdout] | [INFO] [stdout] 52 | pub fn try_reading() -> Option { Lock::try_reading() } [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `writing` is never used [INFO] [stdout] --> src/global.rs:62:8 [INFO] [stdout] | [INFO] [stdout] 62 | pub fn writing() -> Writing { Lock::writing() } [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `try_writing` is never used [INFO] [stdout] --> src/global.rs:63:8 [INFO] [stdout] | [INFO] [stdout] 63 | pub fn try_writing() -> Option { Lock::try_writing() } [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `writing` and `try_reading` are never used [INFO] [stdout] --> src/global.rs:75:8 [INFO] [stdout] | [INFO] [stdout] 65 | impl Lock [INFO] [stdout] | --------- associated functions in this implementation [INFO] [stdout] ... [INFO] [stdout] 75 | fn writing() -> Writing [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 81 | fn try_reading() -> Option [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `genref`, `gen`, and `ptr` are never read [INFO] [stdout] --> src/global.rs:233:5 [INFO] [stdout] | [INFO] [stdout] 231 | pub struct Weak [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 232 | { [INFO] [stdout] 233 | genref: u32, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 234 | r#gen: Generation, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 235 | ptr: NonNull, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `take`, `as_ref`, `as_mut`, and `map` are never used [INFO] [stdout] --> src/global.rs:255:12 [INFO] [stdout] | [INFO] [stdout] 253 | impl Strong [INFO] [stdout] | ---------------------------------------- associated items in this implementation [INFO] [stdout] 254 | { [INFO] [stdout] 255 | pub fn new(t: T) -> Self { Self::from(Box::new(t)) } [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 266 | pub fn take(mut self, _wl: &mut Writing) -> Box [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 274 | pub fn as_ref(&self, _rl: &Reading) -> &T { &self.ptr } [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 275 | pub fn as_mut(&mut self, _wl: &mut Writing) -> &mut T { &mut self.ptr } [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 276 | [INFO] [stdout] 277 | pub fn map(&self, rl: &Reading, f: F) -> Weak [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `dangling`, `is_valid`, `try_ref`, `try_mut`, and `try_map` are never used [INFO] [stdout] --> src/global.rs:303:12 [INFO] [stdout] | [INFO] [stdout] 301 | impl Weak [INFO] [stdout] | -------------------------------------- associated items in this implementation [INFO] [stdout] 302 | { [INFO] [stdout] 303 | pub fn dangling() -> Self [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 313 | pub fn is_valid(&self) -> bool { self.genref == self.r#gen.get() } [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 314 | [INFO] [stdout] 315 | pub fn try_ref(&self, _rl: &Reading) -> Option<&T> [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 324 | pub fn try_mut(&mut self, _wl: &mut Writing) -> Option<&mut T> [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 333 | pub fn try_map(&self, rl: &Reading, f: F) -> Option> [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/global.rs:366:12 [INFO] [stdout] | [INFO] [stdout] 363 | impl Ref [INFO] [stdout] | ------------------------------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 366 | pub fn new(t: T) -> Self { Self::Strong(Strong::new(t)) } [INFO] [stdout] | ^^^ [INFO] [stdout] 367 | [INFO] [stdout] 368 | pub fn try_as_ref(&self, rl: &Reading) -> Option<&T> [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 376 | pub fn try_mut(&mut self, wl: &mut Writing) -> Option<&mut T> [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 384 | pub fn try_map(&self, rl: &Reading, f: F) -> Option> [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 395 | pub fn is_weak(&self) -> bool [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 403 | pub fn is_strong(&self) -> bool [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 411 | pub fn is_valid(&self) -> bool [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/lib.rs:298:54 [INFO] [stdout] | [INFO] [stdout] 298 | r#gen: Generation(NonNull::from(unsafe { &mut ZERO })), [INFO] [stdout] | ^^^^^^^^^ mutable 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 mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior [INFO] [stdout] = note: `--force-warn static-mut-refs` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] help: use `addr_of_mut!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 298 | r#gen: Generation(NonNull::from(unsafe { addr_of_mut!(ZERO) })), [INFO] [stdout] | ~~~~~~~~~~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `dq` is assigned to, but never used [INFO] [stdout] --> src/global.rs:123:13 [INFO] [stdout] | [INFO] [stdout] 123 | let dq; [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_dq` instead [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `dq` is never read [INFO] [stdout] --> src/global.rs:125:27 [INFO] [stdout] | [INFO] [stdout] 125 | Ok(mut wl) => dq = DropQueue::clear(&mut wl), [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `try_reading` is never used [INFO] [stdout] --> src/global.rs:52:8 [INFO] [stdout] | [INFO] [stdout] 52 | pub fn try_reading() -> Option { Lock::try_reading() } [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `writing` is never used [INFO] [stdout] --> src/global.rs:62:8 [INFO] [stdout] | [INFO] [stdout] 62 | pub fn writing() -> Writing { Lock::writing() } [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `try_writing` is never used [INFO] [stdout] --> src/global.rs:63:8 [INFO] [stdout] | [INFO] [stdout] 63 | pub fn try_writing() -> Option { Lock::try_writing() } [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `writing` and `try_reading` are never used [INFO] [stdout] --> src/global.rs:75:8 [INFO] [stdout] | [INFO] [stdout] 65 | impl Lock [INFO] [stdout] | --------- associated functions in this implementation [INFO] [stdout] ... [INFO] [stdout] 75 | fn writing() -> Writing [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 81 | fn try_reading() -> Option [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `genref`, `gen`, and `ptr` are never read [INFO] [stdout] --> src/global.rs:233:5 [INFO] [stdout] | [INFO] [stdout] 231 | pub struct Weak [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 232 | { [INFO] [stdout] 233 | genref: u32, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 234 | r#gen: Generation, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 235 | ptr: NonNull, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `take`, `as_ref`, `as_mut`, and `map` are never used [INFO] [stdout] --> src/global.rs:255:12 [INFO] [stdout] | [INFO] [stdout] 253 | impl Strong [INFO] [stdout] | ---------------------------------------- associated items in this implementation [INFO] [stdout] 254 | { [INFO] [stdout] 255 | pub fn new(t: T) -> Self { Self::from(Box::new(t)) } [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 266 | pub fn take(mut self, _wl: &mut Writing) -> Box [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 274 | pub fn as_ref(&self, _rl: &Reading) -> &T { &self.ptr } [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 275 | pub fn as_mut(&mut self, _wl: &mut Writing) -> &mut T { &mut self.ptr } [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 276 | [INFO] [stdout] 277 | pub fn map(&self, rl: &Reading, f: F) -> Weak [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `dangling`, `is_valid`, `try_ref`, `try_mut`, and `try_map` are never used [INFO] [stdout] --> src/global.rs:303:12 [INFO] [stdout] | [INFO] [stdout] 301 | impl Weak [INFO] [stdout] | -------------------------------------- associated items in this implementation [INFO] [stdout] 302 | { [INFO] [stdout] 303 | pub fn dangling() -> Self [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 313 | pub fn is_valid(&self) -> bool { self.genref == self.r#gen.get() } [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 314 | [INFO] [stdout] 315 | pub fn try_ref(&self, _rl: &Reading) -> Option<&T> [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 324 | pub fn try_mut(&mut self, _wl: &mut Writing) -> Option<&mut T> [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 333 | pub fn try_map(&self, rl: &Reading, f: F) -> Option> [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/global.rs:366:12 [INFO] [stdout] | [INFO] [stdout] 363 | impl Ref [INFO] [stdout] | ------------------------------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 366 | pub fn new(t: T) -> Self { Self::Strong(Strong::new(t)) } [INFO] [stdout] | ^^^ [INFO] [stdout] 367 | [INFO] [stdout] 368 | pub fn try_as_ref(&self, rl: &Reading) -> Option<&T> [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 376 | pub fn try_mut(&mut self, wl: &mut Writing) -> Option<&mut T> [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 384 | pub fn try_map(&self, rl: &Reading, f: F) -> Option> [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 395 | pub fn is_weak(&self) -> bool [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 403 | pub fn is_strong(&self) -> bool [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 411 | pub fn is_valid(&self) -> bool [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.36s [INFO] [stderr] Running `cargo check` to verify 2024 [INFO] [stderr] Checking genref v0.8.0 (/tmp/fixit) [INFO] [stdout] error[E0796]: creating a mutable reference to a mutable static [INFO] [stdout] --> src/lib.rs:298:54 [INFO] [stdout] | [INFO] [stdout] 298 | r#gen: Generation(NonNull::from(unsafe { &mut ZERO })), [INFO] [stdout] | ^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior [INFO] [stdout] help: use `addr_of_mut!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 298 | r#gen: Generation(NonNull::from(unsafe { addr_of_mut!(ZERO) })), [INFO] [stdout] | ~~~~~~~~~~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `dq` is assigned to, but never used [INFO] [stdout] --> src/global.rs:123:13 [INFO] [stdout] | [INFO] [stdout] 123 | let dq; [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_dq` instead [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `dq` is never read [INFO] [stdout] --> src/global.rs:125:27 [INFO] [stdout] | [INFO] [stdout] 125 | Ok(mut wl) => dq = DropQueue::clear(&mut wl), [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0796]: creating a mutable reference to a mutable static [INFO] [stdout] --> src/lib.rs:298:54 [INFO] [stdout] | [INFO] [stdout] 298 | r#gen: Generation(NonNull::from(unsafe { &mut ZERO })), [INFO] [stdout] | ^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior [INFO] [stdout] help: use `addr_of_mut!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 298 | r#gen: Generation(NonNull::from(unsafe { addr_of_mut!(ZERO) })), [INFO] [stdout] | ~~~~~~~~~~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0796`. [INFO] [stdout] [INFO] [stdout] warning: variable `dq` is assigned to, but never used [INFO] [stdout] --> src/global.rs:123:13 [INFO] [stdout] | [INFO] [stdout] 123 | let dq; [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_dq` instead [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `dq` is never read [INFO] [stdout] --> src/global.rs:125:27 [INFO] [stdout] | [INFO] [stdout] 125 | Ok(mut wl) => dq = DropQueue::clear(&mut wl), [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `genref` (lib) due to 2 previous errors; 2 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 1 previous error; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0796`. [INFO] [stdout] [INFO] [stderr] error: could not compile `genref` (lib test) due to 2 previous errors; 2 warnings emitted [INFO] [stderr] error: failed to check after updating to 2024 [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `cargo check --frozen --all --all-targets --message-format=json` (exit status: 101) [INFO] running `Command { std: "docker" "inspect" "3c77b4be0f4d41d238994f025fd39884e1f24c332dfe1a1e93108e007307638e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3c77b4be0f4d41d238994f025fd39884e1f24c332dfe1a1e93108e007307638e", kill_on_drop: false }` [INFO] [stdout] 3c77b4be0f4d41d238994f025fd39884e1f24c332dfe1a1e93108e007307638e