[INFO] fetching crate libp2p-broadcast 0.12.0... [INFO] checking libp2p-broadcast-0.12.0 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] extracting crate libp2p-broadcast 0.12.0 into /workspace/builds/worker-2-tc2/source [INFO] validating manifest of crates.io crate libp2p-broadcast 0.12.0 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 libp2p-broadcast 0.12.0 [INFO] finished tweaking crates.io crate libp2p-broadcast 0.12.0 [INFO] tweaked toml for crates.io crate libp2p-broadcast 0.12.0 written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 156 packages to latest compatible versions [INFO] [stderr] Adding base16ct v0.1.1 (latest: v0.2.0) [INFO] [stderr] Adding block-buffer v0.9.0 (latest: v0.10.4) [INFO] [stderr] Adding bs58 v0.4.0 (latest: v0.5.1) [INFO] [stderr] Adding curve25519-dalek v3.2.0 (latest: v4.1.3) [INFO] [stderr] Adding der v0.6.1 (latest: v0.7.9) [INFO] [stderr] Adding digest v0.9.0 (latest: v0.10.7) [INFO] [stderr] Adding ed25519 v1.5.3 (latest: v2.2.3) [INFO] [stderr] Adding ed25519-dalek v1.0.1 (latest: v2.1.1) [INFO] [stderr] Adding fixedbitset v0.4.2 (latest: v0.5.7) [INFO] [stderr] Adding generic-array v0.14.7 (latest: v1.1.0) [INFO] [stderr] Adding getrandom v0.1.16 (latest: v0.2.15) [INFO] [stderr] Adding heck v0.4.1 (latest: v0.5.0) [INFO] [stderr] Adding hermit-abi v0.3.9 (latest: v0.4.0) [INFO] [stderr] Adding idna v0.5.0 (latest: v1.0.2) [INFO] [stderr] Adding itertools v0.10.5 (latest: v0.13.0) [INFO] [stderr] Adding libp2p v0.50.1 (latest: v0.54.1) [INFO] [stderr] Adding libp2p-core v0.38.0 (latest: v0.42.0) [INFO] [stderr] Adding libp2p-swarm v0.41.1 (latest: v0.45.1) [INFO] [stderr] Adding linux-raw-sys v0.4.14 (latest: v0.6.5) [INFO] [stderr] Adding multiaddr v0.16.0 (latest: v0.18.1) [INFO] [stderr] Adding multihash v0.16.3 (latest: v0.19.1) [INFO] [stderr] Adding multihash-derive v0.8.1 (latest: v0.9.0) [INFO] [stderr] Adding multimap v0.8.3 (latest: v0.10.0) [INFO] [stderr] Adding multistream-select v0.12.1 (latest: v0.13.0) [INFO] [stderr] Adding pkcs8 v0.9.0 (latest: v0.10.2) [INFO] [stderr] Adding prettyplease v0.1.25 (latest: v0.2.22) [INFO] [stderr] Adding proc-macro-crate v1.1.3 (latest: v3.2.0) [INFO] [stderr] Adding prost v0.11.9 (latest: v0.13.2) [INFO] [stderr] Adding prost-build v0.11.9 (latest: v0.13.2) [INFO] [stderr] Adding prost-derive v0.11.9 (latest: v0.13.2) [INFO] [stderr] Adding prost-types v0.11.9 (latest: v0.13.2) [INFO] [stderr] Adding rand v0.7.3 (latest: v0.8.5) [INFO] [stderr] Adding rand_chacha v0.2.2 (latest: v0.3.1) [INFO] [stderr] Adding rand_core v0.5.1 (latest: v0.6.4) [INFO] [stderr] Adding rand_hc v0.2.0 (latest: v0.3.2) [INFO] [stderr] Adding rw-stream-sink v0.3.0 (latest: v0.4.0) [INFO] [stderr] Adding sec1 v0.3.0 (latest: v0.7.3) [INFO] [stderr] Adding sha2 v0.9.9 (latest: v0.10.8) [INFO] [stderr] Adding signature v1.6.4 (latest: v2.2.0) [INFO] [stderr] Adding spki v0.6.0 (latest: v0.7.3) [INFO] [stderr] Adding syn v1.0.109 (latest: v2.0.77) [INFO] [stderr] Adding synstructure v0.12.6 (latest: v0.13.1) [INFO] [stderr] Adding toml v0.5.11 (latest: v0.8.19) [INFO] [stderr] Adding unsigned-varint v0.7.2 (latest: v0.8.0) [INFO] [stderr] Adding wasi v0.9.0+wasi-snapshot-preview1 (latest: v0.13.2+wasi-0.2.1) [INFO] [stderr] Adding wasi v0.11.0+wasi-snapshot-preview1 (latest: v0.13.2+wasi-0.2.1) [INFO] [stderr] Adding which v4.4.2 (latest: v6.0.3) [INFO] [stderr] Adding windows-sys v0.52.0 (latest: v0.59.0) [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] f2565600c3f5df35dbd70b6b55d2d2463a05b1bec4aebc29e6d14129615fe689 [INFO] running `Command { std: "docker" "start" "-a" "f2565600c3f5df35dbd70b6b55d2d2463a05b1bec4aebc29e6d14129615fe689", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f2565600c3f5df35dbd70b6b55d2d2463a05b1bec4aebc29e6d14129615fe689", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f2565600c3f5df35dbd70b6b55d2d2463a05b1bec4aebc29e6d14129615fe689", kill_on_drop: false }` [INFO] [stdout] f2565600c3f5df35dbd70b6b55d2d2463a05b1bec4aebc29e6d14129615fe689 [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] f4bec6e4c79a45372a572ebbd157d85ab4c17c86548801ac04a499089d7f2e8d [INFO] running `Command { std: "docker" "start" "-a" "f4bec6e4c79a45372a572ebbd157d85ab4c17c86548801ac04a499089d7f2e8d", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling libc v0.2.158 [INFO] [stderr] Compiling either v1.13.0 [INFO] [stderr] Compiling serde v1.0.209 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Compiling anyhow v1.0.86 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling rustix v0.38.35 [INFO] [stderr] Checking futures-core v0.3.30 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Checking futures-sink v0.3.30 [INFO] [stderr] Compiling linux-raw-sys v0.4.14 [INFO] [stderr] Compiling bitflags v2.6.0 [INFO] [stderr] Checking futures-channel v0.3.30 [INFO] [stderr] Checking futures-task v0.3.30 [INFO] [stderr] Compiling equivalent v1.0.1 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Checking futures-io v0.3.30 [INFO] [stderr] Compiling prettyplease v0.1.25 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Compiling bytes v1.7.1 [INFO] [stderr] Compiling syn v2.0.77 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling regex-syntax v0.8.4 [INFO] [stderr] Compiling indexmap v2.5.0 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling fastrand v2.1.1 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Compiling home v0.5.9 [INFO] [stderr] Checking const-oid v0.9.6 [INFO] [stderr] Compiling unicode-xid v0.2.5 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling fixedbitset v0.4.2 [INFO] [stderr] Compiling data-encoding v2.6.0 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Checking digest v0.9.0 [INFO] [stderr] Compiling petgraph v0.6.5 [INFO] [stderr] Checking smallvec v1.13.2 [INFO] [stderr] Checking unsigned-varint v0.7.2 [INFO] [stderr] Compiling log v0.4.22 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Compiling tempfile v3.12.0 [INFO] [stderr] Compiling which v4.4.2 [INFO] [stderr] Compiling regex-automata v0.4.7 [INFO] [stderr] Checking base64ct v1.6.0 [INFO] [stderr] Compiling multimap v0.8.3 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking core2 v0.4.0 [INFO] [stderr] Checking block-buffer v0.9.0 [INFO] [stderr] Checking subtle v2.6.1 [INFO] [stderr] Checking opaque-debug v0.3.1 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Checking base-x v0.2.11 [INFO] [stderr] Checking signature v1.6.4 [INFO] [stderr] Checking static_assertions v1.1.0 [INFO] [stderr] Checking lock_api v0.4.12 [INFO] [stderr] Compiling toml v0.5.11 [INFO] [stderr] Checking ed25519 v1.5.3 [INFO] [stderr] Checking sha2 v0.9.9 [INFO] [stderr] Checking url v2.5.2 [INFO] [stderr] Checking parking_lot_core v0.9.10 [INFO] [stderr] Checking base16ct v0.1.1 [INFO] [stderr] Checking arrayref v0.3.8 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Checking instant v0.1.13 [INFO] [stderr] Checking futures-timer v3.0.3 [INFO] [stderr] Checking bs58 v0.4.0 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Checking asn1_der v0.7.6 [INFO] [stderr] Compiling synstructure v0.12.6 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling regex v1.10.6 [INFO] [stderr] Compiling prost-derive v0.11.9 [INFO] [stderr] Compiling data-encoding-macro-internal v0.1.13 [INFO] [stderr] Compiling zeroize_derive v1.4.2 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling thiserror-impl v1.0.63 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Compiling pin-project-internal v1.1.5 [INFO] [stderr] Checking data-encoding-macro v0.1.15 [INFO] [stderr] Checking multibase v0.9.1 [INFO] [stderr] Checking zerocopy v0.7.35 [INFO] [stderr] Checking zeroize v1.8.1 [INFO] [stderr] Checking der v0.6.1 [INFO] [stderr] Checking curve25519-dalek v3.2.0 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Checking pin-project v1.1.5 [INFO] [stderr] Compiling thiserror v1.0.63 [INFO] [stderr] Compiling proc-macro-crate v1.1.3 [INFO] [stderr] Compiling multihash-derive v0.8.1 [INFO] [stderr] Checking ppv-lite86 v0.2.20 [INFO] [stderr] Compiling prost v0.11.9 [INFO] [stderr] Checking spki v0.6.0 [INFO] [stderr] Checking pkcs8 v0.9.0 [INFO] [stderr] Checking sec1 v0.3.0 [INFO] [stderr] Checking multihash v0.16.3 [INFO] [stderr] Checking multiaddr v0.16.0 [INFO] [stderr] Compiling prost-types v0.11.9 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking ed25519-dalek v1.0.1 [INFO] [stderr] Compiling prost-build v0.11.9 [INFO] [stderr] Compiling libp2p-core v0.38.0 [INFO] [stderr] Checking futures-executor v0.3.30 [INFO] [stderr] Checking futures v0.3.30 [INFO] [stderr] Checking rw-stream-sink v0.3.0 [INFO] [stderr] Checking multistream-select v0.12.1 [INFO] [stderr] Checking libp2p-swarm v0.41.1 [INFO] [stderr] Checking libp2p v0.50.1 [INFO] [stderr] Checking libp2p-broadcast v0.12.0 (/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/protocol.rs:132:18 [INFO] [stdout] | [INFO] [stdout] 131 | fn upgrade_inbound(self, mut socket: TSocket, _info: Self::Info) -> Self::Future { [INFO] [stdout] | ------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 132 | Box::pin(async move { [INFO] [stdout] | __________________^ [INFO] [stdout] 133 | | let packet = upgrade::read_length_prefixed(&mut socket, self.max_buf_size).await?; [INFO] [stdout] 134 | | socket.close().await?; [INFO] [stdout] 135 | | let request = Message::from_bytes(&packet)?; [INFO] [stdout] 136 | | Ok(request) [INFO] [stdout] 137 | | }) [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/protocol.rs:159:18 [INFO] [stdout] | [INFO] [stdout] 158 | fn upgrade_outbound(self, mut socket: TSocket, _info: Self::Info) -> Self::Future { [INFO] [stdout] | ---- ------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 159 | Box::pin(async move { [INFO] [stdout] | __________________^ [INFO] [stdout] 160 | | let bytes = self.to_bytes(); [INFO] [stdout] 161 | | upgrade::write_length_prefixed(&mut socket, bytes).await?; [INFO] [stdout] 162 | | socket.close().await?; [INFO] [stdout] 163 | | Ok(()) [INFO] [stdout] 164 | | }) [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 2 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `libp2p-broadcast` (lib test) due to 3 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/protocol.rs:132:18 [INFO] [stdout] | [INFO] [stdout] 131 | fn upgrade_inbound(self, mut socket: TSocket, _info: Self::Info) -> Self::Future { [INFO] [stdout] | ------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 132 | Box::pin(async move { [INFO] [stdout] | __________________^ [INFO] [stdout] 133 | | let packet = upgrade::read_length_prefixed(&mut socket, self.max_buf_size).await?; [INFO] [stdout] 134 | | socket.close().await?; [INFO] [stdout] 135 | | let request = Message::from_bytes(&packet)?; [INFO] [stdout] 136 | | Ok(request) [INFO] [stdout] 137 | | }) [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/protocol.rs:159:18 [INFO] [stdout] | [INFO] [stdout] 158 | fn upgrade_outbound(self, mut socket: TSocket, _info: Self::Info) -> Self::Future { [INFO] [stdout] | ---- ------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 159 | Box::pin(async move { [INFO] [stdout] | __________________^ [INFO] [stdout] 160 | | let bytes = self.to_bytes(); [INFO] [stdout] 161 | | upgrade::write_length_prefixed(&mut socket, bytes).await?; [INFO] [stdout] 162 | | socket.close().await?; [INFO] [stdout] 163 | | Ok(()) [INFO] [stdout] 164 | | }) [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 2 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `libp2p-broadcast` (lib) due to 3 previous errors [INFO] running `Command { std: "docker" "inspect" "f4bec6e4c79a45372a572ebbd157d85ab4c17c86548801ac04a499089d7f2e8d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f4bec6e4c79a45372a572ebbd157d85ab4c17c86548801ac04a499089d7f2e8d", kill_on_drop: false }` [INFO] [stdout] f4bec6e4c79a45372a572ebbd157d85ab4c17c86548801ac04a499089d7f2e8d