[INFO] cloning repository https://github.com/Smartlinuxcoder/peerwave [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Smartlinuxcoder/peerwave" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSmartlinuxcoder%2Fpeerwave", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSmartlinuxcoder%2Fpeerwave'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 4145bd49a09bf0427be1b3611beaa012f52caf2e [INFO] checking Smartlinuxcoder/peerwave against a5689b034ad287112f709693384a37f1377eb9cc for pr-129249-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSmartlinuxcoder%2Fpeerwave" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/Smartlinuxcoder/peerwave [INFO] finished tweaking git repo https://github.com/Smartlinuxcoder/peerwave [INFO] tweaked toml for git repo https://github.com/Smartlinuxcoder/peerwave written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/Smartlinuxcoder/peerwave on toolchain a5689b034ad287112f709693384a37f1377eb9cc [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a5689b034ad287112f709693384a37f1377eb9cc" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/Smartlinuxcoder/peerwave 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" "+a5689b034ad287112f709693384a37f1377eb9cc" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:77db811e55d90add9212f6832c23229e3de5f1c1f9905e8cb07319ea15df73ac" "sleep" "infinity", kill_on_drop: false }` [INFO] [stdout] c86c6946a4924975dfdf62fea9f88a53410c3fde7cf2ecc5da509e54cf6ca254 [INFO] running `Command { std: "docker" "start" "c86c6946a4924975dfdf62fea9f88a53410c3fde7cf2ecc5da509e54cf6ca254", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c86c6946a4924975dfdf62fea9f88a53410c3fde7cf2ecc5da509e54cf6ca254", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "c86c6946a4924975dfdf62fea9f88a53410c3fde7cf2ecc5da509e54cf6ca254" "/opt/rustwide/cargo-home/bin/cargo" "+a5689b034ad287112f709693384a37f1377eb9cc" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c86c6946a4924975dfdf62fea9f88a53410c3fde7cf2ecc5da509e54cf6ca254", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "c86c6946a4924975dfdf62fea9f88a53410c3fde7cf2ecc5da509e54cf6ca254" "/opt/rustwide/cargo-home/bin/cargo" "+a5689b034ad287112f709693384a37f1377eb9cc" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.95 [INFO] [stderr] Compiling libc v0.2.173 [INFO] [stderr] Compiling rustversion v1.0.21 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling autocfg v1.4.0 [INFO] [stderr] Compiling wasm-bindgen-shared v0.2.100 [INFO] [stderr] Compiling bumpalo v3.18.1 [INFO] [stderr] Checking futures-channel v0.3.31 [INFO] [stderr] Compiling wasm-bindgen v0.2.100 [INFO] [stderr] Checking futures-io v0.3.31 [INFO] [stderr] Compiling slotmap v1.0.7 [INFO] [stderr] Checking dioxus-core-types v0.7.0-alpha.2 [INFO] [stderr] Checking libloading v0.8.8 [INFO] [stderr] Checking rustc-hash v2.1.1 [INFO] [stderr] Checking longest-increasing-subsequence v0.1.0 [INFO] [stderr] Compiling zerocopy v0.8.25 [INFO] [stderr] Compiling unicode-segmentation v1.12.0 [INFO] [stderr] Compiling proc-macro2-diagnostics v0.10.1 [INFO] [stderr] Compiling semver v1.0.26 [INFO] [stderr] Compiling lazy-js-bundle v0.7.0-alpha.2 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking unicode-ident v1.0.18 [INFO] [stderr] Checking bitflags v2.9.1 [INFO] [stderr] Checking http v1.3.1 [INFO] [stderr] Checking half v2.6.0 [INFO] [stderr] Checking ciborium-io v0.2.2 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Checking keyboard-types v0.7.0 [INFO] [stderr] Compiling lock_api v0.4.13 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling xxhash-rust v0.8.15 [INFO] [stderr] Compiling convert_case v0.8.0 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Checking sha1 v0.10.6 [INFO] [stderr] Compiling dioxus-document v0.7.0-alpha.2 [INFO] [stderr] Checking ciborium-ll v0.2.2 [INFO] [stderr] Compiling rustc_version v0.4.1 [INFO] [stderr] Compiling dioxus-interpreter-js v0.7.0-alpha.2 [INFO] [stderr] Checking form_urlencoded v1.2.1 [INFO] [stderr] Checking data-encoding v2.9.0 [INFO] [stderr] Checking regex-syntax v0.8.5 [INFO] [stderr] Checking utf-8 v0.7.6 [INFO] [stderr] Checking rustc-hash v1.1.0 [INFO] [stderr] Checking regex-syntax v0.6.29 [INFO] [stderr] Checking sledgehammer_utils v0.3.1 [INFO] [stderr] Compiling server_fn_macro v0.8.2 [INFO] [stderr] Compiling server_fn v0.8.2 [INFO] [stderr] Compiling dioxus-web v0.7.0-alpha.2 [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Checking sharded-slab v0.1.7 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling sha2 v0.10.9 [INFO] [stderr] Checking send_wrapper v0.6.0 [INFO] [stderr] Checking throw_error v0.3.0 [INFO] [stderr] Checking thread_local v1.1.9 [INFO] [stderr] Compiling base16 v0.2.1 [INFO] [stderr] Checking const-str v0.6.2 [INFO] [stderr] Compiling syn v2.0.103 [INFO] [stderr] Compiling aes-wasm v0.1.17 [INFO] [stderr] Checking parking_lot_core v0.9.11 [INFO] [stderr] Checking memmap2 v0.9.5 [INFO] [stderr] Checking getrandom v0.3.3 [INFO] [stderr] Checking getrandom v0.2.16 [INFO] [stderr] Compiling const_format_proc_macros v0.2.34 [INFO] [stderr] Compiling dioxus-config-macro v0.7.0-alpha.2 [INFO] [stderr] Checking euclid v0.22.11 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking rand_core v0.9.3 [INFO] [stderr] Checking parking_lot v0.12.4 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Compiling virtue v0.0.18 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Checking signature v2.2.0 [INFO] [stderr] Checking unty v0.0.4 [INFO] [stderr] Checking dioxus-config-macros v0.7.0-alpha.2 [INFO] [stderr] Checking tokio v1.45.1 [INFO] [stderr] Checking num-iter v0.1.45 [INFO] [stderr] Checking dashmap v6.1.0 [INFO] [stderr] Compiling bincode_derive v2.0.1 [INFO] [stderr] Checking const_format v0.2.34 [INFO] [stderr] Checking regex-automata v0.4.9 [INFO] [stderr] Checking bincode v2.0.1 [INFO] [stderr] Checking regex-automata v0.1.10 [INFO] [stderr] Checking ppv-lite86 v0.2.21 [INFO] [stderr] Checking rand_chacha v0.9.0 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking matchers v0.1.0 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking rand v0.9.1 [INFO] [stderr] Checking num-bigint-dig v0.8.4 [INFO] [stderr] Checking regex v1.11.1 [INFO] [stderr] Checking rsa v0.9.8 [INFO] [stderr] Checking dioxus-rsx v0.7.0-alpha.2 [INFO] [stderr] Compiling wasm-bindgen-backend v0.2.100 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling darling_core v0.20.11 [INFO] [stderr] Compiling macro-string v0.1.4 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling tracing-attributes v0.1.29 [INFO] [stderr] Compiling thiserror-impl v2.0.12 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling pin-project-internal v1.1.10 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.0 [INFO] [stderr] Compiling warnings-macro v0.2.0 [INFO] [stderr] Compiling zerovec-derive v0.11.1 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling const-serialize-macro v0.7.0-alpha.2 [INFO] [stderr] Compiling async-trait v0.1.88 [INFO] [stderr] Compiling dioxus-html-internal-macro v0.7.0-alpha.2 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling sledgehammer_bindgen_macro v0.6.1 [INFO] [stderr] Compiling server_fn_macro_default v0.8.2 [INFO] [stderr] Compiling dioxus_server_macro v0.7.0-alpha.2 [INFO] [stderr] Compiling dioxus-router-macro v0.7.0-alpha.2 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.100 [INFO] [stderr] Compiling dioxus-core-macro v0.7.0-alpha.2 [INFO] [stderr] Checking thiserror v2.0.12 [INFO] [stderr] Checking tungstenite v0.27.0 [INFO] [stderr] Checking zerofrom v0.1.6 [INFO] [stderr] Checking yoke v0.8.0 [INFO] [stderr] Checking pin-project v1.1.10 [INFO] [stderr] Checking tracing v0.1.41 [INFO] [stderr] Checking zerovec v0.11.2 [INFO] [stderr] Checking zerotrie v0.2.2 [INFO] [stderr] Compiling darling_macro v0.20.11 [INFO] [stderr] Checking warnings v0.2.1 [INFO] [stderr] Checking generational-box v0.7.0-alpha.2 [INFO] [stderr] Checking tracing-subscriber v0.3.19 [INFO] [stderr] Compiling darling v0.20.11 [INFO] [stderr] Compiling enumset_derive v0.11.0 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.100 [INFO] [stderr] Checking enumset v1.1.6 [INFO] [stderr] Checking tinystr v0.8.1 [INFO] [stderr] Checking potential_utf v0.1.2 [INFO] [stderr] Checking icu_collections v2.0.0 [INFO] [stderr] Checking icu_locale_core v2.0.0 [INFO] [stderr] Checking js-sys v0.3.77 [INFO] [stderr] Checking dioxus-cli-config v0.7.0-alpha.2 [INFO] [stderr] Checking sledgehammer_bindgen v0.6.0 [INFO] [stderr] Checking dioxus-logger v0.7.0-alpha.2 [INFO] [stderr] Checking icu_provider v2.0.0 [INFO] [stderr] Checking futures-executor v0.3.31 [INFO] [stderr] Checking futures v0.3.31 [INFO] [stderr] Checking icu_normalizer v2.0.0 [INFO] [stderr] Checking icu_properties v2.0.1 [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 subsecond-types v0.7.0-alpha.2 [INFO] [stderr] Checking ciborium v0.2.2 [INFO] [stderr] Checking serde_qs v0.14.0 [INFO] [stderr] Checking const-serialize v0.7.0-alpha.2 [INFO] [stderr] Checking subsecond v0.7.0-alpha.2 [INFO] [stderr] Checking manganis-core v0.7.0-alpha.2 [INFO] [stderr] Checking dioxus-core v0.7.0-alpha.2 [INFO] [stderr] Compiling manganis-macro v0.7.0-alpha.2 [INFO] [stderr] Checking web-sys v0.3.77 [INFO] [stderr] Checking wasm-bindgen-futures v0.4.50 [INFO] [stderr] Checking serde-wasm-bindgen v0.6.5 [INFO] [stderr] Checking gloo-timers v0.3.0 [INFO] [stderr] Checking manganis v0.7.0-alpha.2 [INFO] [stderr] Checking dioxus-signals v0.7.0-alpha.2 [INFO] [stderr] Checking dioxus-history v0.7.0-alpha.2 [INFO] [stderr] Checking dioxus-devtools-types v0.7.0-alpha.2 [INFO] [stderr] Checking dioxus-fullstack-protocol v0.7.0-alpha.2 [INFO] [stderr] Checking dioxus-hooks v0.7.0-alpha.2 [INFO] [stderr] Checking dioxus-devtools v0.7.0-alpha.2 [INFO] [stderr] Checking dioxus-html v0.7.0-alpha.2 [INFO] [stderr] Checking dioxus-fullstack-hooks v0.7.0-alpha.2 [INFO] [stderr] Checking dioxus-lib v0.7.0-alpha.2 [INFO] [stderr] Checking dioxus-router v0.7.0-alpha.2 [INFO] [stderr] Checking gloo-utils v0.2.0 [INFO] [stderr] Checking wasm-streams v0.4.2 [INFO] [stderr] Checking gloo-net v0.6.0 [INFO] [stderr] Checking dioxus-fullstack v0.7.0-alpha.2 [INFO] [stderr] Checking dioxus v0.7.0-alpha.2 [INFO] [stderr] Checking peerwave v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `EncodePrivateKey` and `EncodePublicKey` [INFO] [stdout] --> src/node.rs:10:48 [INFO] [stdout] | [INFO] [stdout] 10 | pkcs8::{DecodePrivateKey, DecodePublicKey, EncodePrivateKey, EncodePublicKey}, [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: `config` [INFO] [stdout] --> src/ws_types.rs:4:15 [INFO] [stdout] | [INFO] [stdout] 4 | use bincode::{config, Decode, Encode}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `EncodePrivateKey` and `EncodePublicKey` [INFO] [stdout] --> src/node.rs:10:48 [INFO] [stdout] | [INFO] [stdout] 10 | pkcs8::{DecodePrivateKey, DecodePublicKey, EncodePrivateKey, EncodePublicKey}, [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: `config` [INFO] [stdout] --> src/ws_types.rs:4:15 [INFO] [stdout] | [INFO] [stdout] 4 | use bincode::{config, Decode, Encode}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `connect` is never used [INFO] [stdout] --> src/client.rs:10:14 [INFO] [stdout] | [INFO] [stdout] 10 | pub async fn connect(destination: PublicNode, node: Arc>) { [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 `process_message` is never used [INFO] [stdout] --> src/client.rs:115:4 [INFO] [stdout] | [INFO] [stdout] 115 | fn process_message( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Blob` is never constructed [INFO] [stdout] --> src/message.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct Blob { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Message` is never constructed [INFO] [stdout] --> src/message.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 19 | pub struct Message { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Payload` is never used [INFO] [stdout] --> src/message.rs:26:10 [INFO] [stdout] | [INFO] [stdout] 26 | pub enum Payload { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `new_blob`, `new_message`, `new_payload`, and `unwrap_payload` are never used [INFO] [stdout] --> src/message.rs:32:12 [INFO] [stdout] | [INFO] [stdout] 31 | impl Payload { [INFO] [stdout] | ------------ associated functions in this implementation [INFO] [stdout] 32 | pub fn new_blob(pubkey: String, payload: Vec, hashcash: String) -> Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 39 | pub fn new_message(from: String, text: String, signature: String) -> Self { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 46 | pub fn new_payload(pubkeys: Vec, text: String, node: &Node) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 67 | pub fn unwrap_payload( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test` is never used [INFO] [stdout] --> src/message.rs:93:8 [INFO] [stdout] | [INFO] [stdout] 93 | pub fn test() { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_payload_to_unwrap` is never used [INFO] [stdout] --> src/message.rs:150:4 [INFO] [stdout] | [INFO] [stdout] 150 | fn get_payload_to_unwrap(unwrapped: Payload) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Node` is never constructed [INFO] [stdout] --> src/node.rs:28:12 [INFO] [stdout] | [INFO] [stdout] 28 | pub struct Node { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `sign`, `decrypt`, and `route_payload` are never used [INFO] [stdout] --> src/node.rs:121:12 [INFO] [stdout] | [INFO] [stdout] 46 | impl Node { [INFO] [stdout] | --------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 121 | pub fn sign(&self, data: &[u8]) -> String { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 132 | pub fn decrypt(&self, data: &[u8]) -> Result, Box> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 175 | pub fn route_payload(&self, destination: String) -> Result, String> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `PublicNode` is never constructed [INFO] [stdout] --> src/node.rs:241:12 [INFO] [stdout] | [INFO] [stdout] 241 | pub struct PublicNode { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SignedPublicNode` is never constructed [INFO] [stdout] --> src/node.rs:269:12 [INFO] [stdout] | [INFO] [stdout] 269 | pub struct SignedPublicNode { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `verify_signature` is never used [INFO] [stdout] --> src/node.rs:294:8 [INFO] [stdout] | [INFO] [stdout] 294 | pub fn verify_signature( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `encrypt_with_pubkey` is never used [INFO] [stdout] --> src/node.rs:312:8 [INFO] [stdout] | [INFO] [stdout] 312 | pub fn encrypt_with_pubkey( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `AuthRequest` is never constructed [INFO] [stdout] --> src/ws_types.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct AuthRequest { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `AuthResponse` is never constructed [INFO] [stdout] --> src/ws_types.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 16 | pub struct AuthResponse { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ConnectionState` is never constructed [INFO] [stdout] --> src/ws_types.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 22 | pub struct ConnectionState { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `AuthPayload` is never used [INFO] [stdout] --> src/ws_types.rs:38:10 [INFO] [stdout] | [INFO] [stdout] 38 | pub enum AuthPayload { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `send_auth_request`, `handle_auth_request`, and `handle_auth_response` are never used [INFO] [stdout] --> src/ws_types.rs:45:12 [INFO] [stdout] | [INFO] [stdout] 44 | impl ConnectionState { [INFO] [stdout] | -------------------- associated items in this implementation [INFO] [stdout] 45 | pub fn new(tx: mpsc::UnboundedSender) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 54 | pub fn send_auth_request(&self, to: String, self_pubkey: &str) -> AuthPayload { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 62 | pub fn handle_auth_request( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 78 | pub fn handle_auth_response( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `update_peer_last_seen` is never used [INFO] [stdout] --> src/ws_types.rs:105:8 [INFO] [stdout] | [INFO] [stdout] 105 | pub fn update_peer_last_seen(node: &mut Node, pubkey: &str) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Message` is never used [INFO] [stdout] --> src/ws_types.rs:125:10 [INFO] [stdout] | [INFO] [stdout] 125 | pub enum Message { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `connect` is never used [INFO] [stdout] --> src/client.rs:10:14 [INFO] [stdout] | [INFO] [stdout] 10 | pub async fn connect(destination: PublicNode, node: Arc>) { [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 `process_message` is never used [INFO] [stdout] --> src/client.rs:115:4 [INFO] [stdout] | [INFO] [stdout] 115 | fn process_message( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Blob` is never constructed [INFO] [stdout] --> src/message.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct Blob { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Message` is never constructed [INFO] [stdout] --> src/message.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 19 | pub struct Message { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Payload` is never used [INFO] [stdout] --> src/message.rs:26:10 [INFO] [stdout] | [INFO] [stdout] 26 | pub enum Payload { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `new_blob`, `new_message`, `new_payload`, and `unwrap_payload` are never used [INFO] [stdout] --> src/message.rs:32:12 [INFO] [stdout] | [INFO] [stdout] 31 | impl Payload { [INFO] [stdout] | ------------ associated functions in this implementation [INFO] [stdout] 32 | pub fn new_blob(pubkey: String, payload: Vec, hashcash: String) -> Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 39 | pub fn new_message(from: String, text: String, signature: String) -> Self { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 46 | pub fn new_payload(pubkeys: Vec, text: String, node: &Node) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 67 | pub fn unwrap_payload( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test` is never used [INFO] [stdout] --> src/message.rs:93:8 [INFO] [stdout] | [INFO] [stdout] 93 | pub fn test() { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_payload_to_unwrap` is never used [INFO] [stdout] --> src/message.rs:150:4 [INFO] [stdout] | [INFO] [stdout] 150 | fn get_payload_to_unwrap(unwrapped: Payload) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Node` is never constructed [INFO] [stdout] --> src/node.rs:28:12 [INFO] [stdout] | [INFO] [stdout] 28 | pub struct Node { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `sign`, `decrypt`, and `route_payload` are never used [INFO] [stdout] --> src/node.rs:121:12 [INFO] [stdout] | [INFO] [stdout] 46 | impl Node { [INFO] [stdout] | --------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 121 | pub fn sign(&self, data: &[u8]) -> String { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 132 | pub fn decrypt(&self, data: &[u8]) -> Result, Box> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 175 | pub fn route_payload(&self, destination: String) -> Result, String> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `PublicNode` is never constructed [INFO] [stdout] --> src/node.rs:241:12 [INFO] [stdout] | [INFO] [stdout] 241 | pub struct PublicNode { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SignedPublicNode` is never constructed [INFO] [stdout] --> src/node.rs:269:12 [INFO] [stdout] | [INFO] [stdout] 269 | pub struct SignedPublicNode { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `verify_signature` is never used [INFO] [stdout] --> src/node.rs:294:8 [INFO] [stdout] | [INFO] [stdout] 294 | pub fn verify_signature( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `encrypt_with_pubkey` is never used [INFO] [stdout] --> src/node.rs:312:8 [INFO] [stdout] | [INFO] [stdout] 312 | pub fn encrypt_with_pubkey( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `AuthRequest` is never constructed [INFO] [stdout] --> src/ws_types.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct AuthRequest { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `AuthResponse` is never constructed [INFO] [stdout] --> src/ws_types.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 16 | pub struct AuthResponse { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ConnectionState` is never constructed [INFO] [stdout] --> src/ws_types.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 22 | pub struct ConnectionState { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `AuthPayload` is never used [INFO] [stdout] --> src/ws_types.rs:38:10 [INFO] [stdout] | [INFO] [stdout] 38 | pub enum AuthPayload { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `send_auth_request`, `handle_auth_request`, and `handle_auth_response` are never used [INFO] [stdout] --> src/ws_types.rs:45:12 [INFO] [stdout] | [INFO] [stdout] 44 | impl ConnectionState { [INFO] [stdout] | -------------------- associated items in this implementation [INFO] [stdout] 45 | pub fn new(tx: mpsc::UnboundedSender) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 54 | pub fn send_auth_request(&self, to: String, self_pubkey: &str) -> AuthPayload { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 62 | pub fn handle_auth_request( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 78 | pub fn handle_auth_response( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `update_peer_last_seen` is never used [INFO] [stdout] --> src/ws_types.rs:105:8 [INFO] [stdout] | [INFO] [stdout] 105 | pub fn update_peer_last_seen(node: &mut Node, pubkey: &str) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Message` is never used [INFO] [stdout] --> src/ws_types.rs:125:10 [INFO] [stdout] | [INFO] [stdout] 125 | pub enum Message { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `Vec` [INFO] [stdout] --> src/client.rs:66:42 [INFO] [stdout] | [INFO] [stdout] 66 | if tx.send(WsMessage::Binary(encoded_payload.into())) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors [INFO] [stdout] = note: `#[deny(self_type_conversion)]` on by default [INFO] [stdout] help: consider removing the conversion call [INFO] [stdout] | [INFO] [stdout] 66 - if tx.send(WsMessage::Binary(encoded_payload.into())) [INFO] [stdout] 66 + if tx.send(WsMessage::Binary(encoded_payload)) [INFO] [stdout] | [INFO] [stdout] help: you can use the fully-qualified path to avoid triggering this lint [INFO] [stdout] | [INFO] [stdout] 66 - if tx.send(WsMessage::Binary(encoded_payload.into())) [INFO] [stdout] 66 + if tx.send(WsMessage::Binary( as Into<_>>::into(encoded_payload))) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `std::string::String` [INFO] [stdout] --> src/client.rs:159:43 [INFO] [stdout] | [INFO] [stdout] 159 | .send(WsMessage::Text(response_json.into())) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors [INFO] [stdout] help: consider removing the conversion call [INFO] [stdout] | [INFO] [stdout] 159 - .send(WsMessage::Text(response_json.into())) [INFO] [stdout] 159 + .send(WsMessage::Text(response_json)) [INFO] [stdout] | [INFO] [stdout] help: you can use the fully-qualified path to avoid triggering this lint [INFO] [stdout] | [INFO] [stdout] 159 - .send(WsMessage::Text(response_json.into())) [INFO] [stdout] 159 + .send(WsMessage::Text(>::into(response_json))) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `Vec` [INFO] [stdout] --> src/client.rs:66:42 [INFO] [stdout] | [INFO] [stdout] 66 | if tx.send(WsMessage::Binary(encoded_payload.into())) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors [INFO] [stdout] = note: `#[deny(self_type_conversion)]` on by default [INFO] [stdout] help: consider removing the conversion call [INFO] [stdout] | [INFO] [stdout] 66 - if tx.send(WsMessage::Binary(encoded_payload.into())) [INFO] [stdout] 66 + if tx.send(WsMessage::Binary(encoded_payload)) [INFO] [stdout] | [INFO] [stdout] help: you can use the fully-qualified path to avoid triggering this lint [INFO] [stdout] | [INFO] [stdout] 66 - if tx.send(WsMessage::Binary(encoded_payload.into())) [INFO] [stdout] 66 + if tx.send(WsMessage::Binary( as Into<_>>::into(encoded_payload))) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `std::string::String` [INFO] [stdout] --> src/client.rs:159:43 [INFO] [stdout] | [INFO] [stdout] 159 | .send(WsMessage::Text(response_json.into())) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors [INFO] [stdout] help: consider removing the conversion call [INFO] [stdout] | [INFO] [stdout] 159 - .send(WsMessage::Text(response_json.into())) [INFO] [stdout] 159 + .send(WsMessage::Text(response_json)) [INFO] [stdout] | [INFO] [stdout] help: you can use the fully-qualified path to avoid triggering this lint [INFO] [stdout] | [INFO] [stdout] 159 - .send(WsMessage::Text(response_json.into())) [INFO] [stdout] 159 + .send(WsMessage::Text(>::into(response_json))) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `peerwave` (bin "peerwave" test) due to 2 previous errors; 23 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `peerwave` (bin "peerwave") due to 2 previous errors; 23 warnings emitted [INFO] running `Command { std: "docker" "inspect" "c86c6946a4924975dfdf62fea9f88a53410c3fde7cf2ecc5da509e54cf6ca254", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c86c6946a4924975dfdf62fea9f88a53410c3fde7cf2ecc5da509e54cf6ca254", kill_on_drop: false }` [INFO] [stdout] c86c6946a4924975dfdf62fea9f88a53410c3fde7cf2ecc5da509e54cf6ca254