[INFO] fetching crate rmqtt-raft 0.3.5... [INFO] checking rmqtt-raft-0.3.5 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] extracting crate rmqtt-raft 0.3.5 into /workspace/builds/worker-5-tc2/source [INFO] validating manifest of crates.io crate rmqtt-raft 0.3.5 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 rmqtt-raft 0.3.5 [INFO] finished tweaking crates.io crate rmqtt-raft 0.3.5 [INFO] tweaked toml for crates.io crate rmqtt-raft 0.3.5 written to /workspace/builds/worker-5-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 160 packages to latest compatible versions [INFO] [stderr] Adding addr2line v0.22.0 (latest: v0.24.1) [INFO] [stderr] Adding axum v0.6.20 (latest: v0.7.5) [INFO] [stderr] Adding axum-core v0.3.4 (latest: v0.4.3) [INFO] [stderr] Adding base64 v0.21.7 (latest: v0.22.1) [INFO] [stderr] Adding bitflags v1.3.2 (latest: v2.6.0) [INFO] [stderr] Adding dashmap v5.5.3 (latest: v6.0.1) [INFO] [stderr] Adding fixedbitset v0.4.2 (latest: v0.5.7) [INFO] [stderr] Adding gimli v0.29.0 (latest: v0.31.0) [INFO] [stderr] Adding h2 v0.3.26 (latest: v0.4.6) [INFO] [stderr] Adding hashbrown v0.12.3 (latest: v0.14.5) [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 http v0.2.12 (latest: v1.1.0) [INFO] [stderr] Adding http-body v0.4.6 (latest: v1.0.1) [INFO] [stderr] Adding hyper v0.14.30 (latest: v1.4.1) [INFO] [stderr] Adding hyper-timeout v0.4.1 (latest: v0.5.1) [INFO] [stderr] Adding indexmap v1.9.3 (latest: v2.5.0) [INFO] [stderr] Adding itertools v0.10.5 (latest: v0.13.0) [INFO] [stderr] Adding linux-raw-sys v0.4.14 (latest: v0.6.5) [INFO] [stderr] Adding matchit v0.7.3 (latest: v0.8.4) [INFO] [stderr] Adding miniz_oxide v0.7.4 (latest: v0.8.0) [INFO] [stderr] Adding multimap v0.8.3 (latest: v0.10.0) [INFO] [stderr] Adding prettyplease v0.1.25 (latest: v0.2.22) [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 protobuf v2.28.0 (latest: v3.5.1) [INFO] [stderr] Adding protobuf-build v0.14.1 (latest: v0.15.1) [INFO] [stderr] Adding syn v1.0.109 (latest: v2.0.77) [INFO] [stderr] Adding sync_wrapper v0.1.2 (latest: v1.0.1) [INFO] [stderr] Adding tonic v0.9.2 (latest: v0.12.2) [INFO] [stderr] Adding tonic-build v0.9.2 (latest: v0.12.2) [INFO] [stderr] Adding tower v0.4.13 (latest: v0.5.0) [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-core v0.52.0 (latest: v0.58.0) [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-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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] 0dc3ccb372ebfaa85011e4a7aef8ba07eb95a9de310263d9d840d2846bf86835 [INFO] running `Command { std: "docker" "start" "-a" "0dc3ccb372ebfaa85011e4a7aef8ba07eb95a9de310263d9d840d2846bf86835", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0dc3ccb372ebfaa85011e4a7aef8ba07eb95a9de310263d9d840d2846bf86835", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0dc3ccb372ebfaa85011e4a7aef8ba07eb95a9de310263d9d840d2846bf86835", kill_on_drop: false }` [INFO] [stdout] 0dc3ccb372ebfaa85011e4a7aef8ba07eb95a9de310263d9d840d2846bf86835 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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] e21c76473dad86865cc74c8b3c4d3617e21d390cf64853571b10397d8d262a46 [INFO] running `Command { std: "docker" "start" "-a" "e21c76473dad86865cc74c8b3c4d3617e21d390cf64853571b10397d8d262a46", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling anyhow v1.0.86 [INFO] [stderr] Compiling either v1.13.0 [INFO] [stderr] Compiling rustix v0.38.35 [INFO] [stderr] Compiling linux-raw-sys v0.4.14 [INFO] [stderr] Compiling bitflags v2.6.0 [INFO] [stderr] Compiling equivalent v1.0.1 [INFO] [stderr] Compiling bytes v1.7.1 [INFO] [stderr] Compiling regex-syntax v0.8.4 [INFO] [stderr] Compiling prettyplease v0.1.25 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Checking futures-channel v0.3.30 [INFO] [stderr] Compiling tokio-macros v2.4.0 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Compiling fixedbitset v0.4.2 [INFO] [stderr] Compiling home v0.5.9 [INFO] [stderr] Compiling once_cell v1.19.0 [INFO] [stderr] Compiling fastrand v2.1.1 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling multimap v0.8.3 [INFO] [stderr] Compiling log v0.4.22 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Checking tracing-core v0.1.32 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Checking http v0.2.12 [INFO] [stderr] Compiling httparse v1.9.4 [INFO] [stderr] Checking tower-service v0.3.3 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Checking try-lock v0.2.5 [INFO] [stderr] Compiling axum-core v0.3.4 [INFO] [stderr] Checking want v0.3.1 [INFO] [stderr] Compiling pin-project-internal v1.1.5 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling indexmap v2.5.0 [INFO] [stderr] Compiling protobuf v2.28.0 [INFO] [stderr] Checking tokio v1.40.0 [INFO] [stderr] Checking tower-layer v0.3.3 [INFO] [stderr] Checking httpdate v1.0.3 [INFO] [stderr] Checking hashbrown v0.12.3 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Checking zerocopy v0.7.35 [INFO] [stderr] Checking serde v1.0.209 [INFO] [stderr] Checking http-body v0.4.6 [INFO] [stderr] Compiling axum v0.6.20 [INFO] [stderr] Compiling async-trait v0.1.81 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking mime v0.3.17 [INFO] [stderr] Compiling slog v2.7.0 [INFO] [stderr] Compiling petgraph v0.6.5 [INFO] [stderr] Checking ppv-lite86 v0.2.20 [INFO] [stderr] Checking pin-project v1.1.5 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Checking matchit v0.7.3 [INFO] [stderr] Compiling regex-automata v0.4.7 [INFO] [stderr] Checking sync_wrapper v0.1.2 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Checking fxhash v0.2.1 [INFO] [stderr] Checking iana-time-zone v0.1.60 [INFO] [stderr] Checking base64 v0.21.7 [INFO] [stderr] Checking dashmap v5.5.3 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking chrono v0.4.38 [INFO] [stderr] Compiling which v4.4.2 [INFO] [stderr] Compiling tempfile v3.12.0 [INFO] [stderr] Checking futures-executor v0.3.30 [INFO] [stderr] Checking futures v0.3.30 [INFO] [stderr] Checking tokio-util v0.7.11 [INFO] [stderr] Checking tokio-io-timeout v1.2.0 [INFO] [stderr] Checking tokio-stream v0.1.15 [INFO] [stderr] Compiling regex v1.10.6 [INFO] [stderr] Compiling prost-derive v0.11.9 [INFO] [stderr] Compiling getset v0.1.2 [INFO] [stderr] Checking bincode v1.3.3 [INFO] [stderr] Checking h2 v0.3.26 [INFO] [stderr] Checking tower v0.4.13 [INFO] [stderr] Compiling prost v0.11.9 [INFO] [stderr] Compiling prost-types v0.11.9 [INFO] [stderr] Checking hyper v0.14.30 [INFO] [stderr] Compiling prost-build v0.11.9 [INFO] [stderr] Compiling protobuf-build v0.14.1 [INFO] [stderr] Compiling tonic-build v0.9.2 [INFO] [stderr] Compiling raft-proto v0.7.0 [INFO] [stderr] Compiling rmqtt-raft v0.3.5 (/opt/rustwide/workdir) [INFO] [stderr] Checking raft v0.7.0 [INFO] [stderr] Checking hyper-timeout v0.4.1 [INFO] [stderr] Checking tonic v0.9.2 [INFO] [stdout] warning: this function depends on never type fallback being `()` [INFO] [stdout] --> src/raft.rs:381:5 [INFO] [stdout] | [INFO] [stdout] 381 | / pub async fn join( [INFO] [stdout] 382 | | self, [INFO] [stdout] 383 | | node_id: u64, [INFO] [stdout] 384 | | leader_id: Option, [INFO] [stdout] 385 | | leader_addr: String, [INFO] [stdout] 386 | | ) -> Result<()> { [INFO] [stdout] | |___________________^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #123748 [INFO] [stdout] = help: specify the types explicitly [INFO] [stdout] note: in edition 2024, the requirement `!: Deserialize<'_>` will fail [INFO] [stdout] --> src/raft.rs:433:13 [INFO] [stdout] | [INFO] [stdout] 433 | deserialize(&raft_response.inner)? [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(dependency_on_unit_never_type_fallback)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this function depends on never type fallback being `()` [INFO] [stdout] --> src/raft.rs:381:5 [INFO] [stdout] | [INFO] [stdout] 381 | / pub async fn join( [INFO] [stdout] 382 | | self, [INFO] [stdout] 383 | | node_id: u64, [INFO] [stdout] 384 | | leader_id: Option, [INFO] [stdout] 385 | | leader_addr: String, [INFO] [stdout] 386 | | ) -> Result<()> { [INFO] [stdout] | |___________________^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #123748 [INFO] [stdout] = help: specify the types explicitly [INFO] [stdout] note: in edition 2024, the requirement `!: Deserialize<'_>` will fail [INFO] [stdout] --> src/raft.rs:433:13 [INFO] [stdout] | [INFO] [stdout] 433 | deserialize(&raft_response.inner)? [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(dependency_on_unit_never_type_fallback)]` on by default [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/error.rs:45:21 [INFO] [stdout] | [INFO] [stdout] 44 | fn from(e: prost::DecodeError) -> Self { [INFO] [stdout] | --------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 45 | Self::Other(Box::new(e)) [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/raft.rs:73:23 [INFO] [stdout] | [INFO] [stdout] 71 | .map(|p| { [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 72 | let (id, _) = p.key(); [INFO] [stdout] 73 | (*id, p.value().clone()) [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/raft.rs:264:12 [INFO] [stdout] | [INFO] [stdout] 253 | addr: A, [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 254 | store: S, [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 255 | logger: slog::Logger, [INFO] [stdout] | -------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 262 | let (tx, rx) = mpsc::channel(100_000); [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] 263 | let cfg = Arc::new(cfg); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 264 | Ok(Self { [INFO] [stdout] | ____________^ [INFO] [stdout] 265 | | store, [INFO] [stdout] 266 | | tx, [INFO] [stdout] 267 | | rx, [INFO] [stdout] ... | [INFO] [stdout] 270 | | cfg, [INFO] [stdout] 271 | | }) [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] | [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/raft_node.rs:407:12 [INFO] [stdout] | [INFO] [stdout] 389 | rcv: mpsc::Receiver, [INFO] [stdout] | ---------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 390 | snd: mpsc::Sender, [INFO] [stdout] | -------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 391 | id: u64, [INFO] [stdout] 392 | store: S, [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 393 | logger: &slog::Logger, [INFO] [stdout] 394 | cfg: Arc, [INFO] [stdout] | ---------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 399 | let storage = MemStorage::create(); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 400 | let inner = RawNode::new(&config, storage, logger)?; [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 401 | let peers = HashMap::new(); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 402 | let seq = AtomicU64::new(0); [INFO] [stdout] 403 | let sending_raft_messages = Arc::new(AtomicIsize::new(0)); [INFO] [stdout] | --------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 406 | let uncommitteds = HashMap::new(); [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 407 | Ok(RaftNode { [INFO] [stdout] | ____________^ [INFO] [stdout] 408 | | inner, [INFO] [stdout] 409 | | rcv, [INFO] [stdout] 410 | | peers, [INFO] [stdout] ... | [INFO] [stdout] 419 | | cfg, [INFO] [stdout] 420 | | }) [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] | [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/raft_node.rs:952:58 [INFO] [stdout] | [INFO] [stdout] 952 | let reply = reply.unwrap_or_else(|e| Err(Error::from(e))); [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/raft_node.rs:982:62 [INFO] [stdout] | [INFO] [stdout] 982 | let reply = reply.unwrap_or_else(|e| Err(Error::from(e))); [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/raft_server.rs:72:67 [INFO] [stdout] | [INFO] [stdout] 71 | _: Request, [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 72 | ) -> Result, Status> { [INFO] [stdout] | ___________________________________________________________________^ [INFO] [stdout] 73 | | let mut sender = self.snd.clone(); [INFO] [stdout] 74 | | let (tx, rx) = oneshot::channel(); [INFO] [stdout] 75 | | let _ = sender.send(Message::RequestId { chan: tx }).await; [INFO] [stdout] ... | [INFO] [stdout] 99 | | } [INFO] [stdout] 100 | | } [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/raft_server.rs:105:63 [INFO] [stdout] | [INFO] [stdout] 104 | req: Request, [INFO] [stdout] | -------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 105 | ) -> Result, Status> { [INFO] [stdout] | _______________________________________________________________^ [INFO] [stdout] 106 | | let change = ConfChange::decode(req.into_inner().inner.as_ref()) [INFO] [stdout] 107 | | .map_err(|e| Status::invalid_argument(e.to_string()))?; [INFO] [stdout] ... | [INFO] [stdout] 134 | | Ok(Response::new(reply)) [INFO] [stdout] 135 | | } [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/raft_server.rs:140:63 [INFO] [stdout] | [INFO] [stdout] 139 | request: Request, [INFO] [stdout] | --------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 140 | ) -> Result, Status> { [INFO] [stdout] | _______________________________________________________________^ [INFO] [stdout] 141 | | let message = RaftMessage::decode(request.into_inner().inner.as_ref()) [INFO] [stdout] 142 | | .map_err(|e| Status::invalid_argument(e.to_string()))?; [INFO] [stdout] 143 | | let reply = match self.snd.clone().try_send(Message::Raft(Box::new(message))) { [INFO] [stdout] ... | [INFO] [stdout] 152 | | reply [INFO] [stdout] 153 | | } [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/raft_server.rs:158:63 [INFO] [stdout] | [INFO] [stdout] 157 | req: Request, [INFO] [stdout] | ------------------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 158 | ) -> Result, Status> { [INFO] [stdout] | _______________________________________________________________^ [INFO] [stdout] 159 | | let proposal = req.into_inner().inner; [INFO] [stdout] 160 | | let mut sender = self.snd.clone(); [INFO] [stdout] 161 | | let (tx, rx) = oneshot::channel(); [INFO] [stdout] ... | [INFO] [stdout] 187 | | reply [INFO] [stdout] 188 | | } [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/raft_server.rs:193:63 [INFO] [stdout] | [INFO] [stdout] 192 | req: Request, [INFO] [stdout] | --------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 193 | ) -> Result, Status> { [INFO] [stdout] | _______________________________________________________________^ [INFO] [stdout] 194 | | let query = req.into_inner().inner; [INFO] [stdout] 195 | | let mut sender = self.snd.clone(); [INFO] [stdout] 196 | | let (tx, rx) = oneshot::channel(); [INFO] [stdout] ... | [INFO] [stdout] 225 | | Ok(Response::new(reply)) [INFO] [stdout] 226 | | } [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/raft_service.rs:21:13 [INFO] [stdout] | [INFO] [stdout] 20 | .map(|endpoint| { [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 21 | / endpoint [INFO] [stdout] 22 | | .concurrency_limit(concurrency_limit) [INFO] [stdout] 23 | | .connect_timeout(timeout) [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] --> /opt/rustwide/target/debug/build/rmqtt-raft-6451651f01c6b92c/out/raftservice.rs:131:36 [INFO] [stdout] | [INFO] [stdout] 115 | inner: T, [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 116 | interceptor: F, [INFO] [stdout] | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 131 | RaftServiceClient::new(InterceptedService::new(inner, interceptor)) [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] --> /opt/rustwide/target/debug/build/rmqtt-raft-6451651f01c6b92c/out/raftservice.rs:321:28 [INFO] [stdout] | [INFO] [stdout] 320 | pub fn new(inner: T) -> Self { [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 321 | Self::from_arc(Arc::new(inner)) [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] --> /opt/rustwide/target/debug/build/rmqtt-raft-6451651f01c6b92c/out/raftservice.rs:340:37 [INFO] [stdout] | [INFO] [stdout] 334 | inner: T, [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 335 | interceptor: F, [INFO] [stdout] | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 340 | InterceptedService::new(Self::new(inner), interceptor) [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] --> /opt/rustwide/target/debug/build/rmqtt-raft-6451651f01c6b92c/out/raftservice.rs:404:81 [INFO] [stdout] | [INFO] [stdout] 401 | ... request: tonic::Request, [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 402 | ... ) -> Self::Future { [INFO] [stdout] 403 | ... let inner = Arc::clone(&self.0); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 404 | ... let fut = async move { (*inner).request_id(request).await }; [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] --> /opt/rustwide/target/debug/build/rmqtt-raft-6451651f01c6b92c/out/raftservice.rs:447:65 [INFO] [stdout] | [INFO] [stdout] 443 | ... request: tonic::Request, [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 444 | ... ) -> Self::Future { [INFO] [stdout] 445 | ... let inner = Arc::clone(&self.0); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 446 | ... let fut = async move { [INFO] [stdout] 447 | ... (*inner).change_config(request).await [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] --> /opt/rustwide/target/debug/build/rmqtt-raft-6451651f01c6b92c/out/raftservice.rs:491:64 [INFO] [stdout] | [INFO] [stdout] 487 | ... request: tonic::Request, [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 488 | ... ) -> Self::Future { [INFO] [stdout] 489 | ... let inner = Arc::clone(&self.0); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 490 | ... let fut = async move { [INFO] [stdout] 491 | ... (*inner).send_message(request).await [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] --> /opt/rustwide/target/debug/build/rmqtt-raft-6451651f01c6b92c/out/raftservice.rs:535:65 [INFO] [stdout] | [INFO] [stdout] 531 | ... request: tonic::Request, [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 532 | ... ) -> Self::Future { [INFO] [stdout] 533 | ... let inner = Arc::clone(&self.0); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 534 | ... let fut = async move { [INFO] [stdout] 535 | ... (*inner).send_proposal(request).await [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] --> /opt/rustwide/target/debug/build/rmqtt-raft-6451651f01c6b92c/out/raftservice.rs:578:81 [INFO] [stdout] | [INFO] [stdout] 575 | ... request: tonic::Request, [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 576 | ... ) -> Self::Future { [INFO] [stdout] 577 | ... let inner = Arc::clone(&self.0); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 578 | ... let fut = async move { (*inner).send_query(request).await }; [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 20 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rmqtt-raft` (lib) due to 21 previous errors; 1 warning emitted [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/error.rs:45:21 [INFO] [stdout] | [INFO] [stdout] 44 | fn from(e: prost::DecodeError) -> Self { [INFO] [stdout] | --------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 45 | Self::Other(Box::new(e)) [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/raft.rs:73:23 [INFO] [stdout] | [INFO] [stdout] 71 | .map(|p| { [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 72 | let (id, _) = p.key(); [INFO] [stdout] 73 | (*id, p.value().clone()) [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/raft.rs:264:12 [INFO] [stdout] | [INFO] [stdout] 253 | addr: A, [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 254 | store: S, [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 255 | logger: slog::Logger, [INFO] [stdout] | -------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 262 | let (tx, rx) = mpsc::channel(100_000); [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] 263 | let cfg = Arc::new(cfg); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 264 | Ok(Self { [INFO] [stdout] | ____________^ [INFO] [stdout] 265 | | store, [INFO] [stdout] 266 | | tx, [INFO] [stdout] 267 | | rx, [INFO] [stdout] ... | [INFO] [stdout] 270 | | cfg, [INFO] [stdout] 271 | | }) [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] | [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/raft_node.rs:407:12 [INFO] [stdout] | [INFO] [stdout] 389 | rcv: mpsc::Receiver, [INFO] [stdout] | ---------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 390 | snd: mpsc::Sender, [INFO] [stdout] | -------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 391 | id: u64, [INFO] [stdout] 392 | store: S, [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 393 | logger: &slog::Logger, [INFO] [stdout] 394 | cfg: Arc, [INFO] [stdout] | ---------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 399 | let storage = MemStorage::create(); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 400 | let inner = RawNode::new(&config, storage, logger)?; [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 401 | let peers = HashMap::new(); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 402 | let seq = AtomicU64::new(0); [INFO] [stdout] 403 | let sending_raft_messages = Arc::new(AtomicIsize::new(0)); [INFO] [stdout] | --------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 406 | let uncommitteds = HashMap::new(); [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 407 | Ok(RaftNode { [INFO] [stdout] | ____________^ [INFO] [stdout] 408 | | inner, [INFO] [stdout] 409 | | rcv, [INFO] [stdout] 410 | | peers, [INFO] [stdout] ... | [INFO] [stdout] 419 | | cfg, [INFO] [stdout] 420 | | }) [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] | [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/raft_node.rs:952:58 [INFO] [stdout] | [INFO] [stdout] 952 | let reply = reply.unwrap_or_else(|e| Err(Error::from(e))); [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/raft_node.rs:982:62 [INFO] [stdout] | [INFO] [stdout] 982 | let reply = reply.unwrap_or_else(|e| Err(Error::from(e))); [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/raft_server.rs:72:67 [INFO] [stdout] | [INFO] [stdout] 71 | _: Request, [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 72 | ) -> Result, Status> { [INFO] [stdout] | ___________________________________________________________________^ [INFO] [stdout] 73 | | let mut sender = self.snd.clone(); [INFO] [stdout] 74 | | let (tx, rx) = oneshot::channel(); [INFO] [stdout] 75 | | let _ = sender.send(Message::RequestId { chan: tx }).await; [INFO] [stdout] ... | [INFO] [stdout] 99 | | } [INFO] [stdout] 100 | | } [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/raft_server.rs:105:63 [INFO] [stdout] | [INFO] [stdout] 104 | req: Request, [INFO] [stdout] | -------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 105 | ) -> Result, Status> { [INFO] [stdout] | _______________________________________________________________^ [INFO] [stdout] 106 | | let change = ConfChange::decode(req.into_inner().inner.as_ref()) [INFO] [stdout] 107 | | .map_err(|e| Status::invalid_argument(e.to_string()))?; [INFO] [stdout] ... | [INFO] [stdout] 134 | | Ok(Response::new(reply)) [INFO] [stdout] 135 | | } [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/raft_server.rs:140:63 [INFO] [stdout] | [INFO] [stdout] 139 | request: Request, [INFO] [stdout] | --------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 140 | ) -> Result, Status> { [INFO] [stdout] | _______________________________________________________________^ [INFO] [stdout] 141 | | let message = RaftMessage::decode(request.into_inner().inner.as_ref()) [INFO] [stdout] 142 | | .map_err(|e| Status::invalid_argument(e.to_string()))?; [INFO] [stdout] 143 | | let reply = match self.snd.clone().try_send(Message::Raft(Box::new(message))) { [INFO] [stdout] ... | [INFO] [stdout] 152 | | reply [INFO] [stdout] 153 | | } [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/raft_server.rs:158:63 [INFO] [stdout] | [INFO] [stdout] 157 | req: Request, [INFO] [stdout] | ------------------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 158 | ) -> Result, Status> { [INFO] [stdout] | _______________________________________________________________^ [INFO] [stdout] 159 | | let proposal = req.into_inner().inner; [INFO] [stdout] 160 | | let mut sender = self.snd.clone(); [INFO] [stdout] 161 | | let (tx, rx) = oneshot::channel(); [INFO] [stdout] ... | [INFO] [stdout] 187 | | reply [INFO] [stdout] 188 | | } [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/raft_server.rs:193:63 [INFO] [stdout] | [INFO] [stdout] 192 | req: Request, [INFO] [stdout] | --------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 193 | ) -> Result, Status> { [INFO] [stdout] | _______________________________________________________________^ [INFO] [stdout] 194 | | let query = req.into_inner().inner; [INFO] [stdout] 195 | | let mut sender = self.snd.clone(); [INFO] [stdout] 196 | | let (tx, rx) = oneshot::channel(); [INFO] [stdout] ... | [INFO] [stdout] 225 | | Ok(Response::new(reply)) [INFO] [stdout] 226 | | } [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/raft_service.rs:21:13 [INFO] [stdout] | [INFO] [stdout] 20 | .map(|endpoint| { [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 21 | / endpoint [INFO] [stdout] 22 | | .concurrency_limit(concurrency_limit) [INFO] [stdout] 23 | | .connect_timeout(timeout) [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] --> /opt/rustwide/target/debug/build/rmqtt-raft-6451651f01c6b92c/out/raftservice.rs:131:36 [INFO] [stdout] | [INFO] [stdout] 115 | inner: T, [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 116 | interceptor: F, [INFO] [stdout] | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 131 | RaftServiceClient::new(InterceptedService::new(inner, interceptor)) [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] --> /opt/rustwide/target/debug/build/rmqtt-raft-6451651f01c6b92c/out/raftservice.rs:321:28 [INFO] [stdout] | [INFO] [stdout] 320 | pub fn new(inner: T) -> Self { [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 321 | Self::from_arc(Arc::new(inner)) [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] --> /opt/rustwide/target/debug/build/rmqtt-raft-6451651f01c6b92c/out/raftservice.rs:340:37 [INFO] [stdout] | [INFO] [stdout] 334 | inner: T, [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 335 | interceptor: F, [INFO] [stdout] | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 340 | InterceptedService::new(Self::new(inner), interceptor) [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] --> /opt/rustwide/target/debug/build/rmqtt-raft-6451651f01c6b92c/out/raftservice.rs:404:81 [INFO] [stdout] | [INFO] [stdout] 401 | ... request: tonic::Request, [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 402 | ... ) -> Self::Future { [INFO] [stdout] 403 | ... let inner = Arc::clone(&self.0); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 404 | ... let fut = async move { (*inner).request_id(request).await }; [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] --> /opt/rustwide/target/debug/build/rmqtt-raft-6451651f01c6b92c/out/raftservice.rs:447:65 [INFO] [stdout] | [INFO] [stdout] 443 | ... request: tonic::Request, [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 444 | ... ) -> Self::Future { [INFO] [stdout] 445 | ... let inner = Arc::clone(&self.0); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 446 | ... let fut = async move { [INFO] [stdout] 447 | ... (*inner).change_config(request).await [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] --> /opt/rustwide/target/debug/build/rmqtt-raft-6451651f01c6b92c/out/raftservice.rs:491:64 [INFO] [stdout] | [INFO] [stdout] 487 | ... request: tonic::Request, [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 488 | ... ) -> Self::Future { [INFO] [stdout] 489 | ... let inner = Arc::clone(&self.0); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 490 | ... let fut = async move { [INFO] [stdout] 491 | ... (*inner).send_message(request).await [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] --> /opt/rustwide/target/debug/build/rmqtt-raft-6451651f01c6b92c/out/raftservice.rs:535:65 [INFO] [stdout] | [INFO] [stdout] 531 | ... request: tonic::Request, [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 532 | ... ) -> Self::Future { [INFO] [stdout] 533 | ... let inner = Arc::clone(&self.0); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 534 | ... let fut = async move { [INFO] [stdout] 535 | ... (*inner).send_proposal(request).await [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] --> /opt/rustwide/target/debug/build/rmqtt-raft-6451651f01c6b92c/out/raftservice.rs:578:81 [INFO] [stdout] | [INFO] [stdout] 575 | ... request: tonic::Request, [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 576 | ... ) -> Self::Future { [INFO] [stdout] 577 | ... let inner = Arc::clone(&self.0); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 578 | ... let fut = async move { (*inner).send_query(request).await }; [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 20 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rmqtt-raft` (lib test) due to 21 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "e21c76473dad86865cc74c8b3c4d3617e21d390cf64853571b10397d8d262a46", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e21c76473dad86865cc74c8b3c4d3617e21d390cf64853571b10397d8d262a46", kill_on_drop: false }` [INFO] [stdout] e21c76473dad86865cc74c8b3c4d3617e21d390cf64853571b10397d8d262a46