[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] fe999707443787da2e984b443a3f2fb727fb2f18 [INFO] checking carlosb1/p2p-poc against master#64b185eddaa1d7ddf5e0c024be23b9cbba6c1722 for pr-143929 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcarlosb1%2Fp2p-poc" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/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-0-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/carlosb1/p2p-poc on toolchain 64b185eddaa1d7ddf5e0c024be23b9cbba6c1722 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+64b185eddaa1d7ddf5e0c024be23b9cbba6c1722" "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" "+64b185eddaa1d7ddf5e0c024be23b9cbba6c1722" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: /workspace/builds/worker-0-tc1/source/messages-p2p/Cargo.toml: unused manifest key: test-dependencies [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded uniffi_internal_macros v0.29.2 [INFO] [stderr] Downloaded uniffi_macros v0.29.2 [INFO] [stderr] Downloaded uniffi_udl v0.29.2 [INFO] [stderr] Downloaded uniffi v0.29.2 [INFO] [stderr] Downloaded once_cell_polyfill v1.70.0 [INFO] [stderr] Downloaded uniffi_pipeline v0.29.2 [INFO] [stderr] Downloaded uniffi_meta v0.29.2 [INFO] [stderr] Downloaded uniffi_build v0.29.2 [INFO] [stderr] Downloaded uniffi_core v0.29.2 [INFO] [stderr] Downloaded askama_parser v0.13.0 [INFO] [stderr] Downloaded askama_derive v0.13.1 [INFO] [stderr] Downloaded askama v0.13.1 [INFO] [stderr] Downloaded uniffi_bindgen v0.29.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+64b185eddaa1d7ddf5e0c024be23b9cbba6c1722" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a03760d8bf19219678ca67d8dea493f6046a6939134b48c7553fa116dc397c52 [INFO] running `Command { std: "docker" "start" "-a" "a03760d8bf19219678ca67d8dea493f6046a6939134b48c7553fa116dc397c52", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a03760d8bf19219678ca67d8dea493f6046a6939134b48c7553fa116dc397c52", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a03760d8bf19219678ca67d8dea493f6046a6939134b48c7553fa116dc397c52", kill_on_drop: false }` [INFO] [stdout] a03760d8bf19219678ca67d8dea493f6046a6939134b48c7553fa116dc397c52 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+64b185eddaa1d7ddf5e0c024be23b9cbba6c1722" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4b0206ca285c08aefe378c1fb8dcb9b7c8755abe227b90d4ff7e37ea9fb0ff89 [INFO] running `Command { std: "docker" "start" "-a" "4b0206ca285c08aefe378c1fb8dcb9b7c8755abe227b90d4ff7e37ea9fb0ff89", kill_on_drop: false }` [INFO] [stderr] warning: /opt/rustwide/workdir/messages-p2p/Cargo.toml: unused manifest key: test-dependencies [INFO] [stderr] Compiling proc-macro2 v1.0.95 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Compiling libc v0.2.172 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling autocfg v1.4.0 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Checking memchr v2.7.4 [INFO] [stderr] Checking pin-project-lite v0.2.16 [INFO] [stderr] Checking smallvec v1.15.0 [INFO] [stderr] Checking futures-core v0.3.31 [INFO] [stderr] Checking once_cell v1.21.3 [INFO] [stderr] Checking log v0.4.27 [INFO] [stderr] Checking futures-sink v0.3.31 [INFO] [stderr] Checking bytes v1.10.1 [INFO] [stderr] Checking futures-io v0.3.31 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Checking futures-task v0.3.31 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling semver v1.0.26 [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Checking stable_deref_trait v1.2.0 [INFO] [stderr] Compiling thiserror v2.0.12 [INFO] [stderr] Compiling zerocopy v0.8.25 [INFO] [stderr] Checking tracing-core v0.1.33 [INFO] [stderr] Checking futures-channel v0.3.31 [INFO] [stderr] Compiling typenum v1.18.0 [INFO] [stderr] Checking subtle v2.6.1 [INFO] [stderr] Compiling anyhow v1.0.98 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Checking writeable v0.6.1 [INFO] [stderr] Checking litemap v0.8.0 [INFO] [stderr] Compiling icu_normalizer_data v2.0.0 [INFO] [stderr] Compiling icu_properties_data v2.0.1 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Checking percent-encoding v2.3.1 [INFO] [stderr] Checking static_assertions v1.1.0 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Checking itoa v1.0.15 [INFO] [stderr] Checking utf8_iter v1.0.4 [INFO] [stderr] Checking cpufeatures v0.2.17 [INFO] [stderr] Checking foldhash v0.1.5 [INFO] [stderr] Checking allocator-api2 v0.2.21 [INFO] [stderr] Checking equivalent v1.0.2 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Checking form_urlencoded v1.2.1 [INFO] [stderr] Checking data-encoding v2.9.0 [INFO] [stderr] Checking signature v2.2.0 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling syn v2.0.101 [INFO] [stderr] Compiling rustix v1.0.7 [INFO] [stderr] Checking unsigned-varint v0.8.0 [INFO] [stderr] Checking ed25519 v2.2.3 [INFO] [stderr] Checking core2 v0.4.0 [INFO] [stderr] Checking quick-protobuf v0.8.1 [INFO] [stderr] Checking base-x v0.2.11 [INFO] [stderr] Checking hashbrown v0.15.3 [INFO] [stderr] Checking bs58 v0.5.1 [INFO] [stderr] Checking futures-timer v3.0.3 [INFO] [stderr] Checking multihash v0.19.3 [INFO] [stderr] Checking web-time v1.1.0 [INFO] [stderr] Checking unsigned-varint v0.7.2 [INFO] [stderr] Checking arrayref v0.3.9 [INFO] [stderr] Checking either v1.15.0 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Compiling paste v1.0.15 [INFO] [stderr] Checking ipnet v2.11.0 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Checking ryu v1.0.20 [INFO] [stderr] Compiling cc v1.2.23 [INFO] [stderr] Checking bitflags v2.9.1 [INFO] [stderr] Checking untrusted v0.9.0 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Checking regex-syntax v0.8.5 [INFO] [stderr] Checking linux-raw-sys v0.9.4 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Compiling ahash v0.8.12 [INFO] [stderr] Checking tinyvec_macros v0.1.1 [INFO] [stderr] Compiling portable-atomic v1.11.0 [INFO] [stderr] Checking fastrand v2.3.0 [INFO] [stderr] Checking getrandom v0.2.16 [INFO] [stderr] Checking socket2 v0.5.9 [INFO] [stderr] Checking signal-hook-registry v1.4.5 [INFO] [stderr] Checking mio v1.0.3 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking lru v0.12.5 [INFO] [stderr] Checking rand_core v0.9.3 [INFO] [stderr] Checking base64 v0.22.1 [INFO] [stderr] Checking tinyvec v1.9.0 [INFO] [stderr] Checking nix v0.26.4 [INFO] [stderr] Checking http v1.3.1 [INFO] [stderr] Compiling moka v0.12.10 [INFO] [stderr] Checking concurrent-queue v2.5.0 [INFO] [stderr] Checking crossbeam-epoch v0.9.18 [INFO] [stderr] Checking anstyle v1.0.10 [INFO] [stderr] Compiling crunchy v0.2.3 [INFO] [stderr] Checking parking v2.2.1 [INFO] [stderr] Checking crossbeam-channel v0.5.15 [INFO] [stderr] Checking uuid v1.16.0 [INFO] [stderr] Checking ppv-lite86 v0.2.21 [INFO] [stderr] Checking event-listener v5.4.0 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Compiling prometheus-client v0.22.3 [INFO] [stderr] Checking tagptr v0.2.0 [INFO] [stderr] Checking nohash-hasher v0.2.0 [INFO] [stderr] Compiling parking_lot_core v0.8.6 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking regex-automata v0.4.9 [INFO] [stderr] Checking event-listener-strategy v0.5.4 [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Checking indexmap v2.9.0 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking instant v0.1.13 [INFO] [stderr] Checking resolv-conf v0.7.4 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand_chacha v0.9.0 [INFO] [stderr] Checking sha2 v0.10.9 [INFO] [stderr] Checking hmac v0.12.1 [INFO] [stderr] Checking tower-service v0.3.3 [INFO] [stderr] Checking hkdf v0.12.4 [INFO] [stderr] Checking http-body v1.0.1 [INFO] [stderr] Checking utf8parse v0.2.2 [INFO] [stderr] Checking rand v0.9.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking hex v0.4.3 [INFO] [stderr] Compiling httparse v1.10.1 [INFO] [stderr] Checking dtoa v1.0.10 [INFO] [stderr] Checking anstyle-parse v0.2.6 [INFO] [stderr] Checking hashlink v0.9.1 [INFO] [stderr] Checking async-channel v2.3.1 [INFO] [stderr] Checking anstyle-query v1.1.2 [INFO] [stderr] Checking hex_fmt v0.3.0 [INFO] [stderr] Checking try-lock v0.2.5 [INFO] [stderr] Checking colorchoice v1.0.3 [INFO] [stderr] Checking uint v0.10.0 [INFO] [stderr] Checking is_terminal_polyfill v1.70.1 [INFO] [stderr] Checking fs2 v0.4.3 [INFO] [stderr] Checking want v0.3.1 [INFO] [stderr] Checking parking_lot v0.11.2 [INFO] [stderr] Checking anstream v0.6.18 [INFO] [stderr] Checking fxhash v0.2.1 [INFO] [stderr] Checking sync_wrapper v1.0.2 [INFO] [stderr] Checking crc32fast v1.4.2 [INFO] [stderr] Compiling rustls v0.23.27 [INFO] [stderr] Checking httpdate v1.0.3 [INFO] [stderr] Compiling camino v1.1.9 [INFO] [stderr] Checking iana-time-zone v0.1.63 [INFO] [stderr] Checking tower-layer v0.3.3 [INFO] [stderr] Checking tempfile v3.20.0 [INFO] [stderr] Checking jiff v0.2.14 [INFO] [stderr] Checking sled v0.34.7 [INFO] [stderr] Checking messages-types v0.1.0 (/opt/rustwide/workdir/messages-types) [INFO] [stderr] Compiling rustversion v1.0.20 [INFO] [stderr] Checking http-body-util v0.1.3 [INFO] [stderr] Compiling fs-err v2.11.0 [INFO] [stderr] Compiling winnow v0.7.10 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Checking regex-syntax v0.6.29 [INFO] [stderr] Checking lazy_static v1.5.0 [INFO] [stderr] Checking toml_write v0.1.1 [INFO] [stderr] Compiling rustc-hash v2.1.1 [INFO] [stderr] Checking overload v0.1.1 [INFO] [stderr] Checking mime v0.3.17 [INFO] [stderr] Checking iri-string v0.7.8 [INFO] [stderr] Checking nu-ansi-term v0.46.0 [INFO] [stderr] Checking sharded-slab v0.1.7 [INFO] [stderr] Checking tracing-log v0.2.0 [INFO] [stderr] Checking thread_local v1.1.8 [INFO] [stderr] Checking matchit v0.8.4 [INFO] [stderr] Compiling siphasher v0.3.11 [INFO] [stderr] Checking nom v8.0.0 [INFO] [stderr] Checking dotenv v0.15.0 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling smawk v0.3.2 [INFO] [stderr] Compiling textwrap v0.16.2 [INFO] [stderr] Checking regex v1.11.1 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling plain v0.2.3 [INFO] [stderr] Compiling glob v0.3.2 [INFO] [stderr] Checking regex-automata v0.1.10 [INFO] [stderr] Checking env_filter v0.1.3 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Checking clap_lex v0.7.4 [INFO] [stderr] Checking strsim v0.11.1 [INFO] [stderr] Checking clap_builder v4.5.38 [INFO] [stderr] Checking uniffi_core v0.29.2 [INFO] [stderr] Checking android_log-sys v0.3.2 [INFO] [stderr] Checking android_logger v0.15.0 [INFO] [stderr] Checking matchers v0.1.0 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.0 [INFO] [stderr] Compiling thiserror-impl v2.0.12 [INFO] [stderr] Compiling zerovec-derive v0.11.1 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling zeroize_derive v1.4.2 [INFO] [stderr] Compiling tracing-attributes v0.1.28 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Checking zeroize v1.8.1 [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 thiserror-impl v1.0.69 [INFO] [stderr] Compiling libp2p-swarm-derive v0.35.0 [INFO] [stderr] Compiling async-trait v0.1.88 [INFO] [stderr] Checking tokio v1.45.0 [INFO] [stderr] Compiling enum-as-inner v0.6.1 [INFO] [stderr] Checking data-encoding-macro v0.1.18 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Compiling async-recursion v1.1.1 [INFO] [stderr] Checking zerofrom v0.1.6 [INFO] [stderr] Checking multibase v0.9.1 [INFO] [stderr] Compiling prometheus-client-derive-encode v0.4.2 [INFO] [stderr] Checking yoke v0.8.0 [INFO] [stderr] Checking rustls-pki-types v1.12.0 [INFO] [stderr] Checking tracing v0.1.41 [INFO] [stderr] Compiling uniffi_internal_macros v0.29.2 [INFO] [stderr] Checking env_logger v0.11.8 [INFO] [stderr] Checking zerovec v0.11.2 [INFO] [stderr] Checking zerotrie v0.2.2 [INFO] [stderr] Checking pin-project v1.1.10 [INFO] [stderr] Compiling scroll_derive v0.12.1 [INFO] [stderr] Checking axum-core v0.5.2 [INFO] [stderr] Checking tracing-subscriber v0.3.19 [INFO] [stderr] Checking webpki-roots v1.0.0 [INFO] [stderr] Compiling weedle2 v5.0.0 [INFO] [stderr] Compiling clap_derive v4.5.32 [INFO] [stderr] Checking netlink-packet-utils v0.5.2 [INFO] [stderr] Compiling scroll v0.12.0 [INFO] [stderr] Compiling uniffi_pipeline v0.29.2 [INFO] [stderr] Checking netlink-packet-core v0.7.0 [INFO] [stderr] Compiling goblin v0.8.2 [INFO] [stderr] Checking netlink-packet-route v0.17.1 [INFO] [stderr] Compiling uniffi_meta v0.29.2 [INFO] [stderr] Checking rustls-webpki v0.103.3 [INFO] [stderr] Checking tinystr v0.8.1 [INFO] [stderr] Checking potential_utf v0.1.2 [INFO] [stderr] Checking icu_locale_core v2.0.0 [INFO] [stderr] Checking icu_collections v2.0.0 [INFO] [stderr] Compiling uniffi_udl v0.29.2 [INFO] [stderr] Checking icu_provider v2.0.0 [INFO] [stderr] Checking clap v4.5.38 [INFO] [stderr] Checking icu_normalizer v2.0.0 [INFO] [stderr] Checking icu_properties v2.0.1 [INFO] [stderr] Checking chrono v0.4.41 [INFO] [stderr] Checking serde_spanned v0.6.8 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking toml_datetime v0.6.9 [INFO] [stderr] Checking serde_path_to_error v0.1.17 [INFO] [stderr] Checking cargo-platform v0.1.9 [INFO] [stderr] Checking toml v0.5.11 [INFO] [stderr] Checking toml_edit v0.22.26 [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] Checking futures v0.3.31 [INFO] [stderr] Checking quick-protobuf-codec v0.3.1 [INFO] [stderr] Checking multistream-select v0.13.0 [INFO] [stderr] Checking rw-stream-sink v0.4.0 [INFO] [stderr] Checking yamux v0.13.5 [INFO] [stderr] Checking yamux v0.12.1 [INFO] [stderr] Checking cargo_metadata v0.19.2 [INFO] [stderr] Compiling askama_parser v0.13.0 [INFO] [stderr] Compiling basic-toml v0.1.10 [INFO] [stderr] Checking idna_adapter v1.2.1 [INFO] [stderr] Checking idna v1.0.3 [INFO] [stderr] Compiling rustc_version v0.4.1 [INFO] [stderr] Checking netlink-sys v0.8.7 [INFO] [stderr] Checking hyper v1.6.0 [INFO] [stderr] Checking tower v0.5.2 [INFO] [stderr] Checking url v2.5.4 [INFO] [stderr] Compiling curve25519-dalek v4.1.3 [INFO] [stderr] Compiling snow v0.9.6 [INFO] [stderr] Checking netlink-proto v0.11.5 [INFO] [stderr] Checking tower-http v0.6.6 [INFO] [stderr] Checking rtnetlink v0.13.1 [INFO] [stderr] Checking hickory-proto v0.25.0-alpha.5 [INFO] [stderr] Checking tokio-rustls v0.26.2 [INFO] [stderr] Checking toml v0.8.22 [INFO] [stderr] Checking if-watch v3.2.1 [INFO] [stderr] Compiling uniffi_macros v0.29.2 [INFO] [stderr] Checking hyper-util v0.1.12 [INFO] [stderr] Checking ed25519-dalek v2.1.1 [INFO] [stderr] Checking x25519-dalek v2.0.1 [INFO] [stderr] Checking libp2p-identity v0.2.11 [INFO] [stderr] Compiling askama_derive v0.13.1 [INFO] [stderr] Checking multiaddr v0.18.2 [INFO] [stderr] Checking libp2p-core v0.43.0 [INFO] [stderr] Checking hyper-rustls v0.27.7 [INFO] [stderr] Checking axum v0.8.4 [INFO] [stderr] Checking reqwest v0.12.20 [INFO] [stderr] Checking libp2p-swarm v0.46.0 [INFO] [stderr] Checking libp2p-noise v0.46.0 [INFO] [stderr] Checking libp2p-tcp v0.43.0 [INFO] [stderr] Checking libp2p-yamux v0.47.0 [INFO] [stderr] Checking hickory-resolver v0.25.0-alpha.5 [INFO] [stderr] Compiling askama v0.13.1 [INFO] [stderr] Checking libp2p-mdns v0.47.0 [INFO] [stderr] Checking libp2p-gossipsub v0.48.0 [INFO] [stderr] Checking libp2p-identify v0.46.0 [INFO] [stderr] Checking libp2p-relay v0.19.0 [INFO] [stderr] Checking libp2p-request-response v0.28.0 [INFO] [stderr] Checking libp2p-kad v0.47.0 [INFO] [stderr] Checking libp2p-connection-limits v0.5.0 [INFO] [stderr] Checking libp2p-allow-block-list v0.5.0 [INFO] [stderr] Checking libp2p-dns v0.43.0 [INFO] [stderr] Checking uniffi_bindgen v0.29.2 [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)]` 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)]` 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:25 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::models::db::{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 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)]` 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)]` 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:56 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::models::db::{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: variable does not need to be mutable [INFO] [stdout] --> protocol-p2p/src/handler.rs:113:30 [INFO] [stdout] | [INFO] [stdout] 113 | 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)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `find_key` [INFO] [stdout] --> protocol-p2p/src/db.rs:224:24 [INFO] [stdout] | [INFO] [stdout] 224 | 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)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking messages-p2p v0.1.0 (/opt/rustwide/workdir/messages-p2p) [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> protocol-p2p/src/handler.rs:113:30 [INFO] [stdout] | [INFO] [stdout] 113 | 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)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `StateContent` and `VoteStatus` [INFO] [stdout] --> protocol-p2p/src/db.rs:1:25 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::models::db::{StateContent, Topic, Votation, VoteStatus}; [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` 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 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] --> 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)]` 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)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `VoteStatus` [INFO] [stdout] --> protocol-p2p/src/db.rs:1:56 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::models::db::{StateContent, Topic, Votation, VoteStatus}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` 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 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:224:24 [INFO] [stdout] | [INFO] [stdout] 224 | 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)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> protocol-p2p/src/db.rs:417:9 [INFO] [stdout] | [INFO] [stdout] 417 | 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:224:24 [INFO] [stdout] | [INFO] [stdout] 224 | 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)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> protocol-p2p/src/db.rs:417:9 [INFO] [stdout] | [INFO] [stdout] 417 | 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)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `find_key` [INFO] [stdout] --> protocol-p2p/src/db.rs:224:24 [INFO] [stdout] | [INFO] [stdout] 224 | 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)]` 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)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `update_reputations` is never used [INFO] [stdout] --> protocol-p2p/src/db.rs:144:8 [INFO] [stdout] | [INFO] [stdout] 144 | pub fn update_reputations( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_topics` is never used [INFO] [stdout] --> protocol-p2p/src/db.rs:174:14 [INFO] [stdout] | [INFO] [stdout] 174 | pub async fn get_topics(db: &Db) -> Vec { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `save_topic` is never used [INFO] [stdout] --> protocol-p2p/src/db.rs:186:14 [INFO] [stdout] | [INFO] [stdout] 186 | pub async fn save_topic(db: &Db, topic: &Topic) -> anyhow::Result<()> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_votes` is never used [INFO] [stdout] --> protocol-p2p/src/db.rs:220:8 [INFO] [stdout] | [INFO] [stdout] 220 | 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:236:8 [INFO] [stdout] | [INFO] [stdout] 236 | pub fn exists_vote(db: &Db, id_votation: &str, peer_id: &str) -> anyhow::Result { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `add_vote` is never used [INFO] [stdout] --> protocol-p2p/src/db.rs:242:8 [INFO] [stdout] | [INFO] [stdout] 242 | 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 = 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: function `create_key_for_voting_db` is never used [INFO] [stdout] --> protocol-p2p/src/db.rs:11:8 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn create_key_for_voting_db( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` 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:25:8 [INFO] [stdout] | [INFO] [stdout] 25 | 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:30:4 [INFO] [stdout] | [INFO] [stdout] 30 | 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:54:8 [INFO] [stdout] | [INFO] [stdout] 54 | 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:97:8 [INFO] [stdout] | [INFO] [stdout] 97 | pub fn get_reputation(db: &sled::Db, topic: &str, peer_id: &str) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `set_reputation` is never used [INFO] [stdout] --> protocol-p2p/src/db.rs:108:8 [INFO] [stdout] | [INFO] [stdout] 108 | 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:144:8 [INFO] [stdout] | [INFO] [stdout] 144 | 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:174:14 [INFO] [stdout] | [INFO] [stdout] 174 | pub async fn get_topics(db: &Db) -> Vec { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `save_topic` is never used [INFO] [stdout] --> protocol-p2p/src/db.rs:186:14 [INFO] [stdout] | [INFO] [stdout] 186 | 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:195:8 [INFO] [stdout] | [INFO] [stdout] 195 | pub fn include_new_validated_content( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_votes` is never used [INFO] [stdout] --> protocol-p2p/src/db.rs:220:8 [INFO] [stdout] | [INFO] [stdout] 220 | 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:236:8 [INFO] [stdout] | [INFO] [stdout] 236 | pub fn exists_vote(db: &Db, id_votation: &str, peer_id: &str) -> anyhow::Result { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `add_vote` is never used [INFO] [stdout] --> protocol-p2p/src/db.rs:242:8 [INFO] [stdout] | [INFO] [stdout] 242 | 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:252:8 [INFO] [stdout] | [INFO] [stdout] 252 | 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:272:8 [INFO] [stdout] | [INFO] [stdout] 272 | pub fn get_status_vote(db: &sled::Db, id_votation: &str) -> Option { [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:279:8 [INFO] [stdout] | [INFO] [stdout] 279 | pub fn compare_and_swap_status_vote( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_status_voteses` is never used [INFO] [stdout] --> protocol-p2p/src/db.rs:300:8 [INFO] [stdout] | [INFO] [stdout] 300 | pub fn get_status_voteses(db: &sled::Db) -> Vec { [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 = 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: `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)]` 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)]` 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)]` 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: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 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)]` 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)]` 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)]` on by default [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)]` 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:424:46 [INFO] [stdout] | [INFO] [stdout] 424 | 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)]` 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)]` 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)]` 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)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking uniffi v0.29.2 [INFO] [stderr] Compiling uniffi_build v0.29.2 [INFO] [stderr] Compiling bindings-p2p v0.1.0 (/opt/rustwide/workdir/bindings-p2p) [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> bindings-p2p/src/lib.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `export` and `generate_bindings` [INFO] [stdout] --> bindings-p2p/src/lib.rs:20:14 [INFO] [stdout] | [INFO] [stdout] 20 | use uniffi::{export, generate_bindings}; [INFO] [stdout] | ^^^^^^ ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> bindings-p2p/src/lib.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `export` and `generate_bindings` [INFO] [stdout] --> bindings-p2p/src/lib.rs:20:14 [INFO] [stdout] | [INFO] [stdout] 20 | use uniffi::{export, generate_bindings}; [INFO] [stdout] | ^^^^^^ ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `username` [INFO] [stdout] --> bindings-p2p/src/lib.rs:269:5 [INFO] [stdout] | [INFO] [stdout] 269 | username: String, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_username` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `username` [INFO] [stdout] --> bindings-p2p/src/lib.rs:269:5 [INFO] [stdout] | [INFO] [stdout] 269 | username: String, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_username` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> bindings-p2p/src/lib.rs:301:21 [INFO] [stdout] | [INFO] [stdout] 301 | let mut guard = client.lock().await; [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> bindings-p2p/src/lib.rs:301:21 [INFO] [stdout] | [INFO] [stdout] 301 | let mut guard = client.lock().await; [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> bindings-p2p/src/lib.rs:326:13 [INFO] [stdout] | [INFO] [stdout] 326 | 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:326:13 [INFO] [stdout] | [INFO] [stdout] 326 | 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:349:13 [INFO] [stdout] | [INFO] [stdout] 349 | 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:349:13 [INFO] [stdout] | [INFO] [stdout] 349 | 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:370:13 [INFO] [stdout] | [INFO] [stdout] 370 | 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:370:13 [INFO] [stdout] | [INFO] [stdout] 370 | 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:389:13 [INFO] [stdout] | [INFO] [stdout] 389 | 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:389:13 [INFO] [stdout] | [INFO] [stdout] 389 | 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:411:13 [INFO] [stdout] | [INFO] [stdout] 411 | 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:411:13 [INFO] [stdout] | [INFO] [stdout] 411 | 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:428:13 [INFO] [stdout] | [INFO] [stdout] 428 | 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:428:13 [INFO] [stdout] | [INFO] [stdout] 428 | 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:501:13 [INFO] [stdout] | [INFO] [stdout] 501 | 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:501:13 [INFO] [stdout] | [INFO] [stdout] 501 | let mut locked = client.lock().await; [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `username` [INFO] [stdout] --> bindings-p2p/src/lib.rs:564:61 [INFO] [stdout] | [INFO] [stdout] 564 | pub fn dummy_start(server_address: String, peer_id: String, username: String) { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_username` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `username` [INFO] [stdout] --> bindings-p2p/src/lib.rs:564:61 [INFO] [stdout] | [INFO] [stdout] 564 | pub fn dummy_start(server_address: String, peer_id: String, username: String) { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_username` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `StateContent` is more private than the item `DataContent::approved` [INFO] [stdout] --> bindings-p2p/src/lib.rs:186:5 [INFO] [stdout] | [INFO] [stdout] 186 | pub approved: StateContent, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ field `DataContent::approved` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `StateContent` is only usable at visibility `pub(crate)` [INFO] [stdout] --> bindings-p2p/src/lib.rs:171:1 [INFO] [stdout] | [INFO] [stdout] 171 | enum StateContent { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(private_interfaces)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> bindings-p2p/src/lib.rs:298:43 [INFO] [stdout] | [INFO] [stdout] 298 | let client = CLIENT.get().unwrap().clone(); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the type `tokio::sync::Mutex` does not implement `Clone`, so calling `clone` on `&tokio::sync::Mutex` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] 298 - let client = CLIENT.get().unwrap().clone(); [INFO] [stdout] 298 + let client = CLIENT.get().unwrap(); [INFO] [stdout] | [INFO] [stdout] help: if you meant to clone `tokio::sync::Mutex`, implement `Clone` for it [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.45.0/src/sync/mutex.rs:133:1 [INFO] [stdout] | [INFO] [stdout] 133 + #[derive(Clone)] [INFO] [stdout] 134 | pub struct Mutex { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> bindings-p2p/src/lib.rs:325:34 [INFO] [stdout] | [INFO] [stdout] 325 | let client = mutex_client.clone(); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the type `tokio::sync::Mutex` does not implement `Clone`, so calling `clone` on `&tokio::sync::Mutex` copies the reference, which does not do anything and can be removed [INFO] [stdout] help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] 325 - let client = mutex_client.clone(); [INFO] [stdout] 325 + let client = mutex_client; [INFO] [stdout] | [INFO] [stdout] help: if you meant to clone `tokio::sync::Mutex`, implement `Clone` for it [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.45.0/src/sync/mutex.rs:133:1 [INFO] [stdout] | [INFO] [stdout] 133 + #[derive(Clone)] [INFO] [stdout] 134 | pub struct Mutex { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> bindings-p2p/src/lib.rs:348:34 [INFO] [stdout] | [INFO] [stdout] 348 | let client = mutex_client.clone(); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the type `tokio::sync::Mutex` does not implement `Clone`, so calling `clone` on `&tokio::sync::Mutex` copies the reference, which does not do anything and can be removed [INFO] [stdout] help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] 348 - let client = mutex_client.clone(); [INFO] [stdout] 348 + let client = mutex_client; [INFO] [stdout] | [INFO] [stdout] help: if you meant to clone `tokio::sync::Mutex`, implement `Clone` for it [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.45.0/src/sync/mutex.rs:133:1 [INFO] [stdout] | [INFO] [stdout] 133 + #[derive(Clone)] [INFO] [stdout] 134 | pub struct Mutex { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> bindings-p2p/src/lib.rs:369:34 [INFO] [stdout] | [INFO] [stdout] 369 | let client = mutex_client.clone(); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the type `tokio::sync::Mutex` does not implement `Clone`, so calling `clone` on `&tokio::sync::Mutex` copies the reference, which does not do anything and can be removed [INFO] [stdout] help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] 369 - let client = mutex_client.clone(); [INFO] [stdout] 369 + let client = mutex_client; [INFO] [stdout] | [INFO] [stdout] help: if you meant to clone `tokio::sync::Mutex`, implement `Clone` for it [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.45.0/src/sync/mutex.rs:133:1 [INFO] [stdout] | [INFO] [stdout] 133 + #[derive(Clone)] [INFO] [stdout] 134 | pub struct Mutex { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `StateContent` is more private than the item `DataContent::approved` [INFO] [stdout] --> bindings-p2p/src/lib.rs:186:5 [INFO] [stdout] | [INFO] [stdout] 186 | pub approved: StateContent, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ field `DataContent::approved` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `StateContent` is only usable at visibility `pub(crate)` [INFO] [stdout] --> bindings-p2p/src/lib.rs:171:1 [INFO] [stdout] | [INFO] [stdout] 171 | enum StateContent { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(private_interfaces)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> bindings-p2p/src/lib.rs:388:34 [INFO] [stdout] | [INFO] [stdout] 388 | let client = mutex_client.clone(); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the type `tokio::sync::Mutex` does not implement `Clone`, so calling `clone` on `&tokio::sync::Mutex` copies the reference, which does not do anything and can be removed [INFO] [stdout] help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] 388 - let client = mutex_client.clone(); [INFO] [stdout] 388 + let client = mutex_client; [INFO] [stdout] | [INFO] [stdout] help: if you meant to clone `tokio::sync::Mutex`, implement `Clone` for it [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.45.0/src/sync/mutex.rs:133:1 [INFO] [stdout] | [INFO] [stdout] 133 + #[derive(Clone)] [INFO] [stdout] 134 | pub struct Mutex { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> bindings-p2p/src/lib.rs:410:34 [INFO] [stdout] | [INFO] [stdout] 410 | let client = mutex_client.clone(); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the type `tokio::sync::Mutex` does not implement `Clone`, so calling `clone` on `&tokio::sync::Mutex` copies the reference, which does not do anything and can be removed [INFO] [stdout] help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] 410 - let client = mutex_client.clone(); [INFO] [stdout] 410 + let client = mutex_client; [INFO] [stdout] | [INFO] [stdout] help: if you meant to clone `tokio::sync::Mutex`, implement `Clone` for it [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.45.0/src/sync/mutex.rs:133:1 [INFO] [stdout] | [INFO] [stdout] 133 + #[derive(Clone)] [INFO] [stdout] 134 | pub struct Mutex { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> bindings-p2p/src/lib.rs:427:34 [INFO] [stdout] | [INFO] [stdout] 427 | let client = mutex_client.clone(); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the type `tokio::sync::Mutex` does not implement `Clone`, so calling `clone` on `&tokio::sync::Mutex` copies the reference, which does not do anything and can be removed [INFO] [stdout] help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] 427 - let client = mutex_client.clone(); [INFO] [stdout] 427 + let client = mutex_client; [INFO] [stdout] | [INFO] [stdout] help: if you meant to clone `tokio::sync::Mutex`, implement `Clone` for it [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.45.0/src/sync/mutex.rs:133:1 [INFO] [stdout] | [INFO] [stdout] 133 + #[derive(Clone)] [INFO] [stdout] 134 | pub struct Mutex { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> bindings-p2p/src/lib.rs:444:34 [INFO] [stdout] | [INFO] [stdout] 444 | let client = mutex_client.clone(); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the type `tokio::sync::Mutex` does not implement `Clone`, so calling `clone` on `&tokio::sync::Mutex` copies the reference, which does not do anything and can be removed [INFO] [stdout] help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] 444 - let client = mutex_client.clone(); [INFO] [stdout] 444 + let client = mutex_client; [INFO] [stdout] | [INFO] [stdout] help: if you meant to clone `tokio::sync::Mutex`, implement `Clone` for it [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.45.0/src/sync/mutex.rs:133:1 [INFO] [stdout] | [INFO] [stdout] 133 + #[derive(Clone)] [INFO] [stdout] 134 | pub struct Mutex { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> bindings-p2p/src/lib.rs:458:34 [INFO] [stdout] | [INFO] [stdout] 458 | let client = mutex_client.clone(); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the type `tokio::sync::Mutex` does not implement `Clone`, so calling `clone` on `&tokio::sync::Mutex` copies the reference, which does not do anything and can be removed [INFO] [stdout] help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] 458 - let client = mutex_client.clone(); [INFO] [stdout] 458 + let client = mutex_client; [INFO] [stdout] | [INFO] [stdout] help: if you meant to clone `tokio::sync::Mutex`, implement `Clone` for it [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.45.0/src/sync/mutex.rs:133:1 [INFO] [stdout] | [INFO] [stdout] 133 + #[derive(Clone)] [INFO] [stdout] 134 | pub struct Mutex { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> bindings-p2p/src/lib.rs:479:34 [INFO] [stdout] | [INFO] [stdout] 479 | let client = mutex_client.clone(); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the type `tokio::sync::Mutex` does not implement `Clone`, so calling `clone` on `&tokio::sync::Mutex` copies the reference, which does not do anything and can be removed [INFO] [stdout] help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] 479 - let client = mutex_client.clone(); [INFO] [stdout] 479 + let client = mutex_client; [INFO] [stdout] | [INFO] [stdout] help: if you meant to clone `tokio::sync::Mutex`, implement `Clone` for it [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.45.0/src/sync/mutex.rs:133:1 [INFO] [stdout] | [INFO] [stdout] 133 + #[derive(Clone)] [INFO] [stdout] 134 | pub struct Mutex { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> bindings-p2p/src/lib.rs:298:43 [INFO] [stdout] | [INFO] [stdout] 298 | let client = CLIENT.get().unwrap().clone(); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the type `tokio::sync::Mutex` does not implement `Clone`, so calling `clone` on `&tokio::sync::Mutex` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] 298 - let client = CLIENT.get().unwrap().clone(); [INFO] [stdout] 298 + let client = CLIENT.get().unwrap(); [INFO] [stdout] | [INFO] [stdout] help: if you meant to clone `tokio::sync::Mutex`, implement `Clone` for it [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.45.0/src/sync/mutex.rs:133:1 [INFO] [stdout] | [INFO] [stdout] 133 + #[derive(Clone)] [INFO] [stdout] 134 | pub struct Mutex { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> bindings-p2p/src/lib.rs:500:34 [INFO] [stdout] | [INFO] [stdout] 500 | let client = mutex_client.clone(); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the type `tokio::sync::Mutex` does not implement `Clone`, so calling `clone` on `&tokio::sync::Mutex` copies the reference, which does not do anything and can be removed [INFO] [stdout] help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] 500 - let client = mutex_client.clone(); [INFO] [stdout] 500 + let client = mutex_client; [INFO] [stdout] | [INFO] [stdout] help: if you meant to clone `tokio::sync::Mutex`, implement `Clone` for it [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.45.0/src/sync/mutex.rs:133:1 [INFO] [stdout] | [INFO] [stdout] 133 + #[derive(Clone)] [INFO] [stdout] 134 | pub struct Mutex { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> bindings-p2p/src/lib.rs:325:34 [INFO] [stdout] | [INFO] [stdout] 325 | let client = mutex_client.clone(); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the type `tokio::sync::Mutex` does not implement `Clone`, so calling `clone` on `&tokio::sync::Mutex` copies the reference, which does not do anything and can be removed [INFO] [stdout] help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] 325 - let client = mutex_client.clone(); [INFO] [stdout] 325 + let client = mutex_client; [INFO] [stdout] | [INFO] [stdout] help: if you meant to clone `tokio::sync::Mutex`, implement `Clone` for it [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.45.0/src/sync/mutex.rs:133:1 [INFO] [stdout] | [INFO] [stdout] 133 + #[derive(Clone)] [INFO] [stdout] 134 | pub struct Mutex { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> bindings-p2p/src/lib.rs:348:34 [INFO] [stdout] | [INFO] [stdout] 348 | let client = mutex_client.clone(); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the type `tokio::sync::Mutex` does not implement `Clone`, so calling `clone` on `&tokio::sync::Mutex` copies the reference, which does not do anything and can be removed [INFO] [stdout] help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] 348 - let client = mutex_client.clone(); [INFO] [stdout] 348 + let client = mutex_client; [INFO] [stdout] | [INFO] [stdout] help: if you meant to clone `tokio::sync::Mutex`, implement `Clone` for it [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.45.0/src/sync/mutex.rs:133:1 [INFO] [stdout] | [INFO] [stdout] 133 + #[derive(Clone)] [INFO] [stdout] 134 | pub struct Mutex { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> bindings-p2p/src/lib.rs:369:34 [INFO] [stdout] | [INFO] [stdout] 369 | let client = mutex_client.clone(); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the type `tokio::sync::Mutex` does not implement `Clone`, so calling `clone` on `&tokio::sync::Mutex` copies the reference, which does not do anything and can be removed [INFO] [stdout] help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] 369 - let client = mutex_client.clone(); [INFO] [stdout] 369 + let client = mutex_client; [INFO] [stdout] | [INFO] [stdout] help: if you meant to clone `tokio::sync::Mutex`, implement `Clone` for it [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.45.0/src/sync/mutex.rs:133:1 [INFO] [stdout] | [INFO] [stdout] 133 + #[derive(Clone)] [INFO] [stdout] 134 | pub struct Mutex { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> bindings-p2p/src/lib.rs:388:34 [INFO] [stdout] | [INFO] [stdout] 388 | let client = mutex_client.clone(); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the type `tokio::sync::Mutex` does not implement `Clone`, so calling `clone` on `&tokio::sync::Mutex` copies the reference, which does not do anything and can be removed [INFO] [stdout] help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] 388 - let client = mutex_client.clone(); [INFO] [stdout] 388 + let client = mutex_client; [INFO] [stdout] | [INFO] [stdout] help: if you meant to clone `tokio::sync::Mutex`, implement `Clone` for it [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.45.0/src/sync/mutex.rs:133:1 [INFO] [stdout] | [INFO] [stdout] 133 + #[derive(Clone)] [INFO] [stdout] 134 | pub struct Mutex { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> bindings-p2p/src/lib.rs:410:34 [INFO] [stdout] | [INFO] [stdout] 410 | let client = mutex_client.clone(); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the type `tokio::sync::Mutex` does not implement `Clone`, so calling `clone` on `&tokio::sync::Mutex` copies the reference, which does not do anything and can be removed [INFO] [stdout] help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] 410 - let client = mutex_client.clone(); [INFO] [stdout] 410 + let client = mutex_client; [INFO] [stdout] | [INFO] [stdout] help: if you meant to clone `tokio::sync::Mutex`, implement `Clone` for it [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.45.0/src/sync/mutex.rs:133:1 [INFO] [stdout] | [INFO] [stdout] 133 + #[derive(Clone)] [INFO] [stdout] 134 | pub struct Mutex { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> bindings-p2p/src/lib.rs:518:34 [INFO] [stdout] | [INFO] [stdout] 518 | let client = mutex_client.clone(); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the type `tokio::sync::Mutex` does not implement `Clone`, so calling `clone` on `&tokio::sync::Mutex` copies the reference, which does not do anything and can be removed [INFO] [stdout] help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] 518 - let client = mutex_client.clone(); [INFO] [stdout] 518 + let client = mutex_client; [INFO] [stdout] | [INFO] [stdout] help: if you meant to clone `tokio::sync::Mutex`, implement `Clone` for it [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.45.0/src/sync/mutex.rs:133:1 [INFO] [stdout] | [INFO] [stdout] 133 + #[derive(Clone)] [INFO] [stdout] 134 | pub struct Mutex { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> bindings-p2p/src/lib.rs:427:34 [INFO] [stdout] | [INFO] [stdout] 427 | let client = mutex_client.clone(); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the type `tokio::sync::Mutex` does not implement `Clone`, so calling `clone` on `&tokio::sync::Mutex` copies the reference, which does not do anything and can be removed [INFO] [stdout] help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] 427 - let client = mutex_client.clone(); [INFO] [stdout] 427 + let client = mutex_client; [INFO] [stdout] | [INFO] [stdout] help: if you meant to clone `tokio::sync::Mutex`, implement `Clone` for it [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.45.0/src/sync/mutex.rs:133:1 [INFO] [stdout] | [INFO] [stdout] 133 + #[derive(Clone)] [INFO] [stdout] 134 | pub struct Mutex { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> bindings-p2p/src/lib.rs:531:34 [INFO] [stdout] | [INFO] [stdout] 531 | let client = mutex_client.clone(); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the type `tokio::sync::Mutex` does not implement `Clone`, so calling `clone` on `&tokio::sync::Mutex` copies the reference, which does not do anything and can be removed [INFO] [stdout] help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] 531 - let client = mutex_client.clone(); [INFO] [stdout] 531 + let client = mutex_client; [INFO] [stdout] | [INFO] [stdout] help: if you meant to clone `tokio::sync::Mutex`, implement `Clone` for it [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.45.0/src/sync/mutex.rs:133:1 [INFO] [stdout] | [INFO] [stdout] 133 + #[derive(Clone)] [INFO] [stdout] 134 | pub struct Mutex { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> bindings-p2p/src/lib.rs:444:34 [INFO] [stdout] | [INFO] [stdout] 444 | let client = mutex_client.clone(); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the type `tokio::sync::Mutex` does not implement `Clone`, so calling `clone` on `&tokio::sync::Mutex` copies the reference, which does not do anything and can be removed [INFO] [stdout] help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] 444 - let client = mutex_client.clone(); [INFO] [stdout] 444 + let client = mutex_client; [INFO] [stdout] | [INFO] [stdout] help: if you meant to clone `tokio::sync::Mutex`, implement `Clone` for it [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.45.0/src/sync/mutex.rs:133:1 [INFO] [stdout] | [INFO] [stdout] 133 + #[derive(Clone)] [INFO] [stdout] 134 | pub struct Mutex { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> bindings-p2p/src/lib.rs:547:34 [INFO] [stdout] | [INFO] [stdout] 547 | let client = mutex_client.clone(); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the type `tokio::sync::Mutex` does not implement `Clone`, so calling `clone` on `&tokio::sync::Mutex` copies the reference, which does not do anything and can be removed [INFO] [stdout] help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] 547 - let client = mutex_client.clone(); [INFO] [stdout] 547 + let client = mutex_client; [INFO] [stdout] | [INFO] [stdout] help: if you meant to clone `tokio::sync::Mutex`, implement `Clone` for it [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.45.0/src/sync/mutex.rs:133:1 [INFO] [stdout] | [INFO] [stdout] 133 + #[derive(Clone)] [INFO] [stdout] 134 | pub struct Mutex { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> bindings-p2p/src/lib.rs:458:34 [INFO] [stdout] | [INFO] [stdout] 458 | let client = mutex_client.clone(); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the type `tokio::sync::Mutex` does not implement `Clone`, so calling `clone` on `&tokio::sync::Mutex` copies the reference, which does not do anything and can be removed [INFO] [stdout] help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] 458 - let client = mutex_client.clone(); [INFO] [stdout] 458 + let client = mutex_client; [INFO] [stdout] | [INFO] [stdout] help: if you meant to clone `tokio::sync::Mutex`, implement `Clone` for it [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.45.0/src/sync/mutex.rs:133:1 [INFO] [stdout] | [INFO] [stdout] 133 + #[derive(Clone)] [INFO] [stdout] 134 | pub struct Mutex { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> bindings-p2p/src/dummy.rs:13:41 [INFO] [stdout] | [INFO] [stdout] 13 | String::from_utf8_lossy(data.clone()) [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `[u8]` does not implement `Clone`, so calling `clone` on `&[u8]` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> bindings-p2p/src/lib.rs:479:34 [INFO] [stdout] | [INFO] [stdout] 479 | let client = mutex_client.clone(); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the type `tokio::sync::Mutex` does not implement `Clone`, so calling `clone` on `&tokio::sync::Mutex` copies the reference, which does not do anything and can be removed [INFO] [stdout] help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] 479 - let client = mutex_client.clone(); [INFO] [stdout] 479 + let client = mutex_client; [INFO] [stdout] | [INFO] [stdout] help: if you meant to clone `tokio::sync::Mutex`, implement `Clone` for it [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.45.0/src/sync/mutex.rs:133:1 [INFO] [stdout] | [INFO] [stdout] 133 + #[derive(Clone)] [INFO] [stdout] 134 | pub struct Mutex { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> bindings-p2p/src/lib.rs:500:34 [INFO] [stdout] | [INFO] [stdout] 500 | let client = mutex_client.clone(); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the type `tokio::sync::Mutex` does not implement `Clone`, so calling `clone` on `&tokio::sync::Mutex` copies the reference, which does not do anything and can be removed [INFO] [stdout] help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] 500 - let client = mutex_client.clone(); [INFO] [stdout] 500 + let client = mutex_client; [INFO] [stdout] | [INFO] [stdout] help: if you meant to clone `tokio::sync::Mutex`, implement `Clone` for it [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.45.0/src/sync/mutex.rs:133:1 [INFO] [stdout] | [INFO] [stdout] 133 + #[derive(Clone)] [INFO] [stdout] 134 | pub struct Mutex { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> bindings-p2p/src/lib.rs:518:34 [INFO] [stdout] | [INFO] [stdout] 518 | let client = mutex_client.clone(); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the type `tokio::sync::Mutex` does not implement `Clone`, so calling `clone` on `&tokio::sync::Mutex` copies the reference, which does not do anything and can be removed [INFO] [stdout] help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] 518 - let client = mutex_client.clone(); [INFO] [stdout] 518 + let client = mutex_client; [INFO] [stdout] | [INFO] [stdout] help: if you meant to clone `tokio::sync::Mutex`, implement `Clone` for it [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.45.0/src/sync/mutex.rs:133:1 [INFO] [stdout] | [INFO] [stdout] 133 + #[derive(Clone)] [INFO] [stdout] 134 | pub struct Mutex { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> bindings-p2p/src/lib.rs:531:34 [INFO] [stdout] | [INFO] [stdout] 531 | let client = mutex_client.clone(); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the type `tokio::sync::Mutex` does not implement `Clone`, so calling `clone` on `&tokio::sync::Mutex` copies the reference, which does not do anything and can be removed [INFO] [stdout] help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] 531 - let client = mutex_client.clone(); [INFO] [stdout] 531 + let client = mutex_client; [INFO] [stdout] | [INFO] [stdout] help: if you meant to clone `tokio::sync::Mutex`, implement `Clone` for it [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.45.0/src/sync/mutex.rs:133:1 [INFO] [stdout] | [INFO] [stdout] 133 + #[derive(Clone)] [INFO] [stdout] 134 | pub struct Mutex { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> bindings-p2p/src/lib.rs:547:34 [INFO] [stdout] | [INFO] [stdout] 547 | let client = mutex_client.clone(); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the type `tokio::sync::Mutex` does not implement `Clone`, so calling `clone` on `&tokio::sync::Mutex` copies the reference, which does not do anything and can be removed [INFO] [stdout] help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] 547 - let client = mutex_client.clone(); [INFO] [stdout] 547 + let client = mutex_client; [INFO] [stdout] | [INFO] [stdout] help: if you meant to clone `tokio::sync::Mutex`, implement `Clone` for it [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.45.0/src/sync/mutex.rs:133:1 [INFO] [stdout] | [INFO] [stdout] 133 + #[derive(Clone)] [INFO] [stdout] 134 | pub struct Mutex { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> bindings-p2p/src/dummy.rs:13:41 [INFO] [stdout] | [INFO] [stdout] 13 | String::from_utf8_lossy(data.clone()) [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `[u8]` does not implement `Clone`, so calling `clone` on `&[u8]` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2m 03s [INFO] running `Command { std: "docker" "inspect" "4b0206ca285c08aefe378c1fb8dcb9b7c8755abe227b90d4ff7e37ea9fb0ff89", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4b0206ca285c08aefe378c1fb8dcb9b7c8755abe227b90d4ff7e37ea9fb0ff89", kill_on_drop: false }` [INFO] [stdout] 4b0206ca285c08aefe378c1fb8dcb9b7c8755abe227b90d4ff7e37ea9fb0ff89