[INFO] fetching crate fd-find 10.2.0... [INFO] checking fd-find-10.2.0 against try#7014e13d5becc920d4bea3cd87942c8a13d359bf+rustflags=-Dtail_expr_drop_order for pr-129864 [INFO] extracting crate fd-find 10.2.0 into /workspace/builds/worker-6-tc2/source [INFO] validating manifest of crates.io crate fd-find 10.2.0 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 fd-find 10.2.0 [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate fd-find 10.2.0 [INFO] tweaked toml for crates.io crate fd-find 10.2.0 written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] crate crates.io crate fd-find 10.2.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" "+7014e13d5becc920d4bea3cd87942c8a13d359bf" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [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] b4fc4bc604e1c5de06902246848d5b1e60fdd42a755b1a828f1abf7cb61e4cce [INFO] running `Command { std: "docker" "start" "-a" "b4fc4bc604e1c5de06902246848d5b1e60fdd42a755b1a828f1abf7cb61e4cce", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b4fc4bc604e1c5de06902246848d5b1e60fdd42a755b1a828f1abf7cb61e4cce", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b4fc4bc604e1c5de06902246848d5b1e60fdd42a755b1a828f1abf7cb61e4cce", kill_on_drop: false }` [INFO] [stdout] b4fc4bc604e1c5de06902246848d5b1e60fdd42a755b1a828f1abf7cb61e4cce [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] ef3fc8071cce1fe1eba0251ea302d0dd1106149fba06dccb9e168f95df97be90 [INFO] running `Command { std: "docker" "start" "-a" "ef3fc8071cce1fe1eba0251ea302d0dd1106149fba06dccb9e168f95df97be90", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling libc v0.2.158 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Checking bitflags v2.6.0 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Checking memchr v2.7.4 [INFO] [stderr] Compiling rustix v0.38.34 [INFO] [stderr] Compiling crossbeam-utils v0.8.20 [INFO] [stderr] Checking linux-raw-sys v0.4.14 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Checking utf8parse v0.2.2 [INFO] [stderr] Checking anstyle-query v1.1.1 [INFO] [stderr] Compiling cfg_aliases v0.2.1 [INFO] [stderr] Checking is_terminal_polyfill v1.70.1 [INFO] [stderr] Checking colorchoice v1.0.2 [INFO] [stderr] Checking regex-syntax v0.8.4 [INFO] [stderr] Compiling autocfg v1.3.0 [INFO] [stderr] Checking anstyle v1.0.8 [INFO] [stderr] Compiling nix v0.29.0 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Checking anstyle-parse v0.2.5 [INFO] [stderr] Checking clap_lex v0.7.2 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Compiling cc v1.1.13 [INFO] [stderr] Checking strsim v0.11.1 [INFO] [stderr] Checking same-file v1.0.6 [INFO] [stderr] Compiling anyhow v1.0.86 [INFO] [stderr] Checking log v0.4.22 [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Checking anstream v0.6.15 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking walkdir v2.5.0 [INFO] [stderr] Checking iana-time-zone v0.1.60 [INFO] [stderr] Checking lazy_static v1.5.0 [INFO] [stderr] Checking home v0.5.9 [INFO] [stderr] Checking nu-ansi-term v0.50.1 [INFO] [stderr] Checking humantime v2.1.0 [INFO] [stderr] Checking fastrand v2.1.0 [INFO] [stderr] Checking etcetera v0.8.0 [INFO] [stderr] Checking normpath v1.3.0 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Checking crossbeam-epoch v0.9.18 [INFO] [stderr] Checking bstr v1.10.0 [INFO] [stderr] Compiling fd-find v10.2.0 (/opt/rustwide/workdir) [INFO] [stderr] Checking crossbeam-channel v0.5.13 [INFO] [stderr] Checking once_cell v1.19.0 [INFO] [stderr] Checking diff v0.1.13 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Checking crossbeam-deque v0.8.5 [INFO] [stderr] Compiling syn v2.0.75 [INFO] [stderr] Compiling jemalloc-sys v0.5.4+5.3.0-patched [INFO] [stderr] Checking nix v0.24.3 [INFO] [stderr] Checking faccess v0.2.4 [INFO] [stderr] Checking filetime v0.2.24 [INFO] [stderr] Checking chrono v0.4.38 [INFO] [stderr] Checking argmax v0.3.1 [INFO] [stderr] Checking regex-automata v0.4.7 [INFO] [stderr] Checking lscolors v0.19.0 [INFO] [stderr] Checking terminal_size v0.3.0 [INFO] [stderr] Checking tempfile v3.12.0 [INFO] [stderr] Checking clap_builder v4.5.15 [INFO] [stderr] Checking ctrlc v3.4.5 [INFO] [stderr] Checking globset v0.4.14 [INFO] [stderr] Checking regex v1.10.6 [INFO] [stderr] Checking ignore v0.4.22 [INFO] [stderr] Compiling test-case-core v3.3.1 [INFO] [stderr] Compiling clap_derive v4.5.13 [INFO] [stderr] Compiling test-case-macros v3.3.1 [INFO] [stderr] Checking test-case v3.3.1 [INFO] [stderr] Checking clap v4.5.16 [INFO] [stderr] Checking clap_complete v4.5.19 [INFO] [stderr] Checking jemallocator v0.5.4 [INFO] [stdout] error: this value of type `std::result::Result, Errno>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> tests/tests.rs:2330:29 [INFO] [stdout] | [INFO] [stdout] 2327 | let te = TestEnv::new(DEFAULT_DIRS, DEFAULT_FILES); [INFO] [stdout] | -- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 2330 | if let Ok(Some(user)) = User::from_uid(uid) { [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 `std::result::Result, Errno>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> tests/tests.rs:2341:30 [INFO] [stdout] | [INFO] [stdout] 2338 | let te = TestEnv::new(DEFAULT_DIRS, DEFAULT_FILES); [INFO] [stdout] | -- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 2341 | if let Ok(Some(group)) = Group::from_gid(gid) { [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 `fd-find` (test "tests") due to 3 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: this value of type `MutexGuard<'_, Option>>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/walk.rs:70:9 [INFO] [stdout] | [INFO] [stdout] 69 | fn into_iter(self) -> Self::IntoIter { [INFO] [stdout] | ---- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 70 | self.lock().take().unwrap().into_iter() [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] [stderr] error: could not compile `fd-find` (bin "fd") due to 2 previous errors [INFO] [stdout] error: this value of type `MutexGuard<'_, Option>>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/walk.rs:70:9 [INFO] [stdout] | [INFO] [stdout] 69 | fn into_iter(self) -> Self::IntoIter { [INFO] [stdout] | ---- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 70 | self.lock().take().unwrap().into_iter() [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] [stderr] error: could not compile `fd-find` (bin "fd" test) due to 2 previous errors [INFO] running `Command { std: "docker" "inspect" "ef3fc8071cce1fe1eba0251ea302d0dd1106149fba06dccb9e168f95df97be90", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ef3fc8071cce1fe1eba0251ea302d0dd1106149fba06dccb9e168f95df97be90", kill_on_drop: false }` [INFO] [stdout] ef3fc8071cce1fe1eba0251ea302d0dd1106149fba06dccb9e168f95df97be90