[INFO] fetching crate rust-tuya-mqtt 0.8.8... [INFO] checking rust-tuya-mqtt-0.8.8 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] extracting crate rust-tuya-mqtt 0.8.8 into /workspace/builds/worker-0-tc2/source [INFO] validating manifest of crates.io crate rust-tuya-mqtt 0.8.8 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 rust-tuya-mqtt 0.8.8 [INFO] finished tweaking crates.io crate rust-tuya-mqtt 0.8.8 [INFO] tweaked toml for crates.io crate rust-tuya-mqtt 0.8.8 written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] crate crates.io crate rust-tuya-mqtt 0.8.8 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-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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] cc6d26e76c8f181379c8f65ca5a35ac6e7d10ba3280f0f4465c998f644c74c69 [INFO] running `Command { std: "docker" "start" "-a" "cc6d26e76c8f181379c8f65ca5a35ac6e7d10ba3280f0f4465c998f644c74c69", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "cc6d26e76c8f181379c8f65ca5a35ac6e7d10ba3280f0f4465c998f644c74c69", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cc6d26e76c8f181379c8f65ca5a35ac6e7d10ba3280f0f4465c998f644c74c69", kill_on_drop: false }` [INFO] [stdout] cc6d26e76c8f181379c8f65ca5a35ac6e7d10ba3280f0f4465c998f644c74c69 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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] 0965c7479bd084929dc247f5746472affd1075ed1ce596bb734eafdf6d7c5a2a [INFO] running `Command { std: "docker" "start" "-a" "0965c7479bd084929dc247f5746472affd1075ed1ce596bb734eafdf6d7c5a2a", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling libc v0.2.147 [INFO] [stderr] Compiling proc-macro2 v1.0.66 [INFO] [stderr] Compiling unicode-ident v1.0.11 [INFO] [stderr] Compiling cc v1.0.79 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Checking once_cell v1.18.0 [INFO] [stderr] Checking log v0.4.19 [INFO] [stderr] Compiling pkg-config v0.3.27 [INFO] [stderr] Checking bytes v1.4.0 [INFO] [stderr] Checking itoa v1.0.9 [INFO] [stderr] Compiling rustls v0.20.8 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling lock_api v0.4.10 [INFO] [stderr] Compiling openssl-src v111.26.0+1.1.1u [INFO] [stderr] Compiling num-bigint v0.4.3 [INFO] [stderr] Compiling num-iter v0.1.43 [INFO] [stderr] Compiling quote v1.0.31 [INFO] [stderr] Compiling num-rational v0.4.1 [INFO] [stderr] Compiling futures-core v0.3.28 [INFO] [stderr] Compiling rustix v0.38.4 [INFO] [stderr] Compiling syn v2.0.26 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling serde v1.0.173 [INFO] [stderr] Compiling thiserror v1.0.43 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Compiling openssl-sys v0.9.90 [INFO] [stderr] Checking aho-corasick v1.0.2 [INFO] [stderr] Checking bitflags v2.3.3 [INFO] [stderr] Compiling crossbeam-utils v0.8.16 [INFO] [stderr] Checking regex-syntax v0.7.4 [INFO] [stderr] Checking socket2 v0.4.9 [INFO] [stderr] Checking mio v0.8.8 [INFO] [stderr] Checking getrandom v0.2.10 [INFO] [stderr] Compiling serde_derive v1.0.173 [INFO] [stderr] Compiling serde_json v1.0.103 [INFO] [stderr] Compiling openssl v0.10.55 [INFO] [stderr] Checking pin-project-lite v0.2.10 [INFO] [stderr] Checking foreign-types-shared v0.1.1 [INFO] [stderr] Checking linux-raw-sys v0.4.3 [INFO] [stderr] Checking foreign-types v0.3.2 [INFO] [stderr] Checking regex-automata v0.3.3 [INFO] [stderr] Checking nanorand v0.7.0 [INFO] [stderr] Checking num-complex v0.4.3 [INFO] [stderr] Checking spin v0.9.8 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Checking minimal-lexical v0.2.1 [INFO] [stderr] Checking webpki v0.22.0 [INFO] [stderr] Checking sct v0.7.0 [INFO] [stderr] Checking ryu v1.0.15 [INFO] [stderr] Compiling anyhow v1.0.72 [INFO] [stderr] Checking futures-sink v0.3.28 [INFO] [stderr] Checking rustls-pemfile v0.3.0 [INFO] [stderr] Checking num v0.4.1 [INFO] [stderr] Checking nom v7.1.3 [INFO] [stderr] Checking http v0.2.9 [INFO] [stderr] Checking regex v1.9.1 [INFO] [stderr] Compiling thiserror-impl v1.0.43 [INFO] [stderr] Compiling pin-project-internal v1.1.2 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling num-derive v0.4.0 [INFO] [stderr] Compiling tokio-macros v1.8.2 [INFO] [stderr] Checking tokio v1.17.0 [INFO] [stderr] Checking nix v0.26.2 [INFO] [stderr] Checking is-terminal v0.4.9 [INFO] [stderr] Checking time v0.1.45 [INFO] [stderr] Checking pin-project v1.1.2 [INFO] [stderr] Checking flume v0.10.14 [INFO] [stderr] Checking termcolor v1.2.0 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking pollster v0.2.5 [INFO] [stderr] Checking humantime v2.1.0 [INFO] [stderr] Checking json v0.12.4 [INFO] [stderr] Checking md5 v0.7.0 [INFO] [stderr] Checking iana-time-zone v0.1.57 [INFO] [stderr] Checking hex v0.4.3 [INFO] [stderr] Checking base64 v0.21.2 [INFO] [stderr] Checking atomic-counter v1.0.1 [INFO] [stderr] Checking chrono v0.4.26 [INFO] [stderr] Checking env_logger v0.10.0 [INFO] [stderr] Checking crossbeam-channel v0.5.8 [INFO] [stderr] Checking retry v1.3.1 [INFO] [stderr] Checking ctrlc v3.4.0 [INFO] [stderr] Checking tokio-rustls v0.23.3 [INFO] [stderr] Checking rumqttc v0.13.0 [INFO] [stderr] Checking rust-tuyapi v0.9.0 [INFO] [stderr] Checking rust-tuya-mqtt v0.8.8 (/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:24:10 [INFO] [stdout] | [INFO] [stdout] 24 | #[derive(Deserialize, Serialize, Debug, Clone, Copy, PartialEq)] [INFO] [stdout] | ^^^^^^^^^^^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [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] = note: this error originates in the macro `try` (in Nightly builds, run with -Z macro-backtrace for more info) [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:248:8 [INFO] [stdout] | [INFO] [stdout] 238 | fn read_devices(file: File) -> Result> { [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 241 | let file_reader = BufReader::new(file); [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 248 | Ok(Arc::new(map)) [INFO] [stdout] | ^^^^^^^^^^^^^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [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/main.rs:293:45 [INFO] [stdout] | [INFO] [stdout] 290 | Ok(n) => { [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 291 | // Give each thread an Arc of the devices [INFO] [stdout] 292 | let map = device_map.clone(); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 293 | thread::spawn(move || match handle_notification(n, &map) { [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 `rust-tuya-mqtt` (bin "rust-tuya-mqtt" test) due to 4 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:24:10 [INFO] [stdout] | [INFO] [stdout] 24 | #[derive(Deserialize, Serialize, Debug, Clone, Copy, PartialEq)] [INFO] [stdout] | ^^^^^^^^^^^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [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] = note: this error originates in the macro `try` (in Nightly builds, run with -Z macro-backtrace for more info) [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:248:8 [INFO] [stdout] | [INFO] [stdout] 238 | fn read_devices(file: File) -> Result> { [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 241 | let file_reader = BufReader::new(file); [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 248 | Ok(Arc::new(map)) [INFO] [stdout] | ^^^^^^^^^^^^^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [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/main.rs:293:45 [INFO] [stdout] | [INFO] [stdout] 290 | Ok(n) => { [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 291 | // Give each thread an Arc of the devices [INFO] [stdout] 292 | let map = device_map.clone(); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 293 | thread::spawn(move || match handle_notification(n, &map) { [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 `rust-tuya-mqtt` (bin "rust-tuya-mqtt") due to 4 previous errors [INFO] running `Command { std: "docker" "inspect" "0965c7479bd084929dc247f5746472affd1075ed1ce596bb734eafdf6d7c5a2a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0965c7479bd084929dc247f5746472affd1075ed1ce596bb734eafdf6d7c5a2a", kill_on_drop: false }` [INFO] [stdout] 0965c7479bd084929dc247f5746472affd1075ed1ce596bb734eafdf6d7c5a2a