[INFO] fetching crate maitake-sync 0.1.2... [INFO] checking maitake-sync-0.1.2 against try#65132f36b923285d5da381c2fbafee6ce899e841 for pr-132712-1 [INFO] extracting crate maitake-sync 0.1.2 into /workspace/builds/worker-4-tc2/source [INFO] validating manifest of crates.io crate maitake-sync 0.1.2 on toolchain 65132f36b923285d5da381c2fbafee6ce899e841 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+65132f36b923285d5da381c2fbafee6ce899e841" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate maitake-sync 0.1.2 [INFO] finished tweaking crates.io crate maitake-sync 0.1.2 [INFO] tweaked toml for crates.io crate maitake-sync 0.1.2 written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+65132f36b923285d5da381c2fbafee6ce899e841" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 128 packages to latest compatible versions [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+65132f36b923285d5da381c2fbafee6ce899e841" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: `default_features` is deprecated in favor of `default-features` and will not work in the 2024 edition [INFO] [stderr] (in the `tracing` dependency) [INFO] [stderr] warning: `default_features` is deprecated in favor of `default-features` and will not work in the 2024 edition [INFO] [stderr] (in the `tracing` dependency) [INFO] [stderr] warning: `default_features` is deprecated in favor of `default-features` and will not work in the 2024 edition [INFO] [stderr] (in the `loom` dependency) [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+65132f36b923285d5da381c2fbafee6ce899e841" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4984da3148c6bafa71429b53e67e98f97da46c1f3e0797f01e2b0e3d6a381b2d [INFO] running `Command { std: "docker" "start" "-a" "4984da3148c6bafa71429b53e67e98f97da46c1f3e0797f01e2b0e3d6a381b2d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4984da3148c6bafa71429b53e67e98f97da46c1f3e0797f01e2b0e3d6a381b2d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4984da3148c6bafa71429b53e67e98f97da46c1f3e0797f01e2b0e3d6a381b2d", kill_on_drop: false }` [INFO] [stdout] 4984da3148c6bafa71429b53e67e98f97da46c1f3e0797f01e2b0e3d6a381b2d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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=allow" "-e" "RUSTDOCFLAGS=--cap-lints=allow" "-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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+65132f36b923285d5da381c2fbafee6ce899e841" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 491be1a0abc45e59fcc16a94438f5aac31f0c702b1f8ece3bdafa0d64161e020 [INFO] running `Command { std: "docker" "start" "-a" "491be1a0abc45e59fcc16a94438f5aac31f0c702b1f8ece3bdafa0d64161e020", 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] Fixed Cargo.toml (3 fixes) [INFO] [stderr] Checking pin-project-lite v0.2.15 [INFO] [stderr] Checking futures-core v0.3.31 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling rustix v0.38.41 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Compiling libm v0.2.11 [INFO] [stderr] Checking linux-raw-sys v0.4.14 [INFO] [stderr] Checking regex-syntax v0.8.5 [INFO] [stderr] Checking futures-sink v0.3.31 [INFO] [stderr] Checking bitflags v2.6.0 [INFO] [stderr] Checking tracing-core v0.1.32 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking regex-syntax v0.6.29 [INFO] [stderr] Checking memchr v2.7.4 [INFO] [stderr] Compiling syn v2.0.89 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Checking futures-task v0.3.31 [INFO] [stderr] Checking lazy_static v1.5.0 [INFO] [stderr] Checking futures-channel v0.3.31 [INFO] [stderr] Checking futures-io v0.3.31 [INFO] [stderr] Compiling portable-atomic v1.10.0 [INFO] [stderr] Checking fastrand v2.2.0 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking wait-timeout v0.2.0 [INFO] [stderr] Checking overload v0.1.1 [INFO] [stderr] Checking bit-vec v0.6.3 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Checking quick-error v1.2.3 [INFO] [stderr] Checking log v0.4.22 [INFO] [stderr] Checking nu-ansi-term v0.46.0 [INFO] [stderr] Checking sharded-slab v0.1.7 [INFO] [stderr] Checking thread_local v1.1.8 [INFO] [stderr] Checking bytes v1.8.0 [INFO] [stderr] Checking rand_xorshift v0.3.0 [INFO] [stderr] Checking unarray v0.1.4 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Checking mycelium-bitfield v0.1.5 [INFO] [stderr] Checking tracing-log v0.2.0 [INFO] [stderr] Checking bit-set v0.5.3 [INFO] [stderr] Checking cordyceps v0.3.2 [INFO] [stderr] Checking regex-automata v0.4.9 [INFO] [stderr] Checking regex-automata v0.1.10 [INFO] [stderr] Checking tempfile v3.14.0 [INFO] [stderr] Checking rusty-fork v0.3.0 [INFO] [stderr] Checking matchers v0.1.0 [INFO] [stderr] Checking regex v1.11.1 [INFO] [stderr] Checking tracing-subscriber v0.3.18 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling tokio-macros v2.4.0 [INFO] [stderr] Compiling async-stream-impl v0.3.6 [INFO] [stderr] Compiling pin-project-internal v1.1.7 [INFO] [stderr] Checking async-stream v0.3.6 [INFO] [stderr] Checking tokio v1.41.1 [INFO] [stderr] Checking zerocopy v0.7.35 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Checking pin-project v1.1.7 [INFO] [stderr] Checking maitake-sync v0.1.2 (/tmp/fixit) [INFO] [stderr] Migrating src/lib.rs from 2021 edition to 2024 [INFO] [stderr] Checking ppv-lite86 v0.2.20 [INFO] [stderr] warning: failed to automatically apply fixes suggested by rustc to crate `maitake_sync` [INFO] [stderr] [INFO] [stderr] after fixes were automatically applied the compiler reported errors within these files: [INFO] [stderr] [INFO] [stderr] * src/wait_cell.rs [INFO] [stderr] [INFO] [stderr] This likely indicates a bug in either rustc or cargo itself, [INFO] [stderr] and we would appreciate a bug report! You're likely to see [INFO] [stderr] a number of compiler warnings after this message which cargo [INFO] [stderr] attempted to fix but failed. If you could open an issue at [INFO] [stderr] https://github.com/rust-lang/rust/issues [INFO] [stderr] quoting the full output of this command we'd be very appreciative! [INFO] [stderr] Note that you may be able to make some more progress in the near-term [INFO] [stderr] fixing code with the `--broken-code` flag [INFO] [stderr] [INFO] [stderr] The following errors were reported: [INFO] [stderr] error: mismatched closing delimiter: `)` [INFO] [stderr] --> src/wait_cell.rs:505:91 [INFO] [stderr] | [INFO] [stderr] 505 | if !test_dbg!(state.contains(State::WAKING | State::REGISTERING | State::CLOSED)) { [INFO] [stderr] | ^ unclosed delimiter [INFO] [stderr] ... [INFO] [stderr] 512 | match waker) { Some(waker) => { [INFO] [stderr] | ^ mismatched closing delimiter [INFO] [stderr] [INFO] [stderr] error: unexpected closing delimiter: `}` [INFO] [stderr] --> src/wait_cell.rs:520:1 [INFO] [stderr] | [INFO] [stderr] 512 | match waker) { Some(waker) => { [INFO] [stderr] | - missing open `(` for this delimiter [INFO] [stderr] ... [INFO] [stderr] 520 | } [INFO] [stderr] | ^ unexpected closing delimiter [INFO] [stderr] [INFO] [stderr] error: aborting due to 2 previous errors [INFO] [stderr] [INFO] [stderr] Original diagnostics will follow. [INFO] [stderr] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/util.rs:25:9 [INFO] [stdout] | [INFO] [stdout] 25 | ($e:expr) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] = note: `--force-warn edition-2024-expr-fragment-specifier` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 25 | ($e:expr_2021) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/util.rs:80:13 [INFO] [stdout] | [INFO] [stdout] 80 | ($self: expr, $f: expr, $has_states: ident, $($name: ident),+) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 80 | ($self: expr_2021, $f: expr, $has_states: ident, $($name: ident),+) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/util.rs:80:23 [INFO] [stdout] | [INFO] [stdout] 80 | ($self: expr, $f: expr, $has_states: ident, $($name: ident),+) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 80 | ($self: expr, $f: expr_2021, $has_states: ident, $($name: ident),+) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/util.rs:164:11 [INFO] [stdout] | [INFO] [stdout] 164 | ($msg:expr) => ({ [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 164 | ($msg:expr_2021) => ({ [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/util.rs:167:11 [INFO] [stdout] | [INFO] [stdout] 167 | ($msg:expr,) => ({ [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 167 | ($msg:expr_2021,) => ({ [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/util.rs:170:11 [INFO] [stdout] | [INFO] [stdout] 170 | ($fmt:expr, $($arg:tt)*) => ({ [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 170 | ($fmt:expr_2021, $($arg:tt)*) => ({ [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/loom.rs:251:18 [INFO] [stdout] | [INFO] [stdout] 251 | &*self.0 [INFO] [stdout] | ^^^^^^^ dereference of raw pointer [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/loom.rs:250:13 [INFO] [stdout] | [INFO] [stdout] 250 | pub(crate) unsafe fn deref(&self) -> &T { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `--force-warn unsafe-op-in-unsafe-fn` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/loom.rs:273:22 [INFO] [stdout] | [INFO] [stdout] 273 | &mut *self.0 [INFO] [stdout] | ^^^^^^^ dereference of raw pointer [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/loom.rs:272:13 [INFO] [stdout] | [INFO] [stdout] 272 | pub(crate) unsafe fn deref(&self) -> &mut T { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `core::mem::MaybeUninit::::assume_init` is unsafe and requires unsafe block [INFO] [stdout] --> src/util/maybe_uninit.rs:146:9 [INFO] [stdout] | [INFO] [stdout] 146 | self.assert_init_val("assume_init").assume_init() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/util/maybe_uninit.rs:145:5 [INFO] [stdout] | [INFO] [stdout] 145 | pub unsafe fn assume_init(self) -> T { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `core::mem::MaybeUninit::::assume_init_read` is unsafe and requires unsafe block [INFO] [stdout] --> src/util/maybe_uninit.rs:175:9 [INFO] [stdout] | [INFO] [stdout] 175 | self.assert_init("assume_init_read").assume_init_read() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/util/maybe_uninit.rs:174:5 [INFO] [stdout] | [INFO] [stdout] 174 | pub unsafe fn assume_init_read(&self) -> T { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `core::mem::MaybeUninit::::assume_init_drop` is unsafe and requires unsafe block [INFO] [stdout] --> src/util/maybe_uninit.rs:202:9 [INFO] [stdout] | [INFO] [stdout] 202 | self.assert_init_mut("assume_init_drop").assume_init_drop() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/util/maybe_uninit.rs:201:5 [INFO] [stdout] | [INFO] [stdout] 201 | pub unsafe fn assume_init_drop(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `core::mem::MaybeUninit::::assume_init_ref` is unsafe and requires unsafe block [INFO] [stdout] --> src/util/maybe_uninit.rs:260:9 [INFO] [stdout] | [INFO] [stdout] 260 | self.assert_init("assume_init_ref").assume_init_ref() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/util/maybe_uninit.rs:259:5 [INFO] [stdout] | [INFO] [stdout] 259 | pub unsafe fn assume_init_ref(&self) -> &T { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `core::mem::MaybeUninit::::assume_init_mut` is unsafe and requires unsafe block [INFO] [stdout] --> src/util/maybe_uninit.rs:372:9 [INFO] [stdout] | [INFO] [stdout] 372 | self.assert_init_mut("assume_init_mut").assume_init_mut() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/util/maybe_uninit.rs:371:5 [INFO] [stdout] | [INFO] [stdout] 371 | pub unsafe fn assume_init_mut(&mut self) -> &mut T { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/semaphore.rs:1062:34 [INFO] [stdout] | [INFO] [stdout] 1062 | let node = ptr::addr_of!((*target.as_ptr()).node); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/semaphore.rs:1059:5 [INFO] [stdout] | [INFO] [stdout] 1059 | unsafe fn links(target: NonNull) -> NonNull> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/semaphore.rs:1063:9 [INFO] [stdout] | [INFO] [stdout] 1063 | (*node).with_mut(|node| { [INFO] [stdout] | ^^^^^^^ dereference of raw pointer [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/semaphore.rs:1064:43 [INFO] [stdout] | [INFO] [stdout] 1064 | let links = ptr::addr_of_mut!((*node).links); [INFO] [stdout] | ^^^^^^^ dereference of raw pointer [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `core::ptr::NonNull::::new_unchecked` is unsafe and requires unsafe block [INFO] [stdout] --> src/semaphore.rs:1068:13 [INFO] [stdout] | [INFO] [stdout] 1068 | NonNull::new_unchecked(links) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/wait_map.rs:894:34 [INFO] [stdout] | [INFO] [stdout] 894 | let node = ptr::addr_of!((*target.as_ptr()).node); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/wait_map.rs:891:5 [INFO] [stdout] | [INFO] [stdout] 891 | unsafe fn links(target: NonNull) -> NonNull>> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/wait_map.rs:895:9 [INFO] [stdout] | [INFO] [stdout] 895 | (*node).with_mut(|node| { [INFO] [stdout] | ^^^^^^^ dereference of raw pointer [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/wait_map.rs:896:43 [INFO] [stdout] | [INFO] [stdout] 896 | let links = ptr::addr_of_mut!((*node).links); [INFO] [stdout] | ^^^^^^^ dereference of raw pointer [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `core::ptr::NonNull::::new_unchecked` is unsafe and requires unsafe block [INFO] [stdout] --> src/wait_map.rs:900:13 [INFO] [stdout] | [INFO] [stdout] 900 | NonNull::new_unchecked(links) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/wait_queue.rs:1241:34 [INFO] [stdout] | [INFO] [stdout] 1241 | let node = ptr::addr_of!((*target.as_ptr()).node); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/wait_queue.rs:1238:5 [INFO] [stdout] | [INFO] [stdout] 1238 | unsafe fn links(target: NonNull) -> NonNull> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/wait_queue.rs:1242:9 [INFO] [stdout] | [INFO] [stdout] 1242 | (*node).with_mut(|node| { [INFO] [stdout] | ^^^^^^^ dereference of raw pointer [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/wait_queue.rs:1243:43 [INFO] [stdout] | [INFO] [stdout] 1243 | let links = ptr::addr_of_mut!((*node).links); [INFO] [stdout] | ^^^^^^^ dereference of raw pointer [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `core::ptr::NonNull::::new_unchecked` is unsafe and requires unsafe block [INFO] [stdout] --> src/wait_queue.rs:1247:13 [INFO] [stdout] | [INFO] [stdout] 1247 | NonNull::new_unchecked(links) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/semaphore.rs:418:16 [INFO] [stdout] | [INFO] [stdout] 418 | if let Some(waker) = Waiter::take_waker(waiter, &mut waiters.queue) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^---------------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/semaphore.rs:420:13 [INFO] [stdout] | [INFO] [stdout] 420 | } [INFO] [stdout] | ^ [INFO] [stdout] = note: `--force-warn if-let-rescope` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 418 ~ match Waiter::take_waker(waiter, &mut waiters.queue) { Some(waker) => { [INFO] [stdout] 419 | waker.wake(); [INFO] [stdout] 420 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/semaphore.rs:639:20 [INFO] [stdout] | [INFO] [stdout] 639 | if let Some(waker) = waker { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^----- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/semaphore.rs:641:17 [INFO] [stdout] | [INFO] [stdout] 641 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 639 ~ match waker { Some(waker) => { [INFO] [stdout] 640 | batch.add_waker(waker); [INFO] [stdout] 641 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/wait_cell.rs:304:12 [INFO] [stdout] | [INFO] [stdout] 304 | if let Some(waker) = self.take_waker(false) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^---------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/wait_cell.rs:307:9 [INFO] [stdout] | [INFO] [stdout] 307 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 304 ~ match self.take_waker(false) { Some(waker) => { [INFO] [stdout] 305 | waker.wake(); [INFO] [stdout] 306 | true [INFO] [stdout] 307 ~ } _ => { [INFO] [stdout] 308 | false [INFO] [stdout] 309 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/wait_cell.rs:322:12 [INFO] [stdout] | [INFO] [stdout] 322 | if let Some(waker) = self.take_waker(true) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^--------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/wait_cell.rs:325:9 [INFO] [stdout] | [INFO] [stdout] 325 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 322 ~ match self.take_waker(true) { Some(waker) => { [INFO] [stdout] 323 | waker.wake(); [INFO] [stdout] 324 | true [INFO] [stdout] 325 ~ } _ => { [INFO] [stdout] 326 | false [INFO] [stdout] 327 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/wait_cell.rs:512:16 [INFO] [stdout] | [INFO] [stdout] 512 | if let Some(waker) = test_dbg!(waker) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^-----^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/wait_cell.rs:515:13 [INFO] [stdout] | [INFO] [stdout] 515 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 512 ~ match waker) { Some(waker) => { [INFO] [stdout] 513 | trace!(wait_cell = ?fmt::ptr(self), ?close, ?waker, "notified"); [INFO] [stdout] 514 | return Some(waker); [INFO] [stdout] 515 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/wait_map.rs:483:12 [INFO] [stdout] | [INFO] [stdout] 483 | if let Some(node) = self.node_match_locked(key, &mut *queue, state) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^------^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/wait_map.rs:488:9 [INFO] [stdout] | [INFO] [stdout] 488 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 483 ~ match self.node_match_locked(key, &mut *queue, state) { Some(node) => { [INFO] [stdout] 484 | let waker = Waiter::::wake(node, &mut *queue, Wakeup::DataReceived(val)); [INFO] [stdout] ... [INFO] [stdout] 487 | WakeOutcome::Woke [INFO] [stdout] 488 ~ } _ => { [INFO] [stdout] 489 | WakeOutcome::NoMatch(val) [INFO] [stdout] 490 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `impl core::fmt::Display` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/wait_queue.rs:261:1 [INFO] [stdout] | [INFO] [stdout] 261 | / bitfield! { [INFO] [stdout] 262 | | #[derive(Eq, PartialEq)] [INFO] [stdout] 263 | | struct QueueState { [INFO] [stdout] 264 | | /// The queue's state. [INFO] [stdout] ... | [INFO] [stdout] 269 | | } [INFO] [stdout] 270 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] note: specifically, this lifetime is in scope but not mentioned in the type's bounds [INFO] [stdout] --> src/wait_queue.rs:261:1 [INFO] [stdout] | [INFO] [stdout] 261 | / bitfield! { [INFO] [stdout] 262 | | #[derive(Eq, PartialEq)] [INFO] [stdout] 263 | | struct QueueState { [INFO] [stdout] 264 | | /// The queue's state. [INFO] [stdout] ... | [INFO] [stdout] 269 | | } [INFO] [stdout] 270 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024 [INFO] [stdout] = note: `--force-warn impl-trait-overcaptures` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] = note: this warning originates in the macro `bitfield` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/mycelium-bitfield-0.1.5/src/bitfield.rs:499:68 [INFO] [stdout] | [INFO] [stdout] 499 | $vis fn display_ascii(&self) -> impl core::fmt::Display + use<> { [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `impl core::fmt::Display` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/wait_queue.rs:261:1 [INFO] [stdout] | [INFO] [stdout] 261 | / bitfield! { [INFO] [stdout] 262 | | #[derive(Eq, PartialEq)] [INFO] [stdout] 263 | | struct QueueState { [INFO] [stdout] 264 | | /// The queue's state. [INFO] [stdout] ... | [INFO] [stdout] 269 | | } [INFO] [stdout] 270 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] note: specifically, this lifetime is in scope but not mentioned in the type's bounds [INFO] [stdout] --> src/wait_queue.rs:261:1 [INFO] [stdout] | [INFO] [stdout] 261 | / bitfield! { [INFO] [stdout] 262 | | #[derive(Eq, PartialEq)] [INFO] [stdout] 263 | | struct QueueState { [INFO] [stdout] 264 | | /// The queue's state. [INFO] [stdout] ... | [INFO] [stdout] 269 | | } [INFO] [stdout] 270 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024 [INFO] [stdout] = note: this warning originates in the macro `bitfield` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/mycelium-bitfield-0.1.5/src/bitfield.rs:516:70 [INFO] [stdout] | [INFO] [stdout] 516 | $vis fn display_unicode(&self) -> impl core::fmt::Display + use<> { [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `impl core::fmt::Display` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/wait_queue.rs:272:1 [INFO] [stdout] | [INFO] [stdout] 272 | / bitfield! { [INFO] [stdout] 273 | | #[derive(Eq, PartialEq)] [INFO] [stdout] 274 | | struct WaitStateBits { [INFO] [stdout] 275 | | /// The waiter's state. [INFO] [stdout] ... | [INFO] [stdout] 280 | | } [INFO] [stdout] 281 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] note: specifically, this lifetime is in scope but not mentioned in the type's bounds [INFO] [stdout] --> src/wait_queue.rs:272:1 [INFO] [stdout] | [INFO] [stdout] 272 | / bitfield! { [INFO] [stdout] 273 | | #[derive(Eq, PartialEq)] [INFO] [stdout] 274 | | struct WaitStateBits { [INFO] [stdout] 275 | | /// The waiter's state. [INFO] [stdout] ... | [INFO] [stdout] 280 | | } [INFO] [stdout] 281 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024 [INFO] [stdout] = note: this warning originates in the macro `bitfield` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/mycelium-bitfield-0.1.5/src/bitfield.rs:499:68 [INFO] [stdout] | [INFO] [stdout] 499 | $vis fn display_ascii(&self) -> impl core::fmt::Display + use<> { [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `impl core::fmt::Display` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/wait_queue.rs:272:1 [INFO] [stdout] | [INFO] [stdout] 272 | / bitfield! { [INFO] [stdout] 273 | | #[derive(Eq, PartialEq)] [INFO] [stdout] 274 | | struct WaitStateBits { [INFO] [stdout] 275 | | /// The waiter's state. [INFO] [stdout] ... | [INFO] [stdout] 280 | | } [INFO] [stdout] 281 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] note: specifically, this lifetime is in scope but not mentioned in the type's bounds [INFO] [stdout] --> src/wait_queue.rs:272:1 [INFO] [stdout] | [INFO] [stdout] 272 | / bitfield! { [INFO] [stdout] 273 | | #[derive(Eq, PartialEq)] [INFO] [stdout] 274 | | struct WaitStateBits { [INFO] [stdout] 275 | | /// The waiter's state. [INFO] [stdout] ... | [INFO] [stdout] 280 | | } [INFO] [stdout] 281 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024 [INFO] [stdout] = note: this warning originates in the macro `bitfield` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/mycelium-bitfield-0.1.5/src/bitfield.rs:516:70 [INFO] [stdout] | [INFO] [stdout] 516 | $vis fn display_unicode(&self) -> impl core::fmt::Display + use<> { [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/wait_queue.rs:465:12 [INFO] [stdout] | [INFO] [stdout] 465 | if let Some(waker) = self.wake_locked(&mut queue, state) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^----------------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/wait_queue.rs:468:9 [INFO] [stdout] | [INFO] [stdout] 468 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 465 ~ match self.wake_locked(&mut queue, state) { Some(waker) => { [INFO] [stdout] 466 | drop(queue); [INFO] [stdout] 467 | waker.wake(); [INFO] [stdout] 468 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/wait_queue.rs:1219:16 [INFO] [stdout] | [INFO] [stdout] 1219 | if let Some(waker) = queue.wake_locked(&mut waiters, state) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^-------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/wait_queue.rs:1222:13 [INFO] [stdout] | [INFO] [stdout] 1222 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 1219 ~ match queue.wake_locked(&mut waiters, state) { Some(waker) => { [INFO] [stdout] 1220 | drop(waiters); [INFO] [stdout] 1221 | waker.wake() [INFO] [stdout] 1222 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0133`. [INFO] [stdout] [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking tokio-stream v0.1.16 [INFO] [stderr] Checking proptest v1.5.0 [INFO] [stderr] Checking tokio-test v0.4.4 [INFO] [stderr] Checking futures-executor v0.3.31 [INFO] [stderr] Checking futures v0.3.31 [INFO] [stderr] Fixed src/loom.rs (3 fixes) [INFO] [stderr] Fixed src/util.rs (6 fixes) [INFO] [stderr] Fixed src/wait_queue.rs (3 fixes) [INFO] [stderr] Fixed src/wait_cell.rs (2 fixes) [INFO] [stderr] Fixed src/wait_map.rs (2 fixes) [INFO] [stderr] Fixed src/semaphore.rs (3 fixes) [INFO] [stderr] Fixed src/util/maybe_uninit.rs (5 fixes) [INFO] [stderr] Fixed src/semaphore/tests/loom.rs (2 fixes) [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/wait_cell.rs:512:16 [INFO] [stdout] | [INFO] [stdout] 512 | if let Some(waker) = test_dbg!(waker) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/util.rs:33:9 [INFO] [stdout] | [INFO] [stdout] 33 | / match $e { [INFO] [stdout] 34 | | e => { [INFO] [stdout] 35 | | tracing::debug!( [INFO] [stdout] 36 | | location = %core::panic::Location::caller(), [INFO] [stdout] ... | [INFO] [stdout] 42 | | } [INFO] [stdout] 43 | | } [INFO] [stdout] | |_________- this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/wait_cell.rs:515:13 [INFO] [stdout] | [INFO] [stdout] 515 | } [INFO] [stdout] | ^ [INFO] [stdout] = note: `--force-warn if-let-rescope` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `impl std::fmt::Display` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/wait_queue.rs:261:1 [INFO] [stdout] | [INFO] [stdout] 261 | / bitfield! { [INFO] [stdout] 262 | | #[derive(Eq, PartialEq)] [INFO] [stdout] 263 | | struct QueueState { [INFO] [stdout] 264 | | /// The queue's state. [INFO] [stdout] ... | [INFO] [stdout] 269 | | } [INFO] [stdout] 270 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] note: specifically, this lifetime is in scope but not mentioned in the type's bounds [INFO] [stdout] --> src/wait_queue.rs:261:1 [INFO] [stdout] | [INFO] [stdout] 261 | / bitfield! { [INFO] [stdout] 262 | | #[derive(Eq, PartialEq)] [INFO] [stdout] 263 | | struct QueueState { [INFO] [stdout] 264 | | /// The queue's state. [INFO] [stdout] ... | [INFO] [stdout] 269 | | } [INFO] [stdout] 270 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024 [INFO] [stdout] = note: `--force-warn impl-trait-overcaptures` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] = note: this warning originates in the macro `bitfield` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/mycelium-bitfield-0.1.5/src/bitfield.rs:499:68 [INFO] [stdout] | [INFO] [stdout] 499 | $vis fn display_ascii(&self) -> impl core::fmt::Display + use<> { [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `impl std::fmt::Display` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/wait_queue.rs:261:1 [INFO] [stdout] | [INFO] [stdout] 261 | / bitfield! { [INFO] [stdout] 262 | | #[derive(Eq, PartialEq)] [INFO] [stdout] 263 | | struct QueueState { [INFO] [stdout] 264 | | /// The queue's state. [INFO] [stdout] ... | [INFO] [stdout] 269 | | } [INFO] [stdout] 270 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] note: specifically, this lifetime is in scope but not mentioned in the type's bounds [INFO] [stdout] --> src/wait_queue.rs:261:1 [INFO] [stdout] | [INFO] [stdout] 261 | / bitfield! { [INFO] [stdout] 262 | | #[derive(Eq, PartialEq)] [INFO] [stdout] 263 | | struct QueueState { [INFO] [stdout] 264 | | /// The queue's state. [INFO] [stdout] ... | [INFO] [stdout] 269 | | } [INFO] [stdout] 270 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024 [INFO] [stdout] = note: this warning originates in the macro `bitfield` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/mycelium-bitfield-0.1.5/src/bitfield.rs:516:70 [INFO] [stdout] | [INFO] [stdout] 516 | $vis fn display_unicode(&self) -> impl core::fmt::Display + use<> { [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `impl std::fmt::Display` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/wait_queue.rs:272:1 [INFO] [stdout] | [INFO] [stdout] 272 | / bitfield! { [INFO] [stdout] 273 | | #[derive(Eq, PartialEq)] [INFO] [stdout] 274 | | struct WaitStateBits { [INFO] [stdout] 275 | | /// The waiter's state. [INFO] [stdout] ... | [INFO] [stdout] 280 | | } [INFO] [stdout] 281 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] note: specifically, this lifetime is in scope but not mentioned in the type's bounds [INFO] [stdout] --> src/wait_queue.rs:272:1 [INFO] [stdout] | [INFO] [stdout] 272 | / bitfield! { [INFO] [stdout] 273 | | #[derive(Eq, PartialEq)] [INFO] [stdout] 274 | | struct WaitStateBits { [INFO] [stdout] 275 | | /// The waiter's state. [INFO] [stdout] ... | [INFO] [stdout] 280 | | } [INFO] [stdout] 281 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024 [INFO] [stdout] = note: this warning originates in the macro `bitfield` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/mycelium-bitfield-0.1.5/src/bitfield.rs:499:68 [INFO] [stdout] | [INFO] [stdout] 499 | $vis fn display_ascii(&self) -> impl core::fmt::Display + use<> { [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `impl std::fmt::Display` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/wait_queue.rs:272:1 [INFO] [stdout] | [INFO] [stdout] 272 | / bitfield! { [INFO] [stdout] 273 | | #[derive(Eq, PartialEq)] [INFO] [stdout] 274 | | struct WaitStateBits { [INFO] [stdout] 275 | | /// The waiter's state. [INFO] [stdout] ... | [INFO] [stdout] 280 | | } [INFO] [stdout] 281 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] note: specifically, this lifetime is in scope but not mentioned in the type's bounds [INFO] [stdout] --> src/wait_queue.rs:272:1 [INFO] [stdout] | [INFO] [stdout] 272 | / bitfield! { [INFO] [stdout] 273 | | #[derive(Eq, PartialEq)] [INFO] [stdout] 274 | | struct WaitStateBits { [INFO] [stdout] 275 | | /// The waiter's state. [INFO] [stdout] ... | [INFO] [stdout] 280 | | } [INFO] [stdout] 281 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024 [INFO] [stdout] = note: this warning originates in the macro `bitfield` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/mycelium-bitfield-0.1.5/src/bitfield.rs:516:70 [INFO] [stdout] | [INFO] [stdout] 516 | $vis fn display_unicode(&self) -> impl core::fmt::Display + use<> { [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 8.53s [INFO] [stderr] Running `cargo check` to verify 2024 [INFO] [stderr] Checking maitake-sync v0.1.2 (/tmp/fixit) [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/util/maybe_uninit.rs:423:40 [INFO] [stdout] | [INFO] [stdout] 423 | s.field("value", unsafe { &self.assume_init_ref() }); [INFO] [stdout] | -^^^^^^^^^^^^^^^^^^^^^- [INFO] [stdout] | || | [INFO] [stdout] | || temporary value is freed at the end of this statement [INFO] [stdout] | |creates a temporary value which is freed while still in use [INFO] [stdout] | borrow later used here [INFO] [stdout] | [INFO] [stdout] = note: consider using a `let` binding to create a longer lived value [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0716`. [INFO] [stdout] [INFO] [stderr] error: could not compile `maitake-sync` (lib) due to 1 previous error [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/util/maybe_uninit.rs:423:40 [INFO] [stdout] | [INFO] [stdout] 423 | s.field("value", unsafe { &self.assume_init_ref() }); [INFO] [stdout] | -^^^^^^^^^^^^^^^^^^^^^- [INFO] [stdout] | || | [INFO] [stdout] | || temporary value is freed at the end of this statement [INFO] [stdout] | |creates a temporary value which is freed while still in use [INFO] [stdout] | borrow later used here [INFO] [stdout] | [INFO] [stdout] = note: consider using a `let` binding to create a longer lived value [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0716`. [INFO] [stdout] [INFO] [stderr] error: could not compile `maitake-sync` (lib test) due to 1 previous error [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" "491be1a0abc45e59fcc16a94438f5aac31f0c702b1f8ece3bdafa0d64161e020", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "491be1a0abc45e59fcc16a94438f5aac31f0c702b1f8ece3bdafa0d64161e020", kill_on_drop: false }` [INFO] [stdout] 491be1a0abc45e59fcc16a94438f5aac31f0c702b1f8ece3bdafa0d64161e020