[INFO] cloning repository https://github.com/carlosb1/p2p-poc
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/carlosb1/p2p-poc" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcarlosb1%2Fp2p-poc", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcarlosb1%2Fp2p-poc'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 9632b26e72c0efc550dd92398fd0b4c9ca189352
[INFO] checking carlosb1/p2p-poc against try#b98202ad067d72e45cec8be3d5c15d86ef0fd086 for pr-155193
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcarlosb1%2Fp2p-poc" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/carlosb1/p2p-poc
[INFO] finished tweaking git repo https://github.com/carlosb1/p2p-poc
[INFO] tweaked toml for git repo https://github.com/carlosb1/p2p-poc written to /workspace/builds/worker-3-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/carlosb1/p2p-poc on toolchain b98202ad067d72e45cec8be3d5c15d86ef0fd086
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b98202ad067d72e45cec8be3d5c15d86ef0fd086" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/carlosb1/p2p-poc 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" "+b98202ad067d72e45cec8be3d5c15d86ef0fd086" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr] warning: /workspace/builds/worker-3-tc2/source/messages-p2p/Cargo.toml: unused manifest key: test-dependencies
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+b98202ad067d72e45cec8be3d5c15d86ef0fd086" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] b2f932aa101fcca85fa466a602f3c2baf0dabe7eedf2f047490ace7991985796
[INFO] running `Command { std: "docker" "start" "-a" "b2f932aa101fcca85fa466a602f3c2baf0dabe7eedf2f047490ace7991985796", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "b2f932aa101fcca85fa466a602f3c2baf0dabe7eedf2f047490ace7991985796", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "b2f932aa101fcca85fa466a602f3c2baf0dabe7eedf2f047490ace7991985796", kill_on_drop: false }`
[INFO] [stdout] b2f932aa101fcca85fa466a602f3c2baf0dabe7eedf2f047490ace7991985796
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+b98202ad067d72e45cec8be3d5c15d86ef0fd086" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] cbca99ee2296caaef88d80165f1ab606f05528d5bbaaa6fb5e38f398a28d5355
[INFO] running `Command { std: "docker" "start" "-a" "cbca99ee2296caaef88d80165f1ab606f05528d5bbaaa6fb5e38f398a28d5355", kill_on_drop: false }`
[INFO] [stderr] warning: /opt/rustwide/workdir/messages-p2p/Cargo.toml: unused manifest key: test-dependencies
[INFO] [stderr]    Compiling libc v0.2.172
[INFO] [stderr]    Compiling syn v2.0.104
[INFO] [stderr]    Compiling cc v1.2.23
[INFO] [stderr]     Checking hashbrown v0.15.3
[INFO] [stderr]    Compiling curve25519-dalek v4.1.3
[INFO] [stderr]    Compiling data-encoding v2.9.0
[INFO] [stderr]     Checking unsigned-varint v0.8.0
[INFO] [stderr]     Checking signature v2.2.0
[INFO] [stderr]     Checking quick-protobuf v0.8.1
[INFO] [stderr]     Checking core2 v0.4.0
[INFO] [stderr]     Checking digest v0.10.7
[INFO] [stderr]     Checking bs58 v0.5.1
[INFO] [stderr]     Checking base-x v0.2.11
[INFO] [stderr]     Checking unsigned-varint v0.7.2
[INFO] [stderr]    Compiling serde_json v1.0.140
[INFO] [stderr]     Checking bitflags v2.9.1
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]    Compiling moka v0.12.10
[INFO] [stderr]     Checking ed25519 v2.2.3
[INFO] [stderr]     Checking resolv-conf v0.7.4
[INFO] [stderr]     Checking multihash v0.19.3
[INFO] [stderr]    Compiling crunchy v0.2.3
[INFO] [stderr]     Checking event-listener v5.4.0
[INFO] [stderr]    Compiling snow v0.9.6
[INFO] [stderr]     Checking tagptr v0.2.0
[INFO] [stderr]    Compiling prometheus-client v0.22.3
[INFO] [stderr]    Compiling parking_lot_core v0.8.6
[INFO] [stderr]    Compiling rustix v1.0.7
[INFO] [stderr]     Checking dtoa v1.0.10
[INFO] [stderr]     Checking linux-raw-sys v0.9.4
[INFO] [stderr]    Compiling rustls v0.23.27
[INFO] [stderr]     Checking hex_fmt v0.3.0
[INFO] [stderr]     Checking sha2 v0.10.9
[INFO] [stderr]     Checking hmac v0.12.1
[INFO] [stderr]     Checking anstream v0.6.18
[INFO] [stderr]     Checking env_filter v0.1.3
[INFO] [stderr]     Checking hkdf v0.12.4
[INFO] [stderr]    Compiling target-lexicon v0.13.2
[INFO] [stderr]     Checking jiff v0.2.14
[INFO] [stderr]     Checking sha1 v0.10.6
[INFO] [stderr]     Checking event-listener-strategy v0.5.4
[INFO] [stderr]     Checking messages-types v0.1.0 (/opt/rustwide/workdir/messages-types)
[INFO] [stderr]     Checking uint v0.10.0
[INFO] [stderr]    Compiling rustversion v1.0.20
[INFO] [stderr]     Checking async-channel v2.3.1
[INFO] [stderr]     Checking nom v8.0.0
[INFO] [stderr]     Checking toml_write v0.1.1
[INFO] [stderr]     Checking indexmap v2.9.0
[INFO] [stderr]     Checking lru v0.12.5
[INFO] [stderr]     Checking winnow v0.7.10
[INFO] [stderr]    Compiling tiny-keccak v2.0.2
[INFO] [stderr]    Compiling time-macros v0.2.22
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]    Compiling rustc_version_runtime v0.3.0
[INFO] [stderr]     Checking linked-hash-map v0.5.6
[INFO] [stderr]    Compiling convert_case v0.8.0
[INFO] [stderr]     Checking num-integer v0.1.46
[INFO] [stderr]     Checking lru-cache v0.1.2
[INFO] [stderr]     Checking rustc_version v0.4.1
[INFO] [stderr]     Checking unicode-normalization v0.1.24
[INFO] [stderr]     Checking unicode-properties v0.1.3
[INFO] [stderr]     Checking num-bigint v0.4.6
[INFO] [stderr]     Checking pbkdf2 v0.11.0
[INFO] [stderr]    Compiling pyo3-build-config v0.25.1
[INFO] [stderr]     Checking md-5 v0.10.6
[INFO] [stderr]    Compiling ring v0.17.14
[INFO] [stderr]    Compiling openssl-sys v0.9.109
[INFO] [stderr]     Checking sha1_smol v1.0.1
[INFO] [stderr]     Checking humantime v2.2.0
[INFO] [stderr]     Checking take_mut v0.2.2
[INFO] [stderr]    Compiling getrandom v0.2.16
[INFO] [stderr]     Checking stringprep v0.1.5
[INFO] [stderr]     Checking parking_lot_core v0.9.10
[INFO] [stderr]     Checking signal-hook-registry v1.4.5
[INFO] [stderr]     Checking socket2 v0.5.9
[INFO] [stderr]     Checking mio v1.0.3
[INFO] [stderr]     Checking num_cpus v1.16.0
[INFO] [stderr]     Checking parking_lot v0.12.3
[INFO] [stderr]     Checking rand_core v0.6.4
[INFO] [stderr]     Checking getrandom v0.3.3
[INFO] [stderr]     Checking rand_chacha v0.3.1
[INFO] [stderr]     Checking rand_core v0.9.3
[INFO] [stderr]     Checking ahash v0.8.12
[INFO] [stderr]     Checking nix v0.26.4
[INFO] [stderr]    Compiling openssl v0.10.73
[INFO] [stderr]    Compiling native-tls v0.2.14
[INFO] [stderr]     Checking fs2 v0.4.3
[INFO] [stderr]    Compiling const-random-macro v0.1.16
[INFO] [stderr]     Checking rand v0.8.5
[INFO] [stderr]     Checking socket2 v0.6.0
[INFO] [stderr]     Checking rand_chacha v0.9.0
[INFO] [stderr]     Checking parking_lot v0.11.2
[INFO] [stderr]     Checking hashbrown v0.14.5
[INFO] [stderr]     Checking rand v0.9.1
[INFO] [stderr]     Checking tempfile v3.20.0
[INFO] [stderr]    Compiling const-random v0.1.18
[INFO] [stderr]     Checking sled v0.34.7
[INFO] [stderr]     Checking is-terminal v0.4.16
[INFO] [stderr]     Checking env_logger v0.10.2
[INFO] [stderr]     Checking hashlink v0.9.1
[INFO] [stderr]    Compiling pyo3-macros-backend v0.25.1
[INFO] [stderr]    Compiling pyo3-ffi v0.25.1
[INFO] [stderr]    Compiling pyo3 v0.25.1
[INFO] [stderr]     Checking iso8601 v0.6.3
[INFO] [stderr]    Compiling rustls v0.21.12
[INFO] [stderr]     Checking env_logger v0.11.8
[INFO] [stderr]     Checking sct v0.7.1
[INFO] [stderr]     Checking rustls-webpki v0.101.7
[INFO] [stderr]    Compiling synstructure v0.13.2
[INFO] [stderr]    Compiling darling_core v0.20.11
[INFO] [stderr]    Compiling futures-macro v0.3.31
[INFO] [stderr]    Compiling serde_derive v1.0.219
[INFO] [stderr]    Compiling tokio-macros v2.5.0
[INFO] [stderr]    Compiling zerofrom-derive v0.1.6
[INFO] [stderr]    Compiling yoke-derive v0.8.0
[INFO] [stderr]    Compiling zerovec-derive v0.11.1
[INFO] [stderr]    Compiling displaydoc v0.2.5
[INFO] [stderr]    Compiling tracing-attributes v0.1.28
[INFO] [stderr]    Compiling zeroize_derive v1.4.2
[INFO] [stderr]    Compiling thiserror-impl v2.0.12
[INFO] [stderr]    Compiling thiserror-impl v1.0.69
[INFO] [stderr]    Compiling curve25519-dalek-derive v0.1.1
[INFO] [stderr]    Compiling pin-project-internal v1.1.10
[INFO] [stderr]    Compiling data-encoding-macro-internal v0.1.16
[INFO] [stderr]    Compiling libp2p-swarm-derive v0.35.0
[INFO] [stderr]     Checking tokio v1.45.0
[INFO] [stderr]     Checking zeroize v1.8.1
[INFO] [stderr]     Checking data-encoding-macro v0.1.18
[INFO] [stderr]     Checking multibase v0.9.1
[INFO] [stderr]     Checking futures-util v0.3.31
[INFO] [stderr]    Compiling async-trait v0.1.88
[INFO] [stderr]    Compiling enum-as-inner v0.6.1
[INFO] [stderr]     Checking pin-project v1.1.10
[INFO] [stderr]    Compiling async-recursion v1.1.1
[INFO] [stderr]     Checking rustls-pki-types v1.12.0
[INFO] [stderr]    Compiling prometheus-client-derive-encode v0.4.2
[INFO] [stderr]     Checking thiserror v2.0.12
[INFO] [stderr]     Checking tracing v0.1.41
[INFO] [stderr]    Compiling openssl-macros v0.1.1
[INFO] [stderr]     Checking tungstenite v0.26.2
[INFO] [stderr]     Checking rustls-webpki v0.103.3
[INFO] [stderr]     Checking thiserror v1.0.69
[INFO] [stderr]     Checking zerofrom v0.1.6
[INFO] [stderr]     Checking netlink-packet-utils v0.5.2
[INFO] [stderr]     Checking yoke v0.8.0
[INFO] [stderr]     Checking webpki-roots v1.0.0
[INFO] [stderr]     Checking axum-core v0.5.2
[INFO] [stderr]     Checking netlink-packet-core v0.7.0
[INFO] [stderr]    Compiling macro_magic_core_macros v0.5.1
[INFO] [stderr]    Compiling derive-syn-parse v0.2.0
[INFO] [stderr]     Checking zerovec v0.11.2
[INFO] [stderr]     Checking zerotrie v0.2.2
[INFO] [stderr]     Checking ed25519-dalek v2.1.1
[INFO] [stderr]     Checking x25519-dalek v2.0.1
[INFO] [stderr]     Checking netlink-packet-route v0.17.1
[INFO] [stderr]    Compiling structmeta-derive v0.3.0
[INFO] [stderr]    Compiling typed-builder v0.10.0
[INFO] [stderr]    Compiling derive-where v1.6.0
[INFO] [stderr]     Checking libp2p-identity v0.2.11
[INFO] [stderr]    Compiling derive_more v0.99.20
[INFO] [stderr]    Compiling macro_magic_core v0.5.1
[INFO] [stderr]    Compiling darling_macro v0.20.11
[INFO] [stderr]     Checking tinystr v0.8.1
[INFO] [stderr]     Checking potential_utf v0.1.2
[INFO] [stderr]    Compiling darling v0.20.11
[INFO] [stderr]    Compiling serde_with_macros v3.14.0
[INFO] [stderr]     Checking icu_collections v2.0.0
[INFO] [stderr]    Compiling macro_magic_macros v0.5.1
[INFO] [stderr]    Compiling structmeta v0.3.0
[INFO] [stderr]     Checking serde v1.0.219
[INFO] [stderr]     Checking icu_locale_core v2.0.0
[INFO] [stderr]    Compiling meilisearch-index-setting-macro v0.29.1
[INFO] [stderr]     Checking futures-executor v0.3.31
[INFO] [stderr]     Checking asynchronous-codec v0.7.0
[INFO] [stderr]     Checking futures-bounded v0.2.4
[INFO] [stderr]    Compiling macro_magic v0.5.1
[INFO] [stderr]     Checking futures v0.3.31
[INFO] [stderr]    Compiling mongodb-internal-macros v3.2.5
[INFO] [stderr]     Checking multistream-select v0.13.0
[INFO] [stderr]     Checking rw-stream-sink v0.4.0
[INFO] [stderr]     Checking yamux v0.12.1
[INFO] [stderr]     Checking yamux v0.13.5
[INFO] [stderr]     Checking quick-protobuf-codec v0.3.1
[INFO] [stderr]    Compiling pyo3-macros v0.25.1
[INFO] [stderr]     Checking icu_provider v2.0.0
[INFO] [stderr]     Checking icu_properties v2.0.1
[INFO] [stderr]     Checking icu_normalizer v2.0.0
[INFO] [stderr]     Checking idna_adapter v1.2.1
[INFO] [stderr]     Checking idna v1.0.3
[INFO] [stderr]     Checking url v2.5.4
[INFO] [stderr]     Checking tokio-util v0.7.15
[INFO] [stderr]     Checking netlink-sys v0.8.7
[INFO] [stderr]     Checking tower v0.5.2
[INFO] [stderr]     Checking tokio-native-tls v0.3.1
[INFO] [stderr]     Checking tokio-rustls v0.26.2
[INFO] [stderr]     Checking tokio-tungstenite v0.26.2
[INFO] [stderr]     Checking tokio-rustls v0.24.1
[INFO] [stderr]     Checking either v1.15.0
[INFO] [stderr]     Checking uuid v1.17.0
[INFO] [stderr]     Checking chrono v0.4.41
[INFO] [stderr]     Checking serde_urlencoded v0.7.1
[INFO] [stderr]     Checking serde_spanned v0.6.8
[INFO] [stderr]     Checking toml_datetime v0.6.9
[INFO] [stderr]     Checking serde_path_to_error v0.1.17
[INFO] [stderr]     Checking netlink-proto v0.11.5
[INFO] [stderr]     Checking deranged v0.4.0
[INFO] [stderr]     Checking toml_edit v0.22.26
[INFO] [stderr]     Checking serde_bytes v0.11.17
[INFO] [stderr]     Checking yaup v0.3.1
[INFO] [stderr]     Checking serde_with v3.14.0
[INFO] [stderr]     Checking rtnetlink v0.13.1
[INFO] [stderr]     Checking multiaddr v0.18.2
[INFO] [stderr]     Checking hickory-proto v0.25.0-alpha.5
[INFO] [stderr]     Checking hickory-proto v0.24.4
[INFO] [stderr]     Checking h2 v0.4.10
[INFO] [stderr]     Checking combine v4.6.7
[INFO] [stderr]     Checking tower-http v0.6.6
[INFO] [stderr]     Checking if-watch v3.2.1
[INFO] [stderr]     Checking jsonwebtoken v9.3.1
[INFO] [stderr]     Checking libp2p-core v0.43.0
[INFO] [stderr]     Checking time v0.3.41
[INFO] [stderr]     Checking libp2p-swarm v0.46.0
[INFO] [stderr]     Checking libp2p-tcp v0.43.0
[INFO] [stderr]     Checking libp2p-yamux v0.47.0
[INFO] [stderr]     Checking libp2p-noise v0.46.0
[INFO] [stderr]     Checking toml v0.8.22
[INFO] [stderr]     Checking bson v2.15.0
[INFO] [stderr]     Checking libp2p-relay v0.19.0
[INFO] [stderr]     Checking libp2p-request-response v0.28.0
[INFO] [stderr]     Checking libp2p-connection-limits v0.5.0
[INFO] [stderr]     Checking libp2p-identify v0.46.0
[INFO] [stderr]     Checking libp2p-allow-block-list v0.5.0
[INFO] [stderr]     Checking libp2p-gossipsub v0.48.0
[INFO] [stderr]     Checking libp2p-kad v0.47.0
[INFO] [stderr]     Checking hickory-resolver v0.25.0-alpha.5
[INFO] [stderr]     Checking libp2p-mdns v0.47.0
[INFO] [stderr]     Checking hickory-resolver v0.24.4
[INFO] [stderr]     Checking libp2p-dns v0.43.0
[INFO] [stderr]     Checking hyper v1.6.0
[INFO] [stderr]     Checking mongodb v3.2.5
[INFO] [stderr]     Checking redis v0.32.5
[INFO] [stderr]     Checking hyper-util v0.1.12
[INFO] [stderr]     Checking libp2p v0.55.0
[INFO] [stderr]     Checking protocol-p2p v0.1.0 (/opt/rustwide/workdir/protocol-p2p)
[INFO] [stdout] warning: unused imports: `Deserialize` and `Serialize`
[INFO] [stdout]  --> protocol-p2p/src/client.rs:7:13
[INFO] [stdout]   |
[INFO] [stdout] 7 | use serde::{Deserialize, Serialize};
[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: `VoteStatus`
[INFO] [stdout]   --> protocol-p2p/src/client.rs:16:38
[INFO] [stdout]    |
[INFO] [stdout] 16 | use crate::models::db::{DataContent, VoteStatus};
[INFO] [stdout]    |                                      ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `models`
[INFO] [stdout]   --> protocol-p2p/src/client.rs:20:9
[INFO] [stdout]    |
[INFO] [stdout] 20 |     db, models, DEFAULT_REPUTATION, MEMBERS_FOR_CONSENSUS, MIN_REPUTATION_THRESHOLD, TIMEOUT_SECS,
[INFO] [stdout]    |         ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]    --> protocol-p2p/src/client.rs:127:12
[INFO] [stdout]     |
[INFO] [stdout] 127 |         if (votation.leader_id == self.peer_id.to_string()) {
[INFO] [stdout]     |            ^                                              ^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 127 -         if (votation.leader_id == self.peer_id.to_string()) {
[INFO] [stdout] 127 +         if votation.leader_id == self.peer_id.to_string()  {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Deserialize` and `Serialize`
[INFO] [stdout]  --> protocol-p2p/src/models.rs:1:13
[INFO] [stdout]   |
[INFO] [stdout] 1 | use serde::{Deserialize, Serialize};
[INFO] [stdout]   |             ^^^^^^^^^^^  ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `VoteStatus`
[INFO] [stdout]  --> protocol-p2p/src/db.rs:1:69
[INFO] [stdout]   |
[INFO] [stdout] 1 | use crate::models::db::{DataContent, StateContent, Topic, Votation, VoteStatus};
[INFO] [stdout]   |                                                                     ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `chrono::Utc`
[INFO] [stdout]  --> protocol-p2p/src/db.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use chrono::Utc;
[INFO] [stdout]   |     ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::sync::Arc`
[INFO] [stdout]   --> protocol-p2p/src/db.rs:10:5
[INFO] [stdout]    |
[INFO] [stdout] 10 | use std::sync::Arc;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Deserialize` and `Serialize`
[INFO] [stdout]  --> protocol-p2p/src/client.rs:7:13
[INFO] [stdout]   |
[INFO] [stdout] 7 | use serde::{Deserialize, Serialize};
[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: `VoteStatus`
[INFO] [stdout]   --> protocol-p2p/src/client.rs:16:38
[INFO] [stdout]    |
[INFO] [stdout] 16 | use crate::models::db::{DataContent, VoteStatus};
[INFO] [stdout]    |                                      ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `models`
[INFO] [stdout]   --> protocol-p2p/src/client.rs:20:9
[INFO] [stdout]    |
[INFO] [stdout] 20 |     db, models, DEFAULT_REPUTATION, MEMBERS_FOR_CONSENSUS, MIN_REPUTATION_THRESHOLD, TIMEOUT_SECS,
[INFO] [stdout]    |         ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]    --> protocol-p2p/src/client.rs:127:12
[INFO] [stdout]     |
[INFO] [stdout] 127 |         if (votation.leader_id == self.peer_id.to_string()) {
[INFO] [stdout]     |            ^                                              ^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 127 -         if (votation.leader_id == self.peer_id.to_string()) {
[INFO] [stdout] 127 +         if votation.leader_id == self.peer_id.to_string()  {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Deserialize` and `Serialize`
[INFO] [stdout]  --> protocol-p2p/src/models.rs:1:13
[INFO] [stdout]   |
[INFO] [stdout] 1 | use serde::{Deserialize, Serialize};
[INFO] [stdout]   |             ^^^^^^^^^^^  ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `StateContent` and `VoteStatus`
[INFO] [stdout]  --> protocol-p2p/src/db.rs:1:38
[INFO] [stdout]   |
[INFO] [stdout] 1 | use crate::models::db::{DataContent, StateContent, Topic, Votation, VoteStatus};
[INFO] [stdout]   |                                      ^^^^^^^^^^^^                   ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `db`
[INFO] [stdout]  --> protocol-p2p/src/db.rs:3:13
[INFO] [stdout]   |
[INFO] [stdout] 3 | use crate::{db, models};
[INFO] [stdout]   |             ^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `chrono::Utc`
[INFO] [stdout]  --> protocol-p2p/src/db.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use chrono::Utc;
[INFO] [stdout]   |     ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::sync::Arc`
[INFO] [stdout]   --> protocol-p2p/src/db.rs:10:5
[INFO] [stdout]    |
[INFO] [stdout] 10 | use std::sync::Arc;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> protocol-p2p/src/handler.rs:116:30
[INFO] [stdout]     |
[INFO] [stdout] 116 |                     let Some(mut votation) = db::get_status_vote(&db, &id_votation) else {
[INFO] [stdout]     |                              ----^^^^^^^^
[INFO] [stdout]     |                              |
[INFO] [stdout]     |                              help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> protocol-p2p/src/handler.rs:116:30
[INFO] [stdout]     |
[INFO] [stdout] 116 |                     let Some(mut votation) = db::get_status_vote(&db, &id_votation) else {
[INFO] [stdout]     |                              ----^^^^^^^^
[INFO] [stdout]     |                              |
[INFO] [stdout]     |                              help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `find_key`
[INFO] [stdout]    --> protocol-p2p/src/db.rs:248:24
[INFO] [stdout]     |
[INFO] [stdout] 248 |             if let Ok((find_key, value)) = item {
[INFO] [stdout]     |                        ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_find_key`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> protocol-p2p/src/db.rs:441:9
[INFO] [stdout]     |
[INFO] [stdout] 441 |     let mut result = get_status_vote(&db, &vote.id_votation).unwrap();
[INFO] [stdout]     |         ----^^^^^^
[INFO] [stdout]     |         |
[INFO] [stdout]     |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `find_key`
[INFO] [stdout]    --> protocol-p2p/src/db.rs:248:24
[INFO] [stdout]     |
[INFO] [stdout] 248 |             if let Ok((find_key, value)) = item {
[INFO] [stdout]     |                        ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_find_key`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `StateContent` and `VoteStatus`
[INFO] [stdout]  --> protocol-p2p/src/db.rs:1:38
[INFO] [stdout]   |
[INFO] [stdout] 1 | use crate::models::db::{DataContent, StateContent, Topic, Votation, VoteStatus};
[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: `db`
[INFO] [stdout]  --> protocol-p2p/src/db.rs:3:13
[INFO] [stdout]   |
[INFO] [stdout] 3 | use crate::{db, models};
[INFO] [stdout]   |             ^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `chrono::Utc`
[INFO] [stdout]  --> protocol-p2p/src/db.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use chrono::Utc;
[INFO] [stdout]   |     ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::sync::Arc`
[INFO] [stdout]   --> protocol-p2p/src/db.rs:10:5
[INFO] [stdout]    |
[INFO] [stdout] 10 | use std::sync::Arc;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Deserialize` and `Serialize`
[INFO] [stdout]  --> protocol-p2p/src/models.rs:1:13
[INFO] [stdout]   |
[INFO] [stdout] 1 | use serde::{Deserialize, Serialize};
[INFO] [stdout]   |             ^^^^^^^^^^^  ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `VoteStatus`
[INFO] [stdout]  --> protocol-p2p/src/db.rs:1:69
[INFO] [stdout]   |
[INFO] [stdout] 1 | use crate::models::db::{DataContent, StateContent, Topic, Votation, VoteStatus};
[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: `chrono::Utc`
[INFO] [stdout]  --> protocol-p2p/src/db.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use chrono::Utc;
[INFO] [stdout]   |     ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::sync::Arc`
[INFO] [stdout]   --> protocol-p2p/src/db.rs:10:5
[INFO] [stdout]    |
[INFO] [stdout] 10 | use std::sync::Arc;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Deserialize` and `Serialize`
[INFO] [stdout]  --> protocol-p2p/src/models.rs:1:13
[INFO] [stdout]   |
[INFO] [stdout] 1 | use serde::{Deserialize, Serialize};
[INFO] [stdout]   |             ^^^^^^^^^^^  ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `find_key`
[INFO] [stdout]    --> protocol-p2p/src/db.rs:248:24
[INFO] [stdout]     |
[INFO] [stdout] 248 |             if let Ok((find_key, value)) = item {
[INFO] [stdout]     |                        ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_find_key`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Checking hyper-tls v0.6.0
[INFO] [stderr]     Checking hyper-rustls v0.27.7
[INFO] [stderr]     Checking axum v0.8.4
[INFO] [stdout] warning: function `create_key_for_voting_db` is never used
[INFO] [stdout]   --> protocol-p2p/src/db.rs:12:8
[INFO] [stdout]    |
[INFO] [stdout] 12 | pub fn create_key_for_voting_db(
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `create_key_without_status` is never used
[INFO] [stdout]   --> protocol-p2p/src/db.rs:26:8
[INFO] [stdout]    |
[INFO] [stdout] 26 | pub fn create_key_without_status(content_id: &str, topic: &str) -> String {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `default_hash` is never used
[INFO] [stdout]   --> protocol-p2p/src/db.rs:31:4
[INFO] [stdout]    |
[INFO] [stdout] 31 | fn default_hash(content_id: &str) -> u64 {
[INFO] [stdout]    |    ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `store_voter` is never used
[INFO] [stdout]   --> protocol-p2p/src/db.rs:55:8
[INFO] [stdout]    |
[INFO] [stdout] 55 | pub fn store_voter(
[INFO] [stdout]    |        ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_reputation` is never used
[INFO] [stdout]   --> protocol-p2p/src/db.rs:98:8
[INFO] [stdout]    |
[INFO] [stdout] 98 | pub fn get_reputation(db: &sled::Db, topic: &str, peer_id: &str) -> Option<f32> {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `set_reputation` is never used
[INFO] [stdout]    --> protocol-p2p/src/db.rs:109:8
[INFO] [stdout]     |
[INFO] [stdout] 109 | pub fn set_reputation(
[INFO] [stdout]     |        ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `update_reputations` is never used
[INFO] [stdout]    --> protocol-p2p/src/db.rs:145:8
[INFO] [stdout]     |
[INFO] [stdout] 145 | pub fn update_reputations(
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_topics` is never used
[INFO] [stdout]    --> protocol-p2p/src/db.rs:175:14
[INFO] [stdout]     |
[INFO] [stdout] 175 | pub async fn get_topics(db: &Db) -> Vec<Topic> {
[INFO] [stdout]     |              ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `save_topic` is never used
[INFO] [stdout]    --> protocol-p2p/src/db.rs:187:14
[INFO] [stdout]     |
[INFO] [stdout] 187 | pub async fn save_topic(db: &Db, topic: &Topic) -> anyhow::Result<()> {
[INFO] [stdout]     |              ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `include_new_validated_content` is never used
[INFO] [stdout]    --> protocol-p2p/src/db.rs:196:8
[INFO] [stdout]     |
[INFO] [stdout] 196 | pub fn include_new_validated_content(
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `my_pending_content_to_validate` is never used
[INFO] [stdout]    --> protocol-p2p/src/db.rs:221:8
[INFO] [stdout]     |
[INFO] [stdout] 221 | pub fn my_pending_content_to_validate(db: &Db, data_content: &DataContent) -> anyhow::Result<()> {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_my_pending_to_contents_to_validate` is never used
[INFO] [stdout]    --> protocol-p2p/src/db.rs:230:8
[INFO] [stdout]     |
[INFO] [stdout] 230 | pub fn get_my_pending_to_contents_to_validate(db: &Db) -> Vec<models::db::DataContent> {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_votes` is never used
[INFO] [stdout]    --> protocol-p2p/src/db.rs:244:8
[INFO] [stdout]     |
[INFO] [stdout] 244 | pub fn get_votes(db: &Db, id_votation: &str) -> Vec<(String, Vote)> {
[INFO] [stdout]     |        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `exists_vote` is never used
[INFO] [stdout]    --> protocol-p2p/src/db.rs:260:8
[INFO] [stdout]     |
[INFO] [stdout] 260 | pub fn exists_vote(db: &Db, id_votation: &str, peer_id: &str) -> anyhow::Result<bool> {
[INFO] [stdout]     |        ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `add_vote` is never used
[INFO] [stdout]    --> protocol-p2p/src/db.rs:266:8
[INFO] [stdout]     |
[INFO] [stdout] 266 | pub fn add_vote(db: &Db, id_votation: &str, peer_id: &str, vote: &Vote) -> anyhow::Result<()> {
[INFO] [stdout]     |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `new_status_vote` is never used
[INFO] [stdout]    --> protocol-p2p/src/db.rs:276:8
[INFO] [stdout]     |
[INFO] [stdout] 276 | pub fn new_status_vote(
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_status_vote` is never used
[INFO] [stdout]    --> protocol-p2p/src/db.rs:296:8
[INFO] [stdout]     |
[INFO] [stdout] 296 | pub fn get_status_vote(db: &sled::Db, id_votation: &str) -> Option<Votation> {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_status_voteses` is never used
[INFO] [stdout]    --> protocol-p2p/src/db.rs:303:8
[INFO] [stdout]     |
[INFO] [stdout] 303 | pub fn get_status_voteses(db: &sled::Db) -> Vec<Votation> {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `compare_and_swap_status_vote` is never used
[INFO] [stdout]    --> protocol-p2p/src/db.rs:316:8
[INFO] [stdout]     |
[INFO] [stdout] 316 | pub fn compare_and_swap_status_vote(
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Topic` is never constructed
[INFO] [stdout]  --> protocol-p2p/src/models.rs:9:16
[INFO] [stdout]   |
[INFO] [stdout] 9 |     pub struct Topic {
[INFO] [stdout]   |                ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> protocol-p2p/src/models.rs:15:16
[INFO] [stdout]    |
[INFO] [stdout] 14 |     impl Topic {
[INFO] [stdout]    |     ---------- associated function in this implementation
[INFO] [stdout] 15 |         pub fn new(name: &str, description: &str) -> Self {
[INFO] [stdout]    |                ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Votation` is never constructed
[INFO] [stdout]   --> protocol-p2p/src/models.rs:24:16
[INFO] [stdout]    |
[INFO] [stdout] 24 |     pub struct Votation {
[INFO] [stdout]    |                ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> protocol-p2p/src/models.rs:35:16
[INFO] [stdout]    |
[INFO] [stdout] 34 |     impl Votation {
[INFO] [stdout]    |     ------------- associated function in this implementation
[INFO] [stdout] 35 |         pub fn new(
[INFO] [stdout]    |                ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `VoteStatus` is never used
[INFO] [stdout]   --> protocol-p2p/src/models.rs:55:14
[INFO] [stdout]    |
[INFO] [stdout] 55 |     pub enum VoteStatus {
[INFO] [stdout]    |              ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> protocol-p2p/src/models.rs:75:16
[INFO] [stdout]    |
[INFO] [stdout] 74 |     impl DataContent {
[INFO] [stdout]    |     ---------------- associated function in this implementation
[INFO] [stdout] 75 |         pub fn new(id_votation: String, content: String, approved: bool) -> Self {
[INFO] [stdout]    |                ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: static `DEFAULT_TOPIC` is never used
[INFO] [stdout]    --> protocol-p2p/src/models.rs:168:16
[INFO] [stdout]     |
[INFO] [stdout] 168 |     pub static DEFAULT_TOPIC: Lazy<IdentTopic> = Lazy::new(|| IdentTopic::new("chat-room"));
[INFO] [stdout]     |                ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `Vote` is never used
[INFO] [stdout]    --> protocol-p2p/src/models.rs:171:14
[INFO] [stdout]     |
[INFO] [stdout] 171 |     pub enum Vote {
[INFO] [stdout]     |              ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `ContentMessage` is never used
[INFO] [stdout]    --> protocol-p2p/src/models.rs:178:14
[INFO] [stdout]     |
[INFO] [stdout] 178 |     pub enum ContentMessage {
[INFO] [stdout]     |              ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new_vote_leader_request` is never used
[INFO] [stdout]    --> protocol-p2p/src/models.rs:210:16
[INFO] [stdout]     |
[INFO] [stdout] 209 |     impl ContentMessage {
[INFO] [stdout]     |     ------------------- associated function in this implementation
[INFO] [stdout] 210 |         pub fn new_vote_leader_request(
[INFO] [stdout]     |                ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `find_key`
[INFO] [stdout]    --> protocol-p2p/src/db.rs:248:24
[INFO] [stdout]     |
[INFO] [stdout] 248 |             if let Ok((find_key, value)) = item {
[INFO] [stdout]     |                        ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_find_key`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Checking reqwest v0.12.23
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> protocol-p2p/src/db.rs:441:9
[INFO] [stdout]     |
[INFO] [stdout] 441 |     let mut result = get_status_vote(&db, &vote.id_votation).unwrap();
[INFO] [stdout]     |         ----^^^^^^
[INFO] [stdout]     |         |
[INFO] [stdout]     |         help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `update_reputations` is never used
[INFO] [stdout]    --> protocol-p2p/src/db.rs:145:8
[INFO] [stdout]     |
[INFO] [stdout] 145 | pub fn update_reputations(
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_topics` is never used
[INFO] [stdout]    --> protocol-p2p/src/db.rs:175:14
[INFO] [stdout]     |
[INFO] [stdout] 175 | pub async fn get_topics(db: &Db) -> Vec<Topic> {
[INFO] [stdout]     |              ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `save_topic` is never used
[INFO] [stdout]    --> protocol-p2p/src/db.rs:187:14
[INFO] [stdout]     |
[INFO] [stdout] 187 | pub async fn save_topic(db: &Db, topic: &Topic) -> anyhow::Result<()> {
[INFO] [stdout]     |              ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `my_pending_content_to_validate` is never used
[INFO] [stdout]    --> protocol-p2p/src/db.rs:221:8
[INFO] [stdout]     |
[INFO] [stdout] 221 | pub fn my_pending_content_to_validate(db: &Db, data_content: &DataContent) -> anyhow::Result<()> {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_my_pending_to_contents_to_validate` is never used
[INFO] [stdout]    --> protocol-p2p/src/db.rs:230:8
[INFO] [stdout]     |
[INFO] [stdout] 230 | pub fn get_my_pending_to_contents_to_validate(db: &Db) -> Vec<models::db::DataContent> {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_votes` is never used
[INFO] [stdout]    --> protocol-p2p/src/db.rs:244:8
[INFO] [stdout]     |
[INFO] [stdout] 244 | pub fn get_votes(db: &Db, id_votation: &str) -> Vec<(String, Vote)> {
[INFO] [stdout]     |        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `exists_vote` is never used
[INFO] [stdout]    --> protocol-p2p/src/db.rs:260:8
[INFO] [stdout]     |
[INFO] [stdout] 260 | pub fn exists_vote(db: &Db, id_votation: &str, peer_id: &str) -> anyhow::Result<bool> {
[INFO] [stdout]     |        ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `add_vote` is never used
[INFO] [stdout]    --> protocol-p2p/src/db.rs:266:8
[INFO] [stdout]     |
[INFO] [stdout] 266 | pub fn add_vote(db: &Db, id_votation: &str, peer_id: &str, vote: &Vote) -> anyhow::Result<()> {
[INFO] [stdout]     |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Topic` is never constructed
[INFO] [stdout]  --> protocol-p2p/src/models.rs:9:16
[INFO] [stdout]   |
[INFO] [stdout] 9 |     pub struct Topic {
[INFO] [stdout]   |                ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> protocol-p2p/src/models.rs:15:16
[INFO] [stdout]    |
[INFO] [stdout] 14 |     impl Topic {
[INFO] [stdout]    |     ---------- associated function in this implementation
[INFO] [stdout] 15 |         pub fn new(name: &str, description: &str) -> Self {
[INFO] [stdout]    |                ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `VoteStatus` is never used
[INFO] [stdout]   --> protocol-p2p/src/models.rs:55:14
[INFO] [stdout]    |
[INFO] [stdout] 55 |     pub enum VoteStatus {
[INFO] [stdout]    |              ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: static `DEFAULT_TOPIC` is never used
[INFO] [stdout]    --> protocol-p2p/src/models.rs:168:16
[INFO] [stdout]     |
[INFO] [stdout] 168 |     pub static DEFAULT_TOPIC: Lazy<IdentTopic> = Lazy::new(|| IdentTopic::new("chat-room"));
[INFO] [stdout]     |                ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `Vote` is never used
[INFO] [stdout]    --> protocol-p2p/src/models.rs:171:14
[INFO] [stdout]     |
[INFO] [stdout] 171 |     pub enum Vote {
[INFO] [stdout]     |              ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `ContentMessage` is never used
[INFO] [stdout]    --> protocol-p2p/src/models.rs:178:14
[INFO] [stdout]     |
[INFO] [stdout] 178 |     pub enum ContentMessage {
[INFO] [stdout]     |              ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new_vote_leader_request` is never used
[INFO] [stdout]    --> protocol-p2p/src/models.rs:210:16
[INFO] [stdout]     |
[INFO] [stdout] 209 |     impl ContentMessage {
[INFO] [stdout]     |     ------------------- associated function in this implementation
[INFO] [stdout] 210 |         pub fn new_vote_leader_request(
[INFO] [stdout]     |                ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Checking meilisearch-sdk v0.29.1
[INFO] [stderr]     Checking messages-p2p v0.1.0 (/opt/rustwide/workdir/messages-p2p)
[INFO] [stdout] warning: unused import: `VoteStatus`
[INFO] [stdout]  --> messages-p2p/src/p2p/api.rs:8:62
[INFO] [stdout]   |
[INFO] [stdout] 8 | use protocol_p2p::models::db::{DataContent, Topic, Votation, VoteStatus};
[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: `VoteStatus`
[INFO] [stdout]  --> messages-p2p/src/p2p/api.rs:8:62
[INFO] [stdout]   |
[INFO] [stdout] 8 | use protocol_p2p::models::db::{DataContent, Topic, Votation, VoteStatus};
[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 variable: `message_id_fn`
[INFO] [stdout]   --> messages-p2p/src/p2p/behaviours.rs:14:9
[INFO] [stdout]    |
[INFO] [stdout] 14 |     let message_id_fn = |message: &gossipsub::Message| {
[INFO] [stdout]    |         ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_message_id_fn`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `message_id_fn`
[INFO] [stdout]   --> messages-p2p/src/p2p/behaviours.rs:14:9
[INFO] [stdout]    |
[INFO] [stdout] 14 |     let message_id_fn = |message: &gossipsub::Message| {
[INFO] [stdout]    |         ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_message_id_fn`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `keypair` and `p2p_port` are never read
[INFO] [stdout]   --> messages-p2p/src/p2p/bootstrap.rs:24:5
[INFO] [stdout]    |
[INFO] [stdout] 23 | pub struct BootstrapServer {
[INFO] [stdout]    |            --------------- fields in this struct
[INFO] [stdout] 24 |     keypair: Keypair,
[INFO] [stdout]    |     ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 29 |     p2p_port: i32,
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `keypair` and `p2p_port` are never read
[INFO] [stdout]   --> messages-p2p/src/p2p/bootstrap.rs:24:5
[INFO] [stdout]    |
[INFO] [stdout] 23 | pub struct BootstrapServer {
[INFO] [stdout]    |            --------------- fields in this struct
[INFO] [stdout] 24 |     keypair: Keypair,
[INFO] [stdout]    |     ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 29 |     p2p_port: i32,
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Checking bindings-p2p v0.1.0 (/opt/rustwide/workdir/bindings-p2p)
[INFO] [stdout] warning: unused imports: `APIError` and `VoteId`
[INFO] [stdout]  --> bindings-p2p/src/lib.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 |     APIError, ConnectionData, DataContent, Reputation, RuntimePendingContent, Topic, Votation,
[INFO] [stdout]   |     ^^^^^^^^
[INFO] [stdout] 8 |     Vote, VoteId,
[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: `SystemTime`
[INFO] [stdout]   --> bindings-p2p/src/lib.rs:15:17
[INFO] [stdout]    |
[INFO] [stdout] 15 | use std::time::{SystemTime, UNIX_EPOCH};
[INFO] [stdout]    |                 ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated function `rand::thread_rng`: Renamed to `rng`
[INFO] [stdout]  --> messages-p2p/tests/integration_test.rs:9:12
[INFO] [stdout]   |
[INFO] [stdout] 9 | use rand::{thread_rng, Rng};
[INFO] [stdout]   |            ^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated function `rand::thread_rng`: Renamed to `rng`
[INFO] [stdout]   --> messages-p2p/tests/integration_test.rs:64:33
[INFO] [stdout]    |
[INFO] [stdout] 64 |     let random_string: String = thread_rng()
[INFO] [stdout]    |                                 ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `VoteStatus`
[INFO] [stdout]  --> messages-p2p/src/p2p/api.rs:8:62
[INFO] [stdout]   |
[INFO] [stdout] 8 | use protocol_p2p::models::db::{DataContent, Topic, Votation, VoteStatus};
[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: `VoteStatus`
[INFO] [stdout]  --> messages-p2p/src/p2p/api.rs:8:62
[INFO] [stdout]   |
[INFO] [stdout] 8 | use protocol_p2p::models::db::{DataContent, Topic, Votation, VoteStatus};
[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 variable: `join_handle`
[INFO] [stdout]   --> messages-p2p/tests/functional_test.rs:53:9
[INFO] [stdout]    |
[INFO] [stdout] 53 |     let join_handle = run_relay_server();
[INFO] [stdout]    |         ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_join_handle`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `APIError` and `VoteId`
[INFO] [stdout]  --> bindings-p2p/src/lib.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 |     APIError, ConnectionData, DataContent, Reputation, RuntimePendingContent, Topic, Votation,
[INFO] [stdout]   |     ^^^^^^^^
[INFO] [stdout] 8 |     Vote, VoteId,
[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: `SystemTime`
[INFO] [stdout]   --> bindings-p2p/src/lib.rs:15:17
[INFO] [stdout]    |
[INFO] [stdout] 15 | use std::time::{SystemTime, UNIX_EPOCH};
[INFO] [stdout]    |                 ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]   --> messages-p2p/tests/integration_test.rs:29:9
[INFO] [stdout]    |
[INFO] [stdout] 29 |         std::fs::remove_dir_all(name_peer.clone());
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout]    = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]    |
[INFO] [stdout] 29 |         let _ = std::fs::remove_dir_all(name_peer.clone());
[INFO] [stdout]    |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing
[INFO] [stdout]    --> messages-p2p/tests/integration_test.rs:428:46
[INFO] [stdout]     |
[INFO] [stdout] 428 |     let _ = std::fs::remove_dir_all(name_peer.clone());
[INFO] [stdout]     |                                              ^^^^^^^^ help: remove this redundant call
[INFO] [stdout]     |
[INFO] [stdout]     = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed
[INFO] [stdout]     = note: `#[warn(noop_method_call)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `message_id_fn`
[INFO] [stdout]   --> messages-p2p/src/p2p/behaviours.rs:14:9
[INFO] [stdout]    |
[INFO] [stdout] 14 |     let message_id_fn = |message: &gossipsub::Message| {
[INFO] [stdout]    |         ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_message_id_fn`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `keypair` and `p2p_port` are never read
[INFO] [stdout]   --> messages-p2p/src/p2p/bootstrap.rs:24:5
[INFO] [stdout]    |
[INFO] [stdout] 23 | pub struct BootstrapServer {
[INFO] [stdout]    |            --------------- fields in this struct
[INFO] [stdout] 24 |     keypair: Keypair,
[INFO] [stdout]    |     ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 29 |     p2p_port: i32,
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `message_id_fn`
[INFO] [stdout]   --> messages-p2p/src/p2p/behaviours.rs:14:9
[INFO] [stdout]    |
[INFO] [stdout] 14 |     let message_id_fn = |message: &gossipsub::Message| {
[INFO] [stdout]    |         ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_message_id_fn`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> bindings-p2p/src/lib.rs:89:21
[INFO] [stdout]    |
[INFO] [stdout] 89 |                 let mut guard = wrapper.client.lock().await;
[INFO] [stdout]    |                     ----^^^^^
[INFO] [stdout]    |                     |
[INFO] [stdout]    |                     help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> bindings-p2p/src/lib.rs:106:17
[INFO] [stdout]     |
[INFO] [stdout] 106 |             let mut guard = self.client.lock().await;
[INFO] [stdout]     |                 ----^^^^^
[INFO] [stdout]     |                 |
[INFO] [stdout]     |                 help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> bindings-p2p/src/lib.rs:121:17
[INFO] [stdout]     |
[INFO] [stdout] 121 |             let mut guard = self.client.lock().await;
[INFO] [stdout]     |                 ----^^^^^
[INFO] [stdout]     |                 |
[INFO] [stdout]     |                 help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> bindings-p2p/src/lib.rs:132:17
[INFO] [stdout]     |
[INFO] [stdout] 132 |             let mut guard = self.client.lock().await;
[INFO] [stdout]     |                 ----^^^^^
[INFO] [stdout]     |                 |
[INFO] [stdout]     |                 help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> bindings-p2p/src/lib.rs:148:21
[INFO] [stdout]     |
[INFO] [stdout] 148 |                 let mut guard = client.lock().await;
[INFO] [stdout]     |                     ----^^^^^
[INFO] [stdout]     |                     |
[INFO] [stdout]     |                     help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> bindings-p2p/src/lib.rs:164:21
[INFO] [stdout]     |
[INFO] [stdout] 164 |                 let mut locked = client.lock().await;
[INFO] [stdout]     |                     ----^^^^^^
[INFO] [stdout]     |                     |
[INFO] [stdout]     |                     help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> bindings-p2p/src/lib.rs:176:17
[INFO] [stdout]     |
[INFO] [stdout] 176 |             let mut locked = client.lock().await;
[INFO] [stdout]     |                 ----^^^^^^
[INFO] [stdout]     |                 |
[INFO] [stdout]     |                 help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> bindings-p2p/src/lib.rs:232:21
[INFO] [stdout]     |
[INFO] [stdout] 232 |                 let mut guard = client.lock().await;
[INFO] [stdout]     |                     ----^^^^^
[INFO] [stdout]     |                     |
[INFO] [stdout]     |                     help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> bindings-p2p/src/lib.rs:238:17
[INFO] [stdout]     |
[INFO] [stdout] 238 |             let mut guard = client.lock().await;
[INFO] [stdout]     |                 ----^^^^^
[INFO] [stdout]     |                 |
[INFO] [stdout]     |                 help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> bindings-p2p/src/lib.rs:89:21
[INFO] [stdout]    |
[INFO] [stdout] 89 |                 let mut guard = wrapper.client.lock().await;
[INFO] [stdout]    |                     ----^^^^^
[INFO] [stdout]    |                     |
[INFO] [stdout]    |                     help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> bindings-p2p/src/lib.rs:106:17
[INFO] [stdout]     |
[INFO] [stdout] 106 |             let mut guard = self.client.lock().await;
[INFO] [stdout]     |                 ----^^^^^
[INFO] [stdout]     |                 |
[INFO] [stdout]     |                 help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type `types::StateContent` is more private than the item `types::DataContent::approved`
[INFO] [stdout]    --> bindings-p2p/src/types.rs:200:5
[INFO] [stdout]     |
[INFO] [stdout] 200 |     pub approved: StateContent,
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^ field `types::DataContent::approved` is reachable at visibility `pub`
[INFO] [stdout]     |
[INFO] [stdout] note: but type `types::StateContent` is only usable at visibility `pub(self)`
[INFO] [stdout]    --> bindings-p2p/src/types.rs:178:1
[INFO] [stdout]     |
[INFO] [stdout] 178 | enum StateContent {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = note: `#[warn(private_interfaces)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> bindings-p2p/src/lib.rs:121:17
[INFO] [stdout]     |
[INFO] [stdout] 121 |             let mut guard = self.client.lock().await;
[INFO] [stdout]     |                 ----^^^^^
[INFO] [stdout]     |                 |
[INFO] [stdout]     |                 help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> bindings-p2p/src/lib.rs:132:17
[INFO] [stdout]     |
[INFO] [stdout] 132 |             let mut guard = self.client.lock().await;
[INFO] [stdout]     |                 ----^^^^^
[INFO] [stdout]     |                 |
[INFO] [stdout]     |                 help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> bindings-p2p/src/lib.rs:148:21
[INFO] [stdout]     |
[INFO] [stdout] 148 |                 let mut guard = client.lock().await;
[INFO] [stdout]     |                     ----^^^^^
[INFO] [stdout]     |                     |
[INFO] [stdout]     |                     help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `peer_id`, `server_address`, `server_peer_id`, and `username` are never read
[INFO] [stdout]   --> bindings-p2p/src/lib.rs:53:5
[INFO] [stdout]    |
[INFO] [stdout] 51 | pub struct ClientWrapper {
[INFO] [stdout]    |            ------------- fields in this struct
[INFO] [stdout] 52 |     client: Arc<tokio::sync::Mutex<APIClient>>,
[INFO] [stdout] 53 |     peer_id: PeerId,
[INFO] [stdout]    |     ^^^^^^^
[INFO] [stdout] 54 |     server_address: String,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^
[INFO] [stdout] 55 |     server_peer_id: String,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^
[INFO] [stdout] 56 |     username: String,
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `APIError` is never used
[INFO] [stdout]  --> bindings-p2p/src/types.rs:7:10
[INFO] [stdout]   |
[INFO] [stdout] 7 | pub enum APIError {
[INFO] [stdout]   |          ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> bindings-p2p/src/lib.rs:164:21
[INFO] [stdout]     |
[INFO] [stdout] 164 |                 let mut locked = client.lock().await;
[INFO] [stdout]     |                     ----^^^^^^
[INFO] [stdout]     |                     |
[INFO] [stdout]     |                     help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> bindings-p2p/src/lib.rs:176:17
[INFO] [stdout]     |
[INFO] [stdout] 176 |             let mut locked = client.lock().await;
[INFO] [stdout]     |                 ----^^^^^^
[INFO] [stdout]     |                 |
[INFO] [stdout]     |                 help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> bindings-p2p/src/lib.rs:232:21
[INFO] [stdout]     |
[INFO] [stdout] 232 |                 let mut guard = client.lock().await;
[INFO] [stdout]     |                     ----^^^^^
[INFO] [stdout]     |                     |
[INFO] [stdout]     |                     help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> bindings-p2p/src/lib.rs:238:17
[INFO] [stdout]     |
[INFO] [stdout] 238 |             let mut guard = client.lock().await;
[INFO] [stdout]     |                 ----^^^^^
[INFO] [stdout]     |                 |
[INFO] [stdout]     |                 help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type `types::StateContent` is more private than the item `types::DataContent::approved`
[INFO] [stdout]    --> bindings-p2p/src/types.rs:200:5
[INFO] [stdout]     |
[INFO] [stdout] 200 |     pub approved: StateContent,
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^ field `types::DataContent::approved` is reachable at visibility `pub`
[INFO] [stdout]     |
[INFO] [stdout] note: but type `types::StateContent` is only usable at visibility `pub(self)`
[INFO] [stdout]    --> bindings-p2p/src/types.rs:178:1
[INFO] [stdout]     |
[INFO] [stdout] 178 | enum StateContent {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = note: `#[warn(private_interfaces)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `peer_id`, `server_address`, `server_peer_id`, and `username` are never read
[INFO] [stdout]   --> bindings-p2p/src/lib.rs:53:5
[INFO] [stdout]    |
[INFO] [stdout] 51 | pub struct ClientWrapper {
[INFO] [stdout]    |            ------------- fields in this struct
[INFO] [stdout] 52 |     client: Arc<tokio::sync::Mutex<APIClient>>,
[INFO] [stdout] 53 |     peer_id: PeerId,
[INFO] [stdout]    |     ^^^^^^^
[INFO] [stdout] 54 |     server_address: String,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^
[INFO] [stdout] 55 |     server_peer_id: String,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^
[INFO] [stdout] 56 |     username: String,
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `APIError` is never used
[INFO] [stdout]  --> bindings-p2p/src/types.rs:7:10
[INFO] [stdout]   |
[INFO] [stdout] 7 | pub enum APIError {
[INFO] [stdout]   |          ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `keypair` and `p2p_port` are never read
[INFO] [stdout]   --> messages-p2p/src/p2p/bootstrap.rs:24:5
[INFO] [stdout]    |
[INFO] [stdout] 23 | pub struct BootstrapServer {
[INFO] [stdout]    |            --------------- fields in this struct
[INFO] [stdout] 24 |     keypair: Keypair,
[INFO] [stdout]    |     ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 29 |     p2p_port: i32,
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Checking backend v0.1.0 (/opt/rustwide/workdir/backend)
[INFO] [stdout] warning: unused imports: `Json`, `Router`, `extract::Extension`, and `routing::post`
[INFO] [stdout]  --> backend/src/services/queue.rs:1:12
[INFO] [stdout]   |
[INFO] [stdout] 1 | use axum::{routing::post, Router, Json, extract::Extension};
[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: `net::SocketAddr`
[INFO] [stdout]  --> backend/src/services/queue.rs:3:11
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::{net::SocketAddr, sync::Arc};
[INFO] [stdout]   |           ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::time::Duration`
[INFO] [stdout]  --> backend/src/services/p2p.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::time::Duration;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `axum::serve::Serve`
[INFO] [stdout]  --> backend/src/services/p2p.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use axum::serve::Serve;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `mongodb::event::sdam::ServerClosedEvent`
[INFO] [stdout]  --> backend/src/services/p2p.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use mongodb::event::sdam::ServerClosedEvent;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `DataContent`
[INFO] [stdout]  --> backend/src/services/p2p.rs:5:20
[INFO] [stdout]   |
[INFO] [stdout] 5 | use messages_p2p::{DataContent, Keypair, PeerId, StateContent, Votation, Vote};
[INFO] [stdout]   |                    ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `WSContentData`
[INFO] [stdout]  --> backend/src/services/p2p.rs:9:48
[INFO] [stdout]   |
[INFO] [stdout] 9 | use crate::model::{Content, ContentToValidate, WSContentData, Topic};
[INFO] [stdout]   |                                                ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around closure body
[INFO] [stdout]   --> backend/src/services/p2p.rs:87:17
[INFO] [stdout]    |
[INFO] [stdout] 87 |               |t| (Topic {title: t.name.clone(),description: t.description.clone()}
[INFO] [stdout]    |  _________________^________________________________________________________________^
[INFO] [stdout] 88 | |                 )).collect()
[INFO] [stdout]    | |_________________^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 87 -             |t| (Topic {title: t.name.clone(),description: t.description.clone()}
[INFO] [stdout] 88 -                 )).collect()
[INFO] [stdout] 87 +             |t| Topic {title: t.name.clone(),description: t.description.clone()} ).collect()
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Path`
[INFO] [stdout]  --> backend/src/routes/links.rs:2:22
[INFO] [stdout]   |
[INFO] [stdout] 2 |     extract::{State, Path, Query},
[INFO] [stdout]   |                      ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::services::queue::Task`
[INFO] [stdout]   --> backend/src/routes/links.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout] 11 | use crate::services::queue::Task;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `http::HeaderValue`
[INFO] [stdout]  --> backend/src/main.rs:9:74
[INFO] [stdout]   |
[INFO] [stdout] 9 | use axum::{extract::{ws::{Message, WebSocket}, State, WebSocketUpgrade}, http::HeaderValue, response::IntoResponse, routing::get, Rou...
[INFO] [stdout]   |                                                                          ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `serde_json::json`
[INFO] [stdout]   --> backend/src/main.rs:12:5
[INFO] [stdout]    |
[INFO] [stdout] 12 | use serde_json::json;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::utils::fetch_data`
[INFO] [stdout]   --> backend/src/main.rs:21:5
[INFO] [stdout]    |
[INFO] [stdout] 21 | use crate::utils::fetch_data;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Json`, `Router`, `extract::Extension`, and `routing::post`
[INFO] [stdout]  --> backend/src/services/queue.rs:1:12
[INFO] [stdout]   |
[INFO] [stdout] 1 | use axum::{routing::post, Router, Json, extract::Extension};
[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: `net::SocketAddr`
[INFO] [stdout]  --> backend/src/services/queue.rs:3:11
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::{net::SocketAddr, sync::Arc};
[INFO] [stdout]   |           ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `axum::serve::Serve`
[INFO] [stdout]  --> backend/src/services/p2p.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use axum::serve::Serve;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `mongodb::event::sdam::ServerClosedEvent`
[INFO] [stdout]  --> backend/src/services/p2p.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use mongodb::event::sdam::ServerClosedEvent;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `DataContent`
[INFO] [stdout]  --> backend/src/services/p2p.rs:5:20
[INFO] [stdout]   |
[INFO] [stdout] 5 | use messages_p2p::{DataContent, Keypair, PeerId, StateContent, Votation, Vote};
[INFO] [stdout]   |                    ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `WSContentData`
[INFO] [stdout]  --> backend/src/services/p2p.rs:9:48
[INFO] [stdout]   |
[INFO] [stdout] 9 | use crate::model::{Content, ContentToValidate, WSContentData, Topic};
[INFO] [stdout]   |                                                ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around closure body
[INFO] [stdout]   --> backend/src/services/p2p.rs:87:17
[INFO] [stdout]    |
[INFO] [stdout] 87 |               |t| (Topic {title: t.name.clone(),description: t.description.clone()}
[INFO] [stdout]    |  _________________^________________________________________________________________^
[INFO] [stdout] 88 | |                 )).collect()
[INFO] [stdout]    | |_________________^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 87 -             |t| (Topic {title: t.name.clone(),description: t.description.clone()}
[INFO] [stdout] 88 -                 )).collect()
[INFO] [stdout] 87 +             |t| Topic {title: t.name.clone(),description: t.description.clone()} ).collect()
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Path`
[INFO] [stdout]  --> backend/src/routes/links.rs:2:22
[INFO] [stdout]   |
[INFO] [stdout] 2 |     extract::{State, Path, Query},
[INFO] [stdout]   |                      ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::services::queue::Task`
[INFO] [stdout]   --> backend/src/routes/links.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout] 11 | use crate::services::queue::Task;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `http::HeaderValue`
[INFO] [stdout]  --> backend/src/main.rs:9:74
[INFO] [stdout]   |
[INFO] [stdout] 9 | use axum::{extract::{ws::{Message, WebSocket}, State, WebSocketUpgrade}, http::HeaderValue, response::IntoResponse, routing::get, Rou...
[INFO] [stdout]   |                                                                          ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `serde_json::json`
[INFO] [stdout]   --> backend/src/main.rs:12:5
[INFO] [stdout]    |
[INFO] [stdout] 12 | use serde_json::json;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::utils::fetch_data`
[INFO] [stdout]   --> backend/src/main.rs:21:5
[INFO] [stdout]    |
[INFO] [stdout] 21 | use crate::utils::fetch_data;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `futures_util::FutureExt`
[INFO] [stdout]  --> backend/src/services/p2p.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use futures_util::FutureExt;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `id`
[INFO] [stdout]   --> backend/src/services/llmdb.rs:52:35
[INFO] [stdout]    |
[INFO] [stdout] 52 |     pub async fn edit_link(&self, id: &str, link: &LLMDBLink) -> anyhow::Result<Option<LLMDBLink>> {
[INFO] [stdout]    |                                   ^^ help: if this is intentional, prefix it with an underscore: `_id`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `futures_util::FutureExt`
[INFO] [stdout]  --> backend/src/services/p2p.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use futures_util::FutureExt;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `reputations`
[INFO] [stdout]   --> backend/src/services/p2p.rs:92:13
[INFO] [stdout]    |
[INFO] [stdout] 92 |         let reputations = self.client.get_reputations(topic.as_str());
[INFO] [stdout]    |             ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_reputations`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `id`
[INFO] [stdout]   --> backend/src/services/llmdb.rs:52:35
[INFO] [stdout]    |
[INFO] [stdout] 52 |     pub async fn edit_link(&self, id: &str, link: &LLMDBLink) -> anyhow::Result<Option<LLMDBLink>> {
[INFO] [stdout]    |                                   ^^ help: if this is intentional, prefix it with an underscore: `_id`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `reputations`
[INFO] [stdout]   --> backend/src/services/p2p.rs:92:13
[INFO] [stdout]    |
[INFO] [stdout] 92 |         let reputations = self.client.get_reputations(topic.as_str());
[INFO] [stdout]    |             ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_reputations`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `client`
[INFO] [stdout]    --> backend/src/main.rs:176:13
[INFO] [stdout]     |
[INFO] [stdout] 176 |         let client = client.clone();
[INFO] [stdout]     |             ^^^^^^ help: if this is intentional, prefix it with an underscore: `_client`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `client_id` is never read
[INFO] [stdout]   --> backend/src/services/p2p.rs:22:9
[INFO] [stdout]    |
[INFO] [stdout] 19 | pub struct ConnectionData {
[INFO] [stdout]    |            -------------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 22 |     pub client_id: Option<String>,
[INFO] [stdout]    |         ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `ConnectionData` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `client`
[INFO] [stdout]    --> backend/src/main.rs:176:13
[INFO] [stdout]     |
[INFO] [stdout] 176 |         let client = client.clone();
[INFO] [stdout]     |             ^^^^^^ help: if this is intentional, prefix it with an underscore: `_client`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `test` is never used
[INFO] [stdout]   --> backend/src/main.rs:36:25
[INFO] [stdout]    |
[INFO] [stdout] 35 | impl AppState {
[INFO] [stdout]    | ------------- associated function in this implementation
[INFO] [stdout] 36 |     pub(crate) async fn test() -> Self {
[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 `client_id` is never read
[INFO] [stdout]   --> backend/src/services/p2p.rs:22:9
[INFO] [stdout]    |
[INFO] [stdout] 19 | pub struct ConnectionData {
[INFO] [stdout]    |            -------------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 22 |     pub client_id: Option<String>,
[INFO] [stdout]    |         ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `ConnectionData` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]    --> backend/src/services/p2p.rs:175:9
[INFO] [stdout]     |
[INFO] [stdout] 175 |         p2p_client.start().await;
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout]     = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 175 |         let _ = p2p_client.start().await;
[INFO] [stdout]     |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 2m 13s
[INFO] running `Command { std: "docker" "inspect" "cbca99ee2296caaef88d80165f1ab606f05528d5bbaaa6fb5e38f398a28d5355", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "cbca99ee2296caaef88d80165f1ab606f05528d5bbaaa6fb5e38f398a28d5355", kill_on_drop: false }`
[INFO] [stdout] cbca99ee2296caaef88d80165f1ab606f05528d5bbaaa6fb5e38f398a28d5355
