[INFO] fetching crate rd-util 2.2.5... [INFO] checking rd-util-2.2.5 against try#c387b04bf028733cd561d62128c8a5eee4bc1458+rustflags=-Dtail_expr_drop_order for pr-130930 [INFO] extracting crate rd-util 2.2.5 into /workspace/builds/worker-2-tc2/source [INFO] validating manifest of crates.io crate rd-util 2.2.5 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 rd-util 2.2.5 [INFO] finished tweaking crates.io crate rd-util 2.2.5 [INFO] tweaked toml for crates.io crate rd-util 2.2.5 written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 154 packages to latest compatible versions [INFO] [stderr] Adding bitflags v1.3.2 (available: v2.6.0) [INFO] [stderr] Adding clap v2.34.0 (available: v4.5.18) [INFO] [stderr] Adding encode_unicode v0.3.6 (available: v1.0.0) [INFO] [stderr] Adding enum-iterator v1.5.0 (available: v2.1.0) [INFO] [stderr] Adding git2 v0.16.1 (available: v0.19.0) [INFO] [stderr] Adding hermit-abi v0.1.19 (available: v0.4.0) [INFO] [stderr] Adding hermit-abi v0.3.9 (available: v0.4.0) [INFO] [stderr] Adding idna v0.5.0 (available: v1.0.2) [INFO] [stderr] Adding libgit2-sys v0.14.2+1.5.1 (available: v0.17.0+1.8.1) [INFO] [stderr] Adding memoffset v0.6.5 (available: v0.9.1) [INFO] [stderr] Adding nix v0.22.3 (available: v0.29.0) [INFO] [stderr] Adding rustbus v0.17.0 (available: v0.19.3) [INFO] [stderr] Adding rustbus_derive v0.4.0 (available: v0.5.0) [INFO] [stderr] Adding strsim v0.8.0 (available: v0.11.1) [INFO] [stderr] Adding syn v1.0.109 (available: v2.0.79) [INFO] [stderr] Adding sysinfo v0.27.8 (available: v0.31.4) [INFO] [stderr] Adding sysinfo v0.30.13 (available: v0.31.4) [INFO] [stderr] Adding textwrap v0.11.0 (available: v0.16.1) [INFO] [stderr] Adding unicode-width v0.1.14 (available: v0.2.0) [INFO] [stderr] Adding vergen v7.5.1 (available: v9.0.1) [INFO] [stderr] Adding wasi v0.11.0+wasi-snapshot-preview1 (available: v0.13.2+wasi-0.2.1) [INFO] [stderr] Adding windows v0.52.0 (available: v0.58.0) [INFO] [stderr] Adding windows-core v0.52.0 (available: v0.58.0) [INFO] [stderr] Adding windows-sys v0.52.0 (available: v0.59.0) [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-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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] 1410d02a2d99d76445ce635db01b9ce5175ad26780813f7654a7c0a73470d7e7 [INFO] running `Command { std: "docker" "start" "-a" "1410d02a2d99d76445ce635db01b9ce5175ad26780813f7654a7c0a73470d7e7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1410d02a2d99d76445ce635db01b9ce5175ad26780813f7654a7c0a73470d7e7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1410d02a2d99d76445ce635db01b9ce5175ad26780813f7654a7c0a73470d7e7", kill_on_drop: false }` [INFO] [stdout] 1410d02a2d99d76445ce635db01b9ce5175ad26780813f7654a7c0a73470d7e7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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] 3db922fa87b17ef4e9469634a6bcb2fdcfc28609385d8a0f44f6d31f976df7ab [INFO] running `Command { std: "docker" "start" "-a" "3db922fa87b17ef4e9469634a6bcb2fdcfc28609385d8a0f44f6d31f976df7ab", kill_on_drop: false }` [INFO] [stderr] Compiling powerfmt v0.2.0 [INFO] [stderr] Compiling libc v0.2.159 [INFO] [stderr] Compiling time-macros v0.2.18 [INFO] [stderr] Compiling num_threads v0.1.7 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Compiling anyhow v1.0.89 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Compiling log v0.4.22 [INFO] [stderr] Compiling cfg_aliases v0.2.1 [INFO] [stderr] Compiling proc-macro-error-attr2 v2.0.0 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling enum-iterator-derive v1.4.0 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking zerocopy v0.7.35 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Checking unicode-width v0.1.14 [INFO] [stderr] Checking num-bigint v0.4.6 [INFO] [stderr] Compiling nix v0.29.0 [INFO] [stderr] Compiling deranged v0.3.11 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking anstream v0.6.15 [INFO] [stderr] Checking rayon v1.10.0 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking partition-identity v0.3.0 [INFO] [stderr] Compiling proc-macro-error2 v2.0.1 [INFO] [stderr] Checking nix v0.22.3 [INFO] [stderr] Checking num-complex v0.4.6 [INFO] [stderr] Checking crossbeam-channel v0.5.13 [INFO] [stderr] Checking crossbeam-queue v0.3.11 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking vec_map v0.8.2 [INFO] [stderr] Checking ansi_term v0.12.1 [INFO] [stderr] Compiling getset v0.1.3 [INFO] [stderr] Checking strsim v0.8.0 [INFO] [stderr] Checking serde_json v1.0.128 [INFO] [stderr] Checking console v0.15.8 [INFO] [stderr] Checking ppv-lite86 v0.2.20 [INFO] [stderr] Checking clap v2.34.0 [INFO] [stderr] Checking regex-automata v0.4.7 [INFO] [stderr] Checking crossbeam v0.8.4 [INFO] [stderr] Checking chrono v0.4.38 [INFO] [stderr] Checking proc-mounts v0.3.0 [INFO] [stderr] Checking page_size v0.6.0 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking glob v0.3.1 [INFO] [stderr] Compiling enum-iterator v1.5.0 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking time v0.3.36 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking num-rational v0.4.2 [INFO] [stderr] Compiling jobserver v0.1.32 [INFO] [stderr] Checking ctrlc v3.4.5 [INFO] [stderr] Compiling sysinfo v0.27.8 [INFO] [stderr] Checking num v0.4.3 [INFO] [stderr] Compiling cc v1.1.22 [INFO] [stderr] Checking simplelog v0.12.2 [INFO] [stderr] Checking sysinfo v0.30.13 [INFO] [stderr] Compiling rustbus_derive v0.4.0 [INFO] [stderr] Checking regex v1.10.6 [INFO] [stderr] Checking env_filter v0.1.2 [INFO] [stderr] Checking scan_fmt v0.2.6 [INFO] [stderr] Checking rustbus v0.17.0 [INFO] [stderr] Checking env_logger v0.11.5 [INFO] [stderr] Compiling vergen v7.5.1 [INFO] [stderr] Compiling libz-sys v1.1.20 [INFO] [stderr] Compiling libgit2-sys v0.14.2+1.5.1 [INFO] [stderr] Compiling git2 v0.16.1 [INFO] [stderr] Compiling rd-util v2.2.5 (/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/json_file.rs:64:15 [INFO] [stdout] | [INFO] [stdout] 57 | fn maybe_create_dfl>(path_in: P) -> Result { [INFO] [stdout] | ------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 64 | match fs::OpenOptions::new() [INFO] [stdout] | _______________^ [INFO] [stdout] 65 | | .write(true) [INFO] [stdout] 66 | | .create_new(true) [INFO] [stdout] 67 | | .open(&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/json_file.rs:64:15 [INFO] [stdout] | [INFO] [stdout] 57 | fn maybe_create_dfl>(path_in: P) -> Result { [INFO] [stdout] | ------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 64 | match fs::OpenOptions::new() [INFO] [stdout] | _______________^ [INFO] [stdout] 65 | | .write(true) [INFO] [stdout] 66 | | .create_new(true) [INFO] [stdout] 67 | | .open(&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/storage_info.rs:251:11 [INFO] [stdout] | [INFO] [stdout] 237 | pub fn is_path_rotational>(path_in: P) -> bool { [INFO] [stdout] | ------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 251 | match is_devname_rotational(&devname) { [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 `std::option::Option>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/systemd.rs:221:15 [INFO] [stdout] | [INFO] [stdout] 215 | let mut msg = systemd_unit_call("GetAll", "org.freedesktop.DBus.Properties", name); [INFO] [stdout] | ------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 216 | msg.body.push_param("").unwrap(); [INFO] [stdout] 217 | let resp = match self.send_msg_and_wait(&mut msg)?.unmarshall_all() { [INFO] [stdout] | ---- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 221 | match resp.params.into_iter().next() { [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` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/storage_info.rs:251:11 [INFO] [stdout] | [INFO] [stdout] 237 | pub fn is_path_rotational>(path_in: P) -> bool { [INFO] [stdout] | ------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 251 | match is_devname_rotational(&devname) { [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 `std::option::Option>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/systemd.rs:221:15 [INFO] [stdout] | [INFO] [stdout] 215 | let mut msg = systemd_unit_call("GetAll", "org.freedesktop.DBus.Properties", name); [INFO] [stdout] | ------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 216 | msg.body.push_param("").unwrap(); [INFO] [stdout] 217 | let resp = match self.send_msg_and_wait(&mut msg)?.unmarshall_all() { [INFO] [stdout] | ---- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 221 | match resp.params.into_iter().next() { [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 3 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rd-util` (lib test) due to 4 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rd-util` (lib) due to 4 previous errors [INFO] running `Command { std: "docker" "inspect" "3db922fa87b17ef4e9469634a6bcb2fdcfc28609385d8a0f44f6d31f976df7ab", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3db922fa87b17ef4e9469634a6bcb2fdcfc28609385d8a0f44f6d31f976df7ab", kill_on_drop: false }` [INFO] [stdout] 3db922fa87b17ef4e9469634a6bcb2fdcfc28609385d8a0f44f6d31f976df7ab