[INFO] cloning repository https://github.com/Jaymesv2/rust-data-structures [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Jaymesv2/rust-data-structures" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJaymesv2%2Frust-data-structures", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJaymesv2%2Frust-data-structures'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 9c16713399b32ec6b1114fa8752a63936cc8c01b [INFO] checking Jaymesv2/rust-data-structures/9c16713399b32ec6b1114fa8752a63936cc8c01b against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJaymesv2%2Frust-data-structures" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Jaymesv2/rust-data-structures 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] removed /workspace/builds/worker-1-tc2/source/.cargo/config.toml [INFO] removed /workspace/builds/worker-1-tc2/source/rust-toolchain.toml [INFO] started tweaking git repo https://github.com/Jaymesv2/rust-data-structures [INFO] finished tweaking git repo https://github.com/Jaymesv2/rust-data-structures [INFO] tweaked toml for git repo https://github.com/Jaymesv2/rust-data-structures written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/Jaymesv2/rust-data-structures already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] 1cb52e75e25301c817e98b7fd0974baa58119f7f0df84453cfab4c28381e02b2 [INFO] running `Command { std: "docker" "start" "-a" "1cb52e75e25301c817e98b7fd0974baa58119f7f0df84453cfab4c28381e02b2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1cb52e75e25301c817e98b7fd0974baa58119f7f0df84453cfab4c28381e02b2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1cb52e75e25301c817e98b7fd0974baa58119f7f0df84453cfab4c28381e02b2", kill_on_drop: false }` [INFO] [stdout] 1cb52e75e25301c817e98b7fd0974baa58119f7f0df84453cfab4c28381e02b2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] 8abc68bd7c84a4441f85c9777c197ac68fed29c7b82233db56fe4f987c5bd6af [INFO] running `Command { std: "docker" "start" "-a" "8abc68bd7c84a4441f85c9777c197ac68fed29c7b82233db56fe4f987c5bd6af", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.126 [INFO] [stderr] Checking ppv-lite86 v0.2.16 [INFO] [stderr] Checking hash_table v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `hint::unreachable_unchecked` [INFO] [stdout] --> src/linked_lists/singly_linked_list.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | hint::unreachable_unchecked, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `slice_flatten` has been stable since 1.80.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/lib.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | slice_flatten, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/rc.rs:200:12 [INFO] [stdout] | [INFO] [stdout] 198 | pub trait Weakt { [INFO] [stdout] | ----- associated items in this trait [INFO] [stdout] 199 | type Parent: Rct; [INFO] [stdout] 200 | fn upgrade(&self) -> Option; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 201 | fn as_ptr(&self) -> *const T; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 202 | fn into_raw(self) -> *const T; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 203 | unsafe fn from_raw(ptr: *const T) -> Self; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 204 | fn strong_count(&self) -> usize; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 205 | fn weak_count(&self) -> usize; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 206 | fn ptr_eq(&self, other: &Self) -> bool; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/rc.rs:210:12 [INFO] [stdout] | [INFO] [stdout] 209 | pub trait WeaktSizedT: Weakt { [INFO] [stdout] | ----------- associated function in this trait [INFO] [stdout] 210 | fn new() -> Self; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Collection` is never used [INFO] [stdout] --> src/traits.rs:10:7 [INFO] [stdout] | [INFO] [stdout] 10 | trait Collection: [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Creatable` is never used [INFO] [stdout] --> src/traits/adt.rs:4:7 [INFO] [stdout] | [INFO] [stdout] 4 | trait Creatable { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `List` is never used [INFO] [stdout] --> src/traits/adt.rs:8:7 [INFO] [stdout] | [INFO] [stdout] 8 | trait List { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `PriorityQueue` is never used [INFO] [stdout] --> src/traits/adt.rs:18:7 [INFO] [stdout] | [INFO] [stdout] 18 | trait PriorityQueue { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `HeapKind` is never used [INFO] [stdout] --> src/traits/adt.rs:33:7 [INFO] [stdout] | [INFO] [stdout] 33 | trait HeapKind {} [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MinHeap` is never constructed [INFO] [stdout] --> src/traits/adt.rs:34:8 [INFO] [stdout] | [INFO] [stdout] 34 | struct MinHeap; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MaxHeap` is never constructed [INFO] [stdout] --> src/traits/adt.rs:35:8 [INFO] [stdout] | [INFO] [stdout] 35 | struct MaxHeap; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Heap` is never used [INFO] [stdout] --> src/traits/adt.rs:39:7 [INFO] [stdout] | [INFO] [stdout] 39 | trait Heap [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Set` is never used [INFO] [stdout] --> src/traits/adt.rs:88:7 [INFO] [stdout] | [INFO] [stdout] 88 | trait Set { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `SetSize` is never used [INFO] [stdout] --> src/traits/adt.rs:95:6 [INFO] [stdout] | [INFO] [stdout] 95 | enum SetSize { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `StaticSet` is never used [INFO] [stdout] --> src/traits/adt.rs:100:7 [INFO] [stdout] | [INFO] [stdout] 100 | trait StaticSet: Set { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `DynamicSet` is never used [INFO] [stdout] --> src/traits/adt.rs:110:7 [INFO] [stdout] | [INFO] [stdout] 110 | trait DynamicSet: Set { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `MultiSetKind` is never used [INFO] [stdout] --> src/traits/adt.rs:118:7 [INFO] [stdout] | [INFO] [stdout] 118 | trait MultiSetKind {} [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `MultiSet` is never used [INFO] [stdout] --> src/traits/adt.rs:120:7 [INFO] [stdout] | [INFO] [stdout] 120 | trait MultiSet: Set [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Sum` is never constructed [INFO] [stdout] --> src/traits/fp.rs:133:8 [INFO] [stdout] | [INFO] [stdout] 133 | struct Sum(pub T); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `IteratorExactExt` is never used [INFO] [stdout] --> src/util.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | pub trait IteratorExactExt: Iterator + ExactSizeIterator { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `IteratorExt` is never used [INFO] [stdout] --> src/util.rs:65:11 [INFO] [stdout] | [INFO] [stdout] 65 | pub trait IteratorExt: Iterator { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Heap` is never used [INFO] [stdout] --> src/heap.rs:6:7 [INFO] [stdout] | [INFO] [stdout] 6 | trait Heap { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `ombga` is never read [INFO] [stdout] --> src/heap/binary_heap.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct BinaryHeap { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 13 | ombga: Vec, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `BinaryHeap` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `parent_idx`, `left_child_idx`, `right_child_idx`, `downheap`, and `upheap` are never used [INFO] [stdout] --> src/heap/binary_heap.rs:18:8 [INFO] [stdout] | [INFO] [stdout] 16 | impl BinaryHeap { [INFO] [stdout] | -------------------------- methods in this implementation [INFO] [stdout] 17 | #[inline(always)] [INFO] [stdout] 18 | fn parent_idx(&self, i: usize) -> Option { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 23 | fn left_child_idx(&self,i: usize) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 32 | fn right_child_idx(&self,i: usize) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 39 | fn downheap(&mut self, mut idx: usize) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 64 | fn upheap(&mut self, mut idx: usize) { [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/hash_table.rs:97:12 [INFO] [stdout] | [INFO] [stdout] 93 | hash_builder: S, [INFO] [stdout] | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 94 | allocator: A, [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 95 | ) -> Result { [INFO] [stdout] 96 | let inner = T::with_capacity_and_hasher_in(capacity, hash_builder, allocator)?; [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 97 | Ok(Self { [INFO] [stdout] | ____________^ [INFO] [stdout] 98 | | inner, [INFO] [stdout] 99 | | marker: PhantomData, [INFO] [stdout] 100 | | }) [INFO] [stdout] | | ^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________| [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/hash_table/seperate_chaining.rs:55:12 [INFO] [stdout] | [INFO] [stdout] 46 | hash_builder: S, [INFO] [stdout] | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 47 | allocator: A, [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 55 | Ok(Self { [INFO] [stdout] | ____________^ [INFO] [stdout] 56 | | ptr, [INFO] [stdout] 57 | | capacity, [INFO] [stdout] 58 | | len: 0, [INFO] [stdout] ... | [INFO] [stdout] 61 | | marker: PhantomData, [INFO] [stdout] 62 | | }) [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/hash_table/seperate_chaining.rs:108:9 [INFO] [stdout] | [INFO] [stdout] 107 | unsafe fn insert_unchecked(&mut self, key: K, value: V) -> Result, AllocError> { [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] 108 | / self.ptr [INFO] [stdout] 109 | | .as_ptr() [INFO] [stdout] 110 | | .add(self.key_index(&key)) [INFO] [stdout] 111 | | .as_mut() [INFO] [stdout] 112 | | .unwrap_unchecked() [INFO] [stdout] 113 | | .insert(key, 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/linked_lists/singly_linked_list.rs:49:22 [INFO] [stdout] | [INFO] [stdout] 48 | pub fn new_in(alloc: A) -> Self { [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 49 | Self { head: None, alloc } [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/linked_lists/singly_linked_list.rs:283:23 [INFO] [stdout] | [INFO] [stdout] 282 | unsafe fn insert_unchecked(&mut self, key: K, value: V) -> Result<(), AllocError> { [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] 283 | self.try_push((key, 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/linked_lists/singly_linked_list/unsafe.rs:35:12 [INFO] [stdout] | [INFO] [stdout] 32 | fn insert(&mut self, key: K, value: V) -> Result, AllocError> { [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] ... [INFO] [stdout] 35 | Ok(unsafe { [INFO] [stdout] | ____________^ [INFO] [stdout] 36 | | let rem = self.remove(&node.as_ref().val.0); [INFO] [stdout] 37 | | node.as_mut().next = self.head; [INFO] [stdout] 38 | | self.head = Some(node); [INFO] [stdout] 39 | | rem [INFO] [stdout] 40 | | }) [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/rc.rs:114:14 [INFO] [stdout] | [INFO] [stdout] 113 | pub fn new(item: T) -> Self { [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 114 | Self(S::Counter::new(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/rc.rs:121:14 [INFO] [stdout] | [INFO] [stdout] 117 | pub fn new_cyclic(data_fn: F) -> Self [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 121 | Self(S::Counter::new_cyclic(data_fn)) [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/rc.rs:124:9 [INFO] [stdout] | [INFO] [stdout] 123 | pub fn try_unwrap(this: Self) -> Result { [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 124 | S::Counter::try_unwrap(this.0).map_err(|e| Self(e)) [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/traits/fp.rs:103:9 [INFO] [stdout] | [INFO] [stdout] 99 | fn map(self, f: F) -> Self::Wrapped [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] ... [INFO] [stdout] 103 | self.into_iter().map(f).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/traits/fp.rs:175:19 [INFO] [stdout] | [INFO] [stdout] 171 | fn map(self, f: F) -> Self::Wrapped [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] ... [INFO] [stdout] 175 | IdentityT(self.0.map(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] [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/traits/fp.rs:192:19 [INFO] [stdout] | [INFO] [stdout] 188 | fn lift_a2(self, b: Self::Wrapped, f: F) -> Self::Wrapped [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] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 192 | IdentityT(self.0.lift_a2(b.0, 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] [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/traits/fp.rs:197:19 [INFO] [stdout] | [INFO] [stdout] 195 | fn pure(t: T) -> Self::Wrapped { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 196 | //::Wrapped<::Unwrapped> [INFO] [stdout] 197 | IdentityT(M::pure(t)) [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/traits/fp.rs:206:19 [INFO] [stdout] | [INFO] [stdout] 202 | fn bind(self, mut f: F) -> Self::Wrapped [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] ... [INFO] [stdout] 206 | IdentityT(self.0.bind(|x| f(x).0)) [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/traits/fp.rs:206:35 [INFO] [stdout] | [INFO] [stdout] 206 | IdentityT(self.0.bind(|x| f(x).0)) [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/traits/fp.rs:254:14 [INFO] [stdout] | [INFO] [stdout] 248 | fn lift_a2(self, b: Self::Wrapped, mut f: F) -> Self::Wrapped [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] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 252 | let a = self?; [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 253 | let b = b?; [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 254 | Some(f(a, b)) [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [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/traits/fp.rs:268:12 [INFO] [stdout] | [INFO] [stdout] 262 | fn lift_a2(self, b: Self::Wrapped, mut f: F) -> Self::Wrapped [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] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 266 | let a = self?; [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 267 | let b = b?; [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 268 | Ok(f(a, b)) [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [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/util.rs:20:14 [INFO] [stdout] | [INFO] [stdout] 12 | fn collect_to_array(mut self) -> Option<[Self::Item; N]> [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 20 | Some(core::array::from_fn(|_| self.next().unwrap())) [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/util.rs:20:39 [INFO] [stdout] | [INFO] [stdout] 20 | Some(core::array::from_fn(|_| self.next().unwrap())) [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/util.rs:47:39 [INFO] [stdout] | [INFO] [stdout] 47 | Some(core::array::from_fn(|_| self.inner.next().unwrap())) [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/util.rs:72:34 [INFO] [stdout] | [INFO] [stdout] 72 | core::array::from_fn(|_| self.next().unwrap_unchecked()) [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 21 previous errors; 24 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `hash_table` (lib) due to 22 previous errors; 24 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "8abc68bd7c84a4441f85c9777c197ac68fed29c7b82233db56fe4f987c5bd6af", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8abc68bd7c84a4441f85c9777c197ac68fed29c7b82233db56fe4f987c5bd6af", kill_on_drop: false }` [INFO] [stdout] 8abc68bd7c84a4441f85c9777c197ac68fed29c7b82233db56fe4f987c5bd6af