[INFO] fetching crate mapgraph 0.10.1... [INFO] checking mapgraph-0.10.1 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] extracting crate mapgraph 0.10.1 into /workspace/builds/worker-6-tc2/source [INFO] validating manifest of crates.io crate mapgraph 0.10.1 on toolchain 4d98531622e1718ae0bc3c7a1ab9cd8938428452 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate mapgraph 0.10.1 [INFO] finished tweaking crates.io crate mapgraph 0.10.1 [INFO] tweaked toml for crates.io crate mapgraph 0.10.1 written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 18 packages to latest compatible versions [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-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] dfce50a08e75825d3cbd53328be53ae4e907dba991234e5f8f9abe395cbcfca0 [INFO] running `Command { std: "docker" "start" "-a" "dfce50a08e75825d3cbd53328be53ae4e907dba991234e5f8f9abe395cbcfca0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "dfce50a08e75825d3cbd53328be53ae4e907dba991234e5f8f9abe395cbcfca0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dfce50a08e75825d3cbd53328be53ae4e907dba991234e5f8f9abe395cbcfca0", kill_on_drop: false }` [INFO] [stdout] dfce50a08e75825d3cbd53328be53ae4e907dba991234e5f8f9abe395cbcfca0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid -Dtail_expr_drop_order" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9f35bba9ef59440c3fcc96768a505c4492e01f58ea5edc7da5f718992e0df47f [INFO] running `Command { std: "docker" "start" "-a" "9f35bba9ef59440c3fcc96768a505c4492e01f58ea5edc7da5f718992e0df47f", kill_on_drop: false }` [INFO] [stderr] Compiling slotmap v1.0.7 [INFO] [stderr] Checking mapgraph v0.10.1 (/opt/rustwide/workdir) [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/graph/mod.rs:755:9 [INFO] [stdout] | [INFO] [stdout] 753 | range: R, [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 754 | ) -> impl DoubleEndedIterator { [INFO] [stdout] 755 | self.nodes.range(range).map(|(k, n)| (k, &n.weight)) [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/graph/mod.rs:799:9 [INFO] [stdout] | [INFO] [stdout] 797 | range: R, [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 798 | ) -> impl DoubleEndedIterator { [INFO] [stdout] 799 | self.nodes.range_mut(range).map(|(k, n)| (k, &mut n.weight)) [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/graph/mod.rs:1039:9 [INFO] [stdout] | [INFO] [stdout] 1038 | pub fn add_edge(&mut self, weight: E, from: NI, to: NI) -> Result { [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1039 | / insert_edge_impl(&mut self.inner, from, to, weight, |_, _, _| { [INFO] [stdout] 1040 | | Err(AddEdgeError::EdgeExists) [INFO] [stdout] 1041 | | }) [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/graph/mod.rs:1080:29 [INFO] [stdout] | [INFO] [stdout] 1061 | f: F, [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1080 | weight: f(index), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/graph/mod.rs:1142:44 [INFO] [stdout] | [INFO] [stdout] 1142 | |weight, edge_index, edges| Ok(mem::replace(&mut edges[edge_index].weight, weight)), [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/graph/mod.rs:1412:31 [INFO] [stdout] | [INFO] [stdout] 1411 | pub fn add_node(&mut self, weight: N) -> NI { [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1412 | self.nodes.map.insert(Node { [INFO] [stdout] | _______________________________^ [INFO] [stdout] 1413 | | weight, [INFO] [stdout] 1414 | | next_incoming_edge: None, [INFO] [stdout] 1415 | | next_outgoing_edge: None, [INFO] [stdout] 1416 | | }) [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/graph/mod.rs:1457:40 [INFO] [stdout] | [INFO] [stdout] 1456 | pub fn add_node_with_key N>(&mut self, f: F) -> NI { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1457 | self.nodes.map.insert_with_key(|key| Node { [INFO] [stdout] | ________________________________________^ [INFO] [stdout] 1458 | | weight: f(key), [INFO] [stdout] 1459 | | next_incoming_edge: None, [INFO] [stdout] 1460 | | next_outgoing_edge: None, [INFO] [stdout] 1461 | | }) [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/graph/mod.rs:1458:21 [INFO] [stdout] | [INFO] [stdout] 1456 | pub fn add_node_with_key N>(&mut self, f: F) -> NI { [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1457 | self.nodes.map.insert_with_key(|key| Node { [INFO] [stdout] 1458 | weight: f(key), [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/graph/mod.rs:1535:17 [INFO] [stdout] | [INFO] [stdout] 1529 | weight: N, [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1535 | / Node { [INFO] [stdout] 1536 | | weight, [INFO] [stdout] 1537 | | next_incoming_edge: None, [INFO] [stdout] 1538 | | next_outgoing_edge: None, [INFO] [stdout] 1539 | | }, [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/graph/entry.rs:42:27 [INFO] [stdout] | [INFO] [stdout] 41 | pub fn replace(&mut self, value: N) -> N { [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 42 | mem::replace(&mut self.entry.get_mut().weight, 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/graph/entry.rs:78:14 [INFO] [stdout] | [INFO] [stdout] 74 | pub fn insert<'l>(self, weight: N) -> &'l mut N [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] 78 | &mut self [INFO] [stdout] | ______________^ [INFO] [stdout] 79 | | .entry [INFO] [stdout] 80 | | .insert(Node { [INFO] [stdout] 81 | | weight, [INFO] [stdout] ... | [INFO] [stdout] 84 | | }) [INFO] [stdout] 85 | | .weight [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/graph/iter.rs:47:22 [INFO] [stdout] | [INFO] [stdout] 41 | let edge = self.graph.edges.map.remove(next_edge_index).unwrap(); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 47 | Some((edge.$node_field, edge.weight)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 63 | / impl_drain_edges!( [INFO] [stdout] 64 | | DrainOutgoingEdges, [INFO] [stdout] 65 | | "outgoing", [INFO] [stdout] 66 | | "destination", [INFO] [stdout] ... | [INFO] [stdout] 70 | | from [INFO] [stdout] 71 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: this error originates in the macro `impl_drain_edges` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/graph/iter.rs:47:22 [INFO] [stdout] | [INFO] [stdout] 41 | let edge = self.graph.edges.map.remove(next_edge_index).unwrap(); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 47 | Some((edge.$node_field, edge.weight)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 72 | / impl_drain_edges!( [INFO] [stdout] 73 | | DrainIncomingEdges, [INFO] [stdout] 74 | | "incoming", [INFO] [stdout] 75 | | "source", [INFO] [stdout] ... | [INFO] [stdout] 79 | | to [INFO] [stdout] 80 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: this error originates in the macro `impl_drain_edges` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 13 previous errors [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/graph/mod.rs:755:9 [INFO] [stdout] | [INFO] [stdout] 753 | range: R, [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 754 | ) -> impl DoubleEndedIterator { [INFO] [stdout] 755 | self.nodes.range(range).map(|(k, n)| (k, &n.weight)) [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/graph/mod.rs:799:9 [INFO] [stdout] | [INFO] [stdout] 797 | range: R, [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 798 | ) -> impl DoubleEndedIterator { [INFO] [stdout] 799 | self.nodes.range_mut(range).map(|(k, n)| (k, &mut n.weight)) [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/graph/mod.rs:1039:9 [INFO] [stdout] | [INFO] [stdout] 1038 | pub fn add_edge(&mut self, weight: E, from: NI, to: NI) -> Result { [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1039 | / insert_edge_impl(&mut self.inner, from, to, weight, |_, _, _| { [INFO] [stdout] 1040 | | Err(AddEdgeError::EdgeExists) [INFO] [stdout] 1041 | | }) [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/graph/mod.rs:1080:29 [INFO] [stdout] | [INFO] [stdout] 1061 | f: F, [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1080 | weight: f(index), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/graph/mod.rs:1142:44 [INFO] [stdout] | [INFO] [stdout] 1142 | |weight, edge_index, edges| Ok(mem::replace(&mut edges[edge_index].weight, weight)), [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/graph/mod.rs:1412:31 [INFO] [stdout] | [INFO] [stdout] 1411 | pub fn add_node(&mut self, weight: N) -> NI { [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1412 | self.nodes.map.insert(Node { [INFO] [stdout] | _______________________________^ [INFO] [stdout] 1413 | | weight, [INFO] [stdout] 1414 | | next_incoming_edge: None, [INFO] [stdout] 1415 | | next_outgoing_edge: None, [INFO] [stdout] 1416 | | }) [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/graph/mod.rs:1457:40 [INFO] [stdout] | [INFO] [stdout] 1456 | pub fn add_node_with_key N>(&mut self, f: F) -> NI { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1457 | self.nodes.map.insert_with_key(|key| Node { [INFO] [stdout] | ________________________________________^ [INFO] [stdout] 1458 | | weight: f(key), [INFO] [stdout] 1459 | | next_incoming_edge: None, [INFO] [stdout] 1460 | | next_outgoing_edge: None, [INFO] [stdout] 1461 | | }) [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/graph/mod.rs:1458:21 [INFO] [stdout] | [INFO] [stdout] 1456 | pub fn add_node_with_key N>(&mut self, f: F) -> NI { [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1457 | self.nodes.map.insert_with_key(|key| Node { [INFO] [stdout] 1458 | weight: f(key), [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/graph/mod.rs:1535:17 [INFO] [stdout] | [INFO] [stdout] 1529 | weight: N, [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1535 | / Node { [INFO] [stdout] 1536 | | weight, [INFO] [stdout] 1537 | | next_incoming_edge: None, [INFO] [stdout] 1538 | | next_outgoing_edge: None, [INFO] [stdout] 1539 | | }, [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/graph/entry.rs:42:27 [INFO] [stdout] | [INFO] [stdout] 41 | pub fn replace(&mut self, value: N) -> N { [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 42 | mem::replace(&mut self.entry.get_mut().weight, 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/graph/entry.rs:78:14 [INFO] [stdout] | [INFO] [stdout] 74 | pub fn insert<'l>(self, weight: N) -> &'l mut N [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] 78 | &mut self [INFO] [stdout] | ______________^ [INFO] [stdout] 79 | | .entry [INFO] [stdout] 80 | | .insert(Node { [INFO] [stdout] 81 | | weight, [INFO] [stdout] ... | [INFO] [stdout] 84 | | }) [INFO] [stdout] 85 | | .weight [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/graph/iter.rs:47:22 [INFO] [stdout] | [INFO] [stdout] 41 | let edge = self.graph.edges.map.remove(next_edge_index).unwrap(); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 47 | Some((edge.$node_field, edge.weight)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 63 | / impl_drain_edges!( [INFO] [stdout] 64 | | DrainOutgoingEdges, [INFO] [stdout] 65 | | "outgoing", [INFO] [stdout] 66 | | "destination", [INFO] [stdout] ... | [INFO] [stdout] 70 | | from [INFO] [stdout] 71 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: this error originates in the macro `impl_drain_edges` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/graph/iter.rs:47:22 [INFO] [stdout] | [INFO] [stdout] 41 | let edge = self.graph.edges.map.remove(next_edge_index).unwrap(); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 47 | Some((edge.$node_field, edge.weight)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 72 | / impl_drain_edges!( [INFO] [stdout] 73 | | DrainIncomingEdges, [INFO] [stdout] 74 | | "incoming", [INFO] [stdout] 75 | | "source", [INFO] [stdout] ... | [INFO] [stdout] 79 | | to [INFO] [stdout] 80 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: this error originates in the macro `impl_drain_edges` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `mapgraph` (lib test) due to 14 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 13 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `mapgraph` (lib) due to 14 previous errors [INFO] running `Command { std: "docker" "inspect" "9f35bba9ef59440c3fcc96768a505c4492e01f58ea5edc7da5f718992e0df47f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9f35bba9ef59440c3fcc96768a505c4492e01f58ea5edc7da5f718992e0df47f", kill_on_drop: false }` [INFO] [stdout] 9f35bba9ef59440c3fcc96768a505c4492e01f58ea5edc7da5f718992e0df47f