[INFO] fetching crate paxakos 0.13.0... [INFO] checking paxakos-0.13.0 against try#4f260f0f20b3133d20cfb50353c0221943af5796+rustflags=-Dunmustuse_in_always_ok for pr-148577 [INFO] extracting crate paxakos 0.13.0 into /workspace/builds/worker-6-tc2/source [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-6-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate paxakos 0.13.0 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] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 65 packages to latest compatible versions [INFO] [stderr] Adding rand v0.8.5 (available: v0.9.2) [INFO] [stderr] Adding rand_distr v0.4.3 (available: v0.5.1) [INFO] [stderr] Adding thiserror v1.0.69 (available: v2.0.17) [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-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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] 8f7bd5ade250792db7b8437a19329917223e7e4afed63f4b18fb746e48b7c808 [INFO] running `Command { std: "docker" "start" "-a" "8f7bd5ade250792db7b8437a19329917223e7e4afed63f4b18fb746e48b7c808", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8f7bd5ade250792db7b8437a19329917223e7e4afed63f4b18fb746e48b7c808", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8f7bd5ade250792db7b8437a19329917223e7e4afed63f4b18fb746e48b7c808", kill_on_drop: false }` [INFO] [stdout] 8f7bd5ade250792db7b8437a19329917223e7e4afed63f4b18fb746e48b7c808 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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] 595af299370424d0abb90bdfbe30cf06e2b3108f820d53d570191ec343d4f537 [INFO] running `Command { std: "docker" "start" "-a" "595af299370424d0abb90bdfbe30cf06e2b3108f820d53d570191ec343d4f537", kill_on_drop: false }` [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Checking getrandom v0.3.4 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling tracing-attributes v0.1.30 [INFO] [stderr] Compiling pin-project-internal v1.1.10 [INFO] [stderr] Checking snarc v0.1.0 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Checking pin-project v1.1.10 [INFO] [stderr] Checking thiserror v1.0.69 [INFO] [stderr] Checking tracing v0.1.41 [INFO] [stderr] Checking serde v1.0.228 [INFO] [stderr] Checking futures-executor v0.3.31 [INFO] [stderr] Checking uuid v1.18.1 [INFO] [stderr] Checking futures v0.3.31 [INFO] [stderr] Checking paxakos v0.13.0 (/opt/rustwide/workdir) [INFO] [stdout] error: this type will no longer be must used: Result)>, Infallible> [INFO] [stdout] --> src/buffer.rs:100:74 [INFO] [stdout] | [INFO] [stdout] 100 | ) -> Result)>, Self::Error> { [INFO] [stdout] | __________________________________________________________________________^ [INFO] [stdout] 101 | | // hot path [INFO] [stdout] 102 | | if let Some((r, _, _)) = self.buffer.get(0) { [INFO] [stdout] 103 | | if round_num >= *r { [INFO] [stdout] ... | [INFO] [stdout] 119 | | .map(|(_, c, e)| (*c, Arc::clone(e)))) [INFO] [stdout] 120 | | } [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)>, Infallible> [INFO] [stdout] --> src/buffer.rs:107:36 [INFO] [stdout] | [INFO] [stdout] 107 | ... return Ok(Some((*c, Arc::clone(e)))); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result)>, Infallible> [INFO] [stdout] --> src/buffer.rs:115:9 [INFO] [stdout] | [INFO] [stdout] 115 | / Ok(self [INFO] [stdout] 116 | | .buffer [INFO] [stdout] 117 | | .iter() [INFO] [stdout] 118 | | .find(|(r, _, _)| *r == round_num) [INFO] [stdout] 119 | | .map(|(_, c, e)| (*c, Arc::clone(e)))) [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] error: this type will no longer be must used: Result::State, ::RoundNum, ::CoordNum>, Infallible> [INFO] [stdout] --> src/node/state_keeper/mod.rs:610:67 [INFO] [stdout] | [INFO] [stdout] 610 | Request::PrepareSnapshot => Response::PrepareSnapshot(Ok(self.prepare_snapshot())), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this type continue be must used: Result::RoundNum, <::State as state::State>::Outcome)>, Infallible> [INFO] [stdout] --> src/node/state_keeper/mod.rs:635:41 [INFO] [stdout] | [INFO] [stdout] 635 | Response::AwaitCommitOf(Ok(r)) [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mustuse_in_always_ok)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result::State as state::State>::LogEntry>>, Infallible> [INFO] [stdout] --> src/node/state_keeper/mod.rs:642:81 [INFO] [stdout] | [INFO] [stdout] 642 | Request::AcceptedEntryOf { round_num } => Response::AcceptedEntryOf(Ok(self [INFO] [stdout] | _________________________________________________________________________________^ [INFO] [stdout] 643 | | .accepted_entries [INFO] [stdout] 644 | | .get(&round_num) [INFO] [stdout] 645 | | .map(|(_, e)| Arc::clone(e)))), [INFO] [stdout] | |_____________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result<::CoordNum, Infallible> [INFO] [stdout] --> src/node/state_keeper/mod.rs:675:52 [INFO] [stdout] | [INFO] [stdout] 675 | Response::GreatestObservedCoordNum(Ok(self.greatest_observed_coord_num)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/node/state_keeper/mod.rs:823:33 [INFO] [stdout] | [INFO] [stdout] 823 | Response::Eject(Ok(success)) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/node/state_keeper/mod.rs:826:59 [INFO] [stdout] | [INFO] [stdout] 826 | Request::ForceActive => Response::ForceActive({ [INFO] [stdout] | ___________________________________________________________^ [INFO] [stdout] 827 | | if let Participation::Passive { .. } = self.participation { [INFO] [stdout] 828 | | info!("Node forced into active participation mode."); [INFO] [stdout] ... | [INFO] [stdout] 836 | | }), [INFO] [stdout] | |_____________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/node/state_keeper/mod.rs:827:17 [INFO] [stdout] | [INFO] [stdout] 827 | / if let Participation::Passive { .. } = self.participation { [INFO] [stdout] 828 | | info!("Node forced into active participation mode."); [INFO] [stdout] 829 | | [INFO] [stdout] 830 | | self.participation = Participation::Active; [INFO] [stdout] ... | [INFO] [stdout] 834 | | Ok(false) [INFO] [stdout] 835 | | } [INFO] [stdout] | |_________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/node/state_keeper/mod.rs:827:75 [INFO] [stdout] | [INFO] [stdout] 827 | if let Participation::Passive { .. } = self.participation { [INFO] [stdout] | ___________________________________________________________________________^ [INFO] [stdout] 828 | | info!("Node forced into active participation mode."); [INFO] [stdout] 829 | | [INFO] [stdout] 830 | | self.participation = Participation::Active; [INFO] [stdout] 831 | | [INFO] [stdout] 832 | | Ok(true) [INFO] [stdout] 833 | | } else { [INFO] [stdout] | |_________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/node/state_keeper/mod.rs:832:21 [INFO] [stdout] | [INFO] [stdout] 832 | Ok(true) [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/node/state_keeper/mod.rs:833:24 [INFO] [stdout] | [INFO] [stdout] 833 | } else { [INFO] [stdout] | ________________________^ [INFO] [stdout] 834 | | Ok(false) [INFO] [stdout] 835 | | } [INFO] [stdout] | |_________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/node/state_keeper/mod.rs:834:21 [INFO] [stdout] | [INFO] [stdout] 834 | Ok(false) [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/node/state_keeper/mod.rs:1516:9 [INFO] [stdout] | [INFO] [stdout] 1494 | / fn proof_unsafe_send_impl_is_sound( [INFO] [stdout] 1495 | | spawn_args: SpawnArgs, [INFO] [stdout] 1496 | | start_result_sender: oneshot::Sender>, [INFO] [stdout] 1497 | | receiver: mpsc::Receiver>, [INFO] [stdout] ... | [INFO] [stdout] 1502 | | V: Send, [INFO] [stdout] 1503 | | B: Send, [INFO] [stdout] | |________________- move the `impl` block outside of this associated function `proof_unsafe_send_impl_is_sound` [INFO] [stdout] ... [INFO] [stdout] 1516 | unsafe impl> Send for Task [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^----^^^^^----^^^^^^^^^^^^ [INFO] [stdout] | | | [INFO] [stdout] | | `Task` is not local [INFO] [stdout] | `Send` is not local [INFO] [stdout] | [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result::State, ::RoundNum, ::CoordNum>, Infallible> [INFO] [stdout] --> src/node/state_keeper/handle.rs:60:48 [INFO] [stdout] | [INFO] [stdout] 60 | Response::$name(r) => Ok(match r { [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 111 | dispatch_state_keeper_req!(self, PrepareSnapshot) [INFO] [stdout] | ------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `dispatch_state_keeper_req` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this type continue be must used: Result::RoundNum, <::State as state::State>::Outcome)>, Infallible> [INFO] [stdout] --> src/node/state_keeper/handle.rs:81:48 [INFO] [stdout] | [INFO] [stdout] 81 | Response::$name(r) => Ok(match r { [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 347 | dispatch_state_keeper_req!(self, AwaitCommitOf, { entry_id }) [INFO] [stdout] | ------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `dispatch_state_keeper_req` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result::State as state::State>::LogEntry>>, Infallible> [INFO] [stdout] --> src/node/state_keeper/handle.rs:81:48 [INFO] [stdout] | [INFO] [stdout] 81 | Response::$name(r) => Ok(match r { [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 362 | dispatch_state_keeper_req!(self, AcceptedEntryOf, { round_num }) [INFO] [stdout] | ---------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `dispatch_state_keeper_req` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result<::CoordNum, Infallible> [INFO] [stdout] --> src/node/state_keeper/handle.rs:60:48 [INFO] [stdout] | [INFO] [stdout] 60 | Response::$name(r) => Ok(match r { [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 388 | dispatch_state_keeper_req!(self, GreatestObservedCoordNum) [INFO] [stdout] | ---------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `dispatch_state_keeper_req` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/node/state_keeper/handle.rs:81:48 [INFO] [stdout] | [INFO] [stdout] 81 | Response::$name(r) => Ok(match r { [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 506 | dispatch_state_keeper_req!(self, Eject, (reason)) [INFO] [stdout] | ------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `dispatch_state_keeper_req` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/node/state_keeper/handle.rs:60:48 [INFO] [stdout] | [INFO] [stdout] 60 | Response::$name(r) => Ok(match r { [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 510 | dispatch_state_keeper_req!(self, ForceActive) [INFO] [stdout] | --------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `dispatch_state_keeper_req` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `paxakos` (lib) due to 18 previous errors; 4 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: this type will no longer be must used: Result)>, Infallible> [INFO] [stdout] --> src/buffer.rs:100:74 [INFO] [stdout] | [INFO] [stdout] 100 | ) -> Result)>, Self::Error> { [INFO] [stdout] | __________________________________________________________________________^ [INFO] [stdout] 101 | | // hot path [INFO] [stdout] 102 | | if let Some((r, _, _)) = self.buffer.get(0) { [INFO] [stdout] 103 | | if round_num >= *r { [INFO] [stdout] ... | [INFO] [stdout] 119 | | .map(|(_, c, e)| (*c, Arc::clone(e)))) [INFO] [stdout] 120 | | } [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)>, Infallible> [INFO] [stdout] --> src/buffer.rs:107:36 [INFO] [stdout] | [INFO] [stdout] 107 | ... return Ok(Some((*c, Arc::clone(e)))); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result)>, Infallible> [INFO] [stdout] --> src/buffer.rs:115:9 [INFO] [stdout] | [INFO] [stdout] 115 | / Ok(self [INFO] [stdout] 116 | | .buffer [INFO] [stdout] 117 | | .iter() [INFO] [stdout] 118 | | .find(|(r, _, _)| *r == round_num) [INFO] [stdout] 119 | | .map(|(_, c, e)| (*c, Arc::clone(e)))) [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] error: this type will no longer be must used: Result::State, ::RoundNum, ::CoordNum>, Infallible> [INFO] [stdout] --> src/node/state_keeper/mod.rs:610:67 [INFO] [stdout] | [INFO] [stdout] 610 | Request::PrepareSnapshot => Response::PrepareSnapshot(Ok(self.prepare_snapshot())), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this type continue be must used: Result::RoundNum, <::State as state::State>::Outcome)>, Infallible> [INFO] [stdout] --> src/node/state_keeper/mod.rs:635:41 [INFO] [stdout] | [INFO] [stdout] 635 | Response::AwaitCommitOf(Ok(r)) [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mustuse_in_always_ok)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result::State as state::State>::LogEntry>>, Infallible> [INFO] [stdout] --> src/node/state_keeper/mod.rs:642:81 [INFO] [stdout] | [INFO] [stdout] 642 | Request::AcceptedEntryOf { round_num } => Response::AcceptedEntryOf(Ok(self [INFO] [stdout] | _________________________________________________________________________________^ [INFO] [stdout] 643 | | .accepted_entries [INFO] [stdout] 644 | | .get(&round_num) [INFO] [stdout] 645 | | .map(|(_, e)| Arc::clone(e)))), [INFO] [stdout] | |_____________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result<::CoordNum, Infallible> [INFO] [stdout] --> src/node/state_keeper/mod.rs:675:52 [INFO] [stdout] | [INFO] [stdout] 675 | Response::GreatestObservedCoordNum(Ok(self.greatest_observed_coord_num)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/node/state_keeper/mod.rs:823:33 [INFO] [stdout] | [INFO] [stdout] 823 | Response::Eject(Ok(success)) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/node/state_keeper/mod.rs:826:59 [INFO] [stdout] | [INFO] [stdout] 826 | Request::ForceActive => Response::ForceActive({ [INFO] [stdout] | ___________________________________________________________^ [INFO] [stdout] 827 | | if let Participation::Passive { .. } = self.participation { [INFO] [stdout] 828 | | info!("Node forced into active participation mode."); [INFO] [stdout] ... | [INFO] [stdout] 836 | | }), [INFO] [stdout] | |_____________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/node/state_keeper/mod.rs:827:17 [INFO] [stdout] | [INFO] [stdout] 827 | / if let Participation::Passive { .. } = self.participation { [INFO] [stdout] 828 | | info!("Node forced into active participation mode."); [INFO] [stdout] 829 | | [INFO] [stdout] 830 | | self.participation = Participation::Active; [INFO] [stdout] ... | [INFO] [stdout] 834 | | Ok(false) [INFO] [stdout] 835 | | } [INFO] [stdout] | |_________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/node/state_keeper/mod.rs:827:75 [INFO] [stdout] | [INFO] [stdout] 827 | if let Participation::Passive { .. } = self.participation { [INFO] [stdout] | ___________________________________________________________________________^ [INFO] [stdout] 828 | | info!("Node forced into active participation mode."); [INFO] [stdout] 829 | | [INFO] [stdout] 830 | | self.participation = Participation::Active; [INFO] [stdout] 831 | | [INFO] [stdout] 832 | | Ok(true) [INFO] [stdout] 833 | | } else { [INFO] [stdout] | |_________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/node/state_keeper/mod.rs:832:21 [INFO] [stdout] | [INFO] [stdout] 832 | Ok(true) [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/node/state_keeper/mod.rs:833:24 [INFO] [stdout] | [INFO] [stdout] 833 | } else { [INFO] [stdout] | ________________________^ [INFO] [stdout] 834 | | Ok(false) [INFO] [stdout] 835 | | } [INFO] [stdout] | |_________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/node/state_keeper/mod.rs:834:21 [INFO] [stdout] | [INFO] [stdout] 834 | Ok(false) [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/node/state_keeper/mod.rs:1516:9 [INFO] [stdout] | [INFO] [stdout] 1494 | / fn proof_unsafe_send_impl_is_sound( [INFO] [stdout] 1495 | | spawn_args: SpawnArgs, [INFO] [stdout] 1496 | | start_result_sender: oneshot::Sender>, [INFO] [stdout] 1497 | | receiver: mpsc::Receiver>, [INFO] [stdout] ... | [INFO] [stdout] 1502 | | V: Send, [INFO] [stdout] 1503 | | B: Send, [INFO] [stdout] | |________________- move the `impl` block outside of this associated function `proof_unsafe_send_impl_is_sound` [INFO] [stdout] ... [INFO] [stdout] 1516 | unsafe impl> Send for Task [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^----^^^^^----^^^^^^^^^^^^ [INFO] [stdout] | | | [INFO] [stdout] | | `Task` is not local [INFO] [stdout] | `Send` is not local [INFO] [stdout] | [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result::State, ::RoundNum, ::CoordNum>, Infallible> [INFO] [stdout] --> src/node/state_keeper/handle.rs:60:48 [INFO] [stdout] | [INFO] [stdout] 60 | Response::$name(r) => Ok(match r { [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 111 | dispatch_state_keeper_req!(self, PrepareSnapshot) [INFO] [stdout] | ------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `dispatch_state_keeper_req` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this type continue be must used: Result::RoundNum, <::State as state::State>::Outcome)>, Infallible> [INFO] [stdout] --> src/node/state_keeper/handle.rs:81:48 [INFO] [stdout] | [INFO] [stdout] 81 | Response::$name(r) => Ok(match r { [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 347 | dispatch_state_keeper_req!(self, AwaitCommitOf, { entry_id }) [INFO] [stdout] | ------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `dispatch_state_keeper_req` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result::State as state::State>::LogEntry>>, Infallible> [INFO] [stdout] --> src/node/state_keeper/handle.rs:81:48 [INFO] [stdout] | [INFO] [stdout] 81 | Response::$name(r) => Ok(match r { [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 362 | dispatch_state_keeper_req!(self, AcceptedEntryOf, { round_num }) [INFO] [stdout] | ---------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `dispatch_state_keeper_req` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result<::CoordNum, Infallible> [INFO] [stdout] --> src/node/state_keeper/handle.rs:60:48 [INFO] [stdout] | [INFO] [stdout] 60 | Response::$name(r) => Ok(match r { [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 388 | dispatch_state_keeper_req!(self, GreatestObservedCoordNum) [INFO] [stdout] | ---------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `dispatch_state_keeper_req` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/node/state_keeper/handle.rs:81:48 [INFO] [stdout] | [INFO] [stdout] 81 | Response::$name(r) => Ok(match r { [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 506 | dispatch_state_keeper_req!(self, Eject, (reason)) [INFO] [stdout] | ------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `dispatch_state_keeper_req` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/node/state_keeper/handle.rs:60:48 [INFO] [stdout] | [INFO] [stdout] 60 | Response::$name(r) => Ok(match r { [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 510 | dispatch_state_keeper_req!(self, ForceActive) [INFO] [stdout] | --------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `dispatch_state_keeper_req` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `paxakos` (lib test) due to 18 previous errors; 4 warnings emitted [INFO] running `Command { std: "docker" "inspect" "595af299370424d0abb90bdfbe30cf06e2b3108f820d53d570191ec343d4f537", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "595af299370424d0abb90bdfbe30cf06e2b3108f820d53d570191ec343d4f537", kill_on_drop: false }` [INFO] [stdout] 595af299370424d0abb90bdfbe30cf06e2b3108f820d53d570191ec343d4f537