[INFO] fetching crate h2 0.4.6... [INFO] checking h2-0.4.6 against try#7014e13d5becc920d4bea3cd87942c8a13d359bf+rustflags=-Dtail_expr_drop_order for pr-129864 [INFO] extracting crate h2 0.4.6 into /workspace/builds/worker-3-tc2/source [INFO] validating manifest of crates.io crate h2 0.4.6 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 h2 0.4.6 [INFO] removed 0 missing examples [INFO] finished tweaking crates.io crate h2 0.4.6 [INFO] tweaked toml for crates.io crate h2 0.4.6 written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] crate crates.io crate h2 0.4.6 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-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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+7014e13d5becc920d4bea3cd87942c8a13d359bf" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 411c32a8096fdb531b6ad3f34ad4f49da892e61cd5f888618c871816760eeda4 [INFO] running `Command { std: "docker" "start" "-a" "411c32a8096fdb531b6ad3f34ad4f49da892e61cd5f888618c871816760eeda4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "411c32a8096fdb531b6ad3f34ad4f49da892e61cd5f888618c871816760eeda4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "411c32a8096fdb531b6ad3f34ad4f49da892e61cd5f888618c871816760eeda4", kill_on_drop: false }` [INFO] [stdout] 411c32a8096fdb531b6ad3f34ad4f49da892e61cd5f888618c871816760eeda4 [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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+7014e13d5becc920d4bea3cd87942c8a13d359bf" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0e38df4af07fac41e3fe632406e74c1679f8852e2fa4a05422cff8bb8df35d40 [INFO] running `Command { std: "docker" "start" "-a" "0e38df4af07fac41e3fe632406e74c1679f8852e2fa4a05422cff8bb8df35d40", kill_on_drop: false }` [INFO] [stderr] Compiling fs_extra v1.3.0 [INFO] [stderr] Compiling dunce v1.0.5 [INFO] [stderr] Compiling aws-lc-rs v1.8.1 [INFO] [stderr] Checking bytes v1.7.1 [INFO] [stderr] Checking mirai-annotations v1.12.0 [INFO] [stderr] Compiling libc v0.2.155 [INFO] [stderr] Checking log v0.4.22 [INFO] [stderr] Compiling rustls v0.23.12 [INFO] [stderr] Compiling serde v1.0.204 [INFO] [stderr] Checking mio v1.0.1 [INFO] [stderr] Compiling serde_json v1.0.122 [INFO] [stderr] Compiling syn v2.0.72 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Checking memchr v2.7.4 [INFO] [stderr] Checking indexmap v2.3.0 [INFO] [stderr] Checking env_logger v0.10.2 [INFO] [stderr] Checking http v1.1.0 [INFO] [stderr] Compiling jobserver v0.1.32 [INFO] [stderr] Compiling cc v1.1.7 [INFO] [stderr] Compiling cmake v0.1.50 [INFO] [stderr] Compiling aws-lc-sys v0.20.1 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling zeroize_derive v1.4.2 [INFO] [stderr] Compiling tokio-macros v2.4.0 [INFO] [stderr] Checking zeroize v1.8.1 [INFO] [stderr] Checking tokio v1.39.2 [INFO] [stderr] Checking zerocopy v0.7.35 [INFO] [stderr] Checking ppv-lite86 v0.2.20 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking quickcheck v1.0.3 [INFO] [stderr] Checking tokio-util v0.7.11 [INFO] [stderr] Checking h2 v0.4.6 (/opt/rustwide/workdir) [INFO] [stdout] error: this value of type `Poll>>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/codec/framed_read.rs:384:38 [INFO] [stdout] | [INFO] [stdout] 380 | let span = tracing::trace_span!("FramedRead::poll_next"); [INFO] [stdout] | ---- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 381 | let _e = span.enter(); [INFO] [stdout] | -- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 384 | let bytes = match ready!(Pin::new(&mut self.inner).poll_next(cx)) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:101:9 [INFO] [stdout] | [INFO] [stdout] 101 | / match $e { [INFO] [stdout] 102 | | ::std::task::Poll::Ready(r) => r, [INFO] [stdout] 103 | | ::std::task::Poll::Pending => return ::std::task::Poll::Pending, [INFO] [stdout] 104 | | } [INFO] [stdout] | | - [INFO] [stdout] | |_________| [INFO] [stdout] | |_________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may 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] [INFO] [stdout] [INFO] [stderr] Checking rustls-webpki v0.102.6 [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/proto/streams/prioritize.rs:588:30 [INFO] [stdout] | [INFO] [stdout] 584 | let span = tracing::trace_span!("try_reclaim_frame"); [INFO] [stdout] | ---- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 585 | let _e = span.enter(); [INFO] [stdout] | -- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 588 | if let Some(frame) = dst.take_last_data_frame() { [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 `Poll>>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/share.rs:431:22 [INFO] [stdout] | [INFO] [stdout] 431 | match ready!(self.inner.inner.poll_trailers(cx)) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:101:9 [INFO] [stdout] | [INFO] [stdout] 101 | / match $e { [INFO] [stdout] 102 | | ::std::task::Poll::Ready(r) => r, [INFO] [stdout] 103 | | ::std::task::Poll::Pending => return ::std::task::Poll::Pending, [INFO] [stdout] 104 | | } [INFO] [stdout] | | - [INFO] [stdout] | |_________| [INFO] [stdout] | |_________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may 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: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `h2` (lib) due to 4 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "0e38df4af07fac41e3fe632406e74c1679f8852e2fa4a05422cff8bb8df35d40", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0e38df4af07fac41e3fe632406e74c1679f8852e2fa4a05422cff8bb8df35d40", kill_on_drop: false }` [INFO] [stdout] 0e38df4af07fac41e3fe632406e74c1679f8852e2fa4a05422cff8bb8df35d40