[INFO] fetching crate openraft 0.9.21...
[INFO] checking openraft-0.9.21 against try#4f260f0f20b3133d20cfb50353c0221943af5796+rustflags=-Dunmustuse_in_always_ok for pr-148577
[INFO] extracting crate openraft 0.9.21 into /workspace/builds/worker-5-tc2/source
[INFO] started tweaking crates.io crate openraft 0.9.21
[INFO] finished tweaking crates.io crate openraft 0.9.21
[INFO] tweaked toml for crates.io crate openraft 0.9.21 written to /workspace/builds/worker-5-tc2/source/Cargo.toml
[INFO] validating manifest of crates.io crate openraft 0.9.21 on toolchain 4f260f0f20b3133d20cfb50353c0221943af5796
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate crates.io crate openraft 0.9.21 already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] d4d0b381f3c8928602e410dc7cffead66cc82e6a01f58b787fbc551e9340064a
[INFO] running `Command { std: "docker" "start" "-a" "d4d0b381f3c8928602e410dc7cffead66cc82e6a01f58b787fbc551e9340064a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "d4d0b381f3c8928602e410dc7cffead66cc82e6a01f58b787fbc551e9340064a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "d4d0b381f3c8928602e410dc7cffead66cc82e6a01f58b787fbc551e9340064a", kill_on_drop: false }`
[INFO] [stdout] d4d0b381f3c8928602e410dc7cffead66cc82e6a01f58b787fbc551e9340064a
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid -Dunmustuse_in_always_ok" "-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 8bfc2adc82bb59db073cc51e4d3d82685d6835a29a5c8a9354f57e0c76d28d1a
[INFO] running `Command { std: "docker" "start" "-a" "8bfc2adc82bb59db073cc51e4d3d82685d6835a29a5c8a9354f57e0c76d28d1a", kill_on_drop: false }`
[INFO] [stderr]    Compiling serde v1.0.208
[INFO] [stderr]    Compiling rust_decimal v1.36.0
[INFO] [stderr]    Compiling proc-macro2 v1.0.95
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]     Checking anstyle-parse v0.2.5
[INFO] [stderr]     Checking anstyle-query v1.1.1
[INFO] [stderr]     Checking anstyle v1.0.8
[INFO] [stderr]     Checking colorchoice v1.0.2
[INFO] [stderr]    Compiling iana-time-zone v0.1.60
[INFO] [stderr]    Compiling unicode-xid v0.2.5
[INFO] [stderr]     Checking clap_lex v0.7.2
[INFO] [stderr]     Checking getrandom v0.2.15
[INFO] [stderr]    Compiling thiserror v1.0.63
[INFO] [stderr]     Checking arrayvec v0.7.6
[INFO] [stderr]     Checking utf8-width v0.1.7
[INFO] [stderr]     Checking rand_core v0.6.4
[INFO] [stderr]     Checking bytes v1.7.1
[INFO] [stderr]    Compiling serde_json v1.0.125
[INFO] [stderr]     Checking yansi v0.5.1
[INFO] [stderr]     Checking anstream v0.6.15
[INFO] [stderr]    Compiling quote v1.0.40
[INFO] [stderr]     Checking pretty_assertions v1.4.0
[INFO] [stderr]     Checking clap_builder v4.5.15
[INFO] [stderr]    Compiling syn v2.0.75
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]    Compiling chrono v0.4.38
[INFO] [stderr]     Checking byte-unit v5.1.4
[INFO] [stderr]    Compiling async-entry v0.3.3
[INFO] [stderr]    Compiling serde_derive v1.0.208
[INFO] [stderr]    Compiling zerocopy-derive v0.7.35
[INFO] [stderr]    Compiling futures-macro v0.3.30
[INFO] [stderr]    Compiling tracing-attributes v0.1.27
[INFO] [stderr]    Compiling pin-project-internal v1.1.5
[INFO] [stderr]    Compiling tokio-macros v2.4.0
[INFO] [stderr]    Compiling thiserror-impl v1.0.63
[INFO] [stderr]    Compiling derive_more-impl v1.0.0
[INFO] [stderr]    Compiling clap_derive v4.5.13
[INFO] [stderr]    Compiling openraft-macros v0.9.21
[INFO] [stderr]     Checking zerocopy v0.7.35
[INFO] [stderr]     Checking tokio v1.39.3
[INFO] [stderr]     Checking futures-util v0.3.30
[INFO] [stderr]     Checking tracing v0.1.40
[INFO] [stderr]     Checking pin-project v1.1.5
[INFO] [stderr]     Checking ppv-lite86 v0.2.20
[INFO] [stderr]     Checking rand_chacha v0.3.1
[INFO] [stderr]     Checking tracing-futures v0.2.5
[INFO] [stderr]     Checking rand v0.8.5
[INFO] [stderr]     Checking clap v4.5.16
[INFO] [stderr]     Checking derive_more v1.0.0
[INFO] [stderr]     Checking futures-executor v0.3.30
[INFO] [stderr]     Checking futures v0.3.30
[INFO] [stderr]     Checking anyerror v0.1.12
[INFO] [stderr]     Checking validit v0.2.4
[INFO] [stderr]     Checking openraft v0.9.21 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `maplit::btreeset`
[INFO] [stdout]  --> src/testing/suite.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | use maplit::btreeset;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `maplit::btreeset`
[INFO] [stdout]  --> src/testing/suite.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | use maplit::btreeset;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/core/tick.rs:81:41
[INFO] [stdout]    |
[INFO] [stdout] 81 |     pub(crate) async fn tick_loop(self, mut cancel_rx: oneshot::Receiver<()>) {
[INFO] [stdout]    |                                         ----^^^^^^^^^
[INFO] [stdout]    |                                         |
[INFO] [stdout]    |                                         help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/core/tick.rs:88:17
[INFO] [stdout]    |
[INFO] [stdout] 88 |             let mut sleep_fut = C::sleep_until(at);
[INFO] [stdout]    |                 ----^^^^^^^^^
[INFO] [stdout]    |                 |
[INFO] [stdout]    |                 help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/core/tick.rs:81:41
[INFO] [stdout]    |
[INFO] [stdout] 81 |     pub(crate) async fn tick_loop(self, mut cancel_rx: oneshot::Receiver<()>) {
[INFO] [stdout]    |                                         ----^^^^^^^^^
[INFO] [stdout]    |                                         |
[INFO] [stdout]    |                                         help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/core/tick.rs:88:17
[INFO] [stdout]    |
[INFO] [stdout] 88 |             let mut sleep_fut = C::sleep_until(at);
[INFO] [stdout]    |                 ----^^^^^^^^^
[INFO] [stdout]    |                 |
[INFO] [stdout]    |                 help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/network/snapshot_transport.rs:105:9
[INFO] [stdout]     |
[INFO] [stdout] 105 |         mut cancel: impl Future<Output = ReplicationClosed> + OptionalSend + 'static,
[INFO] [stdout]     |         ----^^^^^^
[INFO] [stdout]     |         |
[INFO] [stdout]     |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/network/snapshot_transport.rs:105:9
[INFO] [stdout]     |
[INFO] [stdout] 105 |         mut cancel: impl Future<Output = ReplicationClosed> + OptionalSend + 'static,
[INFO] [stdout]     |         ----^^^^^^
[INFO] [stdout]     |         |
[INFO] [stdout]     |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `target_node` is never read
[INFO] [stdout]    --> src/error.rs:321:9
[INFO] [stdout]     |
[INFO] [stdout] 321 |     pub target_node: Option<N>,
[INFO] [stdout]     |         ^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: maybe it is overwritten before being read?
[INFO] [stdout]     = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<VoteResponse<<C as RaftTypeConfig>::NodeId>, error::Infallible>
[INFO] [stdout]     --> src/core/raft_core.rs:1122:32
[INFO] [stdout]      |
[INFO] [stdout] 1122 |             resp: Respond::new(Ok(resp), tx),
[INFO] [stdout]      |                                ^^^^^^^^
[INFO] [stdout]      |
[INFO] [stdout]      = note: requested on the command line with `-D unmustuse-in-always-ok`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<Option<Snapshot<C>>, error::Infallible>
[INFO] [stdout]   --> src/core/sm/handle.rs:70:19
[INFO] [stdout]    |
[INFO] [stdout] 70 |           let got = match rx.await {
[INFO] [stdout]    |  ___________________^
[INFO] [stdout] 71 | |             Ok(x) => x,
[INFO] [stdout] 72 | |             Err(_e) => {
[INFO] [stdout] 73 | |                 tracing::error!("failed to receive snapshot, sm::Worker may have shutdown");
[INFO] [stdout] ...  |
[INFO] [stdout] 76 | |         };
[INFO] [stdout]    | |_________^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<Option<Snapshot<C>>, error::Infallible>
[INFO] [stdout]   --> src/core/sm/handle.rs:71:22
[INFO] [stdout]    |
[INFO] [stdout] 71 |             Ok(x) => x,
[INFO] [stdout]    |                      ^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<Option<Snapshot<C>>, error::Infallible>
[INFO] [stdout]   --> src/core/sm/handle.rs:79:24
[INFO] [stdout]    |
[INFO] [stdout] 79 |         let snapshot = got.unwrap();
[INFO] [stdout]    |                        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<Box<<C as RaftTypeConfig>::SnapshotData>, error::Infallible>
[INFO] [stdout]    --> src/core/sm/worker.rs:117:37
[INFO] [stdout]     |
[INFO] [stdout] 117 |                     let _ = tx.send(Ok(snapshot_data));
[INFO] [stdout]     |                                     ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<Option<Snapshot<C>>, error::Infallible>
[INFO] [stdout]    --> src/core/sm/worker.rs:205:25
[INFO] [stdout]     |
[INFO] [stdout] 205 |         let _ = tx.send(Ok(snapshot));
[INFO] [stdout]     |                         ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> src/display_ext/display_instant.rs:84:16
[INFO] [stdout]    |
[INFO] [stdout] 84 |     fn display(&self) -> DisplayInstant<T, true> {
[INFO] [stdout]    |                ^^^^^     ^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]    |                |
[INFO] [stdout]    |                the lifetime is elided here
[INFO] [stdout]    |
[INFO] [stdout]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout]    = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]    |
[INFO] [stdout] 84 |     fn display(&self) -> DisplayInstant<'_, T, true> {
[INFO] [stdout]    |                                         +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> src/display_ext/display_option.rs:27:16
[INFO] [stdout]    |
[INFO] [stdout] 27 |     fn display(&self) -> DisplayOption<T> {
[INFO] [stdout]    |                ^^^^^     ^^^^^^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]    |                |
[INFO] [stdout]    |                the lifetime is elided here
[INFO] [stdout]    |
[INFO] [stdout]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]    |
[INFO] [stdout] 27 |     fn display(&self) -> DisplayOption<'_, T> {
[INFO] [stdout]    |                                        +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> src/display_ext/display_slice.rs:48:16
[INFO] [stdout]    |
[INFO] [stdout] 48 |     fn display(&self) -> DisplaySlice<T> {
[INFO] [stdout]    |                ^^^^^     ^^^^^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]    |                |
[INFO] [stdout]    |                the lifetime is elided here
[INFO] [stdout]    |
[INFO] [stdout]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]    |
[INFO] [stdout] 48 |     fn display(&self) -> DisplaySlice<'_, T> {
[INFO] [stdout]    |                                       +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> src/progress/mod.rs:91:13
[INFO] [stdout]    |
[INFO] [stdout] 91 |     fn iter(&self) -> Iter<(ID, V)>;
[INFO] [stdout]    |             ^^^^^     ^^^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]    |             |
[INFO] [stdout]    |             the lifetime is elided here
[INFO] [stdout]    |
[INFO] [stdout]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]    |
[INFO] [stdout] 91 |     fn iter(&self) -> Iter<'_, (ID, V)>;
[INFO] [stdout]    |                            +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]    --> src/progress/mod.rs:222:28
[INFO] [stdout]     |
[INFO] [stdout] 222 |     pub(crate) fn iter_mut(&mut self) -> IterMut<(ID, V)> {
[INFO] [stdout]     |                            ^^^^^^^^^     ^^^^^^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]     |                            |
[INFO] [stdout]     |                            the lifetime is elided here
[INFO] [stdout]     |
[INFO] [stdout]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]     |
[INFO] [stdout] 222 |     pub(crate) fn iter_mut(&mut self) -> IterMut<'_, (ID, V)> {
[INFO] [stdout]     |                                                  +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]    --> src/progress/mod.rs:363:13
[INFO] [stdout]     |
[INFO] [stdout] 363 |     fn iter(&self) -> Iter<(ID, V)> {
[INFO] [stdout]     |             ^^^^^     ^^^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]     |             |
[INFO] [stdout]     |             the lifetime is elided here
[INFO] [stdout]     |
[INFO] [stdout]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]     |
[INFO] [stdout] 363 |     fn iter(&self) -> Iter<'_, (ID, V)> {
[INFO] [stdout]     |                            +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]    --> src/engine/engine_impl.rs:253:9
[INFO] [stdout]     |
[INFO] [stdout] 253 |         &mut self,
[INFO] [stdout]     |         ^^^^^^^^^ the lifetime is elided here
[INFO] [stdout] 254 |         tx: Option<ResponderOf<C>>,
[INFO] [stdout] 255 |     ) -> Option<(LeaderHandler<C>, Option<ResponderOf<C>>)> {
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]     |
[INFO] [stdout]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]     |
[INFO] [stdout] 255 |     ) -> Option<(LeaderHandler<'_, C>, Option<ResponderOf<C>>)> {
[INFO] [stdout]     |                                +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<AppendEntriesResponse<<C as RaftTypeConfig>::NodeId>, error::Infallible>
[INFO] [stdout]    --> src/engine/engine_impl.rs:435:36
[INFO] [stdout]     |
[INFO] [stdout] 435 |                 resp: Respond::new(Ok(resp), tx),
[INFO] [stdout]     |                                    ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<SnapshotResponse<<C as RaftTypeConfig>::NodeId>, error::Infallible>
[INFO] [stdout]    --> src/engine/engine_impl.rs:483:86
[INFO] [stdout]     |
[INFO] [stdout] 483 |           let vote_res = self.vote_handler().accept_vote(&vote, tx, |state, _rejected| {
[INFO] [stdout]     |  ______________________________________________________________________________________^
[INFO] [stdout] 484 | |             Ok(SnapshotResponse::new(state.vote_ref().clone()))
[INFO] [stdout] 485 | |         });
[INFO] [stdout]     | |_________^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<SnapshotResponse<<C as RaftTypeConfig>::NodeId>, error::Infallible>
[INFO] [stdout]    --> src/engine/engine_impl.rs:484:13
[INFO] [stdout]     |
[INFO] [stdout] 484 |             Ok(SnapshotResponse::new(state.vote_ref().clone()))
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<SnapshotResponse<<C as RaftTypeConfig>::NodeId>, error::Infallible>
[INFO] [stdout]    --> src/engine/engine_impl.rs:496:19
[INFO] [stdout]     |
[INFO] [stdout] 496 |           let res = Ok(SnapshotResponse {
[INFO] [stdout]     |  ___________________^
[INFO] [stdout] 497 | |             vote: self.state.vote_ref().clone(),
[INFO] [stdout] 498 | |         });
[INFO] [stdout]     | |__________^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<SnapshotResponse<<C as RaftTypeConfig>::NodeId>, error::Infallible>
[INFO] [stdout]    --> src/engine/engine_impl.rs:502:32
[INFO] [stdout]     |
[INFO] [stdout] 502 |             resp: Respond::new(res, tx),
[INFO] [stdout]     |                                ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]    --> src/engine/engine_impl.rs:724:32
[INFO] [stdout]     |
[INFO] [stdout] 724 |     pub(crate) fn vote_handler(&mut self) -> VoteHandler<C> {
[INFO] [stdout]     |                                ^^^^^^^^^     ^^^^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]     |                                |
[INFO] [stdout]     |                                the lifetime is elided here
[INFO] [stdout]     |
[INFO] [stdout]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]     |
[INFO] [stdout] 724 |     pub(crate) fn vote_handler(&mut self) -> VoteHandler<'_, C> {
[INFO] [stdout]     |                                                          +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]    --> src/engine/engine_impl.rs:734:31
[INFO] [stdout]     |
[INFO] [stdout] 734 |     pub(crate) fn log_handler(&mut self) -> LogHandler<C> {
[INFO] [stdout]     |                               ^^^^^^^^^     ^^^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]     |                               |
[INFO] [stdout]     |                               the lifetime is elided here
[INFO] [stdout]     |
[INFO] [stdout]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]     |
[INFO] [stdout] 734 |     pub(crate) fn log_handler(&mut self) -> LogHandler<'_, C> {
[INFO] [stdout]     |                                                        +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]    --> src/engine/engine_impl.rs:742:36
[INFO] [stdout]     |
[INFO] [stdout] 742 |     pub(crate) fn snapshot_handler(&mut self) -> SnapshotHandler<C> {
[INFO] [stdout]     |                                    ^^^^^^^^^     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |                                    |             |
[INFO] [stdout]     |                                    |             the same lifetime is hidden here
[INFO] [stdout]     |                                    |             the same lifetime is hidden here
[INFO] [stdout]     |                                    the lifetime is elided here
[INFO] [stdout]     |
[INFO] [stdout]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]     |
[INFO] [stdout] 742 |     pub(crate) fn snapshot_handler(&mut self) -> SnapshotHandler<'_, C> {
[INFO] [stdout]     |                                                                  +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]    --> src/engine/engine_impl.rs:749:34
[INFO] [stdout]     |
[INFO] [stdout] 749 |     pub(crate) fn leader_handler(&mut self) -> Result<LeaderHandler<C>, ForwardToLeader<C::NodeId, C::Node>> {
[INFO] [stdout]     |                                  ^^^^^^^^^            ^^^^^^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]     |                                  |
[INFO] [stdout]     |                                  the lifetime is elided here
[INFO] [stdout]     |
[INFO] [stdout]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]     |
[INFO] [stdout] 749 |     pub(crate) fn leader_handler(&mut self) -> Result<LeaderHandler<'_, C>, ForwardToLeader<C::NodeId, C::Node>> {
[INFO] [stdout]     |                                                                     +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]    --> src/engine/engine_impl.rs:775:39
[INFO] [stdout]     |
[INFO] [stdout] 775 |     pub(crate) fn replication_handler(&mut self) -> ReplicationHandler<C> {
[INFO] [stdout]     |                                       ^^^^^^^^^     ^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]     |                                       |
[INFO] [stdout]     |                                       the lifetime is elided here
[INFO] [stdout]     |
[INFO] [stdout]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]     |
[INFO] [stdout] 775 |     pub(crate) fn replication_handler(&mut self) -> ReplicationHandler<'_, C> {
[INFO] [stdout]     |                                                                        +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]    --> src/engine/engine_impl.rs:791:37
[INFO] [stdout]     |
[INFO] [stdout] 791 |     pub(crate) fn following_handler(&mut self) -> FollowingHandler<C> {
[INFO] [stdout]     |                                     ^^^^^^^^^     ^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]     |                                     |
[INFO] [stdout]     |                                     the lifetime is elided here
[INFO] [stdout]     |
[INFO] [stdout]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]     |
[INFO] [stdout] 791 |     pub(crate) fn following_handler(&mut self) -> FollowingHandler<'_, C> {
[INFO] [stdout]     |                                                                    +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]    --> src/engine/engine_impl.rs:801:40
[INFO] [stdout]     |
[INFO] [stdout] 801 |     pub(crate) fn server_state_handler(&mut self) -> ServerStateHandler<C> {
[INFO] [stdout]     |                                        ^^^^^^^^^     ^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]     |                                        |
[INFO] [stdout]     |                                        the lifetime is elided here
[INFO] [stdout]     |
[INFO] [stdout]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]     |
[INFO] [stdout] 801 |     pub(crate) fn server_state_handler(&mut self) -> ServerStateHandler<'_, C> {
[INFO] [stdout]     |                                                                         +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]    --> src/engine/engine_impl.rs:808:37
[INFO] [stdout]     |
[INFO] [stdout] 808 |     pub(crate) fn establish_handler(&mut self) -> EstablishHandler<C> {
[INFO] [stdout]     |                                     ^^^^^^^^^     ^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]     |                                     |
[INFO] [stdout]     |                                     the lifetime is elided here
[INFO] [stdout]     |
[INFO] [stdout]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]     |
[INFO] [stdout] 808 |     pub(crate) fn establish_handler(&mut self) -> EstablishHandler<'_, C> {
[INFO] [stdout]     |                                                                    +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]    --> src/engine/handler/following_handler/mod.rs:350:20
[INFO] [stdout]     |
[INFO] [stdout] 350 |     fn log_handler(&mut self) -> LogHandler<C> {
[INFO] [stdout]     |                    ^^^^^^^^^     ^^^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]     |                    |
[INFO] [stdout]     |                    the lifetime is elided here
[INFO] [stdout]     |
[INFO] [stdout]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]     |
[INFO] [stdout] 350 |     fn log_handler(&mut self) -> LogHandler<'_, C> {
[INFO] [stdout]     |                                             +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]    --> src/engine/handler/following_handler/mod.rs:358:25
[INFO] [stdout]     |
[INFO] [stdout] 358 |     fn snapshot_handler(&mut self) -> SnapshotHandler<C> {
[INFO] [stdout]     |                         ^^^^^^^^^     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |                         |             |
[INFO] [stdout]     |                         |             the same lifetime is hidden here
[INFO] [stdout]     |                         |             the same lifetime is hidden here
[INFO] [stdout]     |                         the lifetime is elided here
[INFO] [stdout]     |
[INFO] [stdout]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]     |
[INFO] [stdout] 358 |     fn snapshot_handler(&mut self) -> SnapshotHandler<'_, C> {
[INFO] [stdout]     |                                                       +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]    --> src/engine/handler/following_handler/mod.rs:365:29
[INFO] [stdout]     |
[INFO] [stdout] 365 |     fn server_state_handler(&mut self) -> ServerStateHandler<C> {
[INFO] [stdout]     |                             ^^^^^^^^^     ^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]     |                             |
[INFO] [stdout]     |                             the lifetime is elided here
[INFO] [stdout]     |
[INFO] [stdout]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]     |
[INFO] [stdout] 365 |     fn server_state_handler(&mut self) -> ServerStateHandler<'_, C> {
[INFO] [stdout]     |                                                              +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]    --> src/engine/handler/leader_handler/mod.rs:122:39
[INFO] [stdout]     |
[INFO] [stdout] 122 |     pub(crate) fn replication_handler(&mut self) -> ReplicationHandler<C> {
[INFO] [stdout]     |                                       ^^^^^^^^^     ^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]     |                                       |
[INFO] [stdout]     |                                       the lifetime is elided here
[INFO] [stdout]     |
[INFO] [stdout]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]     |
[INFO] [stdout] 122 |     pub(crate) fn replication_handler(&mut self) -> ReplicationHandler<'_, C> {
[INFO] [stdout]     |                                                                        +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]    --> src/engine/handler/replication_handler/mod.rs:470:31
[INFO] [stdout]     |
[INFO] [stdout] 470 |     pub(crate) fn log_handler(&mut self) -> LogHandler<C> {
[INFO] [stdout]     |                               ^^^^^^^^^     ^^^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]     |                               |
[INFO] [stdout]     |                               the lifetime is elided here
[INFO] [stdout]     |
[INFO] [stdout]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]     |
[INFO] [stdout] 470 |     pub(crate) fn log_handler(&mut self) -> LogHandler<'_, C> {
[INFO] [stdout]     |                                                        +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]    --> src/engine/handler/replication_handler/mod.rs:478:25
[INFO] [stdout]     |
[INFO] [stdout] 478 |     fn snapshot_handler(&mut self) -> SnapshotHandler<C> {
[INFO] [stdout]     |                         ^^^^^^^^^     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |                         |             |
[INFO] [stdout]     |                         |             the same lifetime is hidden here
[INFO] [stdout]     |                         |             the same lifetime is hidden here
[INFO] [stdout]     |                         the lifetime is elided here
[INFO] [stdout]     |
[INFO] [stdout]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]     |
[INFO] [stdout] 478 |     fn snapshot_handler(&mut self) -> SnapshotHandler<'_, C> {
[INFO] [stdout]     |                                                       +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]    --> src/engine/handler/vote_handler/mod.rs:209:40
[INFO] [stdout]     |
[INFO] [stdout] 209 |     pub(crate) fn server_state_handler(&mut self) -> ServerStateHandler<C> {
[INFO] [stdout]     |                                        ^^^^^^^^^     ^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]     |                                        |
[INFO] [stdout]     |                                        the lifetime is elided here
[INFO] [stdout]     |
[INFO] [stdout]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]     |
[INFO] [stdout] 209 |     pub(crate) fn server_state_handler(&mut self) -> ServerStateHandler<'_, C> {
[INFO] [stdout]     |                                                                         +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]    --> src/engine/handler/vote_handler/mod.rs:217:39
[INFO] [stdout]     |
[INFO] [stdout] 217 |     pub(crate) fn replication_handler(&mut self) -> ReplicationHandler<C> {
[INFO] [stdout]     |                                       ^^^^^^^^^     ^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]     |                                       |
[INFO] [stdout]     |                                       the lifetime is elided here
[INFO] [stdout]     |
[INFO] [stdout]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]     |
[INFO] [stdout] 217 |     pub(crate) fn replication_handler(&mut self) -> ReplicationHandler<'_, C> {
[INFO] [stdout]     |                                                                        +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]    --> src/engine/handler/vote_handler/mod.rs:228:34
[INFO] [stdout]     |
[INFO] [stdout] 228 |     pub(crate) fn leader_handler(&mut self) -> LeaderHandler<C> {
[INFO] [stdout]     |                                  ^^^^^^^^^     ^^^^^^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]     |                                  |
[INFO] [stdout]     |                                  the lifetime is elided here
[INFO] [stdout]     |
[INFO] [stdout]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]     |
[INFO] [stdout] 228 |     pub(crate) fn leader_handler(&mut self) -> LeaderHandler<'_, C> {
[INFO] [stdout]     |                                                              +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]    --> src/raft_state/membership_state/mod.rs:226:34
[INFO] [stdout]     |
[INFO] [stdout] 226 |     pub(crate) fn change_handler(&self) -> ChangeHandler<NID, N> {
[INFO] [stdout]     |                                  ^^^^^     ^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]     |                                  |
[INFO] [stdout]     |                                  the lifetime is elided here
[INFO] [stdout]     |
[INFO] [stdout]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]     |
[INFO] [stdout] 226 |     pub(crate) fn change_handler(&self) -> ChangeHandler<'_, NID, N> {
[INFO] [stdout]     |                                                          +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]    --> src/raft/mod.rs:336:27
[INFO] [stdout]     |
[INFO] [stdout] 336 |     pub fn runtime_config(&self) -> RuntimeConfigHandle<C> {
[INFO] [stdout]     |                           ^^^^^     ^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]     |                           |
[INFO] [stdout]     |                           the lifetime is elided here
[INFO] [stdout]     |
[INFO] [stdout]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]     |
[INFO] [stdout] 336 |     pub fn runtime_config(&self) -> RuntimeConfigHandle<'_, C> {
[INFO] [stdout]     |                                                         +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]    --> src/raft/mod.rs:368:20
[INFO] [stdout]     |
[INFO] [stdout] 368 |     pub fn trigger(&self) -> Trigger<C> {
[INFO] [stdout]     |                    ^^^^^     ^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]     |                    |
[INFO] [stdout]     |                    the lifetime is elided here
[INFO] [stdout]     |
[INFO] [stdout]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]     |
[INFO] [stdout] 368 |     pub fn trigger(&self) -> Trigger<'_, C> {
[INFO] [stdout]     |                                      +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> src/storage/adapter.rs:89:30
[INFO] [stdout]    |
[INFO] [stdout] 89 |     pub async fn storage_mut(&self) -> RwLockWriteGuard<S> {
[INFO] [stdout]    |                              ^^^^^     ^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]    |                              |
[INFO] [stdout]    |                              the lifetime is elided here
[INFO] [stdout]    |
[INFO] [stdout]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]    |
[INFO] [stdout] 89 |     pub async fn storage_mut(&self) -> RwLockWriteGuard<'_, S> {
[INFO] [stdout]    |                                                         +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> src/storage/adapter.rs:94:26
[INFO] [stdout]    |
[INFO] [stdout] 94 |     pub async fn storage(&self) -> RwLockReadGuard<S> {
[INFO] [stdout]    |                          ^^^^^     ^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]    |                          |
[INFO] [stdout]    |                          the lifetime is elided here
[INFO] [stdout]    |
[INFO] [stdout]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]    |
[INFO] [stdout] 94 |     pub async fn storage(&self) -> RwLockReadGuard<'_, S> {
[INFO] [stdout]    |                                                    +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `openraft` (lib) due to 11 previous errors; 34 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] warning: value assigned to `target_node` is never read
[INFO] [stdout]    --> src/error.rs:321:9
[INFO] [stdout]     |
[INFO] [stdout] 321 |     pub target_node: Option<N>,
[INFO] [stdout]     |         ^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: maybe it is overwritten before being read?
[INFO] [stdout]     = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<VoteResponse<<C as RaftTypeConfig>::NodeId>, error::Infallible>
[INFO] [stdout]     --> src/core/raft_core.rs:1122:32
[INFO] [stdout]      |
[INFO] [stdout] 1122 |             resp: Respond::new(Ok(resp), tx),
[INFO] [stdout]      |                                ^^^^^^^^
[INFO] [stdout]      |
[INFO] [stdout]      = note: requested on the command line with `-D unmustuse-in-always-ok`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<Option<Snapshot<C>>, error::Infallible>
[INFO] [stdout]   --> src/core/sm/handle.rs:70:19
[INFO] [stdout]    |
[INFO] [stdout] 70 |           let got = match rx.await {
[INFO] [stdout]    |  ___________________^
[INFO] [stdout] 71 | |             Ok(x) => x,
[INFO] [stdout] 72 | |             Err(_e) => {
[INFO] [stdout] 73 | |                 tracing::error!("failed to receive snapshot, sm::Worker may have shutdown");
[INFO] [stdout] ...  |
[INFO] [stdout] 76 | |         };
[INFO] [stdout]    | |_________^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<Option<Snapshot<C>>, error::Infallible>
[INFO] [stdout]   --> src/core/sm/handle.rs:71:22
[INFO] [stdout]    |
[INFO] [stdout] 71 |             Ok(x) => x,
[INFO] [stdout]    |                      ^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<Option<Snapshot<C>>, error::Infallible>
[INFO] [stdout]   --> src/core/sm/handle.rs:79:24
[INFO] [stdout]    |
[INFO] [stdout] 79 |         let snapshot = got.unwrap();
[INFO] [stdout]    |                        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<Box<<C as RaftTypeConfig>::SnapshotData>, error::Infallible>
[INFO] [stdout]    --> src/core/sm/worker.rs:117:37
[INFO] [stdout]     |
[INFO] [stdout] 117 |                     let _ = tx.send(Ok(snapshot_data));
[INFO] [stdout]     |                                     ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<Option<Snapshot<C>>, error::Infallible>
[INFO] [stdout]    --> src/core/sm/worker.rs:205:25
[INFO] [stdout]     |
[INFO] [stdout] 205 |         let _ = tx.send(Ok(snapshot));
[INFO] [stdout]     |                         ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> src/display_ext/display_instant.rs:84:16
[INFO] [stdout]    |
[INFO] [stdout] 84 |     fn display(&self) -> DisplayInstant<T, true> {
[INFO] [stdout]    |                ^^^^^     ^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]    |                |
[INFO] [stdout]    |                the lifetime is elided here
[INFO] [stdout]    |
[INFO] [stdout]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout]    = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]    |
[INFO] [stdout] 84 |     fn display(&self) -> DisplayInstant<'_, T, true> {
[INFO] [stdout]    |                                         +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> src/display_ext/display_option.rs:27:16
[INFO] [stdout]    |
[INFO] [stdout] 27 |     fn display(&self) -> DisplayOption<T> {
[INFO] [stdout]    |                ^^^^^     ^^^^^^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]    |                |
[INFO] [stdout]    |                the lifetime is elided here
[INFO] [stdout]    |
[INFO] [stdout]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]    |
[INFO] [stdout] 27 |     fn display(&self) -> DisplayOption<'_, T> {
[INFO] [stdout]    |                                        +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> src/display_ext/display_slice.rs:48:16
[INFO] [stdout]    |
[INFO] [stdout] 48 |     fn display(&self) -> DisplaySlice<T> {
[INFO] [stdout]    |                ^^^^^     ^^^^^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]    |                |
[INFO] [stdout]    |                the lifetime is elided here
[INFO] [stdout]    |
[INFO] [stdout]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]    |
[INFO] [stdout] 48 |     fn display(&self) -> DisplaySlice<'_, T> {
[INFO] [stdout]    |                                       +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> src/progress/mod.rs:91:13
[INFO] [stdout]    |
[INFO] [stdout] 91 |     fn iter(&self) -> Iter<(ID, V)>;
[INFO] [stdout]    |             ^^^^^     ^^^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]    |             |
[INFO] [stdout]    |             the lifetime is elided here
[INFO] [stdout]    |
[INFO] [stdout]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]    |
[INFO] [stdout] 91 |     fn iter(&self) -> Iter<'_, (ID, V)>;
[INFO] [stdout]    |                            +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]    --> src/progress/mod.rs:222:28
[INFO] [stdout]     |
[INFO] [stdout] 222 |     pub(crate) fn iter_mut(&mut self) -> IterMut<(ID, V)> {
[INFO] [stdout]     |                            ^^^^^^^^^     ^^^^^^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]     |                            |
[INFO] [stdout]     |                            the lifetime is elided here
[INFO] [stdout]     |
[INFO] [stdout]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]     |
[INFO] [stdout] 222 |     pub(crate) fn iter_mut(&mut self) -> IterMut<'_, (ID, V)> {
[INFO] [stdout]     |                                                  +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]    --> src/progress/mod.rs:363:13
[INFO] [stdout]     |
[INFO] [stdout] 363 |     fn iter(&self) -> Iter<(ID, V)> {
[INFO] [stdout]     |             ^^^^^     ^^^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]     |             |
[INFO] [stdout]     |             the lifetime is elided here
[INFO] [stdout]     |
[INFO] [stdout]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]     |
[INFO] [stdout] 363 |     fn iter(&self) -> Iter<'_, (ID, V)> {
[INFO] [stdout]     |                            +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]    --> src/engine/engine_impl.rs:253:9
[INFO] [stdout]     |
[INFO] [stdout] 253 |         &mut self,
[INFO] [stdout]     |         ^^^^^^^^^ the lifetime is elided here
[INFO] [stdout] 254 |         tx: Option<ResponderOf<C>>,
[INFO] [stdout] 255 |     ) -> Option<(LeaderHandler<C>, Option<ResponderOf<C>>)> {
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]     |
[INFO] [stdout]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]     |
[INFO] [stdout] 255 |     ) -> Option<(LeaderHandler<'_, C>, Option<ResponderOf<C>>)> {
[INFO] [stdout]     |                                +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<AppendEntriesResponse<<C as RaftTypeConfig>::NodeId>, error::Infallible>
[INFO] [stdout]    --> src/engine/engine_impl.rs:435:36
[INFO] [stdout]     |
[INFO] [stdout] 435 |                 resp: Respond::new(Ok(resp), tx),
[INFO] [stdout]     |                                    ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<SnapshotResponse<<C as RaftTypeConfig>::NodeId>, error::Infallible>
[INFO] [stdout]    --> src/engine/engine_impl.rs:483:86
[INFO] [stdout]     |
[INFO] [stdout] 483 |           let vote_res = self.vote_handler().accept_vote(&vote, tx, |state, _rejected| {
[INFO] [stdout]     |  ______________________________________________________________________________________^
[INFO] [stdout] 484 | |             Ok(SnapshotResponse::new(state.vote_ref().clone()))
[INFO] [stdout] 485 | |         });
[INFO] [stdout]     | |_________^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<SnapshotResponse<<C as RaftTypeConfig>::NodeId>, error::Infallible>
[INFO] [stdout]    --> src/engine/engine_impl.rs:484:13
[INFO] [stdout]     |
[INFO] [stdout] 484 |             Ok(SnapshotResponse::new(state.vote_ref().clone()))
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<SnapshotResponse<<C as RaftTypeConfig>::NodeId>, error::Infallible>
[INFO] [stdout]    --> src/engine/engine_impl.rs:496:19
[INFO] [stdout]     |
[INFO] [stdout] 496 |           let res = Ok(SnapshotResponse {
[INFO] [stdout]     |  ___________________^
[INFO] [stdout] 497 | |             vote: self.state.vote_ref().clone(),
[INFO] [stdout] 498 | |         });
[INFO] [stdout]     | |__________^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<SnapshotResponse<<C as RaftTypeConfig>::NodeId>, error::Infallible>
[INFO] [stdout]    --> src/engine/engine_impl.rs:502:32
[INFO] [stdout]     |
[INFO] [stdout] 502 |             resp: Respond::new(res, tx),
[INFO] [stdout]     |                                ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]    --> src/engine/engine_impl.rs:724:32
[INFO] [stdout]     |
[INFO] [stdout] 724 |     pub(crate) fn vote_handler(&mut self) -> VoteHandler<C> {
[INFO] [stdout]     |                                ^^^^^^^^^     ^^^^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]     |                                |
[INFO] [stdout]     |                                the lifetime is elided here
[INFO] [stdout]     |
[INFO] [stdout]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]     |
[INFO] [stdout] 724 |     pub(crate) fn vote_handler(&mut self) -> VoteHandler<'_, C> {
[INFO] [stdout]     |                                                          +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]    --> src/engine/engine_impl.rs:734:31
[INFO] [stdout]     |
[INFO] [stdout] 734 |     pub(crate) fn log_handler(&mut self) -> LogHandler<C> {
[INFO] [stdout]     |                               ^^^^^^^^^     ^^^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]     |                               |
[INFO] [stdout]     |                               the lifetime is elided here
[INFO] [stdout]     |
[INFO] [stdout]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]     |
[INFO] [stdout] 734 |     pub(crate) fn log_handler(&mut self) -> LogHandler<'_, C> {
[INFO] [stdout]     |                                                        +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]    --> src/engine/engine_impl.rs:742:36
[INFO] [stdout]     |
[INFO] [stdout] 742 |     pub(crate) fn snapshot_handler(&mut self) -> SnapshotHandler<C> {
[INFO] [stdout]     |                                    ^^^^^^^^^     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |                                    |             |
[INFO] [stdout]     |                                    |             the same lifetime is hidden here
[INFO] [stdout]     |                                    |             the same lifetime is hidden here
[INFO] [stdout]     |                                    the lifetime is elided here
[INFO] [stdout]     |
[INFO] [stdout]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]     |
[INFO] [stdout] 742 |     pub(crate) fn snapshot_handler(&mut self) -> SnapshotHandler<'_, C> {
[INFO] [stdout]     |                                                                  +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]    --> src/engine/engine_impl.rs:749:34
[INFO] [stdout]     |
[INFO] [stdout] 749 |     pub(crate) fn leader_handler(&mut self) -> Result<LeaderHandler<C>, ForwardToLeader<C::NodeId, C::Node>> {
[INFO] [stdout]     |                                  ^^^^^^^^^            ^^^^^^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]     |                                  |
[INFO] [stdout]     |                                  the lifetime is elided here
[INFO] [stdout]     |
[INFO] [stdout]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]     |
[INFO] [stdout] 749 |     pub(crate) fn leader_handler(&mut self) -> Result<LeaderHandler<'_, C>, ForwardToLeader<C::NodeId, C::Node>> {
[INFO] [stdout]     |                                                                     +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]    --> src/engine/engine_impl.rs:775:39
[INFO] [stdout]     |
[INFO] [stdout] 775 |     pub(crate) fn replication_handler(&mut self) -> ReplicationHandler<C> {
[INFO] [stdout]     |                                       ^^^^^^^^^     ^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]     |                                       |
[INFO] [stdout]     |                                       the lifetime is elided here
[INFO] [stdout]     |
[INFO] [stdout]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]     |
[INFO] [stdout] 775 |     pub(crate) fn replication_handler(&mut self) -> ReplicationHandler<'_, C> {
[INFO] [stdout]     |                                                                        +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]    --> src/engine/engine_impl.rs:791:37
[INFO] [stdout]     |
[INFO] [stdout] 791 |     pub(crate) fn following_handler(&mut self) -> FollowingHandler<C> {
[INFO] [stdout]     |                                     ^^^^^^^^^     ^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]     |                                     |
[INFO] [stdout]     |                                     the lifetime is elided here
[INFO] [stdout]     |
[INFO] [stdout]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]     |
[INFO] [stdout] 791 |     pub(crate) fn following_handler(&mut self) -> FollowingHandler<'_, C> {
[INFO] [stdout]     |                                                                    +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]    --> src/engine/engine_impl.rs:801:40
[INFO] [stdout]     |
[INFO] [stdout] 801 |     pub(crate) fn server_state_handler(&mut self) -> ServerStateHandler<C> {
[INFO] [stdout]     |                                        ^^^^^^^^^     ^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]     |                                        |
[INFO] [stdout]     |                                        the lifetime is elided here
[INFO] [stdout]     |
[INFO] [stdout]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]     |
[INFO] [stdout] 801 |     pub(crate) fn server_state_handler(&mut self) -> ServerStateHandler<'_, C> {
[INFO] [stdout]     |                                                                         +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]    --> src/engine/engine_impl.rs:808:37
[INFO] [stdout]     |
[INFO] [stdout] 808 |     pub(crate) fn establish_handler(&mut self) -> EstablishHandler<C> {
[INFO] [stdout]     |                                     ^^^^^^^^^     ^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]     |                                     |
[INFO] [stdout]     |                                     the lifetime is elided here
[INFO] [stdout]     |
[INFO] [stdout]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]     |
[INFO] [stdout] 808 |     pub(crate) fn establish_handler(&mut self) -> EstablishHandler<'_, C> {
[INFO] [stdout]     |                                                                    +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]    --> src/engine/handler/following_handler/mod.rs:350:20
[INFO] [stdout]     |
[INFO] [stdout] 350 |     fn log_handler(&mut self) -> LogHandler<C> {
[INFO] [stdout]     |                    ^^^^^^^^^     ^^^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]     |                    |
[INFO] [stdout]     |                    the lifetime is elided here
[INFO] [stdout]     |
[INFO] [stdout]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]     |
[INFO] [stdout] 350 |     fn log_handler(&mut self) -> LogHandler<'_, C> {
[INFO] [stdout]     |                                             +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]    --> src/engine/handler/following_handler/mod.rs:358:25
[INFO] [stdout]     |
[INFO] [stdout] 358 |     fn snapshot_handler(&mut self) -> SnapshotHandler<C> {
[INFO] [stdout]     |                         ^^^^^^^^^     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |                         |             |
[INFO] [stdout]     |                         |             the same lifetime is hidden here
[INFO] [stdout]     |                         |             the same lifetime is hidden here
[INFO] [stdout]     |                         the lifetime is elided here
[INFO] [stdout]     |
[INFO] [stdout]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]     |
[INFO] [stdout] 358 |     fn snapshot_handler(&mut self) -> SnapshotHandler<'_, C> {
[INFO] [stdout]     |                                                       +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]    --> src/engine/handler/following_handler/mod.rs:365:29
[INFO] [stdout]     |
[INFO] [stdout] 365 |     fn server_state_handler(&mut self) -> ServerStateHandler<C> {
[INFO] [stdout]     |                             ^^^^^^^^^     ^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]     |                             |
[INFO] [stdout]     |                             the lifetime is elided here
[INFO] [stdout]     |
[INFO] [stdout]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]     |
[INFO] [stdout] 365 |     fn server_state_handler(&mut self) -> ServerStateHandler<'_, C> {
[INFO] [stdout]     |                                                              +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]    --> src/engine/handler/leader_handler/mod.rs:122:39
[INFO] [stdout]     |
[INFO] [stdout] 122 |     pub(crate) fn replication_handler(&mut self) -> ReplicationHandler<C> {
[INFO] [stdout]     |                                       ^^^^^^^^^     ^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]     |                                       |
[INFO] [stdout]     |                                       the lifetime is elided here
[INFO] [stdout]     |
[INFO] [stdout]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]     |
[INFO] [stdout] 122 |     pub(crate) fn replication_handler(&mut self) -> ReplicationHandler<'_, C> {
[INFO] [stdout]     |                                                                        +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]    --> src/engine/handler/replication_handler/mod.rs:470:31
[INFO] [stdout]     |
[INFO] [stdout] 470 |     pub(crate) fn log_handler(&mut self) -> LogHandler<C> {
[INFO] [stdout]     |                               ^^^^^^^^^     ^^^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]     |                               |
[INFO] [stdout]     |                               the lifetime is elided here
[INFO] [stdout]     |
[INFO] [stdout]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]     |
[INFO] [stdout] 470 |     pub(crate) fn log_handler(&mut self) -> LogHandler<'_, C> {
[INFO] [stdout]     |                                                        +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]    --> src/engine/handler/replication_handler/mod.rs:478:25
[INFO] [stdout]     |
[INFO] [stdout] 478 |     fn snapshot_handler(&mut self) -> SnapshotHandler<C> {
[INFO] [stdout]     |                         ^^^^^^^^^     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |                         |             |
[INFO] [stdout]     |                         |             the same lifetime is hidden here
[INFO] [stdout]     |                         |             the same lifetime is hidden here
[INFO] [stdout]     |                         the lifetime is elided here
[INFO] [stdout]     |
[INFO] [stdout]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]     |
[INFO] [stdout] 478 |     fn snapshot_handler(&mut self) -> SnapshotHandler<'_, C> {
[INFO] [stdout]     |                                                       +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]    --> src/engine/handler/vote_handler/mod.rs:209:40
[INFO] [stdout]     |
[INFO] [stdout] 209 |     pub(crate) fn server_state_handler(&mut self) -> ServerStateHandler<C> {
[INFO] [stdout]     |                                        ^^^^^^^^^     ^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]     |                                        |
[INFO] [stdout]     |                                        the lifetime is elided here
[INFO] [stdout]     |
[INFO] [stdout]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]     |
[INFO] [stdout] 209 |     pub(crate) fn server_state_handler(&mut self) -> ServerStateHandler<'_, C> {
[INFO] [stdout]     |                                                                         +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]    --> src/engine/handler/vote_handler/mod.rs:217:39
[INFO] [stdout]     |
[INFO] [stdout] 217 |     pub(crate) fn replication_handler(&mut self) -> ReplicationHandler<C> {
[INFO] [stdout]     |                                       ^^^^^^^^^     ^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]     |                                       |
[INFO] [stdout]     |                                       the lifetime is elided here
[INFO] [stdout]     |
[INFO] [stdout]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]     |
[INFO] [stdout] 217 |     pub(crate) fn replication_handler(&mut self) -> ReplicationHandler<'_, C> {
[INFO] [stdout]     |                                                                        +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]    --> src/engine/handler/vote_handler/mod.rs:228:34
[INFO] [stdout]     |
[INFO] [stdout] 228 |     pub(crate) fn leader_handler(&mut self) -> LeaderHandler<C> {
[INFO] [stdout]     |                                  ^^^^^^^^^     ^^^^^^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]     |                                  |
[INFO] [stdout]     |                                  the lifetime is elided here
[INFO] [stdout]     |
[INFO] [stdout]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]     |
[INFO] [stdout] 228 |     pub(crate) fn leader_handler(&mut self) -> LeaderHandler<'_, C> {
[INFO] [stdout]     |                                                              +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<VoteResponse<u64>, error::Infallible>
[INFO] [stdout]   --> src/engine/handler/vote_handler/accept_vote_test.rs:26:67
[INFO] [stdout]    |
[INFO] [stdout] 26 |   fn mk_res(granted: bool) -> Result<VoteResponse<u64>, Infallible> {
[INFO] [stdout]    |  ___________________________________________________________________^
[INFO] [stdout] 27 | |     Ok::<VoteResponse<u64>, Infallible>(VoteResponse::new(Vote::new(2, 1), None, granted))
[INFO] [stdout] 28 | | }
[INFO] [stdout]    | |_^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<VoteResponse<u64>, error::Infallible>
[INFO] [stdout]   --> src/engine/handler/vote_handler/accept_vote_test.rs:27:5
[INFO] [stdout]    |
[INFO] [stdout] 27 |     Ok::<VoteResponse<u64>, Infallible>(VoteResponse::new(Vote::new(2, 1), None, granted))
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<VoteResponse<u64>, error::Infallible>
[INFO] [stdout]   --> src/engine/handler/vote_handler/accept_vote_test.rs:51:84
[INFO] [stdout]    |
[INFO] [stdout] 51 |     let resp = eng.vote_handler().accept_vote(&Vote::new(1, 2), tx, |_state, _err| mk_res(false));
[INFO] [stdout]    |                                                                                    ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<VoteResponse<u64>, error::Infallible>
[INFO] [stdout]   --> src/engine/handler/vote_handler/accept_vote_test.rs:61:36
[INFO] [stdout]    |
[INFO] [stdout] 61 |                 resp: Respond::new(mk_res(false), tx)
[INFO] [stdout]    |                                    ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<VoteResponse<u64>, error::Infallible>
[INFO] [stdout]   --> src/engine/handler/vote_handler/accept_vote_test.rs:77:84
[INFO] [stdout]    |
[INFO] [stdout] 77 |     let resp = eng.vote_handler().accept_vote(&Vote::new(3, 3), tx, |_state, _err| mk_res(true));
[INFO] [stdout]    |                                                                                    ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<SnapshotResponse<u64>, error::Infallible>
[INFO] [stdout]   --> src/engine/tests/install_full_snapshot_test.rs:95:36
[INFO] [stdout]    |
[INFO] [stdout] 95 |                 resp: Respond::new(Ok(SnapshotResponse::new(curr_vote)), dummy_tx),
[INFO] [stdout]    |                                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<SnapshotResponse<u64>, error::Infallible>
[INFO] [stdout]    --> src/engine/tests/install_full_snapshot_test.rs:155:36
[INFO] [stdout]     |
[INFO] [stdout] 155 |                 resp: Respond::new(Ok(SnapshotResponse::new(curr_vote)), dummy_tx),
[INFO] [stdout]     |                                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]    --> src/raft_state/membership_state/mod.rs:226:34
[INFO] [stdout]     |
[INFO] [stdout] 226 |     pub(crate) fn change_handler(&self) -> ChangeHandler<NID, N> {
[INFO] [stdout]     |                                  ^^^^^     ^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]     |                                  |
[INFO] [stdout]     |                                  the lifetime is elided here
[INFO] [stdout]     |
[INFO] [stdout]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]     |
[INFO] [stdout] 226 |     pub(crate) fn change_handler(&self) -> ChangeHandler<'_, NID, N> {
[INFO] [stdout]     |                                                          +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]    --> src/raft/mod.rs:336:27
[INFO] [stdout]     |
[INFO] [stdout] 336 |     pub fn runtime_config(&self) -> RuntimeConfigHandle<C> {
[INFO] [stdout]     |                           ^^^^^     ^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]     |                           |
[INFO] [stdout]     |                           the lifetime is elided here
[INFO] [stdout]     |
[INFO] [stdout]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]     |
[INFO] [stdout] 336 |     pub fn runtime_config(&self) -> RuntimeConfigHandle<'_, C> {
[INFO] [stdout]     |                                                         +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]    --> src/raft/mod.rs:368:20
[INFO] [stdout]     |
[INFO] [stdout] 368 |     pub fn trigger(&self) -> Trigger<C> {
[INFO] [stdout]     |                    ^^^^^     ^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]     |                    |
[INFO] [stdout]     |                    the lifetime is elided here
[INFO] [stdout]     |
[INFO] [stdout]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]     |
[INFO] [stdout] 368 |     pub fn trigger(&self) -> Trigger<'_, C> {
[INFO] [stdout]     |                                      +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> src/storage/adapter.rs:89:30
[INFO] [stdout]    |
[INFO] [stdout] 89 |     pub async fn storage_mut(&self) -> RwLockWriteGuard<S> {
[INFO] [stdout]    |                              ^^^^^     ^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]    |                              |
[INFO] [stdout]    |                              the lifetime is elided here
[INFO] [stdout]    |
[INFO] [stdout]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]    |
[INFO] [stdout] 89 |     pub async fn storage_mut(&self) -> RwLockWriteGuard<'_, S> {
[INFO] [stdout]    |                                                         +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> src/storage/adapter.rs:94:26
[INFO] [stdout]    |
[INFO] [stdout] 94 |     pub async fn storage(&self) -> RwLockReadGuard<S> {
[INFO] [stdout]    |                          ^^^^^     ^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]    |                          |
[INFO] [stdout]    |                          the lifetime is elided here
[INFO] [stdout]    |
[INFO] [stdout]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]    |
[INFO] [stdout] 94 |     pub async fn storage(&self) -> RwLockReadGuard<'_, S> {
[INFO] [stdout]    |                                                    +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `openraft` (lib test) due to 18 previous errors; 34 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "8bfc2adc82bb59db073cc51e4d3d82685d6835a29a5c8a9354f57e0c76d28d1a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "8bfc2adc82bb59db073cc51e4d3d82685d6835a29a5c8a9354f57e0c76d28d1a", kill_on_drop: false }`
[INFO] [stdout] 8bfc2adc82bb59db073cc51e4d3d82685d6835a29a5c8a9354f57e0c76d28d1a
