[INFO] fetching crate h2 0.4.6... [INFO] checking h2-0.4.6 against try#c387b04bf028733cd561d62128c8a5eee4bc1458+rustflags=-Dtail_expr_drop_order for pr-130930 [INFO] extracting crate h2 0.4.6 into /workspace/builds/worker-4-tc2/source [INFO] validating manifest of crates.io crate h2 0.4.6 on toolchain c387b04bf028733cd561d62128c8a5eee4bc1458 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "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-4-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" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 755b51e00cd6c58b98242d5bba8aa4d6a3164d9416a6cf9fca58e5407154e056 [INFO] running `Command { std: "docker" "start" "-a" "755b51e00cd6c58b98242d5bba8aa4d6a3164d9416a6cf9fca58e5407154e056", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "755b51e00cd6c58b98242d5bba8aa4d6a3164d9416a6cf9fca58e5407154e056", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "755b51e00cd6c58b98242d5bba8aa4d6a3164d9416a6cf9fca58e5407154e056", kill_on_drop: false }` [INFO] [stdout] 755b51e00cd6c58b98242d5bba8aa4d6a3164d9416a6cf9fca58e5407154e056 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] af60b86d3d0b1fdba9e7b61d4bfce5a869828092447a37d7194c3aef2f8cf7a0 [INFO] running `Command { std: "docker" "start" "-a" "af60b86d3d0b1fdba9e7b61d4bfce5a869828092447a37d7194c3aef2f8cf7a0", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.155 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling fs_extra v1.3.0 [INFO] [stderr] Compiling dunce v1.0.5 [INFO] [stderr] Compiling paste v1.0.15 [INFO] [stderr] Compiling aws-lc-rs v1.8.1 [INFO] [stderr] Checking bytes v1.7.1 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Checking rustls-pki-types v1.7.0 [INFO] [stderr] Checking mirai-annotations v1.12.0 [INFO] [stderr] Compiling autocfg v1.3.0 [INFO] [stderr] Checking log v0.4.22 [INFO] [stderr] Compiling rustls v0.23.12 [INFO] [stderr] Compiling serde v1.0.204 [INFO] [stderr] Compiling serde_json v1.0.122 [INFO] [stderr] Checking indexmap v2.3.0 [INFO] [stderr] Checking atomic-waker v1.1.2 [INFO] [stderr] Checking same-file v1.0.6 [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Checking hex v0.4.3 [INFO] [stderr] Checking walkdir v2.5.0 [INFO] [stderr] Checking env_logger v0.10.2 [INFO] [stderr] Checking webpki-roots v0.26.3 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Checking http v1.1.0 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling syn v2.0.72 [INFO] [stderr] Compiling jobserver v0.1.32 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Checking mio v1.0.1 [INFO] [stderr] Checking socket2 v0.5.7 [INFO] [stderr] Checking rand_core v0.6.4 [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 tokio v1.39.2 [INFO] [stderr] Checking zeroize v1.8.1 [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] [stderr] Checking rustls-webpki v0.102.6 [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] | [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/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" "af60b86d3d0b1fdba9e7b61d4bfce5a869828092447a37d7194c3aef2f8cf7a0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "af60b86d3d0b1fdba9e7b61d4bfce5a869828092447a37d7194c3aef2f8cf7a0", kill_on_drop: false }` [INFO] [stdout] af60b86d3d0b1fdba9e7b61d4bfce5a869828092447a37d7194c3aef2f8cf7a0