[INFO] fetching crate hashguard 2.0.5... [INFO] checking hashguard-2.0.5 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] extracting crate hashguard 2.0.5 into /workspace/builds/worker-0-tc2/source [INFO] validating manifest of crates.io crate hashguard 2.0.5 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] removed /workspace/builds/worker-0-tc2/source/rust-toolchain.toml [INFO] started tweaking crates.io crate hashguard 2.0.5 [INFO] finished tweaking crates.io crate hashguard 2.0.5 [INFO] tweaked toml for crates.io crate hashguard 2.0.5 written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] crate crates.io crate hashguard 2.0.5 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] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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] 98f5ff373623cdc318e39edcee4d4bb49cbf30ca08584cb4b159b86dea9a38d8 [INFO] running `Command { std: "docker" "start" "-a" "98f5ff373623cdc318e39edcee4d4bb49cbf30ca08584cb4b159b86dea9a38d8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "98f5ff373623cdc318e39edcee4d4bb49cbf30ca08584cb4b159b86dea9a38d8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "98f5ff373623cdc318e39edcee4d4bb49cbf30ca08584cb4b159b86dea9a38d8", kill_on_drop: false }` [INFO] [stdout] 98f5ff373623cdc318e39edcee4d4bb49cbf30ca08584cb4b159b86dea9a38d8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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] adeabd76e52097cea2fd1b87bd1e4fb2e6ddcf35af4035827fc765f08700491c [INFO] running `Command { std: "docker" "start" "-a" "adeabd76e52097cea2fd1b87bd1e4fb2e6ddcf35af4035827fc765f08700491c", kill_on_drop: false }` [INFO] [stderr] Compiling thiserror v1.0.63 [INFO] [stderr] Checking chksum-hash-core v0.0.0 [INFO] [stderr] Compiling libc v0.2.158 [INFO] [stderr] Checking gimli v0.28.1 [INFO] [stderr] Compiling cc v1.1.13 [INFO] [stderr] Checking tracing-core v0.1.32 [INFO] [stderr] Checking tinyvec v1.8.0 [INFO] [stderr] Checking thread_local v1.1.8 [INFO] [stderr] Checking sharded-slab v0.1.7 [INFO] [stderr] Compiling cfg_aliases v0.2.1 [INFO] [stderr] Checking object v0.32.2 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking miniz_oxide v0.7.4 [INFO] [stderr] Checking powerfmt v0.2.0 [INFO] [stderr] Compiling num-conv v0.1.0 [INFO] [stderr] Compiling nix v0.29.0 [INFO] [stderr] Compiling eyre v0.6.12 [INFO] [stderr] Compiling time-core v0.1.2 [INFO] [stderr] Checking rustc-demangle v0.1.24 [INFO] [stderr] Compiling rustls v0.23.12 [INFO] [stderr] Checking unicode-width v0.1.13 [INFO] [stderr] Checking unicode-bidi v0.3.15 [INFO] [stderr] Compiling syn v2.0.75 [INFO] [stderr] Compiling portable-atomic v1.7.0 [INFO] [stderr] Checking adler2 v2.0.0 [INFO] [stderr] Compiling serde v1.0.208 [INFO] [stderr] Checking miniz_oxide v0.8.0 [INFO] [stderr] Checking anstream v0.6.15 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Checking form_urlencoded v1.2.1 [INFO] [stderr] Compiling time-macros v0.2.18 [INFO] [stderr] Checking deranged v0.3.11 [INFO] [stderr] Checking crc32fast v1.4.2 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Checking zeroize v1.8.1 [INFO] [stderr] Checking bitflags v2.6.0 [INFO] [stderr] Checking owo-colors v3.5.0 [INFO] [stderr] Checking indenter v0.3.3 [INFO] [stderr] Checking num_threads v0.1.7 [INFO] [stderr] Checking strsim v0.11.1 [INFO] [stderr] Checking regex-automata v0.4.7 [INFO] [stderr] Checking clap_builder v4.5.15 [INFO] [stderr] Checking tracing-subscriber v0.3.18 [INFO] [stderr] Checking flate2 v1.0.32 [INFO] [stderr] Checking webpki-roots v0.26.3 [INFO] [stderr] Checking unicode-normalization v0.1.23 [INFO] [stderr] Checking path-dedot v3.1.1 [INFO] [stderr] Checking termcolor v1.4.1 [INFO] [stderr] Checking path-absolutize v3.1.1 [INFO] [stderr] Checking simple-home-dir v0.4.0 [INFO] [stderr] Checking output-coloring v0.1.0 [INFO] [stderr] Checking idna v0.5.0 [INFO] [stderr] Compiling ring v0.17.8 [INFO] [stderr] Compiling backtrace v0.3.71 [INFO] [stderr] Checking url v2.5.2 [INFO] [stderr] Checking chrono v0.4.38 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Checking console v0.15.8 [INFO] [stderr] Checking time v0.3.36 [INFO] [stderr] Checking tracing-error v0.2.0 [INFO] [stderr] Checking addr2line v0.21.0 [INFO] [stderr] Checking color-spantrace v0.2.1 [INFO] [stderr] Checking indicatif v0.17.8 [INFO] [stderr] Checking regex v1.10.6 [INFO] [stderr] Checking simplelog v0.12.2 [INFO] [stderr] Checking ctrlc v3.4.5 [INFO] [stderr] Compiling thiserror-impl v1.0.63 [INFO] [stderr] Compiling serde_derive v1.0.208 [INFO] [stderr] Compiling clap_derive v4.5.13 [INFO] [stderr] Checking chksum-core v0.0.0 [INFO] [stderr] Checking chksum-hash-sha2-256 v0.0.0 [INFO] [stderr] Checking chksum-hash-sha2-224 v0.0.0 [INFO] [stderr] Checking chksum-hash-sha2-512 v0.0.0 [INFO] [stderr] Checking chksum-hash-sha2-384 v0.0.0 [INFO] [stderr] Checking chksum-hash-sha2-224 v0.0.1 [INFO] [stderr] Checking chksum-hash-sha2-512 v0.0.1 [INFO] [stderr] Checking chksum-hash-sha2-384 v0.0.1 [INFO] [stderr] Checking chksum-hash-sha2-256 v0.0.1 [INFO] [stderr] Checking chksum-hash-md5 v0.0.0 [INFO] [stderr] Checking chksum-hash-sha1 v0.0.1 [INFO] [stderr] Checking chksum-hash-sha1 v0.0.0 [INFO] [stderr] Checking chksum-hash-md5 v0.0.1 [INFO] [stderr] Checking chksum-sha2-224 v0.0.0 [INFO] [stderr] Checking chksum-sha2-512 v0.0.0 [INFO] [stderr] Checking better-panic v0.3.0 [INFO] [stderr] Checking color-eyre v0.6.3 [INFO] [stderr] Checking chksum-sha2-256 v0.0.0 [INFO] [stderr] Checking chksum-md5 v0.0.0 [INFO] [stderr] Checking chksum-sha2-384 v0.0.0 [INFO] [stderr] Checking chksum-hash-sha2 v0.0.0 [INFO] [stderr] Checking chksum-sha1 v0.0.0 [INFO] [stderr] Checking chksum-sha2 v0.0.0 [INFO] [stderr] Checking chksum-hash-sha2 v0.0.1 [INFO] [stderr] Checking chksum-hash v0.5.1 [INFO] [stderr] Checking chksum v0.3.0 [INFO] [stderr] Checking clap v4.5.16 [INFO] [stderr] Checking rustls-webpki v0.102.6 [INFO] [stderr] Checking os_info v3.8.2 [INFO] [stderr] Checking ureq v2.10.1 [INFO] [stderr] Checking hashguard v2.0.5 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated type alias `std::panic::PanicInfo`: use `PanicHookInfo` instead [INFO] [stdout] --> src/panic_handling.rs:1:51 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{backtrace::Backtrace, io::Write, panic::PanicInfo, path::Path}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `std::panic::PanicInfo`: use `PanicHookInfo` instead [INFO] [stdout] --> src/panic_handling.rs:97:21 [INFO] [stdout] | [INFO] [stdout] 97 | panic_info: &'a PanicInfo<'a>, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `std::panic::PanicInfo`: use `PanicHookInfo` instead [INFO] [stdout] --> src/panic_handling.rs:133:32 [INFO] [stdout] | [INFO] [stdout] 133 | pub fn new(panic_info: &'a PanicInfo, backtrace: Backtrace) -> Self { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `std::panic::PanicInfo`: use `PanicHookInfo` instead [INFO] [stdout] --> src/panic_handling.rs:1:51 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{backtrace::Backtrace, io::Write, panic::PanicInfo, path::Path}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `std::panic::PanicInfo`: use `PanicHookInfo` instead [INFO] [stdout] --> src/panic_handling.rs:97:21 [INFO] [stdout] | [INFO] [stdout] 97 | panic_info: &'a PanicInfo<'a>, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `std::panic::PanicInfo`: use `PanicHookInfo` instead [INFO] [stdout] --> src/panic_handling.rs:133:32 [INFO] [stdout] | [INFO] [stdout] 133 | pub fn new(panic_info: &'a PanicInfo, backtrace: Backtrace) -> Self { [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/verify.rs:152:8 [INFO] [stdout] | [INFO] [stdout] 76 | fn calculate_hash_sum(data: File) -> Result [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 82 | let spinner = [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 95 | let is_calculating_checksum = Arc::new(AtomicBool::new(true)); [INFO] [stdout] | ----------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 96 | [INFO] [stdout] 97 | let is_calculating_checksum_clone = is_calculating_checksum.clone(); [INFO] [stdout] | ----------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 100 | let listen_crl_c_thread = thread::spawn(move || { [INFO] [stdout] | ------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 113 | let (sender, receiver) = mpsc::channel(); [INFO] [stdout] | ------ -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 114 | [INFO] [stdout] 115 | let hash_sum_thread = thread::spawn(move || -> Result<()> { [INFO] [stdout] | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 146 | let hash_sum_result = hash_sum_thread [INFO] [stdout] | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 152 | Ok(receiver.try_recv()?) [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/verify.rs:152:8 [INFO] [stdout] | [INFO] [stdout] 76 | fn calculate_hash_sum(data: File) -> Result [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 82 | let spinner = [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 95 | let is_calculating_checksum = Arc::new(AtomicBool::new(true)); [INFO] [stdout] | ----------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 96 | [INFO] [stdout] 97 | let is_calculating_checksum_clone = is_calculating_checksum.clone(); [INFO] [stdout] | ----------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 100 | let listen_crl_c_thread = thread::spawn(move || { [INFO] [stdout] | ------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 113 | let (sender, receiver) = mpsc::channel(); [INFO] [stdout] | ------ -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 114 | [INFO] [stdout] 115 | let hash_sum_thread = thread::spawn(move || -> Result<()> { [INFO] [stdout] | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 146 | let hash_sum_result = hash_sum_thread [INFO] [stdout] | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 152 | Ok(receiver.try_recv()?) [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; 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error; 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `hashguard` (bin "hashguard") due to 2 previous errors; 3 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `hashguard` (bin "hashguard" test) due to 2 previous errors; 3 warnings emitted [INFO] running `Command { std: "docker" "inspect" "adeabd76e52097cea2fd1b87bd1e4fb2e6ddcf35af4035827fc765f08700491c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "adeabd76e52097cea2fd1b87bd1e4fb2e6ddcf35af4035827fc765f08700491c", kill_on_drop: false }` [INFO] [stdout] adeabd76e52097cea2fd1b87bd1e4fb2e6ddcf35af4035827fc765f08700491c