[INFO] fetching crate saint-peter 1.1.0... [INFO] checking saint-peter-1.1.0 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] extracting crate saint-peter 1.1.0 into /workspace/builds/worker-3-tc2/source [INFO] validating manifest of crates.io crate saint-peter 1.1.0 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 saint-peter 1.1.0 [INFO] finished tweaking crates.io crate saint-peter 1.1.0 [INFO] tweaked toml for crates.io crate saint-peter 1.1.0 written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] crate crates.io crate saint-peter 1.1.0 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-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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] 0051d867ea4639f0f51bf917be262888b61a133880d0b458db287f1d4288a0f2 [INFO] running `Command { std: "docker" "start" "-a" "0051d867ea4639f0f51bf917be262888b61a133880d0b458db287f1d4288a0f2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0051d867ea4639f0f51bf917be262888b61a133880d0b458db287f1d4288a0f2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0051d867ea4639f0f51bf917be262888b61a133880d0b458db287f1d4288a0f2", kill_on_drop: false }` [INFO] [stdout] 0051d867ea4639f0f51bf917be262888b61a133880d0b458db287f1d4288a0f2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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] f09d4dfd29d129f34d4e44661191e1b1020cfd82edefc3efb2b0035f4d62d654 [INFO] running `Command { std: "docker" "start" "-a" "f09d4dfd29d129f34d4e44661191e1b1020cfd82edefc3efb2b0035f4d62d654", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.83 [INFO] [stderr] Compiling unicode-ident v1.0.4 [INFO] [stderr] Compiling libc v0.2.155 [INFO] [stderr] Compiling syn v1.0.99 [INFO] [stderr] Compiling cc v1.0.73 [INFO] [stderr] Compiling generic-array v0.14.6 [INFO] [stderr] Compiling semver v1.0.23 [INFO] [stderr] Compiling vcpkg v0.2.15 [INFO] [stderr] Checking cpufeatures v0.2.12 [INFO] [stderr] Compiling pkg-config v0.3.26 [INFO] [stderr] Checking memchr v2.7.2 [INFO] [stderr] Compiling openssl-src v111.25.0+1.1.1t [INFO] [stderr] Compiling rustc_version v0.4.0 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking block-buffer v0.10.3 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Compiling platforms v3.4.0 [INFO] [stderr] Checking inout v0.1.3 [INFO] [stderr] Compiling syn v2.0.65 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Compiling serde_derive v1.0.144 [INFO] [stderr] Compiling rustversion v1.0.9 [INFO] [stderr] Compiling winapi v0.3.9 [INFO] [stderr] Compiling openssl-sys v0.9.92 [INFO] [stderr] Compiling backtrace v0.3.66 [INFO] [stderr] Compiling indexmap v1.9.1 [INFO] [stderr] Compiling curve25519-dalek v4.1.2 [INFO] [stderr] Checking cipher v0.4.3 [INFO] [stderr] Checking sha2 v0.10.6 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Checking signature v2.2.0 [INFO] [stderr] Checking foreign-types-shared v0.1.1 [INFO] [stderr] Checking adler v1.0.2 [INFO] [stderr] Checking once_cell v1.14.0 [INFO] [stderr] Compiling openssl v0.10.57 [INFO] [stderr] Checking gimli v0.26.2 [INFO] [stderr] Checking zeroize v1.7.0 [INFO] [stderr] Compiling serde v1.0.144 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Checking regex-syntax v0.8.3 [INFO] [stderr] Checking miniz_oxide v0.5.4 [INFO] [stderr] Checking blowfish v0.9.1 [INFO] [stderr] Checking foreign-types v0.3.2 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking ed25519 v2.2.3 [INFO] [stderr] Checking object v0.29.0 [INFO] [stderr] Checking pbkdf2 v0.12.2 [INFO] [stderr] Checking base64 v0.21.7 [INFO] [stderr] Checking bitflags v2.4.1 [INFO] [stderr] Checking rustc-demangle v0.1.21 [INFO] [stderr] Checking hashbrown v0.12.3 [INFO] [stderr] Compiling heck v0.4.0 [INFO] [stderr] Compiling serde_json v1.0.85 [INFO] [stderr] Checking os_str_bytes v6.3.0 [INFO] [stderr] Checking clap_lex v0.2.4 [INFO] [stderr] Checking addr2line v0.17.0 [INFO] [stderr] Checking pem v2.0.1 [INFO] [stderr] Checking bcrypt-pbkdf v0.10.0 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking regex-automata v0.4.6 [INFO] [stderr] Checking cryptovec v0.6.1 [INFO] [stderr] Checking md-5 v0.10.5 [INFO] [stderr] Checking sha-1 v0.10.0 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking termcolor v1.1.3 [INFO] [stderr] Checking itoa v1.0.3 [INFO] [stderr] Checking ryu v1.0.11 [INFO] [stderr] Checking textwrap v0.15.1 [INFO] [stderr] Checking clap v3.2.21 [INFO] [stderr] Compiling curve25519-dalek-derive v0.1.1 [INFO] [stderr] Compiling openssl-macros v0.1.0 [INFO] [stderr] Checking regex v1.10.4 [INFO] [stderr] Compiling strum_macros v0.24.3 [INFO] [stderr] Compiling enum-display-derive v0.1.1 [INFO] [stderr] Checking strum v0.24.1 [INFO] [stderr] Checking ed25519-dalek v2.1.1 [INFO] [stderr] Checking osshkeys v0.7.0 [INFO] [stderr] Checking saint-peter v1.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/subcommands/mod.rs:15:21 [INFO] [stdout] | [INFO] [stdout] 15 | CannotGetConfig(String), [INFO] [stdout] | --------------- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 15 | CannotGetConfig(()), [INFO] [stdout] | ~~ [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/config.rs:46:9 [INFO] [stdout] | [INFO] [stdout] 44 | let f = File::create(self.path.clone())?; [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 45 | [INFO] [stdout] 46 | serde_json::to_writer_pretty(f, &self.keys).map_err(|err| Box::new(err) as Box) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will 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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/config.rs:46:67 [INFO] [stdout] | [INFO] [stdout] 46 | serde_json::to_writer_pretty(f, &self.keys).map_err(|err| Box::new(err) as Box) [INFO] [stdout] | --- ^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will 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] [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/subcommands/update_key.rs:25:36 [INFO] [stdout] | [INFO] [stdout] 25 | .or_else(|err| Err(Box::new(err) as Box)) [INFO] [stdout] | --- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will 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] [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/subcommands/use_cmd.rs:35:36 [INFO] [stdout] | [INFO] [stdout] 35 | .or_else(|err| Err(Box::new(err) as Box)) [INFO] [stdout] | --- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will 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] [stdout] error: aborting due to 4 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `saint-peter` (bin "saint-peter" test) due to 5 previous errors; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/subcommands/mod.rs:15:21 [INFO] [stdout] | [INFO] [stdout] 15 | CannotGetConfig(String), [INFO] [stdout] | --------------- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 15 | CannotGetConfig(()), [INFO] [stdout] | ~~ [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/config.rs:46:9 [INFO] [stdout] | [INFO] [stdout] 44 | let f = File::create(self.path.clone())?; [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 45 | [INFO] [stdout] 46 | serde_json::to_writer_pretty(f, &self.keys).map_err(|err| Box::new(err) as Box) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will 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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/config.rs:46:67 [INFO] [stdout] | [INFO] [stdout] 46 | serde_json::to_writer_pretty(f, &self.keys).map_err(|err| Box::new(err) as Box) [INFO] [stdout] | --- ^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will 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] [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/subcommands/update_key.rs:25:36 [INFO] [stdout] | [INFO] [stdout] 25 | .or_else(|err| Err(Box::new(err) as Box)) [INFO] [stdout] | --- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will 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] [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/subcommands/use_cmd.rs:35:36 [INFO] [stdout] | [INFO] [stdout] 35 | .or_else(|err| Err(Box::new(err) as Box)) [INFO] [stdout] | --- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will 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] [stdout] error: aborting due to 4 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `saint-peter` (bin "saint-peter") due to 5 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "f09d4dfd29d129f34d4e44661191e1b1020cfd82edefc3efb2b0035f4d62d654", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f09d4dfd29d129f34d4e44661191e1b1020cfd82edefc3efb2b0035f4d62d654", kill_on_drop: false }` [INFO] [stdout] f09d4dfd29d129f34d4e44661191e1b1020cfd82edefc3efb2b0035f4d62d654