[INFO] fetching crate libcnb 0.23.0... [INFO] checking libcnb-0.23.0 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] extracting crate libcnb 0.23.0 into /workspace/builds/worker-6-tc2/source [INFO] validating manifest of crates.io crate libcnb 0.23.0 on toolchain 4d98531622e1718ae0bc3c7a1ab9cd8938428452 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate libcnb 0.23.0 [INFO] finished tweaking crates.io crate libcnb 0.23.0 [INFO] tweaked toml for crates.io crate libcnb 0.23.0 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 127 packages to latest compatible versions [INFO] [stderr] Adding base64 v0.21.7 (latest: v0.22.1) [INFO] [stderr] Adding bit-set v0.5.3 (latest: v0.8.0) [INFO] [stderr] Adding bit-vec v0.6.3 (latest: v0.8.0) [INFO] [stderr] Adding bitflags v1.3.2 (latest: v2.6.0) [INFO] [stderr] Adding fluent-uri v0.1.4 (latest: v0.2.0) [INFO] [stderr] Adding linux-raw-sys v0.4.14 (latest: v0.6.5) [INFO] [stderr] Adding opentelemetry v0.21.0 (latest: v0.24.0) [INFO] [stderr] Adding opentelemetry-stdout v0.2.0 (latest: v0.5.0) [INFO] [stderr] Adding opentelemetry_sdk v0.21.2 (latest: v0.24.1) [INFO] [stderr] Adding wasi v0.11.0+wasi-snapshot-preview1 (latest: v0.13.2+wasi-0.2.1) [INFO] [stderr] Adding windows-core v0.52.0 (latest: v0.58.0) [INFO] [stderr] Adding windows-sys v0.52.0 (latest: v0.59.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-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] 3c3e3ba1374b61697911201084a6a99b715c07978dbe434c7c23e0c6832c71b6 [INFO] running `Command { std: "docker" "start" "-a" "3c3e3ba1374b61697911201084a6a99b715c07978dbe434c7c23e0c6832c71b6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3c3e3ba1374b61697911201084a6a99b715c07978dbe434c7c23e0c6832c71b6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3c3e3ba1374b61697911201084a6a99b715c07978dbe434c7c23e0c6832c71b6", kill_on_drop: false }` [INFO] [stdout] 3c3e3ba1374b61697911201084a6a99b715c07978dbe434c7c23e0c6832c71b6 [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] d97d8888472868ed4819cc975827a1ba925ec1d3883d8b307f6a541c74d0c62c [INFO] running `Command { std: "docker" "start" "-a" "d97d8888472868ed4819cc975827a1ba925ec1d3883d8b307f6a541c74d0c62c", kill_on_drop: false }` [INFO] [stderr] Compiling semver v1.0.23 [INFO] [stderr] Compiling camino v1.1.9 [INFO] [stderr] Compiling serde_json v1.0.127 [INFO] [stderr] Compiling regex-syntax v0.8.4 [INFO] [stderr] Compiling bit-vec v0.6.3 [INFO] [stderr] Checking winnow v0.6.18 [INFO] [stderr] Checking regex-automata v0.4.7 [INFO] [stderr] Checking uriparse v0.6.4 [INFO] [stderr] Checking once_cell v1.19.0 [INFO] [stderr] Compiling serde v1.0.209 [INFO] [stderr] Compiling thiserror v1.0.63 [INFO] [stderr] Checking serde_spanned v0.6.7 [INFO] [stderr] Checking toml_datetime v0.6.8 [INFO] [stderr] Compiling bit-set v0.5.3 [INFO] [stderr] Checking tempfile v3.12.0 [INFO] [stderr] Checking toml_edit v0.22.20 [INFO] [stderr] Checking fancy-regex v0.13.0 [INFO] [stderr] Compiling cargo-platform v0.1.8 [INFO] [stderr] Checking toml v0.8.19 [INFO] [stderr] Checking libcnb-common v0.23.0 [INFO] [stderr] Compiling cargo_metadata v0.18.1 [INFO] [stderr] Compiling libcnb-proc-macros v0.23.0 [INFO] [stderr] Checking libcnb-data v0.23.0 [INFO] [stderr] Checking libcnb v0.23.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/runtime.rs:141:9 [INFO] [stdout] | [INFO] [stdout] 141 | let mut trace_error = |_: &dyn std::error::Error| {}; [INFO] [stdout] | ----^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/runtime.rs:209:9 [INFO] [stdout] | [INFO] [stdout] 209 | let mut trace_error = |_: &dyn std::error::Error| {}; [INFO] [stdout] | ----^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [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/build.rs:114:9 [INFO] [stdout] | [INFO] [stdout] 112 | layer: L, [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 113 | ) -> crate::Result, B::Error> { [INFO] [stdout] 114 | crate::layer::trait_api::handling::handle_layer(self, layer_name, layer).map_err(|error| { [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/generic.rs:37:9 [INFO] [stdout] | [INFO] [stdout] 36 | fn from_path(platform_dir: impl AsRef) -> std::io::Result { [INFO] [stdout] | ------------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 37 | read_platform_env(platform_dir.as_ref()).map(|env| Self { env }) [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/layer/shared.rs:53:8 [INFO] [stdout] | [INFO] [stdout] 17 | layers_dir: P, [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 50 | let layer_content_metadata = toml::from_str::>(&layer_toml_contents) [INFO] [stdout] | ---------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 53 | Ok(Some(ReadLayer { [INFO] [stdout] | ________^ [INFO] [stdout] 54 | | name: layer_name.clone(), [INFO] [stdout] 55 | | path: layer_dir_path, [INFO] [stdout] 56 | | metadata: layer_content_metadata, [INFO] [stdout] 57 | | })) [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/layer/shared.rs:137:5 [INFO] [stdout] | [INFO] [stdout] 129 | layers_dir: P, [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 130 | layer_name: &LayerName, [INFO] [stdout] 131 | metadata: M, [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 137 | / write_toml_file( [INFO] [stdout] 138 | | &LayerContentMetadata { [INFO] [stdout] 139 | | types: content_metadata.types, [INFO] [stdout] 140 | | metadata, [INFO] [stdout] 141 | | }, [INFO] [stdout] 142 | | &layer_content_metadata_path, [INFO] [stdout] 143 | | ) [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/layer/shared.rs:158:5 [INFO] [stdout] | [INFO] [stdout] 148 | layers_dir: P, [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 158 | write_toml_file(&content_metadata, &layer_content_metadata_path) [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/layer/struct_api/mod.rs:115:12 [INFO] [stdout] | [INFO] [stdout] 114 | fn into_action(self) -> Result<(T, ()), E> { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 115 | Ok((self, ())) [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/layer/struct_api/mod.rs:177:9 [INFO] [stdout] | [INFO] [stdout] 173 | pub fn write_metadata(&self, metadata: M) -> crate::Result<(), B::Error> [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 177 | crate::layer::shared::replace_layer_metadata(&self.layers_dir, &self.name, metadata) [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/layer/struct_api/mod.rs:179:42 [INFO] [stdout] | [INFO] [stdout] 178 | .map_err(|error| { [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 179 | crate::Error::LayerError(LayerError::WriteLayerError( [INFO] [stdout] | __________________________________________^ [INFO] [stdout] 180 | | WriteLayerError::WriteLayerMetadataError(error), [INFO] [stdout] 181 | | )) [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/layer/struct_api/mod.rs:189:9 [INFO] [stdout] | [INFO] [stdout] 188 | pub fn write_env(&self, env: impl Borrow) -> crate::Result<(), B::Error> { [INFO] [stdout] | -------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 189 | / env.borrow() [INFO] [stdout] 190 | | .write_to_layer_dir(self.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/layer/struct_api/mod.rs:192:42 [INFO] [stdout] | [INFO] [stdout] 191 | .map_err(|error| { [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 192 | crate::Error::LayerError(LayerError::WriteLayerError(WriteLayerError::IoError( [INFO] [stdout] | __________________________________________^ [INFO] [stdout] 193 | | error, [INFO] [stdout] 194 | | ))) [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/layer/struct_api/mod.rs:204:38 [INFO] [stdout] | [INFO] [stdout] 203 | LayerEnv::read_from_layer_dir(self.path()).map_err(|error| { [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 204 | crate::Error::LayerError(LayerError::ReadLayerError(ReadLayerError::IoError(error))) [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/layer/struct_api/mod.rs:213:38 [INFO] [stdout] | [INFO] [stdout] 212 | replace_layer_sboms(&self.layers_dir, &self.name, sboms).map_err(|error| { [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 213 | crate::Error::LayerError(LayerError::WriteLayerError( [INFO] [stdout] | ______________________________________^ [INFO] [stdout] 214 | | WriteLayerError::ReplaceLayerSbomsError(error), [INFO] [stdout] 215 | | )) [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/layer/struct_api/mod.rs:232:9 [INFO] [stdout] | [INFO] [stdout] 222 | pub fn write_exec_d_programs(&self, programs: P) -> crate::Result<(), B::Error> [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 232 | replace_layer_exec_d_programs(&self.layers_dir, &self.name, &programs).map_err(|error| { [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/layer/struct_api/mod.rs:233:38 [INFO] [stdout] | [INFO] [stdout] 232 | replace_layer_exec_d_programs(&self.layers_dir, &self.name, &programs).map_err(|error| { [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 233 | crate::Error::LayerError(LayerError::WriteLayerError( [INFO] [stdout] | ______________________________________^ [INFO] [stdout] 234 | | WriteLayerError::ReplaceLayerExecdProgramsError(error), [INFO] [stdout] 235 | | )) [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/layer/struct_api/handling.rs:61:53 [INFO] [stdout] | [INFO] [stdout] 60 | replace_layer_types(layers_dir, layer_name, layer_types).map_err(|error| { [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 61 | LayerError::WriteLayerError(WriteLayerError::WriteLayerMetadataError(error)) [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/layer/struct_api/handling.rs:97:53 [INFO] [stdout] | [INFO] [stdout] 96 | replace_layer_metadata(layers_dir, layer_name, metadata).map_err(|error| { [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 97 | LayerError::WriteLayerError(WriteLayerError::WriteLayerMetadataError(error)) [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/layer/struct_api/handling.rs:137:8 [INFO] [stdout] | [INFO] [stdout] 118 | empty_layer_cause: EmptyLayerCause, [INFO] [stdout] | -------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 137 | Ok(LayerRef { [INFO] [stdout] | ________^ [INFO] [stdout] 138 | | name: layer_data.name, [INFO] [stdout] 139 | | layers_dir: PathBuf::from(layers_dir), [INFO] [stdout] 140 | | buildpack: PhantomData, [INFO] [stdout] ... | [INFO] [stdout] 143 | | }, [INFO] [stdout] 144 | | }) [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/layer/trait_api/mod.rs:277:12 [INFO] [stdout] | [INFO] [stdout] 276 | pub fn build(self) -> Result, E> { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 277 | Ok(self.build_unwrapped()) [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/layer/trait_api/handling.rs:28:11 [INFO] [stdout] | [INFO] [stdout] 26 | mut layer: L, [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 27 | ) -> Result, LayerErrorOrBuildpackError> { [INFO] [stdout] 28 | match read_layer(&context.layers_dir, &layer_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/layer/trait_api/handling.rs:38:64 [INFO] [stdout] | [INFO] [stdout] 37 | delete_layer(&context.layers_dir, &layer_name).map_err(|error| { [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 38 | LayerErrorOrBuildpackError::LayerError(LayerError::DeleteLayerError(error)) [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/layer/trait_api/handling.rs:64:64 [INFO] [stdout] | [INFO] [stdout] 63 | .map_err(|error| { [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 64 | LayerErrorOrBuildpackError::LayerError(LayerError::WriteLayerError(error)) [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/layer/trait_api/handling.rs:71:68 [INFO] [stdout] | [INFO] [stdout] 70 | .map_err(|error| { [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 71 | LayerErrorOrBuildpackError::LayerError(LayerError::ReadLayerError( [INFO] [stdout] | ____________________________________________________________________^ [INFO] [stdout] 72 | | error, [INFO] [stdout] 73 | | )) [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/layer/trait_api/handling.rs:94:37 [INFO] [stdout] | [INFO] [stdout] 92 | ... delete_layer(&context.layers_dir, &layer_name).map_err(|error| { [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 93 | ... LayerErrorOrBuildpackError::LayerError( [INFO] [stdout] 94 | ... LayerError::DeleteLayerError(error), [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/layer/trait_api/handling.rs:111:72 [INFO] [stdout] | [INFO] [stdout] 110 | ... .map_err(|error| { [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 111 | ... LayerErrorOrBuildpackError::LayerError(LayerError::WriteLayerError( [INFO] [stdout] | __________________________________________________________________^ [INFO] [stdout] 112 | | ... error, [INFO] [stdout] 113 | | ... )) [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/layer/trait_api/handling.rs:162:5 [INFO] [stdout] | [INFO] [stdout] 145 | let layer_result = layer [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 162 | / read_layer(&context.layers_dir, layer_name) [INFO] [stdout] 163 | | .map_err(|error| LayerErrorOrBuildpackError::LayerError(LayerError::ReadLayerError(error)))? [INFO] [stdout] 164 | | .ok_or(LayerError::UnexpectedMissingLayer) [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/layer/trait_api/handling.rs:160:61 [INFO] [stdout] | [INFO] [stdout] 160 | .map_err(|error| LayerErrorOrBuildpackError::LayerError(LayerError::WriteLayerError(error)))?; [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/layer/trait_api/handling.rs:163:65 [INFO] [stdout] | [INFO] [stdout] 163 | .map_err(|error| LayerErrorOrBuildpackError::LayerError(LayerError::ReadLayerError(error)))? [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/layer/trait_api/handling.rs:190:5 [INFO] [stdout] | [INFO] [stdout] 173 | let layer_result = layer [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 190 | / read_layer(&context.layers_dir, &layer_data.name) [INFO] [stdout] 191 | | .map_err(|error| LayerErrorOrBuildpackError::LayerError(LayerError::ReadLayerError(error)))? [INFO] [stdout] 192 | | .ok_or(LayerError::UnexpectedMissingLayer) [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/layer/trait_api/handling.rs:188:61 [INFO] [stdout] | [INFO] [stdout] 188 | .map_err(|error| LayerErrorOrBuildpackError::LayerError(LayerError::WriteLayerError(error)))?; [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/layer/trait_api/handling.rs:191:65 [INFO] [stdout] | [INFO] [stdout] 191 | .map_err(|error| LayerErrorOrBuildpackError::LayerError(LayerError::ReadLayerError(error)))? [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/layer/trait_api/handling.rs:247:5 [INFO] [stdout] | [INFO] [stdout] 244 | layers_dir: P, [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 247 | crate::layer::shared::read_layer(layers_dir, layer_name).and_then(|layer| { [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/layer/trait_api/handling.rs:248:9 [INFO] [stdout] | [INFO] [stdout] 247 | crate::layer::shared::read_layer(layers_dir, layer_name).and_then(|layer| { [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 248 | / layer [INFO] [stdout] 249 | | .map(|layer| { [INFO] [stdout] 250 | | LayerEnv::read_from_layer_dir(&layer.path) [INFO] [stdout] 251 | | .map_err(ReadLayerError::IoError) [INFO] [stdout] ... | [INFO] [stdout] 257 | | }) [INFO] [stdout] 258 | | }) [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/layer/trait_api/handling.rs:250:17 [INFO] [stdout] | [INFO] [stdout] 249 | .map(|layer| { [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 250 | / LayerEnv::read_from_layer_dir(&layer.path) [INFO] [stdout] 251 | | .map_err(ReadLayerError::IoError) [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/layer/trait_api/handling.rs:252:26 [INFO] [stdout] | [INFO] [stdout] 249 | .map(|layer| { [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 252 | .map(|env| LayerData { [INFO] [stdout] | __________________________^ [INFO] [stdout] 253 | | name: layer.name, [INFO] [stdout] 254 | | path: layer.path, [INFO] [stdout] 255 | | env, [INFO] [stdout] 256 | | content_metadata: layer.metadata, [INFO] [stdout] 257 | | }) [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/sbom.rs:28:9 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn from_path>(format: SbomFormat, path: P) -> std::io::Result { [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 28 | fs::read(path.as_ref()).map(|data| Self { format, data }) [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 35 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `libcnb` (lib) due to 36 previous errors; 2 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/runtime.rs:141:9 [INFO] [stdout] | [INFO] [stdout] 141 | let mut trace_error = |_: &dyn std::error::Error| {}; [INFO] [stdout] | ----^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/runtime.rs:209:9 [INFO] [stdout] | [INFO] [stdout] 209 | let mut trace_error = |_: &dyn std::error::Error| {}; [INFO] [stdout] | ----^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [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/build.rs:114:9 [INFO] [stdout] | [INFO] [stdout] 112 | layer: L, [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 113 | ) -> crate::Result, B::Error> { [INFO] [stdout] 114 | crate::layer::trait_api::handling::handle_layer(self, layer_name, layer).map_err(|error| { [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/generic.rs:37:9 [INFO] [stdout] | [INFO] [stdout] 36 | fn from_path(platform_dir: impl AsRef) -> std::io::Result { [INFO] [stdout] | ------------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 37 | read_platform_env(platform_dir.as_ref()).map(|env| Self { env }) [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/layer/shared.rs:53:8 [INFO] [stdout] | [INFO] [stdout] 17 | layers_dir: P, [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 50 | let layer_content_metadata = toml::from_str::>(&layer_toml_contents) [INFO] [stdout] | ---------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 53 | Ok(Some(ReadLayer { [INFO] [stdout] | ________^ [INFO] [stdout] 54 | | name: layer_name.clone(), [INFO] [stdout] 55 | | path: layer_dir_path, [INFO] [stdout] 56 | | metadata: layer_content_metadata, [INFO] [stdout] 57 | | })) [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/layer/shared.rs:137:5 [INFO] [stdout] | [INFO] [stdout] 129 | layers_dir: P, [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 130 | layer_name: &LayerName, [INFO] [stdout] 131 | metadata: M, [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 137 | / write_toml_file( [INFO] [stdout] 138 | | &LayerContentMetadata { [INFO] [stdout] 139 | | types: content_metadata.types, [INFO] [stdout] 140 | | metadata, [INFO] [stdout] 141 | | }, [INFO] [stdout] 142 | | &layer_content_metadata_path, [INFO] [stdout] 143 | | ) [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/layer/shared.rs:158:5 [INFO] [stdout] | [INFO] [stdout] 148 | layers_dir: P, [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 158 | write_toml_file(&content_metadata, &layer_content_metadata_path) [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/layer/shared.rs:364:15 [INFO] [stdout] | [INFO] [stdout] 348 | let temp_dir = tempdir().unwrap(); [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 364 | match super::read_layer::(layers_dir, &layer_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/layer/shared.rs:400:15 [INFO] [stdout] | [INFO] [stdout] 381 | let temp_dir = tempdir().unwrap(); [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 400 | match super::read_layer::(layers_dir, &layer_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/layer/shared.rs:417:15 [INFO] [stdout] | [INFO] [stdout] 411 | let temp_dir = tempdir().unwrap(); [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 417 | match super::read_layer::(layers_dir, &layer_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/layer/shared.rs:439:15 [INFO] [stdout] | [INFO] [stdout] 434 | let temp_dir = tempdir().unwrap(); [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 439 | match super::read_layer::(layers_dir, &layer_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/layer/shared.rs:451:15 [INFO] [stdout] | [INFO] [stdout] 448 | let temp_dir = tempdir().unwrap(); [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 451 | match super::read_layer::(layers_dir, &layer_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/layer/struct_api/mod.rs:115:12 [INFO] [stdout] | [INFO] [stdout] 114 | fn into_action(self) -> Result<(T, ()), E> { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 115 | Ok((self, ())) [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/layer/struct_api/mod.rs:177:9 [INFO] [stdout] | [INFO] [stdout] 173 | pub fn write_metadata(&self, metadata: M) -> crate::Result<(), B::Error> [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 177 | crate::layer::shared::replace_layer_metadata(&self.layers_dir, &self.name, metadata) [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/layer/struct_api/mod.rs:179:42 [INFO] [stdout] | [INFO] [stdout] 178 | .map_err(|error| { [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 179 | crate::Error::LayerError(LayerError::WriteLayerError( [INFO] [stdout] | __________________________________________^ [INFO] [stdout] 180 | | WriteLayerError::WriteLayerMetadataError(error), [INFO] [stdout] 181 | | )) [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/layer/struct_api/mod.rs:189:9 [INFO] [stdout] | [INFO] [stdout] 188 | pub fn write_env(&self, env: impl Borrow) -> crate::Result<(), B::Error> { [INFO] [stdout] | -------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 189 | / env.borrow() [INFO] [stdout] 190 | | .write_to_layer_dir(self.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/layer/struct_api/mod.rs:192:42 [INFO] [stdout] | [INFO] [stdout] 191 | .map_err(|error| { [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 192 | crate::Error::LayerError(LayerError::WriteLayerError(WriteLayerError::IoError( [INFO] [stdout] | __________________________________________^ [INFO] [stdout] 193 | | error, [INFO] [stdout] 194 | | ))) [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/layer/struct_api/mod.rs:204:38 [INFO] [stdout] | [INFO] [stdout] 203 | LayerEnv::read_from_layer_dir(self.path()).map_err(|error| { [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 204 | crate::Error::LayerError(LayerError::ReadLayerError(ReadLayerError::IoError(error))) [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/layer/struct_api/mod.rs:213:38 [INFO] [stdout] | [INFO] [stdout] 212 | replace_layer_sboms(&self.layers_dir, &self.name, sboms).map_err(|error| { [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 213 | crate::Error::LayerError(LayerError::WriteLayerError( [INFO] [stdout] | ______________________________________^ [INFO] [stdout] 214 | | WriteLayerError::ReplaceLayerSbomsError(error), [INFO] [stdout] 215 | | )) [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/layer/struct_api/mod.rs:232:9 [INFO] [stdout] | [INFO] [stdout] 222 | pub fn write_exec_d_programs(&self, programs: P) -> crate::Result<(), B::Error> [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 232 | replace_layer_exec_d_programs(&self.layers_dir, &self.name, &programs).map_err(|error| { [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/layer/struct_api/mod.rs:233:38 [INFO] [stdout] | [INFO] [stdout] 232 | replace_layer_exec_d_programs(&self.layers_dir, &self.name, &programs).map_err(|error| { [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 233 | crate::Error::LayerError(LayerError::WriteLayerError( [INFO] [stdout] | ______________________________________^ [INFO] [stdout] 234 | | WriteLayerError::ReplaceLayerExecdProgramsError(error), [INFO] [stdout] 235 | | )) [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/layer/struct_api/handling.rs:61:53 [INFO] [stdout] | [INFO] [stdout] 60 | replace_layer_types(layers_dir, layer_name, layer_types).map_err(|error| { [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 61 | LayerError::WriteLayerError(WriteLayerError::WriteLayerMetadataError(error)) [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/layer/struct_api/handling.rs:97:53 [INFO] [stdout] | [INFO] [stdout] 96 | replace_layer_metadata(layers_dir, layer_name, metadata).map_err(|error| { [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 97 | LayerError::WriteLayerError(WriteLayerError::WriteLayerMetadataError(error)) [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/layer/struct_api/handling.rs:137:8 [INFO] [stdout] | [INFO] [stdout] 118 | empty_layer_cause: EmptyLayerCause, [INFO] [stdout] | -------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 137 | Ok(LayerRef { [INFO] [stdout] | ________^ [INFO] [stdout] 138 | | name: layer_data.name, [INFO] [stdout] 139 | | layers_dir: PathBuf::from(layers_dir), [INFO] [stdout] 140 | | buildpack: PhantomData, [INFO] [stdout] ... | [INFO] [stdout] 143 | | }, [INFO] [stdout] 144 | | }) [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/layer/trait_api/mod.rs:277:12 [INFO] [stdout] | [INFO] [stdout] 276 | pub fn build(self) -> Result, E> { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 277 | Ok(self.build_unwrapped()) [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/layer/trait_api/handling.rs:28:11 [INFO] [stdout] | [INFO] [stdout] 26 | mut layer: L, [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 27 | ) -> Result, LayerErrorOrBuildpackError> { [INFO] [stdout] 28 | match read_layer(&context.layers_dir, &layer_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/layer/trait_api/handling.rs:38:64 [INFO] [stdout] | [INFO] [stdout] 37 | delete_layer(&context.layers_dir, &layer_name).map_err(|error| { [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 38 | LayerErrorOrBuildpackError::LayerError(LayerError::DeleteLayerError(error)) [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/layer/trait_api/handling.rs:64:64 [INFO] [stdout] | [INFO] [stdout] 63 | .map_err(|error| { [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 64 | LayerErrorOrBuildpackError::LayerError(LayerError::WriteLayerError(error)) [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/layer/trait_api/handling.rs:71:68 [INFO] [stdout] | [INFO] [stdout] 70 | .map_err(|error| { [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 71 | LayerErrorOrBuildpackError::LayerError(LayerError::ReadLayerError( [INFO] [stdout] | ____________________________________________________________________^ [INFO] [stdout] 72 | | error, [INFO] [stdout] 73 | | )) [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/layer/trait_api/handling.rs:94:37 [INFO] [stdout] | [INFO] [stdout] 92 | ... delete_layer(&context.layers_dir, &layer_name).map_err(|error| { [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 93 | ... LayerErrorOrBuildpackError::LayerError( [INFO] [stdout] 94 | ... LayerError::DeleteLayerError(error), [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/layer/trait_api/handling.rs:111:72 [INFO] [stdout] | [INFO] [stdout] 110 | ... .map_err(|error| { [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 111 | ... LayerErrorOrBuildpackError::LayerError(LayerError::WriteLayerError( [INFO] [stdout] | __________________________________________________________________^ [INFO] [stdout] 112 | | ... error, [INFO] [stdout] 113 | | ... )) [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/layer/trait_api/handling.rs:162:5 [INFO] [stdout] | [INFO] [stdout] 145 | let layer_result = layer [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 162 | / read_layer(&context.layers_dir, layer_name) [INFO] [stdout] 163 | | .map_err(|error| LayerErrorOrBuildpackError::LayerError(LayerError::ReadLayerError(error)))? [INFO] [stdout] 164 | | .ok_or(LayerError::UnexpectedMissingLayer) [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/layer/trait_api/handling.rs:160:61 [INFO] [stdout] | [INFO] [stdout] 160 | .map_err(|error| LayerErrorOrBuildpackError::LayerError(LayerError::WriteLayerError(error)))?; [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/layer/trait_api/handling.rs:163:65 [INFO] [stdout] | [INFO] [stdout] 163 | .map_err(|error| LayerErrorOrBuildpackError::LayerError(LayerError::ReadLayerError(error)))? [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/layer/trait_api/handling.rs:190:5 [INFO] [stdout] | [INFO] [stdout] 173 | let layer_result = layer [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 190 | / read_layer(&context.layers_dir, &layer_data.name) [INFO] [stdout] 191 | | .map_err(|error| LayerErrorOrBuildpackError::LayerError(LayerError::ReadLayerError(error)))? [INFO] [stdout] 192 | | .ok_or(LayerError::UnexpectedMissingLayer) [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/layer/trait_api/handling.rs:188:61 [INFO] [stdout] | [INFO] [stdout] 188 | .map_err(|error| LayerErrorOrBuildpackError::LayerError(LayerError::WriteLayerError(error)))?; [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/layer/trait_api/handling.rs:191:65 [INFO] [stdout] | [INFO] [stdout] 191 | .map_err(|error| LayerErrorOrBuildpackError::LayerError(LayerError::ReadLayerError(error)))? [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/layer/trait_api/handling.rs:247:5 [INFO] [stdout] | [INFO] [stdout] 244 | layers_dir: P, [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 247 | crate::layer::shared::read_layer(layers_dir, layer_name).and_then(|layer| { [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/layer/trait_api/handling.rs:248:9 [INFO] [stdout] | [INFO] [stdout] 247 | crate::layer::shared::read_layer(layers_dir, layer_name).and_then(|layer| { [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 248 | / layer [INFO] [stdout] 249 | | .map(|layer| { [INFO] [stdout] 250 | | LayerEnv::read_from_layer_dir(&layer.path) [INFO] [stdout] 251 | | .map_err(ReadLayerError::IoError) [INFO] [stdout] ... | [INFO] [stdout] 257 | | }) [INFO] [stdout] 258 | | }) [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/layer/trait_api/handling.rs:250:17 [INFO] [stdout] | [INFO] [stdout] 249 | .map(|layer| { [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 250 | / LayerEnv::read_from_layer_dir(&layer.path) [INFO] [stdout] 251 | | .map_err(ReadLayerError::IoError) [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/layer/trait_api/handling.rs:252:26 [INFO] [stdout] | [INFO] [stdout] 249 | .map(|layer| { [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 252 | .map(|env| LayerData { [INFO] [stdout] | __________________________^ [INFO] [stdout] 253 | | name: layer.name, [INFO] [stdout] 254 | | path: layer.path, [INFO] [stdout] 255 | | env, [INFO] [stdout] 256 | | content_metadata: layer.metadata, [INFO] [stdout] 257 | | }) [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/sbom.rs:28:9 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn from_path>(format: SbomFormat, path: P) -> std::io::Result { [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 28 | fs::read(path.as_ref()).map(|data| Self { format, data }) [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 40 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `libcnb` (lib test) due to 41 previous errors; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "d97d8888472868ed4819cc975827a1ba925ec1d3883d8b307f6a541c74d0c62c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d97d8888472868ed4819cc975827a1ba925ec1d3883d8b307f6a541c74d0c62c", kill_on_drop: false }` [INFO] [stdout] d97d8888472868ed4819cc975827a1ba925ec1d3883d8b307f6a541c74d0c62c