[INFO] fetching crate clap_builder_cryo 4.3.21-cryo... [INFO] checking clap_builder_cryo-4.3.21-cryo against try#c387b04bf028733cd561d62128c8a5eee4bc1458+rustflags=-Dtail_expr_drop_order for pr-130930 [INFO] extracting crate clap_builder_cryo 4.3.21-cryo into /workspace/builds/worker-1-tc2/source [INFO] validating manifest of crates.io crate clap_builder_cryo 4.3.21-cryo 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_builder_cryo 4.3.21-cryo [INFO] finished tweaking crates.io crate clap_builder_cryo 4.3.21-cryo [INFO] tweaked toml for crates.io crate clap_builder_cryo 4.3.21-cryo written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 105 packages to latest compatible versions [INFO] [stderr] Adding anstream v0.3.2 (available: v0.6.15) [INFO] [stderr] Adding anstyle-wincon v1.0.2 (available: v3.0.4) [INFO] [stderr] Adding bitflags v1.3.2 (available: v2.6.0) [INFO] [stderr] Adding hermit-abi v0.3.9 (available: v0.4.0) [INFO] [stderr] Adding io-lifetimes v1.0.11 (available: v2.0.3) [INFO] [stderr] Adding linux-raw-sys v0.3.8 (available: v0.6.5) [INFO] [stderr] Adding rustix v0.37.27 (available: v0.38.37) [INFO] [stderr] Adding snapbox v0.4.17 (available: v0.6.17) [INFO] [stderr] Adding strsim v0.10.0 (available: v0.11.1) [INFO] [stderr] Adding terminal_size v0.2.6 (available: v0.4.0) [INFO] [stderr] Adding trycmd v0.14.21 (available: v0.15.7) [INFO] [stderr] Adding unicode-width v0.1.14 (available: v0.2.0) [INFO] [stderr] Adding windows-sys v0.48.0 (available: v0.59.0) [INFO] [stderr] Adding windows-sys v0.52.0 (available: v0.59.0) [INFO] [stderr] Adding windows-targets v0.48.5 (available: v0.52.6) [INFO] [stderr] Adding windows_aarch64_gnullvm v0.48.5 (available: v0.52.6) [INFO] [stderr] Adding windows_aarch64_msvc v0.48.5 (available: v0.52.6) [INFO] [stderr] Adding windows_i686_gnu v0.48.5 (available: v0.52.6) [INFO] [stderr] Adding windows_i686_msvc v0.48.5 (available: v0.52.6) [INFO] [stderr] Adding windows_x86_64_gnu v0.48.5 (available: v0.52.6) [INFO] [stderr] Adding windows_x86_64_gnullvm v0.48.5 (available: v0.52.6) [INFO] [stderr] Adding windows_x86_64_msvc v0.48.5 (available: v0.52.6) [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-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] 52abe92ec5c8d91456782fe304aea5cfd4e04b520f9117811e50d6e3691399be [INFO] running `Command { std: "docker" "start" "-a" "52abe92ec5c8d91456782fe304aea5cfd4e04b520f9117811e50d6e3691399be", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "52abe92ec5c8d91456782fe304aea5cfd4e04b520f9117811e50d6e3691399be", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "52abe92ec5c8d91456782fe304aea5cfd4e04b520f9117811e50d6e3691399be", kill_on_drop: false }` [INFO] [stdout] 52abe92ec5c8d91456782fe304aea5cfd4e04b520f9117811e50d6e3691399be [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] 505b2568ec66f8dd440d89785be1cfd5168cd98e0a18a8b4ac5df8adc8d7a841 [INFO] running `Command { std: "docker" "start" "-a" "505b2568ec66f8dd440d89785be1cfd5168cd98e0a18a8b4ac5df8adc8d7a841", kill_on_drop: false }` [INFO] [stderr] Compiling unicode-ident v1.0.13 [INFO] [stderr] Compiling serde v1.0.210 [INFO] [stderr] Compiling libc v0.2.159 [INFO] [stderr] Checking crossbeam-epoch v0.9.18 [INFO] [stderr] Checking winnow v0.6.20 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Compiling escargot v0.5.12 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Checking log v0.4.22 [INFO] [stderr] Checking snapbox-macros v0.3.10 [INFO] [stderr] Checking similar v2.6.0 [INFO] [stderr] Checking unic-common v0.9.0 [INFO] [stderr] Checking glob v0.3.1 [INFO] [stderr] Checking crossbeam-deque v0.8.5 [INFO] [stderr] Checking either v1.13.0 [INFO] [stderr] Checking unic-char-range v0.9.0 [INFO] [stderr] Compiling trybuild v1.0.99 [INFO] [stderr] Checking normalize-line-endings v0.3.0 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Compiling syn v2.0.79 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling rustversion v1.0.17 [INFO] [stderr] Checking unic-char-property v0.9.0 [INFO] [stderr] Checking rayon v1.10.0 [INFO] [stderr] Checking unic-ucd-version v0.9.0 [INFO] [stderr] Checking strsim v0.10.0 [INFO] [stderr] Checking shlex v1.3.0 [INFO] [stderr] Checking termcolor v1.4.1 [INFO] [stderr] Checking wait-timeout v0.2.0 [INFO] [stderr] Checking os_pipe v1.2.1 [INFO] [stderr] Checking is-terminal v0.4.13 [INFO] [stderr] Checking clap_lex_cryo v0.5.0 [INFO] [stderr] Checking anstream v0.3.2 [INFO] [stderr] Checking unic-emoji-char v0.9.0 [INFO] [stderr] Checking static_assertions v1.1.0 [INFO] [stderr] Checking clap_builder_cryo v4.3.21-cryo (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition value: `perf` [INFO] [stdout] --> src/builder/os_str.rs:67:7 [INFO] [stdout] | [INFO] [stdout] 67 | #[cfg(feature = "perf")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `cargo`, `color`, `debug`, `default`, `deprecated`, `env`, `error-context`, `help`, `std`, `string`, `suggestions`, `unicode`, `unstable-doc`, `unstable-styles`, `unstable-v5`, `usage`, and `wrap_help` [INFO] [stdout] = help: consider adding `perf` as a feature in `Cargo.toml` [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: unused import: `anstyle::*` [INFO] [stdout] --> src/builder/styling.rs:3:9 [INFO] [stdout] | [INFO] [stdout] 3 | pub use anstyle::*; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this value of type `impl Iterator` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/builder/command.rs:3499:9 [INFO] [stdout] | [INFO] [stdout] 3497 | pub fn find_subcommand(&self, name: impl AsRef) -> Option<&Command> { [INFO] [stdout] | ---- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 3498 | let name = name.as_ref(); [INFO] [stdout] 3499 | self.get_subcommands().find(|s| s.aliases_to(name)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this value of type `impl Iterator` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/builder/command.rs:3512:9 [INFO] [stdout] | [INFO] [stdout] 3509 | name: impl AsRef, [INFO] [stdout] | ---- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 3512 | self.get_subcommands_mut().find(|s| s.aliases_to(name)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this value of type `(Option, Option)` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/builder/command.rs:4769:11 [INFO] [stdout] | [INFO] [stdout] 4762 | fn two_elements_of(mut iter: I) -> Option<(T, T)> [INFO] [stdout] | -------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 4769 | match (first, second) { [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: this value of type `std::result::Result, MatchesError>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/parser/matches/arg_matches.rs:1150:19 [INFO] [stdout] | [INFO] [stdout] 1150 | match ok!(self.try_remove_arg_t::(id)) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/macros.rs:556:9 [INFO] [stdout] | [INFO] [stdout] 556 | / match $expr { [INFO] [stdout] 557 | | Ok(val) => val, [INFO] [stdout] 558 | | Err(err) => { [INFO] [stdout] 559 | | return Err(err); [INFO] [stdout] 560 | | } [INFO] [stdout] 561 | | } [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] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling serde_derive v1.0.210 [INFO] [stderr] Compiling color-print-proc-macro v0.3.6 [INFO] [stdout] warning: trait `AppTag` is never used [INFO] [stdout] --> src/builder/command.rs:4750:18 [INFO] [stdout] | [INFO] [stdout] 4750 | pub(crate) trait AppTag: crate::builder::ext::Extension {} [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `into_any` is never used [INFO] [stdout] --> src/builder/ext.rs:56:8 [INFO] [stdout] | [INFO] [stdout] 51 | pub(crate) trait Extension: std::fmt::Debug + Send + Sync + 'static { [INFO] [stdout] | --------- method in this trait [INFO] [stdout] ... [INFO] [stdout] 56 | fn into_any(self: Box) -> Box; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `parse` is never used [INFO] [stdout] --> src/builder/value_parser.rs:595:8 [INFO] [stdout] | [INFO] [stdout] 587 | trait AnyValueParser: Send + Sync + 'static { [INFO] [stdout] | -------------- method in this trait [INFO] [stdout] ... [INFO] [stdout] 595 | fn parse( [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors; 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `clap_builder_cryo` (lib) due to 5 previous errors; 5 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "505b2568ec66f8dd440d89785be1cfd5168cd98e0a18a8b4ac5df8adc8d7a841", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "505b2568ec66f8dd440d89785be1cfd5168cd98e0a18a8b4ac5df8adc8d7a841", kill_on_drop: false }` [INFO] [stdout] 505b2568ec66f8dd440d89785be1cfd5168cd98e0a18a8b4ac5df8adc8d7a841