[INFO] fetching crate clap 4.5.18... [INFO] checking clap-4.5.18 against try#c387b04bf028733cd561d62128c8a5eee4bc1458+rustflags=-Dtail_expr_drop_order for pr-130930 [INFO] extracting crate clap 4.5.18 into /workspace/builds/worker-6-tc2/source [INFO] validating manifest of crates.io crate clap 4.5.18 on toolchain c387b04bf028733cd561d62128c8a5eee4bc1458 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate clap 4.5.18 [INFO] removed 0 missing examples [INFO] finished tweaking crates.io crate clap 4.5.18 [INFO] tweaked toml for crates.io crate clap 4.5.18 written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] crate crates.io crate clap 4.5.18 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" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 352bd28f562f429f68a4ff843f5f61799ec765de961f182bfb8f91ead6bdb117 [INFO] running `Command { std: "docker" "start" "-a" "352bd28f562f429f68a4ff843f5f61799ec765de961f182bfb8f91ead6bdb117", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "352bd28f562f429f68a4ff843f5f61799ec765de961f182bfb8f91ead6bdb117", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "352bd28f562f429f68a4ff843f5f61799ec765de961f182bfb8f91ead6bdb117", kill_on_drop: false }` [INFO] [stdout] 352bd28f562f429f68a4ff843f5f61799ec765de961f182bfb8f91ead6bdb117 [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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e7a607ee784c0a4a07cdc261c9bace7e39d0831cb4adbd627d34e70f4a2fedf9 [INFO] running `Command { std: "docker" "start" "-a" "e7a607ee784c0a4a07cdc261c9bace7e39d0831cb4adbd627d34e70f4a2fedf9", kill_on_drop: false }` [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling serde v1.0.204 [INFO] [stderr] Checking anstyle v1.0.8 [INFO] [stderr] Checking utf8parse v0.2.2 [INFO] [stderr] Checking is_terminal_polyfill v1.70.0 [INFO] [stderr] Checking colorchoice v1.0.1 [INFO] [stderr] Checking anstyle-query v1.1.0 [INFO] [stderr] Compiling crossbeam-utils v0.8.20 [INFO] [stderr] Compiling libc v0.2.155 [INFO] [stderr] Compiling serde_json v1.0.120 [INFO] [stderr] Compiling escargot v0.5.11 [INFO] [stderr] Checking indexmap v2.2.6 [INFO] [stderr] Checking winnow v0.6.13 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Checking strsim v0.11.1 [INFO] [stderr] Checking clap_lex v0.7.1 [INFO] [stderr] Checking similar v2.5.0 [INFO] [stderr] Checking glob v0.3.1 [INFO] [stderr] Checking anstyle-parse v0.2.4 [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling trybuild v1.0.99 [INFO] [stderr] Checking normalize-line-endings v0.3.0 [INFO] [stderr] Compiling rustversion v1.0.17 [INFO] [stderr] Checking humantime v2.1.0 [INFO] [stderr] Checking either v1.13.0 [INFO] [stderr] Checking termcolor v1.4.1 [INFO] [stderr] Checking shlex v1.3.0 [INFO] [stderr] Checking clap-cargo v0.14.1 [INFO] [stderr] Checking anstream v0.6.14 [INFO] [stderr] Checking snapbox-macros v0.3.10 [INFO] [stderr] Checking clap_builder v4.5.18 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling syn v2.0.70 [INFO] [stderr] Checking crossbeam-epoch v0.9.18 [INFO] [stderr] Checking crossbeam-deque v0.8.5 [INFO] [stderr] Checking os_pipe v1.2.0 [INFO] [stderr] Checking wait-timeout v0.2.0 [INFO] [stderr] Checking rayon v1.10.0 [INFO] [stderr] Checking clap v4.5.18 (/opt/rustwide/workdir) [INFO] [stderr] Compiling serde_derive v1.0.204 [INFO] [stderr] Compiling automod v1.0.14 [INFO] [stderr] Checking serde_spanned v0.6.6 [INFO] [stderr] Checking toml_datetime v0.6.6 [INFO] [stderr] Checking humantime-serde v1.1.1 [INFO] [stderr] Checking toml_edit v0.22.15 [INFO] [stderr] Checking snapbox v0.6.16 [INFO] [stderr] Checking toml v0.8.14 [INFO] [stderr] Checking trycmd v0.15.6 [INFO] [stdout] error: this value of type `clap::Command` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> examples/git.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | / Command::new("git") [INFO] [stdout] 8 | | .about("A fictional versioning CLI") [INFO] [stdout] 9 | | .subcommand_required(true) [INFO] [stdout] 10 | | .arg_required_else_help(true) [INFO] [stdout] ... | [INFO] [stdout] 15 | | .arg(arg!( "The remote to clone")) [INFO] [stdout] | | ------------------------------------ [INFO] [stdout] | | | [INFO] [stdout] | | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... | [INFO] [stdout] 21 | | .arg(arg!(base: [COMMIT])) [INFO] [stdout] | | -------------------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 22 | | .arg(arg!(head: [COMMIT])) [INFO] [stdout] | | -------------------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 23 | | .arg(arg!(path: [PATH]).last(true)) [INFO] [stdout] | | ------------------ these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 24 | | .arg( [INFO] [stdout] 25 | | arg!(--color ) [INFO] [stdout] | | -------------------- [INFO] [stdout] | | | [INFO] [stdout] | | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... | [INFO] [stdout] 36 | | .arg(arg!( "The remote to target")) [INFO] [stdout] | | ------------------------------------- [INFO] [stdout] | | | [INFO] [stdout] | | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... | [INFO] [stdout] 43 | | .arg(arg!( ... "Stuff to add").value_parser(clap::value_parser!(PathBuf))), [INFO] [stdout] | | ------------------------------- [INFO] [stdout] | | | [INFO] [stdout] | | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 44 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] ... [INFO] [stdout] 51 | .subcommand(Command::new("pop").arg(arg!([STASH]))) [INFO] [stdout] | ------------- [INFO] [stdout] | | [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 52 | .subcommand(Command::new("apply").arg(arg!([STASH]))), [INFO] [stdout] | ------------- [INFO] [stdout] | | [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may 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: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `clap` (example "git") due to 2 previous errors [INFO] running `Command { std: "docker" "inspect" "e7a607ee784c0a4a07cdc261c9bace7e39d0831cb4adbd627d34e70f4a2fedf9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e7a607ee784c0a4a07cdc261c9bace7e39d0831cb4adbd627d34e70f4a2fedf9", kill_on_drop: false }` [INFO] [stdout] e7a607ee784c0a4a07cdc261c9bace7e39d0831cb4adbd627d34e70f4a2fedf9