[INFO] fetching crate ament_rs 0.2.1... [INFO] checking ament_rs-0.2.1 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] extracting crate ament_rs 0.2.1 into /workspace/builds/worker-0-tc2/source [INFO] validating manifest of crates.io crate ament_rs 0.2.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 ament_rs 0.2.1 [INFO] finished tweaking crates.io crate ament_rs 0.2.1 [INFO] tweaked toml for crates.io crate ament_rs 0.2.1 written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 16 packages to latest compatible versions [INFO] [stderr] Adding itertools v0.8.2 (latest: v0.13.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b929ae2a543b1c0154268de7cfdcabe81c9f3c2a980196b46cd199f6cb963bfa [INFO] running `Command { std: "docker" "start" "-a" "b929ae2a543b1c0154268de7cfdcabe81c9f3c2a980196b46cd199f6cb963bfa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b929ae2a543b1c0154268de7cfdcabe81c9f3c2a980196b46cd199f6cb963bfa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b929ae2a543b1c0154268de7cfdcabe81c9f3c2a980196b46cd199f6cb963bfa", kill_on_drop: false }` [INFO] [stdout] b929ae2a543b1c0154268de7cfdcabe81c9f3c2a980196b46cd199f6cb963bfa [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid -Dtail_expr_drop_order" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b13cde11163db93bd861da62729b6d498c0a31d1762d643e90717a11a8afa61b [INFO] running `Command { std: "docker" "start" "-a" "b13cde11163db93bd861da62729b6d498c0a31d1762d643e90717a11a8afa61b", kill_on_drop: false }` [INFO] [stderr] Checking either v1.13.0 [INFO] [stderr] Checking same-file v1.0.6 [INFO] [stderr] Checking walkdir v2.5.0 [INFO] [stderr] Checking itertools v0.8.2 [INFO] [stderr] Checking ament_rs v0.2.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/resources.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 22 | resource_type: impl AsRef + 'a, [INFO] [stdout] | ----------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 23 | prefixes: impl IntoIterator + 'a> + 'a, [INFO] [stdout] | ------------------------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 24 | ) -> impl Iterator + 'a { [INFO] [stdout] 25 | prefixes.into_iter().map(move |prefix| { [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/resources.rs:25:30 [INFO] [stdout] | [INFO] [stdout] 22 | resource_type: impl AsRef + 'a, [INFO] [stdout] | ----------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 23 | prefixes: impl IntoIterator + 'a> + 'a, [INFO] [stdout] | ------------------------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 24 | ) -> impl Iterator + 'a { [INFO] [stdout] 25 | prefixes.into_iter().map(move |prefix| { [INFO] [stdout] | ______________________________^ [INFO] [stdout] 26 | | ( [INFO] [stdout] 27 | | prefix.as_ref().to_string(), [INFO] [stdout] 28 | | [ [INFO] [stdout] ... | [INFO] [stdout] 37 | | ) [INFO] [stdout] 38 | | }) [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/resources.rs:45:5 [INFO] [stdout] | [INFO] [stdout] 42 | resource_type: impl AsRef + 'a, [INFO] [stdout] | ----------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 43 | prefixes: impl IntoIterator + 'a> + 'a, [INFO] [stdout] | ------------------------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 44 | ) -> impl Iterator + 'a { [INFO] [stdout] 45 | list_all_prefixes(resource_type, prefixes).flat_map(|(prefix, 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/resources.rs:65:5 [INFO] [stdout] | [INFO] [stdout] 62 | resource_type: impl AsRef + 'a, [INFO] [stdout] | ----------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 63 | prefixes: impl IntoIterator + 'a> + 'a, [INFO] [stdout] | ------------------------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 64 | ) -> impl Iterator + 'a { [INFO] [stdout] 65 | list_all_prefixes_of_resources_disjointly(resource_type, prefixes) [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/resources.rs:73:5 [INFO] [stdout] | [INFO] [stdout] 70 | resource_type: impl AsRef, [INFO] [stdout] | ------------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 71 | prefixes: impl IntoIterator>, [INFO] [stdout] | --------------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 72 | ) -> HashMap> { [INFO] [stdout] 73 | list_all_prefixes_of_resources_disjointly(resource_type, prefixes).fold( [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/resources.rs:90:5 [INFO] [stdout] | [INFO] [stdout] 86 | resource_name: impl AsRef + 'a, [INFO] [stdout] | ----------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 87 | resource_type: impl AsRef + 'a, [INFO] [stdout] | ----------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 88 | prefixes: impl IntoIterator + 'a> + 'a, [INFO] [stdout] | ------------------------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 89 | ) -> impl Iterator + 'a { [INFO] [stdout] 90 | / list_all_prefixes_of_resources_disjointly(resource_type, prefixes) [INFO] [stdout] 91 | | .filter(move |(found_name, _)| found_name == resource_name.as_ref()) [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/resources.rs:107:5 [INFO] [stdout] | [INFO] [stdout] 103 | resource_name: impl AsRef, [INFO] [stdout] | ------------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 104 | resource_type: impl AsRef, [INFO] [stdout] | ------------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 105 | prefixes: impl IntoIterator>, [INFO] [stdout] | --------------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 106 | ) -> Option { [INFO] [stdout] 107 | list_all_prefixes_of_resource(resource_name, resource_type, prefixes).nth(0) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/resources.rs:115:5 [INFO] [stdout] | [INFO] [stdout] 111 | resource_name: impl AsRef, [INFO] [stdout] | ------------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 112 | resource_type: impl AsRef, [INFO] [stdout] | ------------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 113 | prefixes: impl IntoIterator>, [INFO] [stdout] | --------------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 114 | ) -> Option<(std::io::Result>, String)> { [INFO] [stdout] 115 | / list_all_prefixes(resource_type, prefixes) [INFO] [stdout] 116 | | .map(|(prefix, path)| (prefix, path.join(resource_name.as_ref()))) [INFO] [stdout] 117 | | .filter(|(_, path)| filter_path(path)) [INFO] [stdout] 118 | | .map(|(prefix, path)| { [INFO] [stdout] ... | [INFO] [stdout] 125 | | ) [INFO] [stdout] 126 | | }) [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/resources.rs:134:5 [INFO] [stdout] | [INFO] [stdout] 131 | resource_type: impl AsRef, [INFO] [stdout] | ------------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 132 | prefixes: impl IntoIterator>, [INFO] [stdout] | --------------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 133 | ) -> HashMap { [INFO] [stdout] 134 | list_prefix_of_resources(resource_type, prefixes).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/resources.rs:142:5 [INFO] [stdout] | [INFO] [stdout] 138 | resource_name: impl AsRef, [INFO] [stdout] | ------------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 139 | resource_type: impl AsRef, [INFO] [stdout] | ------------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 140 | prefixes: impl IntoIterator>, [INFO] [stdout] | --------------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 141 | ) -> Option { [INFO] [stdout] 142 | / list_all_prefixes(resource_type, prefixes) [INFO] [stdout] 143 | | .map(|(prefix, path)| (prefix, path.join(resource_name.as_ref()))) [INFO] [stdout] 144 | | .filter(|(_, path)| filter_path(path)) [INFO] [stdout] 145 | | .map(|(prefix, _)| prefix) [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 10 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `ament_rs` (lib) due to 11 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/resources.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 22 | resource_type: impl AsRef + 'a, [INFO] [stdout] | ----------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 23 | prefixes: impl IntoIterator + 'a> + 'a, [INFO] [stdout] | ------------------------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 24 | ) -> impl Iterator + 'a { [INFO] [stdout] 25 | prefixes.into_iter().map(move |prefix| { [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/resources.rs:25:30 [INFO] [stdout] | [INFO] [stdout] 22 | resource_type: impl AsRef + 'a, [INFO] [stdout] | ----------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 23 | prefixes: impl IntoIterator + 'a> + 'a, [INFO] [stdout] | ------------------------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 24 | ) -> impl Iterator + 'a { [INFO] [stdout] 25 | prefixes.into_iter().map(move |prefix| { [INFO] [stdout] | ______________________________^ [INFO] [stdout] 26 | | ( [INFO] [stdout] 27 | | prefix.as_ref().to_string(), [INFO] [stdout] 28 | | [ [INFO] [stdout] ... | [INFO] [stdout] 37 | | ) [INFO] [stdout] 38 | | }) [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/resources.rs:45:5 [INFO] [stdout] | [INFO] [stdout] 42 | resource_type: impl AsRef + 'a, [INFO] [stdout] | ----------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 43 | prefixes: impl IntoIterator + 'a> + 'a, [INFO] [stdout] | ------------------------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 44 | ) -> impl Iterator + 'a { [INFO] [stdout] 45 | list_all_prefixes(resource_type, prefixes).flat_map(|(prefix, 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/resources.rs:65:5 [INFO] [stdout] | [INFO] [stdout] 62 | resource_type: impl AsRef + 'a, [INFO] [stdout] | ----------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 63 | prefixes: impl IntoIterator + 'a> + 'a, [INFO] [stdout] | ------------------------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 64 | ) -> impl Iterator + 'a { [INFO] [stdout] 65 | list_all_prefixes_of_resources_disjointly(resource_type, prefixes) [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/resources.rs:73:5 [INFO] [stdout] | [INFO] [stdout] 70 | resource_type: impl AsRef, [INFO] [stdout] | ------------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 71 | prefixes: impl IntoIterator>, [INFO] [stdout] | --------------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 72 | ) -> HashMap> { [INFO] [stdout] 73 | list_all_prefixes_of_resources_disjointly(resource_type, prefixes).fold( [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/resources.rs:90:5 [INFO] [stdout] | [INFO] [stdout] 86 | resource_name: impl AsRef + 'a, [INFO] [stdout] | ----------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 87 | resource_type: impl AsRef + 'a, [INFO] [stdout] | ----------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 88 | prefixes: impl IntoIterator + 'a> + 'a, [INFO] [stdout] | ------------------------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 89 | ) -> impl Iterator + 'a { [INFO] [stdout] 90 | / list_all_prefixes_of_resources_disjointly(resource_type, prefixes) [INFO] [stdout] 91 | | .filter(move |(found_name, _)| found_name == resource_name.as_ref()) [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/resources.rs:107:5 [INFO] [stdout] | [INFO] [stdout] 103 | resource_name: impl AsRef, [INFO] [stdout] | ------------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 104 | resource_type: impl AsRef, [INFO] [stdout] | ------------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 105 | prefixes: impl IntoIterator>, [INFO] [stdout] | --------------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 106 | ) -> Option { [INFO] [stdout] 107 | list_all_prefixes_of_resource(resource_name, resource_type, prefixes).nth(0) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/resources.rs:115:5 [INFO] [stdout] | [INFO] [stdout] 111 | resource_name: impl AsRef, [INFO] [stdout] | ------------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 112 | resource_type: impl AsRef, [INFO] [stdout] | ------------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 113 | prefixes: impl IntoIterator>, [INFO] [stdout] | --------------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 114 | ) -> Option<(std::io::Result>, String)> { [INFO] [stdout] 115 | / list_all_prefixes(resource_type, prefixes) [INFO] [stdout] 116 | | .map(|(prefix, path)| (prefix, path.join(resource_name.as_ref()))) [INFO] [stdout] 117 | | .filter(|(_, path)| filter_path(path)) [INFO] [stdout] 118 | | .map(|(prefix, path)| { [INFO] [stdout] ... | [INFO] [stdout] 125 | | ) [INFO] [stdout] 126 | | }) [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/resources.rs:134:5 [INFO] [stdout] | [INFO] [stdout] 131 | resource_type: impl AsRef, [INFO] [stdout] | ------------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 132 | prefixes: impl IntoIterator>, [INFO] [stdout] | --------------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 133 | ) -> HashMap { [INFO] [stdout] 134 | list_prefix_of_resources(resource_type, prefixes).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/resources.rs:142:5 [INFO] [stdout] | [INFO] [stdout] 138 | resource_name: impl AsRef, [INFO] [stdout] | ------------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 139 | resource_type: impl AsRef, [INFO] [stdout] | ------------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 140 | prefixes: impl IntoIterator>, [INFO] [stdout] | --------------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 141 | ) -> Option { [INFO] [stdout] 142 | / list_all_prefixes(resource_type, prefixes) [INFO] [stdout] 143 | | .map(|(prefix, path)| (prefix, path.join(resource_name.as_ref()))) [INFO] [stdout] 144 | | .filter(|(_, path)| filter_path(path)) [INFO] [stdout] 145 | | .map(|(prefix, _)| prefix) [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 10 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `ament_rs` (lib test) due to 11 previous errors [INFO] running `Command { std: "docker" "inspect" "b13cde11163db93bd861da62729b6d498c0a31d1762d643e90717a11a8afa61b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b13cde11163db93bd861da62729b6d498c0a31d1762d643e90717a11a8afa61b", kill_on_drop: false }` [INFO] [stdout] b13cde11163db93bd861da62729b6d498c0a31d1762d643e90717a11a8afa61b