[INFO] fetching crate grom 0.2.2... [INFO] checking grom-0.2.2 against try#7014e13d5becc920d4bea3cd87942c8a13d359bf+rustflags=-Dtail_expr_drop_order for pr-129864 [INFO] extracting crate grom 0.2.2 into /workspace/builds/worker-6-tc2/source [INFO] validating manifest of crates.io crate grom 0.2.2 on toolchain 7014e13d5becc920d4bea3cd87942c8a13d359bf [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+7014e13d5becc920d4bea3cd87942c8a13d359bf" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate grom 0.2.2 [INFO] finished tweaking crates.io crate grom 0.2.2 [INFO] tweaked toml for crates.io crate grom 0.2.2 written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] crate crates.io crate grom 0.2.2 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" "+7014e13d5becc920d4bea3cd87942c8a13d359bf" "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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+7014e13d5becc920d4bea3cd87942c8a13d359bf" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f4cc9d054b94005152e84f003a5edf7b0a9ef121a4db2958e95a18ae46370e34 [INFO] running `Command { std: "docker" "start" "-a" "f4cc9d054b94005152e84f003a5edf7b0a9ef121a4db2958e95a18ae46370e34", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f4cc9d054b94005152e84f003a5edf7b0a9ef121a4db2958e95a18ae46370e34", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f4cc9d054b94005152e84f003a5edf7b0a9ef121a4db2958e95a18ae46370e34", kill_on_drop: false }` [INFO] [stdout] f4cc9d054b94005152e84f003a5edf7b0a9ef121a4db2958e95a18ae46370e34 [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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+7014e13d5becc920d4bea3cd87942c8a13d359bf" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] fa237d7b5c677f45fc69a2009068c386058cf0ea52f532968b7d5b542cf42dc5 [INFO] running `Command { std: "docker" "start" "-a" "fa237d7b5c677f45fc69a2009068c386058cf0ea52f532968b7d5b542cf42dc5", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.155 [INFO] [stderr] Compiling serde v1.0.204 [INFO] [stderr] Compiling portable-atomic v1.6.0 [INFO] [stderr] Compiling cfg_aliases v0.1.1 [INFO] [stderr] Checking unicode-width v0.1.13 [INFO] [stderr] Checking utf8parse v0.2.2 [INFO] [stderr] Checking colorchoice v1.0.1 [INFO] [stderr] Checking strsim v0.11.1 [INFO] [stderr] Checking anstyle-query v1.1.0 [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Checking unicode-normalization v0.1.23 [INFO] [stderr] Checking bitflags v2.6.0 [INFO] [stderr] Checking anstyle v1.0.7 [INFO] [stderr] Checking is_terminal_polyfill v1.70.0 [INFO] [stderr] Checking number_prefix v0.4.0 [INFO] [stderr] Compiling nix v0.28.0 [INFO] [stderr] Checking smawk v0.3.2 [INFO] [stderr] Checking anstyle-parse v0.2.4 [INFO] [stderr] Checking unicode-linebreak v0.1.5 [INFO] [stderr] Checking winnow v0.6.13 [INFO] [stderr] Checking clap_lex v0.7.1 [INFO] [stderr] Checking option-ext v0.2.0 [INFO] [stderr] Checking anstream v0.6.14 [INFO] [stderr] Checking textwrap v0.16.1 [INFO] [stderr] Checking clap_builder v4.5.9 [INFO] [stderr] Compiling jobserver v0.1.31 [INFO] [stderr] Checking idna v0.5.0 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling syn v2.0.70 [INFO] [stderr] Compiling cc v1.1.0 [INFO] [stderr] Checking url v2.5.2 [INFO] [stderr] Checking console v0.15.8 [INFO] [stderr] Checking dirs-sys v0.4.1 [INFO] [stderr] Checking dirs v5.0.1 [INFO] [stderr] Checking indicatif v0.17.8 [INFO] [stderr] Compiling openssl-sys v0.9.102 [INFO] [stderr] Compiling libz-sys v1.1.18 [INFO] [stderr] Compiling libssh2-sys v0.3.0 [INFO] [stderr] Compiling libgit2-sys v0.17.0+1.8.1 [INFO] [stderr] Checking ctrlc v3.4.4 [INFO] [stderr] Compiling serde_derive v1.0.204 [INFO] [stderr] Compiling zeroize_derive v1.4.2 [INFO] [stderr] Compiling clap_derive v4.5.8 [INFO] [stderr] Checking zeroize v1.8.1 [INFO] [stderr] Checking cliclack v0.3.2 [INFO] [stderr] Checking clap v4.5.9 [INFO] [stderr] Checking git2 v0.19.0 [INFO] [stderr] Checking toml_datetime v0.6.6 [INFO] [stderr] Checking serde_spanned v0.6.6 [INFO] [stderr] Checking toml_edit v0.22.15 [INFO] [stderr] Checking toml v0.8.14 [INFO] [stderr] Checking grom v0.2.2 (/opt/rustwide/workdir) [INFO] [stdout] error: this value of type `Result<(), git2::Error>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/core/git.rs:75:11 [INFO] [stdout] | [INFO] [stdout] 11 | let repo: Repository = Repository::open(path)?; [INFO] [stdout] | ---- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 12 | [INFO] [stdout] 13 | let mut index = repo.index()?; [INFO] [stdout] | --------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 18 | let tree = repo.find_tree(tree_id)?; [INFO] [stdout] | ---- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 19 | [INFO] [stdout] 20 | let signature = repo.signature()?; [INFO] [stdout] | --------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 30 | let mut remote = repo.find_remote("origin")?; [INFO] [stdout] | ---------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 72 | let mut push_options = PushOptions::new(); [INFO] [stdout] | ---------------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 75 | match remote.push( [INFO] [stdout] | ___________^ [INFO] [stdout] 76 | | &["refs/heads/main:refs/heads/main"], [INFO] [stdout] 77 | | Some(&mut push_options), [INFO] [stdout] 78 | | ) { [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<(), git2::Error>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/core/git.rs:150:11 [INFO] [stdout] | [INFO] [stdout] 85 | let repo: Repository = Repository::open(path)?; [INFO] [stdout] | ---- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 86 | [INFO] [stdout] 87 | let mut index = repo.index()?; [INFO] [stdout] | --------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 92 | let tree = repo.find_tree(tree_id)?; [INFO] [stdout] | ---- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 93 | [INFO] [stdout] 94 | let signature = repo.signature()?; [INFO] [stdout] | --------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 95 | let head = repo.head()?.peel_to_commit()?; [INFO] [stdout] | ---- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 105 | let mut remote = repo.find_remote("origin")?; [INFO] [stdout] | ---------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 147 | let mut push_options = PushOptions::new(); [INFO] [stdout] | ---------------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 150 | match remote.push( [INFO] [stdout] | ___________^ [INFO] [stdout] 151 | | &["refs/heads/main:refs/heads/main"], [INFO] [stdout] 152 | | Some(&mut push_options), [INFO] [stdout] 153 | | ) { [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 `Result<(), git2::Error>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/core/git.rs:75:11 [INFO] [stdout] | [INFO] [stdout] 11 | let repo: Repository = Repository::open(path)?; [INFO] [stdout] | ---- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 12 | [INFO] [stdout] 13 | let mut index = repo.index()?; [INFO] [stdout] | --------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 18 | let tree = repo.find_tree(tree_id)?; [INFO] [stdout] | ---- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 19 | [INFO] [stdout] 20 | let signature = repo.signature()?; [INFO] [stdout] | --------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 30 | let mut remote = repo.find_remote("origin")?; [INFO] [stdout] | ---------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 72 | let mut push_options = PushOptions::new(); [INFO] [stdout] | ---------------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 75 | match remote.push( [INFO] [stdout] | ___________^ [INFO] [stdout] 76 | | &["refs/heads/main:refs/heads/main"], [INFO] [stdout] 77 | | Some(&mut push_options), [INFO] [stdout] 78 | | ) { [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<(), git2::Error>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/core/git.rs:150:11 [INFO] [stdout] | [INFO] [stdout] 85 | let repo: Repository = Repository::open(path)?; [INFO] [stdout] | ---- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 86 | [INFO] [stdout] 87 | let mut index = repo.index()?; [INFO] [stdout] | --------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 92 | let tree = repo.find_tree(tree_id)?; [INFO] [stdout] | ---- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 93 | [INFO] [stdout] 94 | let signature = repo.signature()?; [INFO] [stdout] | --------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 95 | let head = repo.head()?.peel_to_commit()?; [INFO] [stdout] | ---- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 105 | let mut remote = repo.find_remote("origin")?; [INFO] [stdout] | ---------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 147 | let mut push_options = PushOptions::new(); [INFO] [stdout] | ---------------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 150 | match remote.push( [INFO] [stdout] | ___________^ [INFO] [stdout] 151 | | &["refs/heads/main:refs/heads/main"], [INFO] [stdout] 152 | | Some(&mut push_options), [INFO] [stdout] 153 | | ) { [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 2 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `grom` (lib) due to 3 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `grom` (lib test) due to 3 previous errors [INFO] running `Command { std: "docker" "inspect" "fa237d7b5c677f45fc69a2009068c386058cf0ea52f532968b7d5b542cf42dc5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fa237d7b5c677f45fc69a2009068c386058cf0ea52f532968b7d5b542cf42dc5", kill_on_drop: false }` [INFO] [stdout] fa237d7b5c677f45fc69a2009068c386058cf0ea52f532968b7d5b542cf42dc5