[INFO] fetching crate paxakos 0.13.0... [INFO] checking paxakos-0.13.0 against try#ccf408f4326a858c00dd845a64a86b16f360a801 for pr-129466-2 [INFO] extracting crate paxakos 0.13.0 into /workspace/builds/worker-0-tc2/source [INFO] validating manifest of crates.io crate paxakos 0.13.0 on toolchain ccf408f4326a858c00dd845a64a86b16f360a801 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate paxakos 0.13.0 [INFO] finished tweaking crates.io crate paxakos 0.13.0 [INFO] tweaked toml for crates.io crate paxakos 0.13.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" "+ccf408f4326a858c00dd845a64a86b16f360a801" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 62 packages to latest compatible versions [INFO] [stderr] Adding gloo-timers v0.2.6 (available: v0.3.0) [INFO] [stderr] Adding send_wrapper v0.4.0 (available: v0.6.0) [INFO] [stderr] Adding wasi v0.11.0+wasi-snapshot-preview1 (available: 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" "+ccf408f4326a858c00dd845a64a86b16f360a801" "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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 580f6789ecd276e415518402c043bf694a378ee488265dfddceb493f959925a8 [INFO] running `Command { std: "docker" "start" "-a" "580f6789ecd276e415518402c043bf694a378ee488265dfddceb493f959925a8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "580f6789ecd276e415518402c043bf694a378ee488265dfddceb493f959925a8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "580f6789ecd276e415518402c043bf694a378ee488265dfddceb493f959925a8", kill_on_drop: false }` [INFO] [stdout] 580f6789ecd276e415518402c043bf694a378ee488265dfddceb493f959925a8 [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" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b173e061e69f5a292ab778f6a41679b7f36096ec8f1c9b585293624c34ea084b [INFO] running `Command { std: "docker" "start" "-a" "b173e061e69f5a292ab778f6a41679b7f36096ec8f1c9b585293624c34ea084b", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] Migrating Cargo.toml from 2021 edition to 2024 [INFO] [stderr] Fixed Cargo.toml (5 fixes) [INFO] [stderr] Compiling serde v1.0.210 [INFO] [stderr] Compiling libc v0.2.159 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling syn v2.0.77 [INFO] [stderr] Checking tracing-core v0.1.32 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Checking instant v0.1.13 [INFO] [stderr] Checking futures-timer v3.0.3 [INFO] [stderr] Checking smallvec v1.13.2 [INFO] [stderr] Checking snarc v0.1.0 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Compiling serde_derive v1.0.210 [INFO] [stderr] Compiling pin-project-internal v1.1.5 [INFO] [stderr] Compiling thiserror-impl v1.0.64 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Checking pin-project v1.1.5 [INFO] [stderr] Checking thiserror v1.0.64 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Checking futures-executor v0.3.30 [INFO] [stderr] Checking futures v0.3.30 [INFO] [stderr] Checking uuid v1.10.0 [INFO] [stderr] Checking paxakos v0.13.0 (/tmp/fixit) [INFO] [stderr] Migrating src/lib.rs from 2021 edition to 2024 [INFO] [stderr] warning: failed to automatically apply fixes suggested by rustc to crate `paxakos` [INFO] [stderr] [INFO] [stderr] after fixes were automatically applied the compiler reported errors within these files: [INFO] [stderr] [INFO] [stderr] * src/node/commits.rs [INFO] [stderr] * src/node/state_keeper/mod.rs [INFO] [stderr] [INFO] [stderr] This likely indicates a bug in either rustc or cargo itself, [INFO] [stderr] and we would appreciate a bug report! You're likely to see [INFO] [stderr] a number of compiler warnings after this message which cargo [INFO] [stderr] attempted to fix but failed. If you could open an issue at [INFO] [stderr] https://github.com/rust-lang/rust/issues [INFO] [stderr] quoting the full output of this command we'd be very appreciative! [INFO] [stderr] Note that you may be able to make some more progress in the near-term [INFO] [stderr] fixing code with the `--broken-code` flag [INFO] [stderr] [INFO] [stderr] The following errors were reported: [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/node/state_keeper/mod.rs:94:6 [INFO] [stderr] | [INFO] [stderr] 94 | ($v:expr_2021) => {{ [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::borrow::Borrow` [INFO] [stderr] --> src/node/commits.rs:1:5 [INFO] [stderr] | [INFO] [stderr] 1 | use std::borrow::Borrow; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] error: aborting due to 1 previous error; 1 warning emitted [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0658`. [INFO] [stderr] Original diagnostics will follow. [INFO] [stderr] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/node/state_keeper/mod.rs:94:9 [INFO] [stdout] | [INFO] [stdout] 94 | ($v:expr) => {{ [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] = note: `--force-warn edition-2024-expr-fragment-specifier` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 94 | ($v:expr_2021) => {{ [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/buffer.rs:105:24 [INFO] [stdout] | [INFO] [stdout] 105 | if let Some((r, c, e)) = self.buffer.get(delta) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^-----------^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/buffer.rs:109:21 [INFO] [stdout] | [INFO] [stdout] 109 | } [INFO] [stdout] | ^ [INFO] [stdout] = note: `--force-warn if-let-rescope` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 105 ~ match self.buffer.get(delta) { Some((r, c, e)) => { [INFO] [stdout] 106 | if *r == round_num { [INFO] [stdout] 107 | return Ok(Some((*c, Arc::clone(e)))); [INFO] [stdout] 108 | } [INFO] [stdout] 109 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/communicator.rs:236:20 [INFO] [stdout] | [INFO] [stdout] 236 | if let AcceptError::Rejected(nay) = err { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^--- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/communicator.rs:238:17 [INFO] [stdout] | [INFO] [stdout] 238 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 236 ~ match err { AcceptError::Rejected(nay) => { [INFO] [stdout] 237 | Ok(Acceptance::Refused(nay)) [INFO] [stdout] 238 ~ } _ => { [INFO] [stdout] 239 | Err(err) [INFO] [stdout] 240 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.borrow()` on a reference in this situation does nothing [INFO] [stdout] --> src/node/commits.rs:39:23 [INFO] [stdout] | [INFO] [stdout] 39 | if !cx.waker().borrow().will_wake(&self.waker.borrow()) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the type `Waker` does not implement `Borrow`, so calling `borrow` on `&Waker` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] 39 - if !cx.waker().borrow().will_wake(&self.waker.borrow()) { [INFO] [stdout] 39 + if !cx.waker().will_wake(&self.waker.borrow()) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/node/core.rs:103:15 [INFO] [stdout] | [INFO] [stdout] 103 | while let std::task::Poll::Ready(Some(())) = self.inner.expect().commits.poll_next(cx) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^---------------------------^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/node/core.rs:105:9 [INFO] [stdout] | [INFO] [stdout] 105 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/node/core.rs:125:16 [INFO] [stdout] | [INFO] [stdout] 125 | if let std::task::Poll::Ready(Event::Apply { round, .. }) = result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^------ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/node/core.rs:129:13 [INFO] [stdout] | [INFO] [stdout] 129 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 125 ~ match result { std::task::Poll::Ready(Event::Apply { round, .. }) => { [INFO] [stdout] 126 | if round + One::one() >= r { [INFO] [stdout] 127 | self.participation = Participation::Active; [INFO] [stdout] 128 | } [INFO] [stdout] 129 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `impl futures::Future>` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/node/handle.rs:104:29 [INFO] [stdout] | [INFO] [stdout] 104 | pub fn status(&self) -> impl Future> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] note: specifically, this lifetime is in scope but not mentioned in the type's bounds [INFO] [stdout] --> src/node/handle.rs:104:19 [INFO] [stdout] | [INFO] [stdout] 104 | pub fn status(&self) -> impl Future> { [INFO] [stdout] | ^ [INFO] [stdout] = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024 [INFO] [stdout] = note: `--force-warn impl-trait-overcaptures` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] | [INFO] [stdout] 104 | pub fn status(&self) -> impl Future> + use { [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `impl futures::Future::State, ::RoundNum, ::CoordNum>, ShutDown>>` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/node/handle.rs:109:39 [INFO] [stdout] | [INFO] [stdout] 109 | pub fn prepare_snapshot(&self) -> impl Future, ShutDown>> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] note: specifically, this lifetime is in scope but not mentioned in the type's bounds [INFO] [stdout] --> src/node/handle.rs:109:29 [INFO] [stdout] | [INFO] [stdout] 109 | pub fn prepare_snapshot(&self) -> impl Future, ShutDown>> { [INFO] [stdout] | ^ [INFO] [stdout] = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024 [INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] | [INFO] [stdout] 109 | pub fn prepare_snapshot(&self) -> impl Future, ShutDown>> + use { [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `impl futures::Future>` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/node/handle.rs:119:10 [INFO] [stdout] | [INFO] [stdout] 119 | ) -> impl Future> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] note: specifically, this lifetime is in scope but not mentioned in the type's bounds [INFO] [stdout] --> src/node/handle.rs:117:9 [INFO] [stdout] | [INFO] [stdout] 117 | &self, [INFO] [stdout] | ^ [INFO] [stdout] = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024 [INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] | [INFO] [stdout] 119 | ) -> impl Future> + use { [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `impl futures::Future>` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/node/handle.rs:129:10 [INFO] [stdout] | [INFO] [stdout] 129 | ) -> impl Future> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] note: specifically, this lifetime is in scope but not mentioned in the type's bounds [INFO] [stdout] --> src/node/handle.rs:127:9 [INFO] [stdout] | [INFO] [stdout] 127 | &self, [INFO] [stdout] | ^ [INFO] [stdout] = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024 [INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] | [INFO] [stdout] 129 | ) -> impl Future> + use { [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `impl futures::Future>` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/node/handle.rs:140:10 [INFO] [stdout] | [INFO] [stdout] 140 | ) -> impl Future> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] note: specifically, this lifetime is in scope but not mentioned in the type's bounds [INFO] [stdout] --> src/node/handle.rs:138:9 [INFO] [stdout] | [INFO] [stdout] 138 | &self, [INFO] [stdout] | ^ [INFO] [stdout] = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024 [INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] | [INFO] [stdout] 140 | ) -> impl Future> + use [INFO] [stdout] | ++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `impl futures::Future> + 'read` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/node/handle.rs:155:10 [INFO] [stdout] | [INFO] [stdout] 155 | ) -> impl Future> + 'read [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] note: specifically, this lifetime is in scope but not mentioned in the type's bounds [INFO] [stdout] --> src/node/handle.rs:153:9 [INFO] [stdout] | [INFO] [stdout] 153 | &self, [INFO] [stdout] | ^ [INFO] [stdout] = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024 [INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] | [INFO] [stdout] 155 | ) -> impl Future> + 'read + use<'read, F, T, I> [INFO] [stdout] | +++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `impl futures::Future::State, ::RoundNum, ::State>>::Projection>, ::StaticError>>` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/node/handle.rs:168:10 [INFO] [stdout] | [INFO] [stdout] 168 | ) -> impl Future, R::StaticError>> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] note: specifically, this lifetime is in scope but not mentioned in the type's bounds [INFO] [stdout] --> src/node/handle.rs:165:9 [INFO] [stdout] | [INFO] [stdout] 165 | &self, [INFO] [stdout] | ^ [INFO] [stdout] = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024 [INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] | [INFO] [stdout] 168 | ) -> impl Future, R::StaticError>> + use [INFO] [stdout] | +++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/node/inner.rs:389:27 [INFO] [stdout] | [INFO] [stdout] 389 | while let Some(response) = pending_responses.next().await { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^------------------------------ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/node/inner.rs:412:21 [INFO] [stdout] | [INFO] [stdout] 412 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/node/inner.rs:390:28 [INFO] [stdout] | [INFO] [stdout] 390 | if let Ok(Vote::Conflicted(rejection)) = response { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/node/inner.rs:411:25 [INFO] [stdout] | [INFO] [stdout] 411 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 390 ~ match response { Ok(Vote::Conflicted(rejection)) => { [INFO] [stdout] 391 | let observe_coord_num = this [INFO] [stdout] ... [INFO] [stdout] 410 | } [INFO] [stdout] 411 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/node/inner.rs:397:32 [INFO] [stdout] | [INFO] [stdout] 397 | ... if let Conflict::Converged { log_entry, .. } = &rejection { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^--------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/node/inner.rs:410:29 [INFO] [stdout] | [INFO] [stdout] 410 | ... } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 397 ~ match &rejection { Conflict::Converged { log_entry, .. } => { [INFO] [stdout] 398 | converged = true; [INFO] [stdout] ... [INFO] [stdout] 409 | } [INFO] [stdout] 410 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/node/inner.rs:592:15 [INFO] [stdout] | [INFO] [stdout] 592 | while let Some(response) = pending_responses.next().await { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^------------------------------ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/node/inner.rs:652:9 [INFO] [stdout] | [INFO] [stdout] 652 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/node/inner.rs:731:15 [INFO] [stdout] | [INFO] [stdout] 731 | while let Some((node_id, response)) = pending_responses.next().await { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^------------------------------ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/node/inner.rs:792:9 [INFO] [stdout] | [INFO] [stdout] 792 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/node/inner.rs:853:19 [INFO] [stdout] | [INFO] [stdout] 853 | while let Some((node_id, response)) = pending_acceptances.next().await { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-------------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/node/inner.rs:891:13 [INFO] [stdout] | [INFO] [stdout] 891 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/node/inner.rs:926:15 [INFO] [stdout] | [INFO] [stdout] 926 | while let Some((_node, response)) = pending_responses.next().await { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^------------------------------ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/node/inner.rs:960:9 [INFO] [stdout] | [INFO] [stdout] 960 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/node/inner.rs:940:24 [INFO] [stdout] | [INFO] [stdout] 940 | if let Conflict::Converged { log_entry, .. } = &rejection { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^--------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/node/inner.rs:953:21 [INFO] [stdout] | [INFO] [stdout] 953 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 940 ~ match &rejection { Conflict::Converged { log_entry, .. } => { [INFO] [stdout] 941 | converged = true; [INFO] [stdout] ... [INFO] [stdout] 952 | } [INFO] [stdout] 953 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `impl futures::Future::RoundNum, ::CoordNum, <::State as state::State>::LogEntry>, PrepareError>>` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/node/req_handler.rs:32:10 [INFO] [stdout] | [INFO] [stdout] 32 | ) -> impl Future, PrepareError>> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] note: specifically, this lifetime is in scope but not mentioned in the type's bounds [INFO] [stdout] --> src/node/req_handler.rs:29:9 [INFO] [stdout] | [INFO] [stdout] 29 | &self, [INFO] [stdout] | ^ [INFO] [stdout] = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024 [INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] | [INFO] [stdout] 32 | ) -> impl Future, PrepareError>> + use { [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `impl futures::Future::Yea, AcceptError>>` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/node/req_handler.rs:43:10 [INFO] [stdout] | [INFO] [stdout] 43 | ) -> impl Future, AcceptError>> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] note: specifically, this lifetime is in scope but not mentioned in the type's bounds [INFO] [stdout] --> src/node/req_handler.rs:39:9 [INFO] [stdout] | [INFO] [stdout] 39 | &self, [INFO] [stdout] | ^ [INFO] [stdout] = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024 [INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] | [INFO] [stdout] 43 | ) -> impl Future, AcceptError>> + use { [INFO] [stdout] | +++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `impl futures::Future>>` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/node/req_handler.rs:54:10 [INFO] [stdout] | [INFO] [stdout] 54 | ) -> impl Future>> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] note: specifically, this lifetime is in scope but not mentioned in the type's bounds [INFO] [stdout] --> src/node/req_handler.rs:50:9 [INFO] [stdout] | [INFO] [stdout] 50 | &self, [INFO] [stdout] | ^ [INFO] [stdout] = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024 [INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] | [INFO] [stdout] 54 | ) -> impl Future>> + use { [INFO] [stdout] | +++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `impl futures::Future>>` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/node/req_handler.rs:64:10 [INFO] [stdout] | [INFO] [stdout] 64 | ) -> impl Future>> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] note: specifically, this lifetime is in scope but not mentioned in the type's bounds [INFO] [stdout] --> src/node/req_handler.rs:60:9 [INFO] [stdout] | [INFO] [stdout] 60 | &self, [INFO] [stdout] | ^ [INFO] [stdout] = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024 [INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] | [INFO] [stdout] 64 | ) -> impl Future>> + use { [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/node/shell.rs:101:12 [INFO] [stdout] | [INFO] [stdout] 101 | if let Some(mut mid) = self.mid.take() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^--------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/node/shell.rs:105:9 [INFO] [stdout] | [INFO] [stdout] 105 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 101 ~ match self.mid.take() { Some(mut mid) => { [INFO] [stdout] 102 | mid.state.enter(|| { [INFO] [stdout] 103 | drop(mid.entered); [INFO] [stdout] 104 | }); [INFO] [stdout] 105 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/node/shell.rs:456:15 [INFO] [stdout] | [INFO] [stdout] 456 | while let std::task::Poll::Ready(Some((req, send))) = self.0.receiver.poll_next_unpin(cx) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^----------------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/node/shell.rs:458:9 [INFO] [stdout] | [INFO] [stdout] 458 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/node/shell.rs:460:15 [INFO] [stdout] | [INFO] [stdout] 460 | while let std::task::Poll::Ready(Some(())) = self.0.appends.poll_next_unpin(cx) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^--------------^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/node/shell.rs:462:9 [INFO] [stdout] | [INFO] [stdout] 462 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/node/state_keeper/mod.rs:438:20 [INFO] [stdout] | [INFO] [stdout] 438 | if let Request::Shutdown = req { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^--- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/node/state_keeper/mod.rs:442:17 [INFO] [stdout] | [INFO] [stdout] 442 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 438 ~ match req { Request::Shutdown => { [INFO] [stdout] 439 | let _ = resp_sender.send(Response::Shutdown(Ok(()))); [INFO] [stdout] 440 | [INFO] [stdout] 441 | false [INFO] [stdout] 442 ~ } _ => { [INFO] [stdout] 443 | self.handle_request_msg(req, resp_sender); [INFO] [stdout] 444 | true [INFO] [stdout] 445 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/node/state_keeper/mod.rs:535:23 [INFO] [stdout] | [INFO] [stdout] 535 | while let Some((_, send)) = requests.pop_front() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^-------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/node/state_keeper/mod.rs:539:17 [INFO] [stdout] | [INFO] [stdout] 539 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/node/state_keeper/mod.rs:545:15 [INFO] [stdout] | [INFO] [stdout] 545 | while let Some(event) = self.queued_events.pop_front() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^------------------------------ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/node/state_keeper/mod.rs:586:9 [INFO] [stdout] | [INFO] [stdout] 586 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/node/state_keeper/mod.rs:594:15 [INFO] [stdout] | [INFO] [stdout] 594 | while let Some((req, resp_sender)) = self.receiver.try_next().unwrap() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^--------------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/node/state_keeper/mod.rs:600:9 [INFO] [stdout] | [INFO] [stdout] 600 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/node/state_keeper/mod.rs:595:16 [INFO] [stdout] | [INFO] [stdout] 595 | if let Request::Shutdown = req { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^--- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/node/state_keeper/mod.rs:597:13 [INFO] [stdout] | [INFO] [stdout] 597 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 595 ~ match req { Request::Shutdown => { [INFO] [stdout] 596 | let _ = resp_sender.send(Response::Shutdown(Ok(()))); [INFO] [stdout] 597 ~ } _ => { [INFO] [stdout] 598 | self.handle_request_msg(req, resp_sender); [INFO] [stdout] 599 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/node/state_keeper/mod.rs:827:20 [INFO] [stdout] | [INFO] [stdout] 827 | if let Participation::Passive { .. } = self.participation { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^------------------ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/node/state_keeper/mod.rs:833:17 [INFO] [stdout] | [INFO] [stdout] 833 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 827 ~ match self.participation { Participation::Passive { .. } => { [INFO] [stdout] 828 | info!("Node forced into active participation mode."); [INFO] [stdout] ... [INFO] [stdout] 832 | Ok(true) [INFO] [stdout] 833 ~ } _ => { [INFO] [stdout] 834 | Ok(false) [INFO] [stdout] 835 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/node/state_keeper/mod.rs:891:12 [INFO] [stdout] | [INFO] [stdout] 891 | if let Some(leader) = self.deduce_node(round_num, coord_num) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^-------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/node/state_keeper/mod.rs:899:9 [INFO] [stdout] | [INFO] [stdout] 899 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 891 ~ match self.deduce_node(round_num, coord_num) { Some(leader) => { [INFO] [stdout] 892 | self.emit(Event::Directive { [INFO] [stdout] ... [INFO] [stdout] 898 | }); [INFO] [stdout] 899 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/node/state_keeper/mod.rs:1046:19 [INFO] [stdout] | [INFO] [stdout] 1046 | } else if let btree_map::Entry::Occupied(e) = self.pending_commits.entry(round_num) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^--------------------^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/node/state_keeper/mod.rs:1054:9 [INFO] [stdout] | [INFO] [stdout] 1054 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 1046 ~ } else { match self.pending_commits.entry(round_num) { btree_map::Entry::Occupied(e) => { [INFO] [stdout] 1047 | let coord_num = e.get().1; [INFO] [stdout] ... [INFO] [stdout] 1053 | )); [INFO] [stdout] 1054 ~ } _ => {}}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/node/state_keeper/mod.rs:1179:19 [INFO] [stdout] | [INFO] [stdout] 1179 | } else if let btree_map::Entry::Occupied(e) = self.pending_commits.entry(round_num) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^--------------------^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/node/state_keeper/mod.rs:1187:9 [INFO] [stdout] | [INFO] [stdout] 1187 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 1179 ~ } else { match self.pending_commits.entry(round_num) { btree_map::Entry::Occupied(e) => { [INFO] [stdout] 1180 | let coord_num = e.get().1; [INFO] [stdout] ... [INFO] [stdout] 1186 | )) [INFO] [stdout] 1187 ~ } _ => { [INFO] [stdout] 1188 | let relevant_promise = [INFO] [stdout] ... [INFO] [stdout] 1205 | } [INFO] [stdout] 1206 ~ }}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/node/state_keeper/mod.rs:1363:20 [INFO] [stdout] | [INFO] [stdout] 1363 | if let Some(concurrency) = StateOf::::concurrency(self.state.as_ref()) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^----------^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/node/state_keeper/mod.rs:1368:17 [INFO] [stdout] | [INFO] [stdout] 1368 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 1363 ~ match StateOf::::concurrency(self.state.as_ref()) { Some(concurrency) => { [INFO] [stdout] 1364 | let first_active_round = round_num + into_round_num(concurrency); [INFO] [stdout] ... [INFO] [stdout] 1367 | self.emit(Event::Activate(first_active_round)); [INFO] [stdout] 1368 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/node/state_keeper/mod.rs:1399:15 [INFO] [stdout] | [INFO] [stdout] 1399 | while let Some((_, coord_num, entry)) = self.pending_commits.remove(&(round + One::one())) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-------------------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/node/state_keeper/mod.rs:1444:9 [INFO] [stdout] | [INFO] [stdout] 1444 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/node/state_keeper/mod.rs:1466:15 [INFO] [stdout] | [INFO] [stdout] 1466 | while let Some(first_accepted_key) = self.accepted_entries.keys().next().copied() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^---------------------^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/node/state_keeper/mod.rs:1472:9 [INFO] [stdout] | [INFO] [stdout] 1472 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `impl futures::Future::State, ::RoundNum, ::CoordNum>, ShutDown>>` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/node/state_keeper/handle.rs:110:39 [INFO] [stdout] | [INFO] [stdout] 110 | pub fn prepare_snapshot(&self) -> impl Future, ShutDown>> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] note: specifically, this lifetime is in scope but not mentioned in the type's bounds [INFO] [stdout] --> src/node/state_keeper/handle.rs:110:29 [INFO] [stdout] | [INFO] [stdout] 110 | pub fn prepare_snapshot(&self) -> impl Future, ShutDown>> { [INFO] [stdout] | ^ [INFO] [stdout] = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024 [INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] | [INFO] [stdout] 110 | pub fn prepare_snapshot(&self) -> impl Future, ShutDown>> + use { [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `impl futures::Future>` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/node/state_keeper/handle.rs:117:10 [INFO] [stdout] | [INFO] [stdout] 117 | ) -> impl Future> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] note: specifically, this lifetime is in scope but not mentioned in the type's bounds [INFO] [stdout] --> src/node/state_keeper/handle.rs:115:9 [INFO] [stdout] | [INFO] [stdout] 115 | &self, [INFO] [stdout] | ^ [INFO] [stdout] = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024 [INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] | [INFO] [stdout] 117 | ) -> impl Future> + use { [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `impl futures::Future>` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/node/state_keeper/handle.rs:124:10 [INFO] [stdout] | [INFO] [stdout] 124 | ) -> impl Future> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] note: specifically, this lifetime is in scope but not mentioned in the type's bounds [INFO] [stdout] --> src/node/state_keeper/handle.rs:122:9 [INFO] [stdout] | [INFO] [stdout] 122 | &self, [INFO] [stdout] | ^ [INFO] [stdout] = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024 [INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] | [INFO] [stdout] 124 | ) -> impl Future> + use { [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `impl futures::Future>` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/node/state_keeper/handle.rs:132:10 [INFO] [stdout] | [INFO] [stdout] 132 | ) -> impl Future> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] note: specifically, these lifetimes are in scope but not mentioned in the type's bounds [INFO] [stdout] --> src/node/state_keeper/handle.rs:129:9 [INFO] [stdout] | [INFO] [stdout] 129 | &self, [INFO] [stdout] | ^ [INFO] [stdout] 130 | proof_of_life: &ProofOfLife, [INFO] [stdout] | ^ [INFO] [stdout] = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024 [INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] | [INFO] [stdout] 132 | ) -> impl Future> + use [INFO] [stdout] | ++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `impl futures::Future` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/node/state_keeper/handle.rs:144:10 [INFO] [stdout] | [INFO] [stdout] 144 | ) -> impl Future [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] note: specifically, these lifetimes are in scope but not mentioned in the type's bounds [INFO] [stdout] --> src/node/state_keeper/handle.rs:141:9 [INFO] [stdout] | [INFO] [stdout] 141 | &self, [INFO] [stdout] | ^ [INFO] [stdout] 142 | _proof_of_life: &ProofOfLife, [INFO] [stdout] | ^ [INFO] [stdout] = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024 [INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] | [INFO] [stdout] 144 | ) -> impl Future + use [INFO] [stdout] | ++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `impl futures::Future>` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/node/state_keeper/handle.rs:162:10 [INFO] [stdout] | [INFO] [stdout] 162 | ) -> impl Future> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] note: specifically, this lifetime is in scope but not mentioned in the type's bounds [INFO] [stdout] --> src/node/state_keeper/handle.rs:160:9 [INFO] [stdout] | [INFO] [stdout] 160 | &self, [INFO] [stdout] | ^ [INFO] [stdout] = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024 [INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] | [INFO] [stdout] 162 | ) -> impl Future> + use [INFO] [stdout] | ++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `impl futures::Future` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/node/state_keeper/handle.rs:170:60 [INFO] [stdout] | [INFO] [stdout] 170 | pub fn try_read_stale_infallibly(&self, f: F) -> impl Future [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] note: specifically, this lifetime is in scope but not mentioned in the type's bounds [INFO] [stdout] --> src/node/state_keeper/handle.rs:170:44 [INFO] [stdout] | [INFO] [stdout] 170 | pub fn try_read_stale_infallibly(&self, f: F) -> impl Future [INFO] [stdout] | ^ [INFO] [stdout] = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024 [INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] | [INFO] [stdout] 170 | pub fn try_read_stale_infallibly(&self, f: F) -> impl Future + use [INFO] [stdout] | ++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `impl futures::Future> + 'read` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/node/state_keeper/handle.rs:224:10 [INFO] [stdout] | [INFO] [stdout] 224 | ) -> impl Future> + 'read [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] note: specifically, these lifetimes are in scope but not mentioned in the type's bounds [INFO] [stdout] --> src/node/state_keeper/handle.rs:221:9 [INFO] [stdout] | [INFO] [stdout] 221 | &self, [INFO] [stdout] | ^ [INFO] [stdout] 222 | proof_of_life: &ProofOfLife, [INFO] [stdout] | ^ [INFO] [stdout] = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024 [INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] | [INFO] [stdout] 224 | ) -> impl Future> + 'read + use<'read, F, T, I> [INFO] [stdout] | +++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `impl futures::Future + 'read` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/node/state_keeper/handle.rs:236:10 [INFO] [stdout] | [INFO] [stdout] 236 | ) -> impl Future + 'read [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] note: specifically, these lifetimes are in scope but not mentioned in the type's bounds [INFO] [stdout] --> src/node/state_keeper/handle.rs:233:9 [INFO] [stdout] | [INFO] [stdout] 233 | &self, [INFO] [stdout] | ^ [INFO] [stdout] 234 | _proof_of_life: &ProofOfLife, [INFO] [stdout] | ^ [INFO] [stdout] = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024 [INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] | [INFO] [stdout] 236 | ) -> impl Future + 'read + use<'read, F, T, I> [INFO] [stdout] | +++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `impl futures::Future> + 'read` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/node/state_keeper/handle.rs:254:10 [INFO] [stdout] | [INFO] [stdout] 254 | ) -> impl Future> + 'read [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] note: specifically, this lifetime is in scope but not mentioned in the type's bounds [INFO] [stdout] --> src/node/state_keeper/handle.rs:252:9 [INFO] [stdout] | [INFO] [stdout] 252 | &self, [INFO] [stdout] | ^ [INFO] [stdout] = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024 [INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] | [INFO] [stdout] 254 | ) -> impl Future> + 'read + use<'read, F, T, I> [INFO] [stdout] | +++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `impl futures::Future + 'read` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/node/state_keeper/handle.rs:265:10 [INFO] [stdout] | [INFO] [stdout] 265 | ) -> impl Future + 'read [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] note: specifically, this lifetime is in scope but not mentioned in the type's bounds [INFO] [stdout] --> src/node/state_keeper/handle.rs:263:9 [INFO] [stdout] | [INFO] [stdout] 263 | &self, [INFO] [stdout] | ^ [INFO] [stdout] = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024 [INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] | [INFO] [stdout] 265 | ) -> impl Future + 'read + use<'read, F, T, I> [INFO] [stdout] | +++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/node/state_keeper/handle.rs:290:20 [INFO] [stdout] | [INFO] [stdout] 290 | if let Ok(mut f) = self.0.lock() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/node/state_keeper/handle.rs:292:17 [INFO] [stdout] | [INFO] [stdout] 292 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 290 ~ match self.0.lock() { Ok(mut f) => { [INFO] [stdout] 291 | f.take(); [INFO] [stdout] 292 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `impl futures::Future::RoundNum, <::State as state::State>::Outcome)>, ShutDown>>` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/node/state_keeper/handle.rs:345:10 [INFO] [stdout] | [INFO] [stdout] 345 | ) -> impl Future, OutcomeOf)>, ShutDown>> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] note: specifically, this lifetime is in scope but not mentioned in the type's bounds [INFO] [stdout] --> src/node/state_keeper/handle.rs:343:9 [INFO] [stdout] | [INFO] [stdout] 343 | &self, [INFO] [stdout] | ^ [INFO] [stdout] = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024 [INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] | [INFO] [stdout] 345 | ) -> impl Future, OutcomeOf)>, ShutDown>> + use [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `impl futures::Future::RoundNum>, AcquireRoundNumError>>` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/node/state_keeper/handle.rs:353:10 [INFO] [stdout] | [INFO] [stdout] 353 | ) -> impl Future>, AcquireRoundNumError>> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] note: specifically, this lifetime is in scope but not mentioned in the type's bounds [INFO] [stdout] --> src/node/state_keeper/handle.rs:351:9 [INFO] [stdout] | [INFO] [stdout] 351 | &self, [INFO] [stdout] | ^ [INFO] [stdout] = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024 [INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] | [INFO] [stdout] 353 | ) -> impl Future>, AcquireRoundNumError>> + use [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `impl futures::Future::State as state::State>::LogEntry>>, ShutDown>>` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/node/state_keeper/handle.rs:361:10 [INFO] [stdout] | [INFO] [stdout] 361 | ) -> impl Future>>, ShutDown>> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] note: specifically, this lifetime is in scope but not mentioned in the type's bounds [INFO] [stdout] --> src/node/state_keeper/handle.rs:359:9 [INFO] [stdout] | [INFO] [stdout] 359 | &self, [INFO] [stdout] | ^ [INFO] [stdout] = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024 [INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] | [INFO] [stdout] 361 | ) -> impl Future>>, ShutDown>> + use { [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `impl futures::Future::State as state::State>::Node>, ClusterError<::RoundNum>>> + std::marker::Send + 'static` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/node/state_keeper/handle.rs:373:10 [INFO] [stdout] | [INFO] [stdout] 373 | ) -> impl Future>, ClusterError>>> + Send + 'static [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] note: specifically, this lifetime is in scope but not mentioned in the type's bounds [INFO] [stdout] --> src/node/state_keeper/handle.rs:371:9 [INFO] [stdout] | [INFO] [stdout] 371 | &self, [INFO] [stdout] | ^ [INFO] [stdout] = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024 [INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] | [INFO] [stdout] 373 | ) -> impl Future>, ClusterError>>> + Send + 'static + use [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `impl futures::Future>` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/node/state_keeper/handle.rs:381:10 [INFO] [stdout] | [INFO] [stdout] 381 | ) -> impl Future> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] note: specifically, this lifetime is in scope but not mentioned in the type's bounds [INFO] [stdout] --> src/node/state_keeper/handle.rs:379:9 [INFO] [stdout] | [INFO] [stdout] 379 | &self, [INFO] [stdout] | ^ [INFO] [stdout] = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024 [INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] | [INFO] [stdout] 381 | ) -> impl Future> + use { [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `impl futures::Future::CoordNum, ShutDown>>` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/node/state_keeper/handle.rs:387:10 [INFO] [stdout] | [INFO] [stdout] 387 | ) -> impl Future, ShutDown>> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] note: specifically, this lifetime is in scope but not mentioned in the type's bounds [INFO] [stdout] --> src/node/state_keeper/handle.rs:386:9 [INFO] [stdout] | [INFO] [stdout] 386 | &self, [INFO] [stdout] | ^ [INFO] [stdout] = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024 [INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] | [INFO] [stdout] 387 | ) -> impl Future, ShutDown>> + use { [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `impl futures::Future::RoundNum, ::CoordNum, <::State as state::State>::LogEntry>, PrepareError>>` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/node/state_keeper/handle.rs:395:10 [INFO] [stdout] | [INFO] [stdout] 395 | ) -> impl Future, PrepareError>> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] note: specifically, this lifetime is in scope but not mentioned in the type's bounds [INFO] [stdout] --> src/node/state_keeper/handle.rs:392:9 [INFO] [stdout] | [INFO] [stdout] 392 | &self, [INFO] [stdout] | ^ [INFO] [stdout] = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024 [INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] | [INFO] [stdout] 395 | ) -> impl Future, PrepareError>> + use { [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `impl futures::Future::RoundNum, ::CoordNum, <::State as state::State>::LogEntry>, PrepareError>>` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/node/state_keeper/handle.rs:403:10 [INFO] [stdout] | [INFO] [stdout] 403 | ) -> impl Future, PrepareError>> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] note: specifically, this lifetime is in scope but not mentioned in the type's bounds [INFO] [stdout] --> src/node/state_keeper/handle.rs:400:9 [INFO] [stdout] | [INFO] [stdout] 400 | &self, [INFO] [stdout] | ^ [INFO] [stdout] = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024 [INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] | [INFO] [stdout] 403 | ) -> impl Future, PrepareError>> + use { [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `impl futures::Future::Yea, AcceptError>>` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/node/state_keeper/handle.rs:415:10 [INFO] [stdout] | [INFO] [stdout] 415 | ) -> impl Future, AcceptError>> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] note: specifically, this lifetime is in scope but not mentioned in the type's bounds [INFO] [stdout] --> src/node/state_keeper/handle.rs:411:9 [INFO] [stdout] | [INFO] [stdout] 411 | &self, [INFO] [stdout] | ^ [INFO] [stdout] = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024 [INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] | [INFO] [stdout] 415 | ) -> impl Future, AcceptError>> + use { [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `impl futures::Future::Yea, AcceptError>>` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/node/state_keeper/handle.rs:424:10 [INFO] [stdout] | [INFO] [stdout] 424 | ) -> impl Future, AcceptError>> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] note: specifically, this lifetime is in scope but not mentioned in the type's bounds [INFO] [stdout] --> src/node/state_keeper/handle.rs:420:9 [INFO] [stdout] | [INFO] [stdout] 420 | &self, [INFO] [stdout] | ^ [INFO] [stdout] = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `impl futures::Future::Nay>, ShutDown>>` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/node/state_keeper/handle.rs:433:10 [INFO] [stdout] | [INFO] [stdout] 433 | ) -> impl Future>, ShutDown>> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] note: specifically, this lifetime is in scope but not mentioned in the type's bounds [INFO] [stdout] --> src/node/state_keeper/handle.rs:430:9 [INFO] [stdout] | [INFO] [stdout] 430 | &self, [INFO] [stdout] | ^ [INFO] [stdout] = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024 [INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] | [INFO] [stdout] 433 | ) -> impl Future>, ShutDown>> + use { [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `impl futures::Future>>` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/node/state_keeper/handle.rs:441:10 [INFO] [stdout] | [INFO] [stdout] 441 | ) -> impl Future>> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] note: specifically, this lifetime is in scope but not mentioned in the type's bounds [INFO] [stdout] --> src/node/state_keeper/handle.rs:438:9 [INFO] [stdout] | [INFO] [stdout] 438 | &self, [INFO] [stdout] | ^ [INFO] [stdout] = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024 [INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] | [INFO] [stdout] 441 | ) -> impl Future>> + use { [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `impl futures::Future::State, ::RoundNum, <<::State as state::State>::LogEntry as ApplicableTo<::State>>::Projection>, CommitError>>` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/node/state_keeper/handle.rs:450:10 [INFO] [stdout] | [INFO] [stdout] 450 | ) -> impl Future, CommitError>> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] note: specifically, this lifetime is in scope but not mentioned in the type's bounds [INFO] [stdout] --> src/node/state_keeper/handle.rs:446:9 [INFO] [stdout] | [INFO] [stdout] 446 | &self, [INFO] [stdout] | ^ [INFO] [stdout] = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024 [INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] | [INFO] [stdout] 450 | ) -> impl Future, CommitError>> + use { [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `impl futures::Future>>` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/node/state_keeper/handle.rs:466:10 [INFO] [stdout] | [INFO] [stdout] 466 | ) -> impl Future>> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] note: specifically, this lifetime is in scope but not mentioned in the type's bounds [INFO] [stdout] --> src/node/state_keeper/handle.rs:462:9 [INFO] [stdout] | [INFO] [stdout] 462 | &self, [INFO] [stdout] | ^ [INFO] [stdout] = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `impl futures::Future>>` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/node/state_keeper/handle.rs:479:10 [INFO] [stdout] | [INFO] [stdout] 479 | ) -> impl Future>> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] note: specifically, this lifetime is in scope but not mentioned in the type's bounds [INFO] [stdout] --> src/node/state_keeper/handle.rs:475:9 [INFO] [stdout] | [INFO] [stdout] 475 | &self, [INFO] [stdout] | ^ [INFO] [stdout] = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024 [INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] | [INFO] [stdout] 479 | ) -> impl Future>> + use { [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `impl futures::Future>` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/node/state_keeper/handle.rs:491:10 [INFO] [stdout] | [INFO] [stdout] 491 | ) -> impl Future> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] note: specifically, this lifetime is in scope but not mentioned in the type's bounds [INFO] [stdout] --> src/node/state_keeper/handle.rs:488:9 [INFO] [stdout] | [INFO] [stdout] 488 | &self, [INFO] [stdout] | ^ [INFO] [stdout] = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024 [INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] | [INFO] [stdout] 491 | ) -> impl Future> + use { [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `impl futures::Future>` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/node/state_keeper/handle.rs:505:10 [INFO] [stdout] | [INFO] [stdout] 505 | ) -> impl Future> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] note: specifically, this lifetime is in scope but not mentioned in the type's bounds [INFO] [stdout] --> src/node/state_keeper/handle.rs:503:9 [INFO] [stdout] | [INFO] [stdout] 503 | &self, [INFO] [stdout] | ^ [INFO] [stdout] = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024 [INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] | [INFO] [stdout] 505 | ) -> impl Future> + use { [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `impl futures::Future>` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/node/state_keeper/handle.rs:509:35 [INFO] [stdout] | [INFO] [stdout] 509 | pub fn force_active(&self) -> impl Future> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] note: specifically, this lifetime is in scope but not mentioned in the type's bounds [INFO] [stdout] --> src/node/state_keeper/handle.rs:509:25 [INFO] [stdout] | [INFO] [stdout] 509 | pub fn force_active(&self) -> impl Future> { [INFO] [stdout] | ^ [INFO] [stdout] = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024 [INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] | [INFO] [stdout] 509 | pub fn force_active(&self) -> impl Future> + use { [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `impl futures::Future` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/node/state_keeper/handle.rs:513:61 [INFO] [stdout] | [INFO] [stdout] 513 | pub fn shut_down(&self, _proof_of_life: ProofOfLife) -> impl Future { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] note: specifically, this lifetime is in scope but not mentioned in the type's bounds [INFO] [stdout] --> src/node/state_keeper/handle.rs:513:22 [INFO] [stdout] | [INFO] [stdout] 513 | pub fn shut_down(&self, _proof_of_life: ProofOfLife) -> impl Future { [INFO] [stdout] | ^ [INFO] [stdout] = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024 [INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] | [INFO] [stdout] 513 | pub fn shut_down(&self, _proof_of_life: ProofOfLife) -> impl Future + use { [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 71 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/node/state_keeper/mod.rs:94:9 [INFO] [stdout] | [INFO] [stdout] 94 | ($v:expr) => {{ [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] = note: `--force-warn edition-2024-expr-fragment-specifier` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 94 | ($v:expr_2021) => {{ [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: failed to automatically apply fixes suggested by rustc to crate `paxakos` [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/buffer.rs:105:24 [INFO] [stdout] | [INFO] [stdout] 105 | if let Some((r, c, e)) = self.buffer.get(delta) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^-----------^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/buffer.rs:109:21 [INFO] [stdout] | [INFO] [stdout] 109 | } [INFO] [stdout] | ^ [INFO] [stdout] = note: `--force-warn if-let-rescope` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 105 ~ match self.buffer.get(delta) { Some((r, c, e)) => { [INFO] [stdout] 106 | if *r == round_num { [INFO] [stdout] 107 | return Ok(Some((*c, Arc::clone(e)))); [INFO] [stdout] 108 | } [INFO] [stdout] 109 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/communicator.rs:236:20 [INFO] [stdout] | [INFO] [stdout] 236 | if let AcceptError::Rejected(nay) = err { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^--- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/communicator.rs:238:17 [INFO] [stdout] | [INFO] [stdout] 238 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 236 ~ match err { AcceptError::Rejected(nay) => { [INFO] [stdout] 237 | Ok(Acceptance::Refused(nay)) [INFO] [stdout] 238 ~ } _ => { [INFO] [stdout] 239 | Err(err) [INFO] [stdout] 240 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] after fixes were automatically applied the compiler reported errors within these files: [INFO] [stdout] warning: call to `.borrow()` on a reference in this situation does nothing [INFO] [stdout] --> src/node/commits.rs:39:23 [INFO] [stdout] | [INFO] [stdout] 39 | if !cx.waker().borrow().will_wake(&self.waker.borrow()) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the type `Waker` does not implement `Borrow`, so calling `borrow` on `&Waker` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] 39 - if !cx.waker().borrow().will_wake(&self.waker.borrow()) { [INFO] [stdout] 39 + if !cx.waker().will_wake(&self.waker.borrow()) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/node/core.rs:103:15 [INFO] [stdout] | [INFO] [stdout] 103 | while let std::task::Poll::Ready(Some(())) = self.inner.expect().commits.poll_next(cx) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^---------------------------^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/node/core.rs:105:9 [INFO] [stdout] | [INFO] [stdout] 105 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] * src/node/commits.rs [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/node/core.rs:125:16 [INFO] [stdout] | [INFO] [stdout] 125 | if let std::task::Poll::Ready(Event::Apply { round, .. }) = result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^------ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/node/core.rs:129:13 [INFO] [stdout] | [INFO] [stdout] 129 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 125 ~ match result { std::task::Poll::Ready(Event::Apply { round, .. }) => { [INFO] [stdout] 126 | if round + One::one() >= r { [INFO] [stdout] 127 | self.participation = Participation::Active; [INFO] [stdout] 128 | } [INFO] [stdout] 129 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] * src/node/state_keeper/mod.rs [INFO] [stderr] [INFO] [stderr] This likely indicates a bug in either rustc or cargo itself, [INFO] [stderr] and we would appreciate a bug report! You're likely to see [INFO] [stderr] a number of compiler warnings after this message which cargo [INFO] [stderr] attempted to fix but failed. If you could open an issue at [INFO] [stderr] https://github.com/rust-lang/rust/issues [INFO] [stderr] quoting the full output of this command we'd be very appreciative! [INFO] [stderr] Note that you may be able to make some more progress in the near-term [INFO] [stderr] fixing code with the `--broken-code` flag [INFO] [stderr] [INFO] [stderr] The following errors were reported: [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/node/state_keeper/mod.rs:94:6 [INFO] [stderr] | [INFO] [stderr] 94 | ($v:expr_2021) => {{ [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::borrow::Borrow` [INFO] [stderr] --> src/node/commits.rs:1:5 [INFO] [stderr] | [INFO] [stderr] 1 | use std::borrow::Borrow; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] error: aborting due to 1 previous error; 1 warning emitted [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0658`. [INFO] [stderr] Original diagnostics will follow. [INFO] [stderr] [INFO] [stdout] warning: `impl futures::Future>` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/node/handle.rs:104:29 [INFO] [stdout] | [INFO] [stdout] 104 | pub fn status(&self) -> impl Future> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] note: specifically, this lifetime is in scope but not mentioned in the type's bounds [INFO] [stdout] --> src/node/handle.rs:104:19 [INFO] [stdout] | [INFO] [stdout] 104 | pub fn status(&self) -> impl Future> { [INFO] [stdout] | ^ [INFO] [stdout] = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024 [INFO] [stdout] = note: `--force-warn impl-trait-overcaptures` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] | [INFO] [stdout] 104 | pub fn status(&self) -> impl Future> + use { [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `impl futures::Future::State, ::RoundNum, ::CoordNum>, ShutDown>>` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/node/handle.rs:109:39 [INFO] [stdout] | [INFO] [stdout] 109 | pub fn prepare_snapshot(&self) -> impl Future, ShutDown>> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] note: specifically, this lifetime is in scope but not mentioned in the type's bounds [INFO] [stdout] --> src/node/handle.rs:109:29 [INFO] [stdout] | [INFO] [stdout] 109 | pub fn prepare_snapshot(&self) -> impl Future, ShutDown>> { [INFO] [stdout] | ^ [INFO] [stdout] = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024 [INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] | [INFO] [stdout] 109 | pub fn prepare_snapshot(&self) -> impl Future, ShutDown>> + use { [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `impl futures::Future>` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/node/handle.rs:119:10 [INFO] [stdout] | [INFO] [stdout] 119 | ) -> impl Future> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] note: specifically, this lifetime is in scope but not mentioned in the type's bounds [INFO] [stdout] --> src/node/handle.rs:117:9 [INFO] [stdout] | [INFO] [stdout] 117 | &self, [INFO] [stdout] | ^ [INFO] [stdout] = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024 [INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] | [INFO] [stdout] 119 | ) -> impl Future> + use { [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `impl futures::Future>` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/node/handle.rs:129:10 [INFO] [stdout] | [INFO] [stdout] 129 | ) -> impl Future> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] note: specifically, this lifetime is in scope but not mentioned in the type's bounds [INFO] [stdout] --> src/node/handle.rs:127:9 [INFO] [stdout] | [INFO] [stdout] 127 | &self, [INFO] [stdout] | ^ [INFO] [stdout] = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024 [INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] | [INFO] [stdout] 129 | ) -> impl Future> + use { [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `impl futures::Future>` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/node/handle.rs:140:10 [INFO] [stdout] | [INFO] [stdout] 140 | ) -> impl Future> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] note: specifically, this lifetime is in scope but not mentioned in the type's bounds [INFO] [stdout] --> src/node/handle.rs:138:9 [INFO] [stdout] | [INFO] [stdout] 138 | &self, [INFO] [stdout] | ^ [INFO] [stdout] = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024 [INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] | [INFO] [stdout] 140 | ) -> impl Future> + use [INFO] [stdout] | ++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `impl futures::Future> + 'read` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/node/handle.rs:155:10 [INFO] [stdout] | [INFO] [stdout] 155 | ) -> impl Future> + 'read [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] note: specifically, this lifetime is in scope but not mentioned in the type's bounds [INFO] [stdout] --> src/node/handle.rs:153:9 [INFO] [stdout] | [INFO] [stdout] 153 | &self, [INFO] [stdout] | ^ [INFO] [stdout] = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024 [INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] | [INFO] [stdout] 155 | ) -> impl Future> + 'read + use<'read, F, T, I> [INFO] [stdout] | +++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `impl futures::Future::State, ::RoundNum, ::State>>::Projection>, ::StaticError>>` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/node/handle.rs:168:10 [INFO] [stdout] | [INFO] [stdout] 168 | ) -> impl Future, R::StaticError>> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] note: specifically, this lifetime is in scope but not mentioned in the type's bounds [INFO] [stdout] --> src/node/handle.rs:165:9 [INFO] [stdout] | [INFO] [stdout] 165 | &self, [INFO] [stdout] | ^ [INFO] [stdout] = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024 [INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] | [INFO] [stdout] 168 | ) -> impl Future, R::StaticError>> + use [INFO] [stdout] | +++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/node/inner.rs:389:27 [INFO] [stdout] | [INFO] [stdout] 389 | while let Some(response) = pending_responses.next().await { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^------------------------------ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/node/inner.rs:412:21 [INFO] [stdout] | [INFO] [stdout] 412 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/node/inner.rs:390:28 [INFO] [stdout] | [INFO] [stdout] 390 | if let Ok(Vote::Conflicted(rejection)) = response { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/node/inner.rs:411:25 [INFO] [stdout] | [INFO] [stdout] 411 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 390 ~ match response { Ok(Vote::Conflicted(rejection)) => { [INFO] [stdout] 391 | let observe_coord_num = this [INFO] [stdout] ... [INFO] [stdout] 410 | } [INFO] [stdout] 411 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/node/inner.rs:397:32 [INFO] [stdout] | [INFO] [stdout] 397 | ... if let Conflict::Converged { log_entry, .. } = &rejection { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^--------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/node/inner.rs:410:29 [INFO] [stdout] | [INFO] [stdout] 410 | ... } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 397 ~ match &rejection { Conflict::Converged { log_entry, .. } => { [INFO] [stdout] 398 | converged = true; [INFO] [stdout] ... [INFO] [stdout] 409 | } [INFO] [stdout] 410 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/node/inner.rs:592:15 [INFO] [stdout] | [INFO] [stdout] 592 | while let Some(response) = pending_responses.next().await { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^------------------------------ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/node/inner.rs:652:9 [INFO] [stdout] | [INFO] [stdout] 652 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/node/inner.rs:731:15 [INFO] [stdout] | [INFO] [stdout] 731 | while let Some((node_id, response)) = pending_responses.next().await { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^------------------------------ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/node/inner.rs:792:9 [INFO] [stdout] | [INFO] [stdout] 792 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/node/inner.rs:853:19 [INFO] [stdout] | [INFO] [stdout] 853 | while let Some((node_id, response)) = pending_acceptances.next().await { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-------------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/node/inner.rs:891:13 [INFO] [stdout] | [INFO] [stdout] 891 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/node/inner.rs:926:15 [INFO] [stdout] | [INFO] [stdout] 926 | while let Some((_node, response)) = pending_responses.next().await { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^------------------------------ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/node/inner.rs:960:9 [INFO] [stdout] | [INFO] [stdout] 960 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/node/inner.rs:940:24 [INFO] [stdout] | [INFO] [stdout] 940 | if let Conflict::Converged { log_entry, .. } = &rejection { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^--------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/node/inner.rs:953:21 [INFO] [stdout] | [INFO] [stdout] 953 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 940 ~ match &rejection { Conflict::Converged { log_entry, .. } => { [INFO] [stdout] 941 | converged = true; [INFO] [stdout] ... [INFO] [stdout] 952 | } [INFO] [stdout] 953 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `impl futures::Future::RoundNum, ::CoordNum, <::State as state::State>::LogEntry>, PrepareError>>` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/node/req_handler.rs:32:10 [INFO] [stdout] | [INFO] [stdout] 32 | ) -> impl Future, PrepareError>> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] note: specifically, this lifetime is in scope but not mentioned in the type's bounds [INFO] [stdout] --> src/node/req_handler.rs:29:9 [INFO] [stdout] | [INFO] [stdout] 29 | &self, [INFO] [stdout] | ^ [INFO] [stdout] = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024 [INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] | [INFO] [stdout] 32 | ) -> impl Future, PrepareError>> + use { [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `impl futures::Future::Yea, AcceptError>>` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/node/req_handler.rs:43:10 [INFO] [stdout] | [INFO] [stdout] 43 | ) -> impl Future, AcceptError>> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] note: specifically, this lifetime is in scope but not mentioned in the type's bounds [INFO] [stdout] --> src/node/req_handler.rs:39:9 [INFO] [stdout] | [INFO] [stdout] 39 | &self, [INFO] [stdout] | ^ [INFO] [stdout] = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024 [INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] | [INFO] [stdout] 43 | ) -> impl Future, AcceptError>> + use { [INFO] [stdout] | +++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `impl futures::Future>>` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/node/req_handler.rs:54:10 [INFO] [stdout] | [INFO] [stdout] 54 | ) -> impl Future>> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] note: specifically, this lifetime is in scope but not mentioned in the type's bounds [INFO] [stdout] --> src/node/req_handler.rs:50:9 [INFO] [stdout] | [INFO] [stdout] 50 | &self, [INFO] [stdout] | ^ [INFO] [stdout] = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024 [INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] | [INFO] [stdout] 54 | ) -> impl Future>> + use { [INFO] [stdout] | +++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `impl futures::Future>>` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/node/req_handler.rs:64:10 [INFO] [stdout] | [INFO] [stdout] 64 | ) -> impl Future>> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] note: specifically, this lifetime is in scope but not mentioned in the type's bounds [INFO] [stdout] --> src/node/req_handler.rs:60:9 [INFO] [stdout] | [INFO] [stdout] 60 | &self, [INFO] [stdout] | ^ [INFO] [stdout] = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024 [INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] | [INFO] [stdout] 64 | ) -> impl Future>> + use { [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/node/shell.rs:101:12 [INFO] [stdout] | [INFO] [stdout] 101 | if let Some(mut mid) = self.mid.take() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^--------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/node/shell.rs:105:9 [INFO] [stdout] | [INFO] [stdout] 105 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 101 ~ match self.mid.take() { Some(mut mid) => { [INFO] [stdout] 102 | mid.state.enter(|| { [INFO] [stdout] 103 | drop(mid.entered); [INFO] [stdout] 104 | }); [INFO] [stdout] 105 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/node/shell.rs:456:15 [INFO] [stdout] | [INFO] [stdout] 456 | while let std::task::Poll::Ready(Some((req, send))) = self.0.receiver.poll_next_unpin(cx) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^----------------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/node/shell.rs:458:9 [INFO] [stdout] | [INFO] [stdout] 458 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/node/shell.rs:460:15 [INFO] [stdout] | [INFO] [stdout] 460 | while let std::task::Poll::Ready(Some(())) = self.0.appends.poll_next_unpin(cx) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^--------------^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/node/shell.rs:462:9 [INFO] [stdout] | [INFO] [stdout] 462 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/node/state_keeper/mod.rs:438:20 [INFO] [stdout] | [INFO] [stdout] 438 | if let Request::Shutdown = req { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^--- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/node/state_keeper/mod.rs:442:17 [INFO] [stdout] | [INFO] [stdout] 442 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 438 ~ match req { Request::Shutdown => { [INFO] [stdout] 439 | let _ = resp_sender.send(Response::Shutdown(Ok(()))); [INFO] [stdout] 440 | [INFO] [stdout] 441 | false [INFO] [stdout] 442 ~ } _ => { [INFO] [stdout] 443 | self.handle_request_msg(req, resp_sender); [INFO] [stdout] 444 | true [INFO] [stdout] 445 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/node/state_keeper/mod.rs:535:23 [INFO] [stdout] | [INFO] [stdout] 535 | while let Some((_, send)) = requests.pop_front() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^-------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/node/state_keeper/mod.rs:539:17 [INFO] [stdout] | [INFO] [stdout] 539 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/node/state_keeper/mod.rs:545:15 [INFO] [stdout] | [INFO] [stdout] 545 | while let Some(event) = self.queued_events.pop_front() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^------------------------------ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/node/state_keeper/mod.rs:586:9 [INFO] [stdout] | [INFO] [stdout] 586 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/node/state_keeper/mod.rs:594:15 [INFO] [stdout] | [INFO] [stdout] 594 | while let Some((req, resp_sender)) = self.receiver.try_next().unwrap() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^--------------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/node/state_keeper/mod.rs:600:9 [INFO] [stdout] | [INFO] [stdout] 600 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/node/state_keeper/mod.rs:595:16 [INFO] [stdout] | [INFO] [stdout] 595 | if let Request::Shutdown = req { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^--- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/node/state_keeper/mod.rs:597:13 [INFO] [stdout] | [INFO] [stdout] 597 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 595 ~ match req { Request::Shutdown => { [INFO] [stdout] 596 | let _ = resp_sender.send(Response::Shutdown(Ok(()))); [INFO] [stdout] 597 ~ } _ => { [INFO] [stdout] 598 | self.handle_request_msg(req, resp_sender); [INFO] [stdout] 599 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/node/state_keeper/mod.rs:827:20 [INFO] [stdout] | [INFO] [stdout] 827 | if let Participation::Passive { .. } = self.participation { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^------------------ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/node/state_keeper/mod.rs:833:17 [INFO] [stdout] | [INFO] [stdout] 833 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 827 ~ match self.participation { Participation::Passive { .. } => { [INFO] [stdout] 828 | info!("Node forced into active participation mode."); [INFO] [stdout] ... [INFO] [stdout] 832 | Ok(true) [INFO] [stdout] 833 ~ } _ => { [INFO] [stdout] 834 | Ok(false) [INFO] [stdout] 835 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/node/state_keeper/mod.rs:891:12 [INFO] [stdout] | [INFO] [stdout] 891 | if let Some(leader) = self.deduce_node(round_num, coord_num) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^-------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/node/state_keeper/mod.rs:899:9 [INFO] [stdout] | [INFO] [stdout] 899 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 891 ~ match self.deduce_node(round_num, coord_num) { Some(leader) => { [INFO] [stdout] 892 | self.emit(Event::Directive { [INFO] [stdout] ... [INFO] [stdout] 898 | }); [INFO] [stdout] 899 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/node/state_keeper/mod.rs:1046:19 [INFO] [stdout] | [INFO] [stdout] 1046 | } else if let btree_map::Entry::Occupied(e) = self.pending_commits.entry(round_num) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^--------------------^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/node/state_keeper/mod.rs:1054:9 [INFO] [stdout] | [INFO] [stdout] 1054 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 1046 ~ } else { match self.pending_commits.entry(round_num) { btree_map::Entry::Occupied(e) => { [INFO] [stdout] 1047 | let coord_num = e.get().1; [INFO] [stdout] ... [INFO] [stdout] 1053 | )); [INFO] [stdout] 1054 ~ } _ => {}}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/node/state_keeper/mod.rs:1179:19 [INFO] [stdout] | [INFO] [stdout] 1179 | } else if let btree_map::Entry::Occupied(e) = self.pending_commits.entry(round_num) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^--------------------^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/node/state_keeper/mod.rs:1187:9 [INFO] [stdout] | [INFO] [stdout] 1187 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 1179 ~ } else { match self.pending_commits.entry(round_num) { btree_map::Entry::Occupied(e) => { [INFO] [stdout] 1180 | let coord_num = e.get().1; [INFO] [stdout] ... [INFO] [stdout] 1186 | )) [INFO] [stdout] 1187 ~ } _ => { [INFO] [stdout] 1188 | let relevant_promise = [INFO] [stdout] ... [INFO] [stdout] 1205 | } [INFO] [stdout] 1206 ~ }}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/node/state_keeper/mod.rs:1363:20 [INFO] [stdout] | [INFO] [stdout] 1363 | if let Some(concurrency) = StateOf::::concurrency(self.state.as_ref()) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^----------^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/node/state_keeper/mod.rs:1368:17 [INFO] [stdout] | [INFO] [stdout] 1368 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 1363 ~ match StateOf::::concurrency(self.state.as_ref()) { Some(concurrency) => { [INFO] [stdout] 1364 | let first_active_round = round_num + into_round_num(concurrency); [INFO] [stdout] ... [INFO] [stdout] 1367 | self.emit(Event::Activate(first_active_round)); [INFO] [stdout] 1368 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/node/state_keeper/mod.rs:1399:15 [INFO] [stdout] | [INFO] [stdout] 1399 | while let Some((_, coord_num, entry)) = self.pending_commits.remove(&(round + One::one())) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-------------------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/node/state_keeper/mod.rs:1444:9 [INFO] [stdout] | [INFO] [stdout] 1444 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/node/state_keeper/mod.rs:1466:15 [INFO] [stdout] | [INFO] [stdout] 1466 | while let Some(first_accepted_key) = self.accepted_entries.keys().next().copied() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^---------------------^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/node/state_keeper/mod.rs:1472:9 [INFO] [stdout] | [INFO] [stdout] 1472 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `impl futures::Future::State, ::RoundNum, ::CoordNum>, ShutDown>>` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/node/state_keeper/handle.rs:110:39 [INFO] [stdout] | [INFO] [stdout] 110 | pub fn prepare_snapshot(&self) -> impl Future, ShutDown>> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] note: specifically, this lifetime is in scope but not mentioned in the type's bounds [INFO] [stdout] --> src/node/state_keeper/handle.rs:110:29 [INFO] [stdout] | [INFO] [stdout] 110 | pub fn prepare_snapshot(&self) -> impl Future, ShutDown>> { [INFO] [stdout] | ^ [INFO] [stdout] = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024 [INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] | [INFO] [stdout] 110 | pub fn prepare_snapshot(&self) -> impl Future, ShutDown>> + use { [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `impl futures::Future>` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/node/state_keeper/handle.rs:117:10 [INFO] [stdout] | [INFO] [stdout] 117 | ) -> impl Future> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] note: specifically, this lifetime is in scope but not mentioned in the type's bounds [INFO] [stdout] --> src/node/state_keeper/handle.rs:115:9 [INFO] [stdout] | [INFO] [stdout] 115 | &self, [INFO] [stdout] | ^ [INFO] [stdout] = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024 [INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] | [INFO] [stdout] 117 | ) -> impl Future> + use { [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `impl futures::Future>` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/node/state_keeper/handle.rs:124:10 [INFO] [stdout] | [INFO] [stdout] 124 | ) -> impl Future> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] note: specifically, this lifetime is in scope but not mentioned in the type's bounds [INFO] [stdout] --> src/node/state_keeper/handle.rs:122:9 [INFO] [stdout] | [INFO] [stdout] 122 | &self, [INFO] [stdout] | ^ [INFO] [stdout] = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024 [INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] | [INFO] [stdout] 124 | ) -> impl Future> + use { [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `impl futures::Future>` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/node/state_keeper/handle.rs:132:10 [INFO] [stdout] | [INFO] [stdout] 132 | ) -> impl Future> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] note: specifically, these lifetimes are in scope but not mentioned in the type's bounds [INFO] [stdout] --> src/node/state_keeper/handle.rs:129:9 [INFO] [stdout] | [INFO] [stdout] 129 | &self, [INFO] [stdout] | ^ [INFO] [stdout] 130 | proof_of_life: &ProofOfLife, [INFO] [stdout] | ^ [INFO] [stdout] = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024 [INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] | [INFO] [stdout] 132 | ) -> impl Future> + use [INFO] [stdout] | ++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `impl futures::Future` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/node/state_keeper/handle.rs:144:10 [INFO] [stdout] | [INFO] [stdout] 144 | ) -> impl Future [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] note: specifically, these lifetimes are in scope but not mentioned in the type's bounds [INFO] [stdout] --> src/node/state_keeper/handle.rs:141:9 [INFO] [stdout] | [INFO] [stdout] 141 | &self, [INFO] [stdout] | ^ [INFO] [stdout] 142 | _proof_of_life: &ProofOfLife, [INFO] [stdout] | ^ [INFO] [stdout] = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024 [INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] | [INFO] [stdout] 144 | ) -> impl Future + use [INFO] [stdout] | ++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `impl futures::Future>` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/node/state_keeper/handle.rs:162:10 [INFO] [stdout] | [INFO] [stdout] 162 | ) -> impl Future> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] note: specifically, this lifetime is in scope but not mentioned in the type's bounds [INFO] [stdout] --> src/node/state_keeper/handle.rs:160:9 [INFO] [stdout] | [INFO] [stdout] 160 | &self, [INFO] [stdout] | ^ [INFO] [stdout] = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024 [INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] | [INFO] [stdout] 162 | ) -> impl Future> + use [INFO] [stdout] | ++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `impl futures::Future` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/node/state_keeper/handle.rs:170:60 [INFO] [stdout] | [INFO] [stdout] 170 | pub fn try_read_stale_infallibly(&self, f: F) -> impl Future [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] note: specifically, this lifetime is in scope but not mentioned in the type's bounds [INFO] [stdout] --> src/node/state_keeper/handle.rs:170:44 [INFO] [stdout] | [INFO] [stdout] 170 | pub fn try_read_stale_infallibly(&self, f: F) -> impl Future [INFO] [stdout] | ^ [INFO] [stdout] = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024 [INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] | [INFO] [stdout] 170 | pub fn try_read_stale_infallibly(&self, f: F) -> impl Future + use [INFO] [stdout] | ++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `impl futures::Future> + 'read` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/node/state_keeper/handle.rs:224:10 [INFO] [stdout] | [INFO] [stdout] 224 | ) -> impl Future> + 'read [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] note: specifically, these lifetimes are in scope but not mentioned in the type's bounds [INFO] [stdout] --> src/node/state_keeper/handle.rs:221:9 [INFO] [stdout] | [INFO] [stdout] 221 | &self, [INFO] [stdout] | ^ [INFO] [stdout] 222 | proof_of_life: &ProofOfLife, [INFO] [stdout] | ^ [INFO] [stdout] = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024 [INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] | [INFO] [stdout] 224 | ) -> impl Future> + 'read + use<'read, F, T, I> [INFO] [stdout] | +++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `impl futures::Future + 'read` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/node/state_keeper/handle.rs:236:10 [INFO] [stdout] | [INFO] [stdout] 236 | ) -> impl Future + 'read [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] note: specifically, these lifetimes are in scope but not mentioned in the type's bounds [INFO] [stdout] --> src/node/state_keeper/handle.rs:233:9 [INFO] [stdout] | [INFO] [stdout] 233 | &self, [INFO] [stdout] | ^ [INFO] [stdout] 234 | _proof_of_life: &ProofOfLife, [INFO] [stdout] | ^ [INFO] [stdout] = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024 [INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] | [INFO] [stdout] 236 | ) -> impl Future + 'read + use<'read, F, T, I> [INFO] [stdout] | +++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `impl futures::Future> + 'read` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/node/state_keeper/handle.rs:254:10 [INFO] [stdout] | [INFO] [stdout] 254 | ) -> impl Future> + 'read [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] note: specifically, this lifetime is in scope but not mentioned in the type's bounds [INFO] [stdout] --> src/node/state_keeper/handle.rs:252:9 [INFO] [stdout] | [INFO] [stdout] 252 | &self, [INFO] [stdout] | ^ [INFO] [stdout] = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024 [INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] | [INFO] [stdout] 254 | ) -> impl Future> + 'read + use<'read, F, T, I> [INFO] [stdout] | +++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `impl futures::Future + 'read` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/node/state_keeper/handle.rs:265:10 [INFO] [stdout] | [INFO] [stdout] 265 | ) -> impl Future + 'read [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] note: specifically, this lifetime is in scope but not mentioned in the type's bounds [INFO] [stdout] --> src/node/state_keeper/handle.rs:263:9 [INFO] [stdout] | [INFO] [stdout] 263 | &self, [INFO] [stdout] | ^ [INFO] [stdout] = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024 [INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] | [INFO] [stdout] 265 | ) -> impl Future + 'read + use<'read, F, T, I> [INFO] [stdout] | +++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/node/state_keeper/handle.rs:290:20 [INFO] [stdout] | [INFO] [stdout] 290 | if let Ok(mut f) = self.0.lock() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/node/state_keeper/handle.rs:292:17 [INFO] [stdout] | [INFO] [stdout] 292 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 290 ~ match self.0.lock() { Ok(mut f) => { [INFO] [stdout] 291 | f.take(); [INFO] [stdout] 292 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `impl futures::Future::RoundNum, <::State as state::State>::Outcome)>, ShutDown>>` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/node/state_keeper/handle.rs:345:10 [INFO] [stdout] | [INFO] [stdout] 345 | ) -> impl Future, OutcomeOf)>, ShutDown>> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] note: specifically, this lifetime is in scope but not mentioned in the type's bounds [INFO] [stdout] --> src/node/state_keeper/handle.rs:343:9 [INFO] [stdout] | [INFO] [stdout] 343 | &self, [INFO] [stdout] | ^ [INFO] [stdout] = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024 [INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] | [INFO] [stdout] 345 | ) -> impl Future, OutcomeOf)>, ShutDown>> + use [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `impl futures::Future::RoundNum>, AcquireRoundNumError>>` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/node/state_keeper/handle.rs:353:10 [INFO] [stdout] | [INFO] [stdout] 353 | ) -> impl Future>, AcquireRoundNumError>> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] note: specifically, this lifetime is in scope but not mentioned in the type's bounds [INFO] [stdout] --> src/node/state_keeper/handle.rs:351:9 [INFO] [stdout] | [INFO] [stdout] 351 | &self, [INFO] [stdout] | ^ [INFO] [stdout] = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024 [INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] | [INFO] [stdout] 353 | ) -> impl Future>, AcquireRoundNumError>> + use [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `impl futures::Future::State as state::State>::LogEntry>>, ShutDown>>` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/node/state_keeper/handle.rs:361:10 [INFO] [stdout] | [INFO] [stdout] 361 | ) -> impl Future>>, ShutDown>> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] note: specifically, this lifetime is in scope but not mentioned in the type's bounds [INFO] [stdout] --> src/node/state_keeper/handle.rs:359:9 [INFO] [stdout] | [INFO] [stdout] 359 | &self, [INFO] [stdout] | ^ [INFO] [stdout] = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024 [INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] | [INFO] [stdout] 361 | ) -> impl Future>>, ShutDown>> + use { [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `impl futures::Future::State as state::State>::Node>, ClusterError<::RoundNum>>> + std::marker::Send + 'static` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/node/state_keeper/handle.rs:373:10 [INFO] [stdout] | [INFO] [stdout] 373 | ) -> impl Future>, ClusterError>>> + Send + 'static [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] note: specifically, this lifetime is in scope but not mentioned in the type's bounds [INFO] [stdout] --> src/node/state_keeper/handle.rs:371:9 [INFO] [stdout] | [INFO] [stdout] 371 | &self, [INFO] [stdout] | ^ [INFO] [stdout] = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024 [INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] | [INFO] [stdout] 373 | ) -> impl Future>, ClusterError>>> + Send + 'static + use [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `impl futures::Future>` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/node/state_keeper/handle.rs:381:10 [INFO] [stdout] | [INFO] [stdout] 381 | ) -> impl Future> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] note: specifically, this lifetime is in scope but not mentioned in the type's bounds [INFO] [stdout] --> src/node/state_keeper/handle.rs:379:9 [INFO] [stdout] | [INFO] [stdout] 379 | &self, [INFO] [stdout] | ^ [INFO] [stdout] = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024 [INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] | [INFO] [stdout] 381 | ) -> impl Future> + use { [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `impl futures::Future::CoordNum, ShutDown>>` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/node/state_keeper/handle.rs:387:10 [INFO] [stdout] | [INFO] [stdout] 387 | ) -> impl Future, ShutDown>> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] note: specifically, this lifetime is in scope but not mentioned in the type's bounds [INFO] [stdout] --> src/node/state_keeper/handle.rs:386:9 [INFO] [stdout] | [INFO] [stdout] 386 | &self, [INFO] [stdout] | ^ [INFO] [stdout] = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024 [INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] | [INFO] [stdout] 387 | ) -> impl Future, ShutDown>> + use { [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `impl futures::Future::RoundNum, ::CoordNum, <::State as state::State>::LogEntry>, PrepareError>>` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/node/state_keeper/handle.rs:395:10 [INFO] [stdout] | [INFO] [stdout] 395 | ) -> impl Future, PrepareError>> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] note: specifically, this lifetime is in scope but not mentioned in the type's bounds [INFO] [stdout] --> src/node/state_keeper/handle.rs:392:9 [INFO] [stdout] | [INFO] [stdout] 392 | &self, [INFO] [stdout] | ^ [INFO] [stdout] = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024 [INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] | [INFO] [stdout] 395 | ) -> impl Future, PrepareError>> + use { [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `impl futures::Future::RoundNum, ::CoordNum, <::State as state::State>::LogEntry>, PrepareError>>` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/node/state_keeper/handle.rs:403:10 [INFO] [stdout] | [INFO] [stdout] 403 | ) -> impl Future, PrepareError>> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] note: specifically, this lifetime is in scope but not mentioned in the type's bounds [INFO] [stdout] --> src/node/state_keeper/handle.rs:400:9 [INFO] [stdout] | [INFO] [stdout] 400 | &self, [INFO] [stdout] | ^ [INFO] [stdout] = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024 [INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] | [INFO] [stdout] 403 | ) -> impl Future, PrepareError>> + use { [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `impl futures::Future::Yea, AcceptError>>` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/node/state_keeper/handle.rs:415:10 [INFO] [stdout] | [INFO] [stdout] 415 | ) -> impl Future, AcceptError>> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] note: specifically, this lifetime is in scope but not mentioned in the type's bounds [INFO] [stdout] --> src/node/state_keeper/handle.rs:411:9 [INFO] [stdout] | [INFO] [stdout] 411 | &self, [INFO] [stdout] | ^ [INFO] [stdout] = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024 [INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] | [INFO] [stdout] 415 | ) -> impl Future, AcceptError>> + use { [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `impl futures::Future::Yea, AcceptError>>` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/node/state_keeper/handle.rs:424:10 [INFO] [stdout] | [INFO] [stdout] 424 | ) -> impl Future, AcceptError>> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] note: specifically, this lifetime is in scope but not mentioned in the type's bounds [INFO] [stdout] --> src/node/state_keeper/handle.rs:420:9 [INFO] [stdout] | [INFO] [stdout] 420 | &self, [INFO] [stdout] | ^ [INFO] [stdout] = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `impl futures::Future::Nay>, ShutDown>>` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/node/state_keeper/handle.rs:433:10 [INFO] [stdout] | [INFO] [stdout] 433 | ) -> impl Future>, ShutDown>> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] note: specifically, this lifetime is in scope but not mentioned in the type's bounds [INFO] [stdout] --> src/node/state_keeper/handle.rs:430:9 [INFO] [stdout] | [INFO] [stdout] 430 | &self, [INFO] [stdout] | ^ [INFO] [stdout] = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024 [INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] | [INFO] [stdout] 433 | ) -> impl Future>, ShutDown>> + use { [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 16.32s [INFO] [stdout] warning: `impl futures::Future>>` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/node/state_keeper/handle.rs:441:10 [INFO] [stdout] | [INFO] [stdout] 441 | ) -> impl Future>> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] note: specifically, this lifetime is in scope but not mentioned in the type's bounds [INFO] [stdout] --> src/node/state_keeper/handle.rs:438:9 [INFO] [stdout] | [INFO] [stdout] 438 | &self, [INFO] [stdout] | ^ [INFO] [stdout] = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024 [INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] | [INFO] [stdout] 441 | ) -> impl Future>> + use { [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `impl futures::Future::State, ::RoundNum, <<::State as state::State>::LogEntry as ApplicableTo<::State>>::Projection>, CommitError>>` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/node/state_keeper/handle.rs:450:10 [INFO] [stdout] | [INFO] [stdout] 450 | ) -> impl Future, CommitError>> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] note: specifically, this lifetime is in scope but not mentioned in the type's bounds [INFO] [stdout] --> src/node/state_keeper/handle.rs:446:9 [INFO] [stdout] | [INFO] [stdout] 446 | &self, [INFO] [stdout] | ^ [INFO] [stdout] = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024 [INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] | [INFO] [stdout] 450 | ) -> impl Future, CommitError>> + use { [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `impl futures::Future>>` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/node/state_keeper/handle.rs:466:10 [INFO] [stdout] | [INFO] [stdout] 466 | ) -> impl Future>> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] note: specifically, this lifetime is in scope but not mentioned in the type's bounds [INFO] [stdout] --> src/node/state_keeper/handle.rs:462:9 [INFO] [stdout] | [INFO] [stdout] 462 | &self, [INFO] [stdout] | ^ [INFO] [stdout] = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `impl futures::Future>>` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/node/state_keeper/handle.rs:479:10 [INFO] [stdout] | [INFO] [stdout] 479 | ) -> impl Future>> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] note: specifically, this lifetime is in scope but not mentioned in the type's bounds [INFO] [stdout] --> src/node/state_keeper/handle.rs:475:9 [INFO] [stdout] | [INFO] [stdout] 475 | &self, [INFO] [stdout] | ^ [INFO] [stdout] = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024 [INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] | [INFO] [stdout] 479 | ) -> impl Future>> + use { [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `impl futures::Future>` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/node/state_keeper/handle.rs:491:10 [INFO] [stdout] | [INFO] [stdout] 491 | ) -> impl Future> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] note: specifically, this lifetime is in scope but not mentioned in the type's bounds [INFO] [stdout] --> src/node/state_keeper/handle.rs:488:9 [INFO] [stdout] | [INFO] [stdout] 488 | &self, [INFO] [stdout] | ^ [INFO] [stdout] = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024 [INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] | [INFO] [stdout] 491 | ) -> impl Future> + use { [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `impl futures::Future>` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/node/state_keeper/handle.rs:505:10 [INFO] [stdout] | [INFO] [stdout] 505 | ) -> impl Future> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] note: specifically, this lifetime is in scope but not mentioned in the type's bounds [INFO] [stdout] --> src/node/state_keeper/handle.rs:503:9 [INFO] [stdout] | [INFO] [stdout] 503 | &self, [INFO] [stdout] | ^ [INFO] [stdout] = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024 [INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] | [INFO] [stdout] 505 | ) -> impl Future> + use { [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `impl futures::Future>` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/node/state_keeper/handle.rs:509:35 [INFO] [stdout] | [INFO] [stdout] 509 | pub fn force_active(&self) -> impl Future> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] note: specifically, this lifetime is in scope but not mentioned in the type's bounds [INFO] [stdout] --> src/node/state_keeper/handle.rs:509:25 [INFO] [stdout] | [INFO] [stdout] 509 | pub fn force_active(&self) -> impl Future> { [INFO] [stdout] | ^ [INFO] [stdout] = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024 [INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] | [INFO] [stdout] 509 | pub fn force_active(&self) -> impl Future> + use { [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Running `cargo check` to verify 2024 [INFO] [stdout] warning: `impl futures::Future` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/node/state_keeper/handle.rs:513:61 [INFO] [stdout] | [INFO] [stdout] 513 | pub fn shut_down(&self, _proof_of_life: ProofOfLife) -> impl Future { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] note: specifically, this lifetime is in scope but not mentioned in the type's bounds [INFO] [stdout] --> src/node/state_keeper/handle.rs:513:22 [INFO] [stdout] | [INFO] [stdout] 513 | pub fn shut_down(&self, _proof_of_life: ProofOfLife) -> impl Future { [INFO] [stdout] | ^ [INFO] [stdout] = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024 [INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] | [INFO] [stdout] 513 | pub fn shut_down(&self, _proof_of_life: ProofOfLife) -> impl Future + use { [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 71 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking paxakos v0.13.0 (/tmp/fixit) [INFO] [stdout] error[E0597]: `other_nodes` does not live long enough [INFO] [stdout] --> src/node/inner.rs:259:13 [INFO] [stdout] | [INFO] [stdout] 230 | let other_nodes: Vec> = cluster [INFO] [stdout] | ----------- binding `other_nodes` declared here [INFO] [stdout] ... [INFO] [stdout] 254 | let (accepted, rejected_or_failed, pending_acceptances) = Self::propose_entry( [INFO] [stdout] | ___________________________________________________________________- [INFO] [stdout] 255 | | SnarcRef::clone(&this), [INFO] [stdout] 256 | | round_num, [INFO] [stdout] 257 | | coord_num, [INFO] [stdout] 258 | | quorum_prime, [INFO] [stdout] 259 | | &other_nodes, [INFO] [stdout] | | ^^^^^^^^^^^^ borrowed value does not live long enough [INFO] [stdout] 260 | | Arc::clone(&converged_log_entry), [INFO] [stdout] 261 | | ) [INFO] [stdout] | |_________- argument requires that `other_nodes` is borrowed for `'static` [INFO] [stdout] ... [INFO] [stdout] 282 | } [INFO] [stdout] | - `other_nodes` dropped here while still borrowed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0597]: `other_nodes` does not live long enough [INFO] [stdout] --> src/node/inner.rs:259:13 [INFO] [stdout] | [INFO] [stdout] 230 | let other_nodes: Vec> = cluster [INFO] [stdout] | ----------- binding `other_nodes` declared here [INFO] [stdout] ... [INFO] [stdout] 254 | let (accepted, rejected_or_failed, pending_acceptances) = Self::propose_entry( [INFO] [stdout] | ___________________________________________________________________- [INFO] [stdout] 255 | | SnarcRef::clone(&this), [INFO] [stdout] 256 | | round_num, [INFO] [stdout] 257 | | coord_num, [INFO] [stdout] 258 | | quorum_prime, [INFO] [stdout] 259 | | &other_nodes, [INFO] [stdout] | | ^^^^^^^^^^^^ borrowed value does not live long enough [INFO] [stdout] 260 | | Arc::clone(&converged_log_entry), [INFO] [stdout] 261 | | ) [INFO] [stdout] | |_________- argument requires that `other_nodes` is borrowed for `'static` [INFO] [stdout] ... [INFO] [stdout] 282 | } [INFO] [stdout] | - `other_nodes` dropped here while still borrowed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0505]: cannot move out of `other_nodes` because it is borrowed [INFO] [stdout] --> src/node/inner.rs:270:13 [INFO] [stdout] | [INFO] [stdout] 230 | let other_nodes: Vec> = cluster [INFO] [stdout] | ----------- binding `other_nodes` declared here [INFO] [stdout] ... [INFO] [stdout] 254 | let (accepted, rejected_or_failed, pending_acceptances) = Self::propose_entry( [INFO] [stdout] | ___________________________________________________________________- [INFO] [stdout] 255 | | SnarcRef::clone(&this), [INFO] [stdout] 256 | | round_num, [INFO] [stdout] 257 | | coord_num, [INFO] [stdout] 258 | | quorum_prime, [INFO] [stdout] 259 | | &other_nodes, [INFO] [stdout] | | ------------ borrow of `other_nodes` occurs here [INFO] [stdout] 260 | | Arc::clone(&converged_log_entry), [INFO] [stdout] 261 | | ) [INFO] [stdout] | |_________- argument requires that `other_nodes` is borrowed for `'static` [INFO] [stdout] ... [INFO] [stdout] 270 | other_nodes, [INFO] [stdout] | ^^^^^^^^^^^ move out of `other_nodes` occurs here [INFO] [stdout] | [INFO] [stdout] help: consider cloning the value if the performance cost is acceptable [INFO] [stdout] | [INFO] [stdout] 259 | &other_nodes.clone(), [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0505]: cannot move out of `other_nodes` because it is borrowed [INFO] [stdout] --> src/node/inner.rs:270:13 [INFO] [stdout] | [INFO] [stdout] 230 | let other_nodes: Vec> = cluster [INFO] [stdout] | ----------- binding `other_nodes` declared here [INFO] [stdout] ... [INFO] [stdout] 254 | let (accepted, rejected_or_failed, pending_acceptances) = Self::propose_entry( [INFO] [stdout] | ___________________________________________________________________- [INFO] [stdout] 255 | | SnarcRef::clone(&this), [INFO] [stdout] 256 | | round_num, [INFO] [stdout] 257 | | coord_num, [INFO] [stdout] 258 | | quorum_prime, [INFO] [stdout] 259 | | &other_nodes, [INFO] [stdout] | | ------------ borrow of `other_nodes` occurs here [INFO] [stdout] 260 | | Arc::clone(&converged_log_entry), [INFO] [stdout] 261 | | ) [INFO] [stdout] | |_________- argument requires that `other_nodes` is borrowed for `'static` [INFO] [stdout] ... [INFO] [stdout] 270 | other_nodes, [INFO] [stdout] | ^^^^^^^^^^^ move out of `other_nodes` occurs here [INFO] [stdout] | [INFO] [stdout] help: consider cloning the value if the performance cost is acceptable [INFO] [stdout] | [INFO] [stdout] 259 | &other_nodes.clone(), [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: lifetime may not live long enough [INFO] [stdout] --> src/node/core.rs:140:9 [INFO] [stdout] | [INFO] [stdout] 139 | fn prepare_snapshot(&self) -> BoxFuture<'static, SnapshotFor> { [INFO] [stdout] | - let's call the lifetime of this reference `'1` [INFO] [stdout] 140 | / self.state_keeper [INFO] [stdout] 141 | | .prepare_snapshot() [INFO] [stdout] 142 | | .map(ShutDown::rule_out) [INFO] [stdout] 143 | | .boxed() [INFO] [stdout] | |____________________^ returning this value requires that `'1` must outlive `'static` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: lifetime may not live long enough [INFO] [stdout] --> src/node/core.rs:150:9 [INFO] [stdout] | [INFO] [stdout] 147 | &self, [INFO] [stdout] | - let's call the lifetime of this reference `'1` [INFO] [stdout] ... [INFO] [stdout] 150 | self.state_keeper.affirm_snapshot(snapshot).boxed() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ returning this value requires that `'1` must outlive `'static` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: lifetime may not live long enough [INFO] [stdout] --> src/node/core.rs:157:9 [INFO] [stdout] | [INFO] [stdout] 154 | &self, [INFO] [stdout] | - let's call the lifetime of this reference `'1` [INFO] [stdout] ... [INFO] [stdout] 157 | self.state_keeper.install_snapshot(snapshot).boxed() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ returning this value requires that `'1` must outlive `'static` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0597]: `state_keeper` does not live long enough [INFO] [stdout] --> src/node/core.rs:219:23 [INFO] [stdout] | [INFO] [stdout] 215 | let state_keeper = self.state_keeper; [INFO] [stdout] | ------------ binding `state_keeper` declared here [INFO] [stdout] ... [INFO] [stdout] 219 | let trigger = state_keeper.shut_down(proof_of_life).fuse().boxed(); [INFO] [stdout] | ^^^^^^^^^^^^ borrowed value does not live long enough [INFO] [stdout] 220 | [INFO] [stdout] 221 | DefaultShutdown::new(trigger, events) [INFO] [stdout] | ------- cast requires that `state_keeper` is borrowed for `'static` [INFO] [stdout] 222 | } [INFO] [stdout] | - `state_keeper` dropped here while still borrowed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: lifetime may not live long enough [INFO] [stdout] --> src/node/core.rs:258:9 [INFO] [stdout] | [INFO] [stdout] 253 | &mut self, [INFO] [stdout] | - let's call the lifetime of this reference `'1` [INFO] [stdout] ... [INFO] [stdout] 258 | / async move { [INFO] [stdout] 259 | | match commit.await { [INFO] [stdout] 260 | | Ok(receiver) => match receiver.await { [INFO] [stdout] 261 | | Ok((round_num, outcome)) => Ok(Commit::ready(round_num, outcome)), [INFO] [stdout] ... | [INFO] [stdout] 266 | | } [INFO] [stdout] 267 | | .boxed() [INFO] [stdout] | |________________^ returning this value requires that `'1` must outlive `'static` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: lifetime may not live long enough [INFO] [stdout] --> src/node/core.rs:274:9 [INFO] [stdout] | [INFO] [stdout] 271 | &mut self, [INFO] [stdout] | - let's call the lifetime of this reference `'1` [INFO] [stdout] ... [INFO] [stdout] 274 | self.state_keeper.eject(reason).boxed() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ returning this value requires that `'1` must outlive `'static` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: lifetime may not live long enough [INFO] [stdout] --> src/node/handle.rs:203:9 [INFO] [stdout] | [INFO] [stdout] 202 | fn force_active(&self) -> futures::future::BoxFuture<'static, Result> { [INFO] [stdout] | - let's call the lifetime of this reference `'1` [INFO] [stdout] 203 | self.state_keeper.force_active().boxed() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ returning this value requires that `'1` must outlive `'static` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: lifetime may not live long enough [INFO] [stdout] --> src/node/core.rs:140:9 [INFO] [stdout] | [INFO] [stdout] 139 | fn prepare_snapshot(&self) -> BoxFuture<'static, SnapshotFor> { [INFO] [stdout] | - let's call the lifetime of this reference `'1` [INFO] [stdout] 140 | / self.state_keeper [INFO] [stdout] 141 | | .prepare_snapshot() [INFO] [stdout] 142 | | .map(ShutDown::rule_out) [INFO] [stdout] 143 | | .boxed() [INFO] [stdout] | |____________________^ returning this value requires that `'1` must outlive `'static` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: lifetime may not live long enough [INFO] [stdout] --> src/node/core.rs:150:9 [INFO] [stdout] | [INFO] [stdout] 147 | &self, [INFO] [stdout] | - let's call the lifetime of this reference `'1` [INFO] [stdout] ... [INFO] [stdout] 150 | self.state_keeper.affirm_snapshot(snapshot).boxed() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ returning this value requires that `'1` must outlive `'static` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: lifetime may not live long enough [INFO] [stdout] --> src/node/core.rs:157:9 [INFO] [stdout] | [INFO] [stdout] 154 | &self, [INFO] [stdout] | - let's call the lifetime of this reference `'1` [INFO] [stdout] ... [INFO] [stdout] 157 | self.state_keeper.install_snapshot(snapshot).boxed() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ returning this value requires that `'1` must outlive `'static` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0597]: `state_keeper` does not live long enough [INFO] [stdout] --> src/node/core.rs:219:23 [INFO] [stdout] | [INFO] [stdout] 215 | let state_keeper = self.state_keeper; [INFO] [stdout] | ------------ binding `state_keeper` declared here [INFO] [stdout] ... [INFO] [stdout] 219 | let trigger = state_keeper.shut_down(proof_of_life).fuse().boxed(); [INFO] [stdout] | ^^^^^^^^^^^^ borrowed value does not live long enough [INFO] [stdout] 220 | [INFO] [stdout] 221 | DefaultShutdown::new(trigger, events) [INFO] [stdout] | ------- cast requires that `state_keeper` is borrowed for `'static` [INFO] [stdout] 222 | } [INFO] [stdout] | - `state_keeper` dropped here while still borrowed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: lifetime may not live long enough [INFO] [stdout] --> src/node/core.rs:258:9 [INFO] [stdout] | [INFO] [stdout] 253 | &mut self, [INFO] [stdout] | - let's call the lifetime of this reference `'1` [INFO] [stdout] ... [INFO] [stdout] 258 | / async move { [INFO] [stdout] 259 | | match commit.await { [INFO] [stdout] 260 | | Ok(receiver) => match receiver.await { [INFO] [stdout] 261 | | Ok((round_num, outcome)) => Ok(Commit::ready(round_num, outcome)), [INFO] [stdout] ... | [INFO] [stdout] 266 | | } [INFO] [stdout] 267 | | .boxed() [INFO] [stdout] | |________________^ returning this value requires that `'1` must outlive `'static` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: lifetime may not live long enough [INFO] [stdout] --> src/node/core.rs:274:9 [INFO] [stdout] | [INFO] [stdout] 271 | &mut self, [INFO] [stdout] | - let's call the lifetime of this reference `'1` [INFO] [stdout] ... [INFO] [stdout] 274 | self.state_keeper.eject(reason).boxed() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ returning this value requires that `'1` must outlive `'static` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: lifetime may not live long enough [INFO] [stdout] --> src/node/handle.rs:203:9 [INFO] [stdout] | [INFO] [stdout] 202 | fn force_active(&self) -> futures::future::BoxFuture<'static, Result> { [INFO] [stdout] | - let's call the lifetime of this reference `'1` [INFO] [stdout] 203 | self.state_keeper.force_active().boxed() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ returning this value requires that `'1` must outlive `'static` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 9 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0505, E0597. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0505`. [INFO] [stdout] [INFO] [stderr] error: could not compile `paxakos` (lib) due to 10 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 9 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0505, E0597. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0505`. [INFO] [stdout] [INFO] [stderr] error: could not compile `paxakos` (lib test) due to 10 previous errors [INFO] [stderr] error: failed to check after updating to 2024 [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `cargo check --frozen --all --all-targets --message-format=json` (exit status: 101) [INFO] running `Command { std: "docker" "inspect" "b173e061e69f5a292ab778f6a41679b7f36096ec8f1c9b585293624c34ea084b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b173e061e69f5a292ab778f6a41679b7f36096ec8f1c9b585293624c34ea084b", kill_on_drop: false }` [INFO] [stdout] b173e061e69f5a292ab778f6a41679b7f36096ec8f1c9b585293624c34ea084b