[INFO] fetching crate cargo-index 0.2.7... [INFO] checking cargo-index-0.2.7 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] extracting crate cargo-index 0.2.7 into /workspace/builds/worker-5-tc2/source [INFO] validating manifest of crates.io crate cargo-index 0.2.7 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-index 0.2.7 [INFO] finished tweaking crates.io crate cargo-index 0.2.7 [INFO] tweaked toml for crates.io crate cargo-index 0.2.7 written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] crate crates.io crate cargo-index 0.2.7 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] 96c7de9588c8830380ebdf84873bb4e890a9c695c5822c5e8448d82d232bb9de [INFO] running `Command { std: "docker" "start" "-a" "96c7de9588c8830380ebdf84873bb4e890a9c695c5822c5e8448d82d232bb9de", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "96c7de9588c8830380ebdf84873bb4e890a9c695c5822c5e8448d82d232bb9de", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "96c7de9588c8830380ebdf84873bb4e890a9c695c5822c5e8448d82d232bb9de", kill_on_drop: false }` [INFO] [stdout] 96c7de9588c8830380ebdf84873bb4e890a9c695c5822c5e8448d82d232bb9de [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] 10c6824c396fe30d88230f2e99ad0baaf215a9ade9f9d2c0af63eb6f9b440643 [INFO] running `Command { std: "docker" "start" "-a" "10c6824c396fe30d88230f2e99ad0baaf215a9ade9f9d2c0af63eb6f9b440643", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.149 [INFO] [stderr] Compiling proc-macro2 v1.0.69 [INFO] [stderr] Compiling pkg-config v0.3.27 [INFO] [stderr] Compiling serde v1.0.189 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling camino v1.1.6 [INFO] [stderr] Checking bitflags v2.4.1 [INFO] [stderr] Compiling semver v1.0.20 [INFO] [stderr] Compiling rustix v0.38.20 [INFO] [stderr] Compiling thiserror v1.0.50 [INFO] [stderr] Checking utf8parse v0.2.1 [INFO] [stderr] Checking unicode-bidi v0.3.13 [INFO] [stderr] Compiling serde_json v1.0.107 [INFO] [stderr] Checking tinyvec v1.6.0 [INFO] [stderr] Checking percent-encoding v2.3.0 [INFO] [stderr] Compiling crc32fast v1.3.2 [INFO] [stderr] Checking form_urlencoded v1.2.0 [INFO] [stderr] Checking anstyle-parse v0.2.2 [INFO] [stderr] Checking itoa v1.0.9 [INFO] [stderr] Checking anstyle v1.0.4 [INFO] [stderr] Checking colorchoice v1.0.0 [INFO] [stderr] Compiling anyhow v1.0.75 [INFO] [stderr] Checking linux-raw-sys v0.4.10 [INFO] [stderr] Checking anstyle-query v1.0.0 [INFO] [stderr] Checking ryu v1.0.15 [INFO] [stderr] Checking miniz_oxide v0.7.1 [INFO] [stderr] Checking clap_lex v0.5.1 [INFO] [stderr] Checking log v0.4.20 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Checking memchr v2.6.4 [INFO] [stderr] Checking cpufeatures v0.2.10 [INFO] [stderr] Checking fastrand v2.0.1 [INFO] [stderr] Checking walkdir v2.4.0 [INFO] [stderr] Checking regex-syntax v0.8.2 [INFO] [stderr] Checking anstream v0.6.4 [INFO] [stderr] Checking unicode-normalization v0.1.22 [INFO] [stderr] Checking aho-corasick v1.1.2 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Checking clap_builder v4.4.6 [INFO] [stderr] Compiling jobserver v0.1.27 [INFO] [stderr] Checking filetime v0.2.22 [INFO] [stderr] Checking fs2 v0.4.3 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Compiling syn v2.0.38 [INFO] [stderr] Checking tar v0.4.40 [INFO] [stderr] Compiling cc v1.0.83 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking idna v0.4.0 [INFO] [stderr] Checking sha2 v0.10.8 [INFO] [stderr] Compiling libz-sys v1.1.12 [INFO] [stderr] Compiling openssl-sys v0.9.93 [INFO] [stderr] Compiling libssh2-sys v0.3.0 [INFO] [stderr] Compiling libgit2-sys v0.16.1+1.7.1 [INFO] [stderr] Checking regex-automata v0.4.3 [INFO] [stderr] Checking flate2 v1.0.28 [INFO] [stderr] Checking clap v4.4.6 [INFO] [stderr] Checking tempfile v3.8.0 [INFO] [stderr] Compiling serde_derive v1.0.189 [INFO] [stderr] Compiling thiserror-impl v1.0.50 [INFO] [stderr] Checking regex v1.10.2 [INFO] [stderr] Checking url v2.4.1 [INFO] [stderr] Checking cargo-platform v0.1.4 [INFO] [stderr] Checking git2 v0.18.1 [INFO] [stderr] Checking cargo_metadata v0.18.1 [INFO] [stderr] Checking reg-index v0.6.0 [INFO] [stderr] Checking cargo-index v0.2.7 (/opt/rustwide/workdir) [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/main.rs:46:13 [INFO] [stdout] | [INFO] [stdout] 44 | fn arg_manifest(self) -> Self { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 45 | self._arg( [INFO] [stdout] 46 | / Arg::new("manifest-path") [INFO] [stdout] 47 | | .long("manifest-path") [INFO] [stdout] 48 | | .value_name("PATH") [INFO] [stdout] 49 | | .help("Path to Cargo.toml file."), [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/main.rs:55:13 [INFO] [stdout] | [INFO] [stdout] 53 | fn arg_crate(self) -> Self { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 54 | self._arg( [INFO] [stdout] 55 | / Arg::new("crate") [INFO] [stdout] 56 | | .long("crate") [INFO] [stdout] 57 | | .value_name("PATH") [INFO] [stdout] 58 | | .conflicts_with("package-args") [INFO] [stdout] 59 | | .help("Path to .crate file."), [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/main.rs:65:13 [INFO] [stdout] | [INFO] [stdout] 63 | fn arg_index(self) -> Self { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 64 | self._arg( [INFO] [stdout] 65 | / Arg::new("index") [INFO] [stdout] 66 | | .long("index") [INFO] [stdout] 67 | | .value_name("INDEX") [INFO] [stdout] 68 | | .required(true) [INFO] [stdout] 69 | | .help("Path to index."), [INFO] [stdout] | |_______________________________________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/main.rs:75:13 [INFO] [stdout] | [INFO] [stdout] 73 | fn arg_index_url(self) -> Self { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 74 | self._arg( [INFO] [stdout] 75 | / Arg::new("index-url") [INFO] [stdout] 76 | | .long("index-url") [INFO] [stdout] 77 | | .value_name("INDEX-URL") [INFO] [stdout] 78 | | .required(true) [INFO] [stdout] 79 | | .help("Public URL of the index."), [INFO] [stdout] | |_________________________________________________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/main.rs:85:13 [INFO] [stdout] | [INFO] [stdout] 83 | fn arg_package(self, help: &'static str, required: bool) -> Self { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 84 | self._arg( [INFO] [stdout] 85 | / Arg::new("package") [INFO] [stdout] 86 | | .long("package") [INFO] [stdout] 87 | | .short('p') [INFO] [stdout] 88 | | .value_name("NAME") [INFO] [stdout] 89 | | .required(required) [INFO] [stdout] 90 | | .help(help), [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/main.rs:96:13 [INFO] [stdout] | [INFO] [stdout] 94 | fn arg_version(self, help: &'static str, required: bool) -> Self { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 95 | self._arg( [INFO] [stdout] 96 | / Arg::new("version") [INFO] [stdout] 97 | | .long("version") [INFO] [stdout] 98 | | .alias("vers") [INFO] [stdout] 99 | | .value_name("VERSION") [INFO] [stdout] 100 | | .required(required) [INFO] [stdout] 101 | | .help(help), [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/main.rs:107:13 [INFO] [stdout] | [INFO] [stdout] 105 | fn arg_force(self) -> Self { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 106 | self._arg( [INFO] [stdout] 107 | / Arg::new("force") [INFO] [stdout] 108 | | .long("force") [INFO] [stdout] 109 | | .alias("f") [INFO] [stdout] 110 | | .action(ArgAction::SetTrue) [INFO] [stdout] 111 | | .help( [INFO] [stdout] 112 | | "Update the entry for the current package version, even if it already exists.", [INFO] [stdout] 113 | | ), [INFO] [stdout] | |_________________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/main.rs:118:19 [INFO] [stdout] | [INFO] [stdout] 117 | fn arg_package_args(self) -> Self { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 118 | self._arg(Arg::new("package-args").action(ArgAction::Append)) [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 [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `cargo-index` (bin "cargo-index" test) due to 9 previous errors [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/main.rs:46:13 [INFO] [stdout] | [INFO] [stdout] 44 | fn arg_manifest(self) -> Self { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 45 | self._arg( [INFO] [stdout] 46 | / Arg::new("manifest-path") [INFO] [stdout] 47 | | .long("manifest-path") [INFO] [stdout] 48 | | .value_name("PATH") [INFO] [stdout] 49 | | .help("Path to Cargo.toml file."), [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] [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/main.rs:55:13 [INFO] [stdout] | [INFO] [stdout] 53 | fn arg_crate(self) -> Self { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 54 | self._arg( [INFO] [stdout] 55 | / Arg::new("crate") [INFO] [stdout] 56 | | .long("crate") [INFO] [stdout] 57 | | .value_name("PATH") [INFO] [stdout] 58 | | .conflicts_with("package-args") [INFO] [stdout] 59 | | .help("Path to .crate file."), [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/main.rs:65:13 [INFO] [stdout] | [INFO] [stdout] 63 | fn arg_index(self) -> Self { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 64 | self._arg( [INFO] [stdout] 65 | / Arg::new("index") [INFO] [stdout] 66 | | .long("index") [INFO] [stdout] 67 | | .value_name("INDEX") [INFO] [stdout] 68 | | .required(true) [INFO] [stdout] 69 | | .help("Path to index."), [INFO] [stdout] | |_______________________________________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/main.rs:75:13 [INFO] [stdout] | [INFO] [stdout] 73 | fn arg_index_url(self) -> Self { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 74 | self._arg( [INFO] [stdout] 75 | / Arg::new("index-url") [INFO] [stdout] 76 | | .long("index-url") [INFO] [stdout] 77 | | .value_name("INDEX-URL") [INFO] [stdout] 78 | | .required(true) [INFO] [stdout] 79 | | .help("Public URL of the index."), [INFO] [stdout] | |_________________________________________________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/main.rs:85:13 [INFO] [stdout] | [INFO] [stdout] 83 | fn arg_package(self, help: &'static str, required: bool) -> Self { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 84 | self._arg( [INFO] [stdout] 85 | / Arg::new("package") [INFO] [stdout] 86 | | .long("package") [INFO] [stdout] 87 | | .short('p') [INFO] [stdout] 88 | | .value_name("NAME") [INFO] [stdout] 89 | | .required(required) [INFO] [stdout] 90 | | .help(help), [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/main.rs:96:13 [INFO] [stdout] | [INFO] [stdout] 94 | fn arg_version(self, help: &'static str, required: bool) -> Self { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 95 | self._arg( [INFO] [stdout] 96 | / Arg::new("version") [INFO] [stdout] 97 | | .long("version") [INFO] [stdout] 98 | | .alias("vers") [INFO] [stdout] 99 | | .value_name("VERSION") [INFO] [stdout] 100 | | .required(required) [INFO] [stdout] 101 | | .help(help), [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/main.rs:107:13 [INFO] [stdout] | [INFO] [stdout] 105 | fn arg_force(self) -> Self { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 106 | self._arg( [INFO] [stdout] 107 | / Arg::new("force") [INFO] [stdout] 108 | | .long("force") [INFO] [stdout] 109 | | .alias("f") [INFO] [stdout] 110 | | .action(ArgAction::SetTrue) [INFO] [stdout] 111 | | .help( [INFO] [stdout] 112 | | "Update the entry for the current package version, even if it already exists.", [INFO] [stdout] 113 | | ), [INFO] [stdout] | |_________________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/main.rs:118:19 [INFO] [stdout] | [INFO] [stdout] 117 | fn arg_package_args(self) -> Self { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 118 | self._arg(Arg::new("package-args").action(ArgAction::Append)) [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 [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `cargo-index` (bin "cargo-index") due to 9 previous errors [INFO] [stdout] warning: field `api_path` is never read [INFO] [stdout] --> tests/support/mod.rs:207:9 [INFO] [stdout] | [INFO] [stdout] 201 | pub struct TestIndex { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 207 | pub api_path: PathBuf, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [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] --> tests/support/paths.rs:41:11 [INFO] [stdout] | [INFO] [stdout] 37 | fn do_op(path: &Path, desc: &str, mut f: F) [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 41 | match f(path) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `cargo-index` (test "test_index") due to 2 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "10c6824c396fe30d88230f2e99ad0baaf215a9ade9f9d2c0af63eb6f9b440643", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "10c6824c396fe30d88230f2e99ad0baaf215a9ade9f9d2c0af63eb6f9b440643", kill_on_drop: false }` [INFO] [stdout] 10c6824c396fe30d88230f2e99ad0baaf215a9ade9f9d2c0af63eb6f9b440643