[INFO] fetching crate florescence 0.1.0... [INFO] testing florescence-0.1.0 against try#b83b707f97d809763b7861afa7638871f3339a33 for pr-145838-1 [INFO] extracting crate florescence 0.1.0 into /workspace/builds/worker-6-tc2/source [INFO] started tweaking crates.io crate florescence 0.1.0 [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate florescence 0.1.0 [INFO] tweaked toml for crates.io crate florescence 0.1.0 written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate florescence 0.1.0 on toolchain b83b707f97d809763b7861afa7638871f3339a33 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate florescence 0.1.0 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" "+b83b707f97d809763b7861afa7638871f3339a33" "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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] cd9f0433ab956a4fd814a86524b5567f943b6127d14b75aa3853570d755b6c1f [INFO] running `Command { std: "docker" "start" "-a" "cd9f0433ab956a4fd814a86524b5567f943b6127d14b75aa3853570d755b6c1f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "cd9f0433ab956a4fd814a86524b5567f943b6127d14b75aa3853570d755b6c1f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cd9f0433ab956a4fd814a86524b5567f943b6127d14b75aa3853570d755b6c1f", kill_on_drop: false }` [INFO] [stdout] cd9f0433ab956a4fd814a86524b5567f943b6127d14b75aa3853570d755b6c1f [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" "-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e4c991766673c243293e156113d490e019e427c5ee95e57d21e245425aab503a [INFO] running `Command { std: "docker" "start" "-a" "e4c991766673c243293e156113d490e019e427c5ee95e57d21e245425aab503a", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.93 [INFO] [stderr] Compiling unicode-ident v1.0.16 [INFO] [stderr] Compiling once_cell v1.20.3 [INFO] [stderr] Compiling bytes v1.10.0 [INFO] [stderr] Compiling futures-sink v0.3.31 [INFO] [stderr] Compiling anyhow v1.0.95 [INFO] [stderr] Compiling either v1.13.0 [INFO] [stderr] Compiling hashbrown v0.15.2 [INFO] [stderr] Compiling equivalent v1.0.1 [INFO] [stderr] Compiling getrandom v0.3.1 [INFO] [stderr] Compiling itoa v1.0.14 [INFO] [stderr] Compiling rustix v0.38.44 [INFO] [stderr] Compiling linux-raw-sys v0.4.15 [INFO] [stderr] Compiling socket2 v0.5.8 [INFO] [stderr] Compiling mio v1.0.3 [INFO] [stderr] Compiling prettyplease v0.2.29 [INFO] [stderr] Compiling bitflags v2.8.0 [INFO] [stderr] Compiling libc v0.2.169 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling tracing-core v0.1.33 [INFO] [stderr] Compiling serde v1.0.217 [INFO] [stderr] Compiling itertools v0.13.0 [INFO] [stderr] Compiling tower-service v0.3.3 [INFO] [stderr] Compiling smallvec v1.13.2 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling httparse v1.10.0 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling multimap v0.10.0 [INFO] [stderr] Compiling indexmap v2.7.1 [INFO] [stderr] Compiling http v1.2.0 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling try-lock v0.2.5 [INFO] [stderr] Compiling utf8parse v0.2.2 [INFO] [stderr] Compiling tower-layer v0.3.3 [INFO] [stderr] Compiling rustversion v1.0.19 [INFO] [stderr] Compiling want v0.3.1 [INFO] [stderr] Compiling anstyle-parse v0.2.6 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling rust_decimal v1.36.0 [INFO] [stderr] Compiling iana-time-zone v0.1.61 [INFO] [stderr] Compiling anstyle-query v1.1.2 [INFO] [stderr] Compiling httpdate v1.0.3 [INFO] [stderr] Compiling log v0.4.25 [INFO] [stderr] Compiling is_terminal_polyfill v1.70.1 [INFO] [stderr] Compiling quote v1.0.38 [INFO] [stderr] Compiling sync_wrapper v1.0.2 [INFO] [stderr] Compiling colorchoice v1.0.3 [INFO] [stderr] Compiling semver v1.0.25 [INFO] [stderr] Compiling anstyle v1.0.10 [INFO] [stderr] Compiling petgraph v0.6.5 [INFO] [stderr] Compiling anstream v0.6.18 [INFO] [stderr] Compiling syn v2.0.98 [INFO] [stderr] Compiling http-body v1.0.1 [INFO] [stderr] Compiling arrayvec v0.7.6 [INFO] [stderr] Compiling strsim v0.11.1 [INFO] [stderr] Compiling mime v0.3.17 [INFO] [stderr] Compiling clap_lex v0.7.4 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling percent-encoding v2.3.1 [INFO] [stderr] Compiling clap_builder v4.5.27 [INFO] [stderr] Compiling matchit v0.7.3 [INFO] [stderr] Compiling utf8-width v0.1.7 [INFO] [stderr] Compiling serde_json v1.0.138 [INFO] [stderr] Compiling chrono v0.4.39 [INFO] [stderr] Compiling tempfile v3.16.0 [INFO] [stderr] Compiling byte-unit v5.1.6 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling tracing-log v0.2.0 [INFO] [stderr] Compiling thread_local v1.1.8 [INFO] [stderr] Compiling maplit v1.0.2 [INFO] [stderr] Compiling base64 v0.22.1 [INFO] [stderr] Compiling ryu v1.0.19 [INFO] [stderr] Compiling dashmap v6.1.0 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling prost-derive v0.13.4 [INFO] [stderr] Compiling tracing-attributes v0.1.28 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling serde_derive v1.0.217 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling pin-project-internal v1.1.9 [INFO] [stderr] Compiling async-trait v0.1.86 [INFO] [stderr] Compiling clap_derive v4.5.28 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling async-stream-impl v0.3.6 [INFO] [stderr] Compiling derive_more-impl v1.0.0 [INFO] [stderr] Compiling openraft-macros v0.9.17 [INFO] [stderr] Compiling async-stream v0.3.6 [INFO] [stderr] Compiling tokio v1.43.0 [INFO] [stderr] Compiling zerocopy v0.7.35 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling ppv-lite86 v0.2.20 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling pin-project v1.1.9 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling derive_more v1.0.0 [INFO] [stderr] Compiling prost v0.13.4 [INFO] [stderr] Compiling tracing-futures v0.2.5 [INFO] [stderr] Compiling tracing-subscriber v0.3.19 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling prost-types v0.13.4 [INFO] [stderr] Compiling clap v4.5.28 [INFO] [stderr] Compiling prost-build v0.13.4 [INFO] [stderr] Compiling tonic-build v0.12.3 [INFO] [stderr] Compiling http-body-util v0.1.2 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling tower v0.5.2 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling axum-core v0.4.5 [INFO] [stderr] Compiling florescence v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Compiling tokio-util v0.7.13 [INFO] [stderr] Compiling tokio-stream v0.1.17 [INFO] [stderr] Compiling h2 v0.4.7 [INFO] [stderr] Compiling tower v0.4.13 [INFO] [stderr] Compiling anyerror v0.1.13 [INFO] [stderr] Compiling axum v0.7.9 [INFO] [stderr] Compiling validit v0.2.4 [INFO] [stderr] Compiling openraft v0.9.17 [INFO] [stderr] Compiling hyper v1.6.0 [INFO] [stderr] Compiling hyper-util v0.1.10 [INFO] [stderr] Compiling hyper-timeout v0.5.2 [INFO] [stderr] Compiling tonic v0.12.3 [INFO] [stdout] error[E0432]: unresolved import `openraft::network::v2` [INFO] [stdout] --> src/network/mod.rs:3:24 [INFO] [stdout] | [INFO] [stdout] 3 | use openraft::network::v2::RaftNetworkV2; [INFO] [stdout] | ^^ could not find `v2` in `network` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `openraft::alias` [INFO] [stdout] --> src/store/log_store.rs:9:15 [INFO] [stdout] | [INFO] [stdout] 9 | use openraft::alias::LogIdOf; [INFO] [stdout] | ^^^^^ could not find `alias` in `openraft` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `openraft::alias` [INFO] [stdout] --> src/store/log_store.rs:10:15 [INFO] [stdout] | [INFO] [stdout] 10 | use openraft::alias::VoteOf; [INFO] [stdout] | ^^^^^ could not find `alias` in `openraft` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `openraft::storage::IOFlushed` [INFO] [stdout] --> src/store/log_store.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use openraft::storage::IOFlushed; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no `IOFlushed` in `storage` [INFO] [stdout] | [INFO] [stdout] help: a similar name exists in the module [INFO] [stdout] | [INFO] [stdout] 12 - use openraft::storage::IOFlushed; [INFO] [stdout] 12 + use openraft::storage::LogFlushed; [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias instead [INFO] [stdout] | [INFO] [stdout] 12 - use openraft::storage::IOFlushed; [INFO] [stdout] 12 + use crate::typ::IOFlushed; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `openraft::alias` [INFO] [stdout] --> src/store/log_store.rs:138:19 [INFO] [stdout] | [INFO] [stdout] 138 | use openraft::alias::LogIdOf; [INFO] [stdout] | ^^^^^ could not find `alias` in `openraft` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `openraft::alias` [INFO] [stdout] --> src/store/log_store.rs:139:19 [INFO] [stdout] | [INFO] [stdout] 139 | use openraft::alias::VoteOf; [INFO] [stdout] | ^^^^^ could not find `alias` in `openraft` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `openraft::storage::IOFlushed` [INFO] [stdout] --> src/store/log_store.rs:140:9 [INFO] [stdout] | [INFO] [stdout] 140 | use openraft::storage::IOFlushed; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no `IOFlushed` in `storage` [INFO] [stdout] | [INFO] [stdout] help: a similar name exists in the module [INFO] [stdout] | [INFO] [stdout] 140 - use openraft::storage::IOFlushed; [INFO] [stdout] 140 + use openraft::storage::LogFlushed; [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items instead [INFO] [stdout] | [INFO] [stdout] 140 - use openraft::storage::IOFlushed; [INFO] [stdout] 140 + use crate::store::log_store::IOFlushed; [INFO] [stdout] | [INFO] [stdout] 140 - use openraft::storage::IOFlushed; [INFO] [stdout] 140 + use crate::typ::IOFlushed; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `openraft::alias` [INFO] [stdout] --> src/pb_impl/impl_entry.rs:3:15 [INFO] [stdout] | [INFO] [stdout] 3 | use openraft::alias::LogIdOf; [INFO] [stdout] | ^^^^^ could not find `alias` in `openraft` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `openraft::vote::LeaderIdCompare` [INFO] [stdout] --> src/pb_impl/impl_leader_id.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use openraft::vote::LeaderIdCompare; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no `LeaderIdCompare` in `vote` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `openraft::vote::RaftLeaderId` [INFO] [stdout] --> src/pb_impl/impl_leader_id.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use openraft::vote::RaftLeaderId; [INFO] [stdout] | ^^^^^^^^^^^^^^^^------------ [INFO] [stdout] | | | [INFO] [stdout] | | help: a similar name exists in the module: `LeaderId` [INFO] [stdout] | no `RaftLeaderId` in `vote` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `openraft::vote::RaftVote` [INFO] [stdout] --> src/pb_impl/impl_vote.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use openraft::vote::RaftVote; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ no `RaftVote` in `vote` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0407]: method `read_vote` is not a member of trait `RaftLogReader` [INFO] [stdout] --> src/store/log_store.rs:160:9 [INFO] [stdout] | [INFO] [stdout] 160 | / async fn read_vote(&mut self) -> Result>, StorageError> { [INFO] [stdout] 161 | | let mut inner = self.inner.lock().await; [INFO] [stdout] 162 | | inner.read_vote().await [INFO] [stdout] 163 | | } [INFO] [stdout] | |_________^ not a member of trait `RaftLogReader` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0407]: method `new` is not a member of trait `RaftEntry` [INFO] [stdout] --> src/pb_impl/impl_entry.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | / fn new(log_id: LogIdOf, payload: EntryPayload) -> Self { [INFO] [stdout] 26 | | let mut app_data = None; [INFO] [stdout] 27 | | let mut membership = None; [INFO] [stdout] 28 | | match payload { [INFO] [stdout] ... | [INFO] [stdout] 40 | | } [INFO] [stdout] | |_____^ not a member of trait `RaftEntry` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0407]: method `log_id_parts` is not a member of trait `RaftEntry` [INFO] [stdout] --> src/pb_impl/impl_entry.rs:42:5 [INFO] [stdout] | [INFO] [stdout] 42 | / fn log_id_parts(&self) -> (&u64, u64) { [INFO] [stdout] 43 | | (&self.term, self.index) [INFO] [stdout] 44 | | } [INFO] [stdout] | |_____^ not a member of trait `RaftEntry` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0407]: method `set_log_id` is not a member of trait `RaftEntry` [INFO] [stdout] --> src/pb_impl/impl_entry.rs:46:5 [INFO] [stdout] | [INFO] [stdout] 46 | / fn set_log_id(&mut self, new: LogIdOf) { [INFO] [stdout] 47 | | self.term = new.leader_id; [INFO] [stdout] 48 | | self.index = new.index; [INFO] [stdout] 49 | | } [INFO] [stdout] | |_____^ not a member of trait `RaftEntry` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0437]: type `LeaderId` is not a member of trait `$crate::RaftTypeConfig` [INFO] [stdout] --> src/lib.rs:21:1 [INFO] [stdout] | [INFO] [stdout] 21 | / openraft::declare_raft_types!( [INFO] [stdout] 22 | | /// Declare the type configuration for example K/V store. [INFO] [stdout] 23 | | pub TypeConfig: [INFO] [stdout] 24 | | D = pb::SetRequest, [INFO] [stdout] ... | [INFO] [stdout] 30 | | SnapshotData = Vec, [INFO] [stdout] 31 | | ); [INFO] [stdout] | |_^ not a member of trait `$crate::RaftTypeConfig` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `openraft::declare_raft_types` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0437]: type `Vote` is not a member of trait `$crate::RaftTypeConfig` [INFO] [stdout] --> src/lib.rs:21:1 [INFO] [stdout] | [INFO] [stdout] 21 | / openraft::declare_raft_types!( [INFO] [stdout] 22 | | /// Declare the type configuration for example K/V store. [INFO] [stdout] 23 | | pub TypeConfig: [INFO] [stdout] 24 | | D = pb::SetRequest, [INFO] [stdout] ... | [INFO] [stdout] 30 | | SnapshotData = Vec, [INFO] [stdout] 31 | | ); [INFO] [stdout] | |_^ not a member of trait `$crate::RaftTypeConfig` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `openraft::declare_raft_types` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0576]: cannot find associated type `Vote` in trait `openraft::RaftTypeConfig` [INFO] [stdout] --> src/typ.rs:8:59 [INFO] [stdout] | [INFO] [stdout] 8 | pub type Vote = ::Vote; [INFO] [stdout] | ^^^^ not found in `openraft::RaftTypeConfig` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0576]: cannot find associated type `LeaderId` in trait `openraft::RaftTypeConfig` [INFO] [stdout] --> src/typ.rs:9:63 [INFO] [stdout] | [INFO] [stdout] 9 | pub type LeaderId = ::LeaderId; [INFO] [stdout] | ^^^^^^^^ not found in `openraft::RaftTypeConfig` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `IOFlushed` in module `openraft::storage` [INFO] [stdout] --> src/typ.rs:24:41 [INFO] [stdout] | [INFO] [stdout] 24 | pub type IOFlushed = openraft::storage::IOFlushed; [INFO] [stdout] | ^^^^^^^^^ help: a struct with a similar name exists: `LogFlushed` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/openraft-0.9.17/src/storage/callback.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct LogFlushed [INFO] [stdout] | ------------------------ similarly named struct `LogFlushed` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0603]: module `vote` is private [INFO] [stdout] --> src/pb_impl/impl_leader_id.rs:6:15 [INFO] [stdout] | [INFO] [stdout] 6 | use openraft::vote::LeaderIdCompare; [INFO] [stdout] | ^^^^ private module [INFO] [stdout] | [INFO] [stdout] note: the module `vote` is defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/openraft-0.9.17/src/lib.rs:42:1 [INFO] [stdout] | [INFO] [stdout] 42 | mod vote; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0603]: module `vote` is private [INFO] [stdout] --> src/pb_impl/impl_leader_id.rs:7:15 [INFO] [stdout] | [INFO] [stdout] 7 | use openraft::vote::RaftLeaderId; [INFO] [stdout] | ^^^^ private module [INFO] [stdout] | [INFO] [stdout] note: the module `vote` is defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/openraft-0.9.17/src/lib.rs:42:1 [INFO] [stdout] | [INFO] [stdout] 42 | mod vote; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0603]: module `vote` is private [INFO] [stdout] --> src/pb_impl/impl_vote.rs:3:15 [INFO] [stdout] | [INFO] [stdout] 3 | use openraft::vote::RaftVote; [INFO] [stdout] | ^^^^ private module [INFO] [stdout] | [INFO] [stdout] note: the module `vote` is defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/openraft-0.9.17/src/lib.rs:42:1 [INFO] [stdout] | [INFO] [stdout] 42 | mod vote; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0603]: module `membership` is private [INFO] [stdout] --> src/typ.rs:13:33 [INFO] [stdout] | [INFO] [stdout] 13 | pub type Membership = openraft::membership::Membership; [INFO] [stdout] | ^^^^^^^^^^ private module [INFO] [stdout] | [INFO] [stdout] note: the module `membership` is defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/openraft-0.9.17/src/lib.rs:32:1 [INFO] [stdout] | [INFO] [stdout] 32 | mod membership; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] help: consider importing this struct instead [INFO] [stdout] | [INFO] [stdout] 13 - pub type Membership = openraft::membership::Membership; [INFO] [stdout] 13 + pub type Membership = openraft::Membership; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `serde` [INFO] [stdout] --> src/lib.rs:21:1 [INFO] [stdout] | [INFO] [stdout] 21 | / openraft::declare_raft_types!( [INFO] [stdout] 22 | | /// Declare the type configuration for example K/V store. [INFO] [stdout] 23 | | pub TypeConfig: [INFO] [stdout] 24 | | D = pb::SetRequest, [INFO] [stdout] ... | [INFO] [stdout] 30 | | SnapshotData = Vec, [INFO] [stdout] 31 | | ); [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `openraft::declare_raft_types` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the macro `openraft::declare_raft_types` may come from an old version of the `openraft` crate, try updating your dependency with `cargo update -p openraft` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] = note: this warning originates in the macro `openraft::declare_raft_types` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `openraft::entry::RaftEntry` [INFO] [stdout] --> src/store/mod.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use openraft::entry::RaftEntry; [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: `openraft::entry::RaftEntry` [INFO] [stdout] --> src/store/log_store.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use openraft::entry::RaftEntry; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: struct takes 2 generic arguments but 1 generic argument was supplied [INFO] [stdout] --> src/typ.rs:20:35 [INFO] [stdout] | [INFO] [stdout] 20 | pub type SnapshotMeta = openraft::SnapshotMeta; [INFO] [stdout] | ^^^^^^^^^^^^ ---------- supplied 1 generic argument [INFO] [stdout] | | [INFO] [stdout] | expected 2 generic arguments [INFO] [stdout] | [INFO] [stdout] note: struct defined here, with 2 generic parameters: `NID`, `N` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/openraft-0.9.17/src/storage/mod.rs:47:12 [INFO] [stdout] | [INFO] [stdout] 47 | pub struct SnapshotMeta [INFO] [stdout] | ^^^^^^^^^^^^ --- - [INFO] [stdout] help: add missing generic argument [INFO] [stdout] | [INFO] [stdout] 20 | pub type SnapshotMeta = openraft::SnapshotMeta; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `NetworkConnection: RaftNetwork` is not satisfied [INFO] [stdout] --> src/network/mod.rs:27:20 [INFO] [stdout] | [INFO] [stdout] 27 | type Network = NetworkConnection; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `RaftNetwork` is not implemented for `NetworkConnection` [INFO] [stdout] --> src/network/mod.rs:37:1 [INFO] [stdout] | [INFO] [stdout] 37 | pub struct NetworkConnection { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: required by a bound in `openraft::RaftNetworkFactory::Network` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/openraft-0.9.17/src/network/factory.rs:21:19 [INFO] [stdout] | [INFO] [stdout] 21 | type Network: RaftNetwork; [INFO] [stdout] | ^^^^^^^^^^^^^^ required by this bound in `RaftNetworkFactory::Network` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `C` doesn't implement `std::fmt::Display` [INFO] [stdout] --> src/store/log_store.rs:157:46 [INFO] [stdout] | [INFO] [stdout] 157 | inner.try_get_log_entries(range).await [INFO] [stdout] | ^^^^^ the trait `std::fmt::Display` is not implemented for `C` [INFO] [stdout] | [INFO] [stdout] = note: required for `C` to implement `openraft::node::NodeIdEssential` [INFO] [stdout] = note: required for `C` to implement `openraft::NodeId` [INFO] [stdout] note: required by a bound in `openraft::StorageError` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/openraft-0.9.17/src/storage_error.rs:184:12 [INFO] [stdout] | [INFO] [stdout] 183 | pub enum StorageError [INFO] [stdout] | ------------ required by a bound in this enum [INFO] [stdout] 184 | where NID: NodeId [INFO] [stdout] | ^^^^^^ required by this bound in `StorageError` [INFO] [stdout] help: consider further restricting type parameter `C` with trait `Display` [INFO] [stdout] | [INFO] [stdout] 149 | impl RaftLogReader for LogStore [INFO] [stdout] | +++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `C: Hash` is not satisfied [INFO] [stdout] --> src/store/log_store.rs:157:46 [INFO] [stdout] | [INFO] [stdout] 157 | inner.try_get_log_entries(range).await [INFO] [stdout] | ^^^^^ the trait `Hash` is not implemented for `C` [INFO] [stdout] | [INFO] [stdout] = note: required for `C` to implement `openraft::node::NodeIdEssential` [INFO] [stdout] = note: required for `C` to implement `openraft::NodeId` [INFO] [stdout] note: required by a bound in `openraft::StorageError` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/openraft-0.9.17/src/storage_error.rs:184:12 [INFO] [stdout] | [INFO] [stdout] 183 | pub enum StorageError [INFO] [stdout] | ------------ required by a bound in this enum [INFO] [stdout] 184 | where NID: NodeId [INFO] [stdout] | ^^^^^^ required by this bound in `StorageError` [INFO] [stdout] help: consider further restricting type parameter `C` with trait `Hash` [INFO] [stdout] | [INFO] [stdout] 149 | impl RaftLogReader for LogStore [INFO] [stdout] | +++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `C` doesn't implement `std::fmt::Display` [INFO] [stdout] --> src/store/log_store.rs:152:9 [INFO] [stdout] | [INFO] [stdout] 152 | / async fn try_get_log_entries + Clone + Debug>( [INFO] [stdout] 153 | | &mut self, [INFO] [stdout] 154 | | range: RB, [INFO] [stdout] 155 | | ) -> Result, StorageError> { [INFO] [stdout] | |___________________________________________________^ the trait `std::fmt::Display` is not implemented for `C` [INFO] [stdout] | [INFO] [stdout] = note: required for `C` to implement `openraft::node::NodeIdEssential` [INFO] [stdout] = note: required for `C` to implement `openraft::NodeId` [INFO] [stdout] note: required by a bound in `openraft::StorageError` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/openraft-0.9.17/src/storage_error.rs:184:12 [INFO] [stdout] | [INFO] [stdout] 183 | pub enum StorageError [INFO] [stdout] | ------------ required by a bound in this enum [INFO] [stdout] 184 | where NID: NodeId [INFO] [stdout] | ^^^^^^ required by this bound in `StorageError` [INFO] [stdout] help: consider further restricting type parameter `C` with trait `Display` [INFO] [stdout] | [INFO] [stdout] 149 | impl RaftLogReader for LogStore [INFO] [stdout] | +++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `C: Hash` is not satisfied [INFO] [stdout] --> src/store/log_store.rs:152:9 [INFO] [stdout] | [INFO] [stdout] 152 | / async fn try_get_log_entries + Clone + Debug>( [INFO] [stdout] 153 | | &mut self, [INFO] [stdout] 154 | | range: RB, [INFO] [stdout] 155 | | ) -> Result, StorageError> { [INFO] [stdout] | |___________________________________________________^ the trait `Hash` is not implemented for `C` [INFO] [stdout] | [INFO] [stdout] = note: required for `C` to implement `openraft::node::NodeIdEssential` [INFO] [stdout] = note: required for `C` to implement `openraft::NodeId` [INFO] [stdout] note: required by a bound in `openraft::StorageError` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/openraft-0.9.17/src/storage_error.rs:184:12 [INFO] [stdout] | [INFO] [stdout] 183 | pub enum StorageError [INFO] [stdout] | ------------ required by a bound in this enum [INFO] [stdout] 184 | where NID: NodeId [INFO] [stdout] | ^^^^^^ required by this bound in `StorageError` [INFO] [stdout] help: consider further restricting type parameter `C` with trait `Hash` [INFO] [stdout] | [INFO] [stdout] 149 | impl RaftLogReader for LogStore [INFO] [stdout] | +++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0271]: expected `impl Future::Entry>, StorageError>>` to be a future that resolves to `Result::Entry>, StorageError<::NodeId>>`, but it resolves to `Result::Entry>, StorageError>` [INFO] [stdout] --> src/store/log_store.rs:152:9 [INFO] [stdout] | [INFO] [stdout] 149 | impl RaftLogReader for LogStore [INFO] [stdout] | - found this type parameter [INFO] [stdout] ... [INFO] [stdout] 152 | / async fn try_get_log_entries + Clone + Debug>( [INFO] [stdout] 153 | | &mut self, [INFO] [stdout] 154 | | range: RB, [INFO] [stdout] 155 | | ) -> Result, StorageError> { [INFO] [stdout] | |___________________________________________________^ expected associated type, found type parameter `C` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Result<_, openraft::StorageError<::NodeId>>` [INFO] [stdout] found enum `Result<_, openraft::StorageError>` [INFO] [stdout] note: required by a bound in `RaftLogReader::try_get_log_entries::{anon_assoc#0}` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/openraft-0.9.17/src/storage/mod.rs:158:1 [INFO] [stdout] | [INFO] [stdout] 158 | #[add_async_trait] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ required by this bound in `RaftLogReader::try_get_log_entries::{anon_assoc#0}` [INFO] [stdout] = note: this error originates in the attribute macro `add_async_trait` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider further restricting this bound [INFO] [stdout] | [INFO] [stdout] 149 | impl> RaftLogReader for LogStore [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `C` doesn't implement `std::fmt::Display` [INFO] [stdout] --> src/store/log_store.rs:173:35 [INFO] [stdout] | [INFO] [stdout] 173 | inner.get_log_state().await [INFO] [stdout] | ^^^^^ the trait `std::fmt::Display` is not implemented for `C` [INFO] [stdout] | [INFO] [stdout] = note: required for `C` to implement `openraft::node::NodeIdEssential` [INFO] [stdout] = note: required for `C` to implement `openraft::NodeId` [INFO] [stdout] note: required by a bound in `openraft::StorageError` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/openraft-0.9.17/src/storage_error.rs:184:12 [INFO] [stdout] | [INFO] [stdout] 183 | pub enum StorageError [INFO] [stdout] | ------------ required by a bound in this enum [INFO] [stdout] 184 | where NID: NodeId [INFO] [stdout] | ^^^^^^ required by this bound in `StorageError` [INFO] [stdout] help: consider further restricting type parameter `C` with trait `Display` [INFO] [stdout] | [INFO] [stdout] 166 | impl RaftLogStorage for LogStore [INFO] [stdout] | +++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `C: Hash` is not satisfied [INFO] [stdout] --> src/store/log_store.rs:173:35 [INFO] [stdout] | [INFO] [stdout] 173 | inner.get_log_state().await [INFO] [stdout] | ^^^^^ the trait `Hash` is not implemented for `C` [INFO] [stdout] | [INFO] [stdout] = note: required for `C` to implement `openraft::node::NodeIdEssential` [INFO] [stdout] = note: required for `C` to implement `openraft::NodeId` [INFO] [stdout] note: required by a bound in `openraft::StorageError` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/openraft-0.9.17/src/storage_error.rs:184:12 [INFO] [stdout] | [INFO] [stdout] 183 | pub enum StorageError [INFO] [stdout] | ------------ required by a bound in this enum [INFO] [stdout] 184 | where NID: NodeId [INFO] [stdout] | ^^^^^^ required by this bound in `StorageError` [INFO] [stdout] help: consider further restricting type parameter `C` with trait `Hash` [INFO] [stdout] | [INFO] [stdout] 166 | impl RaftLogStorage for LogStore [INFO] [stdout] | +++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `C` doesn't implement `std::fmt::Display` [INFO] [stdout] --> src/store/log_store.rs:171:9 [INFO] [stdout] | [INFO] [stdout] 171 | async fn get_log_state(&mut self) -> Result, StorageError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `std::fmt::Display` is not implemented for `C` [INFO] [stdout] | [INFO] [stdout] = note: required for `C` to implement `openraft::node::NodeIdEssential` [INFO] [stdout] = note: required for `C` to implement `openraft::NodeId` [INFO] [stdout] note: required by a bound in `openraft::StorageError` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/openraft-0.9.17/src/storage_error.rs:184:12 [INFO] [stdout] | [INFO] [stdout] 183 | pub enum StorageError [INFO] [stdout] | ------------ required by a bound in this enum [INFO] [stdout] 184 | where NID: NodeId [INFO] [stdout] | ^^^^^^ required by this bound in `StorageError` [INFO] [stdout] help: consider further restricting type parameter `C` with trait `Display` [INFO] [stdout] | [INFO] [stdout] 166 | impl RaftLogStorage for LogStore [INFO] [stdout] | +++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `C: Hash` is not satisfied [INFO] [stdout] --> src/store/log_store.rs:171:9 [INFO] [stdout] | [INFO] [stdout] 171 | async fn get_log_state(&mut self) -> Result, StorageError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `Hash` is not implemented for `C` [INFO] [stdout] | [INFO] [stdout] = note: required for `C` to implement `openraft::node::NodeIdEssential` [INFO] [stdout] = note: required for `C` to implement `openraft::NodeId` [INFO] [stdout] note: required by a bound in `openraft::StorageError` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/openraft-0.9.17/src/storage_error.rs:184:12 [INFO] [stdout] | [INFO] [stdout] 183 | pub enum StorageError [INFO] [stdout] | ------------ required by a bound in this enum [INFO] [stdout] 184 | where NID: NodeId [INFO] [stdout] | ^^^^^^ required by this bound in `StorageError` [INFO] [stdout] help: consider further restricting type parameter `C` with trait `Hash` [INFO] [stdout] | [INFO] [stdout] 166 | impl RaftLogStorage for LogStore [INFO] [stdout] | +++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0271]: expected `impl Future, StorageError>>` to be a future that resolves to `Result, StorageError<::NodeId>>`, but it resolves to `Result, StorageError>` [INFO] [stdout] --> src/store/log_store.rs:171:9 [INFO] [stdout] | [INFO] [stdout] 166 | impl RaftLogStorage for LogStore [INFO] [stdout] | - found this type parameter [INFO] [stdout] ... [INFO] [stdout] 171 | async fn get_log_state(&mut self) -> Result, StorageError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `Result, StorageError<...>>`, found `Result, StorageError>` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Result<_, openraft::StorageError<::NodeId>>` [INFO] [stdout] found enum `Result<_, openraft::StorageError>` [INFO] [stdout] note: required by a bound in `RaftLogStorage::get_log_state::{anon_assoc#0}` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/openraft-0.9.17/src/storage/v2.rs:49:1 [INFO] [stdout] | [INFO] [stdout] 49 | #[add_async_trait] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ required by this bound in `RaftLogStorage::get_log_state::{anon_assoc#0}` [INFO] [stdout] = note: this error originates in the attribute macro `add_async_trait` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider further restricting this bound [INFO] [stdout] | [INFO] [stdout] 166 | impl> RaftLogStorage for LogStore [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `C` doesn't implement `std::fmt::Display` [INFO] [stdout] --> src/store/log_store.rs:183:36 [INFO] [stdout] | [INFO] [stdout] 183 | inner.read_committed().await [INFO] [stdout] | ^^^^^ the trait `std::fmt::Display` is not implemented for `C` [INFO] [stdout] | [INFO] [stdout] = note: required for `C` to implement `openraft::node::NodeIdEssential` [INFO] [stdout] = note: required for `C` to implement `openraft::NodeId` [INFO] [stdout] note: required by a bound in `openraft::StorageError` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/openraft-0.9.17/src/storage_error.rs:184:12 [INFO] [stdout] | [INFO] [stdout] 183 | pub enum StorageError [INFO] [stdout] | ------------ required by a bound in this enum [INFO] [stdout] 184 | where NID: NodeId [INFO] [stdout] | ^^^^^^ required by this bound in `StorageError` [INFO] [stdout] help: consider further restricting type parameter `C` with trait `Display` [INFO] [stdout] | [INFO] [stdout] 166 | impl RaftLogStorage for LogStore [INFO] [stdout] | +++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `C: Hash` is not satisfied [INFO] [stdout] --> src/store/log_store.rs:183:36 [INFO] [stdout] | [INFO] [stdout] 183 | inner.read_committed().await [INFO] [stdout] | ^^^^^ the trait `Hash` is not implemented for `C` [INFO] [stdout] | [INFO] [stdout] = note: required for `C` to implement `openraft::node::NodeIdEssential` [INFO] [stdout] = note: required for `C` to implement `openraft::NodeId` [INFO] [stdout] note: required by a bound in `openraft::StorageError` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/openraft-0.9.17/src/storage_error.rs:184:12 [INFO] [stdout] | [INFO] [stdout] 183 | pub enum StorageError [INFO] [stdout] | ------------ required by a bound in this enum [INFO] [stdout] 184 | where NID: NodeId [INFO] [stdout] | ^^^^^^ required by this bound in `StorageError` [INFO] [stdout] help: consider further restricting type parameter `C` with trait `Hash` [INFO] [stdout] | [INFO] [stdout] 166 | impl RaftLogStorage for LogStore [INFO] [stdout] | +++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0046]: not all trait items implemented, missing: `read_vote` [INFO] [stdout] --> src/store/log_store.rs:166:5 [INFO] [stdout] | [INFO] [stdout] 166 | / impl RaftLogStorage for LogStore [INFO] [stdout] 167 | | where C::Entry: Clone [INFO] [stdout] | |_________________________^ missing `read_vote` in implementation [INFO] [stdout] | [INFO] [stdout] = help: implement the missing item: `fn read_vote(&mut self) -> impl futures::Future::NodeId>>, openraft::StorageError<::NodeId>>> + std::marker::Send { todo!() }` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `log_store::LogStore: storage::v2::sealed::Sealed` is not satisfied [INFO] [stdout] --> src/store/log_store.rs:166:51 [INFO] [stdout] | [INFO] [stdout] 166 | impl RaftLogStorage for LogStore [INFO] [stdout] | ^^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `storage::v2::sealed::Sealed` is not implemented for `log_store::LogStore` [INFO] [stdout] --> src/store/log_store.rs:20:1 [INFO] [stdout] | [INFO] [stdout] 20 | pub struct LogStore { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: the trait `storage::v2::sealed::Sealed` is implemented for `Adaptor` [INFO] [stdout] note: required by a bound in `RaftLogStorage` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/openraft-0.9.17/src/storage/v2.rs:50:30 [INFO] [stdout] | [INFO] [stdout] 50 | pub trait RaftLogStorage: Sealed + RaftLogReader + OptionalSend + OptionalSync + 'static [INFO] [stdout] | ^^^^^^ required by this bound in `RaftLogStorage` [INFO] [stdout] = note: `RaftLogStorage` is a "sealed trait", because to implement it you also need to implement `openraft::storage::v2::sealed::Sealed`, which is not accessible; this is usually done to force you to use one of the provided types that already implement it [INFO] [stdout] = help: the following type implements the trait: [INFO] [stdout] openraft::storage::Adaptor [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `TypeConfig` doesn't implement `std::fmt::Display` [INFO] [stdout] --> src/store/mod.rs:20:15 [INFO] [stdout] | [INFO] [stdout] 20 | pub meta: SnapshotMeta, [INFO] [stdout] | ^^^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `std::fmt::Display` is not implemented for `TypeConfig` [INFO] [stdout] --> src/lib.rs:21:1 [INFO] [stdout] | [INFO] [stdout] 21 | / openraft::declare_raft_types!( [INFO] [stdout] 22 | | /// Declare the type configuration for example K/V store. [INFO] [stdout] 23 | | pub TypeConfig: [INFO] [stdout] 24 | | D = pb::SetRequest, [INFO] [stdout] ... | [INFO] [stdout] 30 | | SnapshotData = Vec, [INFO] [stdout] 31 | | ); [INFO] [stdout] | |_^ [INFO] [stdout] = note: required for `TypeConfig` to implement `openraft::node::NodeIdEssential` [INFO] [stdout] = note: required for `TypeConfig` to implement `openraft::NodeId` [INFO] [stdout] note: required by a bound in `openraft::SnapshotMeta` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/openraft-0.9.17/src/storage/mod.rs:49:10 [INFO] [stdout] | [INFO] [stdout] 47 | pub struct SnapshotMeta [INFO] [stdout] | ------------ required by a bound in this struct [INFO] [stdout] 48 | where [INFO] [stdout] 49 | NID: NodeId, [INFO] [stdout] | ^^^^^^ required by this bound in `SnapshotMeta` [INFO] [stdout] = note: this error originates in the macro `openraft::declare_raft_types` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `TypeConfig: Hash` is not satisfied [INFO] [stdout] --> src/store/mod.rs:20:15 [INFO] [stdout] | [INFO] [stdout] 20 | pub meta: SnapshotMeta, [INFO] [stdout] | ^^^^^^^^^^^^ the trait `Hash` is not implemented for `TypeConfig` [INFO] [stdout] | [INFO] [stdout] = note: required for `TypeConfig` to implement `openraft::node::NodeIdEssential` [INFO] [stdout] = note: required for `TypeConfig` to implement `openraft::NodeId` [INFO] [stdout] note: required by a bound in `openraft::SnapshotMeta` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/openraft-0.9.17/src/storage/mod.rs:49:10 [INFO] [stdout] | [INFO] [stdout] 47 | pub struct SnapshotMeta [INFO] [stdout] | ------------ required by a bound in this struct [INFO] [stdout] 48 | where [INFO] [stdout] 49 | NID: NodeId, [INFO] [stdout] | ^^^^^^ required by this bound in `SnapshotMeta` [INFO] [stdout] help: consider annotating `TypeConfig` with `#[derive(Hash)]` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/openraft-0.9.17/src/raft/mod.rs:156:9 [INFO] [stdout] | [INFO] [stdout] 156+ #[derive(Hash)] [INFO] [stdout] 157| $visibility struct $id {} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `TypeConfig` doesn't implement `std::fmt::Display` [INFO] [stdout] --> src/store/mod.rs:41:43 [INFO] [stdout] | [INFO] [stdout] 41 | async fn build_snapshot(&mut self) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `std::fmt::Display` is not implemented for `TypeConfig` [INFO] [stdout] --> src/lib.rs:21:1 [INFO] [stdout] | [INFO] [stdout] 21 | / openraft::declare_raft_types!( [INFO] [stdout] 22 | | /// Declare the type configuration for example K/V store. [INFO] [stdout] 23 | | pub TypeConfig: [INFO] [stdout] 24 | | D = pb::SetRequest, [INFO] [stdout] ... | [INFO] [stdout] 30 | | SnapshotData = Vec, [INFO] [stdout] 31 | | ); [INFO] [stdout] | |_^ [INFO] [stdout] = note: required for `TypeConfig` to implement `openraft::node::NodeIdEssential` [INFO] [stdout] = note: required for `TypeConfig` to implement `openraft::NodeId` [INFO] [stdout] note: required by a bound in `openraft::StorageError` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/openraft-0.9.17/src/storage_error.rs:184:12 [INFO] [stdout] | [INFO] [stdout] 183 | pub enum StorageError [INFO] [stdout] | ------------ required by a bound in this enum [INFO] [stdout] 184 | where NID: NodeId [INFO] [stdout] | ^^^^^^ required by this bound in `StorageError` [INFO] [stdout] = note: this error originates in the macro `openraft::declare_raft_types` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `TypeConfig: Hash` is not satisfied [INFO] [stdout] --> src/store/mod.rs:41:43 [INFO] [stdout] | [INFO] [stdout] 41 | async fn build_snapshot(&mut self) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `Hash` is not implemented for `TypeConfig` [INFO] [stdout] | [INFO] [stdout] = note: required for `TypeConfig` to implement `openraft::node::NodeIdEssential` [INFO] [stdout] = note: required for `TypeConfig` to implement `openraft::NodeId` [INFO] [stdout] note: required by a bound in `openraft::StorageError` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/openraft-0.9.17/src/storage_error.rs:184:12 [INFO] [stdout] | [INFO] [stdout] 183 | pub enum StorageError [INFO] [stdout] | ------------ required by a bound in this enum [INFO] [stdout] 184 | where NID: NodeId [INFO] [stdout] | ^^^^^^ required by this bound in `StorageError` [INFO] [stdout] help: consider annotating `TypeConfig` with `#[derive(Hash)]` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/openraft-0.9.17/src/raft/mod.rs:156:9 [INFO] [stdout] | [INFO] [stdout] 156 + #[derive(Hash)] [INFO] [stdout] 157 | $visibility struct $id {} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: struct takes 2 generic arguments but 1 generic argument was supplied [INFO] [stdout] --> src/pb_impl/impl_membership.rs:9:31 [INFO] [stdout] | [INFO] [stdout] 9 | impl From for Membership { [INFO] [stdout] | ^^^^^^^^^^ ---------- supplied 1 generic argument [INFO] [stdout] | | [INFO] [stdout] | expected 2 generic arguments [INFO] [stdout] | [INFO] [stdout] note: struct defined here, with 2 generic parameters: `NID`, `N` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/openraft-0.9.17/src/membership/membership.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 24 | pub struct Membership [INFO] [stdout] | ^^^^^^^^^^ --- - [INFO] [stdout] help: add missing generic argument [INFO] [stdout] | [INFO] [stdout] 9 | impl From for Membership { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: struct takes 2 generic arguments but 1 generic argument was supplied [INFO] [stdout] --> src/pb_impl/impl_membership.rs:22:11 [INFO] [stdout] | [INFO] [stdout] 22 | impl From> for pb::Membership { [INFO] [stdout] | ^^^^^^^^^^ ---------- supplied 1 generic argument [INFO] [stdout] | | [INFO] [stdout] | expected 2 generic arguments [INFO] [stdout] | [INFO] [stdout] note: struct defined here, with 2 generic parameters: `NID`, `N` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/openraft-0.9.17/src/membership/membership.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 24 | pub struct Membership [INFO] [stdout] | ^^^^^^^^^^ --- - [INFO] [stdout] help: add missing generic argument [INFO] [stdout] | [INFO] [stdout] 22 | impl From> for pb::Membership { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `TypeConfig` doesn't implement `std::fmt::Display` [INFO] [stdout] --> src/store/mod.rs:50:28 [INFO] [stdout] | [INFO] [stdout] 50 | last_applied = state_machine.last_applied.map(From::from); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `std::fmt::Display` is not implemented for `TypeConfig` [INFO] [stdout] --> src/lib.rs:21:1 [INFO] [stdout] | [INFO] [stdout] 21 | / openraft::declare_raft_types!( [INFO] [stdout] 22 | | /// Declare the type configuration for example K/V store. [INFO] [stdout] 23 | | pub TypeConfig: [INFO] [stdout] 24 | | D = pb::SetRequest, [INFO] [stdout] ... | [INFO] [stdout] 30 | | SnapshotData = Vec, [INFO] [stdout] 31 | | ); [INFO] [stdout] | |_^ [INFO] [stdout] = note: required for `TypeConfig` to implement `openraft::node::NodeIdEssential` [INFO] [stdout] = note: required for `TypeConfig` to implement `openraft::NodeId` [INFO] [stdout] note: required by a bound in `openraft::LogId` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/openraft-0.9.17/src/log_id/mod.rs:25:23 [INFO] [stdout] | [INFO] [stdout] 25 | pub struct LogId { [INFO] [stdout] | ^^^^^^ required by this bound in `LogId` [INFO] [stdout] = note: this error originates in the macro `openraft::declare_raft_types` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `TypeConfig: Hash` is not satisfied [INFO] [stdout] --> src/store/mod.rs:50:28 [INFO] [stdout] | [INFO] [stdout] 50 | last_applied = state_machine.last_applied.map(From::from); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `Hash` is not implemented for `TypeConfig` [INFO] [stdout] | [INFO] [stdout] = note: required for `TypeConfig` to implement `openraft::node::NodeIdEssential` [INFO] [stdout] = note: required for `TypeConfig` to implement `openraft::NodeId` [INFO] [stdout] note: required by a bound in `openraft::LogId` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/openraft-0.9.17/src/log_id/mod.rs:25:23 [INFO] [stdout] | [INFO] [stdout] 25 | pub struct LogId { [INFO] [stdout] | ^^^^^^ required by this bound in `LogId` [INFO] [stdout] help: consider annotating `TypeConfig` with `#[derive(Hash)]` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/openraft-0.9.17/src/raft/mod.rs:156:9 [INFO] [stdout] | [INFO] [stdout] 156+ #[derive(Hash)] [INFO] [stdout] 157| $visibility struct $id {} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `TypeConfig` doesn't implement `std::fmt::Display` [INFO] [stdout] --> src/store/mod.rs:50:59 [INFO] [stdout] | [INFO] [stdout] 50 | last_applied = state_machine.last_applied.map(From::from); [INFO] [stdout] | ^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `std::fmt::Display` is not implemented for `TypeConfig` [INFO] [stdout] --> src/lib.rs:21:1 [INFO] [stdout] | [INFO] [stdout] 21 | / openraft::declare_raft_types!( [INFO] [stdout] 22 | | /// Declare the type configuration for example K/V store. [INFO] [stdout] 23 | | pub TypeConfig: [INFO] [stdout] 24 | | D = pb::SetRequest, [INFO] [stdout] ... | [INFO] [stdout] 30 | | SnapshotData = Vec, [INFO] [stdout] 31 | | ); [INFO] [stdout] | |_^ [INFO] [stdout] = note: required for `TypeConfig` to implement `openraft::node::NodeIdEssential` [INFO] [stdout] = note: required for `TypeConfig` to implement `openraft::NodeId` [INFO] [stdout] note: required by a bound in `openraft::LogId` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/openraft-0.9.17/src/log_id/mod.rs:25:23 [INFO] [stdout] | [INFO] [stdout] 25 | pub struct LogId { [INFO] [stdout] | ^^^^^^ required by this bound in `LogId` [INFO] [stdout] = note: this error originates in the macro `openraft::declare_raft_types` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `TypeConfig: Hash` is not satisfied [INFO] [stdout] --> src/store/mod.rs:50:59 [INFO] [stdout] | [INFO] [stdout] 50 | last_applied = state_machine.last_applied.map(From::from); [INFO] [stdout] | ^^^^^^^^^^ the trait `Hash` is not implemented for `TypeConfig` [INFO] [stdout] | [INFO] [stdout] = note: required for `TypeConfig` to implement `openraft::node::NodeIdEssential` [INFO] [stdout] = note: required for `TypeConfig` to implement `openraft::NodeId` [INFO] [stdout] note: required by a bound in `openraft::LogId` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/openraft-0.9.17/src/log_id/mod.rs:25:23 [INFO] [stdout] | [INFO] [stdout] 25 | pub struct LogId { [INFO] [stdout] | ^^^^^^ required by this bound in `LogId` [INFO] [stdout] help: consider annotating `TypeConfig` with `#[derive(Hash)]` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/openraft-0.9.17/src/raft/mod.rs:156:9 [INFO] [stdout] | [INFO] [stdout] 156+ #[derive(Hash)] [INFO] [stdout] 157| $visibility struct $id {} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: struct takes 2 generic arguments but 1 generic argument was supplied [INFO] [stdout] --> src/typ.rs:14:39 [INFO] [stdout] | [INFO] [stdout] 14 | pub type StoredMembership = openraft::StoredMembership; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ ---------- supplied 1 generic argument [INFO] [stdout] | | [INFO] [stdout] | expected 2 generic arguments [INFO] [stdout] | [INFO] [stdout] note: struct defined here, with 2 generic parameters: `NID`, `N` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/openraft-0.9.17/src/membership/stored_membership.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 22 | pub struct StoredMembership [INFO] [stdout] | ^^^^^^^^^^^^^^^^ --- - [INFO] [stdout] help: add missing generic argument [INFO] [stdout] | [INFO] [stdout] 14 | pub type StoredMembership = openraft::StoredMembership; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `TypeConfig` doesn't implement `std::fmt::Display` [INFO] [stdout] --> src/store/mod.rs:53:31 [INFO] [stdout] | [INFO] [stdout] 53 | last_membership = StoredMembership::new(last_membership_log_id, membership); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `std::fmt::Display` is not implemented for `TypeConfig` [INFO] [stdout] --> src/lib.rs:21:1 [INFO] [stdout] | [INFO] [stdout] 21 | / openraft::declare_raft_types!( [INFO] [stdout] 22 | | /// Declare the type configuration for example K/V store. [INFO] [stdout] 23 | | pub TypeConfig: [INFO] [stdout] 24 | | D = pb::SetRequest, [INFO] [stdout] ... | [INFO] [stdout] 30 | | SnapshotData = Vec, [INFO] [stdout] 31 | | ); [INFO] [stdout] | |_^ [INFO] [stdout] = note: required for `TypeConfig` to implement `openraft::node::NodeIdEssential` [INFO] [stdout] = note: required for `TypeConfig` to implement `openraft::NodeId` [INFO] [stdout] note: required by a bound in `openraft::StoredMembership` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/openraft-0.9.17/src/membership/stored_membership.rs:25:10 [INFO] [stdout] | [INFO] [stdout] 22 | pub struct StoredMembership [INFO] [stdout] | ---------------- required by a bound in this struct [INFO] [stdout] ... [INFO] [stdout] 25 | NID: NodeId, [INFO] [stdout] | ^^^^^^ required by this bound in `StoredMembership` [INFO] [stdout] = note: this error originates in the macro `openraft::declare_raft_types` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `TypeConfig: Hash` is not satisfied [INFO] [stdout] --> src/store/mod.rs:53:31 [INFO] [stdout] | [INFO] [stdout] 53 | last_membership = StoredMembership::new(last_membership_log_id, membership); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ the trait `Hash` is not implemented for `TypeConfig` [INFO] [stdout] | [INFO] [stdout] = note: required for `TypeConfig` to implement `openraft::node::NodeIdEssential` [INFO] [stdout] = note: required for `TypeConfig` to implement `openraft::NodeId` [INFO] [stdout] note: required by a bound in `openraft::StoredMembership` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/openraft-0.9.17/src/membership/stored_membership.rs:25:10 [INFO] [stdout] | [INFO] [stdout] 22 | pub struct StoredMembership [INFO] [stdout] | ---------------- required by a bound in this struct [INFO] [stdout] ... [INFO] [stdout] 25 | NID: NodeId, [INFO] [stdout] | ^^^^^^ required by this bound in `StoredMembership` [INFO] [stdout] help: consider annotating `TypeConfig` with `#[derive(Hash)]` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/openraft-0.9.17/src/raft/mod.rs:156:9 [INFO] [stdout] | [INFO] [stdout] 156+ #[derive(Hash)] [INFO] [stdout] 157| $visibility struct $id {} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `committed_leader_id` exists for reference `&openraft::LogId`, but its trait bounds were not satisfied [INFO] [stdout] --> src/store/mod.rs:65:38 [INFO] [stdout] | [INFO] [stdout] 65 | format!("{}-{}-{}", last.committed_leader_id(), last.index(), snapshot_idx) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ method cannot be called on `&openraft::LogId` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:21:1 [INFO] [stdout] | [INFO] [stdout] 21 | / openraft::declare_raft_types!( [INFO] [stdout] 22 | | /// Declare the type configuration for example K/V store. [INFO] [stdout] 23 | | pub TypeConfig: [INFO] [stdout] 24 | | D = pb::SetRequest, [INFO] [stdout] ... | [INFO] [stdout] 30 | | SnapshotData = Vec, [INFO] [stdout] 31 | | ); [INFO] [stdout] | |_- doesn't satisfy `TypeConfig: Hash`, `TypeConfig: openraft::NodeId` or `TypeConfig: std::fmt::Display` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `TypeConfig: std::fmt::Display` [INFO] [stdout] which is required by `TypeConfig: openraft::NodeId` [INFO] [stdout] `TypeConfig: Hash` [INFO] [stdout] which is required by `TypeConfig: openraft::NodeId` [INFO] [stdout] note: the trait `std::fmt::Display` must be implemented [INFO] [stdout] --> /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/core/src/fmt/mod.rs:1006:1 [INFO] [stdout] help: consider annotating `TypeConfig` with `#[derive(Hash)]` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/openraft-0.9.17/src/raft/mod.rs:156:9 [INFO] [stdout] | [INFO] [stdout] 156+ #[derive(Hash)] [INFO] [stdout] 157| $visibility struct $id {} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `index` found for reference `&openraft::LogId` in the current scope [INFO] [stdout] --> src/store/mod.rs:65:66 [INFO] [stdout] | [INFO] [stdout] 65 | format!("{}-{}-{}", last.committed_leader_id(), last.index(), snapshot_idx) [INFO] [stdout] | ^^^^^-- help: remove the arguments [INFO] [stdout] | | [INFO] [stdout] | field, not a method [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `TypeConfig: openraft::NodeId` is not satisfied [INFO] [stdout] --> src/store/mod.rs:70:20 [INFO] [stdout] | [INFO] [stdout] 70 | let meta = SnapshotMeta { [INFO] [stdout] | ^^^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `std::fmt::Display` is not implemented for `TypeConfig` [INFO] [stdout] --> src/lib.rs:21:1 [INFO] [stdout] | [INFO] [stdout] 21 | / openraft::declare_raft_types!( [INFO] [stdout] 22 | | /// Declare the type configuration for example K/V store. [INFO] [stdout] 23 | | pub TypeConfig: [INFO] [stdout] 24 | | D = pb::SetRequest, [INFO] [stdout] ... | [INFO] [stdout] 30 | | SnapshotData = Vec, [INFO] [stdout] 31 | | ); [INFO] [stdout] | |_^ [INFO] [stdout] = note: required for `TypeConfig` to implement `openraft::node::NodeIdEssential` [INFO] [stdout] = note: required for `TypeConfig` to implement `openraft::NodeId` [INFO] [stdout] note: required by a bound in `openraft::SnapshotMeta` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/openraft-0.9.17/src/storage/mod.rs:49:10 [INFO] [stdout] | [INFO] [stdout] 47 | pub struct SnapshotMeta [INFO] [stdout] | ------------ required by a bound in this struct [INFO] [stdout] 48 | where [INFO] [stdout] 49 | NID: NodeId, [INFO] [stdout] | ^^^^^^ required by this bound in `SnapshotMeta` [INFO] [stdout] = note: this error originates in the macro `openraft::declare_raft_types` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `TypeConfig: openraft::NodeId` is not satisfied [INFO] [stdout] --> src/store/mod.rs:70:20 [INFO] [stdout] | [INFO] [stdout] 70 | let meta = SnapshotMeta { [INFO] [stdout] | ^^^^^^^^^^^^ the trait `Hash` is not implemented for `TypeConfig` [INFO] [stdout] | [INFO] [stdout] = note: required for `TypeConfig` to implement `openraft::node::NodeIdEssential` [INFO] [stdout] = note: required for `TypeConfig` to implement `openraft::NodeId` [INFO] [stdout] note: required by a bound in `openraft::SnapshotMeta` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/openraft-0.9.17/src/storage/mod.rs:49:10 [INFO] [stdout] | [INFO] [stdout] 47 | pub struct SnapshotMeta [INFO] [stdout] | ------------ required by a bound in this struct [INFO] [stdout] 48 | where [INFO] [stdout] 49 | NID: NodeId, [INFO] [stdout] | ^^^^^^ required by this bound in `SnapshotMeta` [INFO] [stdout] help: consider annotating `TypeConfig` with `#[derive(Hash)]` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/openraft-0.9.17/src/raft/mod.rs:156:9 [INFO] [stdout] | [INFO] [stdout] 156+ #[derive(Hash)] [INFO] [stdout] 157| $visibility struct $id {} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `TypeConfig` doesn't implement `std::fmt::Display` [INFO] [stdout] --> src/store/mod.rs:77:19 [INFO] [stdout] | [INFO] [stdout] 77 | meta: meta.clone(), [INFO] [stdout] | ^^^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `std::fmt::Display` is not implemented for `TypeConfig` [INFO] [stdout] --> src/lib.rs:21:1 [INFO] [stdout] | [INFO] [stdout] 21 | / openraft::declare_raft_types!( [INFO] [stdout] 22 | | /// Declare the type configuration for example K/V store. [INFO] [stdout] 23 | | pub TypeConfig: [INFO] [stdout] 24 | | D = pb::SetRequest, [INFO] [stdout] ... | [INFO] [stdout] 30 | | SnapshotData = Vec, [INFO] [stdout] 31 | | ); [INFO] [stdout] | |_^ [INFO] [stdout] = note: required for `TypeConfig` to implement `openraft::node::NodeIdEssential` [INFO] [stdout] = note: required for `TypeConfig` to implement `openraft::NodeId` [INFO] [stdout] note: required by a bound in `openraft::SnapshotMeta` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/openraft-0.9.17/src/storage/mod.rs:49:10 [INFO] [stdout] | [INFO] [stdout] 47 | pub struct SnapshotMeta [INFO] [stdout] | ------------ required by a bound in this struct [INFO] [stdout] 48 | where [INFO] [stdout] 49 | NID: NodeId, [INFO] [stdout] | ^^^^^^ required by this bound in `SnapshotMeta` [INFO] [stdout] = note: this error originates in the macro `openraft::declare_raft_types` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `TypeConfig: Hash` is not satisfied [INFO] [stdout] --> src/store/mod.rs:77:19 [INFO] [stdout] | [INFO] [stdout] 77 | meta: meta.clone(), [INFO] [stdout] | ^^^^^^^^^^^^ the trait `Hash` is not implemented for `TypeConfig` [INFO] [stdout] | [INFO] [stdout] = note: required for `TypeConfig` to implement `openraft::node::NodeIdEssential` [INFO] [stdout] = note: required for `TypeConfig` to implement `openraft::NodeId` [INFO] [stdout] note: required by a bound in `openraft::SnapshotMeta` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/openraft-0.9.17/src/storage/mod.rs:49:10 [INFO] [stdout] | [INFO] [stdout] 47 | pub struct SnapshotMeta [INFO] [stdout] | ------------ required by a bound in this struct [INFO] [stdout] 48 | where [INFO] [stdout] 49 | NID: NodeId, [INFO] [stdout] | ^^^^^^ required by this bound in `SnapshotMeta` [INFO] [stdout] help: consider annotating `TypeConfig` with `#[derive(Hash)]` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/openraft-0.9.17/src/raft/mod.rs:156:9 [INFO] [stdout] | [INFO] [stdout] 156+ #[derive(Hash)] [INFO] [stdout] 157| $visibility struct $id {} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/store/mod.rs:87:39 [INFO] [stdout] | [INFO] [stdout] 87 | Ok(Snapshot { meta, snapshot: data }) [INFO] [stdout] | ^^^^ expected `Box>`, found `Vec` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Box>` [INFO] [stdout] found struct `Vec<_>` [INFO] [stdout] = note: for more on the distinction between the stack and the heap, read https://doc.rust-lang.org/book/ch15-01-box.html, https://doc.rust-lang.org/rust-by-example/std/box.html, and https://doc.rust-lang.org/std/boxed/index.html [INFO] [stdout] help: store this in the heap by calling `Box::new` [INFO] [stdout] | [INFO] [stdout] 87 | Ok(Snapshot { meta, snapshot: Box::new(data) }) [INFO] [stdout] | +++++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `TypeConfig` doesn't implement `std::fmt::Display` [INFO] [stdout] --> src/store/mod.rs:87:9 [INFO] [stdout] | [INFO] [stdout] 87 | Ok(Snapshot { meta, snapshot: data }) [INFO] [stdout] | ^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `std::fmt::Display` is not implemented for `TypeConfig` [INFO] [stdout] --> src/lib.rs:21:1 [INFO] [stdout] | [INFO] [stdout] 21 | / openraft::declare_raft_types!( [INFO] [stdout] 22 | | /// Declare the type configuration for example K/V store. [INFO] [stdout] 23 | | pub TypeConfig: [INFO] [stdout] 24 | | D = pb::SetRequest, [INFO] [stdout] ... | [INFO] [stdout] 30 | | SnapshotData = Vec, [INFO] [stdout] 31 | | ); [INFO] [stdout] | |_^ [INFO] [stdout] = note: required for `TypeConfig` to implement `openraft::node::NodeIdEssential` [INFO] [stdout] = note: required for `TypeConfig` to implement `openraft::NodeId` [INFO] [stdout] note: required by a bound in `openraft::StorageError` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/openraft-0.9.17/src/storage_error.rs:184:12 [INFO] [stdout] | [INFO] [stdout] 183 | pub enum StorageError [INFO] [stdout] | ------------ required by a bound in this enum [INFO] [stdout] 184 | where NID: NodeId [INFO] [stdout] | ^^^^^^ required by this bound in `StorageError` [INFO] [stdout] = note: this error originates in the macro `openraft::declare_raft_types` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `TypeConfig: Hash` is not satisfied [INFO] [stdout] --> src/store/mod.rs:87:9 [INFO] [stdout] | [INFO] [stdout] 87 | Ok(Snapshot { meta, snapshot: data }) [INFO] [stdout] | ^^ the trait `Hash` is not implemented for `TypeConfig` [INFO] [stdout] | [INFO] [stdout] = note: required for `TypeConfig` to implement `openraft::node::NodeIdEssential` [INFO] [stdout] = note: required for `TypeConfig` to implement `openraft::NodeId` [INFO] [stdout] note: required by a bound in `openraft::StorageError` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/openraft-0.9.17/src/storage_error.rs:184:12 [INFO] [stdout] | [INFO] [stdout] 183 | pub enum StorageError [INFO] [stdout] | ------------ required by a bound in this enum [INFO] [stdout] 184 | where NID: NodeId [INFO] [stdout] | ^^^^^^ required by this bound in `StorageError` [INFO] [stdout] help: consider annotating `TypeConfig` with `#[derive(Hash)]` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/openraft-0.9.17/src/raft/mod.rs:156:9 [INFO] [stdout] | [INFO] [stdout] 156 + #[derive(Hash)] [INFO] [stdout] 157 | $visibility struct $id {} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `TypeConfig` doesn't implement `std::fmt::Display` [INFO] [stdout] --> src/store/mod.rs:40:5 [INFO] [stdout] | [INFO] [stdout] 40 | #[tracing::instrument(level = "trace", skip(self))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `std::fmt::Display` is not implemented for `TypeConfig` [INFO] [stdout] --> src/lib.rs:21:1 [INFO] [stdout] | [INFO] [stdout] 21 | / openraft::declare_raft_types!( [INFO] [stdout] 22 | | /// Declare the type configuration for example K/V store. [INFO] [stdout] 23 | | pub TypeConfig: [INFO] [stdout] 24 | | D = pb::SetRequest, [INFO] [stdout] ... | [INFO] [stdout] 30 | | SnapshotData = Vec, [INFO] [stdout] 31 | | ); [INFO] [stdout] | |_^ [INFO] [stdout] = note: required for `TypeConfig` to implement `openraft::node::NodeIdEssential` [INFO] [stdout] = note: required for `TypeConfig` to implement `openraft::NodeId` [INFO] [stdout] note: required by a bound in `openraft::StorageError` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/openraft-0.9.17/src/storage_error.rs:184:12 [INFO] [stdout] | [INFO] [stdout] 183 | pub enum StorageError [INFO] [stdout] | ------------ required by a bound in this enum [INFO] [stdout] 184 | where NID: NodeId [INFO] [stdout] | ^^^^^^ required by this bound in `StorageError` [INFO] [stdout] = note: this error originates in the attribute macro `tracing::instrument` which comes from the expansion of the macro `openraft::declare_raft_types` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `TypeConfig: Hash` is not satisfied [INFO] [stdout] --> src/store/mod.rs:40:5 [INFO] [stdout] | [INFO] [stdout] 40 | #[tracing::instrument(level = "trace", skip(self))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `Hash` is not implemented for `TypeConfig` [INFO] [stdout] | [INFO] [stdout] = note: required for `TypeConfig` to implement `openraft::node::NodeIdEssential` [INFO] [stdout] = note: required for `TypeConfig` to implement `openraft::NodeId` [INFO] [stdout] note: required by a bound in `openraft::StorageError` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/openraft-0.9.17/src/storage_error.rs:184:12 [INFO] [stdout] | [INFO] [stdout] 183 | pub enum StorageError [INFO] [stdout] | ------------ required by a bound in this enum [INFO] [stdout] 184 | where NID: NodeId [INFO] [stdout] | ^^^^^^ required by this bound in `StorageError` [INFO] [stdout] = note: this error originates in the attribute macro `tracing::instrument` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider annotating `TypeConfig` with `#[derive(Hash)]` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/openraft-0.9.17/src/raft/mod.rs:156:9 [INFO] [stdout] | [INFO] [stdout] 156 + #[derive(Hash)] [INFO] [stdout] 157 | $visibility struct $id {} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `TypeConfig` doesn't implement `std::fmt::Display` [INFO] [stdout] --> src/store/mod.rs:41:5 [INFO] [stdout] | [INFO] [stdout] 41 | async fn build_snapshot(&mut self) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `std::fmt::Display` is not implemented for `TypeConfig` [INFO] [stdout] --> src/lib.rs:21:1 [INFO] [stdout] | [INFO] [stdout] 21 | / openraft::declare_raft_types!( [INFO] [stdout] 22 | | /// Declare the type configuration for example K/V store. [INFO] [stdout] 23 | | pub TypeConfig: [INFO] [stdout] 24 | | D = pb::SetRequest, [INFO] [stdout] ... | [INFO] [stdout] 30 | | SnapshotData = Vec, [INFO] [stdout] 31 | | ); [INFO] [stdout] | |_^ [INFO] [stdout] = note: required for `TypeConfig` to implement `openraft::node::NodeIdEssential` [INFO] [stdout] = note: required for `TypeConfig` to implement `openraft::NodeId` [INFO] [stdout] note: required by a bound in `openraft::StorageError` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/openraft-0.9.17/src/storage_error.rs:184:12 [INFO] [stdout] | [INFO] [stdout] 183 | pub enum StorageError [INFO] [stdout] | ------------ required by a bound in this enum [INFO] [stdout] 184 | where NID: NodeId [INFO] [stdout] | ^^^^^^ required by this bound in `StorageError` [INFO] [stdout] = note: this error originates in the macro `openraft::declare_raft_types` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `TypeConfig: Hash` is not satisfied [INFO] [stdout] --> src/store/mod.rs:41:5 [INFO] [stdout] | [INFO] [stdout] 41 | async fn build_snapshot(&mut self) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `Hash` is not implemented for `TypeConfig` [INFO] [stdout] | [INFO] [stdout] = note: required for `TypeConfig` to implement `openraft::node::NodeIdEssential` [INFO] [stdout] = note: required for `TypeConfig` to implement `openraft::NodeId` [INFO] [stdout] note: required by a bound in `openraft::StorageError` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/openraft-0.9.17/src/storage_error.rs:184:12 [INFO] [stdout] | [INFO] [stdout] 183 | pub enum StorageError [INFO] [stdout] | ------------ required by a bound in this enum [INFO] [stdout] 184 | where NID: NodeId [INFO] [stdout] | ^^^^^^ required by this bound in `StorageError` [INFO] [stdout] help: consider annotating `TypeConfig` with `#[derive(Hash)]` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/openraft-0.9.17/src/raft/mod.rs:156:9 [INFO] [stdout] | [INFO] [stdout] 156 + #[derive(Hash)] [INFO] [stdout] 157 | $visibility struct $id {} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0271]: expected `impl Future, StorageError>>` to be a future that resolves to `Result, StorageError>`, but it resolves to `Result, StorageError>` [INFO] [stdout] --> src/store/mod.rs:41:5 [INFO] [stdout] | [INFO] [stdout] 41 | async fn build_snapshot(&mut self) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `u64`, found `TypeConfig` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Result<_, openraft::StorageError>` [INFO] [stdout] found enum `Result<_, openraft::StorageError>` [INFO] [stdout] note: required by a bound in `RaftSnapshotBuilder::build_snapshot::{anon_assoc#0}` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/openraft-0.9.17/src/storage/mod.rs:199:1 [INFO] [stdout] | [INFO] [stdout] 199 | #[add_async_trait] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ required by this bound in `RaftSnapshotBuilder::build_snapshot::{anon_assoc#0}` [INFO] [stdout] = note: this error originates in the attribute macro `add_async_trait` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `TypeConfig` doesn't implement `std::fmt::Display` [INFO] [stdout] --> src/store/mod.rs:99:19 [INFO] [stdout] | [INFO] [stdout] 99 | let mem = StoredMembership::new( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `std::fmt::Display` is not implemented for `TypeConfig` [INFO] [stdout] --> src/lib.rs:21:1 [INFO] [stdout] | [INFO] [stdout] 21 | / openraft::declare_raft_types!( [INFO] [stdout] 22 | | /// Declare the type configuration for example K/V store. [INFO] [stdout] 23 | | pub TypeConfig: [INFO] [stdout] 24 | | D = pb::SetRequest, [INFO] [stdout] ... | [INFO] [stdout] 30 | | SnapshotData = Vec, [INFO] [stdout] 31 | | ); [INFO] [stdout] | |_^ [INFO] [stdout] = note: required for `TypeConfig` to implement `openraft::node::NodeIdEssential` [INFO] [stdout] = note: required for `TypeConfig` to implement `openraft::NodeId` [INFO] [stdout] note: required by a bound in `openraft::StoredMembership` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/openraft-0.9.17/src/membership/stored_membership.rs:25:10 [INFO] [stdout] | [INFO] [stdout] 22 | pub struct StoredMembership [INFO] [stdout] | ---------------- required by a bound in this struct [INFO] [stdout] ... [INFO] [stdout] 25 | NID: NodeId, [INFO] [stdout] | ^^^^^^ required by this bound in `StoredMembership` [INFO] [stdout] = note: this error originates in the macro `openraft::declare_raft_types` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `TypeConfig: Hash` is not satisfied [INFO] [stdout] --> src/store/mod.rs:99:19 [INFO] [stdout] | [INFO] [stdout] 99 | let mem = StoredMembership::new( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ the trait `Hash` is not implemented for `TypeConfig` [INFO] [stdout] | [INFO] [stdout] = note: required for `TypeConfig` to implement `openraft::node::NodeIdEssential` [INFO] [stdout] = note: required for `TypeConfig` to implement `openraft::NodeId` [INFO] [stdout] note: required by a bound in `openraft::StoredMembership` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/openraft-0.9.17/src/membership/stored_membership.rs:25:10 [INFO] [stdout] | [INFO] [stdout] 22 | pub struct StoredMembership [INFO] [stdout] | ---------------- required by a bound in this struct [INFO] [stdout] ... [INFO] [stdout] 25 | NID: NodeId, [INFO] [stdout] | ^^^^^^ required by this bound in `StoredMembership` [INFO] [stdout] help: consider annotating `TypeConfig` with `#[derive(Hash)]` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/openraft-0.9.17/src/raft/mod.rs:156:9 [INFO] [stdout] | [INFO] [stdout] 156+ #[derive(Hash)] [INFO] [stdout] 157| $visibility struct $id {} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `TypeConfig` doesn't implement `std::fmt::Display` [INFO] [stdout] --> src/store/mod.rs:104:9 [INFO] [stdout] | [INFO] [stdout] 104 | Ok((last_applied, mem)) [INFO] [stdout] | ^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `std::fmt::Display` is not implemented for `TypeConfig` [INFO] [stdout] --> src/lib.rs:21:1 [INFO] [stdout] | [INFO] [stdout] 21 | / openraft::declare_raft_types!( [INFO] [stdout] 22 | | /// Declare the type configuration for example K/V store. [INFO] [stdout] 23 | | pub TypeConfig: [INFO] [stdout] 24 | | D = pb::SetRequest, [INFO] [stdout] ... | [INFO] [stdout] 30 | | SnapshotData = Vec, [INFO] [stdout] 31 | | ); [INFO] [stdout] | |_^ [INFO] [stdout] = note: required for `TypeConfig` to implement `openraft::node::NodeIdEssential` [INFO] [stdout] = note: required for `TypeConfig` to implement `openraft::NodeId` [INFO] [stdout] note: required by a bound in `openraft::LogId` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/openraft-0.9.17/src/log_id/mod.rs:25:23 [INFO] [stdout] | [INFO] [stdout] 25 | pub struct LogId { [INFO] [stdout] | ^^^^^^ required by this bound in `LogId` [INFO] [stdout] = note: this error originates in the macro `openraft::declare_raft_types` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `TypeConfig: Hash` is not satisfied [INFO] [stdout] --> src/store/mod.rs:104:9 [INFO] [stdout] | [INFO] [stdout] 104 | Ok((last_applied, mem)) [INFO] [stdout] | ^^ the trait `Hash` is not implemented for `TypeConfig` [INFO] [stdout] | [INFO] [stdout] = note: required for `TypeConfig` to implement `openraft::node::NodeIdEssential` [INFO] [stdout] = note: required for `TypeConfig` to implement `openraft::NodeId` [INFO] [stdout] note: required by a bound in `openraft::LogId` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/openraft-0.9.17/src/log_id/mod.rs:25:23 [INFO] [stdout] | [INFO] [stdout] 25 | pub struct LogId { [INFO] [stdout] | ^^^^^^ required by this bound in `LogId` [INFO] [stdout] help: consider annotating `TypeConfig` with `#[derive(Hash)]` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/openraft-0.9.17/src/raft/mod.rs:156:9 [INFO] [stdout] | [INFO] [stdout] 156 + #[derive(Hash)] [INFO] [stdout] 157 | $visibility struct $id {} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `TypeConfig` doesn't implement `std::fmt::Display` [INFO] [stdout] --> src/store/mod.rs:97:28 [INFO] [stdout] | [INFO] [stdout] 97 | let last_applied = sm.last_applied.map(|x| x.into()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `std::fmt::Display` is not implemented for `TypeConfig` [INFO] [stdout] --> src/lib.rs:21:1 [INFO] [stdout] | [INFO] [stdout] 21 | / openraft::declare_raft_types!( [INFO] [stdout] 22 | | /// Declare the type configuration for example K/V store. [INFO] [stdout] 23 | | pub TypeConfig: [INFO] [stdout] 24 | | D = pb::SetRequest, [INFO] [stdout] ... | [INFO] [stdout] 30 | | SnapshotData = Vec, [INFO] [stdout] 31 | | ); [INFO] [stdout] | |_^ [INFO] [stdout] = note: required for `TypeConfig` to implement `openraft::node::NodeIdEssential` [INFO] [stdout] = note: required for `TypeConfig` to implement `openraft::NodeId` [INFO] [stdout] note: required by a bound in `openraft::LogId` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/openraft-0.9.17/src/log_id/mod.rs:25:23 [INFO] [stdout] | [INFO] [stdout] 25 | pub struct LogId { [INFO] [stdout] | ^^^^^^ required by this bound in `LogId` [INFO] [stdout] = note: this error originates in the macro `openraft::declare_raft_types` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `TypeConfig: Hash` is not satisfied [INFO] [stdout] --> src/store/mod.rs:97:28 [INFO] [stdout] | [INFO] [stdout] 97 | let last_applied = sm.last_applied.map(|x| x.into()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `Hash` is not implemented for `TypeConfig` [INFO] [stdout] | [INFO] [stdout] = note: required for `TypeConfig` to implement `openraft::node::NodeIdEssential` [INFO] [stdout] = note: required for `TypeConfig` to implement `openraft::NodeId` [INFO] [stdout] note: required by a bound in `openraft::LogId` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/openraft-0.9.17/src/log_id/mod.rs:25:23 [INFO] [stdout] | [INFO] [stdout] 25 | pub struct LogId { [INFO] [stdout] | ^^^^^^ required by this bound in `LogId` [INFO] [stdout] help: consider annotating `TypeConfig` with `#[derive(Hash)]` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/openraft-0.9.17/src/raft/mod.rs:156:9 [INFO] [stdout] | [INFO] [stdout] 156+ #[derive(Hash)] [INFO] [stdout] 157| $visibility struct $id {} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `TypeConfig` doesn't implement `std::fmt::Display` [INFO] [stdout] --> src/store/mod.rs:97:52 [INFO] [stdout] | [INFO] [stdout] 97 | let last_applied = sm.last_applied.map(|x| x.into()); [INFO] [stdout] | ^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `std::fmt::Display` is not implemented for `TypeConfig` [INFO] [stdout] --> src/lib.rs:21:1 [INFO] [stdout] | [INFO] [stdout] 21 | / openraft::declare_raft_types!( [INFO] [stdout] 22 | | /// Declare the type configuration for example K/V store. [INFO] [stdout] 23 | | pub TypeConfig: [INFO] [stdout] 24 | | D = pb::SetRequest, [INFO] [stdout] ... | [INFO] [stdout] 30 | | SnapshotData = Vec, [INFO] [stdout] 31 | | ); [INFO] [stdout] | |_^ [INFO] [stdout] = note: required for `TypeConfig` to implement `openraft::node::NodeIdEssential` [INFO] [stdout] = note: required for `TypeConfig` to implement `openraft::NodeId` [INFO] [stdout] note: required by a bound in `openraft::LogId` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/openraft-0.9.17/src/log_id/mod.rs:25:23 [INFO] [stdout] | [INFO] [stdout] 25 | pub struct LogId { [INFO] [stdout] | ^^^^^^ required by this bound in `LogId` [INFO] [stdout] = note: this error originates in the macro `openraft::declare_raft_types` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `TypeConfig: Hash` is not satisfied [INFO] [stdout] --> src/store/mod.rs:97:52 [INFO] [stdout] | [INFO] [stdout] 97 | let last_applied = sm.last_applied.map(|x| x.into()); [INFO] [stdout] | ^^^^^^^^ the trait `Hash` is not implemented for `TypeConfig` [INFO] [stdout] | [INFO] [stdout] = note: required for `TypeConfig` to implement `openraft::node::NodeIdEssential` [INFO] [stdout] = note: required for `TypeConfig` to implement `openraft::NodeId` [INFO] [stdout] note: required by a bound in `openraft::LogId` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/openraft-0.9.17/src/log_id/mod.rs:25:23 [INFO] [stdout] | [INFO] [stdout] 25 | pub struct LogId { [INFO] [stdout] | ^^^^^^ required by this bound in `LogId` [INFO] [stdout] help: consider annotating `TypeConfig` with `#[derive(Hash)]` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/openraft-0.9.17/src/raft/mod.rs:156:9 [INFO] [stdout] | [INFO] [stdout] 156+ #[derive(Hash)] [INFO] [stdout] 157| $visibility struct $id {} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `TypeConfig` doesn't implement `std::fmt::Display` [INFO] [stdout] --> src/store/mod.rs:104:9 [INFO] [stdout] | [INFO] [stdout] 104 | Ok((last_applied, mem)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `std::fmt::Display` is not implemented for `TypeConfig` [INFO] [stdout] --> src/lib.rs:21:1 [INFO] [stdout] | [INFO] [stdout] 21 | / openraft::declare_raft_types!( [INFO] [stdout] 22 | | /// Declare the type configuration for example K/V store. [INFO] [stdout] 23 | | pub TypeConfig: [INFO] [stdout] 24 | | D = pb::SetRequest, [INFO] [stdout] ... | [INFO] [stdout] 30 | | SnapshotData = Vec, [INFO] [stdout] 31 | | ); [INFO] [stdout] | |_^ [INFO] [stdout] = note: required for `TypeConfig` to implement `openraft::node::NodeIdEssential` [INFO] [stdout] = note: required for `TypeConfig` to implement `openraft::NodeId` [INFO] [stdout] note: required by a bound in `openraft::LogId` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/openraft-0.9.17/src/log_id/mod.rs:25:23 [INFO] [stdout] | [INFO] [stdout] 25 | pub struct LogId { [INFO] [stdout] | ^^^^^^ required by this bound in `LogId` [INFO] [stdout] = note: this error originates in the macro `openraft::declare_raft_types` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `TypeConfig: Hash` is not satisfied [INFO] [stdout] --> src/store/mod.rs:104:9 [INFO] [stdout] | [INFO] [stdout] 104 | Ok((last_applied, mem)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ the trait `Hash` is not implemented for `TypeConfig` [INFO] [stdout] | [INFO] [stdout] = note: required for `TypeConfig` to implement `openraft::node::NodeIdEssential` [INFO] [stdout] = note: required for `TypeConfig` to implement `openraft::NodeId` [INFO] [stdout] note: required by a bound in `openraft::LogId` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/openraft-0.9.17/src/log_id/mod.rs:25:23 [INFO] [stdout] | [INFO] [stdout] 25 | pub struct LogId { [INFO] [stdout] | ^^^^^^ required by this bound in `LogId` [INFO] [stdout] help: consider annotating `TypeConfig` with `#[derive(Hash)]` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/openraft-0.9.17/src/raft/mod.rs:156:9 [INFO] [stdout] | [INFO] [stdout] 156 + #[derive(Hash)] [INFO] [stdout] 157 | $visibility struct $id {} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `TypeConfig` doesn't implement `std::fmt::Display` [INFO] [stdout] --> src/store/mod.rs:108:49 [INFO] [stdout] | [INFO] [stdout] 108 | async fn apply(&mut self, entries: I) -> Result, StorageError> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `std::fmt::Display` is not implemented for `TypeConfig` [INFO] [stdout] --> src/lib.rs:21:1 [INFO] [stdout] | [INFO] [stdout] 21 | / openraft::declare_raft_types!( [INFO] [stdout] 22 | | /// Declare the type configuration for example K/V store. [INFO] [stdout] 23 | | pub TypeConfig: [INFO] [stdout] 24 | | D = pb::SetRequest, [INFO] [stdout] ... | [INFO] [stdout] 30 | | SnapshotData = Vec, [INFO] [stdout] 31 | | ); [INFO] [stdout] | |_^ [INFO] [stdout] = note: required for `TypeConfig` to implement `openraft::node::NodeIdEssential` [INFO] [stdout] = note: required for `TypeConfig` to implement `openraft::NodeId` [INFO] [stdout] note: required by a bound in `openraft::StorageError` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/openraft-0.9.17/src/storage_error.rs:184:12 [INFO] [stdout] | [INFO] [stdout] 183 | pub enum StorageError [INFO] [stdout] | ------------ required by a bound in this enum [INFO] [stdout] 184 | where NID: NodeId [INFO] [stdout] | ^^^^^^ required by this bound in `StorageError` [INFO] [stdout] = note: this error originates in the macro `openraft::declare_raft_types` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `TypeConfig: Hash` is not satisfied [INFO] [stdout] --> src/store/mod.rs:108:49 [INFO] [stdout] | [INFO] [stdout] 108 | async fn apply(&mut self, entries: I) -> Result, StorageError> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `Hash` is not implemented for `TypeConfig` [INFO] [stdout] | [INFO] [stdout] = note: required for `TypeConfig` to implement `openraft::node::NodeIdEssential` [INFO] [stdout] = note: required for `TypeConfig` to implement `openraft::NodeId` [INFO] [stdout] note: required by a bound in `openraft::StorageError` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/openraft-0.9.17/src/storage_error.rs:184:12 [INFO] [stdout] | [INFO] [stdout] 183 | pub enum StorageError [INFO] [stdout] | ------------ required by a bound in this enum [INFO] [stdout] 184 | where NID: NodeId [INFO] [stdout] | ^^^^^^ required by this bound in `StorageError` [INFO] [stdout] help: consider annotating `TypeConfig` with `#[derive(Hash)]` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/openraft-0.9.17/src/raft/mod.rs:156:9 [INFO] [stdout] | [INFO] [stdout] 156 + #[derive(Hash)] [INFO] [stdout] 157 | $visibility struct $id {} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `log_id` found for struct `protobuf::Entry` in the current scope [INFO] [stdout] --> src/store/mod.rs:115:32 [INFO] [stdout] | [INFO] [stdout] 115 | let log_id = entry.log_id(); [INFO] [stdout] | ^^^^^^ method not found in `protobuf::Entry` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/target/debug/build/florescence-80c06f01a756fcfe/out/openraftpb.rs:59:1 [INFO] [stdout] | [INFO] [stdout] 59 | pub struct Entry { [INFO] [stdout] | ---------------- method `log_id` not found for this struct [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `TypeConfig` doesn't implement `std::fmt::Display` [INFO] [stdout] --> src/store/mod.rs:134:9 [INFO] [stdout] | [INFO] [stdout] 134 | Ok(res) [INFO] [stdout] | ^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `std::fmt::Display` is not implemented for `TypeConfig` [INFO] [stdout] --> src/lib.rs:21:1 [INFO] [stdout] | [INFO] [stdout] 21 | / openraft::declare_raft_types!( [INFO] [stdout] 22 | | /// Declare the type configuration for example K/V store. [INFO] [stdout] 23 | | pub TypeConfig: [INFO] [stdout] 24 | | D = pb::SetRequest, [INFO] [stdout] ... | [INFO] [stdout] 30 | | SnapshotData = Vec, [INFO] [stdout] 31 | | ); [INFO] [stdout] | |_^ [INFO] [stdout] = note: required for `TypeConfig` to implement `openraft::node::NodeIdEssential` [INFO] [stdout] = note: required for `TypeConfig` to implement `openraft::NodeId` [INFO] [stdout] note: required by a bound in `openraft::StorageError` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/openraft-0.9.17/src/storage_error.rs:184:12 [INFO] [stdout] | [INFO] [stdout] 183 | pub enum StorageError [INFO] [stdout] | ------------ required by a bound in this enum [INFO] [stdout] 184 | where NID: NodeId [INFO] [stdout] | ^^^^^^ required by this bound in `StorageError` [INFO] [stdout] = note: this error originates in the macro `openraft::declare_raft_types` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `TypeConfig: Hash` is not satisfied [INFO] [stdout] --> src/store/mod.rs:134:9 [INFO] [stdout] | [INFO] [stdout] 134 | Ok(res) [INFO] [stdout] | ^^ the trait `Hash` is not implemented for `TypeConfig` [INFO] [stdout] | [INFO] [stdout] = note: required for `TypeConfig` to implement `openraft::node::NodeIdEssential` [INFO] [stdout] = note: required for `TypeConfig` to implement `openraft::NodeId` [INFO] [stdout] note: required by a bound in `openraft::StorageError` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/openraft-0.9.17/src/storage_error.rs:184:12 [INFO] [stdout] | [INFO] [stdout] 183 | pub enum StorageError [INFO] [stdout] | ------------ required by a bound in this enum [INFO] [stdout] 184 | where NID: NodeId [INFO] [stdout] | ^^^^^^ required by this bound in `StorageError` [INFO] [stdout] help: consider annotating `TypeConfig` with `#[derive(Hash)]` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/openraft-0.9.17/src/raft/mod.rs:156:9 [INFO] [stdout] | [INFO] [stdout] 156 + #[derive(Hash)] [INFO] [stdout] 157 | $visibility struct $id {} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `TypeConfig` doesn't implement `std::fmt::Display` [INFO] [stdout] --> src/store/mod.rs:107:5 [INFO] [stdout] | [INFO] [stdout] 107 | #[tracing::instrument(level = "trace", skip(self, entries))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `std::fmt::Display` is not implemented for `TypeConfig` [INFO] [stdout] --> src/lib.rs:21:1 [INFO] [stdout] | [INFO] [stdout] 21 | / openraft::declare_raft_types!( [INFO] [stdout] 22 | | /// Declare the type configuration for example K/V store. [INFO] [stdout] 23 | | pub TypeConfig: [INFO] [stdout] 24 | | D = pb::SetRequest, [INFO] [stdout] ... | [INFO] [stdout] 30 | | SnapshotData = Vec, [INFO] [stdout] 31 | | ); [INFO] [stdout] | |_^ [INFO] [stdout] = note: required for `TypeConfig` to implement `openraft::node::NodeIdEssential` [INFO] [stdout] = note: required for `TypeConfig` to implement `openraft::NodeId` [INFO] [stdout] note: required by a bound in `openraft::StorageError` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/openraft-0.9.17/src/storage_error.rs:184:12 [INFO] [stdout] | [INFO] [stdout] 183 | pub enum StorageError [INFO] [stdout] | ------------ required by a bound in this enum [INFO] [stdout] 184 | where NID: NodeId [INFO] [stdout] | ^^^^^^ required by this bound in `StorageError` [INFO] [stdout] = note: this error originates in the attribute macro `tracing::instrument` which comes from the expansion of the macro `openraft::declare_raft_types` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `TypeConfig: Hash` is not satisfied [INFO] [stdout] --> src/store/mod.rs:107:5 [INFO] [stdout] | [INFO] [stdout] 107 | #[tracing::instrument(level = "trace", skip(self, entries))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `Hash` is not implemented for `TypeConfig` [INFO] [stdout] | [INFO] [stdout] = note: required for `TypeConfig` to implement `openraft::node::NodeIdEssential` [INFO] [stdout] = note: required for `TypeConfig` to implement `openraft::NodeId` [INFO] [stdout] note: required by a bound in `openraft::StorageError` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/openraft-0.9.17/src/storage_error.rs:184:12 [INFO] [stdout] | [INFO] [stdout] 183 | pub enum StorageError [INFO] [stdout] | ------------ required by a bound in this enum [INFO] [stdout] 184 | where NID: NodeId [INFO] [stdout] | ^^^^^^ required by this bound in `StorageError` [INFO] [stdout] = note: this error originates in the attribute macro `tracing::instrument` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider annotating `TypeConfig` with `#[derive(Hash)]` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/openraft-0.9.17/src/raft/mod.rs:156:9 [INFO] [stdout] | [INFO] [stdout] 156 + #[derive(Hash)] [INFO] [stdout] 157 | $visibility struct $id {} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `TypeConfig` doesn't implement `std::fmt::Display` [INFO] [stdout] --> src/store/mod.rs:108:5 [INFO] [stdout] | [INFO] [stdout] 108 | / async fn apply(&mut self, entries: I) -> Result, StorageError> [INFO] [stdout] 109 | | where I: IntoIterator { [INFO] [stdout] | |_______________________________________^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `std::fmt::Display` is not implemented for `TypeConfig` [INFO] [stdout] --> src/lib.rs:21:1 [INFO] [stdout] | [INFO] [stdout] 21 | / openraft::declare_raft_types!( [INFO] [stdout] 22 | | /// Declare the type configuration for example K/V store. [INFO] [stdout] 23 | | pub TypeConfig: [INFO] [stdout] 24 | | D = pb::SetRequest, [INFO] [stdout] ... | [INFO] [stdout] 30 | | SnapshotData = Vec, [INFO] [stdout] 31 | | ); [INFO] [stdout] | |_^ [INFO] [stdout] = note: required for `TypeConfig` to implement `openraft::node::NodeIdEssential` [INFO] [stdout] = note: required for `TypeConfig` to implement `openraft::NodeId` [INFO] [stdout] note: required by a bound in `openraft::StorageError` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/openraft-0.9.17/src/storage_error.rs:184:12 [INFO] [stdout] | [INFO] [stdout] 183 | pub enum StorageError [INFO] [stdout] | ------------ required by a bound in this enum [INFO] [stdout] 184 | where NID: NodeId [INFO] [stdout] | ^^^^^^ required by this bound in `StorageError` [INFO] [stdout] = note: this error originates in the macro `openraft::declare_raft_types` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `TypeConfig: Hash` is not satisfied [INFO] [stdout] --> src/store/mod.rs:108:5 [INFO] [stdout] | [INFO] [stdout] 108 | / async fn apply(&mut self, entries: I) -> Result, StorageError> [INFO] [stdout] 109 | | where I: IntoIterator { [INFO] [stdout] | |_______________________________________^ the trait `Hash` is not implemented for `TypeConfig` [INFO] [stdout] | [INFO] [stdout] = note: required for `TypeConfig` to implement `openraft::node::NodeIdEssential` [INFO] [stdout] = note: required for `TypeConfig` to implement `openraft::NodeId` [INFO] [stdout] note: required by a bound in `openraft::StorageError` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/openraft-0.9.17/src/storage_error.rs:184:12 [INFO] [stdout] | [INFO] [stdout] 183 | pub enum StorageError [INFO] [stdout] | ------------ required by a bound in this enum [INFO] [stdout] 184 | where NID: NodeId [INFO] [stdout] | ^^^^^^ required by this bound in `StorageError` [INFO] [stdout] help: consider annotating `TypeConfig` with `#[derive(Hash)]` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/openraft-0.9.17/src/raft/mod.rs:156:9 [INFO] [stdout] | [INFO] [stdout] 156 + #[derive(Hash)] [INFO] [stdout] 157 | $visibility struct $id {} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0271]: expected `impl Future, StorageError>>` to be a future that resolves to `Result, StorageError>`, but it resolves to `Result, StorageError>` [INFO] [stdout] --> src/store/mod.rs:108:5 [INFO] [stdout] | [INFO] [stdout] 108 | / async fn apply(&mut self, entries: I) -> Result, StorageError> [INFO] [stdout] 109 | | where I: IntoIterator { [INFO] [stdout] | |_______________________________________^ expected `Result, StorageError>`, found `Result, StorageError<...>>` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Result<_, openraft::StorageError>` [INFO] [stdout] found enum `Result<_, openraft::StorageError>` [INFO] [stdout] note: required by a bound in `RaftStateMachine::apply::{anon_assoc#0}` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/openraft-0.9.17/src/storage/v2.rs:152:1 [INFO] [stdout] | [INFO] [stdout] 152 | #[add_async_trait] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ required by this bound in `RaftStateMachine::apply::{anon_assoc#0}` [INFO] [stdout] = note: this error originates in the attribute macro `add_async_trait` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `TypeConfig` doesn't implement `std::fmt::Display` [INFO] [stdout] --> src/store/mod.rs:138:53 [INFO] [stdout] | [INFO] [stdout] 138 | async fn begin_receiving_snapshot(&mut self) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `std::fmt::Display` is not implemented for `TypeConfig` [INFO] [stdout] --> src/lib.rs:21:1 [INFO] [stdout] | [INFO] [stdout] 21 | / openraft::declare_raft_types!( [INFO] [stdout] 22 | | /// Declare the type configuration for example K/V store. [INFO] [stdout] 23 | | pub TypeConfig: [INFO] [stdout] 24 | | D = pb::SetRequest, [INFO] [stdout] ... | [INFO] [stdout] 30 | | SnapshotData = Vec, [INFO] [stdout] 31 | | ); [INFO] [stdout] | |_^ [INFO] [stdout] = note: required for `TypeConfig` to implement `openraft::node::NodeIdEssential` [INFO] [stdout] = note: required for `TypeConfig` to implement `openraft::NodeId` [INFO] [stdout] note: required by a bound in `openraft::StorageError` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/openraft-0.9.17/src/storage_error.rs:184:12 [INFO] [stdout] | [INFO] [stdout] 183 | pub enum StorageError [INFO] [stdout] | ------------ required by a bound in this enum [INFO] [stdout] 184 | where NID: NodeId [INFO] [stdout] | ^^^^^^ required by this bound in `StorageError` [INFO] [stdout] = note: this error originates in the macro `openraft::declare_raft_types` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `TypeConfig: Hash` is not satisfied [INFO] [stdout] --> src/store/mod.rs:138:53 [INFO] [stdout] | [INFO] [stdout] 138 | async fn begin_receiving_snapshot(&mut self) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `Hash` is not implemented for `TypeConfig` [INFO] [stdout] | [INFO] [stdout] = note: required for `TypeConfig` to implement `openraft::node::NodeIdEssential` [INFO] [stdout] = note: required for `TypeConfig` to implement `openraft::NodeId` [INFO] [stdout] note: required by a bound in `openraft::StorageError` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/openraft-0.9.17/src/storage_error.rs:184:12 [INFO] [stdout] | [INFO] [stdout] 183 | pub enum StorageError [INFO] [stdout] | ------------ required by a bound in this enum [INFO] [stdout] 184 | where NID: NodeId [INFO] [stdout] | ^^^^^^ required by this bound in `StorageError` [INFO] [stdout] help: consider annotating `TypeConfig` with `#[derive(Hash)]` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/openraft-0.9.17/src/raft/mod.rs:156:9 [INFO] [stdout] | [INFO] [stdout] 156 + #[derive(Hash)] [INFO] [stdout] 157 | $visibility struct $id {} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `TypeConfig` doesn't implement `std::fmt::Display` [INFO] [stdout] --> src/store/mod.rs:139:9 [INFO] [stdout] | [INFO] [stdout] 139 | Ok(Default::default()) [INFO] [stdout] | ^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `std::fmt::Display` is not implemented for `TypeConfig` [INFO] [stdout] --> src/lib.rs:21:1 [INFO] [stdout] | [INFO] [stdout] 21 | / openraft::declare_raft_types!( [INFO] [stdout] 22 | | /// Declare the type configuration for example K/V store. [INFO] [stdout] 23 | | pub TypeConfig: [INFO] [stdout] 24 | | D = pb::SetRequest, [INFO] [stdout] ... | [INFO] [stdout] 30 | | SnapshotData = Vec, [INFO] [stdout] 31 | | ); [INFO] [stdout] | |_^ [INFO] [stdout] = note: required for `TypeConfig` to implement `openraft::node::NodeIdEssential` [INFO] [stdout] = note: required for `TypeConfig` to implement `openraft::NodeId` [INFO] [stdout] note: required by a bound in `openraft::StorageError` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/openraft-0.9.17/src/storage_error.rs:184:12 [INFO] [stdout] | [INFO] [stdout] 183 | pub enum StorageError [INFO] [stdout] | ------------ required by a bound in this enum [INFO] [stdout] 184 | where NID: NodeId [INFO] [stdout] | ^^^^^^ required by this bound in `StorageError` [INFO] [stdout] = note: this error originates in the macro `openraft::declare_raft_types` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `TypeConfig: Hash` is not satisfied [INFO] [stdout] --> src/store/mod.rs:139:9 [INFO] [stdout] | [INFO] [stdout] 139 | Ok(Default::default()) [INFO] [stdout] | ^^ the trait `Hash` is not implemented for `TypeConfig` [INFO] [stdout] | [INFO] [stdout] = note: required for `TypeConfig` to implement `openraft::node::NodeIdEssential` [INFO] [stdout] = note: required for `TypeConfig` to implement `openraft::NodeId` [INFO] [stdout] note: required by a bound in `openraft::StorageError` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/openraft-0.9.17/src/storage_error.rs:184:12 [INFO] [stdout] | [INFO] [stdout] 183 | pub enum StorageError [INFO] [stdout] | ------------ required by a bound in this enum [INFO] [stdout] 184 | where NID: NodeId [INFO] [stdout] | ^^^^^^ required by this bound in `StorageError` [INFO] [stdout] help: consider annotating `TypeConfig` with `#[derive(Hash)]` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/openraft-0.9.17/src/raft/mod.rs:156:9 [INFO] [stdout] | [INFO] [stdout] 156 + #[derive(Hash)] [INFO] [stdout] 157 | $visibility struct $id {} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `TypeConfig` doesn't implement `std::fmt::Display` [INFO] [stdout] --> src/store/mod.rs:137:5 [INFO] [stdout] | [INFO] [stdout] 137 | #[tracing::instrument(level = "trace", skip(self))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `std::fmt::Display` is not implemented for `TypeConfig` [INFO] [stdout] --> src/lib.rs:21:1 [INFO] [stdout] | [INFO] [stdout] 21 | / openraft::declare_raft_types!( [INFO] [stdout] 22 | | /// Declare the type configuration for example K/V store. [INFO] [stdout] 23 | | pub TypeConfig: [INFO] [stdout] 24 | | D = pb::SetRequest, [INFO] [stdout] ... | [INFO] [stdout] 30 | | SnapshotData = Vec, [INFO] [stdout] 31 | | ); [INFO] [stdout] | |_^ [INFO] [stdout] = note: required for `TypeConfig` to implement `openraft::node::NodeIdEssential` [INFO] [stdout] = note: required for `TypeConfig` to implement `openraft::NodeId` [INFO] [stdout] note: required by a bound in `openraft::StorageError` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/openraft-0.9.17/src/storage_error.rs:184:12 [INFO] [stdout] | [INFO] [stdout] 183 | pub enum StorageError [INFO] [stdout] | ------------ required by a bound in this enum [INFO] [stdout] 184 | where NID: NodeId [INFO] [stdout] | ^^^^^^ required by this bound in `StorageError` [INFO] [stdout] = note: this error originates in the attribute macro `tracing::instrument` which comes from the expansion of the macro `openraft::declare_raft_types` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `TypeConfig: Hash` is not satisfied [INFO] [stdout] --> src/store/mod.rs:137:5 [INFO] [stdout] | [INFO] [stdout] 137 | #[tracing::instrument(level = "trace", skip(self))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `Hash` is not implemented for `TypeConfig` [INFO] [stdout] | [INFO] [stdout] = note: required for `TypeConfig` to implement `openraft::node::NodeIdEssential` [INFO] [stdout] = note: required for `TypeConfig` to implement `openraft::NodeId` [INFO] [stdout] note: required by a bound in `openraft::StorageError` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/openraft-0.9.17/src/storage_error.rs:184:12 [INFO] [stdout] | [INFO] [stdout] 183 | pub enum StorageError [INFO] [stdout] | ------------ required by a bound in this enum [INFO] [stdout] 184 | where NID: NodeId [INFO] [stdout] | ^^^^^^ required by this bound in `StorageError` [INFO] [stdout] = note: this error originates in the attribute macro `tracing::instrument` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider annotating `TypeConfig` with `#[derive(Hash)]` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/openraft-0.9.17/src/raft/mod.rs:156:9 [INFO] [stdout] | [INFO] [stdout] 156 + #[derive(Hash)] [INFO] [stdout] 157 | $visibility struct $id {} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `TypeConfig` doesn't implement `std::fmt::Display` [INFO] [stdout] --> src/store/mod.rs:138:5 [INFO] [stdout] | [INFO] [stdout] 138 | async fn begin_receiving_snapshot(&mut self) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `std::fmt::Display` is not implemented for `TypeConfig` [INFO] [stdout] --> src/lib.rs:21:1 [INFO] [stdout] | [INFO] [stdout] 21 | / openraft::declare_raft_types!( [INFO] [stdout] 22 | | /// Declare the type configuration for example K/V store. [INFO] [stdout] 23 | | pub TypeConfig: [INFO] [stdout] 24 | | D = pb::SetRequest, [INFO] [stdout] ... | [INFO] [stdout] 30 | | SnapshotData = Vec, [INFO] [stdout] 31 | | ); [INFO] [stdout] | |_^ [INFO] [stdout] = note: required for `TypeConfig` to implement `openraft::node::NodeIdEssential` [INFO] [stdout] = note: required for `TypeConfig` to implement `openraft::NodeId` [INFO] [stdout] note: required by a bound in `openraft::StorageError` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/openraft-0.9.17/src/storage_error.rs:184:12 [INFO] [stdout] | [INFO] [stdout] 183 | pub enum StorageError [INFO] [stdout] | ------------ required by a bound in this enum [INFO] [stdout] 184 | where NID: NodeId [INFO] [stdout] | ^^^^^^ required by this bound in `StorageError` [INFO] [stdout] = note: this error originates in the macro `openraft::declare_raft_types` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `TypeConfig: Hash` is not satisfied [INFO] [stdout] --> src/store/mod.rs:138:5 [INFO] [stdout] | [INFO] [stdout] 138 | async fn begin_receiving_snapshot(&mut self) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `Hash` is not implemented for `TypeConfig` [INFO] [stdout] | [INFO] [stdout] = note: required for `TypeConfig` to implement `openraft::node::NodeIdEssential` [INFO] [stdout] = note: required for `TypeConfig` to implement `openraft::NodeId` [INFO] [stdout] note: required by a bound in `openraft::StorageError` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/openraft-0.9.17/src/storage_error.rs:184:12 [INFO] [stdout] | [INFO] [stdout] 183 | pub enum StorageError [INFO] [stdout] | ------------ required by a bound in this enum [INFO] [stdout] 184 | where NID: NodeId [INFO] [stdout] | ^^^^^^ required by this bound in `StorageError` [INFO] [stdout] help: consider annotating `TypeConfig` with `#[derive(Hash)]` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/openraft-0.9.17/src/raft/mod.rs:156:9 [INFO] [stdout] | [INFO] [stdout] 156 + #[derive(Hash)] [INFO] [stdout] 157 | $visibility struct $id {} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0271]: expected `impl Future>` to be a future that resolves to `Result>, StorageError>`, but it resolves to `Result, StorageError>` [INFO] [stdout] --> src/store/mod.rs:138:5 [INFO] [stdout] | [INFO] [stdout] 138 | async fn begin_receiving_snapshot(&mut self) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `Result>, StorageError>`, found `Result, StorageError<...>>` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Result>, openraft::StorageError>` [INFO] [stdout] found enum `Result, openraft::StorageError>` [INFO] [stdout] note: required by a bound in `RaftStateMachine::begin_receiving_snapshot::{anon_assoc#0}` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/openraft-0.9.17/src/storage/v2.rs:152:1 [INFO] [stdout] | [INFO] [stdout] 152 | #[add_async_trait] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ required by this bound in `RaftStateMachine::begin_receiving_snapshot::{anon_assoc#0}` [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/florescence-05de1fc0c5fdbe0d.long-type-7002255307358764264.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] = note: this error originates in the attribute macro `add_async_trait` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `TypeConfig` doesn't implement `std::fmt::Display` [INFO] [stdout] --> src/store/mod.rs:167:49 [INFO] [stdout] | [INFO] [stdout] 167 | async fn get_current_snapshot(&mut self) -> Result, StorageError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `std::fmt::Display` is not implemented for `TypeConfig` [INFO] [stdout] --> src/lib.rs:21:1 [INFO] [stdout] | [INFO] [stdout] 21 | / openraft::declare_raft_types!( [INFO] [stdout] 22 | | /// Declare the type configuration for example K/V store. [INFO] [stdout] 23 | | pub TypeConfig: [INFO] [stdout] 24 | | D = pb::SetRequest, [INFO] [stdout] ... | [INFO] [stdout] 30 | | SnapshotData = Vec, [INFO] [stdout] 31 | | ); [INFO] [stdout] | |_^ [INFO] [stdout] = note: required for `TypeConfig` to implement `openraft::node::NodeIdEssential` [INFO] [stdout] = note: required for `TypeConfig` to implement `openraft::NodeId` [INFO] [stdout] note: required by a bound in `openraft::StorageError` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/openraft-0.9.17/src/storage_error.rs:184:12 [INFO] [stdout] | [INFO] [stdout] 183 | pub enum StorageError [INFO] [stdout] | ------------ required by a bound in this enum [INFO] [stdout] 184 | where NID: NodeId [INFO] [stdout] | ^^^^^^ required by this bound in `StorageError` [INFO] [stdout] = note: this error originates in the macro `openraft::declare_raft_types` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `TypeConfig: Hash` is not satisfied [INFO] [stdout] --> src/store/mod.rs:167:49 [INFO] [stdout] | [INFO] [stdout] 167 | async fn get_current_snapshot(&mut self) -> Result, StorageError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `Hash` is not implemented for `TypeConfig` [INFO] [stdout] | [INFO] [stdout] = note: required for `TypeConfig` to implement `openraft::node::NodeIdEssential` [INFO] [stdout] = note: required for `TypeConfig` to implement `openraft::NodeId` [INFO] [stdout] note: required by a bound in `openraft::StorageError` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/openraft-0.9.17/src/storage_error.rs:184:12 [INFO] [stdout] | [INFO] [stdout] 183 | pub enum StorageError [INFO] [stdout] | ------------ required by a bound in this enum [INFO] [stdout] 184 | where NID: NodeId [INFO] [stdout] | ^^^^^^ required by this bound in `StorageError` [INFO] [stdout] help: consider annotating `TypeConfig` with `#[derive(Hash)]` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/openraft-0.9.17/src/raft/mod.rs:156:9 [INFO] [stdout] | [INFO] [stdout] 156 + #[derive(Hash)] [INFO] [stdout] 157 | $visibility struct $id {} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/store/mod.rs:173:31 [INFO] [stdout] | [INFO] [stdout] 173 | snapshot: data, [INFO] [stdout] | ^^^^ expected `Box>`, found `Vec` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Box>` [INFO] [stdout] found struct `Vec<_>` [INFO] [stdout] = note: for more on the distinction between the stack and the heap, read https://doc.rust-lang.org/book/ch15-01-box.html, https://doc.rust-lang.org/rust-by-example/std/box.html, and https://doc.rust-lang.org/std/boxed/index.html [INFO] [stdout] help: store this in the heap by calling `Box::new` [INFO] [stdout] | [INFO] [stdout] 173 | snapshot: Box::new(data), [INFO] [stdout] | +++++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `TypeConfig` doesn't implement `std::fmt::Display` [INFO] [stdout] --> src/store/mod.rs:171:17 [INFO] [stdout] | [INFO] [stdout] 171 | Ok(Some(Snapshot { [INFO] [stdout] | ^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `std::fmt::Display` is not implemented for `TypeConfig` [INFO] [stdout] --> src/lib.rs:21:1 [INFO] [stdout] | [INFO] [stdout] 21 | / openraft::declare_raft_types!( [INFO] [stdout] 22 | | /// Declare the type configuration for example K/V store. [INFO] [stdout] 23 | | pub TypeConfig: [INFO] [stdout] 24 | | D = pb::SetRequest, [INFO] [stdout] ... | [INFO] [stdout] 30 | | SnapshotData = Vec, [INFO] [stdout] 31 | | ); [INFO] [stdout] | |_^ [INFO] [stdout] = note: required for `TypeConfig` to implement `openraft::node::NodeIdEssential` [INFO] [stdout] = note: required for `TypeConfig` to implement `openraft::NodeId` [INFO] [stdout] note: required by a bound in `openraft::StorageError` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/openraft-0.9.17/src/storage_error.rs:184:12 [INFO] [stdout] | [INFO] [stdout] 183 | pub enum StorageError [INFO] [stdout] | ------------ required by a bound in this enum [INFO] [stdout] 184 | where NID: NodeId [INFO] [stdout] | ^^^^^^ required by this bound in `StorageError` [INFO] [stdout] = note: this error originates in the macro `openraft::declare_raft_types` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `TypeConfig: Hash` is not satisfied [INFO] [stdout] --> src/store/mod.rs:171:17 [INFO] [stdout] | [INFO] [stdout] 171 | Ok(Some(Snapshot { [INFO] [stdout] | ^^ the trait `Hash` is not implemented for `TypeConfig` [INFO] [stdout] | [INFO] [stdout] = note: required for `TypeConfig` to implement `openraft::node::NodeIdEssential` [INFO] [stdout] = note: required for `TypeConfig` to implement `openraft::NodeId` [INFO] [stdout] note: required by a bound in `openraft::StorageError` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/openraft-0.9.17/src/storage_error.rs:184:12 [INFO] [stdout] | [INFO] [stdout] 183 | pub enum StorageError [INFO] [stdout] | ------------ required by a bound in this enum [INFO] [stdout] 184 | where NID: NodeId [INFO] [stdout] | ^^^^^^ required by this bound in `StorageError` [INFO] [stdout] help: consider annotating `TypeConfig` with `#[derive(Hash)]` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/openraft-0.9.17/src/raft/mod.rs:156:9 [INFO] [stdout] | [INFO] [stdout] 156 + #[derive(Hash)] [INFO] [stdout] 157 | $visibility struct $id {} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `TypeConfig` doesn't implement `std::fmt::Display` [INFO] [stdout] --> src/store/mod.rs:176:21 [INFO] [stdout] | [INFO] [stdout] 176 | None => Ok(None), [INFO] [stdout] | ^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `std::fmt::Display` is not implemented for `TypeConfig` [INFO] [stdout] --> src/lib.rs:21:1 [INFO] [stdout] | [INFO] [stdout] 21 | / openraft::declare_raft_types!( [INFO] [stdout] 22 | | /// Declare the type configuration for example K/V store. [INFO] [stdout] 23 | | pub TypeConfig: [INFO] [stdout] 24 | | D = pb::SetRequest, [INFO] [stdout] ... | [INFO] [stdout] 30 | | SnapshotData = Vec, [INFO] [stdout] 31 | | ); [INFO] [stdout] | |_^ [INFO] [stdout] = note: required for `TypeConfig` to implement `openraft::node::NodeIdEssential` [INFO] [stdout] = note: required for `TypeConfig` to implement `openraft::NodeId` [INFO] [stdout] note: required by a bound in `openraft::StorageError` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/openraft-0.9.17/src/storage_error.rs:184:12 [INFO] [stdout] | [INFO] [stdout] 183 | pub enum StorageError [INFO] [stdout] | ------------ required by a bound in this enum [INFO] [stdout] 184 | where NID: NodeId [INFO] [stdout] | ^^^^^^ required by this bound in `StorageError` [INFO] [stdout] = note: this error originates in the macro `openraft::declare_raft_types` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `TypeConfig: Hash` is not satisfied [INFO] [stdout] --> src/store/mod.rs:176:21 [INFO] [stdout] | [INFO] [stdout] 176 | None => Ok(None), [INFO] [stdout] | ^^ the trait `Hash` is not implemented for `TypeConfig` [INFO] [stdout] | [INFO] [stdout] = note: required for `TypeConfig` to implement `openraft::node::NodeIdEssential` [INFO] [stdout] = note: required for `TypeConfig` to implement `openraft::NodeId` [INFO] [stdout] note: required by a bound in `openraft::StorageError` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/openraft-0.9.17/src/storage_error.rs:184:12 [INFO] [stdout] | [INFO] [stdout] 183 | pub enum StorageError [INFO] [stdout] | ------------ required by a bound in this enum [INFO] [stdout] 184 | where NID: NodeId [INFO] [stdout] | ^^^^^^ required by this bound in `StorageError` [INFO] [stdout] help: consider annotating `TypeConfig` with `#[derive(Hash)]` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/openraft-0.9.17/src/raft/mod.rs:156:9 [INFO] [stdout] | [INFO] [stdout] 156 + #[derive(Hash)] [INFO] [stdout] 157 | $visibility struct $id {} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `TypeConfig` doesn't implement `std::fmt::Display` [INFO] [stdout] --> src/store/mod.rs:166:5 [INFO] [stdout] | [INFO] [stdout] 166 | #[tracing::instrument(level = "trace", skip(self))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `std::fmt::Display` is not implemented for `TypeConfig` [INFO] [stdout] --> src/lib.rs:21:1 [INFO] [stdout] | [INFO] [stdout] 21 | / openraft::declare_raft_types!( [INFO] [stdout] 22 | | /// Declare the type configuration for example K/V store. [INFO] [stdout] 23 | | pub TypeConfig: [INFO] [stdout] 24 | | D = pb::SetRequest, [INFO] [stdout] ... | [INFO] [stdout] 30 | | SnapshotData = Vec, [INFO] [stdout] 31 | | ); [INFO] [stdout] | |_^ [INFO] [stdout] = note: required for `TypeConfig` to implement `openraft::node::NodeIdEssential` [INFO] [stdout] = note: required for `TypeConfig` to implement `openraft::NodeId` [INFO] [stdout] note: required by a bound in `openraft::StorageError` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/openraft-0.9.17/src/storage_error.rs:184:12 [INFO] [stdout] | [INFO] [stdout] 183 | pub enum StorageError [INFO] [stdout] | ------------ required by a bound in this enum [INFO] [stdout] 184 | where NID: NodeId [INFO] [stdout] | ^^^^^^ required by this bound in `StorageError` [INFO] [stdout] = note: this error originates in the attribute macro `tracing::instrument` which comes from the expansion of the macro `openraft::declare_raft_types` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `TypeConfig: Hash` is not satisfied [INFO] [stdout] --> src/store/mod.rs:166:5 [INFO] [stdout] | [INFO] [stdout] 166 | #[tracing::instrument(level = "trace", skip(self))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `Hash` is not implemented for `TypeConfig` [INFO] [stdout] | [INFO] [stdout] = note: required for `TypeConfig` to implement `openraft::node::NodeIdEssential` [INFO] [stdout] = note: required for `TypeConfig` to implement `openraft::NodeId` [INFO] [stdout] note: required by a bound in `openraft::StorageError` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/openraft-0.9.17/src/storage_error.rs:184:12 [INFO] [stdout] | [INFO] [stdout] 183 | pub enum StorageError [INFO] [stdout] | ------------ required by a bound in this enum [INFO] [stdout] 184 | where NID: NodeId [INFO] [stdout] | ^^^^^^ required by this bound in `StorageError` [INFO] [stdout] = note: this error originates in the attribute macro `tracing::instrument` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider annotating `TypeConfig` with `#[derive(Hash)]` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/openraft-0.9.17/src/raft/mod.rs:156:9 [INFO] [stdout] | [INFO] [stdout] 156 + #[derive(Hash)] [INFO] [stdout] 157 | $visibility struct $id {} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `TypeConfig` doesn't implement `std::fmt::Display` [INFO] [stdout] --> src/store/mod.rs:167:5 [INFO] [stdout] | [INFO] [stdout] 167 | async fn get_current_snapshot(&mut self) -> Result, StorageError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `std::fmt::Display` is not implemented for `TypeConfig` [INFO] [stdout] --> src/lib.rs:21:1 [INFO] [stdout] | [INFO] [stdout] 21 | / openraft::declare_raft_types!( [INFO] [stdout] 22 | | /// Declare the type configuration for example K/V store. [INFO] [stdout] 23 | | pub TypeConfig: [INFO] [stdout] 24 | | D = pb::SetRequest, [INFO] [stdout] ... | [INFO] [stdout] 30 | | SnapshotData = Vec, [INFO] [stdout] 31 | | ); [INFO] [stdout] | |_^ [INFO] [stdout] = note: required for `TypeConfig` to implement `openraft::node::NodeIdEssential` [INFO] [stdout] = note: required for `TypeConfig` to implement `openraft::NodeId` [INFO] [stdout] note: required by a bound in `openraft::StorageError` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/openraft-0.9.17/src/storage_error.rs:184:12 [INFO] [stdout] | [INFO] [stdout] 183 | pub enum StorageError [INFO] [stdout] | ------------ required by a bound in this enum [INFO] [stdout] 184 | where NID: NodeId [INFO] [stdout] | ^^^^^^ required by this bound in `StorageError` [INFO] [stdout] = note: this error originates in the macro `openraft::declare_raft_types` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `TypeConfig: Hash` is not satisfied [INFO] [stdout] --> src/store/mod.rs:167:5 [INFO] [stdout] | [INFO] [stdout] 167 | async fn get_current_snapshot(&mut self) -> Result, StorageError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `Hash` is not implemented for `TypeConfig` [INFO] [stdout] | [INFO] [stdout] = note: required for `TypeConfig` to implement `openraft::node::NodeIdEssential` [INFO] [stdout] = note: required for `TypeConfig` to implement `openraft::NodeId` [INFO] [stdout] note: required by a bound in `openraft::StorageError` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/openraft-0.9.17/src/storage_error.rs:184:12 [INFO] [stdout] | [INFO] [stdout] 183 | pub enum StorageError [INFO] [stdout] | ------------ required by a bound in this enum [INFO] [stdout] 184 | where NID: NodeId [INFO] [stdout] | ^^^^^^ required by this bound in `StorageError` [INFO] [stdout] help: consider annotating `TypeConfig` with `#[derive(Hash)]` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/openraft-0.9.17/src/raft/mod.rs:156:9 [INFO] [stdout] | [INFO] [stdout] 156 + #[derive(Hash)] [INFO] [stdout] 157 | $visibility struct $id {} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0271]: expected `impl Future>, StorageError>>` to be a future that resolves to `Result>, StorageError>`, but it resolves to `Result>, StorageError>` [INFO] [stdout] --> src/store/mod.rs:167:5 [INFO] [stdout] | [INFO] [stdout] 167 | async fn get_current_snapshot(&mut self) -> Result, StorageError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `u64`, found `TypeConfig` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Result<_, openraft::StorageError>` [INFO] [stdout] found enum `Result<_, openraft::StorageError>` [INFO] [stdout] note: required by a bound in `RaftStateMachine::get_current_snapshot::{anon_assoc#0}` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/openraft-0.9.17/src/storage/v2.rs:152:1 [INFO] [stdout] | [INFO] [stdout] 152 | #[add_async_trait] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ required by this bound in `RaftStateMachine::get_current_snapshot::{anon_assoc#0}` [INFO] [stdout] = note: this error originates in the attribute macro `add_async_trait` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `std::sync::Arc: storage::v2::sealed::Sealed` is not satisfied [INFO] [stdout] --> src/store/mod.rs:91:39 [INFO] [stdout] | [INFO] [stdout] 91 | impl RaftStateMachine for Arc { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ the trait `storage::v2::sealed::Sealed` is not implemented for `std::sync::Arc` [INFO] [stdout] | [INFO] [stdout] = help: the trait `storage::v2::sealed::Sealed` is implemented for `Adaptor` [INFO] [stdout] note: required by a bound in `RaftStateMachine` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/openraft-0.9.17/src/storage/v2.rs:153:32 [INFO] [stdout] | [INFO] [stdout] 153 | pub trait RaftStateMachine: Sealed + OptionalSend + OptionalSync + 'static [INFO] [stdout] | ^^^^^^ required by this bound in `RaftStateMachine` [INFO] [stdout] = note: `RaftStateMachine` is a "sealed trait", because to implement it you also need to implement `openraft::storage::v2::sealed::Sealed`, which is not accessible; this is usually done to force you to use one of the provided types that already implement it [INFO] [stdout] = help: the following type implements the trait: [INFO] [stdout] openraft::storage::Adaptor [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: struct takes 2 generic arguments but 1 generic argument was supplied [INFO] [stdout] --> src/typ.rs:13:45 [INFO] [stdout] | [INFO] [stdout] 13 | pub type Membership = openraft::membership::Membership; [INFO] [stdout] | ^^^^^^^^^^ ---------- supplied 1 generic argument [INFO] [stdout] | | [INFO] [stdout] | expected 2 generic arguments [INFO] [stdout] | [INFO] [stdout] note: struct defined here, with 2 generic parameters: `NID`, `N` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/openraft-0.9.17/src/membership/membership.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 24 | pub struct Membership [INFO] [stdout] | ^^^^^^^^^^ --- - [INFO] [stdout] help: add missing generic argument [INFO] [stdout] | [INFO] [stdout] 13 | pub type Membership = openraft::membership::Membership; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: struct takes 2 generic arguments but 1 generic argument was supplied [INFO] [stdout] --> src/typ.rs:35:34 [INFO] [stdout] | [INFO] [stdout] 35 | pub type RaftMetrics = openraft::RaftMetrics; [INFO] [stdout] | ^^^^^^^^^^^ ---------- supplied 1 generic argument [INFO] [stdout] | | [INFO] [stdout] | expected 2 generic arguments [INFO] [stdout] | [INFO] [stdout] note: struct defined here, with 2 generic parameters: `NID`, `N` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/openraft-0.9.17/src/metrics/raft_metrics.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 19 | pub struct RaftMetrics [INFO] [stdout] | ^^^^^^^^^^^ --- - [INFO] [stdout] help: add missing generic argument [INFO] [stdout] | [INFO] [stdout] 35 | pub type RaftMetrics = openraft::RaftMetrics; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: enum takes 2 generic arguments but 1 generic argument was supplied [INFO] [stdout] --> src/typ.rs:37:46 [INFO] [stdout] | [INFO] [stdout] 37 | pub type ClientWriteError = openraft::error::ClientWriteError; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ ---------- supplied 1 generic argument [INFO] [stdout] | | [INFO] [stdout] | expected 2 generic arguments [INFO] [stdout] | [INFO] [stdout] note: enum defined here, with 2 generic parameters: `NID`, `N` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/openraft-0.9.17/src/error.rs:186:10 [INFO] [stdout] | [INFO] [stdout] 186 | pub enum ClientWriteError [INFO] [stdout] | ^^^^^^^^^^^^^^^^ --- - [INFO] [stdout] help: add missing generic argument [INFO] [stdout] | [INFO] [stdout] 37 | pub type ClientWriteError = openraft::error::ClientWriteError; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: enum takes 2 generic arguments but 1 generic argument was supplied [INFO] [stdout] --> src/typ.rs:38:48 [INFO] [stdout] | [INFO] [stdout] 38 | pub type CheckIsLeaderError = openraft::error::CheckIsLeaderError; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ ---------- supplied 1 generic argument [INFO] [stdout] | | [INFO] [stdout] | expected 2 generic arguments [INFO] [stdout] | [INFO] [stdout] note: enum defined here, with 2 generic parameters: `NID`, `N` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/openraft-0.9.17/src/error.rs:157:10 [INFO] [stdout] | [INFO] [stdout] 157 | pub enum CheckIsLeaderError [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ --- - [INFO] [stdout] help: add missing generic argument [INFO] [stdout] | [INFO] [stdout] 38 | pub type CheckIsLeaderError = openraft::error::CheckIsLeaderError; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: struct takes 2 generic arguments but 1 generic argument was supplied [INFO] [stdout] --> src/typ.rs:39:45 [INFO] [stdout] | [INFO] [stdout] 39 | pub type ForwardToLeader = openraft::error::ForwardToLeader; [INFO] [stdout] | ^^^^^^^^^^^^^^^ ---------- supplied 1 generic argument [INFO] [stdout] | | [INFO] [stdout] | expected 2 generic arguments [INFO] [stdout] | [INFO] [stdout] note: struct defined here, with 2 generic parameters: `NID`, `N` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/openraft-0.9.17/src/error.rs:562:12 [INFO] [stdout] | [INFO] [stdout] 562 | pub struct ForwardToLeader [INFO] [stdout] | ^^^^^^^^^^^^^^^ --- - [INFO] [stdout] help: add missing generic argument [INFO] [stdout] | [INFO] [stdout] 39 | pub type ForwardToLeader = openraft::error::ForwardToLeader; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: enum takes 2 generic arguments but 1 generic argument was supplied [INFO] [stdout] --> src/typ.rs:40:45 [INFO] [stdout] | [INFO] [stdout] 40 | pub type InitializeError = openraft::error::InitializeError; [INFO] [stdout] | ^^^^^^^^^^^^^^^ ---------- supplied 1 generic argument [INFO] [stdout] | | [INFO] [stdout] | expected 2 generic arguments [INFO] [stdout] | [INFO] [stdout] note: enum defined here, with 2 generic parameters: `NID`, `N` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/openraft-0.9.17/src/error.rs:229:10 [INFO] [stdout] | [INFO] [stdout] 229 | pub enum InitializeError [INFO] [stdout] | ^^^^^^^^^^^^^^^ --- - [INFO] [stdout] help: add missing generic argument [INFO] [stdout] | [INFO] [stdout] 40 | pub type InitializeError = openraft::error::InitializeError; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: trait takes 2 generic arguments but 1 generic argument was supplied [INFO] [stdout] --> src/pb_impl/impl_entry.rs:18:6 [INFO] [stdout] | [INFO] [stdout] 18 | impl RaftPayload for pb::Entry { [INFO] [stdout] | ^^^^^^^^^^^ ---------- supplied 1 generic argument [INFO] [stdout] | | [INFO] [stdout] | expected 2 generic arguments [INFO] [stdout] | [INFO] [stdout] note: trait defined here, with 2 generic parameters: `NID`, `N` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/openraft-0.9.17/src/entry/traits.rs:14:11 [INFO] [stdout] | [INFO] [stdout] 14 | pub trait RaftPayload [INFO] [stdout] | ^^^^^^^^^^^ --- - [INFO] [stdout] help: add missing generic argument [INFO] [stdout] | [INFO] [stdout] 18 | impl RaftPayload for pb::Entry { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: trait takes 2 generic arguments but 1 generic argument was supplied [INFO] [stdout] --> src/pb_impl/impl_entry.rs:24:6 [INFO] [stdout] | [INFO] [stdout] 24 | impl RaftEntry for pb::Entry { [INFO] [stdout] | ^^^^^^^^^ ---------- supplied 1 generic argument [INFO] [stdout] | | [INFO] [stdout] | expected 2 generic arguments [INFO] [stdout] | [INFO] [stdout] note: trait defined here, with 2 generic parameters: `NID`, `N` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/openraft-0.9.17/src/entry/traits.rs:27:11 [INFO] [stdout] | [INFO] [stdout] 27 | pub trait RaftEntry: RaftPayload + RaftLogId [INFO] [stdout] | ^^^^^^^^^ --- - [INFO] [stdout] help: add missing generic argument [INFO] [stdout] | [INFO] [stdout] 24 | impl RaftEntry for pb::Entry { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `protobuf::Entry: FromAppData` is not satisfied [INFO] [stdout] --> src/lib.rs:28:17 [INFO] [stdout] | [INFO] [stdout] 28 | Entry = pb::Entry, [INFO] [stdout] | ^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `FromAppData` is not implemented for `protobuf::Entry` [INFO] [stdout] --> /opt/rustwide/target/debug/build/florescence-80c06f01a756fcfe/out/openraftpb.rs:59:1 [INFO] [stdout] | [INFO] [stdout] 59 | pub struct Entry { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: the trait `FromAppData<::D>` is implemented for `openraft::Entry` [INFO] [stdout] note: required by a bound in `openraft::RaftTypeConfig::Entry` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/openraft-0.9.17/src/type_config.rs:65:55 [INFO] [stdout] | [INFO] [stdout] 65 | type Entry: RaftEntry + FromAppData; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ required by this bound in `RaftTypeConfig::Entry` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `protobuf::Entry: RaftEntry` is not satisfied [INFO] [stdout] --> src/lib.rs:28:17 [INFO] [stdout] | [INFO] [stdout] 28 | Entry = pb::Entry, [INFO] [stdout] | ^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `RaftEntry` is not implemented for `protobuf::Entry` [INFO] [stdout] --> /opt/rustwide/target/debug/build/florescence-80c06f01a756fcfe/out/openraftpb.rs:59:1 [INFO] [stdout] | [INFO] [stdout] 59 | pub struct Entry { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] note: required by a bound in `openraft::RaftTypeConfig::Entry` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/openraft-0.9.17/src/type_config.rs:65:17 [INFO] [stdout] | [INFO] [stdout] 65 | type Entry: RaftEntry + FromAppData; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `RaftTypeConfig::Entry` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Vec: tokio::io::AsyncSeek` is not satisfied [INFO] [stdout] --> src/lib.rs:30:24 [INFO] [stdout] | [INFO] [stdout] 30 | SnapshotData = Vec, [INFO] [stdout] | ^^^^^^^ the trait `tokio::io::AsyncSeek` is not implemented for `Vec` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `tokio::io::AsyncSeek`: [INFO] [stdout] &mut T [INFO] [stdout] Box [INFO] [stdout] BufStream [INFO] [stdout] Pin

[INFO] [stdout] std::io::Cursor [INFO] [stdout] tokio::io::BufReader [INFO] [stdout] tokio::io::BufWriter [INFO] [stdout] tokio::io::Empty [INFO] [stdout] tokio_util::either::Either [INFO] [stdout] note: required by a bound in `openraft::RaftTypeConfig::SnapshotData` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/openraft-0.9.17/src/type_config.rs:75:11 [INFO] [stdout] | [INFO] [stdout] 73 | type SnapshotData: tokio::io::AsyncRead [INFO] [stdout] | ------------ required by a bound in this associated type [INFO] [stdout] 74 | + tokio::io::AsyncWrite [INFO] [stdout] 75 | + tokio::io::AsyncSeek [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ required by this bound in `RaftTypeConfig::SnapshotData` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Vec: tokio::io::AsyncRead` is not satisfied [INFO] [stdout] --> src/lib.rs:30:24 [INFO] [stdout] | [INFO] [stdout] 30 | SnapshotData = Vec, [INFO] [stdout] | ^^^^^^^ the trait `tokio::io::AsyncRead` is not implemented for `Vec` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `tokio::io::AsyncRead`: [INFO] [stdout] &[u8] [INFO] [stdout] &mut T [INFO] [stdout] Box [INFO] [stdout] BufStream [INFO] [stdout] DuplexStream [INFO] [stdout] Pin

[INFO] [stdout] SimplexStream [INFO] [stdout] h2::codec::framed_write::FramedWrite [INFO] [stdout] and 23 others [INFO] [stdout] note: required by a bound in `openraft::RaftTypeConfig::SnapshotData` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/openraft-0.9.17/src/type_config.rs:73:24 [INFO] [stdout] | [INFO] [stdout] 73 | type SnapshotData: tokio::io::AsyncRead [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ required by this bound in `RaftTypeConfig::SnapshotData` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0046, E0107, E0271, E0277, E0308, E0407, E0412, E0432, E0437... [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0046`. [INFO] [stdout] [INFO] [stderr] error: could not compile `florescence` (lib) due to 121 previous errors; 3 warnings emitted [INFO] running `Command { std: "docker" "inspect" "e4c991766673c243293e156113d490e019e427c5ee95e57d21e245425aab503a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e4c991766673c243293e156113d490e019e427c5ee95e57d21e245425aab503a", kill_on_drop: false }` [INFO] [stdout] e4c991766673c243293e156113d490e019e427c5ee95e57d21e245425aab503a