[INFO] fetching crate cli-xtask 0.8.0... [INFO] checking cli-xtask-0.8.0 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] extracting crate cli-xtask 0.8.0 into /workspace/builds/worker-6-tc2/source [INFO] validating manifest of crates.io crate cli-xtask 0.8.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] removed /workspace/builds/worker-6-tc2/source/.cargo/config.toml [INFO] started tweaking crates.io crate cli-xtask 0.8.0 [INFO] finished tweaking crates.io crate cli-xtask 0.8.0 [INFO] tweaked toml for crates.io crate cli-xtask 0.8.0 written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] crate crates.io crate cli-xtask 0.8.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-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] dbeeb0d899e1e72df3615f56990fcadff52993225663f26d53658e0090b44dd4 [INFO] running `Command { std: "docker" "start" "-a" "dbeeb0d899e1e72df3615f56990fcadff52993225663f26d53658e0090b44dd4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "dbeeb0d899e1e72df3615f56990fcadff52993225663f26d53658e0090b44dd4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dbeeb0d899e1e72df3615f56990fcadff52993225663f26d53658e0090b44dd4", kill_on_drop: false }` [INFO] [stdout] dbeeb0d899e1e72df3615f56990fcadff52993225663f26d53658e0090b44dd4 [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] d7b2f99d10a6364ce051319629d524474984b7b8a0ed5c54f0eefb39a6527ecc [INFO] running `Command { std: "docker" "start" "-a" "d7b2f99d10a6364ce051319629d524474984b7b8a0ed5c54f0eefb39a6527ecc", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.67 [INFO] [stderr] Compiling serde v1.0.188 [INFO] [stderr] Checking utf8parse v0.2.1 [INFO] [stderr] Checking once_cell v1.18.0 [INFO] [stderr] Checking anstyle-query v1.0.0 [INFO] [stderr] Compiling camino v1.1.6 [INFO] [stderr] Compiling thiserror v1.0.48 [INFO] [stderr] Checking anstyle v1.0.3 [INFO] [stderr] Checking anstyle-parse v0.2.1 [INFO] [stderr] Compiling serde_json v1.0.107 [INFO] [stderr] Checking colorchoice v1.0.0 [INFO] [stderr] Compiling semver v1.0.18 [INFO] [stderr] Checking ryu v1.0.15 [INFO] [stderr] Checking anstream v0.5.0 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Checking strsim v0.10.0 [INFO] [stderr] Compiling eyre v0.6.8 [INFO] [stderr] Checking itoa v1.0.9 [INFO] [stderr] Checking clap_lex v0.5.1 [INFO] [stderr] Checking tracing-core v0.1.31 [INFO] [stderr] Checking indenter v0.3.3 [INFO] [stderr] Compiling cli-xtask v0.8.0 (/opt/rustwide/workdir) [INFO] [stderr] Checking pin-project-lite v0.2.13 [INFO] [stderr] Checking walkdir v2.4.0 [INFO] [stderr] Checking clap_builder v4.4.2 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Compiling syn v2.0.36 [INFO] [stderr] Compiling serde_derive v1.0.188 [INFO] [stderr] Compiling thiserror-impl v1.0.48 [INFO] [stderr] Compiling clap_derive v4.4.2 [INFO] [stderr] Compiling tracing-attributes v0.1.26 [INFO] [stderr] Checking tracing v0.1.37 [INFO] [stderr] Checking clap v4.4.3 [INFO] [stderr] Checking cargo-platform v0.1.3 [INFO] [stderr] Checking cargo_metadata v0.18.0 [INFO] [stdout] warning: unexpected `cfg` condition name: `subcommand_dist_build` [INFO] [stdout] --> src/subcommand.rs:28:7 [INFO] [stdout] | [INFO] [stdout] 28 | #[cfg(subcommand_dist_build)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `clippy`, `debug_assertions`, `doc`, `docsrs`, `doctest`, `feature`, `miri`, `overflow_checks`, `panic`, `proc_macro`, `relocation_model`, `rustfmt`, `sanitize`, `sanitizer_cfi_generalize_pointers`, `sanitizer_cfi_normalize_integers`, `target_abi`, `target_arch`, `target_endian`, `target_env`, `target_family`, `target_feature`, `target_has_atomic`, `target_has_atomic_equal_alignment`, `target_has_atomic_load_store`, `target_os`, `target_pointer_width`, `target_thread_local`, `target_vendor`, `test`, `ub_checks`, `unix`, and `windows` [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(subcommand_dist_build)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(subcommand_dist_build)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `subcommand_dist_build` [INFO] [stdout] --> src/subcommand.rs:28:7 [INFO] [stdout] | [INFO] [stdout] 28 | #[cfg(subcommand_dist_build)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `clippy`, `debug_assertions`, `doc`, `docsrs`, `doctest`, `feature`, `miri`, `overflow_checks`, `panic`, `proc_macro`, `relocation_model`, `rustfmt`, `sanitize`, `sanitizer_cfi_generalize_pointers`, `sanitizer_cfi_normalize_integers`, `target_abi`, `target_arch`, `target_endian`, `target_env`, `target_family`, `target_feature`, `target_has_atomic`, `target_has_atomic_equal_alignment`, `target_has_atomic_load_store`, `target_os`, `target_pointer_width`, `target_thread_local`, `target_vendor`, `test`, `ub_checks`, `unix`, and `windows` [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(subcommand_dist_build)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(subcommand_dist_build)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `subcommand_dist_build` [INFO] [stdout] --> src/subcommand.rs:31:7 [INFO] [stdout] | [INFO] [stdout] 31 | #[cfg(subcommand_dist_build)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(subcommand_dist_build)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(subcommand_dist_build)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `subcommand_dist_build` [INFO] [stdout] --> src/subcommand.rs:230:11 [INFO] [stdout] | [INFO] [stdout] 230 | #[cfg(subcommand_dist_build)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(subcommand_dist_build)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(subcommand_dist_build)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `subcommand_dist_build` [INFO] [stdout] --> src/subcommand.rs:31:7 [INFO] [stdout] | [INFO] [stdout] 31 | #[cfg(subcommand_dist_build)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(subcommand_dist_build)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(subcommand_dist_build)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `subcommand_dist_build` [INFO] [stdout] --> src/subcommand.rs:357:19 [INFO] [stdout] | [INFO] [stdout] 357 | #[cfg(subcommand_dist_build)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(subcommand_dist_build)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(subcommand_dist_build)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `subcommand_dist_build` [INFO] [stdout] --> src/subcommand.rs:230:11 [INFO] [stdout] | [INFO] [stdout] 230 | #[cfg(subcommand_dist_build)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(subcommand_dist_build)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(subcommand_dist_build)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `subcommand` [INFO] [stdout] --> src/subcommand.rs:411:23 [INFO] [stdout] | [INFO] [stdout] 411 | #[cfg(not(subcommand))] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(subcommand)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(subcommand)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `subcommand_dist_build` [INFO] [stdout] --> src/subcommand.rs:357:19 [INFO] [stdout] | [INFO] [stdout] 357 | #[cfg(subcommand_dist_build)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(subcommand_dist_build)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(subcommand_dist_build)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `subcommand` [INFO] [stdout] --> src/subcommand.rs:411:23 [INFO] [stdout] | [INFO] [stdout] 411 | #[cfg(not(subcommand))] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(subcommand)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(subcommand)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [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/args.rs:91:18 [INFO] [stdout] | [INFO] [stdout] 89 | pub fn new(iter: impl IntoIterator, impl Into)>) -> Self { [INFO] [stdout] | ---------------------------------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 90 | Self { [INFO] [stdout] 91 | env: iter [INFO] [stdout] | __________________^ [INFO] [stdout] 92 | | .into_iter() [INFO] [stdout] 93 | | .map(|(k, v)| (k.into(), v.into())) [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/config.rs:56:12 [INFO] [stdout] | [INFO] [stdout] 55 | pub fn build(self) -> Result> { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 56 | Ok(Config { dist: self.dist }) [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/config/dist.rs:101:12 [INFO] [stdout] | [INFO] [stdout] 101 | Ok(Self::from_package(workspace, package)) [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/config/dist.rs:142:12 [INFO] [stdout] | [INFO] [stdout] 142 | Ok(Self::from_package(workspace, package)) [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/config/dist.rs:266:12 [INFO] [stdout] | [INFO] [stdout] 265 | pub fn build(self) -> Result> { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 266 | Ok(DistConfig { [INFO] [stdout] | ____________^ [INFO] [stdout] 267 | | name: self.name, [INFO] [stdout] 268 | | metadata: self.metadata, [INFO] [stdout] 269 | | dist_target_directory: self.dist_target_directory, [INFO] [stdout] ... | [INFO] [stdout] 273 | | cargo_build_options: self.cargo_build_options, [INFO] [stdout] 274 | | }) [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/config/dist_package.rs:408:12 [INFO] [stdout] | [INFO] [stdout] 400 | pub fn build(self) -> Result> { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 401 | let targets = match self.targets { [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 402 | Some(targets) => targets, [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 408 | Ok(DistPackageConfig { [INFO] [stdout] | ____________^ [INFO] [stdout] 409 | | name: self.name, [INFO] [stdout] 410 | | metadata: self.metadata, [INFO] [stdout] 411 | | targets, [INFO] [stdout] ... | [INFO] [stdout] 417 | | documents: self.documents.unwrap_or_default(), [INFO] [stdout] 418 | | }) [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/config/dist_target.rs:36:12 [INFO] [stdout] | [INFO] [stdout] 36 | Ok(Self { [INFO] [stdout] | ____________^ [INFO] [stdout] 37 | | name: name.to_string(), [INFO] [stdout] 38 | | metadata: target, [INFO] [stdout] 39 | | command: None, [INFO] [stdout] 40 | | #[cfg(feature = "subcommand-dist-build-bin")] [INFO] [stdout] 41 | | cargo_build_options: vec![], [INFO] [stdout] 42 | | }) [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/config/dist_target.rs:69:12 [INFO] [stdout] | [INFO] [stdout] 68 | pub fn build(self) -> Result> { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 69 | Ok(DistTargetConfig { [INFO] [stdout] | ____________^ [INFO] [stdout] 70 | | name: self.name, [INFO] [stdout] 71 | | metadata: self.metadata, [INFO] [stdout] 72 | | command: self.command, [INFO] [stdout] 73 | | #[cfg(feature = "subcommand-dist-build-bin")] [INFO] [stdout] 74 | | cargo_build_options: self.cargo_build_options, [INFO] [stdout] 75 | | }) [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 8 previous errors; 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `cli-xtask` (lib) due to 9 previous errors; 5 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/args.rs:91:18 [INFO] [stdout] | [INFO] [stdout] 89 | pub fn new(iter: impl IntoIterator, impl Into)>) -> Self { [INFO] [stdout] | ---------------------------------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 90 | Self { [INFO] [stdout] 91 | env: iter [INFO] [stdout] | __________________^ [INFO] [stdout] 92 | | .into_iter() [INFO] [stdout] 93 | | .map(|(k, v)| (k.into(), v.into())) [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/config.rs:56:12 [INFO] [stdout] | [INFO] [stdout] 55 | pub fn build(self) -> Result> { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 56 | Ok(Config { dist: self.dist }) [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/config/dist.rs:101:12 [INFO] [stdout] | [INFO] [stdout] 101 | Ok(Self::from_package(workspace, package)) [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/config/dist.rs:142:12 [INFO] [stdout] | [INFO] [stdout] 142 | Ok(Self::from_package(workspace, package)) [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/config/dist.rs:266:12 [INFO] [stdout] | [INFO] [stdout] 265 | pub fn build(self) -> Result> { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 266 | Ok(DistConfig { [INFO] [stdout] | ____________^ [INFO] [stdout] 267 | | name: self.name, [INFO] [stdout] 268 | | metadata: self.metadata, [INFO] [stdout] 269 | | dist_target_directory: self.dist_target_directory, [INFO] [stdout] ... | [INFO] [stdout] 273 | | cargo_build_options: self.cargo_build_options, [INFO] [stdout] 274 | | }) [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/config/dist_package.rs:408:12 [INFO] [stdout] | [INFO] [stdout] 400 | pub fn build(self) -> Result> { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 401 | let targets = match self.targets { [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 402 | Some(targets) => targets, [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 408 | Ok(DistPackageConfig { [INFO] [stdout] | ____________^ [INFO] [stdout] 409 | | name: self.name, [INFO] [stdout] 410 | | metadata: self.metadata, [INFO] [stdout] 411 | | targets, [INFO] [stdout] ... | [INFO] [stdout] 417 | | documents: self.documents.unwrap_or_default(), [INFO] [stdout] 418 | | }) [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/config/dist_target.rs:36:12 [INFO] [stdout] | [INFO] [stdout] 36 | Ok(Self { [INFO] [stdout] | ____________^ [INFO] [stdout] 37 | | name: name.to_string(), [INFO] [stdout] 38 | | metadata: target, [INFO] [stdout] 39 | | command: None, [INFO] [stdout] 40 | | #[cfg(feature = "subcommand-dist-build-bin")] [INFO] [stdout] 41 | | cargo_build_options: vec![], [INFO] [stdout] 42 | | }) [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/config/dist_target.rs:69:12 [INFO] [stdout] | [INFO] [stdout] 68 | pub fn build(self) -> Result> { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 69 | Ok(DistTargetConfig { [INFO] [stdout] | ____________^ [INFO] [stdout] 70 | | name: self.name, [INFO] [stdout] 71 | | metadata: self.metadata, [INFO] [stdout] 72 | | command: self.command, [INFO] [stdout] 73 | | #[cfg(feature = "subcommand-dist-build-bin")] [INFO] [stdout] 74 | | cargo_build_options: self.cargo_build_options, [INFO] [stdout] 75 | | }) [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 8 previous errors; 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `cli-xtask` (lib test) due to 9 previous errors; 5 warnings emitted [INFO] running `Command { std: "docker" "inspect" "d7b2f99d10a6364ce051319629d524474984b7b8a0ed5c54f0eefb39a6527ecc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d7b2f99d10a6364ce051319629d524474984b7b8a0ed5c54f0eefb39a6527ecc", kill_on_drop: false }` [INFO] [stdout] d7b2f99d10a6364ce051319629d524474984b7b8a0ed5c54f0eefb39a6527ecc