[INFO] fetching crate melatonin 0.7.8... [INFO] checking melatonin-0.7.8 against try#c387b04bf028733cd561d62128c8a5eee4bc1458+rustflags=-Dtail_expr_drop_order for pr-130930 [INFO] extracting crate melatonin 0.7.8 into /workspace/builds/worker-7-tc2/source [INFO] validating manifest of crates.io crate melatonin 0.7.8 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 melatonin 0.7.8 [INFO] finished tweaking crates.io crate melatonin 0.7.8 [INFO] tweaked toml for crates.io crate melatonin 0.7.8 written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] crate crates.io crate melatonin 0.7.8 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] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] 739a89781d7053b23012755a00cbd0988c02aff0aa4a53702e86a42efef12d06 [INFO] running `Command { std: "docker" "start" "-a" "739a89781d7053b23012755a00cbd0988c02aff0aa4a53702e86a42efef12d06", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "739a89781d7053b23012755a00cbd0988c02aff0aa4a53702e86a42efef12d06", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "739a89781d7053b23012755a00cbd0988c02aff0aa4a53702e86a42efef12d06", kill_on_drop: false }` [INFO] [stdout] 739a89781d7053b23012755a00cbd0988c02aff0aa4a53702e86a42efef12d06 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] 7f68a2b998481416361add993ebf665f1e42bdc00ee922284820ba7a2c08d659 [INFO] running `Command { std: "docker" "start" "-a" "7f68a2b998481416361add993ebf665f1e42bdc00ee922284820ba7a2c08d659", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Compiling proc-macro2 v1.0.78 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling cc v1.0.90 [INFO] [stderr] Checking pin-project-lite v0.2.13 [INFO] [stderr] Checking bitflags v2.4.2 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling vcpkg v0.2.15 [INFO] [stderr] Compiling pkg-config v0.3.30 [INFO] [stderr] Checking memchr v2.7.1 [INFO] [stderr] Checking bytes v1.5.0 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Checking log v0.4.21 [INFO] [stderr] Checking itoa v1.0.10 [INFO] [stderr] Compiling rustix v0.38.31 [INFO] [stderr] Checking foreign-types-shared v0.1.1 [INFO] [stderr] Compiling openssl v0.10.64 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Checking http v0.2.12 [INFO] [stderr] Checking foreign-types v0.3.2 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Compiling syn v2.0.52 [INFO] [stderr] Compiling native-tls v0.2.11 [INFO] [stderr] Compiling serde v1.0.197 [INFO] [stderr] Compiling httparse v1.8.0 [INFO] [stderr] Checking hashbrown v0.14.3 [INFO] [stderr] Checking getrandom v0.2.12 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking mio v0.8.11 [INFO] [stderr] Checking socket2 v0.5.6 [INFO] [stderr] Checking linux-raw-sys v0.4.13 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling openssl-sys v0.9.101 [INFO] [stderr] Compiling ring v0.17.8 [INFO] [stderr] Checking tinyvec v1.6.0 [INFO] [stderr] Checking tokio v1.36.0 [INFO] [stderr] Compiling unicase v2.7.0 [INFO] [stderr] Checking indexmap v2.2.5 [INFO] [stderr] Checking unicode-width v0.1.11 [INFO] [stderr] Checking http-body v0.4.6 [INFO] [stderr] Checking ryu v1.0.17 [INFO] [stderr] Checking unicode-normalization v0.1.23 [INFO] [stderr] Compiling crc32fast v1.4.0 [INFO] [stderr] Checking tower-service v0.3.2 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking anstyle v1.0.6 [INFO] [stderr] Compiling rustls v0.21.10 [INFO] [stderr] Checking idna v0.5.0 [INFO] [stderr] Compiling thiserror v1.0.57 [INFO] [stderr] Compiling portable-atomic v1.6.0 [INFO] [stderr] Checking clap_lex v0.7.0 [INFO] [stderr] Checking ppv-lite86 v0.2.17 [INFO] [stderr] Checking miniz_oxide v0.7.2 [INFO] [stderr] Checking aho-corasick v1.1.2 [INFO] [stderr] Checking url v2.5.0 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking encoding_rs v0.8.33 [INFO] [stderr] Checking option-ext v0.2.0 [INFO] [stderr] Compiling minreq v2.11.0 [INFO] [stderr] Checking terminal_size v0.3.0 [INFO] [stderr] Checking sync_wrapper v0.1.2 [INFO] [stderr] Checking clap_builder v4.5.2 [INFO] [stderr] Checking ipnet v2.9.0 [INFO] [stderr] Compiling anyhow v1.0.80 [INFO] [stderr] Checking regex-syntax v0.8.2 [INFO] [stderr] Compiling serde_json v1.0.114 [INFO] [stderr] Checking dirs-sys v0.4.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking flate2 v1.0.28 [INFO] [stderr] Checking console v0.15.8 [INFO] [stderr] Checking tokio-util v0.7.10 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling serde_derive v1.0.197 [INFO] [stderr] Compiling thiserror-impl v1.0.57 [INFO] [stderr] Compiling clap_derive v4.5.0 [INFO] [stderr] Checking colored v2.1.0 [INFO] [stderr] Checking number_prefix v0.4.0 [INFO] [stderr] Checking fastrand v2.0.1 [INFO] [stderr] Checking rustls-webpki v0.101.7 [INFO] [stderr] Checking sct v0.7.1 [INFO] [stderr] Checking webpki-roots v0.25.4 [INFO] [stderr] Checking zip v0.6.6 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Checking regex-automata v0.4.6 [INFO] [stderr] Checking tempfile v3.10.1 [INFO] [stderr] Checking indicatif v0.17.8 [INFO] [stderr] Checking simple_logger v4.3.3 [INFO] [stderr] Checking directories v5.0.1 [INFO] [stderr] Checking clap v4.5.2 [INFO] [stderr] Checking clap-verbosity-flag v2.2.0 [INFO] [stderr] Checking regex v1.10.3 [INFO] [stderr] Checking h2 v0.3.24 [INFO] [stderr] Checking futures-executor v0.3.30 [INFO] [stderr] Checking futures v0.3.30 [INFO] [stderr] Checking tokio-native-tls v0.3.1 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking hyper v0.14.28 [INFO] [stderr] Checking hyper-tls v0.5.0 [INFO] [stderr] Checking reqwest v0.11.25 [INFO] [stderr] Checking downloader v0.2.7 [INFO] [stderr] Checking melatonin v0.7.8 (/opt/rustwide/workdir) [INFO] [stdout] error: this value of type `Result` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/command/install.rs:45:8 [INFO] [stdout] | [INFO] [stdout] 25 | let temp_download_dir = tempfile::tempdir()?; [INFO] [stdout] | ----------------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 28 | let mut downloader = Downloader::builder().download_folder(temp_download_dir_path).build()?; [INFO] [stdout] | -------------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 45 | match File::open(downloaded.path) { [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` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/command/install.rs:45:8 [INFO] [stdout] | [INFO] [stdout] 25 | let temp_download_dir = tempfile::tempdir()?; [INFO] [stdout] | ----------------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 28 | let mut downloader = Downloader::builder().download_folder(temp_download_dir_path).build()?; [INFO] [stdout] | -------------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 45 | match File::open(downloaded.path) { [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] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `melatonin` (bin "bvm" test) due to 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `melatonin` (bin "bvm") due to 2 previous errors [INFO] running `Command { std: "docker" "inspect" "7f68a2b998481416361add993ebf665f1e42bdc00ee922284820ba7a2c08d659", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7f68a2b998481416361add993ebf665f1e42bdc00ee922284820ba7a2c08d659", kill_on_drop: false }` [INFO] [stdout] 7f68a2b998481416361add993ebf665f1e42bdc00ee922284820ba7a2c08d659