[INFO] fetching crate rudy 0.1.0... [INFO] checking rudy-0.1.0 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] extracting crate rudy 0.1.0 into /workspace/builds/worker-6-tc2/source [INFO] validating manifest of crates.io crate rudy 0.1.0 on toolchain 4d98531622e1718ae0bc3c7a1ab9cd8938428452 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate rudy 0.1.0 [INFO] finished tweaking crates.io crate rudy 0.1.0 [INFO] tweaked toml for crates.io crate rudy 0.1.0 written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 6 packages to latest compatible versions [INFO] [stderr] Adding num-traits v0.1.43 (latest: v0.2.19) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7b00d9f741834eb7db7caaf724b3b2840c40d60b791f1cbf27a1a34605537fb3 [INFO] running `Command { std: "docker" "start" "-a" "7b00d9f741834eb7db7caaf724b3b2840c40d60b791f1cbf27a1a34605537fb3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7b00d9f741834eb7db7caaf724b3b2840c40d60b791f1cbf27a1a34605537fb3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7b00d9f741834eb7db7caaf724b3b2840c40d60b791f1cbf27a1a34605537fb3", kill_on_drop: false }` [INFO] [stdout] 7b00d9f741834eb7db7caaf724b3b2840c40d60b791f1cbf27a1a34605537fb3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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 -Dtail_expr_drop_order" "-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9413e2504b99ea3fc49993fbf7ca46370211758aaf318cceeda03c0d0b70db38 [INFO] running `Command { std: "docker" "start" "-a" "9413e2504b99ea3fc49993fbf7ca46370211758aaf318cceeda03c0d0b70db38", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking nodrop v0.1.14 [INFO] [stderr] Checking bencher v0.1.5 [INFO] [stderr] Checking num-traits v0.1.43 [INFO] [stderr] Checking rudy v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition value: `i128` [INFO] [stdout] --> src/key.rs:34:7 [INFO] [stdout] | [INFO] [stdout] 34 | #[cfg(feature = "i128")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `i128` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `i128` [INFO] [stdout] --> src/key.rs:34:7 [INFO] [stdout] | [INFO] [stdout] 34 | #[cfg(feature = "i128")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `i128` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/util/locksteparray.rs:93:46 [INFO] [stdout] | [INFO] [stdout] 93 | array1: NoDrop::new(unsafe {mem::uninitialized()}), [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/util/locksteparray.rs:94:46 [INFO] [stdout] | [INFO] [stdout] 94 | array2: NoDrop::new(unsafe {mem::uninitialized()}) [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/util/locksteparray.rs:286:64 [INFO] [stdout] | [INFO] [stdout] 286 | let mut array1: NoDrop = NoDrop::new(unsafe { mem::uninitialized() }); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/util/locksteparray.rs:287:64 [INFO] [stdout] | [INFO] [stdout] 287 | let mut array2: NoDrop = NoDrop::new(unsafe { mem::uninitialized() }); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/rudymap/jpm/branch_uncompressed.rs:17:31 [INFO] [stdout] | [INFO] [stdout] 17 | array: { mem::uninitialized() } [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/util/locksteparray.rs:93:46 [INFO] [stdout] | [INFO] [stdout] 93 | array1: NoDrop::new(unsafe {mem::uninitialized()}), [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/util/locksteparray.rs:94:46 [INFO] [stdout] | [INFO] [stdout] 94 | array2: NoDrop::new(unsafe {mem::uninitialized()}) [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/util/locksteparray.rs:286:64 [INFO] [stdout] | [INFO] [stdout] 286 | let mut array1: NoDrop = NoDrop::new(unsafe { mem::uninitialized() }); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/util/locksteparray.rs:287:64 [INFO] [stdout] | [INFO] [stdout] 287 | let mut array2: NoDrop = NoDrop::new(unsafe { mem::uninitialized() }); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/rudymap/jpm/branch_uncompressed.rs:17:31 [INFO] [stdout] | [INFO] [stdout] 17 | array: { mem::uninitialized() } [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/rudymap/rootptr.rs:183:45 [INFO] [stdout] | [INFO] [stdout] 183 | RootMut::$type_name(mut node) => node.insert(key, value), [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] ... [INFO] [stdout] 242 | / impl_root_ptr!( [INFO] [stdout] 243 | | 2 => Leaf1, [INFO] [stdout] 244 | | 3 => Leaf2, [INFO] [stdout] 245 | | 4 => VecLeaf, [INFO] [stdout] 246 | | 5 => Jpm [INFO] [stdout] 247 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] = note: this warning originates in the macro `impl_root_ptr_dispatch` which comes from the expansion of the macro `impl_root_ptr` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/rudymap/rootptr.rs:210:45 [INFO] [stdout] | [INFO] [stdout] 210 | RootMut::$type_name(mut node) => node.remove(key), [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] ... [INFO] [stdout] 242 | / impl_root_ptr!( [INFO] [stdout] 243 | | 2 => Leaf1, [INFO] [stdout] 244 | | 3 => Leaf2, [INFO] [stdout] 245 | | 4 => VecLeaf, [INFO] [stdout] 246 | | 5 => Jpm [INFO] [stdout] 247 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_root_ptr_dispatch` which comes from the expansion of the macro `impl_root_ptr` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/rudymap/jpm/leaf_bitmap.rs:37:21 [INFO] [stdout] | [INFO] [stdout] 37 | let mut value = &mut self.values[index]; [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/rudymap/root_leaf.rs:52:9 [INFO] [stdout] | [INFO] [stdout] 51 | fn expand(self, key: K, value: V) -> RootPtr { [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 52 | Box::new(Leaf1::new(key, value)).into() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/rudymap/root_leaf.rs:120:9 [INFO] [stdout] | [INFO] [stdout] 119 | fn expand(self, key: K, value: V) -> RootPtr { [INFO] [stdout] | ---- -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 120 | Box::new(Leaf2::new(self.key, self.value, key, value)).into() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/rudymap/root_leaf.rs:241:20 [INFO] [stdout] | [INFO] [stdout] 239 | fn from_arrays(keys: [K; 2], values: [V; 2]) -> VecLeaf { [INFO] [stdout] | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 240 | VecLeaf { [INFO] [stdout] 241 | array: locksteparray::LockstepArray::from_arrays(keys, values) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/rudymap/root_leaf.rs:261:27 [INFO] [stdout] | [INFO] [stdout] 261 | .map(|index| &self.array.array2()[index]) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/rudymap/root_leaf.rs:268:36 [INFO] [stdout] | [INFO] [stdout] 268 | .map(move |index| &mut self.array.array2_mut()[index]) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/rudymap/root_leaf.rs:292:9 [INFO] [stdout] | [INFO] [stdout] 289 | fn expand(self, key: K, value: V) -> RootPtr { [INFO] [stdout] | ---- -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 290 | let mut jpm: Jpm = self.into_iter().collect(); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 291 | jpm.insert(key, value).success(); [INFO] [stdout] 292 | Box::new(jpm).into() [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/rudymap/rootptr.rs:198:23 [INFO] [stdout] | [INFO] [stdout] 197 | pub fn expand(self, key: K, value: V) -> RootPtr { [INFO] [stdout] | ---- -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 198 | match self.into_owned() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 242 | / impl_root_ptr!( [INFO] [stdout] 243 | | 2 => Leaf1, [INFO] [stdout] 244 | | 3 => Leaf2, [INFO] [stdout] 245 | | 4 => VecLeaf, [INFO] [stdout] 246 | | 5 => Jpm [INFO] [stdout] 247 | | ); [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 #123739 [INFO] [stdout] = note: this error originates in the macro `impl_root_ptr_dispatch` which comes from the expansion of the macro `impl_root_ptr` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/rudymap/rootptr.rs:226:23 [INFO] [stdout] | [INFO] [stdout] 225 | pub fn shrink_remove(self, key: K) -> (RootPtr, V) { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 226 | match self.into_owned() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 242 | / impl_root_ptr!( [INFO] [stdout] 243 | | 2 => Leaf1, [INFO] [stdout] 244 | | 3 => Leaf2, [INFO] [stdout] 245 | | 4 => VecLeaf, [INFO] [stdout] 246 | | 5 => Jpm [INFO] [stdout] 247 | | ); [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 #123739 [INFO] [stdout] = note: this error originates in the macro `impl_root_ptr_dispatch` which comes from the expansion of the macro `impl_root_ptr` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/rudymap/jpm/branch_linear.rs:29:31 [INFO] [stdout] | [INFO] [stdout] 29 | .and_then(|index| self.array.array2()[index].get(subkey)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/rudymap/jpm/branch_linear.rs:38:23 [INFO] [stdout] | [INFO] [stdout] 38 | self.array.array2_mut()[index].get_mut(subkey)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/rudymap/jpm/branch_linear.rs:69:27 [INFO] [stdout] | [INFO] [stdout] 64 | fn expand(self, pop: usize, key: &[u8], value: V) -> InnerPtr { [INFO] [stdout] | ---- -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 65 | let mut branch: BranchBitmap = self.array [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 69 | IntoPtr::into_ptr(Box::new(branch), pop) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/rudymap/jpm/branch_linear.rs:96:13 [INFO] [stdout] | [INFO] [stdout] 96 | node.array.push(k, v); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 96 | let _ = node.array.push(k, v); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `[InnerPtr; 256]` does not permit being left uninitialized [INFO] [stdout] --> src/rudymap/jpm/branch_uncompressed.rs:17:26 [INFO] [stdout] | [INFO] [stdout] 17 | array: { mem::uninitialized() } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] | [INFO] [stdout] note: enums with multiple inhabited variants have to be initialized to a variant [INFO] [stdout] --> src/rudymap/jpm/innerptr.rs:50:9 [INFO] [stdout] | [INFO] [stdout] 50 | pub enum InnerPtr { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 177 | / make_inner_ptr!(Empty, [INFO] [stdout] 178 | | BranchLinear, BranchBitmap, BranchUncompressed, [INFO] [stdout] 179 | | LeafLinear, LeafBitmap); [INFO] [stdout] | |_______________________________________- in this macro invocation [INFO] [stdout] = note: `#[warn(invalid_value)]` on by default [INFO] [stdout] = note: this warning originates in the macro `make_inner_ptr` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/rudymap/jpm/jpm_root.rs:36:31 [INFO] [stdout] | [INFO] [stdout] 34 | fn insert(&mut self, key: K, value: V) -> InsertResult { [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 35 | let bytes = key.into_bytes(); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 36 | InsertResult::Success(self.head.insert(bytes.as_ref(), value)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/rudymap/jpm/jpm_root.rs:41:9 [INFO] [stdout] | [INFO] [stdout] 39 | fn expand(mut self, key: K, value: V) -> RootPtr { [INFO] [stdout] | -------- -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 40 | self.insert(key, value).success(); [INFO] [stdout] 41 | Box::new(self).into() [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/rudymap/jpm/jpm_root.rs:46:31 [INFO] [stdout] | [INFO] [stdout] 45 | let bytes = key.into_bytes(); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 46 | RemoveResult::Success(self.head.remove(bytes.as_ref())) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/rudymap/results.rs:21:31 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn replace(place: &mut V, value: V) -> InsertResult { [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 20 | let old_value = ::std::mem::replace(place, value); [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 21 | InsertResult::Success(Some(old_value)) [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rudy` (lib) due to 16 previous errors; 11 warnings emitted [INFO] [stdout] error: aborting due to 15 previous errors; 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/rudymap/rootptr.rs:183:45 [INFO] [stdout] | [INFO] [stdout] 183 | RootMut::$type_name(mut node) => node.insert(key, value), [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] ... [INFO] [stdout] 242 | / impl_root_ptr!( [INFO] [stdout] 243 | | 2 => Leaf1, [INFO] [stdout] 244 | | 3 => Leaf2, [INFO] [stdout] 245 | | 4 => VecLeaf, [INFO] [stdout] 246 | | 5 => Jpm [INFO] [stdout] 247 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] = note: this warning originates in the macro `impl_root_ptr_dispatch` which comes from the expansion of the macro `impl_root_ptr` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/rudymap/rootptr.rs:210:45 [INFO] [stdout] | [INFO] [stdout] 210 | RootMut::$type_name(mut node) => node.remove(key), [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] ... [INFO] [stdout] 242 | / impl_root_ptr!( [INFO] [stdout] 243 | | 2 => Leaf1, [INFO] [stdout] 244 | | 3 => Leaf2, [INFO] [stdout] 245 | | 4 => VecLeaf, [INFO] [stdout] 246 | | 5 => Jpm [INFO] [stdout] 247 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_root_ptr_dispatch` which comes from the expansion of the macro `impl_root_ptr` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/rudymap/jpm/leaf_bitmap.rs:37:21 [INFO] [stdout] | [INFO] [stdout] 37 | let mut value = &mut self.values[index]; [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/rudymap/root_leaf.rs:52:9 [INFO] [stdout] | [INFO] [stdout] 51 | fn expand(self, key: K, value: V) -> RootPtr { [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 52 | Box::new(Leaf1::new(key, value)).into() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/rudymap/root_leaf.rs:120:9 [INFO] [stdout] | [INFO] [stdout] 119 | fn expand(self, key: K, value: V) -> RootPtr { [INFO] [stdout] | ---- -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 120 | Box::new(Leaf2::new(self.key, self.value, key, value)).into() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/rudymap/root_leaf.rs:241:20 [INFO] [stdout] | [INFO] [stdout] 239 | fn from_arrays(keys: [K; 2], values: [V; 2]) -> VecLeaf { [INFO] [stdout] | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 240 | VecLeaf { [INFO] [stdout] 241 | array: locksteparray::LockstepArray::from_arrays(keys, values) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/rudymap/root_leaf.rs:261:27 [INFO] [stdout] | [INFO] [stdout] 261 | .map(|index| &self.array.array2()[index]) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/rudymap/root_leaf.rs:268:36 [INFO] [stdout] | [INFO] [stdout] 268 | .map(move |index| &mut self.array.array2_mut()[index]) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/rudymap/root_leaf.rs:292:9 [INFO] [stdout] | [INFO] [stdout] 289 | fn expand(self, key: K, value: V) -> RootPtr { [INFO] [stdout] | ---- -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 290 | let mut jpm: Jpm = self.into_iter().collect(); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 291 | jpm.insert(key, value).success(); [INFO] [stdout] 292 | Box::new(jpm).into() [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/rudymap/rootptr.rs:198:23 [INFO] [stdout] | [INFO] [stdout] 197 | pub fn expand(self, key: K, value: V) -> RootPtr { [INFO] [stdout] | ---- -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 198 | match self.into_owned() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 242 | / impl_root_ptr!( [INFO] [stdout] 243 | | 2 => Leaf1, [INFO] [stdout] 244 | | 3 => Leaf2, [INFO] [stdout] 245 | | 4 => VecLeaf, [INFO] [stdout] 246 | | 5 => Jpm [INFO] [stdout] 247 | | ); [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 #123739 [INFO] [stdout] = note: this error originates in the macro `impl_root_ptr_dispatch` which comes from the expansion of the macro `impl_root_ptr` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/rudymap/rootptr.rs:226:23 [INFO] [stdout] | [INFO] [stdout] 225 | pub fn shrink_remove(self, key: K) -> (RootPtr, V) { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 226 | match self.into_owned() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 242 | / impl_root_ptr!( [INFO] [stdout] 243 | | 2 => Leaf1, [INFO] [stdout] 244 | | 3 => Leaf2, [INFO] [stdout] 245 | | 4 => VecLeaf, [INFO] [stdout] 246 | | 5 => Jpm [INFO] [stdout] 247 | | ); [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 #123739 [INFO] [stdout] = note: this error originates in the macro `impl_root_ptr_dispatch` which comes from the expansion of the macro `impl_root_ptr` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/rudymap/jpm/branch_linear.rs:29:31 [INFO] [stdout] | [INFO] [stdout] 29 | .and_then(|index| self.array.array2()[index].get(subkey)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/rudymap/jpm/branch_linear.rs:38:23 [INFO] [stdout] | [INFO] [stdout] 38 | self.array.array2_mut()[index].get_mut(subkey)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/rudymap/jpm/branch_linear.rs:69:27 [INFO] [stdout] | [INFO] [stdout] 64 | fn expand(self, pop: usize, key: &[u8], value: V) -> InnerPtr { [INFO] [stdout] | ---- -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 65 | let mut branch: BranchBitmap = self.array [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 69 | IntoPtr::into_ptr(Box::new(branch), pop) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/rudymap/jpm/branch_linear.rs:96:13 [INFO] [stdout] | [INFO] [stdout] 96 | node.array.push(k, v); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 96 | let _ = node.array.push(k, v); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `[InnerPtr; 256]` does not permit being left uninitialized [INFO] [stdout] --> src/rudymap/jpm/branch_uncompressed.rs:17:26 [INFO] [stdout] | [INFO] [stdout] 17 | array: { mem::uninitialized() } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] | [INFO] [stdout] note: enums with multiple inhabited variants have to be initialized to a variant [INFO] [stdout] --> src/rudymap/jpm/innerptr.rs:50:9 [INFO] [stdout] | [INFO] [stdout] 50 | pub enum InnerPtr { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 177 | / make_inner_ptr!(Empty, [INFO] [stdout] 178 | | BranchLinear, BranchBitmap, BranchUncompressed, [INFO] [stdout] 179 | | LeafLinear, LeafBitmap); [INFO] [stdout] | |_______________________________________- in this macro invocation [INFO] [stdout] = note: `#[warn(invalid_value)]` on by default [INFO] [stdout] = note: this warning originates in the macro `make_inner_ptr` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/rudymap/jpm/jpm_root.rs:36:31 [INFO] [stdout] | [INFO] [stdout] 34 | fn insert(&mut self, key: K, value: V) -> InsertResult { [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 35 | let bytes = key.into_bytes(); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 36 | InsertResult::Success(self.head.insert(bytes.as_ref(), value)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/rudymap/jpm/jpm_root.rs:41:9 [INFO] [stdout] | [INFO] [stdout] 39 | fn expand(mut self, key: K, value: V) -> RootPtr { [INFO] [stdout] | -------- -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 40 | self.insert(key, value).success(); [INFO] [stdout] 41 | Box::new(self).into() [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/rudymap/jpm/jpm_root.rs:46:31 [INFO] [stdout] | [INFO] [stdout] 45 | let bytes = key.into_bytes(); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 46 | RemoveResult::Success(self.head.remove(bytes.as_ref())) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/rudymap/results.rs:21:31 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn replace(place: &mut V, value: V) -> InsertResult { [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 20 | let old_value = ::std::mem::replace(place, value); [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 21 | InsertResult::Success(Some(old_value)) [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 15 previous errors; 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rudy` (lib test) due to 16 previous errors; 11 warnings emitted [INFO] running `Command { std: "docker" "inspect" "9413e2504b99ea3fc49993fbf7ca46370211758aaf318cceeda03c0d0b70db38", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9413e2504b99ea3fc49993fbf7ca46370211758aaf318cceeda03c0d0b70db38", kill_on_drop: false }` [INFO] [stdout] 9413e2504b99ea3fc49993fbf7ca46370211758aaf318cceeda03c0d0b70db38