[INFO] cloning repository https://github.com/Szymongib/pbft-rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Szymongib/pbft-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSzymongib%2Fpbft-rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSzymongib%2Fpbft-rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 12d7d29c4bf2a12aafcd720fd4f475057010a337 [INFO] building Szymongib/pbft-rust against try#d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6 for pr-146237-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSzymongib%2Fpbft-rust" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/Szymongib/pbft-rust [INFO] finished tweaking git repo https://github.com/Szymongib/pbft-rust [INFO] tweaked toml for git repo https://github.com/Szymongib/pbft-rust written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/Szymongib/pbft-rust on toolchain d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/Szymongib/pbft-rust 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" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"` [INFO] [stderr] note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest [INFO] [stderr] note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest [INFO] [stderr] note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] bd72447ba5229211b7f790534d9a52197d68556474d2b9d934a1b8b8f1aa5171 [INFO] running `Command { std: "docker" "start" "-a" "bd72447ba5229211b7f790534d9a52197d68556474d2b9d934a1b8b8f1aa5171", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "bd72447ba5229211b7f790534d9a52197d68556474d2b9d934a1b8b8f1aa5171", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bd72447ba5229211b7f790534d9a52197d68556474d2b9d934a1b8b8f1aa5171", kill_on_drop: false }` [INFO] [stdout] bd72447ba5229211b7f790534d9a52197d68556474d2b9d934a1b8b8f1aa5171 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1a94871d563ac6496427d85a0738ce4a2d978a78ad8996f3f1ae6961c56abcb1 [INFO] running `Command { std: "docker" "start" "-a" "1a94871d563ac6496427d85a0738ce4a2d978a78ad8996f3f1ae6961c56abcb1", kill_on_drop: false }` [INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"` [INFO] [stderr] note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest [INFO] [stderr] note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest [INFO] [stderr] note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions [INFO] [stderr] Compiling proc-macro2 v1.0.78 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Compiling once_cell v1.19.0 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling memchr v2.7.1 [INFO] [stderr] Compiling itoa v1.0.10 [INFO] [stderr] Compiling pin-project-lite v0.2.13 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Compiling bytes v1.5.0 [INFO] [stderr] Compiling serde v1.0.197 [INFO] [stderr] Compiling log v0.4.21 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling futures-core v0.3.30 [INFO] [stderr] Compiling futures-sink v0.3.30 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling http v0.2.12 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling futures-channel v0.3.30 [INFO] [stderr] Compiling tracing-core v0.1.32 [INFO] [stderr] Compiling futures-task v0.3.30 [INFO] [stderr] Compiling futures-io v0.3.30 [INFO] [stderr] Compiling thiserror v1.0.57 [INFO] [stderr] Compiling pkg-config v0.3.30 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Compiling syn v2.0.52 [INFO] [stderr] Compiling cc v1.0.90 [INFO] [stderr] Compiling tinyvec_macros v0.1.1 [INFO] [stderr] Compiling httparse v1.8.0 [INFO] [stderr] Compiling ppv-lite86 v0.2.17 [INFO] [stderr] Compiling tinyvec v1.6.0 [INFO] [stderr] Compiling cpufeatures v0.2.12 [INFO] [stderr] Compiling rustversion v1.0.14 [INFO] [stderr] Compiling percent-encoding v2.3.1 [INFO] [stderr] Compiling form_urlencoded v1.2.1 [INFO] [stderr] Compiling ahash v0.7.8 [INFO] [stderr] Compiling getrandom v0.2.12 [INFO] [stderr] Compiling mio v0.8.11 [INFO] [stderr] Compiling socket2 v0.5.6 [INFO] [stderr] Compiling num_cpus v1.16.0 [INFO] [stderr] Compiling unicode-bidi v0.3.15 [INFO] [stderr] Compiling ryu v1.0.17 [INFO] [stderr] Compiling serde_json v1.0.114 [INFO] [stderr] Compiling openssl-sys v0.9.101 [INFO] [stderr] Compiling tower-service v0.3.2 [INFO] [stderr] Compiling unicode-normalization v0.1.23 [INFO] [stderr] Compiling ucd-trie v0.1.6 [INFO] [stderr] Compiling openssl v0.10.64 [INFO] [stderr] Compiling hashbrown v0.14.3 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling http-body v0.4.6 [INFO] [stderr] Compiling httpdate v1.0.3 [INFO] [stderr] Compiling bitflags v2.4.2 [INFO] [stderr] Compiling native-tls v0.2.11 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling try-lock v0.2.5 [INFO] [stderr] Compiling async-trait v0.1.77 [INFO] [stderr] Compiling want v0.3.1 [INFO] [stderr] Compiling idna v0.5.0 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling indexmap v2.2.5 [INFO] [stderr] Compiling openssl-probe v0.1.5 [INFO] [stderr] Compiling base64 v0.21.7 [INFO] [stderr] Compiling mime v0.3.17 [INFO] [stderr] Compiling sha1 v0.10.6 [INFO] [stderr] Compiling hashbrown v0.12.3 [INFO] [stderr] Compiling url v2.5.0 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling regex-syntax v0.6.29 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling dlv-list v0.3.0 [INFO] [stderr] Compiling regex-syntax v0.8.2 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling axum-core v0.3.4 [INFO] [stderr] Compiling ordered-multimap v0.4.3 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling opaque-debug v0.3.1 [INFO] [stderr] Compiling overload v0.1.1 [INFO] [stderr] Compiling subtle v2.5.0 [INFO] [stderr] Compiling data-encoding v2.5.0 [INFO] [stderr] Compiling signature v1.6.4 [INFO] [stderr] Compiling linked-hash-map v0.5.6 [INFO] [stderr] Compiling base64 v0.13.1 [INFO] [stderr] Compiling tower-layer v0.3.2 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling sync_wrapper v0.1.2 [INFO] [stderr] Compiling utf-8 v0.7.6 [INFO] [stderr] Compiling yaml-rust v0.4.5 [INFO] [stderr] Compiling ed25519 v1.5.3 [INFO] [stderr] Compiling nu-ansi-term v0.46.0 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling sha2 v0.9.9 [INFO] [stderr] Compiling rust-ini v0.18.0 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling sharded-slab v0.1.7 [INFO] [stderr] Compiling rustls-pemfile v1.0.4 [INFO] [stderr] Compiling regex-automata v0.4.6 [INFO] [stderr] Compiling regex-automata v0.1.10 [INFO] [stderr] Compiling axum v0.6.20 [INFO] [stderr] Compiling headers-core v0.2.0 [INFO] [stderr] Compiling tracing-log v0.2.0 [INFO] [stderr] Compiling thread_local v1.1.8 [INFO] [stderr] Compiling matchers v0.1.0 [INFO] [stderr] Compiling encoding_rs v0.8.33 [INFO] [stderr] Compiling ipnet v2.9.0 [INFO] [stderr] Compiling pathdiff v0.2.1 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Compiling smallvec v1.13.1 [INFO] [stderr] Compiling headers v0.3.9 [INFO] [stderr] Compiling signal-hook-registry v1.4.1 [INFO] [stderr] Compiling md5 v0.7.0 [INFO] [stderr] Compiling matchit v0.7.3 [INFO] [stderr] Compiling signal-hook v0.3.17 [INFO] [stderr] Compiling serde_derive v1.0.197 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Compiling thiserror-impl v1.0.57 [INFO] [stderr] Compiling tokio-macros v2.2.0 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling tokio v1.36.0 [INFO] [stderr] Compiling futures-util v0.3.30 [INFO] [stderr] Compiling pest v2.7.8 [INFO] [stderr] Compiling zeroize_derive v1.4.2 [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Compiling pin-project-internal v1.1.5 [INFO] [stderr] Compiling zeroize v1.3.0 [INFO] [stderr] Compiling curve25519-dalek v3.2.1 [INFO] [stderr] Compiling tungstenite v0.20.1 [INFO] [stderr] Compiling pest_meta v2.7.8 [INFO] [stderr] Compiling regex v1.10.3 [INFO] [stderr] Compiling pin-project v1.1.5 [INFO] [stderr] Compiling axum-macros v0.3.8 [INFO] [stderr] Compiling pest_generator v2.7.8 [INFO] [stderr] Compiling futures-executor v0.3.30 [INFO] [stderr] Compiling tokio-util v0.7.10 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling futures v0.3.30 [INFO] [stderr] Compiling tokio-tungstenite v0.20.1 [INFO] [stderr] Compiling tower v0.4.13 [INFO] [stderr] Compiling pest_derive v2.7.8 [INFO] [stderr] Compiling h2 v0.3.24 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling tracing-serde v0.1.3 [INFO] [stderr] Compiling json5 v0.4.1 [INFO] [stderr] Compiling toml v0.5.11 [INFO] [stderr] Compiling ron v0.7.1 [INFO] [stderr] Compiling serde_path_to_error v0.1.15 [INFO] [stderr] Compiling uuid v1.7.0 [INFO] [stderr] Compiling ed25519-dalek v1.0.1 [INFO] [stderr] Compiling tracing-subscriber v0.3.18 [INFO] [stderr] Compiling config v0.13.4 [INFO] [stderr] Compiling hyper v0.14.28 [INFO] [stderr] Compiling hyper-tls v0.5.0 [INFO] [stderr] Compiling reqwest v0.11.24 [INFO] [stderr] Compiling pbft-core v0.1.0 (/opt/rustwide/workdir/pbft-core) [INFO] [stdout] warning: field `sequence` is never read [INFO] [stdout] --> pbft-core/src/pbft_state.rs:165:9 [INFO] [stdout] | [INFO] [stdout] 163 | pub struct CheckpointConsensusState { [INFO] [stdout] | ------------------------ field in this struct [INFO] [stdout] 164 | pub digest: CheckpointDigest, [INFO] [stdout] 165 | pub sequence: u64, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `sequence` is never read [INFO] [stdout] --> pbft-core/src/message_store.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 14 | Null { sequence: u64 }, [INFO] [stdout] | ---- ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> pbft-core/src/broadcast.rs:57:91 [INFO] [stdout] | [INFO] [stdout] 57 | pub fn serde_error(context: &'static str) -> impl FnOnce(serde_json::Error) -> Self + '_ { [INFO] [stdout] | ------- the lifetime is named here ^^ the same lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: consistently use `'static` [INFO] [stdout] | [INFO] [stdout] 57 - pub fn serde_error(context: &'static str) -> impl FnOnce(serde_json::Error) -> Self + '_ { [INFO] [stdout] 57 + pub fn serde_error(context: &'static str) -> impl FnOnce(serde_json::Error) -> Self + 'static { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling kv-node v0.1.0 (/opt/rustwide/workdir/kv-node) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2m 44s [INFO] running `Command { std: "docker" "inspect" "1a94871d563ac6496427d85a0738ce4a2d978a78ad8996f3f1ae6961c56abcb1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1a94871d563ac6496427d85a0738ce4a2d978a78ad8996f3f1ae6961c56abcb1", kill_on_drop: false }` [INFO] [stdout] 1a94871d563ac6496427d85a0738ce4a2d978a78ad8996f3f1ae6961c56abcb1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8646ac6b34a55cdb66329f5c22bd602eaac94839253e263870f154960ae03eda [INFO] running `Command { std: "docker" "start" "-a" "8646ac6b34a55cdb66329f5c22bd602eaac94839253e263870f154960ae03eda", kill_on_drop: false }` [INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"` [INFO] [stderr] note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest [INFO] [stderr] note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest [INFO] [stderr] note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions [INFO] [stderr] Compiling pbft-core v0.1.0 (/opt/rustwide/workdir/pbft-core) [INFO] [stderr] Compiling kv-node v0.1.0 (/opt/rustwide/workdir/kv-node) [INFO] [stdout] warning: field `sequence` is never read [INFO] [stdout] --> pbft-core/src/pbft_state.rs:165:9 [INFO] [stdout] | [INFO] [stdout] 163 | pub struct CheckpointConsensusState { [INFO] [stdout] | ------------------------ field in this struct [INFO] [stdout] 164 | pub digest: CheckpointDigest, [INFO] [stdout] 165 | pub sequence: u64, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `sequence` is never read [INFO] [stdout] --> pbft-core/src/message_store.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 14 | Null { sequence: u64 }, [INFO] [stdout] | ---- ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> pbft-core/src/broadcast.rs:57:91 [INFO] [stdout] | [INFO] [stdout] 57 | pub fn serde_error(context: &'static str) -> impl FnOnce(serde_json::Error) -> Self + '_ { [INFO] [stdout] | ------- the lifetime is named here ^^ the same lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: consistently use `'static` [INFO] [stdout] | [INFO] [stdout] 57 - pub fn serde_error(context: &'static str) -> impl FnOnce(serde_json::Error) -> Self + '_ { [INFO] [stdout] 57 + pub fn serde_error(context: &'static str) -> impl FnOnce(serde_json::Error) -> Self + 'static { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `sequence` is never read [INFO] [stdout] --> pbft-core/src/pbft_state.rs:165:9 [INFO] [stdout] | [INFO] [stdout] 163 | pub struct CheckpointConsensusState { [INFO] [stdout] | ------------------------ field in this struct [INFO] [stdout] 164 | pub digest: CheckpointDigest, [INFO] [stdout] 165 | pub sequence: u64, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `sequence` is never read [INFO] [stdout] --> pbft-core/src/message_store.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 14 | Null { sequence: u64 }, [INFO] [stdout] | ---- ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> pbft-core/src/broadcast.rs:57:91 [INFO] [stdout] | [INFO] [stdout] 57 | pub fn serde_error(context: &'static str) -> impl FnOnce(serde_json::Error) -> Self + '_ { [INFO] [stdout] | ------- the lifetime is named here ^^ the same lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: consistently use `'static` [INFO] [stdout] | [INFO] [stdout] 57 - pub fn serde_error(context: &'static str) -> impl FnOnce(serde_json::Error) -> Self + '_ { [INFO] [stdout] 57 + pub fn serde_error(context: &'static str) -> impl FnOnce(serde_json::Error) -> Self + 'static { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 12.21s [INFO] running `Command { std: "docker" "inspect" "8646ac6b34a55cdb66329f5c22bd602eaac94839253e263870f154960ae03eda", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8646ac6b34a55cdb66329f5c22bd602eaac94839253e263870f154960ae03eda", kill_on_drop: false }` [INFO] [stdout] 8646ac6b34a55cdb66329f5c22bd602eaac94839253e263870f154960ae03eda