[INFO] fetching crate janitor-service 0.1.27... [INFO] checking janitor-service-0.1.27 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] extracting crate janitor-service 0.1.27 into /workspace/builds/worker-2-tc2/source [INFO] validating manifest of crates.io crate janitor-service 0.1.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 janitor-service 0.1.27 [INFO] finished tweaking crates.io crate janitor-service 0.1.27 [INFO] tweaked toml for crates.io crate janitor-service 0.1.27 written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] crate crates.io crate janitor-service 0.1.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-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1512dc33bc37dc56d1f1da8901d691366b02568ac6f7c4bff1afed21ec446d07 [INFO] running `Command { std: "docker" "start" "-a" "1512dc33bc37dc56d1f1da8901d691366b02568ac6f7c4bff1afed21ec446d07", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1512dc33bc37dc56d1f1da8901d691366b02568ac6f7c4bff1afed21ec446d07", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1512dc33bc37dc56d1f1da8901d691366b02568ac6f7c4bff1afed21ec446d07", kill_on_drop: false }` [INFO] [stdout] 1512dc33bc37dc56d1f1da8901d691366b02568ac6f7c4bff1afed21ec446d07 [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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 99d6327f2e07151478d8e129b694e9798a677f2b998dd8ab1b825756085cc7ee [INFO] running `Command { std: "docker" "start" "-a" "99d6327f2e07151478d8e129b694e9798a677f2b998dd8ab1b825756085cc7ee", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.82 [INFO] [stderr] Compiling libc v0.2.155 [INFO] [stderr] Compiling crossbeam-utils v0.8.20 [INFO] [stderr] Compiling pkg-config v0.3.30 [INFO] [stderr] Compiling serde v1.0.202 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling equivalent v1.0.1 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Checking fastrand v2.1.0 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling toml_datetime v0.6.6 [INFO] [stderr] Compiling winnow v0.5.40 [INFO] [stderr] Compiling libdbus-sys v0.2.5 [INFO] [stderr] Compiling unicode-width v0.1.12 [INFO] [stderr] Checking concurrent-queue v2.5.0 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling syn v2.0.65 [INFO] [stderr] Compiling indexmap v2.2.6 [INFO] [stderr] Checking event-listener v4.0.3 [INFO] [stderr] Checking event-listener v5.3.0 [INFO] [stderr] Checking event-listener-strategy v0.5.2 [INFO] [stderr] Checking event-listener-strategy v0.4.0 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Checking futures-lite v2.3.0 [INFO] [stderr] Compiling ansi_term v0.12.1 [INFO] [stderr] Compiling vec_map v0.8.2 [INFO] [stderr] Compiling rustix v0.38.34 [INFO] [stderr] Checking bitflags v2.5.0 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Checking async-lock v3.3.0 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Compiling clap v2.34.0 [INFO] [stderr] Compiling dbus v0.9.7 [INFO] [stderr] Compiling memoffset v0.9.1 [INFO] [stderr] Compiling cfg_aliases v0.1.1 [INFO] [stderr] Checking linux-raw-sys v0.4.14 [INFO] [stderr] Compiling xml-rs v0.8.20 [INFO] [stderr] Checking async-task v4.7.1 [INFO] [stderr] Compiling toml_edit v0.21.1 [INFO] [stderr] Checking atomic-waker v1.1.2 [INFO] [stderr] Compiling thiserror v1.0.61 [INFO] [stderr] Checking piper v0.2.2 [INFO] [stderr] Compiling nix v0.28.0 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking async-channel v2.3.1 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Checking log v0.4.21 [INFO] [stderr] Checking static_assertions v1.1.0 [INFO] [stderr] Checking endi v1.1.0 [INFO] [stderr] Checking ppv-lite86 v0.2.17 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Compiling proc-macro-crate v3.1.0 [INFO] [stderr] Compiling dbus-codegen v0.9.1 [INFO] [stderr] Compiling zvariant_utils v1.1.1 [INFO] [stderr] Checking blocking v1.6.0 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking inotify-sys v0.1.5 [INFO] [stderr] Checking memchr v2.7.2 [INFO] [stderr] Checking cpufeatures v0.2.12 [INFO] [stderr] Checking sha1 v0.10.6 [INFO] [stderr] Checking inotify v0.9.6 [INFO] [stderr] Checking dbus-tree v0.9.2 [INFO] [stderr] Compiling ksni v0.2.2 [INFO] [stderr] Checking async-fs v2.1.2 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Checking mio v0.8.11 [INFO] [stderr] Checking async-executor v1.11.0 [INFO] [stderr] Compiling serde_derive v1.0.202 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling enumflags2_derive v0.7.9 [INFO] [stderr] Compiling thiserror-impl v1.0.61 [INFO] [stderr] Compiling async-trait v0.1.80 [INFO] [stderr] Compiling serde_repr v0.1.19 [INFO] [stderr] Compiling zvariant_derive v4.1.0 [INFO] [stderr] Compiling zbus_macros v4.2.1 [INFO] [stderr] Checking xdg-home v1.1.0 [INFO] [stderr] Checking filetime v0.2.23 [INFO] [stderr] Checking async-broadcast v0.7.0 [INFO] [stderr] Checking crossbeam-channel v0.5.13 [INFO] [stderr] Checking ordered-stream v0.2.0 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Checking winnow v0.6.8 [INFO] [stderr] Checking option-ext v0.2.0 [INFO] [stderr] Checking polling v3.7.0 [INFO] [stderr] Checking hex v0.4.3 [INFO] [stderr] Checking dirs-sys v0.4.1 [INFO] [stderr] Checking async-io v2.3.2 [INFO] [stderr] Checking notify v6.1.1 [INFO] [stderr] Checking nix v0.23.2 [INFO] [stderr] Compiling janitor-service v0.1.27 (/opt/rustwide/workdir) [INFO] [stderr] Checking widestring v0.4.3 [INFO] [stderr] Checking tray-item v0.9.0 [INFO] [stderr] Checking notify-debouncer-mini v0.4.1 [INFO] [stderr] Checking directories v5.0.1 [INFO] [stderr] Checking glob v0.3.1 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking single-instance v0.3.3 [INFO] [stderr] Checking enumflags2 v0.7.9 [INFO] [stderr] Checking serde_spanned v0.6.6 [INFO] [stderr] Checking toml_edit v0.22.13 [INFO] [stderr] Checking zvariant v4.1.0 [INFO] [stderr] Checking toml v0.8.13 [INFO] [stderr] Checking zbus_names v3.0.0 [INFO] [stderr] Checking zbus v4.2.1 [INFO] [stderr] Checking notify-rust v4.11.0 [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/main.rs:211:5 [INFO] [stdout] | [INFO] [stdout] 210 | fn move_files(paths: Paths, destination_path: PathBuf) -> usize { [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 211 | / paths [INFO] [stdout] 212 | | .filter_map(|f| f.ok()) [INFO] [stdout] 213 | | .map(|path| { [INFO] [stdout] 214 | | ( [INFO] [stdout] ... | [INFO] [stdout] 219 | | .map(|(from, to)| move_file(from, to)) [INFO] [stdout] 220 | | .filter_map(|f| f.ok()) [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/main.rs:229:9 [INFO] [stdout] | [INFO] [stdout] 227 | fs::rename(&from, &to).or_else(|_| { [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 228 | // try copy and delete if that does not work [INFO] [stdout] 229 | fs::copy(&from, &to).and_then(|_| { [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 `janitor-service` (bin "janitor-service" test) due to 3 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [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/main.rs:211:5 [INFO] [stdout] | [INFO] [stdout] 210 | fn move_files(paths: Paths, destination_path: PathBuf) -> usize { [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 211 | / paths [INFO] [stdout] 212 | | .filter_map(|f| f.ok()) [INFO] [stdout] 213 | | .map(|path| { [INFO] [stdout] 214 | | ( [INFO] [stdout] ... | [INFO] [stdout] 219 | | .map(|(from, to)| move_file(from, to)) [INFO] [stdout] 220 | | .filter_map(|f| f.ok()) [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/main.rs:229:9 [INFO] [stdout] | [INFO] [stdout] 227 | fs::rename(&from, &to).or_else(|_| { [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 228 | // try copy and delete if that does not work [INFO] [stdout] 229 | fs::copy(&from, &to).and_then(|_| { [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 `janitor-service` (bin "janitor-service") due to 3 previous errors [INFO] running `Command { std: "docker" "inspect" "99d6327f2e07151478d8e129b694e9798a677f2b998dd8ab1b825756085cc7ee", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "99d6327f2e07151478d8e129b694e9798a677f2b998dd8ab1b825756085cc7ee", kill_on_drop: false }` [INFO] [stdout] 99d6327f2e07151478d8e129b694e9798a677f2b998dd8ab1b825756085cc7ee