[INFO] fetching crate stgit 2.4.12... [INFO] checking stgit-2.4.12 against try#c387b04bf028733cd561d62128c8a5eee4bc1458+rustflags=-Dtail_expr_drop_order for pr-130930 [INFO] extracting crate stgit 2.4.12 into /workspace/builds/worker-5-tc2/source [INFO] validating manifest of crates.io crate stgit 2.4.12 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 stgit 2.4.12 [INFO] finished tweaking crates.io crate stgit 2.4.12 [INFO] tweaked toml for crates.io crate stgit 2.4.12 written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] crate crates.io crate stgit 2.4.12 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-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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 595237f4b614f188f28ef7ac50059be9703a7a2331765ab8cb59ae42e38fab9c [INFO] running `Command { std: "docker" "start" "-a" "595237f4b614f188f28ef7ac50059be9703a7a2331765ab8cb59ae42e38fab9c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "595237f4b614f188f28ef7ac50059be9703a7a2331765ab8cb59ae42e38fab9c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "595237f4b614f188f28ef7ac50059be9703a7a2331765ab8cb59ae42e38fab9c", kill_on_drop: false }` [INFO] [stdout] 595237f4b614f188f28ef7ac50059be9703a7a2331765ab8cb59ae42e38fab9c [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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 280fe77276964d884ba26ca003be613a2ed1eda3b39e4bea8ce104043eba22b7 [INFO] running `Command { std: "docker" "start" "-a" "280fe77276964d884ba26ca003be613a2ed1eda3b39e4bea8ce104043eba22b7", kill_on_drop: false }` [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling libc v0.2.158 [INFO] [stderr] Compiling thiserror v1.0.63 [INFO] [stderr] Checking tinyvec_macros v0.1.1 [INFO] [stderr] Checking fastrand v2.1.1 [INFO] [stderr] Checking regex-automata v0.4.7 [INFO] [stderr] Checking gix-trace v0.1.10 [INFO] [stderr] Checking crc32fast v1.4.2 [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Checking tinyvec v1.8.0 [INFO] [stderr] Checking faster-hex v0.9.0 [INFO] [stderr] Checking adler2 v2.0.0 [INFO] [stderr] Checking same-file v1.0.6 [INFO] [stderr] Checking sha1_smol v1.0.1 [INFO] [stderr] Checking miniz_oxide v0.8.0 [INFO] [stderr] Checking walkdir v2.5.0 [INFO] [stderr] Checking prodash v28.0.0 [INFO] [stderr] Checking smallvec v1.13.2 [INFO] [stderr] Compiling autocfg v1.3.0 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Compiling rustix v0.38.36 [INFO] [stderr] Checking flate2 v1.0.33 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling syn v2.0.77 [INFO] [stderr] Checking jiff v0.1.13 [INFO] [stderr] Checking winnow v0.6.18 [INFO] [stderr] Checking unicode-normalization v0.1.23 [INFO] [stderr] Checking zerocopy v0.7.35 [INFO] [stderr] Checking gix-utils v0.1.12 [INFO] [stderr] Checking bstr v1.10.0 [INFO] [stderr] Compiling cc v1.1.18 [INFO] [stderr] Checking ahash v0.8.11 [INFO] [stderr] Checking parking_lot_core v0.9.10 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Checking memmap2 v0.9.4 [INFO] [stderr] Checking home v0.5.9 [INFO] [stderr] Compiling pkg-config v0.3.30 [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Checking percent-encoding v2.3.1 [INFO] [stderr] Checking utf8parse v0.2.2 [INFO] [stderr] Checking unicode-bidi v0.3.15 [INFO] [stderr] Compiling cfg_aliases v0.2.1 [INFO] [stderr] Compiling nix v0.29.0 [INFO] [stderr] Compiling libz-sys v1.1.20 [INFO] [stderr] Compiling openssl-sys v0.9.103 [INFO] [stderr] Compiling curl-sys v0.4.74+curl-8.9.0 [INFO] [stderr] Checking idna v0.5.0 [INFO] [stderr] Checking anstyle-parse v0.2.5 [INFO] [stderr] Checking form_urlencoded v1.2.1 [INFO] [stderr] Checking gix-sec v0.10.8 [INFO] [stderr] Checking filetime v0.2.25 [INFO] [stderr] Checking colorchoice v1.0.2 [INFO] [stderr] Checking anstyle v1.0.8 [INFO] [stderr] Checking is_terminal_polyfill v1.70.1 [INFO] [stderr] Compiling serde v1.0.210 [INFO] [stderr] Checking clru v0.6.2 [INFO] [stderr] Checking tempfile v3.12.0 [INFO] [stderr] Checking anstyle-query v1.1.1 [INFO] [stderr] Checking terminal_size v0.3.0 [INFO] [stderr] Checking url v2.5.2 [INFO] [stderr] Checking anstream v0.6.15 [INFO] [stderr] Checking shell-words v1.1.0 [INFO] [stderr] Compiling curl v0.4.46 [INFO] [stderr] Checking strsim v0.11.1 [INFO] [stderr] Checking clap_lex v0.7.2 [INFO] [stderr] Checking arc-swap v1.7.1 [INFO] [stderr] Checking unicode-bom v2.0.3 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Compiling anyhow v1.0.87 [INFO] [stderr] Checking clap_builder v4.5.17 [INFO] [stderr] Checking xattr v1.3.1 [INFO] [stderr] Checking socket2 v0.5.7 [INFO] [stderr] Checking equivalent v1.0.1 [INFO] [stderr] Compiling stgit v2.4.12 (/opt/rustwide/workdir) [INFO] [stderr] Checking openssl-probe v0.1.5 [INFO] [stderr] Compiling thiserror-impl v1.0.63 [INFO] [stderr] Compiling serde_derive v1.0.210 [INFO] [stderr] Checking indexmap v2.5.0 [INFO] [stderr] Checking tar v0.4.41 [INFO] [stderr] Checking is-terminal v0.4.13 [INFO] [stderr] Checking bzip2-rs v0.1.2 [INFO] [stderr] Checking ctrlc v3.4.5 [INFO] [stderr] Checking encoding_rs v0.8.34 [INFO] [stderr] Checking termcolor v1.4.1 [INFO] [stderr] Checking gix-hash v0.14.2 [INFO] [stderr] Checking gix-date v0.9.0 [INFO] [stderr] Checking gix-validate v0.9.0 [INFO] [stderr] Checking gix-path v0.10.11 [INFO] [stderr] Checking gix-chunk v0.4.8 [INFO] [stderr] Checking gix-actor v0.32.0 [INFO] [stderr] Checking gix-bitmap v0.2.11 [INFO] [stderr] Checking gix-config-value v0.14.8 [INFO] [stderr] Checking gix-quote v0.4.12 [INFO] [stderr] Checking gix-features v0.38.2 [INFO] [stderr] Checking gix-hashtable v0.5.2 [INFO] [stderr] Checking gix-command v0.3.9 [INFO] [stderr] Checking clap v4.5.17 [INFO] [stderr] Checking gix-object v0.44.0 [INFO] [stderr] Checking gix-fs v0.11.3 [INFO] [stderr] Checking gix-commitgraph v0.24.3 [INFO] [stderr] Checking gix-glob v0.16.5 [INFO] [stderr] Checking gix-url v0.27.5 [INFO] [stderr] Checking gix-tempfile v14.0.2 [INFO] [stderr] Checking gix-lock v14.0.0 [INFO] [stderr] Checking gix-revwalk v0.15.0 [INFO] [stderr] Checking gix-ref v0.47.0 [INFO] [stderr] Checking gix-pack v0.53.0 [INFO] [stderr] Checking gix-diff v0.46.0 [INFO] [stderr] Checking gix-traverse v0.41.0 [INFO] [stderr] Checking gix-revision v0.29.0 [INFO] [stderr] Checking gix-index v0.35.0 [INFO] [stderr] Checking gix-refspec v0.25.0 [INFO] [stderr] Checking gix-odb v0.63.0 [INFO] [stderr] Checking gix-config v0.40.0 [INFO] [stderr] Checking gix-discover v0.35.0 [INFO] [stderr] Checking gix v0.66.0 [INFO] [stderr] Checking serde_json v1.0.128 [INFO] [stdout] error: this value of type `Result<(), anyhow::Error>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/cmd/branch/create.rs:164:11 [INFO] [stdout] | [INFO] [stdout] 109 | let (target_commit, target_name) = if let Some(parent_branch) = parent_branch.as_ref() { [INFO] [stdout] | ------------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 139 | let stack = match Stack::from_branch_name( [INFO] [stdout] | ----- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 164 | match stupid.checkout(new_branch.get_branch_name().unwrap()) { [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 `Result<(), anyhow::Error>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/cmd/branch/create.rs:164:11 [INFO] [stdout] | [INFO] [stdout] 109 | let (target_commit, target_name) = if let Some(parent_branch) = parent_branch.as_ref() { [INFO] [stdout] | ------------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 139 | let stack = match Stack::from_branch_name( [INFO] [stdout] | ----- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 164 | match stupid.checkout(new_branch.get_branch_name().unwrap()) { [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 [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `stgit` (bin "stg") due to 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `stgit` (bin "stg" test) due to 2 previous errors [INFO] running `Command { std: "docker" "inspect" "280fe77276964d884ba26ca003be613a2ed1eda3b39e4bea8ce104043eba22b7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "280fe77276964d884ba26ca003be613a2ed1eda3b39e4bea8ce104043eba22b7", kill_on_drop: false }` [INFO] [stdout] 280fe77276964d884ba26ca003be613a2ed1eda3b39e4bea8ce104043eba22b7