[INFO] fetching crate collected 0.4.0... [INFO] checking collected-0.4.0 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] extracting crate collected 0.4.0 into /workspace/builds/worker-0-tc2/source [INFO] validating manifest of crates.io crate collected 0.4.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 collected 0.4.0 [INFO] finished tweaking crates.io crate collected 0.4.0 [INFO] tweaked toml for crates.io crate collected 0.4.0 written to /workspace/builds/worker-0-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 8 packages to latest compatible versions [INFO] [stderr] Adding hashbrown v0.12.3 (latest: v0.14.5) [INFO] [stderr] Adding indexmap v1.9.3 (latest: v2.5.0) [INFO] [stderr] Adding itertools v0.10.5 (latest: v0.13.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-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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] 854789f00cfe491ed6ba0ef430fb0b16aa96a951500f7294e17a70f4382fcd29 [INFO] running `Command { std: "docker" "start" "-a" "854789f00cfe491ed6ba0ef430fb0b16aa96a951500f7294e17a70f4382fcd29", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "854789f00cfe491ed6ba0ef430fb0b16aa96a951500f7294e17a70f4382fcd29", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "854789f00cfe491ed6ba0ef430fb0b16aa96a951500f7294e17a70f4382fcd29", kill_on_drop: false }` [INFO] [stdout] 854789f00cfe491ed6ba0ef430fb0b16aa96a951500f7294e17a70f4382fcd29 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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] 2870e25f8d1bc7c52c3c6c2fc341f3df62b82824fd2225523cd43910b46be6b8 [INFO] running `Command { std: "docker" "start" "-a" "2870e25f8d1bc7c52c3c6c2fc341f3df62b82824fd2225523cd43910b46be6b8", kill_on_drop: false }` [INFO] [stderr] Checking hashbrown v0.12.3 [INFO] [stderr] Checking min-max-heap v1.3.0 [INFO] [stderr] Checking maplit v1.0.2 [INFO] [stderr] Checking indexmap v1.9.3 [INFO] [stderr] Checking collected v0.4.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `BinaryHeap`, `MaybeUninit`, `borrow::Borrow`, and `cmp::Reverse` [INFO] [stdout] --> src/common.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | borrow::Borrow, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 5 | cmp::Reverse, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 6 | collections::{hash_map, BTreeSet, BinaryHeap, HashMap, HashSet, VecDeque}, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 10 | mem::{self, MaybeUninit}, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BinaryHeap`, `MaybeUninit`, `borrow::Borrow`, and `cmp::Reverse` [INFO] [stdout] --> src/common.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | borrow::Borrow, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 5 | cmp::Reverse, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 6 | collections::{hash_map, BTreeSet, BinaryHeap, HashMap, HashSet, VecDeque}, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 10 | mem::{self, MaybeUninit}, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `itertools::Itertools::fold1`: Use `Iterator::reduce` instead [INFO] [stdout] --> src/add.rs:12:36 [INFO] [stdout] | [INFO] [stdout] 12 | let sum = iter.into_iter().fold1(|lhs, rhs| lhs + rhs); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `itertools::Itertools::fold1`: Use `Iterator::reduce` instead [INFO] [stdout] --> src/add.rs:47:14 [INFO] [stdout] | [INFO] [stdout] 47 | .fold1(|lhs, rhs| lhs + rhs); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `itertools::Itertools::fold1`: Use `Iterator::reduce` instead [INFO] [stdout] --> src/add.rs:12:36 [INFO] [stdout] | [INFO] [stdout] 12 | let sum = iter.into_iter().fold1(|lhs, rhs| lhs + rhs); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `itertools::Itertools::fold1`: Use `Iterator::reduce` instead [INFO] [stdout] --> src/add.rs:47:14 [INFO] [stdout] | [INFO] [stdout] 47 | .fold1(|lhs, rhs| lhs + rhs); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `itertools::Itertools::fold1`: Use `Iterator::reduce` instead [INFO] [stdout] --> src/max.rs:12:36 [INFO] [stdout] | [INFO] [stdout] 12 | let max = iter.into_iter().fold1(|lhs, rhs| lhs.max(rhs)); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `itertools::Itertools::fold1`: Use `Iterator::reduce` instead [INFO] [stdout] --> src/max.rs:47:14 [INFO] [stdout] | [INFO] [stdout] 47 | .fold1(|lhs, rhs| lhs.max(rhs)); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `itertools::Itertools::fold1`: Use `Iterator::reduce` instead [INFO] [stdout] --> src/min.rs:12:36 [INFO] [stdout] | [INFO] [stdout] 12 | let min = iter.into_iter().fold1(|lhs, rhs| lhs.min(rhs)); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `itertools::Itertools::fold1`: Use `Iterator::reduce` instead [INFO] [stdout] --> src/min.rs:47:14 [INFO] [stdout] | [INFO] [stdout] 47 | .fold1(|lhs, rhs| lhs.min(rhs)); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `itertools::Itertools::fold1`: Use `Iterator::reduce` instead [INFO] [stdout] --> src/mul.rs:12:37 [INFO] [stdout] | [INFO] [stdout] 12 | let prod = iter.into_iter().fold1(|lhs, rhs| lhs * rhs); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `itertools::Itertools::fold1`: Use `Iterator::reduce` instead [INFO] [stdout] --> src/mul.rs:47:14 [INFO] [stdout] | [INFO] [stdout] 47 | .fold1(|lhs, rhs| lhs * rhs); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `itertools::Itertools::fold1`: Use `Iterator::reduce` instead [INFO] [stdout] --> src/max.rs:12:36 [INFO] [stdout] | [INFO] [stdout] 12 | let max = iter.into_iter().fold1(|lhs, rhs| lhs.max(rhs)); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `itertools::Itertools::fold1`: Use `Iterator::reduce` instead [INFO] [stdout] --> src/max.rs:47:14 [INFO] [stdout] | [INFO] [stdout] 47 | .fold1(|lhs, rhs| lhs.max(rhs)); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `itertools::Itertools::fold1`: Use `Iterator::reduce` instead [INFO] [stdout] --> src/min.rs:12:36 [INFO] [stdout] | [INFO] [stdout] 12 | let min = iter.into_iter().fold1(|lhs, rhs| lhs.min(rhs)); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `itertools::Itertools::fold1`: Use `Iterator::reduce` instead [INFO] [stdout] --> src/min.rs:47:14 [INFO] [stdout] | [INFO] [stdout] 47 | .fold1(|lhs, rhs| lhs.min(rhs)); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `itertools::Itertools::fold1`: Use `Iterator::reduce` instead [INFO] [stdout] --> src/mul.rs:12:37 [INFO] [stdout] | [INFO] [stdout] 12 | let prod = iter.into_iter().fold1(|lhs, rhs| lhs * rhs); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `itertools::Itertools::fold1`: Use `Iterator::reduce` instead [INFO] [stdout] --> src/mul.rs:47:14 [INFO] [stdout] | [INFO] [stdout] 47 | .fold1(|lhs, rhs| lhs * rhs); [INFO] [stdout] | ^^^^^ [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/count.rs:28:20 [INFO] [stdout] | [INFO] [stdout] 26 | fn from_iter>(iter: T) -> Self { [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 27 | Self { [INFO] [stdout] 28 | count: iter.into_iter().count(), [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/from_unique_hash.rs:75:29 [INFO] [stdout] | [INFO] [stdout] 73 | .map(|item| { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 74 | ok &= set.insert(item.clone()); [INFO] [stdout] 75 | ok.then(|| item) [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/from_unique_ord.rs:75:29 [INFO] [stdout] | [INFO] [stdout] 73 | .map(|item| { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 74 | ok &= set.insert(item.clone()); [INFO] [stdout] 75 | ok.then(|| item) [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/group_hash_map.rs:31:42 [INFO] [stdout] | [INFO] [stdout] 31 | .for_each(|(key, val)| match map.entry(key) { [INFO] [stdout] | ---------- ^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [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/last.rs:28:20 [INFO] [stdout] | [INFO] [stdout] 26 | fn from_iter>(iter: T) -> Self { [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 27 | Self { [INFO] [stdout] 28 | inner: iter.into_iter().last(), [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/last_n.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn into_inner(self) -> U { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 19 | self.buffer.into_iter().collect() [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/unique_btree_set.rs:28:21 [INFO] [stdout] | [INFO] [stdout] 26 | let set = iter.into_iter().try_fold(set, |mut set, item| { [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] 27 | let ok = set.insert(item); [INFO] [stdout] 28 | ok.then(|| set) [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/unique_hash_set.rs:25:21 [INFO] [stdout] | [INFO] [stdout] 23 | let set = iter.into_iter().try_fold(set, |mut set, item| { [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] 24 | let ok = set.insert(item); [INFO] [stdout] 25 | ok.then(|| set) [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/unique_index_set.rs:26:21 [INFO] [stdout] | [INFO] [stdout] 24 | let set = iter.into_iter().try_fold(set, |mut set, item| { [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] 25 | let ok = set.insert(item); [INFO] [stdout] 26 | ok.then(|| set) [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/uniquify_hash.rs:37:43 [INFO] [stdout] | [INFO] [stdout] 37 | .filter_map(|item| set.insert(item.clone()).then(|| item)) [INFO] [stdout] | ---- ^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [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/uniquify_hash.rs:37:62 [INFO] [stdout] | [INFO] [stdout] 37 | .filter_map(|item| set.insert(item.clone()).then(|| item)) [INFO] [stdout] | ---- ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [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/uniquify_hash.rs:54:43 [INFO] [stdout] | [INFO] [stdout] 54 | .filter_map(|item| set.insert(item.clone()).then(|| item)); [INFO] [stdout] | ---- ^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [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/uniquify_hash.rs:54:62 [INFO] [stdout] | [INFO] [stdout] 54 | .filter_map(|item| set.insert(item.clone()).then(|| item)); [INFO] [stdout] | ---- ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [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/uniquify_ord.rs:37:43 [INFO] [stdout] | [INFO] [stdout] 37 | .filter_map(|item| set.insert(item.clone()).then(|| item)) [INFO] [stdout] | ---- ^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [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/uniquify_ord.rs:37:62 [INFO] [stdout] | [INFO] [stdout] 37 | .filter_map(|item| set.insert(item.clone()).then(|| item)) [INFO] [stdout] | ---- ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [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/uniquify_ord.rs:54:43 [INFO] [stdout] | [INFO] [stdout] 54 | .filter_map(|item| set.insert(item.clone()).then(|| item)); [INFO] [stdout] | ---- ^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [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/uniquify_ord.rs:54:62 [INFO] [stdout] | [INFO] [stdout] 54 | .filter_map(|item| set.insert(item.clone()).then(|| item)); [INFO] [stdout] | ---- ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [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/count.rs:28:20 [INFO] [stdout] | [INFO] [stdout] 26 | fn from_iter>(iter: T) -> Self { [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 27 | Self { [INFO] [stdout] 28 | count: iter.into_iter().count(), [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/from_unique_hash.rs:75:29 [INFO] [stdout] | [INFO] [stdout] 73 | .map(|item| { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 74 | ok &= set.insert(item.clone()); [INFO] [stdout] 75 | ok.then(|| item) [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/from_unique_ord.rs:75:29 [INFO] [stdout] | [INFO] [stdout] 73 | .map(|item| { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 74 | ok &= set.insert(item.clone()); [INFO] [stdout] 75 | ok.then(|| item) [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/group_hash_map.rs:31:42 [INFO] [stdout] | [INFO] [stdout] 31 | .for_each(|(key, val)| match map.entry(key) { [INFO] [stdout] | ---------- ^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [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 `collected` (lib) due to 18 previous errors; 9 warnings emitted [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/last.rs:28:20 [INFO] [stdout] | [INFO] [stdout] 26 | fn from_iter>(iter: T) -> Self { [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 27 | Self { [INFO] [stdout] 28 | inner: iter.into_iter().last(), [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] 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/last_n.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn into_inner(self) -> U { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 19 | self.buffer.into_iter().collect() [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/unique_btree_set.rs:28:21 [INFO] [stdout] | [INFO] [stdout] 26 | let set = iter.into_iter().try_fold(set, |mut set, item| { [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] 27 | let ok = set.insert(item); [INFO] [stdout] 28 | ok.then(|| set) [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/unique_hash_set.rs:25:21 [INFO] [stdout] | [INFO] [stdout] 23 | let set = iter.into_iter().try_fold(set, |mut set, item| { [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] 24 | let ok = set.insert(item); [INFO] [stdout] 25 | ok.then(|| set) [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 17 previous errors; 9 warnings emitted [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/unique_index_set.rs:26:21 [INFO] [stdout] | [INFO] [stdout] 24 | let set = iter.into_iter().try_fold(set, |mut set, item| { [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] 25 | let ok = set.insert(item); [INFO] [stdout] 26 | ok.then(|| set) [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/uniquify_hash.rs:37:43 [INFO] [stdout] | [INFO] [stdout] 37 | .filter_map(|item| set.insert(item.clone()).then(|| item)) [INFO] [stdout] | ---- ^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [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/uniquify_hash.rs:37:62 [INFO] [stdout] | [INFO] [stdout] 37 | .filter_map(|item| set.insert(item.clone()).then(|| item)) [INFO] [stdout] | ---- ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [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/uniquify_hash.rs:54:43 [INFO] [stdout] | [INFO] [stdout] 54 | .filter_map(|item| set.insert(item.clone()).then(|| item)); [INFO] [stdout] | ---- ^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [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/uniquify_hash.rs:54:62 [INFO] [stdout] | [INFO] [stdout] 54 | .filter_map(|item| set.insert(item.clone()).then(|| item)); [INFO] [stdout] | ---- ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [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/uniquify_ord.rs:37:43 [INFO] [stdout] | [INFO] [stdout] 37 | .filter_map(|item| set.insert(item.clone()).then(|| item)) [INFO] [stdout] | ---- ^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [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/uniquify_ord.rs:37:62 [INFO] [stdout] | [INFO] [stdout] 37 | .filter_map(|item| set.insert(item.clone()).then(|| item)) [INFO] [stdout] | ---- ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [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/uniquify_ord.rs:54:43 [INFO] [stdout] | [INFO] [stdout] 54 | .filter_map(|item| set.insert(item.clone()).then(|| item)); [INFO] [stdout] | ---- ^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [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/uniquify_ord.rs:54:62 [INFO] [stdout] | [INFO] [stdout] 54 | .filter_map(|item| set.insert(item.clone()).then(|| item)); [INFO] [stdout] | ---- ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [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 17 previous errors; 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `collected` (lib test) due to 18 previous errors; 9 warnings emitted [INFO] running `Command { std: "docker" "inspect" "2870e25f8d1bc7c52c3c6c2fc341f3df62b82824fd2225523cd43910b46be6b8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2870e25f8d1bc7c52c3c6c2fc341f3df62b82824fd2225523cd43910b46be6b8", kill_on_drop: false }` [INFO] [stdout] 2870e25f8d1bc7c52c3c6c2fc341f3df62b82824fd2225523cd43910b46be6b8