[INFO] fetching crate libp2p-floodsub 0.45.0... [INFO] checking libp2p-floodsub-0.45.0 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] extracting crate libp2p-floodsub 0.45.0 into /workspace/builds/worker-0-tc2/source [INFO] validating manifest of crates.io crate libp2p-floodsub 0.45.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-floodsub 0.45.0 [INFO] finished tweaking crates.io crate libp2p-floodsub 0.45.0 [INFO] tweaked toml for crates.io crate libp2p-floodsub 0.45.0 written to /workspace/builds/worker-0-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] Locking 138 packages to latest compatible versions [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 hermit-abi v0.3.9 (latest: v0.4.0) [INFO] [stderr] Adding idna v0.5.0 (latest: v1.0.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 syn v1.0.109 (latest: v2.0.77) [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] 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] 2e23528534398c7d4c0131e28fec580dee75192b1b7dd4b5d68860c514e7ac8e [INFO] running `Command { std: "docker" "start" "-a" "2e23528534398c7d4c0131e28fec580dee75192b1b7dd4b5d68860c514e7ac8e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2e23528534398c7d4c0131e28fec580dee75192b1b7dd4b5d68860c514e7ac8e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2e23528534398c7d4c0131e28fec580dee75192b1b7dd4b5d68860c514e7ac8e", kill_on_drop: false }` [INFO] [stdout] 2e23528534398c7d4c0131e28fec580dee75192b1b7dd4b5d68860c514e7ac8e [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] f0af0df58a2c406c8264b85db151a11961f25236f188ccf51f22053b84d90e22 [INFO] running `Command { std: "docker" "start" "-a" "f0af0df58a2c406c8264b85db151a11961f25236f188ccf51f22053b84d90e22", kill_on_drop: false }` [INFO] [stderr] Compiling semver v1.0.23 [INFO] [stderr] Checking futures-core v0.3.30 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking cpufeatures v0.2.13 [INFO] [stderr] Compiling curve25519-dalek-derive v0.1.1 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Checking futures-channel v0.3.30 [INFO] [stderr] Checking signature v2.2.0 [INFO] [stderr] Checking unsigned-varint v0.7.2 [INFO] [stderr] Checking ed25519 v2.2.3 [INFO] [stderr] Compiling pin-project-internal v1.1.5 [INFO] [stderr] Checking core2 v0.4.0 [INFO] [stderr] Checking sha2 v0.10.8 [INFO] [stderr] Checking hmac v0.12.1 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Checking quick-protobuf v0.8.1 [INFO] [stderr] Compiling rustc_version v0.4.1 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Checking smallvec v1.13.2 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling serde v1.0.209 [INFO] [stderr] Checking hkdf v0.12.4 [INFO] [stderr] Checking multihash v0.19.1 [INFO] [stderr] Compiling curve25519-dalek v4.1.3 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Checking bs58 v0.5.1 [INFO] [stderr] Checking base-x v0.2.11 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking zerocopy v0.7.35 [INFO] [stderr] Checking multibase v0.9.1 [INFO] [stderr] Checking url v2.5.2 [INFO] [stderr] Checking allocator-api2 v0.2.18 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Checking unsigned-varint v0.8.0 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Checking either v1.13.0 [INFO] [stderr] Checking futures-timer v3.0.3 [INFO] [stderr] Checking pin-project v1.1.5 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Checking web-time v1.1.0 [INFO] [stderr] Checking ppv-lite86 v0.2.20 [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking ed25519-dalek v2.1.1 [INFO] [stderr] Checking lru v0.12.4 [INFO] [stderr] Checking libp2p-identity v0.2.9 [INFO] [stderr] Checking cuckoofilter v0.5.0 [INFO] [stderr] Checking multiaddr v0.18.1 [INFO] [stderr] Checking futures-executor v0.3.30 [INFO] [stderr] Checking asynchronous-codec v0.7.0 [INFO] [stderr] Checking futures v0.3.30 [INFO] [stderr] Checking quick-protobuf-codec v0.3.1 [INFO] [stderr] Checking multistream-select v0.13.0 [INFO] [stderr] Checking rw-stream-sink v0.4.0 [INFO] [stderr] Checking libp2p-core v0.42.0 [INFO] [stderr] Checking libp2p-swarm v0.45.1 [INFO] [stderr] Checking libp2p-floodsub v0.45.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:68:18 [INFO] [stdout] | [INFO] [stdout] 67 | fn upgrade_inbound(self, socket: TSocket, _: 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] 68 | Box::pin(async move { [INFO] [stdout] | __________________^ [INFO] [stdout] 69 | | let mut framed = Framed::new( [INFO] [stdout] 70 | | socket, [INFO] [stdout] 71 | | quick_protobuf_codec::Codec::::new(MAX_MESSAGE_LEN_BYTES), [INFO] [stdout] ... | [INFO] [stdout] 105 | | }) [INFO] [stdout] 106 | | }) [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:91:16 [INFO] [stdout] | [INFO] [stdout] 67 | fn upgrade_inbound(self, socket: TSocket, _: Self::Info) -> Self::Future { [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 68 | Box::pin(async move { [INFO] [stdout] 69 | let mut framed = Framed::new( [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 80 | let mut messages = Vec::with_capacity(rpc.publish.len()); [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 91 | Ok(FloodsubRpc { [INFO] [stdout] | ________________^ [INFO] [stdout] 92 | | messages, [INFO] [stdout] 93 | | subscriptions: rpc [INFO] [stdout] 94 | | .subscriptions [INFO] [stdout] ... | [INFO] [stdout] 104 | | .collect(), [INFO] [stdout] 105 | | }) [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_____________these values have significant drop implementation and will observe changes in drop order under Edition 2024 [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: 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:77:57 [INFO] [stdout] | [INFO] [stdout] 77 | .ok_or_else(|| FloodsubError::ReadError(io::ErrorKind::UnexpectedEof.into()))? [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: 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:155:18 [INFO] [stdout] | [INFO] [stdout] 154 | fn upgrade_outbound(self, socket: TSocket, _: 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] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 155 | Box::pin(async move { [INFO] [stdout] | __________________^ [INFO] [stdout] 156 | | let mut framed = Framed::new( [INFO] [stdout] 157 | | socket, [INFO] [stdout] 158 | | quick_protobuf_codec::Codec::::new(MAX_MESSAGE_LEN_BYTES), [INFO] [stdout] ... | [INFO] [stdout] 162 | | Ok(()) [INFO] [stdout] 163 | | }) [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: 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:171:22 [INFO] [stdout] | [INFO] [stdout] 169 | fn into_rpc(self) -> proto::RPC { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 170 | proto::RPC { [INFO] [stdout] 171 | publish: self [INFO] [stdout] | ______________________^ [INFO] [stdout] 172 | | .messages [INFO] [stdout] 173 | | .into_iter() [INFO] [stdout] 174 | | .map(|msg| proto::Message { [INFO] [stdout] ... | [INFO] [stdout] 178 | | topic_ids: msg.topics.into_iter().map(|topic| topic.into()).collect(), [INFO] [stdout] 179 | | }) [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/layer.rs:175:27 [INFO] [stdout] | [INFO] [stdout] 174 | pub fn publish(&mut self, topic: impl Into, data: impl Into) { [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] 175 | self.publish_many(iter::once(topic), data) [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/layer.rs:180:31 [INFO] [stdout] | [INFO] [stdout] 179 | pub fn publish_any(&mut self, topic: impl Into, data: impl Into) { [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] 180 | self.publish_many_any(iter::once(topic), data) [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 7 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `libp2p-floodsub` (lib test) due to 8 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:68:18 [INFO] [stdout] | [INFO] [stdout] 67 | fn upgrade_inbound(self, socket: TSocket, _: 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] 68 | Box::pin(async move { [INFO] [stdout] | __________________^ [INFO] [stdout] 69 | | let mut framed = Framed::new( [INFO] [stdout] 70 | | socket, [INFO] [stdout] 71 | | quick_protobuf_codec::Codec::::new(MAX_MESSAGE_LEN_BYTES), [INFO] [stdout] ... | [INFO] [stdout] 105 | | }) [INFO] [stdout] 106 | | }) [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:91:16 [INFO] [stdout] | [INFO] [stdout] 67 | fn upgrade_inbound(self, socket: TSocket, _: Self::Info) -> Self::Future { [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 68 | Box::pin(async move { [INFO] [stdout] 69 | let mut framed = Framed::new( [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 80 | let mut messages = Vec::with_capacity(rpc.publish.len()); [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 91 | Ok(FloodsubRpc { [INFO] [stdout] | ________________^ [INFO] [stdout] 92 | | messages, [INFO] [stdout] 93 | | subscriptions: rpc [INFO] [stdout] 94 | | .subscriptions [INFO] [stdout] ... | [INFO] [stdout] 104 | | .collect(), [INFO] [stdout] 105 | | }) [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_____________these values have significant drop implementation and will observe changes in drop order under Edition 2024 [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: 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:77:57 [INFO] [stdout] | [INFO] [stdout] 77 | .ok_or_else(|| FloodsubError::ReadError(io::ErrorKind::UnexpectedEof.into()))? [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: 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:155:18 [INFO] [stdout] | [INFO] [stdout] 154 | fn upgrade_outbound(self, socket: TSocket, _: 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] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 155 | Box::pin(async move { [INFO] [stdout] | __________________^ [INFO] [stdout] 156 | | let mut framed = Framed::new( [INFO] [stdout] 157 | | socket, [INFO] [stdout] 158 | | quick_protobuf_codec::Codec::::new(MAX_MESSAGE_LEN_BYTES), [INFO] [stdout] ... | [INFO] [stdout] 162 | | Ok(()) [INFO] [stdout] 163 | | }) [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: 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:171:22 [INFO] [stdout] | [INFO] [stdout] 169 | fn into_rpc(self) -> proto::RPC { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 170 | proto::RPC { [INFO] [stdout] 171 | publish: self [INFO] [stdout] | ______________________^ [INFO] [stdout] 172 | | .messages [INFO] [stdout] 173 | | .into_iter() [INFO] [stdout] 174 | | .map(|msg| proto::Message { [INFO] [stdout] ... | [INFO] [stdout] 178 | | topic_ids: msg.topics.into_iter().map(|topic| topic.into()).collect(), [INFO] [stdout] 179 | | }) [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/layer.rs:175:27 [INFO] [stdout] | [INFO] [stdout] 174 | pub fn publish(&mut self, topic: impl Into, data: impl Into) { [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] 175 | self.publish_many(iter::once(topic), data) [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/layer.rs:180:31 [INFO] [stdout] | [INFO] [stdout] 179 | pub fn publish_any(&mut self, topic: impl Into, data: impl Into) { [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] 180 | self.publish_many_any(iter::once(topic), data) [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 7 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `libp2p-floodsub` (lib) due to 8 previous errors [INFO] running `Command { std: "docker" "inspect" "f0af0df58a2c406c8264b85db151a11961f25236f188ccf51f22053b84d90e22", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f0af0df58a2c406c8264b85db151a11961f25236f188ccf51f22053b84d90e22", kill_on_drop: false }` [INFO] [stdout] f0af0df58a2c406c8264b85db151a11961f25236f188ccf51f22053b84d90e22