[INFO] fetching crate tari_mmr 1.0.0-rc.5... [INFO] checking tari_mmr-1.0.0-rc.5 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] extracting crate tari_mmr 1.0.0-rc.5 into /workspace/builds/worker-4-tc2/source [INFO] validating manifest of crates.io crate tari_mmr 1.0.0-rc.5 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 tari_mmr 1.0.0-rc.5 [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate tari_mmr 1.0.0-rc.5 [INFO] tweaked toml for crates.io crate tari_mmr 1.0.0-rc.5 written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 202 packages to latest compatible versions [INFO] [stderr] Adding anes v0.1.6 (latest: v0.2.0) [INFO] [stderr] Adding base58-monero v0.3.2 (latest: v2.0.0) [INFO] [stderr] Adding base64 v0.13.1 (latest: v0.22.1) [INFO] [stderr] Adding bitflags v1.3.2 (latest: v2.6.0) [INFO] [stderr] Adding bs58 v0.4.0 (latest: v0.5.1) [INFO] [stderr] Adding clap v2.34.0 (latest: v4.5.16) [INFO] [stderr] Adding config v0.13.4 (latest: v0.14.0) [INFO] [stderr] Adding destructure_traitobject v0.2.0 (latest: v0.3.0) [INFO] [stderr] Adding dirs-next v1.0.2 (latest: v2.0.0) [INFO] [stderr] Adding generic-array v0.14.7 (latest: v1.1.0) [INFO] [stderr] Adding hashbrown v0.12.3 (latest: v0.14.5) [INFO] [stderr] Adding heck v0.3.3 (latest: v0.5.0) [INFO] [stderr] Adding heck v0.4.1 (latest: v0.5.0) [INFO] [stderr] Adding idna v0.5.0 (latest: v1.0.2) [INFO] [stderr] Adding indexmap v1.9.3 (latest: v2.5.0) [INFO] [stderr] Adding itertools v0.10.5 (latest: v0.13.0) [INFO] [stderr] Adding itertools v0.12.1 (latest: v0.13.0) [INFO] [stderr] Adding linux-raw-sys v0.4.14 (latest: v0.6.5) [INFO] [stderr] Adding multiaddr v0.14.0 (latest: v0.18.1) [INFO] [stderr] Adding multihash v0.16.3 (latest: v0.19.1) [INFO] [stderr] Adding multihash-derive v0.8.1 (latest: v0.9.0) [INFO] [stderr] Adding ordered-float v2.10.1 (latest: v4.2.2) [INFO] [stderr] Adding path-clean v0.1.0 (latest: v1.0.1) [INFO] [stderr] Adding proc-macro-crate v1.1.3 (latest: v3.2.0) [INFO] [stderr] Adding serde_yaml v0.8.26 (latest: v0.9.34+deprecated) [INFO] [stderr] Adding snafu v0.7.5 (latest: v0.8.4) [INFO] [stderr] Adding snafu-derive v0.7.5 (latest: v0.8.4) [INFO] [stderr] Adding syn v1.0.109 (latest: v2.0.77) [INFO] [stderr] Adding synstructure v0.12.6 (latest: v0.13.1) [INFO] [stderr] Adding textwrap v0.11.0 (latest: v0.16.1) [INFO] [stderr] Adding toml v0.5.11 (latest: v0.8.19) [INFO] [stderr] Adding unsigned-varint v0.7.2 (latest: v0.8.0) [INFO] [stderr] Adding wasi v0.11.0+wasi-snapshot-preview1 (latest: v0.13.2+wasi-0.2.1) [INFO] [stderr] Adding windows-sys v0.52.0 (latest: v0.59.0) [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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 90a6aa229d401ce5c83adca1ac83c446ef3650b1ef134c398dd8d7a443e9aeea [INFO] running `Command { std: "docker" "start" "-a" "90a6aa229d401ce5c83adca1ac83c446ef3650b1ef134c398dd8d7a443e9aeea", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "90a6aa229d401ce5c83adca1ac83c446ef3650b1ef134c398dd8d7a443e9aeea", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "90a6aa229d401ce5c83adca1ac83c446ef3650b1ef134c398dd8d7a443e9aeea", kill_on_drop: false }` [INFO] [stdout] 90a6aa229d401ce5c83adca1ac83c446ef3650b1ef134c398dd8d7a443e9aeea [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=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] 1a6558a6203382f0d108430001da9cf9e729ffd698bc1ab5aa46c5df7a4d6dc7 [INFO] running `Command { std: "docker" "start" "-a" "1a6558a6203382f0d108430001da9cf9e729ffd698bc1ab5aa46c5df7a4d6dc7", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling serde v1.0.209 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Checking memchr v2.7.4 [INFO] [stderr] Checking subtle v2.6.1 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Compiling semver v1.0.23 [INFO] [stderr] Checking either v1.13.0 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Compiling portable-atomic v1.7.0 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Compiling serde_json v1.0.127 [INFO] [stderr] Compiling indexmap v2.5.0 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Compiling doc-comment v0.3.3 [INFO] [stderr] Compiling rustc_version v0.4.1 [INFO] [stderr] Compiling toml_datetime v0.6.8 [INFO] [stderr] Compiling crossbeam-utils v0.8.20 [INFO] [stderr] Compiling winnow v0.6.18 [INFO] [stderr] Checking critical-section v1.1.3 [INFO] [stderr] Checking ff v0.13.0 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling curve25519-dalek v4.1.3 [INFO] [stderr] Compiling unicode-xid v0.2.5 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Checking keccak v0.1.5 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Compiling borsh v1.5.1 [INFO] [stderr] Compiling syn v2.0.77 [INFO] [stderr] Checking group v0.13.0 [INFO] [stderr] Checking once_cell v1.19.0 [INFO] [stderr] Checking destructure_traitobject v0.2.0 [INFO] [stderr] Checking hashbrown v0.12.3 [INFO] [stderr] Checking linked-hash-map v0.5.6 [INFO] [stderr] Compiling unicode-segmentation v1.11.0 [INFO] [stderr] Compiling anyhow v1.0.86 [INFO] [stderr] Checking crossbeam-epoch v0.9.18 [INFO] [stderr] Checking yaml-rust v0.4.5 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Compiling rustix v0.38.35 [INFO] [stderr] Checking unsafe-any-ors v1.0.0 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking sha3 v0.10.8 [INFO] [stderr] Checking blake2 v0.10.6 [INFO] [stderr] Checking core2 v0.4.0 [INFO] [stderr] Checking ordered-float v2.10.1 [INFO] [stderr] Checking itertools v0.12.1 [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Checking linux-raw-sys v0.4.14 [INFO] [stderr] Checking base64 v0.13.1 [INFO] [stderr] Compiling toml_edit v0.22.20 [INFO] [stderr] Checking newtype-ops v0.1.4 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Checking lazy_static v1.5.0 [INFO] [stderr] Checking bitflags v2.6.0 [INFO] [stderr] Compiling tari_features v1.0.0-rc.5 [INFO] [stderr] Checking unsigned-varint v0.7.2 [INFO] [stderr] Checking nom v7.1.3 [INFO] [stderr] Compiling tari_common v1.0.0-rc.5 [INFO] [stderr] Checking clap v2.34.0 [INFO] [stderr] Compiling toml v0.5.11 [INFO] [stderr] Checking typemap-ors v1.0.0 [INFO] [stderr] Checking crossbeam-deque v0.8.5 [INFO] [stderr] Compiling proc-macro-crate v3.2.0 [INFO] [stderr] Compiling synstructure v0.12.6 [INFO] [stderr] Checking dirs-sys-next v0.1.2 [INFO] [stderr] Checking half v2.4.1 [INFO] [stderr] Checking bs58 v0.4.0 [INFO] [stderr] Checking arc-swap v1.7.1 [INFO] [stderr] Checking clap_lex v0.7.2 [INFO] [stderr] Checking regex-syntax v0.8.4 [INFO] [stderr] Checking fastrand v2.1.1 [INFO] [stderr] Checking arrayref v0.3.8 [INFO] [stderr] Checking plotters-backend v0.3.6 [INFO] [stderr] Checking ciborium-io v0.2.2 [INFO] [stderr] Checking pathdiff v0.2.1 [INFO] [stderr] Checking anstyle v1.0.8 [INFO] [stderr] Checking unsafe-libyaml v0.2.11 [INFO] [stderr] Checking humantime v2.1.0 [INFO] [stderr] Checking plotters-svg v0.3.6 [INFO] [stderr] Checking clap_builder v4.5.15 [INFO] [stderr] Checking tempfile v3.12.0 [INFO] [stderr] Checking ciborium-ll v0.2.2 [INFO] [stderr] Checking dirs-next v1.0.2 [INFO] [stderr] Checking sha2 v0.10.8 [INFO] [stderr] Checking itertools v0.10.5 [INFO] [stderr] Checking path-clean v0.1.0 [INFO] [stderr] Checking cast v0.3.0 [INFO] [stderr] Checking same-file v1.0.6 [INFO] [stderr] Checking rayon v1.10.0 [INFO] [stderr] Checking plotters v0.3.6 [INFO] [stderr] Checking walkdir v2.5.0 [INFO] [stderr] Checking regex-automata v0.4.7 [INFO] [stderr] Checking is-terminal v0.4.13 [INFO] [stderr] Checking anes v0.1.6 [INFO] [stderr] Checking oorandom v11.1.4 [INFO] [stderr] Compiling thiserror-impl-no-std v2.0.2 [INFO] [stderr] Compiling snafu-derive v0.7.5 [INFO] [stderr] Compiling serde_derive v1.0.209 [INFO] [stderr] Compiling thiserror-impl v1.0.63 [INFO] [stderr] Compiling zeroize_derive v1.4.2 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Checking zeroize v1.8.1 [INFO] [stderr] Compiling syn_derive v0.1.8 [INFO] [stderr] Compiling curve25519-dalek-derive v0.1.1 [INFO] [stderr] Checking zerocopy v0.7.35 [INFO] [stderr] Checking thiserror-no-std v2.0.2 [INFO] [stderr] Checking merlin v3.0.0 [INFO] [stderr] Compiling async-trait v0.1.81 [INFO] [stderr] Compiling derivative v2.2.0 [INFO] [stderr] Compiling borsh-derive v1.5.1 [INFO] [stderr] Compiling thiserror v1.0.63 [INFO] [stderr] Compiling proc-macro-crate v1.1.3 [INFO] [stderr] Checking base58-monero v0.3.2 [INFO] [stderr] Compiling structopt-derive v0.4.18 [INFO] [stderr] Checking ppv-lite86 v0.2.20 [INFO] [stderr] Compiling multihash-derive v0.8.1 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking regex v1.10.6 [INFO] [stderr] Checking multihash v0.16.3 [INFO] [stderr] Checking clap v4.5.16 [INFO] [stderr] Checking criterion-plot v0.5.0 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking snafu v0.7.5 [INFO] [stderr] Checking structopt v0.3.26 [INFO] [stderr] Checking log v0.4.22 [INFO] [stderr] Checking bincode v1.3.3 [INFO] [stderr] Checking serde_yaml v0.8.26 [INFO] [stderr] Checking serde-value v0.7.0 [INFO] [stderr] Checking serde_yaml v0.9.34+deprecated [INFO] [stderr] Checking multiaddr v0.14.0 [INFO] [stderr] Checking ciborium v0.2.2 [INFO] [stderr] Checking tari-log4rs v1.2.0 [INFO] [stderr] Checking tari_utilities v0.7.0 [INFO] [stderr] Checking tinytemplate v1.2.1 [INFO] [stderr] Checking config v0.13.4 [INFO] [stderr] Checking criterion v0.5.1 [INFO] [stderr] Checking tari_bulletproofs_plus v0.4.0 [INFO] [stderr] Checking tari_crypto v0.20.3 [INFO] [stderr] Checking tari_mmr v1.0.0-rc.5 (/opt/rustwide/workdir) [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/backend.rs:120:32 [INFO] [stdout] | [INFO] [stdout] 120 | self.iter().map(|v| Ok(v.clone())).for_each(f); [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/mem_backend_vec.rs:128:9 [INFO] [stdout] | [INFO] [stdout] 127 | fn push_front(&mut self, item: Self::Value) -> Result<(), MerkleMountainRangeError> { [INFO] [stdout] | ----------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 128 | / self.db [INFO] [stdout] 129 | | .write() [INFO] [stdout] 130 | | .map_err(|e| MerkleMountainRangeError::BackendError(e.to_string()))? [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/mem_backend_vec.rs:140:25 [INFO] [stdout] | [INFO] [stdout] 140 | .map(|v| Ok(v.clone())) [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/merkle_mountain_range.rs:148:12 [INFO] [stdout] | [INFO] [stdout] 147 | let hasher = D::new(); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 148 | Ok(self.hash_to_root(hasher)?.finalize().to_vec()) [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/merkle_mountain_range.rs:158:12 [INFO] [stdout] | [INFO] [stdout] 151 | pub(crate) fn hash_to_root(&self, hasher: D) -> Result { [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 158 | Ok(peaks [INFO] [stdout] | ____________^ [INFO] [stdout] 159 | | .into_iter() [INFO] [stdout] 160 | | .map(|i| { [INFO] [stdout] 161 | | self.hashes [INFO] [stdout] ... | [INFO] [stdout] 165 | | }) [INFO] [stdout] 166 | | .fold(hasher, |hasher, h| hasher.chain_update(h))) [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/merkle_proof.rs:218:12 [INFO] [stdout] | [INFO] [stdout] 205 | let hasher = D::new(); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 208 | let (hasher, _) = peaks [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 218 | Ok(hasher.finalize().to_vec()) [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/sparse_merkle_tree/tree.rs:164:12 [INFO] [stdout] | [INFO] [stdout] 163 | let orphan_node = mem::replace(terminal, Node::Empty(EmptyNode {})); [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 164 | Ok((orphan_node, depth)) [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 7 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `tari_mmr` (lib) due to 8 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [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/backend.rs:120:32 [INFO] [stdout] | [INFO] [stdout] 120 | self.iter().map(|v| Ok(v.clone())).for_each(f); [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/mem_backend_vec.rs:128:9 [INFO] [stdout] | [INFO] [stdout] 127 | fn push_front(&mut self, item: Self::Value) -> Result<(), MerkleMountainRangeError> { [INFO] [stdout] | ----------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 128 | / self.db [INFO] [stdout] 129 | | .write() [INFO] [stdout] 130 | | .map_err(|e| MerkleMountainRangeError::BackendError(e.to_string()))? [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/mem_backend_vec.rs:140:25 [INFO] [stdout] | [INFO] [stdout] 140 | .map(|v| Ok(v.clone())) [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/merkle_mountain_range.rs:148:12 [INFO] [stdout] | [INFO] [stdout] 147 | let hasher = D::new(); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 148 | Ok(self.hash_to_root(hasher)?.finalize().to_vec()) [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/merkle_mountain_range.rs:158:12 [INFO] [stdout] | [INFO] [stdout] 151 | pub(crate) fn hash_to_root(&self, hasher: D) -> Result { [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 158 | Ok(peaks [INFO] [stdout] | ____________^ [INFO] [stdout] 159 | | .into_iter() [INFO] [stdout] 160 | | .map(|i| { [INFO] [stdout] 161 | | self.hashes [INFO] [stdout] ... | [INFO] [stdout] 165 | | }) [INFO] [stdout] 166 | | .fold(hasher, |hasher, h| hasher.chain_update(h))) [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/merkle_proof.rs:218:12 [INFO] [stdout] | [INFO] [stdout] 205 | let hasher = D::new(); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 208 | let (hasher, _) = peaks [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 218 | Ok(hasher.finalize().to_vec()) [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/sparse_merkle_tree/tree.rs:164:12 [INFO] [stdout] | [INFO] [stdout] 163 | let orphan_node = mem::replace(terminal, Node::Empty(EmptyNode {})); [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 164 | Ok((orphan_node, depth)) [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 7 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `tari_mmr` (lib test) due to 8 previous errors [INFO] running `Command { std: "docker" "inspect" "1a6558a6203382f0d108430001da9cf9e729ffd698bc1ab5aa46c5df7a4d6dc7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1a6558a6203382f0d108430001da9cf9e729ffd698bc1ab5aa46c5df7a4d6dc7", kill_on_drop: false }` [INFO] [stdout] 1a6558a6203382f0d108430001da9cf9e729ffd698bc1ab5aa46c5df7a4d6dc7