[INFO] fetching crate uu_tail 0.0.27... [INFO] checking uu_tail-0.0.27 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] extracting crate uu_tail 0.0.27 into /workspace/builds/worker-3-tc2/source [INFO] validating manifest of crates.io crate uu_tail 0.0.27 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 uu_tail 0.0.27 [INFO] finished tweaking crates.io crate uu_tail 0.0.27 [INFO] tweaked toml for crates.io crate uu_tail 0.0.27 written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] crate crates.io crate uu_tail 0.0.27 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] c91b696168de9beb2c7259fe4da225b6c0d94355ad8992264f5fb413294a1b64 [INFO] running `Command { std: "docker" "start" "-a" "c91b696168de9beb2c7259fe4da225b6c0d94355ad8992264f5fb413294a1b64", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c91b696168de9beb2c7259fe4da225b6c0d94355ad8992264f5fb413294a1b64", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c91b696168de9beb2c7259fe4da225b6c0d94355ad8992264f5fb413294a1b64", kill_on_drop: false }` [INFO] [stdout] c91b696168de9beb2c7259fe4da225b6c0d94355ad8992264f5fb413294a1b64 [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] 9ba0e48bc5ad8d8eedf9e48a0ee80ea4aa7809652b781c087d7e0d8bbf9a0ba2 [INFO] running `Command { std: "docker" "start" "-a" "9ba0e48bc5ad8d8eedf9e48a0ee80ea4aa7809652b781c087d7e0d8bbf9a0ba2", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.155 [INFO] [stderr] Compiling unicode-ident v1.0.5 [INFO] [stderr] Compiling io-lifetimes v1.0.11 [INFO] [stderr] Compiling rustix v0.37.26 [INFO] [stderr] Compiling semver v1.0.14 [INFO] [stderr] Compiling futures-core v0.3.28 [INFO] [stderr] Checking linux-raw-sys v0.3.8 [INFO] [stderr] Checking utf8parse v0.2.1 [INFO] [stderr] Checking anstyle-parse v0.2.0 [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling slab v0.4.7 [INFO] [stderr] Compiling crossbeam-utils v0.8.19 [INFO] [stderr] Compiling cfg_aliases v0.1.1 [INFO] [stderr] Compiling futures-task v0.3.28 [INFO] [stderr] Checking anstyle-query v1.0.0 [INFO] [stderr] Checking colorchoice v1.0.0 [INFO] [stderr] Compiling futures-channel v0.3.28 [INFO] [stderr] Checking anstyle v1.0.0 [INFO] [stderr] Compiling nix v0.28.0 [INFO] [stderr] Compiling equivalent v1.0.1 [INFO] [stderr] Compiling hashbrown v0.14.3 [INFO] [stderr] Checking anstream v0.5.0 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling futures-util v0.3.28 [INFO] [stderr] Checking clap_lex v0.5.0 [INFO] [stderr] Checking futures-sink v0.3.28 [INFO] [stderr] Compiling rustc_version v0.4.0 [INFO] [stderr] Compiling syn v2.0.60 [INFO] [stderr] Checking pin-project-lite v0.2.9 [INFO] [stderr] Compiling aho-corasick v1.0.4 [INFO] [stderr] Checking bitflags v2.5.0 [INFO] [stderr] Compiling winnow v0.5.40 [INFO] [stderr] Compiling regex-syntax v0.8.2 [INFO] [stderr] Checking futures-io v0.3.28 [INFO] [stderr] Compiling indexmap v2.2.6 [INFO] [stderr] Compiling uuhelp_parser v0.0.27 [INFO] [stderr] Compiling toml_datetime v0.6.6 [INFO] [stderr] Checking log v0.4.20 [INFO] [stderr] Checking unicode-width v0.1.12 [INFO] [stderr] Checking os_display v0.1.3 [INFO] [stderr] Compiling uucore_procs v0.0.27 [INFO] [stderr] Checking walkdir v2.5.0 [INFO] [stderr] Checking crossbeam-channel v0.5.10 [INFO] [stderr] Checking inotify-sys v0.1.5 [INFO] [stderr] Checking inotify v0.9.6 [INFO] [stderr] Checking mio v0.8.11 [INFO] [stderr] Checking filetime v0.2.23 [INFO] [stderr] Compiling rstest_macros v0.21.0 [INFO] [stderr] Checking number_prefix v0.4.0 [INFO] [stderr] Checking wild v2.2.1 [INFO] [stderr] Checking fundu-core v0.3.0 [INFO] [stderr] Checking glob v0.3.1 [INFO] [stderr] Checking notify v6.0.1 [INFO] [stderr] Checking fundu v2.0.0 [INFO] [stderr] Compiling relative-path v1.8.0 [INFO] [stderr] Checking terminal_size v0.2.6 [INFO] [stderr] Checking clap_builder v4.4.2 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Checking futures-timer v3.0.2 [INFO] [stderr] Compiling toml_edit v0.21.1 [INFO] [stderr] Compiling regex-automata v0.4.4 [INFO] [stderr] Checking clap v4.4.2 [INFO] [stderr] Checking uucore v0.0.27 [INFO] [stderr] Checking uu_tail v0.0.27 (/opt/rustwide/workdir) [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/args.rs:340:21 [INFO] [stdout] | [INFO] [stdout] 339 | && Handle::stdin().map_or(false, |handle| { [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 340 | / handle [INFO] [stdout] 341 | | .as_file() [INFO] [stdout] 342 | | .metadata() [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/follow/files.rs:208:27 [INFO] [stdout] | [INFO] [stdout] 194 | pub fn from_other_with_path(data: Self, path: &Path) -> Self { [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 195 | // Remove old reader [INFO] [stdout] 196 | let old_reader = data.reader; [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 197 | let reader = if old_reader.is_some() { [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 200 | } else if let Ok(file) = File::open(path) { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 208 | Self::new(reader, path.metadata().ok(), data.display_name.as_str()) [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/follow/watch.rs:122:25 [INFO] [stdout] | [INFO] [stdout] 109 | files: FileHandling, [INFO] [stdout] | ------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 122 | watcher_rx: None, [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 `uu_tail` (lib) due to 4 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "9ba0e48bc5ad8d8eedf9e48a0ee80ea4aa7809652b781c087d7e0d8bbf9a0ba2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9ba0e48bc5ad8d8eedf9e48a0ee80ea4aa7809652b781c087d7e0d8bbf9a0ba2", kill_on_drop: false }` [INFO] [stdout] 9ba0e48bc5ad8d8eedf9e48a0ee80ea4aa7809652b781c087d7e0d8bbf9a0ba2