[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 master#c7f6aa2869acdbf014d094c6e427e554e160b6db for pr-146237-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSzymongib%2Fpbft-rust" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/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-3-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/Szymongib/pbft-rust on toolchain c7f6aa2869acdbf014d094c6e427e554e160b6db [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "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] [stderr] Downloading crates ... [INFO] [stderr] Downloaded windows-targets v0.52.4 [INFO] [stderr] Downloaded socket2 v0.5.6 [INFO] [stderr] Downloaded ryu v1.0.17 [INFO] [stderr] Downloaded serde v1.0.197 [INFO] [stderr] Downloaded dlv-list v0.3.0 [INFO] [stderr] Downloaded serde_derive v1.0.197 [INFO] [stderr] Downloaded serde_path_to_error v0.1.15 [INFO] [stderr] Downloaded pest_generator v2.7.8 [INFO] [stderr] Downloaded ordered-multimap v0.4.3 [INFO] [stderr] Downloaded pest_derive v2.7.8 [INFO] [stderr] Downloaded pest_meta v2.7.8 [INFO] [stderr] Downloaded indexmap v2.2.5 [INFO] [stderr] Downloaded bumpalo v3.15.4 [INFO] [stderr] Downloaded pest v2.7.8 [INFO] [stderr] Downloaded serde_json v1.0.114 [INFO] [stderr] Downloaded openssl-sys v0.9.101 [INFO] [stderr] Downloaded h2 v0.3.24 [INFO] [stderr] Downloaded reqwest v0.11.24 [INFO] [stderr] Downloaded cc v1.0.90 [INFO] [stderr] Downloaded ron v0.7.1 [INFO] [stderr] Downloaded rust-ini v0.18.0 [INFO] [stderr] Downloaded wasm-bindgen-futures v0.4.42 [INFO] [stderr] Downloaded uuid v1.7.0 [INFO] [stderr] Downloaded openssl v0.10.64 [INFO] [stderr] Downloaded windows_x86_64_gnullvm v0.52.4 [INFO] [stderr] Downloaded windows_aarch64_gnullvm v0.52.4 [INFO] [stderr] Downloaded windows_aarch64_msvc v0.52.4 [INFO] [stderr] Downloaded windows_x86_64_gnu v0.52.4 [INFO] [stderr] Downloaded windows_i686_gnu v0.52.4 [INFO] [stderr] Downloaded windows_i686_msvc v0.52.4 [INFO] [stderr] Downloaded windows_x86_64_msvc v0.52.4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7103bf47e2cf8b1486c1735e48f0b4725bb6c29b95db0c3bed9c5c7c616b74a6 [INFO] running `Command { std: "docker" "start" "-a" "7103bf47e2cf8b1486c1735e48f0b4725bb6c29b95db0c3bed9c5c7c616b74a6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7103bf47e2cf8b1486c1735e48f0b4725bb6c29b95db0c3bed9c5c7c616b74a6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7103bf47e2cf8b1486c1735e48f0b4725bb6c29b95db0c3bed9c5c7c616b74a6", kill_on_drop: false }` [INFO] [stdout] 7103bf47e2cf8b1486c1735e48f0b4725bb6c29b95db0c3bed9c5c7c616b74a6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 00d6325ff3b9382f06bab0f56d859ebc9ef317cd74161b84d189b9fb1f7d49cc [INFO] running `Command { std: "docker" "start" "-a" "00d6325ff3b9382f06bab0f56d859ebc9ef317cd74161b84d189b9fb1f7d49cc", 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 libc v0.2.153 [INFO] [stderr] Compiling memchr v2.7.1 [INFO] [stderr] Compiling itoa v1.0.10 [INFO] [stderr] Compiling serde v1.0.197 [INFO] [stderr] Compiling log v0.4.21 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling tracing-core v0.1.32 [INFO] [stderr] Compiling thiserror v1.0.57 [INFO] [stderr] Compiling cc v1.0.90 [INFO] [stderr] Compiling ppv-lite86 v0.2.17 [INFO] [stderr] Compiling cpufeatures v0.2.12 [INFO] [stderr] Compiling unicode-normalization v0.1.23 [INFO] [stderr] Compiling ahash v0.7.8 [INFO] [stderr] Compiling ryu v1.0.17 [INFO] [stderr] Compiling ucd-trie v0.1.6 [INFO] [stderr] Compiling http v0.2.12 [INFO] [stderr] Compiling serde_json v1.0.114 [INFO] [stderr] Compiling openssl v0.10.64 [INFO] [stderr] Compiling hashbrown v0.14.3 [INFO] [stderr] Compiling bitflags v2.4.2 [INFO] [stderr] Compiling async-trait v0.1.77 [INFO] [stderr] Compiling regex-syntax v0.6.29 [INFO] [stderr] Compiling idna v0.5.0 [INFO] [stderr] Compiling dlv-list v0.3.0 [INFO] [stderr] Compiling regex-syntax v0.8.2 [INFO] [stderr] Compiling axum-core v0.3.4 [INFO] [stderr] Compiling overload v0.1.1 [INFO] [stderr] Compiling tower-layer v0.3.2 [INFO] [stderr] Compiling subtle v2.5.0 [INFO] [stderr] Compiling data-encoding v2.5.0 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling yaml-rust v0.4.5 [INFO] [stderr] Compiling tracing-log v0.2.0 [INFO] [stderr] Compiling nu-ansi-term v0.46.0 [INFO] [stderr] Compiling sharded-slab v0.1.7 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Compiling openssl-sys v0.9.101 [INFO] [stderr] Compiling indexmap v2.2.5 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling http-body v0.4.6 [INFO] [stderr] Compiling syn v2.0.52 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling url v2.5.0 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling headers-core v0.2.0 [INFO] [stderr] Compiling axum v0.6.20 [INFO] [stderr] Compiling regex-automata v0.1.10 [INFO] [stderr] Compiling sha2 v0.9.9 [INFO] [stderr] Compiling thread_local v1.1.8 [INFO] [stderr] Compiling getrandom v0.2.12 [INFO] [stderr] Compiling num_cpus v1.16.0 [INFO] [stderr] Compiling socket2 v0.5.6 [INFO] [stderr] Compiling mio v0.8.11 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling native-tls v0.2.11 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling sha1 v0.10.6 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling smallvec v1.13.1 [INFO] [stderr] Compiling signal-hook v0.3.17 [INFO] [stderr] Compiling hashbrown v0.12.3 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling regex-automata v0.4.6 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling signal-hook-registry v1.4.1 [INFO] [stderr] Compiling matchit v0.7.3 [INFO] [stderr] Compiling headers v0.3.9 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling matchers v0.1.0 [INFO] [stderr] Compiling ordered-multimap v0.4.3 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling md5 v0.7.0 [INFO] [stderr] Compiling rust-ini v0.18.0 [INFO] [stderr] Compiling regex v1.10.3 [INFO] [stderr] Compiling serde_derive v1.0.197 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Compiling tokio-macros v2.2.0 [INFO] [stderr] Compiling thiserror-impl v1.0.57 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling zeroize_derive v1.4.2 [INFO] [stderr] Compiling pin-project-internal v1.1.5 [INFO] [stderr] Compiling axum-macros v0.3.8 [INFO] [stderr] Compiling zeroize v1.3.0 [INFO] [stderr] Compiling tokio v1.36.0 [INFO] [stderr] Compiling futures-util v0.3.30 [INFO] [stderr] Compiling curve25519-dalek v3.2.1 [INFO] [stderr] Compiling pin-project v1.1.5 [INFO] [stderr] Compiling pest v2.7.8 [INFO] [stderr] Compiling tungstenite v0.20.1 [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Compiling pest_meta v2.7.8 [INFO] [stderr] Compiling pest_generator v2.7.8 [INFO] [stderr] Compiling pest_derive v2.7.8 [INFO] [stderr] Compiling futures-executor v0.3.30 [INFO] [stderr] Compiling futures v0.3.30 [INFO] [stderr] Compiling tokio-util v0.7.10 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling tower v0.4.13 [INFO] [stderr] Compiling tokio-tungstenite v0.20.1 [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 ed25519-dalek v1.0.1 [INFO] [stderr] Compiling uuid v1.7.0 [INFO] [stderr] Compiling serde_path_to_error v0.1.15 [INFO] [stderr] Compiling h2 v0.3.24 [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/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] = 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/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] [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 1m 08s [INFO] running `Command { std: "docker" "inspect" "00d6325ff3b9382f06bab0f56d859ebc9ef317cd74161b84d189b9fb1f7d49cc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "00d6325ff3b9382f06bab0f56d859ebc9ef317cd74161b84d189b9fb1f7d49cc", kill_on_drop: false }` [INFO] [stdout] 00d6325ff3b9382f06bab0f56d859ebc9ef317cd74161b84d189b9fb1f7d49cc [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] bf5227c7f80785cb7ac3a1836a66db23cda41c2ad333c913fd3b440ea5ca0d2a [INFO] running `Command { std: "docker" "start" "-a" "bf5227c7f80785cb7ac3a1836a66db23cda41c2ad333c913fd3b440ea5ca0d2a", 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/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] = 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/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] [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/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] = 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/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] [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 8.44s [INFO] running `Command { std: "docker" "inspect" "bf5227c7f80785cb7ac3a1836a66db23cda41c2ad333c913fd3b440ea5ca0d2a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bf5227c7f80785cb7ac3a1836a66db23cda41c2ad333c913fd3b440ea5ca0d2a", kill_on_drop: false }` [INFO] [stdout] bf5227c7f80785cb7ac3a1836a66db23cda41c2ad333c913fd3b440ea5ca0d2a