[INFO] fetching crate cordwood 0.0.4... [INFO] checking cordwood-0.0.4 against try#ccf408f4326a858c00dd845a64a86b16f360a801 for pr-129466-2 [INFO] extracting crate cordwood 0.0.4 into /workspace/builds/worker-2-tc2/source [INFO] validating manifest of crates.io crate cordwood 0.0.4 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 cordwood 0.0.4 [INFO] finished tweaking crates.io crate cordwood 0.0.4 [INFO] tweaked toml for crates.io crate cordwood 0.0.4 written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] crate crates.io crate cordwood 0.0.4 already has a lockfile, it will not be regenerated [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-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d21d4f8a80cc5640dcd676ae766b78c288f445c2b3c5d1502b80a01966cf65b0 [INFO] running `Command { std: "docker" "start" "-a" "d21d4f8a80cc5640dcd676ae766b78c288f445c2b3c5d1502b80a01966cf65b0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d21d4f8a80cc5640dcd676ae766b78c288f445c2b3c5d1502b80a01966cf65b0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d21d4f8a80cc5640dcd676ae766b78c288f445c2b3c5d1502b80a01966cf65b0", kill_on_drop: false }` [INFO] [stdout] d21d4f8a80cc5640dcd676ae766b78c288f445c2b3c5d1502b80a01966cf65b0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b71094875be87a32a451e236cbdbe239f4d83e0df721fced8be90406e4fd679f [INFO] running `Command { std: "docker" "start" "-a" "b71094875be87a32a451e236cbdbe239f4d83e0df721fced8be90406e4fd679f", 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] Compiling proc-macro2 v1.0.78 [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Compiling crossbeam-utils v0.8.19 [INFO] [stderr] Checking memchr v2.7.1 [INFO] [stderr] Compiling crunchy v0.2.2 [INFO] [stderr] Compiling parking_lot_core v0.9.9 [INFO] [stderr] Checking once_cell v1.19.0 [INFO] [stderr] Checking pin-project-lite v0.2.13 [INFO] [stderr] Compiling serde v1.0.196 [INFO] [stderr] Compiling ahash v0.8.7 [INFO] [stderr] Compiling lock_api v0.4.11 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Checking bitflags v2.4.2 [INFO] [stderr] Checking smallvec v1.13.1 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Checking zerocopy v0.7.32 [INFO] [stderr] Checking bytes v1.5.0 [INFO] [stderr] Checking ppv-lite86 v0.2.17 [INFO] [stderr] Checking allocator-api2 v0.2.16 [INFO] [stderr] Checking anstyle-parse v0.2.3 [INFO] [stderr] Compiling num-traits v0.2.17 [INFO] [stderr] Checking anstyle-query v1.0.2 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Compiling async-trait v0.1.77 [INFO] [stderr] Compiling libaio-futures v0.2.3 [INFO] [stderr] Compiling rustix v0.38.31 [INFO] [stderr] Compiling serde_json v1.0.113 [INFO] [stderr] Checking anstyle v1.0.6 [INFO] [stderr] Checking either v1.9.0 [INFO] [stderr] Checking half v2.3.1 [INFO] [stderr] Checking rlp v0.5.2 [INFO] [stderr] Checking plotters-backend v0.3.5 [INFO] [stderr] Checking crc-catalog v2.4.0 [INFO] [stderr] Checking aho-corasick v1.1.2 [INFO] [stderr] Checking ryu v1.0.16 [INFO] [stderr] Checking linux-raw-sys v0.4.13 [INFO] [stderr] Checking anstream v0.6.11 [INFO] [stderr] Checking itoa v1.0.10 [INFO] [stderr] Checking hashbrown v0.14.3 [INFO] [stderr] Checking ciborium-io v0.2.2 [INFO] [stderr] Checking crossbeam-epoch v0.9.18 [INFO] [stderr] Checking crossbeam-channel v0.5.11 [INFO] [stderr] Checking impl-rlp v0.3.0 [INFO] [stderr] Checking crc v3.0.1 [INFO] [stderr] Checking itertools v0.10.5 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Checking plotters-svg v0.3.5 [INFO] [stderr] Checking clap_builder v4.4.18 [INFO] [stderr] Checking ciborium-ll v0.2.2 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Checking uint v0.9.5 [INFO] [stderr] Checking cast v0.3.0 [INFO] [stderr] Checking hash-db v0.15.2 [INFO] [stderr] Compiling syn v2.0.48 [INFO] [stderr] Checking crossbeam-deque v0.8.5 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking same-file v1.0.6 [INFO] [stderr] Checking tiny-keccak v2.0.2 [INFO] [stderr] Checking hash256-std-hasher v0.15.2 [INFO] [stderr] Checking walkdir v2.4.0 [INFO] [stderr] Checking oorandom v11.1.3 [INFO] [stderr] Checking anes v0.1.6 [INFO] [stderr] Checking rayon-core v1.12.1 [INFO] [stderr] Checking triehash v0.8.4 [INFO] [stderr] Checking sha3 v0.10.8 [INFO] [stderr] Checking keccak-hasher v0.15.3 [INFO] [stderr] Checking lru v0.12.2 [INFO] [stderr] Checking rayon v1.8.1 [INFO] [stderr] Checking regex-automata v0.4.5 [INFO] [stderr] Checking plotters v0.3.5 [INFO] [stderr] Checking getrandom v0.2.12 [INFO] [stderr] Checking nix v0.27.1 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Checking is-terminal v0.4.10 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking shale v0.1.9 [INFO] [stderr] Checking criterion-plot v0.5.0 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking fixed-hash v0.8.0 [INFO] [stderr] Checking primitive-types v0.12.2 [INFO] [stderr] Checking regex v1.10.3 [INFO] [stderr] Checking scan_fmt v0.2.6 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Compiling serde_derive v1.0.196 [INFO] [stderr] Compiling tokio-macros v2.2.0 [INFO] [stderr] Compiling typed-builder-macro v0.18.1 [INFO] [stderr] Compiling clap_derive v4.4.7 [INFO] [stderr] Compiling enum-as-inner v0.6.0 [INFO] [stderr] Checking tokio v1.36.0 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Checking typed-builder v0.18.1 [INFO] [stderr] Checking clap v4.4.18 [INFO] [stderr] Checking futures-executor v0.3.30 [INFO] [stderr] Checking futures v0.3.30 [INFO] [stderr] Checking growth-ring v0.3.1 [INFO] [stderr] Checking cordwood v0.0.4 (/tmp/fixit) [INFO] [stderr] Migrating src/lib.rs from 2021 edition to 2024 [INFO] [stderr] Checking ciborium v0.2.2 [INFO] [stderr] warning: failed to automatically apply fixes suggested by rustc to crate `cordwood` [INFO] [stderr] [INFO] [stderr] after fixes were automatically applied the compiler reported errors within these files: [INFO] [stderr] [INFO] [stderr] * src/merkle.rs [INFO] [stderr] * src/storage.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[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/merkle.rs:577:6 [INFO] [stderr] | [INFO] [stderr] 577 | ($self: expr_2021, $r: expr_2021, $modify: expr_2021, $parents: expr_2021, $deleted: expr_2021) => { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/merkle.rs:577:24 [INFO] [stderr] | [INFO] [stderr] 577 | ($self: expr_2021, $r: expr_2021, $modify: expr_2021, $parents: expr_2021, $deleted: expr_2021) => { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/merkle.rs:577:39 [INFO] [stderr] | [INFO] [stderr] 577 | ($self: expr_2021, $r: expr_2021, $modify: expr_2021, $parents: expr_2021, $deleted: expr_2021) => { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/merkle.rs:577:59 [INFO] [stderr] | [INFO] [stderr] 577 | ($self: expr_2021, $r: expr_2021, $modify: expr_2021, $parents: expr_2021, $deleted: expr_2021) => { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/merkle.rs:577:80 [INFO] [stderr] | [INFO] [stderr] 577 | ($self: expr_2021, $r: expr_2021, $modify: expr_2021, $parents: expr_2021, $deleted: expr_2021) => { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/storage.rs:163:14 [INFO] [stderr] | [INFO] [stderr] 163 | ($l: expr_2021, $r: expr_2021) => { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/storage.rs:163:29 [INFO] [stderr] | [INFO] [stderr] 163 | ($l: expr_2021, $r: expr_2021) => { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/storage.rs:529:54 [INFO] [stdout] | [INFO] [stdout] 529 | let data: Box<[u8]> = (l..r).map(|_| rng.gen()).collect(); [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #49716 [INFO] [stdout] = note: `--force-warn keyword-idents-2024` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] | [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/merkle.rs:577:13 [INFO] [stdout] | [INFO] [stdout] 577 | ($self: expr, $r: expr, $modify: expr, $parents: expr, $deleted: 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] 577 | ($self: expr_2021, $r: expr, $modify: expr, $parents: expr, $deleted: expr) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/merkle.rs:577:23 [INFO] [stdout] | [INFO] [stdout] 577 | ($self: expr, $r: expr, $modify: expr, $parents: expr, $deleted: 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] 577 | ($self: expr, $r: expr_2021, $modify: expr, $parents: expr, $deleted: expr) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/merkle.rs:577:38 [INFO] [stdout] | [INFO] [stdout] 577 | ($self: expr, $r: expr, $modify: expr, $parents: expr, $deleted: 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] 577 | ($self: expr, $r: expr, $modify: expr_2021, $parents: expr, $deleted: expr) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/merkle.rs:577:54 [INFO] [stdout] | [INFO] [stdout] 577 | ($self: expr, $r: expr, $modify: expr, $parents: expr, $deleted: 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] 577 | ($self: expr, $r: expr, $modify: expr, $parents: expr_2021, $deleted: expr) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/merkle.rs:577:70 [INFO] [stdout] | [INFO] [stdout] 577 | ($self: expr, $r: expr, $modify: expr, $parents: expr, $deleted: 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] 577 | ($self: expr, $r: expr, $modify: expr, $parents: expr, $deleted: expr_2021) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: aborting due to 7 previous errors [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/storage.rs:163:18 [INFO] [stdout] | [INFO] [stdout] 163 | ($l: expr, $r: 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] 163 | ($l: expr_2021, $r: expr) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/storage.rs:163:28 [INFO] [stdout] | [INFO] [stdout] 163 | ($l: expr, $r: 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] 163 | ($l: expr, $r: expr_2021) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] For more information about this error, try `rustc --explain E0658`. [INFO] [stdout] warning[E0133]: call to unsafe function `std::intrinsics::transmute` is unsafe and requires unsafe block [INFO] [stdout] --> src/storage.rs:873:9 [INFO] [stdout] | [INFO] [stdout] 873 | std::mem::transmute::<&mut Self, &'static mut Self>(self) [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/storage.rs:872:5 [INFO] [stdout] | [INFO] [stdout] 872 | unsafe fn get_longlive_self(&mut self) -> &'static mut Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `--force-warn unsafe-op-in-unsafe-fn` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Original diagnostics will follow. [INFO] [stderr] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/merkle.rs:578:12 [INFO] [stdout] | [INFO] [stdout] 578 | if let None = $r.write($modify) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 768 | / write_node!( [INFO] [stdout] 769 | | self, [INFO] [stdout] 770 | | u_ref, [INFO] [stdout] | | ----- this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] 771 | | |u| { [INFO] [stdout] ... | [INFO] [stdout] 795 | | deleted [INFO] [stdout] 796 | | ); [INFO] [stdout] | |_____________________- in this macro invocation [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/merkle.rs:583:9 [INFO] [stdout] | [INFO] [stdout] 583 | } else { [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 768 | / write_node!( [INFO] [stdout] 769 | | self, [INFO] [stdout] 770 | | u_ref, [INFO] [stdout] 771 | | |u| { [INFO] [stdout] ... | [INFO] [stdout] 795 | | deleted [INFO] [stdout] 796 | | ); [INFO] [stdout] | |_____________________- in this macro invocation [INFO] [stdout] = note: `--force-warn if-let-rescope` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] = note: this warning originates in the macro `write_node` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/merkle.rs:918:24 [INFO] [stdout] | [INFO] [stdout] 918 | if let Some(v) = self.split( [INFO] [stdout] | ________________________^ - [INFO] [stdout] | |______________________________________| [INFO] [stdout] 919 | || u, [INFO] [stdout] 920 | || &mut parents, [INFO] [stdout] 921 | || &chunks[i..], [INFO] [stdout] ... || [INFO] [stdout] 925 | || &mut deleted, [INFO] [stdout] 926 | || )? { [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] | [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/merkle.rs:930:21 [INFO] [stdout] | [INFO] [stdout] 930 | } 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] 918 ~ match self.split( [INFO] [stdout] 919 | u, [INFO] [stdout] ... [INFO] [stdout] 925 | &mut deleted, [INFO] [stdout] 926 ~ )? { Some(v) => { [INFO] [stdout] 927 | val = Some(v); [INFO] [stdout] 928 | u = self.get_node(u_ptr)?; [INFO] [stdout] 929 | n_ptr [INFO] [stdout] 930 ~ } _ => { [INFO] [stdout] 931 | break [INFO] [stdout] 932 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/merkle.rs:578:12 [INFO] [stdout] | [INFO] [stdout] 578 | if let None = $r.write($modify) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 943 | / write_node!( [INFO] [stdout] 944 | | self, [INFO] [stdout] 945 | | &mut u, [INFO] [stdout] | | - this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] 946 | | |u| { [INFO] [stdout] ... | [INFO] [stdout] 977 | | &mut deleted [INFO] [stdout] 978 | | ); [INFO] [stdout] | |_________________- in this macro invocation [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/merkle.rs:583:9 [INFO] [stdout] | [INFO] [stdout] 583 | } else { [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 943 | / write_node!( [INFO] [stdout] 944 | | self, [INFO] [stdout] 945 | | &mut u, [INFO] [stdout] 946 | | |u| { [INFO] [stdout] ... | [INFO] [stdout] 977 | | &mut deleted [INFO] [stdout] 978 | | ); [INFO] [stdout] | |_________________- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `write_node` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/merkle.rs:578:12 [INFO] [stdout] | [INFO] [stdout] 578 | if let None = $r.write($modify) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1088 | / write_node!( [INFO] [stdout] 1089 | | self, [INFO] [stdout] 1090 | | p_ref, [INFO] [stdout] | | ----- this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] 1091 | | |p| { [INFO] [stdout] ... | [INFO] [stdout] 1098 | | deleted [INFO] [stdout] 1099 | | ); [INFO] [stdout] | |_____________________________- in this macro invocation [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/merkle.rs:583:9 [INFO] [stdout] | [INFO] [stdout] 583 | } else { [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 1088 | / write_node!( [INFO] [stdout] 1089 | | self, [INFO] [stdout] 1090 | | p_ref, [INFO] [stdout] 1091 | | |p| { [INFO] [stdout] ... | [INFO] [stdout] 1098 | | deleted [INFO] [stdout] 1099 | | ); [INFO] [stdout] | |_____________________________- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `write_node` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/merkle.rs:1112:44 [INFO] [stdout] | [INFO] [stdout] 1112 | ... let c_ptr = if let None = c_ref.write(|c| { [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] | | [INFO] [stdout] 1113 | | ... (match &mut c.inner { [INFO] [stdout] 1114 | | ... NodeType::Leaf(n) => &mut n.0, [INFO] [stdout] 1115 | | ... NodeType::Extension(n) => &mut n.0, [INFO] [stdout] ... | [INFO] [stdout] 1120 | | ... c.rehash() [INFO] [stdout] 1121 | | ... }) { [INFO] [stdout] | |________________________^ [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/merkle.rs:1124:29 [INFO] [stdout] | [INFO] [stdout] 1124 | ... } 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] 1112 ~ let c_ptr = match c_ref.write(|c| { [INFO] [stdout] 1113 | (match &mut c.inner { [INFO] [stdout] ... [INFO] [stdout] 1120 | c.rehash() [INFO] [stdout] 1121 ~ }) { None => { [INFO] [stdout] 1122 | deleted.push(c_ptr); [INFO] [stdout] 1123 | self.new_node(c_ref.clone())?.as_ptr() [INFO] [stdout] 1124 ~ } _ => { [INFO] [stdout] 1125 | c_ptr [INFO] [stdout] 1126 ~ }}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/merkle.rs:578:12 [INFO] [stdout] | [INFO] [stdout] 578 | if let None = $r.write($modify) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1142 | if !write_node!( [INFO] [stdout] | _________________________________- [INFO] [stdout] 1143 | | self, [INFO] [stdout] 1144 | | c_ref, [INFO] [stdout] | | ----- this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] 1145 | | |c| { [INFO] [stdout] ... | [INFO] [stdout] 1158 | | deleted [INFO] [stdout] 1159 | | ) { [INFO] [stdout] | |_____________________________- in this macro invocation [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/merkle.rs:583:9 [INFO] [stdout] | [INFO] [stdout] 583 | } else { [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 1142 | if !write_node!( [INFO] [stdout] | _________________________________- [INFO] [stdout] 1143 | | self, [INFO] [stdout] 1144 | | c_ref, [INFO] [stdout] 1145 | | |c| { [INFO] [stdout] ... | [INFO] [stdout] 1158 | | deleted [INFO] [stdout] 1159 | | ) { [INFO] [stdout] | |_____________________________- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `write_node` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/merkle.rs:578:12 [INFO] [stdout] | [INFO] [stdout] 578 | if let None = $r.write($modify) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1183 | / write_node!( [INFO] [stdout] 1184 | | self, [INFO] [stdout] 1185 | | b_ref, [INFO] [stdout] | | ----- this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] 1186 | | |b| { [INFO] [stdout] ... | [INFO] [stdout] 1215 | | deleted [INFO] [stdout] 1216 | | ); [INFO] [stdout] | |_________________- in this macro invocation [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/merkle.rs:583:9 [INFO] [stdout] | [INFO] [stdout] 583 | } else { [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 1183 | / write_node!( [INFO] [stdout] 1184 | | self, [INFO] [stdout] 1185 | | b_ref, [INFO] [stdout] 1186 | | |b| { [INFO] [stdout] ... | [INFO] [stdout] 1215 | | deleted [INFO] [stdout] 1216 | | ); [INFO] [stdout] | |_________________- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `write_node` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/merkle.rs:1217:20 [INFO] [stdout] | [INFO] [stdout] 1217 | if let Some(e) = err { [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/merkle.rs:1219:17 [INFO] [stdout] | [INFO] [stdout] 1219 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 1217 ~ match err { Some(e) => { [INFO] [stdout] 1218 | return e [INFO] [stdout] 1219 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/merkle.rs:1225:36 [INFO] [stdout] | [INFO] [stdout] 1225 | let c_ptr = if let None = c_ref.write(|c| { [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] | | [INFO] [stdout] 1226 | | match &mut c.inner { [INFO] [stdout] 1227 | | NodeType::Leaf(n) => &mut n.0, [INFO] [stdout] 1228 | | NodeType::Extension(n) => &mut n.0, [INFO] [stdout] ... | [INFO] [stdout] 1233 | | c.rehash() [INFO] [stdout] 1234 | | }) { [INFO] [stdout] | |______________________^ [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/merkle.rs:1237:21 [INFO] [stdout] | [INFO] [stdout] 1237 | } 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] 1225 ~ let c_ptr = match c_ref.write(|c| { [INFO] [stdout] 1226 | match &mut c.inner { [INFO] [stdout] ... [INFO] [stdout] 1233 | c.rehash() [INFO] [stdout] 1234 ~ }) { None => { [INFO] [stdout] 1235 | deleted.push(c_ptr); [INFO] [stdout] 1236 | self.new_node(c_ref.clone())?.as_ptr() [INFO] [stdout] 1237 ~ } _ => { [INFO] [stdout] 1238 | c_ptr [INFO] [stdout] 1239 ~ }}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/merkle.rs:1251:36 [INFO] [stdout] | [INFO] [stdout] 1251 | let c_ptr = if let None = c_ref.write(|c| { [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] | | [INFO] [stdout] 1252 | | let mut path = n.0.clone().into_inner(); [INFO] [stdout] 1253 | | path.push(idx); [INFO] [stdout] 1254 | | let path0 = match &mut c.inner { [INFO] [stdout] ... | [INFO] [stdout] 1261 | | c.rehash() [INFO] [stdout] 1262 | | }) { [INFO] [stdout] | |______________________^ [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/merkle.rs:1265:21 [INFO] [stdout] | [INFO] [stdout] 1265 | } 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] 1251 ~ let c_ptr = match c_ref.write(|c| { [INFO] [stdout] 1252 | let mut path = n.0.clone().into_inner(); [INFO] [stdout] ... [INFO] [stdout] 1261 | c.rehash() [INFO] [stdout] 1262 ~ }) { None => { [INFO] [stdout] 1263 | deleted.push(c_ptr); [INFO] [stdout] 1264 | self.new_node(c_ref.clone())?.as_ptr() [INFO] [stdout] 1265 ~ } _ => { [INFO] [stdout] 1266 | c_ptr [INFO] [stdout] 1267 ~ }}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/merkle.rs:578:12 [INFO] [stdout] | [INFO] [stdout] 578 | if let None = $r.write($modify) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1559 | / write_node!( [INFO] [stdout] 1560 | | self.merkle, [INFO] [stdout] 1561 | | u_ref, [INFO] [stdout] | | ----- this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] 1562 | | |u| { [INFO] [stdout] ... | [INFO] [stdout] 1571 | | &mut deleted [INFO] [stdout] 1572 | | ); [INFO] [stdout] | |_____________- in this macro invocation [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/merkle.rs:583:9 [INFO] [stdout] | [INFO] [stdout] 583 | } else { [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 1559 | / write_node!( [INFO] [stdout] 1560 | | self.merkle, [INFO] [stdout] 1561 | | u_ref, [INFO] [stdout] 1562 | | |u| { [INFO] [stdout] ... | [INFO] [stdout] 1571 | | &mut deleted [INFO] [stdout] 1572 | | ); [INFO] [stdout] | |_____________- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `write_node` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/storage.rs:908:28 [INFO] [stdout] | [INFO] [stdout] 908 | if let Some(notifier) = self.fc_notifier.take() { [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/storage.rs:910:25 [INFO] [stdout] | [INFO] [stdout] 910 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 908 ~ match self.fc_notifier.take() { Some(notifier) => { [INFO] [stdout] 909 | notifier.send(()).unwrap(); [INFO] [stdout] 910 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/storage.rs:972:16 [INFO] [stdout] | [INFO] [stdout] 972 | if let Some((bw, ac)) = writes.recv().await { [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/storage.rs:975:13 [INFO] [stdout] | [INFO] [stdout] 975 | } 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] 972 ~ match writes.recv().await { Some((bw, ac)) => { [INFO] [stdout] 973 | records.push(ac); [INFO] [stdout] 974 | bwrites.extend(bw); [INFO] [stdout] 975 ~ } _ => { [INFO] [stdout] 976 | break [INFO] [stdout] 977 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/storage.rs:978:19 [INFO] [stdout] | [INFO] [stdout] 978 | while let Ok((bw, ac)) = writes.try_recv() { [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/storage.rs:984:13 [INFO] [stdout] | [INFO] [stdout] 984 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/storage.rs:1040:20 [INFO] [stdout] | [INFO] [stdout] 1040 | if let Err(_) = self.init_wal(rootfd, waldir).await { [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/storage.rs:1042:17 [INFO] [stdout] | [INFO] [stdout] 1042 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 1040 ~ match self.init_wal(rootfd, waldir).await { Err(_) => { [INFO] [stdout] 1041 | panic!("cannot initialize from WAL") [INFO] [stdout] 1042 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 24 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0133`. [INFO] [stdout] [INFO] [stderr] Checking tinytemplate v1.2.1 [INFO] [stderr] Checking criterion v0.5.1 [INFO] [stderr] Migrating tests/db.rs from 2021 edition to 2024 [INFO] [stderr] Fixed tests/db.rs (2 fixes) [INFO] [stderr] Migrating examples/dump.rs from 2021 edition to 2024 [INFO] [stderr] Migrating examples/rev.rs from 2021 edition to 2024 [INFO] [stderr] Migrating examples/simple.rs from 2021 edition to 2024 [INFO] [stderr] warning: failed to automatically apply fixes suggested by rustc to crate `cordwood` [INFO] [stderr] [INFO] [stderr] after fixes were automatically applied the compiler reported errors within these files: [INFO] [stderr] [INFO] [stderr] * src/merkle.rs [INFO] [stderr] * src/storage.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[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/merkle.rs:577:6 [INFO] [stderr] | [INFO] [stderr] 577 | ($self: expr_2021, $r: expr_2021, $modify: expr_2021, $parents: expr_2021, $deleted: expr_2021) => { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/merkle.rs:577:24 [INFO] [stderr] | [INFO] [stderr] 577 | ($self: expr_2021, $r: expr_2021, $modify: expr_2021, $parents: expr_2021, $deleted: expr_2021) => { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/merkle.rs:577:39 [INFO] [stderr] | [INFO] [stderr] 577 | ($self: expr_2021, $r: expr_2021, $modify: expr_2021, $parents: expr_2021, $deleted: expr_2021) => { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/merkle.rs:577:59 [INFO] [stderr] | [INFO] [stderr] 577 | ($self: expr_2021, $r: expr_2021, $modify: expr_2021, $parents: expr_2021, $deleted: expr_2021) => { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/storage.rs:529:54 [INFO] [stdout] | [INFO] [stdout] 529 | let data: Box<[u8]> = (l..r).map(|_| rng.gen()).collect(); [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #49716 [INFO] [stdout] = note: `--force-warn keyword-idents-2024` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/merkle.rs:577:80 [INFO] [stderr] | [INFO] [stderr] 577 | ($self: expr_2021, $r: expr_2021, $modify: expr_2021, $parents: expr_2021, $deleted: expr_2021) => { [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/merkle.rs:577:13 [INFO] [stdout] | [INFO] [stdout] 577 | ($self: expr, $r: expr, $modify: expr, $parents: expr, $deleted: 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] 577 | ($self: expr_2021, $r: expr, $modify: expr, $parents: expr, $deleted: expr) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/merkle.rs:577:23 [INFO] [stdout] | [INFO] [stdout] 577 | ($self: expr, $r: expr, $modify: expr, $parents: expr, $deleted: 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] 577 | ($self: expr, $r: expr_2021, $modify: expr, $parents: expr, $deleted: expr) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] | [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/merkle.rs:577:38 [INFO] [stdout] | [INFO] [stdout] 577 | ($self: expr, $r: expr, $modify: expr, $parents: expr, $deleted: 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] 577 | ($self: expr, $r: expr, $modify: expr_2021, $parents: expr, $deleted: expr) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/storage.rs:163:14 [INFO] [stderr] | [INFO] [stderr] 163 | ($l: expr_2021, $r: expr_2021) => { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/storage.rs:163:29 [INFO] [stderr] | [INFO] [stderr] 163 | ($l: expr_2021, $r: expr_2021) => { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error: aborting due to 7 previous errors [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0658`. [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/merkle.rs:577:54 [INFO] [stdout] | [INFO] [stdout] 577 | ($self: expr, $r: expr, $modify: expr, $parents: expr, $deleted: 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] 577 | ($self: expr, $r: expr, $modify: expr, $parents: expr_2021, $deleted: expr) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/merkle.rs:577:70 [INFO] [stdout] | [INFO] [stdout] 577 | ($self: expr, $r: expr, $modify: expr, $parents: expr, $deleted: 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] 577 | ($self: expr, $r: expr, $modify: expr, $parents: expr, $deleted: 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/storage.rs:163:18 [INFO] [stdout] | [INFO] [stdout] 163 | ($l: expr, $r: 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] 163 | ($l: expr_2021, $r: expr) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/storage.rs:163:28 [INFO] [stdout] | [INFO] [stdout] 163 | ($l: expr, $r: 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] 163 | ($l: expr, $r: expr_2021) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::intrinsics::transmute` is unsafe and requires unsafe block [INFO] [stdout] --> src/storage.rs:873:9 [INFO] [stdout] | [INFO] [stdout] 873 | std::mem::transmute::<&mut Self, &'static mut Self>(self) [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/storage.rs:872:5 [INFO] [stdout] | [INFO] [stdout] 872 | unsafe fn get_longlive_self(&mut self) -> &'static mut Self { [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: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/merkle.rs:578:12 [INFO] [stdout] | [INFO] [stdout] 578 | if let None = $r.write($modify) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 768 | / write_node!( [INFO] [stdout] 769 | | self, [INFO] [stdout] 770 | | u_ref, [INFO] [stdout] | | ----- this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] 771 | | |u| { [INFO] [stdout] ... | [INFO] [stdout] 795 | | deleted [INFO] [stdout] 796 | | ); [INFO] [stdout] | |_____________________- in this macro invocation [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/merkle.rs:583:9 [INFO] [stdout] | [INFO] [stdout] 583 | } else { [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 768 | / write_node!( [INFO] [stdout] 769 | | self, [INFO] [stdout] 770 | | u_ref, [INFO] [stdout] 771 | | |u| { [INFO] [stdout] ... | [INFO] [stdout] 795 | | deleted [INFO] [stdout] 796 | | ); [INFO] [stdout] | |_____________________- in this macro invocation [INFO] [stdout] = note: `--force-warn if-let-rescope` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] = note: this warning originates in the macro `write_node` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/merkle.rs:918:24 [INFO] [stdout] | [INFO] [stdout] 918 | if let Some(v) = self.split( [INFO] [stdout] | ________________________^ - [INFO] [stdout] | |______________________________________| [INFO] [stdout] 919 | || u, [INFO] [stdout] 920 | || &mut parents, [INFO] [stdout] 921 | || &chunks[i..], [INFO] [stdout] ... || [INFO] [stdout] 925 | || &mut deleted, [INFO] [stdout] 926 | || )? { [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] | [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/merkle.rs:930:21 [INFO] [stdout] | [INFO] [stdout] 930 | } 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] 918 ~ match self.split( [INFO] [stdout] 919 | u, [INFO] [stdout] ... [INFO] [stdout] 925 | &mut deleted, [INFO] [stdout] 926 ~ )? { Some(v) => { [INFO] [stdout] 927 | val = Some(v); [INFO] [stdout] 928 | u = self.get_node(u_ptr)?; [INFO] [stdout] 929 | n_ptr [INFO] [stdout] 930 ~ } _ => { [INFO] [stdout] 931 | break [INFO] [stdout] 932 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/merkle.rs:578:12 [INFO] [stdout] | [INFO] [stdout] 578 | if let None = $r.write($modify) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 943 | / write_node!( [INFO] [stdout] 944 | | self, [INFO] [stdout] 945 | | &mut u, [INFO] [stdout] | | - this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] 946 | | |u| { [INFO] [stdout] ... | [INFO] [stdout] 977 | | &mut deleted [INFO] [stdout] 978 | | ); [INFO] [stdout] | |_________________- in this macro invocation [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/merkle.rs:583:9 [INFO] [stdout] | [INFO] [stdout] 583 | } else { [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 943 | / write_node!( [INFO] [stdout] 944 | | self, [INFO] [stdout] 945 | | &mut u, [INFO] [stdout] 946 | | |u| { [INFO] [stdout] ... | [INFO] [stdout] 977 | | &mut deleted [INFO] [stdout] 978 | | ); [INFO] [stdout] | |_________________- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `write_node` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/merkle.rs:578:12 [INFO] [stdout] | [INFO] [stdout] 578 | if let None = $r.write($modify) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1088 | / write_node!( [INFO] [stdout] 1089 | | self, [INFO] [stdout] 1090 | | p_ref, [INFO] [stdout] | | ----- this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] 1091 | | |p| { [INFO] [stdout] ... | [INFO] [stdout] 1098 | | deleted [INFO] [stdout] 1099 | | ); [INFO] [stdout] | |_____________________________- in this macro invocation [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/merkle.rs:583:9 [INFO] [stdout] | [INFO] [stdout] 583 | } else { [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 1088 | / write_node!( [INFO] [stdout] 1089 | | self, [INFO] [stdout] 1090 | | p_ref, [INFO] [stdout] 1091 | | |p| { [INFO] [stdout] ... | [INFO] [stdout] 1098 | | deleted [INFO] [stdout] 1099 | | ); [INFO] [stdout] | |_____________________________- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `write_node` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/merkle.rs:1112:44 [INFO] [stdout] | [INFO] [stdout] 1112 | ... let c_ptr = if let None = c_ref.write(|c| { [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] | | [INFO] [stdout] 1113 | | ... (match &mut c.inner { [INFO] [stdout] 1114 | | ... NodeType::Leaf(n) => &mut n.0, [INFO] [stdout] 1115 | | ... NodeType::Extension(n) => &mut n.0, [INFO] [stdout] ... | [INFO] [stdout] 1120 | | ... c.rehash() [INFO] [stdout] 1121 | | ... }) { [INFO] [stdout] | |________________________^ [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/merkle.rs:1124:29 [INFO] [stdout] | [INFO] [stdout] 1124 | ... } 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] 1112 ~ let c_ptr = match c_ref.write(|c| { [INFO] [stdout] 1113 | (match &mut c.inner { [INFO] [stdout] ... [INFO] [stdout] 1120 | c.rehash() [INFO] [stdout] 1121 ~ }) { None => { [INFO] [stdout] 1122 | deleted.push(c_ptr); [INFO] [stdout] 1123 | self.new_node(c_ref.clone())?.as_ptr() [INFO] [stdout] 1124 ~ } _ => { [INFO] [stdout] 1125 | c_ptr [INFO] [stdout] 1126 ~ }}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/merkle.rs:578:12 [INFO] [stdout] | [INFO] [stdout] 578 | if let None = $r.write($modify) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1142 | if !write_node!( [INFO] [stdout] | _________________________________- [INFO] [stdout] 1143 | | self, [INFO] [stdout] 1144 | | c_ref, [INFO] [stdout] | | ----- this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] 1145 | | |c| { [INFO] [stdout] ... | [INFO] [stdout] 1158 | | deleted [INFO] [stdout] 1159 | | ) { [INFO] [stdout] | |_____________________________- in this macro invocation [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/merkle.rs:583:9 [INFO] [stdout] | [INFO] [stdout] 583 | } else { [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 1142 | if !write_node!( [INFO] [stdout] | _________________________________- [INFO] [stdout] 1143 | | self, [INFO] [stdout] 1144 | | c_ref, [INFO] [stdout] 1145 | | |c| { [INFO] [stdout] ... | [INFO] [stdout] 1158 | | deleted [INFO] [stdout] 1159 | | ) { [INFO] [stdout] | |_____________________________- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `write_node` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/merkle.rs:578:12 [INFO] [stdout] | [INFO] [stdout] 578 | if let None = $r.write($modify) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1183 | / write_node!( [INFO] [stdout] 1184 | | self, [INFO] [stdout] 1185 | | b_ref, [INFO] [stdout] | | ----- this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] 1186 | | |b| { [INFO] [stdout] ... | [INFO] [stdout] 1215 | | deleted [INFO] [stdout] 1216 | | ); [INFO] [stdout] | |_________________- in this macro invocation [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/merkle.rs:583:9 [INFO] [stdout] | [INFO] [stdout] 583 | } else { [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 1183 | / write_node!( [INFO] [stdout] 1184 | | self, [INFO] [stdout] 1185 | | b_ref, [INFO] [stdout] 1186 | | |b| { [INFO] [stdout] ... | [INFO] [stdout] 1215 | | deleted [INFO] [stdout] 1216 | | ); [INFO] [stdout] | |_________________- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `write_node` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/merkle.rs:1217:20 [INFO] [stdout] | [INFO] [stdout] 1217 | if let Some(e) = err { [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/merkle.rs:1219:17 [INFO] [stdout] | [INFO] [stdout] 1219 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 1217 ~ match err { Some(e) => { [INFO] [stdout] 1218 | return e [INFO] [stdout] 1219 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/merkle.rs:1225:36 [INFO] [stdout] | [INFO] [stdout] 1225 | let c_ptr = if let None = c_ref.write(|c| { [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] | | [INFO] [stdout] 1226 | | match &mut c.inner { [INFO] [stdout] 1227 | | NodeType::Leaf(n) => &mut n.0, [INFO] [stdout] 1228 | | NodeType::Extension(n) => &mut n.0, [INFO] [stdout] ... | [INFO] [stdout] 1233 | | c.rehash() [INFO] [stdout] 1234 | | }) { [INFO] [stdout] | |______________________^ [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/merkle.rs:1237:21 [INFO] [stdout] | [INFO] [stdout] 1237 | } 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] 1225 ~ let c_ptr = match c_ref.write(|c| { [INFO] [stdout] 1226 | match &mut c.inner { [INFO] [stdout] ... [INFO] [stdout] 1233 | c.rehash() [INFO] [stdout] 1234 ~ }) { None => { [INFO] [stdout] 1235 | deleted.push(c_ptr); [INFO] [stdout] 1236 | self.new_node(c_ref.clone())?.as_ptr() [INFO] [stdout] 1237 ~ } _ => { [INFO] [stdout] 1238 | c_ptr [INFO] [stdout] 1239 ~ }}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/merkle.rs:1251:36 [INFO] [stdout] | [INFO] [stdout] 1251 | let c_ptr = if let None = c_ref.write(|c| { [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] | | [INFO] [stdout] 1252 | | let mut path = n.0.clone().into_inner(); [INFO] [stdout] 1253 | | path.push(idx); [INFO] [stdout] 1254 | | let path0 = match &mut c.inner { [INFO] [stdout] ... | [INFO] [stdout] 1261 | | c.rehash() [INFO] [stdout] 1262 | | }) { [INFO] [stdout] | |______________________^ [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/merkle.rs:1265:21 [INFO] [stdout] | [INFO] [stdout] 1265 | } 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] 1251 ~ let c_ptr = match c_ref.write(|c| { [INFO] [stdout] 1252 | let mut path = n.0.clone().into_inner(); [INFO] [stdout] ... [INFO] [stdout] 1261 | c.rehash() [INFO] [stdout] 1262 ~ }) { None => { [INFO] [stdout] 1263 | deleted.push(c_ptr); [INFO] [stdout] 1264 | self.new_node(c_ref.clone())?.as_ptr() [INFO] [stdout] 1265 ~ } _ => { [INFO] [stdout] 1266 | c_ptr [INFO] [stdout] 1267 ~ }}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/merkle.rs:578:12 [INFO] [stdout] | [INFO] [stdout] 578 | if let None = $r.write($modify) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1559 | / write_node!( [INFO] [stdout] 1560 | | self.merkle, [INFO] [stdout] 1561 | | u_ref, [INFO] [stdout] | | ----- this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] 1562 | | |u| { [INFO] [stdout] ... | [INFO] [stdout] 1571 | | &mut deleted [INFO] [stdout] 1572 | | ); [INFO] [stdout] | |_____________- in this macro invocation [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/merkle.rs:583:9 [INFO] [stdout] | [INFO] [stdout] 583 | } else { [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 1559 | / write_node!( [INFO] [stdout] 1560 | | self.merkle, [INFO] [stdout] 1561 | | u_ref, [INFO] [stdout] 1562 | | |u| { [INFO] [stdout] ... | [INFO] [stdout] 1571 | | &mut deleted [INFO] [stdout] 1572 | | ); [INFO] [stdout] | |_____________- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `write_node` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/storage.rs:908:28 [INFO] [stdout] | [INFO] [stdout] 908 | if let Some(notifier) = self.fc_notifier.take() { [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/storage.rs:910:25 [INFO] [stdout] | [INFO] [stdout] 910 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 908 ~ match self.fc_notifier.take() { Some(notifier) => { [INFO] [stdout] 909 | notifier.send(()).unwrap(); [INFO] [stdout] 910 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/storage.rs:972:16 [INFO] [stdout] | [INFO] [stdout] 972 | if let Some((bw, ac)) = writes.recv().await { [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/storage.rs:975:13 [INFO] [stdout] | [INFO] [stdout] 975 | } 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] 972 ~ match writes.recv().await { Some((bw, ac)) => { [INFO] [stdout] 973 | records.push(ac); [INFO] [stdout] 974 | bwrites.extend(bw); [INFO] [stdout] 975 ~ } _ => { [INFO] [stdout] 976 | break [INFO] [stdout] 977 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/storage.rs:978:19 [INFO] [stdout] | [INFO] [stdout] 978 | while let Ok((bw, ac)) = writes.try_recv() { [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/storage.rs:984:13 [INFO] [stdout] | [INFO] [stdout] 984 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/storage.rs:1040:20 [INFO] [stdout] | [INFO] [stdout] 1040 | if let Err(_) = self.init_wal(rootfd, waldir).await { [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/storage.rs:1042:17 [INFO] [stdout] | [INFO] [stdout] 1042 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 1040 ~ match self.init_wal(rootfd, waldir).await { Err(_) => { [INFO] [stdout] 1041 | panic!("cannot initialize from WAL") [INFO] [stdout] 1042 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 24 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0133`. [INFO] [stdout] [INFO] [stderr] Migrating examples/benchmark.rs from 2021 edition to 2024 [INFO] [stderr] Fixed examples/benchmark.rs (2 fixes) [INFO] [stderr] Migrating tests/merkle.rs from 2021 edition to 2024 [INFO] [stderr] Fixed tests/merkle.rs (6 fixes) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 10.45s [INFO] [stderr] Running `cargo check` to verify 2024 [INFO] [stderr] Compiling libaio-futures v0.2.3 [INFO] [stderr] Checking growth-ring v0.3.1 [INFO] [stderr] Checking cordwood v0.0.4 (/tmp/fixit) [INFO] [stdout] error: expected identifier, found reserved keyword `gen` [INFO] [stdout] --> src/storage.rs:529:54 [INFO] [stdout] | [INFO] [stdout] 529 | let data: Box<[u8]> = (l..r).map(|_| rng.gen()).collect(); [INFO] [stdout] | ^^^ expected identifier, found reserved keyword [INFO] [stdout] | [INFO] [stdout] help: escape `gen` to use it as an identifier [INFO] [stdout] | [INFO] [stdout] 529 | let data: Box<[u8]> = (l..r).map(|_| rng.r#gen()).collect(); [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found reserved keyword `gen` [INFO] [stdout] --> src/storage.rs:529:54 [INFO] [stdout] | [INFO] [stdout] 529 | let data: Box<[u8]> = (l..r).map(|_| rng.gen()).collect(); [INFO] [stdout] | ^^^ expected identifier, found reserved keyword [INFO] [stdout] | [INFO] [stdout] help: escape `gen` to use it as an identifier [INFO] [stdout] | [INFO] [stdout] 529 | let data: Box<[u8]> = (l..r).map(|_| rng.r#gen()).collect(); [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::intrinsics::transmute` is unsafe and requires unsafe block [INFO] [stdout] --> src/storage.rs:873:9 [INFO] [stdout] | [INFO] [stdout] 873 | std::mem::transmute::<&mut Self, &'static mut Self>(self) [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/storage.rs:872:5 [INFO] [stdout] | [INFO] [stdout] 872 | unsafe fn get_longlive_self(&mut self) -> &'static mut Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(unsafe_op_in_unsafe_fn)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::intrinsics::transmute` is unsafe and requires unsafe block [INFO] [stdout] --> src/storage.rs:873:9 [INFO] [stdout] | [INFO] [stdout] 873 | std::mem::transmute::<&mut Self, &'static mut Self>(self) [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/storage.rs:872:5 [INFO] [stdout] | [INFO] [stdout] 872 | unsafe fn get_longlive_self(&mut self) -> &'static mut Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(unsafe_op_in_unsafe_fn)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0133`. [INFO] [stdout] [INFO] [stderr] error: could not compile `cordwood` (lib) due to 2 previous errors; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 1 previous error; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0133`. [INFO] [stdout] [INFO] [stderr] error: could not compile `cordwood` (lib test) due to 2 previous errors; 1 warning 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" "b71094875be87a32a451e236cbdbe239f4d83e0df721fced8be90406e4fd679f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b71094875be87a32a451e236cbdbe239f4d83e0df721fced8be90406e4fd679f", kill_on_drop: false }` [INFO] [stdout] b71094875be87a32a451e236cbdbe239f4d83e0df721fced8be90406e4fd679f