[INFO] fetching crate battery-notify 0.3.4... [INFO] checking battery-notify-0.3.4 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] extracting crate battery-notify 0.3.4 into /workspace/builds/worker-2-tc2/source [INFO] validating manifest of crates.io crate battery-notify 0.3.4 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 battery-notify 0.3.4 [INFO] finished tweaking crates.io crate battery-notify 0.3.4 [INFO] tweaked toml for crates.io crate battery-notify 0.3.4 written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] crate crates.io crate battery-notify 0.3.4 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] [stderr] Blocking waiting for file lock on package cache [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] 118466397f9a01d624da4657b99d633a9d43632d2134b3a0ed322a05f52f0508 [INFO] running `Command { std: "docker" "start" "-a" "118466397f9a01d624da4657b99d633a9d43632d2134b3a0ed322a05f52f0508", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "118466397f9a01d624da4657b99d633a9d43632d2134b3a0ed322a05f52f0508", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "118466397f9a01d624da4657b99d633a9d43632d2134b3a0ed322a05f52f0508", kill_on_drop: false }` [INFO] [stdout] 118466397f9a01d624da4657b99d633a9d43632d2134b3a0ed322a05f52f0508 [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] 465e9b4ba71e0a1c2328bb7e0e925c2e4238bc15bef6674c6aa6df3fcb5be16d [INFO] running `Command { std: "docker" "start" "-a" "465e9b4ba71e0a1c2328bb7e0e925c2e4238bc15bef6674c6aa6df3fcb5be16d", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.83 [INFO] [stderr] Compiling libc v0.2.155 [INFO] [stderr] Compiling serde v1.0.202 [INFO] [stderr] Compiling toml_datetime v0.6.6 [INFO] [stderr] Compiling winnow v0.5.40 [INFO] [stderr] Compiling indexmap v2.2.6 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Checking fastrand v2.1.0 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking async-task v4.7.1 [INFO] [stderr] Checking atomic-waker v1.1.2 [INFO] [stderr] Checking static_assertions v1.1.0 [INFO] [stderr] Checking event-listener v4.0.3 [INFO] [stderr] Checking event-listener v5.3.0 [INFO] [stderr] Checking bitflags v2.5.0 [INFO] [stderr] Compiling memoffset v0.9.1 [INFO] [stderr] Compiling memoffset v0.7.1 [INFO] [stderr] Compiling cfg_aliases v0.1.1 [INFO] [stderr] Compiling rustix v0.38.34 [INFO] [stderr] Checking futures-lite v2.3.0 [INFO] [stderr] Checking piper v0.2.2 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Compiling nix v0.28.0 [INFO] [stderr] Checking event-listener-strategy v0.5.2 [INFO] [stderr] Checking event-listener-strategy v0.4.0 [INFO] [stderr] Compiling memchr v2.7.2 [INFO] [stderr] Checking ppv-lite86 v0.2.17 [INFO] [stderr] Compiling io-lifetimes v1.0.11 [INFO] [stderr] Checking async-channel v2.3.1 [INFO] [stderr] Compiling polling v2.8.0 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling rustix v0.37.27 [INFO] [stderr] Checking async-lock v3.3.0 [INFO] [stderr] Compiling regex-syntax v0.8.3 [INFO] [stderr] Checking cpufeatures v0.2.12 [INFO] [stderr] Checking endi v1.1.0 [INFO] [stderr] Checking futures-lite v1.13.0 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling ahash v0.7.8 [INFO] [stderr] Checking async-lock v2.8.0 [INFO] [stderr] Compiling async-io v1.13.0 [INFO] [stderr] Checking blocking v1.6.0 [INFO] [stderr] Checking async-executor v1.11.0 [INFO] [stderr] Checking ordered-stream v0.2.0 [INFO] [stderr] Compiling async-fs v1.6.0 [INFO] [stderr] Checking winnow v0.6.8 [INFO] [stderr] Compiling syn v2.0.66 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Checking linux-raw-sys v0.3.8 [INFO] [stderr] Checking option-ext v0.2.0 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking async-fs v2.1.2 [INFO] [stderr] Checking sha1 v0.10.6 [INFO] [stderr] Checking async-broadcast v0.7.0 [INFO] [stderr] Compiling x11rb v0.12.0 [INFO] [stderr] Checking async-broadcast v0.5.1 [INFO] [stderr] Checking env_logger v0.10.2 [INFO] [stderr] Checking sd-notify v0.4.1 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Checking xdg-home v1.1.0 [INFO] [stderr] Checking nix v0.26.4 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Checking net2 v0.2.39 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking dirs-sys v0.4.1 [INFO] [stderr] Checking socket2 v0.4.10 [INFO] [stderr] Checking directories v5.0.1 [INFO] [stderr] Checking mio v0.6.23 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking gethostname v0.3.0 [INFO] [stderr] Checking hashbrown v0.12.3 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Compiling regex-automata v0.4.6 [INFO] [stderr] Checking cancellable-timer v0.1.0 [INFO] [stderr] Compiling toml_edit v0.21.1 [INFO] [stderr] Compiling toml_edit v0.19.15 [INFO] [stderr] Checking x11rb-protocol v0.12.0 [INFO] [stderr] Checking ctrlc v3.4.4 [INFO] [stderr] Compiling proc-macro-crate v1.3.1 [INFO] [stderr] Compiling proc-macro-crate v3.1.0 [INFO] [stderr] Compiling zvariant_utils v2.0.0 [INFO] [stderr] Compiling regex v1.10.4 [INFO] [stderr] Compiling serde_derive v1.0.202 [INFO] [stderr] Compiling enumflags2_derive v0.7.9 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling zvariant_derive v4.1.1 [INFO] [stderr] Compiling serde_repr v0.1.19 [INFO] [stderr] Compiling async-trait v0.1.80 [INFO] [stderr] Compiling zbus_macros v4.2.2 [INFO] [stderr] Compiling thiserror-impl v1.0.61 [INFO] [stderr] Compiling async-recursion v1.1.1 [INFO] [stderr] Compiling zvariant_utils v1.0.1 [INFO] [stderr] Checking thiserror v1.0.61 [INFO] [stderr] Compiling zvariant_derive v3.15.2 [INFO] [stderr] Compiling derivative v2.2.0 [INFO] [stderr] Compiling zbus_macros v3.15.2 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Checking polling v3.7.0 [INFO] [stderr] Checking async-io v2.3.2 [INFO] [stderr] Checking enumflags2 v0.7.9 [INFO] [stderr] Checking serde_spanned v0.6.6 [INFO] [stderr] Checking serde_plain v1.0.2 [INFO] [stderr] Checking toml_edit v0.22.13 [INFO] [stderr] Checking zvariant v4.1.1 [INFO] [stderr] Checking zvariant v3.15.2 [INFO] [stderr] Checking zbus_names v2.6.1 [INFO] [stderr] Checking zbus v3.15.2 [INFO] [stderr] Checking toml v0.8.13 [INFO] [stderr] Checking confy v0.6.1 [INFO] [stderr] Checking zbus_names v3.0.0 [INFO] [stderr] Checking zbus v4.2.2 [INFO] [stderr] Checking notify-rust v4.11.0 [INFO] [stderr] Checking battery-notify v0.3.4 (/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/main.rs:154:60 [INFO] [stdout] | [INFO] [stdout] 154 | .or_insert_with(|| (bbat.name.clone(), SingleNotification::default())); [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/bluetooth.rs:18:50 [INFO] [stdout] | [INFO] [stdout] 18 | static CONN: Lazy = Lazy::new(|| Connection::system().unwrap()); [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/bluetooth.rs:35:31 [INFO] [stdout] | [INFO] [stdout] 35 | .and_then(|p| p.clone().downcast::())?; [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/bluetooth.rs:39:31 [INFO] [stdout] | [INFO] [stdout] 39 | .and_then(|n| n.clone().downcast::())?; [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 4 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `battery-notify` (bin "battery-notify") due to 5 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:154:60 [INFO] [stdout] | [INFO] [stdout] 154 | .or_insert_with(|| (bbat.name.clone(), SingleNotification::default())); [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/bluetooth.rs:18:50 [INFO] [stdout] | [INFO] [stdout] 18 | static CONN: Lazy = Lazy::new(|| Connection::system().unwrap()); [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/bluetooth.rs:35:31 [INFO] [stdout] | [INFO] [stdout] 35 | .and_then(|p| p.clone().downcast::())?; [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/bluetooth.rs:39:31 [INFO] [stdout] | [INFO] [stdout] 39 | .and_then(|n| n.clone().downcast::())?; [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 4 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `battery-notify` (bin "battery-notify" test) due to 5 previous errors [INFO] running `Command { std: "docker" "inspect" "465e9b4ba71e0a1c2328bb7e0e925c2e4238bc15bef6674c6aa6df3fcb5be16d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "465e9b4ba71e0a1c2328bb7e0e925c2e4238bc15bef6674c6aa6df3fcb5be16d", kill_on_drop: false }` [INFO] [stdout] 465e9b4ba71e0a1c2328bb7e0e925c2e4238bc15bef6674c6aa6df3fcb5be16d