[INFO] fetching crate paho-mqtt 0.12.5... [INFO] checking paho-mqtt-0.12.5 against try#7014e13d5becc920d4bea3cd87942c8a13d359bf+rustflags=-Dtail_expr_drop_order for pr-129864 [INFO] extracting crate paho-mqtt 0.12.5 into /workspace/builds/worker-1-tc2/source [INFO] validating manifest of crates.io crate paho-mqtt 0.12.5 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 paho-mqtt 0.12.5 [INFO] finished tweaking crates.io crate paho-mqtt 0.12.5 [INFO] tweaked toml for crates.io crate paho-mqtt 0.12.5 written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] crate crates.io crate paho-mqtt 0.12.5 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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] 390773077c90aea7b943efe9fe1452f1971ae70a6a17081be9b744fe4d453fac [INFO] running `Command { std: "docker" "start" "-a" "390773077c90aea7b943efe9fe1452f1971ae70a6a17081be9b744fe4d453fac", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "390773077c90aea7b943efe9fe1452f1971ae70a6a17081be9b744fe4d453fac", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "390773077c90aea7b943efe9fe1452f1971ae70a6a17081be9b744fe4d453fac", kill_on_drop: false }` [INFO] [stdout] 390773077c90aea7b943efe9fe1452f1971ae70a6a17081be9b744fe4d453fac [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] 640353fe7b12d9733336dac7d7c64c40613c5d7e949bc1f6c8175b093adb5f63 [INFO] running `Command { std: "docker" "start" "-a" "640353fe7b12d9733336dac7d7c64c40613c5d7e949bc1f6c8175b093adb5f63", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.149 [INFO] [stderr] Checking memchr v2.6.4 [INFO] [stderr] Compiling proc-macro2 v1.0.69 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Checking futures-io v0.3.28 [INFO] [stderr] Compiling crossbeam-utils v0.8.16 [INFO] [stderr] Checking value-bag v1.4.2 [INFO] [stderr] Checking event-listener v2.5.3 [INFO] [stderr] Compiling futures-channel v0.3.28 [INFO] [stderr] Compiling io-lifetimes v1.0.11 [INFO] [stderr] Compiling vcpkg v0.2.15 [INFO] [stderr] Checking fastrand v1.9.0 [INFO] [stderr] Checking parking v2.2.0 [INFO] [stderr] Compiling pkg-config v0.3.27 [INFO] [stderr] Checking waker-fn v1.1.1 [INFO] [stderr] Compiling polling v2.8.0 [INFO] [stderr] Checking futures-sink v0.3.28 [INFO] [stderr] Checking async-lock v2.8.0 [INFO] [stderr] Compiling rustix v0.37.26 [INFO] [stderr] Checking fastrand v2.0.1 [INFO] [stderr] Compiling async-io v1.13.0 [INFO] [stderr] Checking atomic-waker v1.1.2 [INFO] [stderr] Checking async-task v4.5.0 [INFO] [stderr] Checking log v0.4.20 [INFO] [stderr] Checking tracing-core v0.1.32 [INFO] [stderr] Checking linux-raw-sys v0.3.8 [INFO] [stderr] Compiling serde v1.0.189 [INFO] [stderr] Checking piper v0.2.1 [INFO] [stderr] Compiling thiserror v1.0.50 [INFO] [stderr] Checking regex-syntax v0.8.2 [INFO] [stderr] Checking unicode-width v0.1.11 [INFO] [stderr] Compiling serde_json v1.0.107 [INFO] [stderr] Checking futures-lite v1.13.0 [INFO] [stderr] Checking aho-corasick v1.1.2 [INFO] [stderr] Checking bitflags v2.4.1 [INFO] [stderr] Checking humantime v1.3.0 [INFO] [stderr] Checking kv-log-macro v1.0.7 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking ansi_term v0.12.1 [INFO] [stderr] Checking termcolor v1.3.0 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Checking concurrent-queue v2.3.0 [INFO] [stderr] Checking crossbeam-channel v0.5.8 [INFO] [stderr] Checking strsim v0.8.0 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Checking vec_map v0.8.2 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking async-channel v1.9.0 [INFO] [stderr] Compiling syn v2.0.38 [INFO] [stderr] Checking blocking v1.4.1 [INFO] [stderr] Checking async-executor v1.6.0 [INFO] [stderr] Compiling cc v1.0.83 [INFO] [stderr] Checking socket2 v0.4.10 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking nix v0.27.1 [INFO] [stderr] Checking clap v2.34.0 [INFO] [stderr] Compiling cmake v0.1.50 [INFO] [stderr] Compiling openssl-sys v0.9.93 [INFO] [stderr] Checking regex-automata v0.4.3 [INFO] [stderr] Compiling paho-mqtt-sys v0.9.0 [INFO] [stderr] Checking ctrlc v3.4.1 [INFO] [stderr] Checking toml v0.5.11 [INFO] [stderr] Checking async-global-executor v2.3.1 [INFO] [stderr] Checking async-std v1.12.0 [INFO] [stderr] Compiling futures-macro v0.3.28 [INFO] [stderr] Compiling thiserror-impl v1.0.50 [INFO] [stderr] Compiling serde_derive v1.0.189 [INFO] [stderr] Checking regex v1.10.2 [INFO] [stderr] Checking env_logger v0.7.1 [INFO] [stderr] Checking futures-util v0.3.28 [INFO] [stderr] Checking futures-executor v0.3.28 [INFO] [stderr] Checking futures v0.3.28 [INFO] [stderr] Checking paho-mqtt v0.12.5 (/opt/rustwide/workdir) [INFO] [stdout] error: this value of type `Option` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/token.rs:331:30 [INFO] [stdout] | [INFO] [stdout] 286 | let tok = Token::from_raw(context); [INFO] [stdout] | --- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 320 | let mut data = tok.inner.lock.lock().unwrap(); [INFO] [stdout] | -------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 331 | if let Some(waker) = data.waker.take() { [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 `Option` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/token.rs:391:30 [INFO] [stdout] | [INFO] [stdout] 369 | let mut data = self.lock.lock().unwrap(); [INFO] [stdout] | -------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 391 | if let Some(waker) = data.waker.take() { [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: this value of type `Option` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/token.rs:451:30 [INFO] [stdout] | [INFO] [stdout] 429 | let mut data = self.lock.lock().unwrap(); [INFO] [stdout] | -------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 451 | if let Some(waker) = data.waker.take() { [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: this value of type `RwLockWriteGuard<'_, Vec<&str>>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/async_client.rs:1371:17 [INFO] [stdout] | [INFO] [stdout] 1349 | let cli = CreateOptionsBuilder::new() [INFO] [stdout] | --- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1371 | let mut v = lock.write().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] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `paho-mqtt` (lib) due to 4 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: this value of type `Option` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/token.rs:331:30 [INFO] [stdout] | [INFO] [stdout] 286 | let tok = Token::from_raw(context); [INFO] [stdout] | --- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 320 | let mut data = tok.inner.lock.lock().unwrap(); [INFO] [stdout] | -------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 331 | if let Some(waker) = data.waker.take() { [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: this value of type `Option` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/token.rs:391:30 [INFO] [stdout] | [INFO] [stdout] 369 | let mut data = self.lock.lock().unwrap(); [INFO] [stdout] | -------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 391 | if let Some(waker) = data.waker.take() { [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: this value of type `Option` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/token.rs:451:30 [INFO] [stdout] | [INFO] [stdout] 429 | let mut data = self.lock.lock().unwrap(); [INFO] [stdout] | -------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 451 | if let Some(waker) = data.waker.take() { [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: this value of type `Option>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/token.rs:831:15 [INFO] [stdout] | [INFO] [stdout] 805 | let mut tok = Token::from_error(ERR_CODE); [INFO] [stdout] | ------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 814 | let mut tok = Token::new(); [INFO] [stdout] | ------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 831 | match tok.try_wait() { [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 5 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `paho-mqtt` (lib test) due to 6 previous errors [INFO] running `Command { std: "docker" "inspect" "640353fe7b12d9733336dac7d7c64c40613c5d7e949bc1f6c8175b093adb5f63", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "640353fe7b12d9733336dac7d7c64c40613c5d7e949bc1f6c8175b093adb5f63", kill_on_drop: false }` [INFO] [stdout] 640353fe7b12d9733336dac7d7c64c40613c5d7e949bc1f6c8175b093adb5f63