[INFO] cloning repository https://github.com/NeilAllavarpu/device-tree [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/NeilAllavarpu/device-tree" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FNeilAllavarpu%2Fdevice-tree", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FNeilAllavarpu%2Fdevice-tree'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 85a5fa7770153bee63cca6a7939d5161cd02f43e [INFO] checking NeilAllavarpu/device-tree/85a5fa7770153bee63cca6a7939d5161cd02f43e 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%2FNeilAllavarpu%2Fdevice-tree" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/NeilAllavarpu/device-tree 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 git repo https://github.com/NeilAllavarpu/device-tree [INFO] finished tweaking git repo https://github.com/NeilAllavarpu/device-tree [INFO] tweaked toml for git repo https://github.com/NeilAllavarpu/device-tree written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/NeilAllavarpu/device-tree 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-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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] 88744783eebb9593fc2e6fe1a6124fa9cc03209ffdb000b0ccbfa5c02d33c828 [INFO] running `Command { std: "docker" "start" "-a" "88744783eebb9593fc2e6fe1a6124fa9cc03209ffdb000b0ccbfa5c02d33c828", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "88744783eebb9593fc2e6fe1a6124fa9cc03209ffdb000b0ccbfa5c02d33c828", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "88744783eebb9593fc2e6fe1a6124fa9cc03209ffdb000b0ccbfa5c02d33c828", kill_on_drop: false }` [INFO] [stdout] 88744783eebb9593fc2e6fe1a6124fa9cc03209ffdb000b0ccbfa5c02d33c828 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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] 23c56b060dc78bc92e8786eec1596477d3dc7631fbbed5512e535eff09e92b1b [INFO] running `Command { std: "docker" "start" "-a" "23c56b060dc78bc92e8786eec1596477d3dc7631fbbed5512e535eff09e92b1b", kill_on_drop: false }` [INFO] [stderr] Compiling num-traits v0.2.17 [INFO] [stderr] Checking device-tree v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: the feature `lint_reasons` has been stable since 1.81.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/lib.rs:39:12 [INFO] [stdout] | [INFO] [stdout] 39 | #![feature(lint_reasons)] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `cstr_count_bytes` has been stable since 1.79.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/lib.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 16 | #![feature(cstr_count_bytes)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `error_in_core` has been stable since 1.81.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/lib.rs:52:12 [INFO] [stdout] | [INFO] [stdout] 52 | #![feature(error_in_core)] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `pointer_is_aligned` has been stable since 1.79.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/lib.rs:54:12 [INFO] [stdout] | [INFO] [stdout] 54 | #![feature(pointer_is_aligned)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `ptr_from_ref` has been stable since 1.76.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/lib.rs:48:12 [INFO] [stdout] | [INFO] [stdout] 48 | #![feature(ptr_from_ref)] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `lint_reasons` has been stable since 1.81.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/lib.rs:39:12 [INFO] [stdout] | [INFO] [stdout] 39 | #![feature(lint_reasons)] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `cstr_count_bytes` has been stable since 1.79.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/lib.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 16 | #![feature(cstr_count_bytes)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `error_in_core` has been stable since 1.81.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/lib.rs:52:12 [INFO] [stdout] | [INFO] [stdout] 52 | #![feature(error_in_core)] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `pointer_is_aligned` has been stable since 1.79.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/lib.rs:54:12 [INFO] [stdout] | [INFO] [stdout] 54 | #![feature(pointer_is_aligned)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `ptr_from_ref` has been stable since 1.76.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/lib.rs:48:12 [INFO] [stdout] | [INFO] [stdout] 48 | #![feature(ptr_from_ref)] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `mem_rsvmap_offset` [INFO] [stdout] --> src/dtb.rs:248:13 [INFO] [stdout] | [INFO] [stdout] 248 | let mem_rsvmap_offset = [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_mem_rsvmap_offset` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `mem_rsvmap_offset` [INFO] [stdout] --> src/dtb.rs:248:13 [INFO] [stdout] | [INFO] [stdout] 248 | let mem_rsvmap_offset = [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_mem_rsvmap_offset` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/memory_reservation.rs:18:31 [INFO] [stdout] | [INFO] [stdout] 18 | pub struct MemoryReservations(pub Box<[(u64, u64)]>); [INFO] [stdout] | ------------------ ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `MemoryReservations` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/node/interrupt.rs:12:13 [INFO] [stdout] | [INFO] [stdout] 12 | PHandle(u32), [INFO] [stdout] | ------- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Parent` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 12 | PHandle(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/node/interrupt.rs:14:18 [INFO] [stdout] | [INFO] [stdout] 14 | DirectParent(Weak>), [INFO] [stdout] | ------------ ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Parent` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 14 | DirectParent(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/node/interrupt.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 18 | pub struct PartialInterruptDevice<'node> { [INFO] [stdout] | ---------------------- fields in this struct [INFO] [stdout] 19 | /// The device that this interrupt device belongs to [INFO] [stdout] 20 | device: Weak>, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 21 | /// The interrupt parent of this device [INFO] [stdout] 22 | interrupt_parent: Option>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 23 | /// Whether or not this is an interrupt controller [INFO] [stdout] 24 | is_controller: bool, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 25 | /// Interrupt cell count [INFO] [stdout] 26 | cells: Option, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 27 | /// The interrupts property of this node [INFO] [stdout] 28 | interrupts: Option>, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 29 | /// The interrupts map property of this node [INFO] [stdout] 30 | interrupt_map: Option>, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 31 | /// The interrupts mask property of this node [INFO] [stdout] 32 | interrupt_map_mask: Option>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PartialInterruptDevice` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [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/map.rs:62:26 [INFO] [stdout] | [INFO] [stdout] 62 | .map(|index| self.contents.remove(index).1) [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/map.rs:91:25 [INFO] [stdout] | [INFO] [stdout] 88 | mut filter: F, [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 91 | .extract_if(move |&mut (ref key, ref value)| filter(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/node/mod.rs:104:23 [INFO] [stdout] | [INFO] [stdout] 100 | children: impl IntoIterator, Self)>, [INFO] [stdout] | ---------------------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 104 | children: children.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/node/mod.rs:199:49 [INFO] [stdout] | [INFO] [stdout] 194 | mut rest_path: impl Iterator>, [INFO] [stdout] | --------------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 199 | self.children().get(&sub_path).and_then(|node| { [INFO] [stdout] | _________________________________________________^ [INFO] [stdout] 200 | | rest_path.next().map_or_else( [INFO] [stdout] 201 | | || Some(Rc::clone(node)), [INFO] [stdout] 202 | | |next_path| node.find(next_path, rest_path), [INFO] [stdout] 203 | | ) [INFO] [stdout] 204 | | }) [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/node/mod.rs:202:17 [INFO] [stdout] | [INFO] [stdout] 194 | mut rest_path: impl Iterator>, [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 202 | |next_path| node.find(next_path, rest_path), [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/node/mod.rs:201:25 [INFO] [stdout] | [INFO] [stdout] 201 | || Some(Rc::clone(node)), [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/node/cache.rs:185:12 [INFO] [stdout] | [INFO] [stdout] 179 | let (properties, children) = value.into_components(phandles, None); [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 180 | let children = match children { [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 181 | Ok(children) => children, [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 182 | Err(RawNodeError::Cells) => return Err(HigherLevelError::Cells), [INFO] [stdout] 183 | Err(RawNodeError::Child(child)) => return Err(HigherLevelError::Child(child)), [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 184 | }; [INFO] [stdout] 185 | Ok(( [INFO] [stdout] | ____________^ [INFO] [stdout] 186 | | phandle, [INFO] [stdout] 187 | | Self { [INFO] [stdout] 188 | | cache, [INFO] [stdout] ... | [INFO] [stdout] 192 | | }, [INFO] [stdout] 193 | | )) [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] | [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/node/chosen.rs:103:12 [INFO] [stdout] | [INFO] [stdout] 77 | let stdout = rc_from_node(&mut chosen.properties, PropertyKeys::STDOUT_PATH, root)?; [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 78 | // If the stdin-path property is not specified, stdout-path should be assumed to define the input device. [INFO] [stdout] 79 | let stdin = rc_from_node(&mut chosen.properties, PropertyKeys::STDIN_PATH, root)? [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 103 | Ok(Self { [INFO] [stdout] | ____________^ [INFO] [stdout] 104 | | boot_args, [INFO] [stdout] 105 | | stdout, [INFO] [stdout] 106 | | stdin, [INFO] [stdout] ... | [INFO] [stdout] 113 | | rpi_boardrev_ext, [INFO] [stdout] 114 | | }) [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] | [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/node/cpu.rs:166:12 [INFO] [stdout] | [INFO] [stdout] 144 | let next_cache = value [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 166 | Ok(Self { [INFO] [stdout] | ____________^ [INFO] [stdout] 167 | | reg, [INFO] [stdout] 168 | | enable_method, [INFO] [stdout] 169 | | l1_cache: cache, [INFO] [stdout] ... | [INFO] [stdout] 172 | | properties: value.properties, [INFO] [stdout] 173 | | }) [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] [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/node/cpu.rs:196:9 [INFO] [stdout] | [INFO] [stdout] 186 | let caches = parent [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 196 | / parent [INFO] [stdout] 197 | | .children [INFO] [stdout] 198 | | .into_iter() [INFO] [stdout] 199 | | .map(|(name, node)| { [INFO] [stdout] ... | [INFO] [stdout] 212 | | }) [INFO] [stdout] 213 | | .try_collect() [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] | [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/node/cpu.rs:214:18 [INFO] [stdout] | [INFO] [stdout] 186 | let caches = parent [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 214 | .map(|cpus| (cpus, caches)) [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] | [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/node/cpu.rs:191:55 [INFO] [stdout] | [INFO] [stdout] 191 | .map(|(phandle, cache)| (phandle, Rc::new(cache))) [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/node/cpu.rs:211:20 [INFO] [stdout] | [INFO] [stdout] 200 | let node = Rc::new( [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 211 | Ok((node.reg, node)) [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/node/device.rs:91:26 [INFO] [stdout] | [INFO] [stdout] 91 | .map(|bytes| bytes.try_into().map_err(|_err| Error::Compatible)) [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/node/device.rs:148:27 [INFO] [stdout] | [INFO] [stdout] 78 | let reg = value [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 88 | let compatible = value [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 103 | let ranges = value [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 140 | let (mut properties, children) = value.into_components_from_cells( [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 148 | children: children [INFO] [stdout] | ___________________________^ [INFO] [stdout] 149 | | .map_err(|err| match err { [INFO] [stdout] 150 | | RawNodeError::Cells => Error::Cells, [INFO] [stdout] 151 | | RawNodeError::Child(child) => Error::Child(Box::new(child)), [INFO] [stdout] 152 | | }) [INFO] [stdout] 153 | | .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/node/device.rs:159:29 [INFO] [stdout] | [INFO] [stdout] 78 | let reg = value [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 88 | let compatible = value [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 103 | let ranges = value [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 140 | let (mut properties, children) = value.into_components_from_cells( [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 159 | interrupts: Rc::new(PartialInterruptDevice::extract_from_properties( [INFO] [stdout] | _____________________________^ [INFO] [stdout] 160 | | &mut properties, [INFO] [stdout] 161 | | Weak::clone(device), [INFO] [stdout] 162 | | parent, [INFO] [stdout] 163 | | )), [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/node/interrupt.rs:53:68 [INFO] [stdout] | [INFO] [stdout] 53 | .or_else(|| device_parent.map(|x| Parent::DirectParent(Weak::clone(x)))); [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/node/reserved_memory.rs:221:12 [INFO] [stdout] | [INFO] [stdout] 165 | let regs = value [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 187 | let alloc_ranges = value [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 214 | let (properties, children) = value.into_components(phandles, None); [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 215 | let children = match children { [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 216 | Ok(children) => children, [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 217 | Err(RawNodeError::Cells) => return Err(Error::Cells), [INFO] [stdout] 218 | Err(RawNodeError::Child(child)) => return Err(Error::Child(child)), [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 221 | Ok(Self { [INFO] [stdout] | ____________^ [INFO] [stdout] 222 | | memory: regs.map_or_else( [INFO] [stdout] 223 | | || { [INFO] [stdout] 224 | | size.map(|x| Range::Dynamic(x, alignment, alloc_ranges)) [INFO] [stdout] ... | [INFO] [stdout] 238 | | children, [INFO] [stdout] 239 | | }) [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] | | 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] | [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/node/reserved_memory.rs:157:67 [INFO] [stdout] | [INFO] [stdout] 157 | .map(|bytes| bytes.into_cells(size_cells.get()).ok_or(Error::Cells)) [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/node/reserved_memory.rs:162:67 [INFO] [stdout] | [INFO] [stdout] 162 | .map(|bytes| bytes.into_cells(size_cells.get()).ok_or(Error::Cells)) [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/node/reserved_memory.rs:224:21 [INFO] [stdout] | [INFO] [stdout] 187 | let alloc_ranges = value [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 224 | size.map(|x| Range::Dynamic(x, alignment, alloc_ranges)) [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/node/reserved_memory.rs:225:32 [INFO] [stdout] | [INFO] [stdout] 187 | let alloc_ranges = value [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 225 | .ok_or(Error::InvalidMemory) [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/node/reserved_memory.rs:227:34 [INFO] [stdout] | [INFO] [stdout] 227 | |static_regs| Ok(Range::Static(static_regs)), [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/node/root.rs:272:68 [INFO] [stdout] | [INFO] [stdout] 257 | ... mut rest_path: impl Iterator>, [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 272 | ... reserved_memory.get(&grandchild_name).and_then(|grandchild| { [INFO] [stdout] | __________________________________________________________________^ [INFO] [stdout] 273 | | ... rest_path.next().map_or_else(|| { [INFO] [stdout] 274 | | ... eprintln!("WARNING: References to non-plain device nodes are not currently supported: /{direct_child_name}/{gra... [INFO] [stdout] 275 | | ... None [INFO] [stdout] ... | [INFO] [stdout] 278 | | ... }) [INFO] [stdout] 279 | | ... }) [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/node/root.rs:276:28 [INFO] [stdout] | [INFO] [stdout] 257 | mut rest_path: impl Iterator>, [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 276 | }, |great_grandchild_name| { [INFO] [stdout] | ____________________________^ [INFO] [stdout] 277 | | grandchild.find(great_grandchild_name, rest_path) [INFO] [stdout] 278 | | }) [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/node/root.rs:285:48 [INFO] [stdout] | [INFO] [stdout] 257 | mut rest_path: impl Iterator>, [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 285 | grandchild_name_opt.map_or(Some(Rc::clone(direct_child)), |grandchild_name| { [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/node/root.rs:285:79 [INFO] [stdout] | [INFO] [stdout] 257 | mut rest_path: impl Iterator>, [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 285 | grandchild_name_opt.map_or(Some(Rc::clone(direct_child)), |grandchild_name| { [INFO] [stdout] | _______________________________________________________________________________^ [INFO] [stdout] 286 | | direct_child.find(grandchild_name, rest_path) [INFO] [stdout] 287 | | }) [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/node/root.rs:311:36 [INFO] [stdout] | [INFO] [stdout] 311 | .and_then(|compatible| compatible.try_into().ok()) [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/node/root.rs:402:27 [INFO] [stdout] | [INFO] [stdout] 402 | .map(|chosen| Chosen::from_node(chosen, &root).map_err(NodeError::Chosen)) [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 29 previous errors; 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `device-tree` (lib) due to 30 previous errors; 10 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/memory_reservation.rs:18:31 [INFO] [stdout] | [INFO] [stdout] 18 | pub struct MemoryReservations(pub Box<[(u64, u64)]>); [INFO] [stdout] | ------------------ ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `MemoryReservations` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/node/interrupt.rs:12:13 [INFO] [stdout] | [INFO] [stdout] 12 | PHandle(u32), [INFO] [stdout] | ------- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Parent` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 12 | PHandle(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/node/interrupt.rs:14:18 [INFO] [stdout] | [INFO] [stdout] 14 | DirectParent(Weak>), [INFO] [stdout] | ------------ ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Parent` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 14 | DirectParent(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/node/interrupt.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 18 | pub struct PartialInterruptDevice<'node> { [INFO] [stdout] | ---------------------- fields in this struct [INFO] [stdout] 19 | /// The device that this interrupt device belongs to [INFO] [stdout] 20 | device: Weak>, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 21 | /// The interrupt parent of this device [INFO] [stdout] 22 | interrupt_parent: Option>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 23 | /// Whether or not this is an interrupt controller [INFO] [stdout] 24 | is_controller: bool, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 25 | /// Interrupt cell count [INFO] [stdout] 26 | cells: Option, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 27 | /// The interrupts property of this node [INFO] [stdout] 28 | interrupts: Option>, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 29 | /// The interrupts map property of this node [INFO] [stdout] 30 | interrupt_map: Option>, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 31 | /// The interrupts mask property of this node [INFO] [stdout] 32 | interrupt_map_mask: Option>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PartialInterruptDevice` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [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/map.rs:62:26 [INFO] [stdout] | [INFO] [stdout] 62 | .map(|index| self.contents.remove(index).1) [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/map.rs:91:25 [INFO] [stdout] | [INFO] [stdout] 88 | mut filter: F, [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 91 | .extract_if(move |&mut (ref key, ref value)| filter(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/node/mod.rs:104:23 [INFO] [stdout] | [INFO] [stdout] 100 | children: impl IntoIterator, Self)>, [INFO] [stdout] | ---------------------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 104 | children: children.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/node/mod.rs:199:49 [INFO] [stdout] | [INFO] [stdout] 194 | mut rest_path: impl Iterator>, [INFO] [stdout] | --------------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 199 | self.children().get(&sub_path).and_then(|node| { [INFO] [stdout] | _________________________________________________^ [INFO] [stdout] 200 | | rest_path.next().map_or_else( [INFO] [stdout] 201 | | || Some(Rc::clone(node)), [INFO] [stdout] 202 | | |next_path| node.find(next_path, rest_path), [INFO] [stdout] 203 | | ) [INFO] [stdout] 204 | | }) [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/node/mod.rs:202:17 [INFO] [stdout] | [INFO] [stdout] 194 | mut rest_path: impl Iterator>, [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 202 | |next_path| node.find(next_path, rest_path), [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/node/mod.rs:201:25 [INFO] [stdout] | [INFO] [stdout] 201 | || Some(Rc::clone(node)), [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/node/cache.rs:185:12 [INFO] [stdout] | [INFO] [stdout] 179 | let (properties, children) = value.into_components(phandles, None); [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 180 | let children = match children { [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 181 | Ok(children) => children, [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 182 | Err(RawNodeError::Cells) => return Err(HigherLevelError::Cells), [INFO] [stdout] 183 | Err(RawNodeError::Child(child)) => return Err(HigherLevelError::Child(child)), [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 184 | }; [INFO] [stdout] 185 | Ok(( [INFO] [stdout] | ____________^ [INFO] [stdout] 186 | | phandle, [INFO] [stdout] 187 | | Self { [INFO] [stdout] 188 | | cache, [INFO] [stdout] ... | [INFO] [stdout] 192 | | }, [INFO] [stdout] 193 | | )) [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] | [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/node/chosen.rs:103:12 [INFO] [stdout] | [INFO] [stdout] 77 | let stdout = rc_from_node(&mut chosen.properties, PropertyKeys::STDOUT_PATH, root)?; [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 78 | // If the stdin-path property is not specified, stdout-path should be assumed to define the input device. [INFO] [stdout] 79 | let stdin = rc_from_node(&mut chosen.properties, PropertyKeys::STDIN_PATH, root)? [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 103 | Ok(Self { [INFO] [stdout] | ____________^ [INFO] [stdout] 104 | | boot_args, [INFO] [stdout] 105 | | stdout, [INFO] [stdout] 106 | | stdin, [INFO] [stdout] ... | [INFO] [stdout] 113 | | rpi_boardrev_ext, [INFO] [stdout] 114 | | }) [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] | [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/node/cpu.rs:166:12 [INFO] [stdout] | [INFO] [stdout] 144 | let next_cache = value [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 166 | Ok(Self { [INFO] [stdout] | ____________^ [INFO] [stdout] 167 | | reg, [INFO] [stdout] 168 | | enable_method, [INFO] [stdout] 169 | | l1_cache: cache, [INFO] [stdout] ... | [INFO] [stdout] 172 | | properties: value.properties, [INFO] [stdout] 173 | | }) [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] [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/node/cpu.rs:196:9 [INFO] [stdout] | [INFO] [stdout] 186 | let caches = parent [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 196 | / parent [INFO] [stdout] 197 | | .children [INFO] [stdout] 198 | | .into_iter() [INFO] [stdout] 199 | | .map(|(name, node)| { [INFO] [stdout] ... | [INFO] [stdout] 212 | | }) [INFO] [stdout] 213 | | .try_collect() [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] | [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/node/cpu.rs:214:18 [INFO] [stdout] | [INFO] [stdout] 186 | let caches = parent [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 214 | .map(|cpus| (cpus, caches)) [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] | [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/node/cpu.rs:191:55 [INFO] [stdout] | [INFO] [stdout] 191 | .map(|(phandle, cache)| (phandle, Rc::new(cache))) [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/node/cpu.rs:211:20 [INFO] [stdout] | [INFO] [stdout] 200 | let node = Rc::new( [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 211 | Ok((node.reg, node)) [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/node/device.rs:91:26 [INFO] [stdout] | [INFO] [stdout] 91 | .map(|bytes| bytes.try_into().map_err(|_err| Error::Compatible)) [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/node/device.rs:148:27 [INFO] [stdout] | [INFO] [stdout] 78 | let reg = value [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 88 | let compatible = value [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 103 | let ranges = value [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 140 | let (mut properties, children) = value.into_components_from_cells( [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 148 | children: children [INFO] [stdout] | ___________________________^ [INFO] [stdout] 149 | | .map_err(|err| match err { [INFO] [stdout] 150 | | RawNodeError::Cells => Error::Cells, [INFO] [stdout] 151 | | RawNodeError::Child(child) => Error::Child(Box::new(child)), [INFO] [stdout] 152 | | }) [INFO] [stdout] 153 | | .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/node/device.rs:159:29 [INFO] [stdout] | [INFO] [stdout] 78 | let reg = value [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 88 | let compatible = value [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 103 | let ranges = value [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 140 | let (mut properties, children) = value.into_components_from_cells( [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 159 | interrupts: Rc::new(PartialInterruptDevice::extract_from_properties( [INFO] [stdout] | _____________________________^ [INFO] [stdout] 160 | | &mut properties, [INFO] [stdout] 161 | | Weak::clone(device), [INFO] [stdout] 162 | | parent, [INFO] [stdout] 163 | | )), [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/node/interrupt.rs:53:68 [INFO] [stdout] | [INFO] [stdout] 53 | .or_else(|| device_parent.map(|x| Parent::DirectParent(Weak::clone(x)))); [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/node/reserved_memory.rs:221:12 [INFO] [stdout] | [INFO] [stdout] 165 | let regs = value [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 187 | let alloc_ranges = value [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 214 | let (properties, children) = value.into_components(phandles, None); [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 215 | let children = match children { [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 216 | Ok(children) => children, [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 217 | Err(RawNodeError::Cells) => return Err(Error::Cells), [INFO] [stdout] 218 | Err(RawNodeError::Child(child)) => return Err(Error::Child(child)), [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 221 | Ok(Self { [INFO] [stdout] | ____________^ [INFO] [stdout] 222 | | memory: regs.map_or_else( [INFO] [stdout] 223 | | || { [INFO] [stdout] 224 | | size.map(|x| Range::Dynamic(x, alignment, alloc_ranges)) [INFO] [stdout] ... | [INFO] [stdout] 238 | | children, [INFO] [stdout] 239 | | }) [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] | | 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] | [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/node/reserved_memory.rs:157:67 [INFO] [stdout] | [INFO] [stdout] 157 | .map(|bytes| bytes.into_cells(size_cells.get()).ok_or(Error::Cells)) [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/node/reserved_memory.rs:162:67 [INFO] [stdout] | [INFO] [stdout] 162 | .map(|bytes| bytes.into_cells(size_cells.get()).ok_or(Error::Cells)) [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/node/reserved_memory.rs:224:21 [INFO] [stdout] | [INFO] [stdout] 187 | let alloc_ranges = value [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 224 | size.map(|x| Range::Dynamic(x, alignment, alloc_ranges)) [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/node/reserved_memory.rs:225:32 [INFO] [stdout] | [INFO] [stdout] 187 | let alloc_ranges = value [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 225 | .ok_or(Error::InvalidMemory) [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/node/reserved_memory.rs:227:34 [INFO] [stdout] | [INFO] [stdout] 227 | |static_regs| Ok(Range::Static(static_regs)), [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/node/root.rs:272:68 [INFO] [stdout] | [INFO] [stdout] 257 | ... mut rest_path: impl Iterator>, [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 272 | ... reserved_memory.get(&grandchild_name).and_then(|grandchild| { [INFO] [stdout] | __________________________________________________________________^ [INFO] [stdout] 273 | | ... rest_path.next().map_or_else(|| { [INFO] [stdout] 274 | | ... eprintln!("WARNING: References to non-plain device nodes are not currently supported: /{direct_child_name}/{gra... [INFO] [stdout] 275 | | ... None [INFO] [stdout] ... | [INFO] [stdout] 278 | | ... }) [INFO] [stdout] 279 | | ... }) [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/node/root.rs:276:28 [INFO] [stdout] | [INFO] [stdout] 257 | mut rest_path: impl Iterator>, [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 276 | }, |great_grandchild_name| { [INFO] [stdout] | ____________________________^ [INFO] [stdout] 277 | | grandchild.find(great_grandchild_name, rest_path) [INFO] [stdout] 278 | | }) [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/node/root.rs:285:48 [INFO] [stdout] | [INFO] [stdout] 257 | mut rest_path: impl Iterator>, [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 285 | grandchild_name_opt.map_or(Some(Rc::clone(direct_child)), |grandchild_name| { [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/node/root.rs:285:79 [INFO] [stdout] | [INFO] [stdout] 257 | mut rest_path: impl Iterator>, [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 285 | grandchild_name_opt.map_or(Some(Rc::clone(direct_child)), |grandchild_name| { [INFO] [stdout] | _______________________________________________________________________________^ [INFO] [stdout] 286 | | direct_child.find(grandchild_name, rest_path) [INFO] [stdout] 287 | | }) [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/node/root.rs:311:36 [INFO] [stdout] | [INFO] [stdout] 311 | .and_then(|compatible| compatible.try_into().ok()) [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/node/root.rs:402:27 [INFO] [stdout] | [INFO] [stdout] 402 | .map(|chosen| Chosen::from_node(chosen, &root).map_err(NodeError::Chosen)) [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 29 previous errors; 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `device-tree` (lib test) due to 30 previous errors; 10 warnings emitted [INFO] running `Command { std: "docker" "inspect" "23c56b060dc78bc92e8786eec1596477d3dc7631fbbed5512e535eff09e92b1b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "23c56b060dc78bc92e8786eec1596477d3dc7631fbbed5512e535eff09e92b1b", kill_on_drop: false }` [INFO] [stdout] 23c56b060dc78bc92e8786eec1596477d3dc7631fbbed5512e535eff09e92b1b