[INFO] fetching crate cargo-monorepo 0.2.0... [INFO] checking cargo-monorepo-0.2.0 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] extracting crate cargo-monorepo 0.2.0 into /workspace/builds/worker-5-tc2/source [INFO] validating manifest of crates.io crate cargo-monorepo 0.2.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 cargo-monorepo 0.2.0 [INFO] finished tweaking crates.io crate cargo-monorepo 0.2.0 [INFO] tweaked toml for crates.io crate cargo-monorepo 0.2.0 written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] crate crates.io crate cargo-monorepo 0.2.0 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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] 7497fad4de5c3ae54ba99111b129fe13c283ac17cf50519a86014599060dfc7b [INFO] running `Command { std: "docker" "start" "-a" "7497fad4de5c3ae54ba99111b129fe13c283ac17cf50519a86014599060dfc7b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7497fad4de5c3ae54ba99111b129fe13c283ac17cf50519a86014599060dfc7b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7497fad4de5c3ae54ba99111b129fe13c283ac17cf50519a86014599060dfc7b", kill_on_drop: false }` [INFO] [stdout] 7497fad4de5c3ae54ba99111b129fe13c283ac17cf50519a86014599060dfc7b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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] 6084cca93f447e765d30856f72977ec1bcb238996bcb97414bc0e2fb8ff30628 [INFO] running `Command { std: "docker" "start" "-a" "6084cca93f447e765d30856f72977ec1bcb238996bcb97414bc0e2fb8ff30628", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.108 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling proc-macro2 v1.0.32 [INFO] [stderr] Compiling syn v1.0.82 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling pkg-config v0.3.22 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Checking once_cell v1.8.0 [INFO] [stderr] Checking itoa v0.4.8 [INFO] [stderr] Checking pin-project-lite v0.2.7 [INFO] [stderr] Checking bytes v1.1.0 [INFO] [stderr] Compiling ryu v1.0.6 [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Compiling parking_lot_core v0.8.5 [INFO] [stderr] Checking instant v0.1.12 [INFO] [stderr] Compiling futures-core v0.3.18 [INFO] [stderr] Compiling crc32fast v1.2.2 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Checking smallvec v1.7.0 [INFO] [stderr] Compiling futures-task v0.3.18 [INFO] [stderr] Checking lock_api v0.4.5 [INFO] [stderr] Checking futures-sink v0.3.18 [INFO] [stderr] Compiling futures-channel v0.3.18 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling tokio v1.14.0 [INFO] [stderr] Checking percent-encoding v2.1.0 [INFO] [stderr] Compiling futures-util v0.3.18 [INFO] [stderr] Checking futures-io v0.3.18 [INFO] [stderr] Checking slab v0.4.5 [INFO] [stderr] Checking tracing-core v0.1.21 [INFO] [stderr] Compiling serde_derive v1.0.130 [INFO] [stderr] Checking http v0.2.5 [INFO] [stderr] Compiling indexmap v1.7.0 [INFO] [stderr] Checking regex-syntax v0.6.25 [INFO] [stderr] Compiling serde v1.0.130 [INFO] [stderr] Compiling httparse v1.5.1 [INFO] [stderr] Checking hashbrown v0.11.2 [INFO] [stderr] Compiling uncased v0.9.6 [INFO] [stderr] Checking either v1.6.1 [INFO] [stderr] Compiling semver v1.0.4 [INFO] [stderr] Checking matches v0.1.9 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking signal-hook-registry v1.4.0 [INFO] [stderr] Checking mio v0.7.14 [INFO] [stderr] Checking socket2 v0.4.2 [INFO] [stderr] Checking try-lock v0.2.3 [INFO] [stderr] Checking tower-service v0.3.1 [INFO] [stderr] Checking want v0.3.0 [INFO] [stderr] Checking openssl-probe v0.1.4 [INFO] [stderr] Checking form_urlencoded v1.0.1 [INFO] [stderr] Checking bytes-utils v0.1.1 [INFO] [stderr] Checking parking_lot v0.11.2 [INFO] [stderr] Compiling typenum v1.14.0 [INFO] [stderr] Compiling jobserver v0.1.24 [INFO] [stderr] Compiling getrandom v0.2.3 [INFO] [stderr] Compiling ppv-lite86 v0.2.15 [INFO] [stderr] Checking zeroize v1.4.3 [INFO] [stderr] Checking aho-corasick v0.7.18 [INFO] [stderr] Compiling siphasher v0.3.7 [INFO] [stderr] Compiling quote v1.0.10 [INFO] [stderr] Checking tower-layer v0.3.1 [INFO] [stderr] Compiling cc v1.0.72 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling phf_shared v0.10.0 [INFO] [stderr] Checking tinyvec_macros v0.1.0 [INFO] [stderr] Compiling rustc_version v0.4.0 [INFO] [stderr] Checking tinyvec v1.5.1 [INFO] [stderr] Checking regex-automata v0.1.10 [INFO] [stderr] Compiling serde_json v1.0.72 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling crossbeam-utils v0.8.5 [INFO] [stderr] Compiling openssl-src v300.0.2+3.0.0 [INFO] [stderr] Checking bstr v0.2.17 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Checking fastrand v1.5.0 [INFO] [stderr] Compiling rand v0.8.4 [INFO] [stderr] Compiling anyhow v1.0.51 [INFO] [stderr] Checking unicode-bidi v0.3.7 [INFO] [stderr] Compiling aws-types v0.0.25-alpha [INFO] [stderr] Checking walkdir v2.3.2 [INFO] [stderr] Compiling phf v0.10.0 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Compiling curl v0.4.41 [INFO] [stderr] Compiling openssl v0.10.38 [INFO] [stderr] Checking unicode-normalization v0.1.19 [INFO] [stderr] Checking regex v1.5.4 [INFO] [stderr] Compiling filetime v0.2.15 [INFO] [stderr] Compiling openssl-sys v0.9.71 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Compiling libz-sys v1.1.3 [INFO] [stderr] Compiling libnghttp2-sys v0.1.7+1.45.0 [INFO] [stderr] Compiling curl-sys v0.4.51+curl-7.80.0 [INFO] [stderr] Compiling libssh2-sys v0.2.23 [INFO] [stderr] Checking http-body v0.4.4 [INFO] [stderr] Compiling phf_generator v0.10.0 [INFO] [stderr] Checking aws-smithy-types v0.28.0-alpha [INFO] [stderr] Compiling libgit2-sys v0.12.25+1.3.0 [INFO] [stderr] Compiling phf_codegen v0.10.0 [INFO] [stderr] Compiling bzip2-sys v0.1.11+1.0.8 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking thread_local v1.1.3 [INFO] [stderr] Checking aws-smithy-eventstream v0.28.0-alpha [INFO] [stderr] Checking xmlparser v0.13.3 [INFO] [stderr] Checking unic-common v0.9.0 [INFO] [stderr] Checking unic-char-range v0.9.0 [INFO] [stderr] Checking globset v0.4.8 [INFO] [stderr] Checking idna v0.2.3 [INFO] [stderr] Checking unic-ucd-version v0.9.0 [INFO] [stderr] Checking unic-char-property v0.9.0 [INFO] [stderr] Compiling flate2 v1.0.22 [INFO] [stderr] Compiling parse-zoneinfo v0.3.0 [INFO] [stderr] Compiling tar v0.4.37 [INFO] [stderr] Checking bitmaps v2.1.0 [INFO] [stderr] Checking ignore v0.4.18 [INFO] [stderr] Compiling vte_generate_state_changes v0.1.1 [INFO] [stderr] Compiling im-rc v15.0.0 [INFO] [stderr] Checking arrayvec v0.5.2 [INFO] [stderr] Checking utf8parse v0.2.0 [INFO] [stderr] Checking termcolor v1.1.2 [INFO] [stderr] Checking hex v0.3.2 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking unicode-width v0.1.9 [INFO] [stderr] Compiling chrono-tz-build v0.0.2 [INFO] [stderr] Checking url v2.2.2 [INFO] [stderr] Checking humantime v2.1.0 [INFO] [stderr] Checking urlencoding v1.3.3 [INFO] [stderr] Compiling camino v1.0.5 [INFO] [stderr] Checking remove_dir_all v0.5.3 [INFO] [stderr] Checking vte v0.10.1 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking tempfile v3.2.0 [INFO] [stderr] Checking rand_xoshiro v0.4.0 [INFO] [stderr] Checking aws-smithy-query v0.28.0-alpha [INFO] [stderr] Checking unic-ucd-segment v0.9.0 [INFO] [stderr] Checking aws-smithy-json v0.28.0-alpha [INFO] [stderr] Checking shell-escape v0.1.5 [INFO] [stderr] Checking deunicode v0.4.3 [INFO] [stderr] Checking clap v2.34.0 [INFO] [stderr] Checking globwalk v0.8.1 [INFO] [stderr] Checking env_logger v0.9.0 [INFO] [stderr] Checking block-buffer v0.9.0 [INFO] [stderr] Checking slug v0.1.4 [INFO] [stderr] Checking digest v0.9.0 [INFO] [stderr] Checking opener v0.5.0 [INFO] [stderr] Checking sized-chunks v0.6.5 [INFO] [stderr] Checking ordered-float v2.8.0 [INFO] [stderr] Checking time v0.1.43 [INFO] [stderr] Checking itertools v0.10.1 [INFO] [stderr] Checking md5 v0.7.0 [INFO] [stderr] Compiling chrono-tz v0.6.0 [INFO] [stderr] Checking unic-segment v0.9.0 [INFO] [stderr] Checking bytesize v1.1.0 [INFO] [stderr] Checking rustc-workspace-hack v1.0.0 [INFO] [stderr] Checking lazycell v1.3.0 [INFO] [stderr] Checking glob v0.3.0 [INFO] [stderr] Checking unicode-xid v0.2.2 [INFO] [stderr] Checking strip-ansi-escapes v0.1.1 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Checking home v0.5.3 [INFO] [stderr] Checking cpufeatures v0.2.1 [INFO] [stderr] Checking opaque-debug v0.3.0 [INFO] [stderr] Checking humansize v1.1.1 [INFO] [stderr] Checking env_logger v0.8.4 [INFO] [stderr] Checking fs_extra v1.2.0 [INFO] [stderr] Checking sha2 v0.9.8 [INFO] [stderr] Compiling cargo v0.57.0 [INFO] [stderr] Checking bzip2 v0.4.3 [INFO] [stderr] Compiling pest_generator v2.1.3 [INFO] [stderr] Checking sct v0.6.1 [INFO] [stderr] Checking webpki v0.21.4 [INFO] [stderr] Compiling tokio-macros v1.6.0 [INFO] [stderr] Compiling futures-macro v0.3.18 [INFO] [stderr] Compiling tracing-attributes v0.1.18 [INFO] [stderr] Compiling pin-project-internal v1.0.8 [INFO] [stderr] Compiling thiserror-impl v1.0.30 [INFO] [stderr] Compiling pest_derive v2.1.0 [INFO] [stderr] Checking ct-logs v0.8.0 [INFO] [stderr] Checking rustls v0.19.1 [INFO] [stderr] Checking thiserror v1.0.30 [INFO] [stderr] Checking tracing v0.1.29 [INFO] [stderr] Checking aws-smithy-xml v0.28.0-alpha [INFO] [stderr] Checking zip v0.5.13 [INFO] [stderr] Checking pin-project v1.0.8 [INFO] [stderr] Checking aws-sigv4 v0.0.25-alpha [INFO] [stderr] Checking rustls-native-certs v0.5.0 [INFO] [stderr] Checking futures-executor v0.3.18 [INFO] [stderr] Checking futures v0.3.18 [INFO] [stderr] Checking tokio-util v0.6.9 [INFO] [stderr] Checking aws-smithy-async v0.28.0-alpha [INFO] [stderr] Checking tower v0.4.11 [INFO] [stderr] Checking tokio-rustls v0.22.0 [INFO] [stderr] Checking h2 v0.3.7 [INFO] [stderr] Checking toml v0.5.8 [INFO] [stderr] Checking cargo-platform v0.1.2 [INFO] [stderr] Checking serde_ignored v0.1.2 [INFO] [stderr] Checking serde_path_to_error v0.1.5 [INFO] [stderr] Checking serde-value v0.7.0 [INFO] [stderr] Checking cargo_toml v0.10.1 [INFO] [stderr] Checking rustfix v0.6.0 [INFO] [stderr] Checking tera v1.15.0 [INFO] [stderr] Checking cargo_metadata v0.14.1 [INFO] [stderr] Checking hyper v0.14.15 [INFO] [stderr] Checking aws-smithy-http v0.28.0-alpha [INFO] [stderr] Checking hyper-rustls v0.22.1 [INFO] [stderr] Checking aws-smithy-http-tower v0.28.0-alpha [INFO] [stderr] Checking aws-http v0.0.25-alpha [INFO] [stderr] Checking aws-sig-auth v0.0.25-alpha [INFO] [stderr] Checking aws-endpoint v0.0.25-alpha [INFO] [stderr] Checking aws-smithy-client v0.28.0-alpha [INFO] [stderr] Checking aws-hyper v0.0.25-alpha [INFO] [stderr] Checking aws-sdk-sts v0.0.25-alpha [INFO] [stderr] Checking aws-sdk-ecr v0.0.25-alpha [INFO] [stderr] Checking aws-sdk-s3 v0.0.25-alpha [INFO] [stderr] Checking aws-config v0.0.25-alpha [INFO] [stderr] Checking crates-io v0.33.0 [INFO] [stderr] Checking crypto-hash v0.3.4 [INFO] [stderr] Checking cargo-util v0.1.1 [INFO] [stderr] Checking git2 v0.13.24 [INFO] [stderr] Checking git2-curl v0.14.1 [INFO] [stderr] Checking cargo-monorepo v0.2.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: fields `name` and `version` are never read [INFO] [stdout] --> src/aws_lambda/package.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 23 | pub struct AwsLambdaPackage { [INFO] [stdout] | ---------------- fields in this struct [INFO] [stdout] 24 | pub name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 25 | pub version: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AwsLambdaPackage` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `package` is never used [INFO] [stdout] --> src/dist_target.rs:22:8 [INFO] [stdout] | [INFO] [stdout] 21 | pub(crate) trait DistTarget: Display { [INFO] [stdout] | ---------- method in this trait [INFO] [stdout] 22 | fn package(&self) -> &Package; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `name` and `version` are never read [INFO] [stdout] --> src/docker/package.rs:25:9 [INFO] [stdout] | [INFO] [stdout] 24 | pub struct DockerPackage { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 25 | pub name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 26 | pub version: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DockerPackage` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/aws_lambda/metadata.rs:31:11 [INFO] [stdout] | [INFO] [stdout] 27 | fn deserialize_s3_bucket<'de, D>(deserializer: D) -> std::result::Result [INFO] [stdout] | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 31 | match String::deserialize(deserializer) { [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/aws_lambda/package.rs:129:36 [INFO] [stdout] | [INFO] [stdout] 129 | .map_err(|err| Error::new("failed to read archive on disk").with_source(err))?; [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/aws_lambda/package.rs:141:21 [INFO] [stdout] | [INFO] [stdout] 140 | .map_err(|err| [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 141 | / Error::new("failed to upload archive on S3") [INFO] [stdout] 142 | | .with_source(err) [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/aws_lambda/package.rs:163:32 [INFO] [stdout] | [INFO] [stdout] 163 | .map_err(|err| Error::new("failed to create zip archive file").with_source(err))?, [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/aws_lambda/package.rs:168:17 [INFO] [stdout] | [INFO] [stdout] 167 | let entry = entry.map_err(|err| { [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 168 | Error::new("failed to walk lambda root directory").with_source(err) [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/aws_lambda/package.rs:181:32 [INFO] [stdout] | [INFO] [stdout] 181 | .map_err(|err| Error::new("failed to get metadata").with_source(err))?; [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/aws_lambda/package.rs:194:21 [INFO] [stdout] | [INFO] [stdout] 193 | archive.start_file(&file_path, options).map_err(|err| { [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 194 | / Error::new("failed to start writing file in the archive") [INFO] [stdout] 195 | | .with_source(err) [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/aws_lambda/package.rs:200:36 [INFO] [stdout] | [INFO] [stdout] 200 | .map_err(|err| Error::new("failed to open file").with_source(err))?; [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/aws_lambda/package.rs:203:21 [INFO] [stdout] | [INFO] [stdout] 202 | archive.write_all(&buf).map_err(|err| { [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 203 | / Error::new("failed to write file in the archive") [INFO] [stdout] 204 | | .with_source(err) [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/aws_lambda/package.rs:209:21 [INFO] [stdout] | [INFO] [stdout] 208 | archive.add_directory(&file_path, options).map_err(|err| { [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 209 | / Error::new("failed to add directory to the archive") [INFO] [stdout] 210 | | .with_source(err) [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/aws_lambda/package.rs:218:28 [INFO] [stdout] | [INFO] [stdout] 218 | .map_err(|err| Error::new("failed to write zip archive file").with_source(err))?; [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/aws_lambda/package.rs:243:9 [INFO] [stdout] | [INFO] [stdout] 224 | let config = cargo::util::config::Config::default().unwrap(); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 225 | [INFO] [stdout] 226 | let ws = [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 230 | let mut compile_options = CompileOptions::new(&config, CompileMode::Build).unwrap(); [INFO] [stdout] | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 243 | / compile(&ws, &compile_options) [INFO] [stdout] 244 | | .map(|compilation| compilation.binaries[0].path.clone()) [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/aws_lambda/package.rs:245:28 [INFO] [stdout] | [INFO] [stdout] 245 | .map_err(|err| Error::new("failed to compile AWS Lambda binary").with_source(err)) [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/context.rs:43:12 [INFO] [stdout] | [INFO] [stdout] 35 | let metadata = self.get_metadata()?; [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 41 | let dist_targets = self.resolve_dist_targets(&metadata, &target_root, packages)?; [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 42 | [INFO] [stdout] 43 | Ok(Context::new(dist_targets)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [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/context.rs:105:36 [INFO] [stdout] | [INFO] [stdout] 105 | |package_id| match self.get_dependencies_from_resolve(resolve, package_id) { [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/context.rs:125:9 [INFO] [stdout] | [INFO] [stdout] 123 | packages: impl IntoIterator, [INFO] [stdout] | --------------------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 124 | ) -> Result>> { [INFO] [stdout] 125 | / packages [INFO] [stdout] 126 | | .into_iter() [INFO] [stdout] 127 | | .map(|(package_id, package_metadata)| { [INFO] [stdout] 128 | | let package = &metadata[&package_id]; [INFO] [stdout] ... | [INFO] [stdout] 181 | | Err(e) => vec![Err(e)], [INFO] [stdout] 182 | | }) [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/context.rs:235:22 [INFO] [stdout] | [INFO] [stdout] 225 | Err(e) => { [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 235 | Some(Ok((package_id.clone(), 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/context.rs:259:9 [INFO] [stdout] | [INFO] [stdout] 259 | cmd.exec() [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/context.rs:260:26 [INFO] [stdout] | [INFO] [stdout] 260 | .map_err(|e| Error::new("failed to query cargo metadata").with_source(e)) [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/docker/metadata.rs:32:11 [INFO] [stdout] | [INFO] [stdout] 28 | fn deserialize_registry<'de, D>(deserializer: D) -> std::result::Result [INFO] [stdout] | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 32 | match String::deserialize(deserializer) { [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/docker/package.rs:192:26 [INFO] [stdout] | [INFO] [stdout] 187 | let runtime = tokio::runtime::Builder::new_current_thread() [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 192 | runtime.block_on(async move { [INFO] [stdout] | __________________________^ [INFO] [stdout] 193 | | let region_provider = Region::new(aws_ecr_information.region.clone()); [INFO] [stdout] 194 | | let shared_config = aws_config::from_env().region(region_provider).load().await; [INFO] [stdout] 195 | | let client = aws_sdk_ecr::Client::new(&shared_config); [INFO] [stdout] ... | [INFO] [stdout] 243 | | Ok(()) [INFO] [stdout] 244 | | }) [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/docker/package.rs:346:9 [INFO] [stdout] | [INFO] [stdout] 327 | let config = cargo::util::config::Config::default().unwrap(); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 328 | [INFO] [stdout] 329 | let ws = [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 333 | let mut compile_options = CompileOptions::new(&config, CompileMode::Build).unwrap(); [INFO] [stdout] | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 346 | / compile(&ws, &compile_options) [INFO] [stdout] 347 | | .map(|compilation| { [INFO] [stdout] 348 | | compilation [INFO] [stdout] 349 | | .binaries [INFO] [stdout] ... | [INFO] [stdout] 352 | | .collect() [INFO] [stdout] 353 | | }) [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/docker/package.rs:354:28 [INFO] [stdout] | [INFO] [stdout] 354 | .map_err(|err| Error::new("failed to compile Docker binaries").with_source(err)) [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/errors.rs:21:21 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn new(description: impl Into) -> Self { [INFO] [stdout] | ------------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 21 | source: None, [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/errors.rs:27:9 [INFO] [stdout] | [INFO] [stdout] 26 | pub fn from_source(source: impl Into) -> Self { [INFO] [stdout] | -------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 27 | Self::new("").with_source(source) [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/errors.rs:86:22 [INFO] [stdout] | [INFO] [stdout] 85 | fn with_context(self, description: impl Into) -> Self { [INFO] [stdout] | ---- ------------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 86 | self.map_err(|e| e.with_context(description)) [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/errors.rs:94:22 [INFO] [stdout] | [INFO] [stdout] 90 | self, [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 91 | description: impl Into, [INFO] [stdout] | ------------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 92 | explanation: impl Into, [INFO] [stdout] | ------------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 93 | ) -> Self { [INFO] [stdout] 94 | self.map_err(|e| e.with_context(description).with_explanation(explanation)) [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/errors.rs:94:26 [INFO] [stdout] | [INFO] [stdout] 91 | description: impl Into, [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 92 | explanation: impl Into, [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 93 | ) -> Self { [INFO] [stdout] 94 | self.map_err(|e| e.with_context(description).with_explanation(explanation)) [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/metadata.rs:63:18 [INFO] [stdout] | [INFO] [stdout] 63 | #[derive(Deserialize, Debug)] [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] = note: this error originates in the macro `try` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/metadata.rs:122:9 [INFO] [stdout] | [INFO] [stdout] 114 | let sources = glob::glob(&source) [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 122 | / sources [INFO] [stdout] 123 | | .map(|entry| entry [INFO] [stdout] 124 | | .map_err(|err| [INFO] [stdout] 125 | | Error::new("failed to resolve glob entry") [INFO] [stdout] 126 | | .with_source(err) [INFO] [stdout] 127 | | .with_explanation("The glob entry could not be resolved. This could be the result of a syntax error.")) [INFO] [stdout] 128 | | ) [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/metadata.rs:116:13 [INFO] [stdout] | [INFO] [stdout] 116 | / Error::new("failed to read glob pattern") [INFO] [stdout] 117 | | .with_source(err) [INFO] [stdout] 118 | | .with_explanation("The specified source pattern in the copy-command could not be parsed. You may want to double-check for syntax errors.") [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/metadata.rs:125:21 [INFO] [stdout] | [INFO] [stdout] 124 | .map_err(|err| [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 125 | / Error::new("failed to resolve glob entry") [INFO] [stdout] 126 | | .with_source(err) [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/metadata.rs:170:28 [INFO] [stdout] | [INFO] [stdout] 170 | .map_err(|err| Error::new("failed to copy file or directory").with_source(err))?; [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/rust.rs:29:13 [INFO] [stdout] | [INFO] [stdout] 28 | .map_err(|err| { [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 29 | Error::new("failed to determine current Rust runtime target").with_source(err) [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 34 previous errors; 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `cargo-monorepo` (lib) due to 35 previous errors; 3 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: fields `name` and `version` are never read [INFO] [stdout] --> src/aws_lambda/package.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 23 | pub struct AwsLambdaPackage { [INFO] [stdout] | ---------------- fields in this struct [INFO] [stdout] 24 | pub name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 25 | pub version: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AwsLambdaPackage` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `package` is never used [INFO] [stdout] --> src/dist_target.rs:22:8 [INFO] [stdout] | [INFO] [stdout] 21 | pub(crate) trait DistTarget: Display { [INFO] [stdout] | ---------- method in this trait [INFO] [stdout] 22 | fn package(&self) -> &Package; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `name` and `version` are never read [INFO] [stdout] --> src/docker/package.rs:25:9 [INFO] [stdout] | [INFO] [stdout] 24 | pub struct DockerPackage { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 25 | pub name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 26 | pub version: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DockerPackage` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/aws_lambda/metadata.rs:31:11 [INFO] [stdout] | [INFO] [stdout] 27 | fn deserialize_s3_bucket<'de, D>(deserializer: D) -> std::result::Result [INFO] [stdout] | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 31 | match String::deserialize(deserializer) { [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/aws_lambda/package.rs:129:36 [INFO] [stdout] | [INFO] [stdout] 129 | .map_err(|err| Error::new("failed to read archive on disk").with_source(err))?; [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/aws_lambda/package.rs:141:21 [INFO] [stdout] | [INFO] [stdout] 140 | .map_err(|err| [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 141 | / Error::new("failed to upload archive on S3") [INFO] [stdout] 142 | | .with_source(err) [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/aws_lambda/package.rs:163:32 [INFO] [stdout] | [INFO] [stdout] 163 | .map_err(|err| Error::new("failed to create zip archive file").with_source(err))?, [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/aws_lambda/package.rs:168:17 [INFO] [stdout] | [INFO] [stdout] 167 | let entry = entry.map_err(|err| { [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 168 | Error::new("failed to walk lambda root directory").with_source(err) [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/aws_lambda/package.rs:181:32 [INFO] [stdout] | [INFO] [stdout] 181 | .map_err(|err| Error::new("failed to get metadata").with_source(err))?; [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/aws_lambda/package.rs:194:21 [INFO] [stdout] | [INFO] [stdout] 193 | archive.start_file(&file_path, options).map_err(|err| { [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 194 | / Error::new("failed to start writing file in the archive") [INFO] [stdout] 195 | | .with_source(err) [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/aws_lambda/package.rs:200:36 [INFO] [stdout] | [INFO] [stdout] 200 | .map_err(|err| Error::new("failed to open file").with_source(err))?; [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/aws_lambda/package.rs:203:21 [INFO] [stdout] | [INFO] [stdout] 202 | archive.write_all(&buf).map_err(|err| { [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 203 | / Error::new("failed to write file in the archive") [INFO] [stdout] 204 | | .with_source(err) [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/aws_lambda/package.rs:209:21 [INFO] [stdout] | [INFO] [stdout] 208 | archive.add_directory(&file_path, options).map_err(|err| { [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 209 | / Error::new("failed to add directory to the archive") [INFO] [stdout] 210 | | .with_source(err) [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/aws_lambda/package.rs:218:28 [INFO] [stdout] | [INFO] [stdout] 218 | .map_err(|err| Error::new("failed to write zip archive file").with_source(err))?; [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/aws_lambda/package.rs:243:9 [INFO] [stdout] | [INFO] [stdout] 224 | let config = cargo::util::config::Config::default().unwrap(); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 225 | [INFO] [stdout] 226 | let ws = [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 230 | let mut compile_options = CompileOptions::new(&config, CompileMode::Build).unwrap(); [INFO] [stdout] | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 243 | / compile(&ws, &compile_options) [INFO] [stdout] 244 | | .map(|compilation| compilation.binaries[0].path.clone()) [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/aws_lambda/package.rs:245:28 [INFO] [stdout] | [INFO] [stdout] 245 | .map_err(|err| Error::new("failed to compile AWS Lambda binary").with_source(err)) [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/context.rs:43:12 [INFO] [stdout] | [INFO] [stdout] 35 | let metadata = self.get_metadata()?; [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 41 | let dist_targets = self.resolve_dist_targets(&metadata, &target_root, packages)?; [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 42 | [INFO] [stdout] 43 | Ok(Context::new(dist_targets)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [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/context.rs:105:36 [INFO] [stdout] | [INFO] [stdout] 105 | |package_id| match self.get_dependencies_from_resolve(resolve, package_id) { [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/context.rs:125:9 [INFO] [stdout] | [INFO] [stdout] 123 | packages: impl IntoIterator, [INFO] [stdout] | --------------------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 124 | ) -> Result>> { [INFO] [stdout] 125 | / packages [INFO] [stdout] 126 | | .into_iter() [INFO] [stdout] 127 | | .map(|(package_id, package_metadata)| { [INFO] [stdout] 128 | | let package = &metadata[&package_id]; [INFO] [stdout] ... | [INFO] [stdout] 181 | | Err(e) => vec![Err(e)], [INFO] [stdout] 182 | | }) [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/context.rs:235:22 [INFO] [stdout] | [INFO] [stdout] 225 | Err(e) => { [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 235 | Some(Ok((package_id.clone(), 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/context.rs:259:9 [INFO] [stdout] | [INFO] [stdout] 259 | cmd.exec() [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/context.rs:260:26 [INFO] [stdout] | [INFO] [stdout] 260 | .map_err(|e| Error::new("failed to query cargo metadata").with_source(e)) [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/docker/metadata.rs:32:11 [INFO] [stdout] | [INFO] [stdout] 28 | fn deserialize_registry<'de, D>(deserializer: D) -> std::result::Result [INFO] [stdout] | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 32 | match String::deserialize(deserializer) { [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/docker/package.rs:192:26 [INFO] [stdout] | [INFO] [stdout] 187 | let runtime = tokio::runtime::Builder::new_current_thread() [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 192 | runtime.block_on(async move { [INFO] [stdout] | __________________________^ [INFO] [stdout] 193 | | let region_provider = Region::new(aws_ecr_information.region.clone()); [INFO] [stdout] 194 | | let shared_config = aws_config::from_env().region(region_provider).load().await; [INFO] [stdout] 195 | | let client = aws_sdk_ecr::Client::new(&shared_config); [INFO] [stdout] ... | [INFO] [stdout] 243 | | Ok(()) [INFO] [stdout] 244 | | }) [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/docker/package.rs:346:9 [INFO] [stdout] | [INFO] [stdout] 327 | let config = cargo::util::config::Config::default().unwrap(); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 328 | [INFO] [stdout] 329 | let ws = [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 333 | let mut compile_options = CompileOptions::new(&config, CompileMode::Build).unwrap(); [INFO] [stdout] | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 346 | / compile(&ws, &compile_options) [INFO] [stdout] 347 | | .map(|compilation| { [INFO] [stdout] 348 | | compilation [INFO] [stdout] 349 | | .binaries [INFO] [stdout] ... | [INFO] [stdout] 352 | | .collect() [INFO] [stdout] 353 | | }) [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/docker/package.rs:354:28 [INFO] [stdout] | [INFO] [stdout] 354 | .map_err(|err| Error::new("failed to compile Docker binaries").with_source(err)) [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/errors.rs:21:21 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn new(description: impl Into) -> Self { [INFO] [stdout] | ------------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 21 | source: None, [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/errors.rs:27:9 [INFO] [stdout] | [INFO] [stdout] 26 | pub fn from_source(source: impl Into) -> Self { [INFO] [stdout] | -------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 27 | Self::new("").with_source(source) [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/errors.rs:86:22 [INFO] [stdout] | [INFO] [stdout] 85 | fn with_context(self, description: impl Into) -> Self { [INFO] [stdout] | ---- ------------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 86 | self.map_err(|e| e.with_context(description)) [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/errors.rs:94:22 [INFO] [stdout] | [INFO] [stdout] 90 | self, [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 91 | description: impl Into, [INFO] [stdout] | ------------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 92 | explanation: impl Into, [INFO] [stdout] | ------------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 93 | ) -> Self { [INFO] [stdout] 94 | self.map_err(|e| e.with_context(description).with_explanation(explanation)) [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/errors.rs:94:26 [INFO] [stdout] | [INFO] [stdout] 91 | description: impl Into, [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 92 | explanation: impl Into, [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 93 | ) -> Self { [INFO] [stdout] 94 | self.map_err(|e| e.with_context(description).with_explanation(explanation)) [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/metadata.rs:63:18 [INFO] [stdout] | [INFO] [stdout] 63 | #[derive(Deserialize, Debug)] [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] = note: this error originates in the macro `try` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/metadata.rs:122:9 [INFO] [stdout] | [INFO] [stdout] 114 | let sources = glob::glob(&source) [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 122 | / sources [INFO] [stdout] 123 | | .map(|entry| entry [INFO] [stdout] 124 | | .map_err(|err| [INFO] [stdout] 125 | | Error::new("failed to resolve glob entry") [INFO] [stdout] 126 | | .with_source(err) [INFO] [stdout] 127 | | .with_explanation("The glob entry could not be resolved. This could be the result of a syntax error.")) [INFO] [stdout] 128 | | ) [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/metadata.rs:116:13 [INFO] [stdout] | [INFO] [stdout] 116 | / Error::new("failed to read glob pattern") [INFO] [stdout] 117 | | .with_source(err) [INFO] [stdout] 118 | | .with_explanation("The specified source pattern in the copy-command could not be parsed. You may want to double-check for syntax errors.") [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/metadata.rs:125:21 [INFO] [stdout] | [INFO] [stdout] 124 | .map_err(|err| [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 125 | / Error::new("failed to resolve glob entry") [INFO] [stdout] 126 | | .with_source(err) [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/metadata.rs:170:28 [INFO] [stdout] | [INFO] [stdout] 170 | .map_err(|err| Error::new("failed to copy file or directory").with_source(err))?; [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/rust.rs:29:13 [INFO] [stdout] | [INFO] [stdout] 28 | .map_err(|err| { [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 29 | Error::new("failed to determine current Rust runtime target").with_source(err) [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 34 previous errors; 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `cargo-monorepo` (lib test) due to 35 previous errors; 3 warnings emitted [INFO] running `Command { std: "docker" "inspect" "6084cca93f447e765d30856f72977ec1bcb238996bcb97414bc0e2fb8ff30628", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6084cca93f447e765d30856f72977ec1bcb238996bcb97414bc0e2fb8ff30628", kill_on_drop: false }` [INFO] [stdout] 6084cca93f447e765d30856f72977ec1bcb238996bcb97414bc0e2fb8ff30628