[INFO] cloning repository https://github.com/Scurrra/ya [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Scurrra/ya" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FScurrra%2Fya", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FScurrra%2Fya'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 135c45ad91fe362dfba0f5ea2c33e3cbc117e7c3 [INFO] testing Scurrra/ya against 1.84.0 for beta-1.85-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FScurrra%2Fya" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Scurrra/ya on toolchain 1.84.0 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.84.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Scurrra/ya [INFO] finished tweaking git repo https://github.com/Scurrra/ya [INFO] tweaked toml for git repo https://github.com/Scurrra/ya written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/Scurrra/ya 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" "+1.84.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"` [INFO] [stderr] note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest [INFO] [stderr] note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest [INFO] [stderr] note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded castaway v0.1.2 [INFO] [stderr] Downloaded openssl-sys v0.9.85 [INFO] [stderr] Downloaded rustix v0.37.13 [INFO] [stderr] Downloaded isahc v1.7.2 [INFO] [stderr] Downloaded openssl v0.10.50 [INFO] [stderr] Downloaded curl-sys v0.4.61+curl-8.0.1 [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:86ea7c7af713d31e8cfdb68a6d0db50b5cf7cbeecde3d112f9f257f747318d36" "/opt/rustwide/cargo-home/bin/cargo" "+1.84.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a8eaaa7798ab74e15f1329efbcd2a8727a53a4a9a9df2925fe37dc100583d0ba [INFO] running `Command { std: "docker" "start" "-a" "a8eaaa7798ab74e15f1329efbcd2a8727a53a4a9a9df2925fe37dc100583d0ba", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a8eaaa7798ab74e15f1329efbcd2a8727a53a4a9a9df2925fe37dc100583d0ba", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a8eaaa7798ab74e15f1329efbcd2a8727a53a4a9a9df2925fe37dc100583d0ba", kill_on_drop: false }` [INFO] [stdout] a8eaaa7798ab74e15f1329efbcd2a8727a53a4a9a9df2925fe37dc100583d0ba [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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:86ea7c7af713d31e8cfdb68a6d0db50b5cf7cbeecde3d112f9f257f747318d36" "/opt/rustwide/cargo-home/bin/cargo" "+1.84.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 021867edd0eee5ae751126c4e1564d9d4520da7ef3ec443fda6594bff8cee215 [INFO] running `Command { std: "docker" "start" "-a" "021867edd0eee5ae751126c4e1564d9d4520da7ef3ec443fda6594bff8cee215", kill_on_drop: false }` [INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"` [INFO] [stderr] note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest [INFO] [stderr] note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest [INFO] [stderr] note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions [INFO] [stderr] Compiling proc-macro2 v1.0.56 [INFO] [stderr] Compiling unicode-ident v1.0.8 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling quote v1.0.26 [INFO] [stderr] Compiling libc v0.2.141 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Compiling pin-project-lite v0.2.9 [INFO] [stderr] Compiling futures-core v0.3.28 [INFO] [stderr] Compiling typenum v1.16.0 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling once_cell v1.17.1 [INFO] [stderr] Compiling pkg-config v0.3.26 [INFO] [stderr] Compiling cc v1.0.79 [INFO] [stderr] Compiling futures-channel v0.3.28 [INFO] [stderr] Compiling bytes v1.4.0 [INFO] [stderr] Compiling futures-sink v0.3.28 [INFO] [stderr] Compiling futures-task v0.3.28 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling futures-util v0.3.28 [INFO] [stderr] Compiling itoa v1.0.6 [INFO] [stderr] Compiling serde_derive v1.0.159 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling futures-io v0.3.28 [INFO] [stderr] Compiling tracing-core v0.1.30 [INFO] [stderr] Compiling slab v0.4.8 [INFO] [stderr] Compiling tokio v1.27.0 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Compiling serde v1.0.159 [INFO] [stderr] Compiling openssl v0.10.50 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Compiling tinyvec_macros v0.1.1 [INFO] [stderr] Compiling hashbrown v0.12.3 [INFO] [stderr] Compiling httparse v1.8.0 [INFO] [stderr] Compiling native-tls v0.2.11 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling tinyvec v1.6.0 [INFO] [stderr] Compiling openssl-probe v0.1.5 [INFO] [stderr] Compiling try-lock v0.2.4 [INFO] [stderr] Compiling http v0.2.9 [INFO] [stderr] Compiling percent-encoding v2.2.0 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling unicode-bidi v0.3.13 [INFO] [stderr] Compiling form_urlencoded v1.1.0 [INFO] [stderr] Compiling httpdate v1.0.2 [INFO] [stderr] Compiling tower-service v0.3.2 [INFO] [stderr] Compiling cpufeatures v0.2.6 [INFO] [stderr] Compiling ryu v1.0.13 [INFO] [stderr] Compiling ppv-lite86 v0.2.17 [INFO] [stderr] Compiling encoding_rs v0.8.32 [INFO] [stderr] Compiling tracing v0.1.37 [INFO] [stderr] Compiling base64 v0.21.0 [INFO] [stderr] Compiling mime v0.3.17 [INFO] [stderr] Compiling ipnet v2.7.2 [INFO] [stderr] Compiling syn v2.0.13 [INFO] [stderr] Compiling openssl-sys v0.9.85 [INFO] [stderr] Compiling unicode-normalization v0.1.22 [INFO] [stderr] Compiling http-body v0.4.5 [INFO] [stderr] Compiling mio v0.8.6 [INFO] [stderr] Compiling num_cpus v1.15.0 [INFO] [stderr] Compiling socket2 v0.4.9 [INFO] [stderr] Compiling getrandom v0.2.8 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling inout v0.1.3 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling idna v0.3.0 [INFO] [stderr] Compiling digest v0.10.6 [INFO] [stderr] Compiling cipher v0.4.4 [INFO] [stderr] Compiling sha2 v0.10.6 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling aes v0.8.2 [INFO] [stderr] Compiling url v2.3.1 [INFO] [stderr] Compiling futures-macro v0.3.28 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling tokio-util v0.7.7 [INFO] [stderr] Compiling h2 v0.3.18 [INFO] [stderr] Compiling futures-executor v0.3.28 [INFO] [stderr] Compiling futures v0.3.28 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling bitflags v2.2.1 [INFO] [stderr] Compiling bincode v1.3.3 [INFO] [stderr] Compiling hyper v0.14.26 [INFO] [stderr] Compiling hyper-tls v0.5.0 [INFO] [stderr] Compiling reqwest v0.11.16 [INFO] [stderr] Compiling yap2p v0.1.2 (/opt/rustwide/workdir/yap2p) [INFO] [stdout] warning: unused import: `std::error::Error` [INFO] [stdout] --> yap2p/src/protocols/mbp/mod.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::error::Error; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::net::SocketAddr` [INFO] [stdout] --> yap2p/src/protocols/mbp/mod.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::net::SocketAddr; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `HashSet` and `VecDeque` [INFO] [stdout] --> yap2p/src/protocols/mbp/mod.rs:7:24 [INFO] [stdout] | [INFO] [stdout] 7 | use std::collections::{VecDeque, HashSet, HashMap}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::task::Waker` [INFO] [stdout] --> yap2p/src/protocols/mbp/mod.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use std::task::Waker; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rand::Rng` [INFO] [stdout] --> yap2p/src/protocols/mbp/mod.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | use rand::Rng; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tokio::sync::Mutex` [INFO] [stdout] --> yap2p/src/protocols/mbp/mod.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | use tokio::sync::Mutex; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::crypto::history::*` [INFO] [stdout] --> yap2p/src/protocols/mbp/mod.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | use crate::crypto::history::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable statement [INFO] [stdout] --> yap2p/src/protocols/mbp/mod.rs:161:9 [INFO] [stdout] | [INFO] [stdout] 111 | / loop { [INFO] [stdout] 112 | | // handling incoming packet [INFO] [stdout] 113 | | let mut buf_array = [0u8; RECEIVE_BUFFER_SIZE]; [INFO] [stdout] 114 | | let mut readbuf = ReadBuf::new(&mut buf_array); [INFO] [stdout] ... | [INFO] [stdout] 159 | | } [INFO] [stdout] 160 | | } [INFO] [stdout] | |_________- any code following this expression is unreachable [INFO] [stdout] 161 | return Poll::Ready(()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ unreachable statement [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `n_bytes_sent` [INFO] [stdout] --> yap2p/src/protocols/sdp/sdp.rs:558:35 [INFO] [stdout] | [INFO] [stdout] 558 | if let Ok(n_bytes_sent) = ready!(self.socket.poll_send_to( [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_n_bytes_sent` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `n_bytes_sent` [INFO] [stdout] --> yap2p/src/protocols/sdp/sdp.rs:577:35 [INFO] [stdout] | [INFO] [stdout] 577 | if let Ok(n_bytes_sent) = ready!(self.socket.poll_send_to( [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_n_bytes_sent` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> yap2p/src/protocols/sdp/sdp.rs:1279:56 [INFO] [stdout] | [INFO] [stdout] 1279 | ... ControlFlow::Break(Err(e)) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `n_packets` [INFO] [stdout] --> yap2p/src/protocols/sdp/sdp.rs:1283:55 [INFO] [stdout] | [INFO] [stdout] 1283 | ... ControlFlow::Continue(n_packets) => { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_n_packets` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> yap2p/src/protocols/sdp/sdp.rs:1288:57 [INFO] [stdout] | [INFO] [stdout] 1288 | ... Poll::Ready(Err(e)) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> yap2p/src/protocols/sdp/sdp.rs:1336:60 [INFO] [stdout] | [INFO] [stdout] 1336 | ... ControlFlow::Break(Err(e)) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `n_packets` [INFO] [stdout] --> yap2p/src/protocols/sdp/sdp.rs:1340:59 [INFO] [stdout] | [INFO] [stdout] 1340 | ... ControlFlow::Continue(n_packets) => { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_n_packets` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> yap2p/src/protocols/sdp/sdp.rs:1358:21 [INFO] [stdout] | [INFO] [stdout] 1358 | Err(e) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `n_bytes_sent` [INFO] [stdout] --> yap2p/src/protocols/sdp/sdp_self.rs:507:35 [INFO] [stdout] | [INFO] [stdout] 507 | if let Ok(n_bytes_sent) = ready!(self.socket.poll_send_to( [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_n_bytes_sent` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `n_bytes_sent` [INFO] [stdout] --> yap2p/src/protocols/sdp/sdp_self.rs:526:35 [INFO] [stdout] | [INFO] [stdout] 526 | if let Ok(n_bytes_sent) = ready!(self.socket.poll_send_to( [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_n_bytes_sent` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `receiver` [INFO] [stdout] --> yap2p/src/protocols/sdp/sdp_self.rs:1143:29 [INFO] [stdout] | [INFO] [stdout] 1143 | for receiver in receivers { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_receiver` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> yap2p/src/protocols/sdp/sdp_self.rs:1157:56 [INFO] [stdout] | [INFO] [stdout] 1157 | ... ControlFlow::Break(Err(e)) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `n_packets` [INFO] [stdout] --> yap2p/src/protocols/sdp/sdp_self.rs:1161:55 [INFO] [stdout] | [INFO] [stdout] 1161 | ... ControlFlow::Continue(n_packets) => { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_n_packets` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> yap2p/src/protocols/sdp/sdp_self.rs:1166:57 [INFO] [stdout] | [INFO] [stdout] 1166 | ... Poll::Ready(Err(e)) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `receiver` [INFO] [stdout] --> yap2p/src/protocols/sdp/sdp_self.rs:1200:33 [INFO] [stdout] | [INFO] [stdout] 1200 | ... for receiver in receivers { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_receiver` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> yap2p/src/protocols/sdp/sdp_self.rs:1214:60 [INFO] [stdout] | [INFO] [stdout] 1214 | ... ControlFlow::Break(Err(e)) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `n_packets` [INFO] [stdout] --> yap2p/src/protocols/sdp/sdp_self.rs:1218:59 [INFO] [stdout] | [INFO] [stdout] 1218 | ... ControlFlow::Continue(n_packets) => { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_n_packets` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> yap2p/src/protocols/sdp/sdp_self.rs:1236:21 [INFO] [stdout] | [INFO] [stdout] 1236 | Err(e) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `contacts` [INFO] [stdout] --> yap2p/src/protocols/mbp/mod.rs:119:25 [INFO] [stdout] | [INFO] [stdout] 119 | let contacts = MeshContacts::deserialize(packet[36..].to_vec()); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_contacts` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `contact` [INFO] [stdout] --> yap2p/src/protocols/mbp/mod.rs:146:33 [INFO] [stdout] | [INFO] [stdout] 146 | if let Some(contact) = self.static_nodes.iter() [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_contact` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> yap2p/src/protocols/mbp/mod.rs:107:13 [INFO] [stdout] | [INFO] [stdout] 107 | fn poll(mut self: Pin<&mut Self>, cx: &mut Context<'_>) -> Poll { [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: methods `set_or_add_addr` and `remove_addr` are never used [INFO] [stdout] --> yap2p/src/peer/mod.rs:334:19 [INFO] [stdout] | [INFO] [stdout] 285 | impl Contact { [INFO] [stdout] | ------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 334 | pub(crate) fn set_or_add_addr(&self, device: u16, address: (Addr, u16)) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 360 | pub(crate) fn remove_addr(&self, device: u16) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `echo` is never used [INFO] [stdout] --> yap2p/src/protocols/sdp/sdp.rs:423:8 [INFO] [stdout] | [INFO] [stdout] 416 | impl SdpConnection { [INFO] [stdout] | ------------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 423 | fn echo( [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `echo` is never used [INFO] [stdout] --> yap2p/src/protocols/sdp/sdp_self.rs:370:8 [INFO] [stdout] | [INFO] [stdout] 363 | impl SdpSelfConnection { [INFO] [stdout] | ---------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 370 | fn echo( [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `serialize` is never used [INFO] [stdout] --> yap2p/src/protocols/mbp/mod.rs:45:19 [INFO] [stdout] | [INFO] [stdout] 38 | impl MeshContacts { [INFO] [stdout] | ----------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 45 | pub(crate) fn serialize(&self) -> Vec { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `echoed` and `rtt` are never read [INFO] [stdout] --> yap2p/src/protocols/mbp/mod.rs:62:5 [INFO] [stdout] | [INFO] [stdout] 60 | struct Scheduler { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 61 | /// Last moment [`Node`] sent `ECHO` packet [INFO] [stdout] 62 | echoed: Instant, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 65 | rtt: Duration [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `nodes_scheduler` is never read [INFO] [stdout] --> yap2p/src/protocols/mbp/mod.rs:77:5 [INFO] [stdout] | [INFO] [stdout] 68 | pub struct MbpDriver { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 77 | nodes_scheduler: HashMap [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> yap2p/src/protocols/mbp/mod.rs:88:12 [INFO] [stdout] | [INFO] [stdout] 80 | impl MbpDriver { [INFO] [stdout] | -------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 88 | pub fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `obtain_ipv4_addr` is never used [INFO] [stdout] --> yap2p/src/ip/mod.rs:26:15 [INFO] [stdout] | [INFO] [stdout] 26 | pub(crate) fn obtain_ipv4_addr() -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `chunk_data_for_encryption` is never used [INFO] [stdout] --> yap2p/src/utils.rs:10:15 [INFO] [stdout] | [INFO] [stdout] 10 | pub(crate) fn chunk_data_for_encryption(data: impl AsRef<[u8]>) -> Vec> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for the crate [INFO] [stdout] --> yap2p/src/lib.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / #![cfg_attr(docsrs, feature(doc_auto_cfg))] [INFO] [stdout] 2 | | #![warn(missing_docs)] [INFO] [stdout] 3 | | [INFO] [stdout] 4 | | pub mod peer; [INFO] [stdout] ... | [INFO] [stdout] 9 | | pub(crate) mod ip; [INFO] [stdout] 10 | | pub(crate) mod utils; [INFO] [stdout] | |_____________________^ [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> yap2p/src/lib.rs:2:9 [INFO] [stdout] | [INFO] [stdout] 2 | #![warn(missing_docs)] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `A` should have a snake case name [INFO] [stdout] --> yap2p/src/crypto/dh.rs:59:21 [INFO] [stdout] | [INFO] [stdout] 59 | let mut A = self.base.pow(log); [INFO] [stdout] | ^ help: convert the identifier to snake case: `a` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `A` should have a snake case name [INFO] [stdout] --> yap2p/src/crypto/dh.rs:81:21 [INFO] [stdout] | [INFO] [stdout] 81 | let mut A = self.base.pow(log); [INFO] [stdout] | ^ help: convert the identifier to snake case: `a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct field [INFO] [stdout] --> yap2p/src/protocols/sdp/mod.rs:151:9 [INFO] [stdout] | [INFO] [stdout] 151 | first_packet: Packet, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct field [INFO] [stdout] --> yap2p/src/protocols/sdp/mod.rs:152:9 [INFO] [stdout] | [INFO] [stdout] 152 | rest_of_payload: VecDeque> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct field [INFO] [stdout] --> yap2p/src/protocols/sdp/mod.rs:157:9 [INFO] [stdout] | [INFO] [stdout] 157 | first_packet_id: u64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct field [INFO] [stdout] --> yap2p/src/protocols/sdp/mod.rs:158:9 [INFO] [stdout] | [INFO] [stdout] 158 | payload: Mutex> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 41.21s [INFO] running `Command { std: "docker" "inspect" "021867edd0eee5ae751126c4e1564d9d4520da7ef3ec443fda6594bff8cee215", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "021867edd0eee5ae751126c4e1564d9d4520da7ef3ec443fda6594bff8cee215", kill_on_drop: false }` [INFO] [stdout] 021867edd0eee5ae751126c4e1564d9d4520da7ef3ec443fda6594bff8cee215 [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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:86ea7c7af713d31e8cfdb68a6d0db50b5cf7cbeecde3d112f9f257f747318d36" "/opt/rustwide/cargo-home/bin/cargo" "+1.84.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5a3bb112287e291ccf9989aac8095998ca3ca92f05ce0db251e4b6d70fbb6b53 [INFO] running `Command { std: "docker" "start" "-a" "5a3bb112287e291ccf9989aac8095998ca3ca92f05ce0db251e4b6d70fbb6b53", kill_on_drop: false }` [INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"` [INFO] [stderr] note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest [INFO] [stderr] note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest [INFO] [stderr] note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions [INFO] [stdout] warning: unused import: `std::error::Error` [INFO] [stdout] --> yap2p/src/protocols/mbp/mod.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::error::Error; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::net::SocketAddr` [INFO] [stdout] --> yap2p/src/protocols/mbp/mod.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::net::SocketAddr; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `HashSet` and `VecDeque` [INFO] [stdout] --> yap2p/src/protocols/mbp/mod.rs:7:24 [INFO] [stdout] | [INFO] [stdout] 7 | use std::collections::{VecDeque, HashSet, HashMap}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::task::Waker` [INFO] [stdout] --> yap2p/src/protocols/mbp/mod.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use std::task::Waker; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rand::Rng` [INFO] [stdout] --> yap2p/src/protocols/mbp/mod.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | use rand::Rng; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tokio::sync::Mutex` [INFO] [stdout] --> yap2p/src/protocols/mbp/mod.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | use tokio::sync::Mutex; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::crypto::history::*` [INFO] [stdout] --> yap2p/src/protocols/mbp/mod.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | use crate::crypto::history::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable statement [INFO] [stdout] --> yap2p/src/protocols/mbp/mod.rs:161:9 [INFO] [stdout] | [INFO] [stdout] 111 | / loop { [INFO] [stdout] 112 | | // handling incoming packet [INFO] [stdout] 113 | | let mut buf_array = [0u8; RECEIVE_BUFFER_SIZE]; [INFO] [stdout] 114 | | let mut readbuf = ReadBuf::new(&mut buf_array); [INFO] [stdout] ... | [INFO] [stdout] 159 | | } [INFO] [stdout] 160 | | } [INFO] [stdout] | |_________- any code following this expression is unreachable [INFO] [stdout] 161 | return Poll::Ready(()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ unreachable statement [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `n_bytes_sent` [INFO] [stdout] --> yap2p/src/protocols/sdp/sdp.rs:558:35 [INFO] [stdout] | [INFO] [stdout] 558 | if let Ok(n_bytes_sent) = ready!(self.socket.poll_send_to( [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_n_bytes_sent` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `n_bytes_sent` [INFO] [stdout] --> yap2p/src/protocols/sdp/sdp.rs:577:35 [INFO] [stdout] | [INFO] [stdout] 577 | if let Ok(n_bytes_sent) = ready!(self.socket.poll_send_to( [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_n_bytes_sent` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> yap2p/src/protocols/sdp/sdp.rs:1279:56 [INFO] [stdout] | [INFO] [stdout] 1279 | ... ControlFlow::Break(Err(e)) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `n_packets` [INFO] [stdout] --> yap2p/src/protocols/sdp/sdp.rs:1283:55 [INFO] [stdout] | [INFO] [stdout] 1283 | ... ControlFlow::Continue(n_packets) => { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_n_packets` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> yap2p/src/protocols/sdp/sdp.rs:1288:57 [INFO] [stdout] | [INFO] [stdout] 1288 | ... Poll::Ready(Err(e)) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> yap2p/src/protocols/sdp/sdp.rs:1336:60 [INFO] [stdout] | [INFO] [stdout] 1336 | ... ControlFlow::Break(Err(e)) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `n_packets` [INFO] [stdout] --> yap2p/src/protocols/sdp/sdp.rs:1340:59 [INFO] [stdout] | [INFO] [stdout] 1340 | ... ControlFlow::Continue(n_packets) => { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_n_packets` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> yap2p/src/protocols/sdp/sdp.rs:1358:21 [INFO] [stdout] | [INFO] [stdout] 1358 | Err(e) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `n_bytes_sent` [INFO] [stdout] --> yap2p/src/protocols/sdp/sdp_self.rs:507:35 [INFO] [stdout] | [INFO] [stdout] 507 | if let Ok(n_bytes_sent) = ready!(self.socket.poll_send_to( [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_n_bytes_sent` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `n_bytes_sent` [INFO] [stdout] --> yap2p/src/protocols/sdp/sdp_self.rs:526:35 [INFO] [stdout] | [INFO] [stdout] 526 | if let Ok(n_bytes_sent) = ready!(self.socket.poll_send_to( [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_n_bytes_sent` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `receiver` [INFO] [stdout] --> yap2p/src/protocols/sdp/sdp_self.rs:1143:29 [INFO] [stdout] | [INFO] [stdout] 1143 | for receiver in receivers { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_receiver` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> yap2p/src/protocols/sdp/sdp_self.rs:1157:56 [INFO] [stdout] | [INFO] [stdout] 1157 | ... ControlFlow::Break(Err(e)) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `n_packets` [INFO] [stdout] --> yap2p/src/protocols/sdp/sdp_self.rs:1161:55 [INFO] [stdout] | [INFO] [stdout] 1161 | ... ControlFlow::Continue(n_packets) => { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_n_packets` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> yap2p/src/protocols/sdp/sdp_self.rs:1166:57 [INFO] [stdout] | [INFO] [stdout] 1166 | ... Poll::Ready(Err(e)) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `receiver` [INFO] [stdout] --> yap2p/src/protocols/sdp/sdp_self.rs:1200:33 [INFO] [stdout] | [INFO] [stdout] 1200 | ... for receiver in receivers { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_receiver` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> yap2p/src/protocols/sdp/sdp_self.rs:1214:60 [INFO] [stdout] | [INFO] [stdout] 1214 | ... ControlFlow::Break(Err(e)) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `n_packets` [INFO] [stdout] --> yap2p/src/protocols/sdp/sdp_self.rs:1218:59 [INFO] [stdout] | [INFO] [stdout] 1218 | ... ControlFlow::Continue(n_packets) => { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_n_packets` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> yap2p/src/protocols/sdp/sdp_self.rs:1236:21 [INFO] [stdout] | [INFO] [stdout] 1236 | Err(e) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `contacts` [INFO] [stdout] --> yap2p/src/protocols/mbp/mod.rs:119:25 [INFO] [stdout] | [INFO] [stdout] 119 | let contacts = MeshContacts::deserialize(packet[36..].to_vec()); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_contacts` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `contact` [INFO] [stdout] --> yap2p/src/protocols/mbp/mod.rs:146:33 [INFO] [stdout] | [INFO] [stdout] 146 | if let Some(contact) = self.static_nodes.iter() [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_contact` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> yap2p/src/protocols/mbp/mod.rs:107:13 [INFO] [stdout] | [INFO] [stdout] 107 | fn poll(mut self: Pin<&mut Self>, cx: &mut Context<'_>) -> Poll { [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: methods `set_or_add_addr` and `remove_addr` are never used [INFO] [stdout] --> yap2p/src/peer/mod.rs:334:19 [INFO] [stdout] | [INFO] [stdout] 285 | impl Contact { [INFO] [stdout] | ------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 334 | pub(crate) fn set_or_add_addr(&self, device: u16, address: (Addr, u16)) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 360 | pub(crate) fn remove_addr(&self, device: u16) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `echo` is never used [INFO] [stdout] --> yap2p/src/protocols/sdp/sdp.rs:423:8 [INFO] [stdout] | [INFO] [stdout] 416 | impl SdpConnection { [INFO] [stdout] | ------------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 423 | fn echo( [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `echo` is never used [INFO] [stdout] --> yap2p/src/protocols/sdp/sdp_self.rs:370:8 [INFO] [stdout] | [INFO] [stdout] 363 | impl SdpSelfConnection { [INFO] [stdout] | ---------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 370 | fn echo( [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `serialize` is never used [INFO] [stdout] --> yap2p/src/protocols/mbp/mod.rs:45:19 [INFO] [stdout] | [INFO] [stdout] 38 | impl MeshContacts { [INFO] [stdout] | ----------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 45 | pub(crate) fn serialize(&self) -> Vec { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `echoed` and `rtt` are never read [INFO] [stdout] --> yap2p/src/protocols/mbp/mod.rs:62:5 [INFO] [stdout] | [INFO] [stdout] 60 | struct Scheduler { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 61 | /// Last moment [`Node`] sent `ECHO` packet [INFO] [stdout] 62 | echoed: Instant, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 65 | rtt: Duration [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `nodes_scheduler` is never read [INFO] [stdout] --> yap2p/src/protocols/mbp/mod.rs:77:5 [INFO] [stdout] | [INFO] [stdout] 68 | pub struct MbpDriver { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 77 | nodes_scheduler: HashMap [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> yap2p/src/protocols/mbp/mod.rs:88:12 [INFO] [stdout] | [INFO] [stdout] 80 | impl MbpDriver { [INFO] [stdout] | -------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 88 | pub fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `obtain_ipv4_addr` is never used [INFO] [stdout] --> yap2p/src/ip/mod.rs:26:15 [INFO] [stdout] | [INFO] [stdout] 26 | pub(crate) fn obtain_ipv4_addr() -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `chunk_data_for_encryption` is never used [INFO] [stdout] --> yap2p/src/utils.rs:10:15 [INFO] [stdout] | [INFO] [stdout] 10 | pub(crate) fn chunk_data_for_encryption(data: impl AsRef<[u8]>) -> Vec> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for the crate [INFO] [stdout] --> yap2p/src/lib.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / #![cfg_attr(docsrs, feature(doc_auto_cfg))] [INFO] [stdout] 2 | | #![warn(missing_docs)] [INFO] [stdout] 3 | | [INFO] [stdout] 4 | | pub mod peer; [INFO] [stdout] ... | [INFO] [stdout] 9 | | pub(crate) mod ip; [INFO] [stdout] 10 | | pub(crate) mod utils; [INFO] [stdout] | |_____________________^ [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> yap2p/src/lib.rs:2:9 [INFO] [stdout] | [INFO] [stdout] 2 | #![warn(missing_docs)] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `A` should have a snake case name [INFO] [stdout] --> yap2p/src/crypto/dh.rs:59:21 [INFO] [stdout] | [INFO] [stdout] 59 | let mut A = self.base.pow(log); [INFO] [stdout] | ^ help: convert the identifier to snake case: `a` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `A` should have a snake case name [INFO] [stdout] --> yap2p/src/crypto/dh.rs:81:21 [INFO] [stdout] | [INFO] [stdout] 81 | let mut A = self.base.pow(log); [INFO] [stdout] | ^ help: convert the identifier to snake case: `a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct field [INFO] [stdout] --> yap2p/src/protocols/sdp/mod.rs:151:9 [INFO] [stdout] | [INFO] [stdout] 151 | first_packet: Packet, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct field [INFO] [stdout] --> yap2p/src/protocols/sdp/mod.rs:152:9 [INFO] [stdout] | [INFO] [stdout] 152 | rest_of_payload: VecDeque> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct field [INFO] [stdout] --> yap2p/src/protocols/sdp/mod.rs:157:9 [INFO] [stdout] | [INFO] [stdout] 157 | first_packet_id: u64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct field [INFO] [stdout] --> yap2p/src/protocols/sdp/mod.rs:158:9 [INFO] [stdout] | [INFO] [stdout] 158 | payload: Mutex> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling yap2p v0.1.2 (/opt/rustwide/workdir/yap2p) [INFO] [stdout] warning: unused import: `std::error::Error` [INFO] [stdout] --> yap2p/src/protocols/mbp/mod.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::error::Error; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::net::SocketAddr` [INFO] [stdout] --> yap2p/src/protocols/mbp/mod.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::net::SocketAddr; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `HashSet` and `VecDeque` [INFO] [stdout] --> yap2p/src/protocols/mbp/mod.rs:7:24 [INFO] [stdout] | [INFO] [stdout] 7 | use std::collections::{VecDeque, HashSet, HashMap}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::task::Waker` [INFO] [stdout] --> yap2p/src/protocols/mbp/mod.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use std::task::Waker; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rand::Rng` [INFO] [stdout] --> yap2p/src/protocols/mbp/mod.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | use rand::Rng; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tokio::sync::Mutex` [INFO] [stdout] --> yap2p/src/protocols/mbp/mod.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | use tokio::sync::Mutex; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::crypto::history::*` [INFO] [stdout] --> yap2p/src/protocols/mbp/mod.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | use crate::crypto::history::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable statement [INFO] [stdout] --> yap2p/src/protocols/mbp/mod.rs:161:9 [INFO] [stdout] | [INFO] [stdout] 111 | / loop { [INFO] [stdout] 112 | | // handling incoming packet [INFO] [stdout] 113 | | let mut buf_array = [0u8; RECEIVE_BUFFER_SIZE]; [INFO] [stdout] 114 | | let mut readbuf = ReadBuf::new(&mut buf_array); [INFO] [stdout] ... | [INFO] [stdout] 159 | | } [INFO] [stdout] 160 | | } [INFO] [stdout] | |_________- any code following this expression is unreachable [INFO] [stdout] 161 | return Poll::Ready(()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ unreachable statement [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `n_bytes_sent` [INFO] [stdout] --> yap2p/src/protocols/sdp/sdp.rs:558:35 [INFO] [stdout] | [INFO] [stdout] 558 | if let Ok(n_bytes_sent) = ready!(self.socket.poll_send_to( [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_n_bytes_sent` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `n_bytes_sent` [INFO] [stdout] --> yap2p/src/protocols/sdp/sdp.rs:577:35 [INFO] [stdout] | [INFO] [stdout] 577 | if let Ok(n_bytes_sent) = ready!(self.socket.poll_send_to( [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_n_bytes_sent` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> yap2p/src/protocols/sdp/sdp.rs:1279:56 [INFO] [stdout] | [INFO] [stdout] 1279 | ... ControlFlow::Break(Err(e)) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `n_packets` [INFO] [stdout] --> yap2p/src/protocols/sdp/sdp.rs:1283:55 [INFO] [stdout] | [INFO] [stdout] 1283 | ... ControlFlow::Continue(n_packets) => { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_n_packets` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> yap2p/src/protocols/sdp/sdp.rs:1288:57 [INFO] [stdout] | [INFO] [stdout] 1288 | ... Poll::Ready(Err(e)) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> yap2p/src/protocols/sdp/sdp.rs:1336:60 [INFO] [stdout] | [INFO] [stdout] 1336 | ... ControlFlow::Break(Err(e)) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `n_packets` [INFO] [stdout] --> yap2p/src/protocols/sdp/sdp.rs:1340:59 [INFO] [stdout] | [INFO] [stdout] 1340 | ... ControlFlow::Continue(n_packets) => { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_n_packets` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> yap2p/src/protocols/sdp/sdp.rs:1358:21 [INFO] [stdout] | [INFO] [stdout] 1358 | Err(e) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `n_bytes_sent` [INFO] [stdout] --> yap2p/src/protocols/sdp/sdp_self.rs:507:35 [INFO] [stdout] | [INFO] [stdout] 507 | if let Ok(n_bytes_sent) = ready!(self.socket.poll_send_to( [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_n_bytes_sent` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `n_bytes_sent` [INFO] [stdout] --> yap2p/src/protocols/sdp/sdp_self.rs:526:35 [INFO] [stdout] | [INFO] [stdout] 526 | if let Ok(n_bytes_sent) = ready!(self.socket.poll_send_to( [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_n_bytes_sent` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `receiver` [INFO] [stdout] --> yap2p/src/protocols/sdp/sdp_self.rs:1143:29 [INFO] [stdout] | [INFO] [stdout] 1143 | for receiver in receivers { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_receiver` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> yap2p/src/protocols/sdp/sdp_self.rs:1157:56 [INFO] [stdout] | [INFO] [stdout] 1157 | ... ControlFlow::Break(Err(e)) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `n_packets` [INFO] [stdout] --> yap2p/src/protocols/sdp/sdp_self.rs:1161:55 [INFO] [stdout] | [INFO] [stdout] 1161 | ... ControlFlow::Continue(n_packets) => { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_n_packets` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> yap2p/src/protocols/sdp/sdp_self.rs:1166:57 [INFO] [stdout] | [INFO] [stdout] 1166 | ... Poll::Ready(Err(e)) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `receiver` [INFO] [stdout] --> yap2p/src/protocols/sdp/sdp_self.rs:1200:33 [INFO] [stdout] | [INFO] [stdout] 1200 | ... for receiver in receivers { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_receiver` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> yap2p/src/protocols/sdp/sdp_self.rs:1214:60 [INFO] [stdout] | [INFO] [stdout] 1214 | ... ControlFlow::Break(Err(e)) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `n_packets` [INFO] [stdout] --> yap2p/src/protocols/sdp/sdp_self.rs:1218:59 [INFO] [stdout] | [INFO] [stdout] 1218 | ... ControlFlow::Continue(n_packets) => { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_n_packets` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> yap2p/src/protocols/sdp/sdp_self.rs:1236:21 [INFO] [stdout] | [INFO] [stdout] 1236 | Err(e) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `contacts` [INFO] [stdout] --> yap2p/src/protocols/mbp/mod.rs:119:25 [INFO] [stdout] | [INFO] [stdout] 119 | let contacts = MeshContacts::deserialize(packet[36..].to_vec()); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_contacts` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `contact` [INFO] [stdout] --> yap2p/src/protocols/mbp/mod.rs:146:33 [INFO] [stdout] | [INFO] [stdout] 146 | if let Some(contact) = self.static_nodes.iter() [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_contact` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> yap2p/src/protocols/mbp/mod.rs:107:13 [INFO] [stdout] | [INFO] [stdout] 107 | fn poll(mut self: Pin<&mut Self>, cx: &mut Context<'_>) -> Poll { [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: methods `set_or_add_addr` and `remove_addr` are never used [INFO] [stdout] --> yap2p/src/peer/mod.rs:334:19 [INFO] [stdout] | [INFO] [stdout] 285 | impl Contact { [INFO] [stdout] | ------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 334 | pub(crate) fn set_or_add_addr(&self, device: u16, address: (Addr, u16)) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 360 | pub(crate) fn remove_addr(&self, device: u16) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `echo` is never used [INFO] [stdout] --> yap2p/src/protocols/sdp/sdp.rs:423:8 [INFO] [stdout] | [INFO] [stdout] 416 | impl SdpConnection { [INFO] [stdout] | ------------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 423 | fn echo( [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `echo` is never used [INFO] [stdout] --> yap2p/src/protocols/sdp/sdp_self.rs:370:8 [INFO] [stdout] | [INFO] [stdout] 363 | impl SdpSelfConnection { [INFO] [stdout] | ---------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 370 | fn echo( [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `serialize` is never used [INFO] [stdout] --> yap2p/src/protocols/mbp/mod.rs:45:19 [INFO] [stdout] | [INFO] [stdout] 38 | impl MeshContacts { [INFO] [stdout] | ----------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 45 | pub(crate) fn serialize(&self) -> Vec { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `echoed` and `rtt` are never read [INFO] [stdout] --> yap2p/src/protocols/mbp/mod.rs:62:5 [INFO] [stdout] | [INFO] [stdout] 60 | struct Scheduler { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 61 | /// Last moment [`Node`] sent `ECHO` packet [INFO] [stdout] 62 | echoed: Instant, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 65 | rtt: Duration [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `nodes_scheduler` is never read [INFO] [stdout] --> yap2p/src/protocols/mbp/mod.rs:77:5 [INFO] [stdout] | [INFO] [stdout] 68 | pub struct MbpDriver { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 77 | nodes_scheduler: HashMap [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> yap2p/src/protocols/mbp/mod.rs:88:12 [INFO] [stdout] | [INFO] [stdout] 80 | impl MbpDriver { [INFO] [stdout] | -------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 88 | pub fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `obtain_ipv4_addr` is never used [INFO] [stdout] --> yap2p/src/ip/mod.rs:26:15 [INFO] [stdout] | [INFO] [stdout] 26 | pub(crate) fn obtain_ipv4_addr() -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `chunk_data_for_encryption` is never used [INFO] [stdout] --> yap2p/src/utils.rs:10:15 [INFO] [stdout] | [INFO] [stdout] 10 | pub(crate) fn chunk_data_for_encryption(data: impl AsRef<[u8]>) -> Vec> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for the crate [INFO] [stdout] --> yap2p/src/lib.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / #![cfg_attr(docsrs, feature(doc_auto_cfg))] [INFO] [stdout] 2 | | #![warn(missing_docs)] [INFO] [stdout] 3 | | [INFO] [stdout] 4 | | pub mod peer; [INFO] [stdout] ... | [INFO] [stdout] 9 | | pub(crate) mod ip; [INFO] [stdout] 10 | | pub(crate) mod utils; [INFO] [stdout] | |_____________________^ [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> yap2p/src/lib.rs:2:9 [INFO] [stdout] | [INFO] [stdout] 2 | #![warn(missing_docs)] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `A` should have a snake case name [INFO] [stdout] --> yap2p/src/crypto/dh.rs:59:21 [INFO] [stdout] | [INFO] [stdout] 59 | let mut A = self.base.pow(log); [INFO] [stdout] | ^ help: convert the identifier to snake case: `a` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `A` should have a snake case name [INFO] [stdout] --> yap2p/src/crypto/dh.rs:81:21 [INFO] [stdout] | [INFO] [stdout] 81 | let mut A = self.base.pow(log); [INFO] [stdout] | ^ help: convert the identifier to snake case: `a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct field [INFO] [stdout] --> yap2p/src/protocols/sdp/mod.rs:151:9 [INFO] [stdout] | [INFO] [stdout] 151 | first_packet: Packet, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct field [INFO] [stdout] --> yap2p/src/protocols/sdp/mod.rs:152:9 [INFO] [stdout] | [INFO] [stdout] 152 | rest_of_payload: VecDeque> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct field [INFO] [stdout] --> yap2p/src/protocols/sdp/mod.rs:157:9 [INFO] [stdout] | [INFO] [stdout] 157 | first_packet_id: u64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct field [INFO] [stdout] --> yap2p/src/protocols/sdp/mod.rs:158:9 [INFO] [stdout] | [INFO] [stdout] 158 | payload: Mutex> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.37s [INFO] running `Command { std: "docker" "inspect" "5a3bb112287e291ccf9989aac8095998ca3ca92f05ce0db251e4b6d70fbb6b53", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5a3bb112287e291ccf9989aac8095998ca3ca92f05ce0db251e4b6d70fbb6b53", kill_on_drop: false }` [INFO] [stdout] 5a3bb112287e291ccf9989aac8095998ca3ca92f05ce0db251e4b6d70fbb6b53 [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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:86ea7c7af713d31e8cfdb68a6d0db50b5cf7cbeecde3d112f9f257f747318d36" "/opt/rustwide/cargo-home/bin/cargo" "+1.84.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 2192b3d817150a0b285fdb494a19754439d98da3bfca3c98d1c6a98076b0c735 [INFO] running `Command { std: "docker" "start" "-a" "2192b3d817150a0b285fdb494a19754439d98da3bfca3c98d1c6a98076b0c735", kill_on_drop: false }` [INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"` [INFO] [stderr] note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest [INFO] [stderr] note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest [INFO] [stderr] note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions [INFO] [stderr] warning: unused import: `std::error::Error` [INFO] [stderr] --> yap2p/src/protocols/mbp/mod.rs:5:5 [INFO] [stderr] | [INFO] [stderr] 5 | use std::error::Error; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::net::SocketAddr` [INFO] [stderr] --> yap2p/src/protocols/mbp/mod.rs:6:5 [INFO] [stderr] | [INFO] [stderr] 6 | use std::net::SocketAddr; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `HashSet` and `VecDeque` [INFO] [stderr] --> yap2p/src/protocols/mbp/mod.rs:7:24 [INFO] [stderr] | [INFO] [stderr] 7 | use std::collections::{VecDeque, HashSet, HashMap}; [INFO] [stderr] | ^^^^^^^^ ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::task::Waker` [INFO] [stderr] --> yap2p/src/protocols/mbp/mod.rs:10:5 [INFO] [stderr] | [INFO] [stderr] 10 | use std::task::Waker; [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `rand::Rng` [INFO] [stderr] --> yap2p/src/protocols/mbp/mod.rs:16:5 [INFO] [stderr] | [INFO] [stderr] 16 | use rand::Rng; [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `tokio::sync::Mutex` [INFO] [stderr] --> yap2p/src/protocols/mbp/mod.rs:19:5 [INFO] [stderr] | [INFO] [stderr] 19 | use tokio::sync::Mutex; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `crate::crypto::history::*` [INFO] [stderr] --> yap2p/src/protocols/mbp/mod.rs:22:5 [INFO] [stderr] | [INFO] [stderr] 22 | use crate::crypto::history::*; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unreachable statement [INFO] [stderr] --> yap2p/src/protocols/mbp/mod.rs:161:9 [INFO] [stderr] | [INFO] [stderr] 111 | / loop { [INFO] [stderr] 112 | | // handling incoming packet [INFO] [stderr] 113 | | let mut buf_array = [0u8; RECEIVE_BUFFER_SIZE]; [INFO] [stderr] 114 | | let mut readbuf = ReadBuf::new(&mut buf_array); [INFO] [stderr] ... | [INFO] [stderr] 159 | | } [INFO] [stderr] 160 | | } [INFO] [stderr] | |_________- any code following this expression is unreachable [INFO] [stderr] 161 | return Poll::Ready(()); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ unreachable statement [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unreachable_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `n_bytes_sent` [INFO] [stderr] --> yap2p/src/protocols/sdp/sdp.rs:558:35 [INFO] [stderr] | [INFO] [stderr] 558 | if let Ok(n_bytes_sent) = ready!(self.socket.poll_send_to( [INFO] [stderr] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_n_bytes_sent` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `n_bytes_sent` [INFO] [stderr] --> yap2p/src/protocols/sdp/sdp.rs:577:35 [INFO] [stderr] | [INFO] [stderr] 577 | if let Ok(n_bytes_sent) = ready!(self.socket.poll_send_to( [INFO] [stderr] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_n_bytes_sent` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `e` [INFO] [stderr] --> yap2p/src/protocols/sdp/sdp.rs:1279:56 [INFO] [stderr] | [INFO] [stderr] 1279 | ... ControlFlow::Break(Err(e)) => { [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `n_packets` [INFO] [stderr] --> yap2p/src/protocols/sdp/sdp.rs:1283:55 [INFO] [stderr] | [INFO] [stderr] 1283 | ... ControlFlow::Continue(n_packets) => { [INFO] [stderr] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_n_packets` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `e` [INFO] [stderr] --> yap2p/src/protocols/sdp/sdp.rs:1288:57 [INFO] [stderr] | [INFO] [stderr] 1288 | ... Poll::Ready(Err(e)) => { [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `e` [INFO] [stderr] --> yap2p/src/protocols/sdp/sdp.rs:1336:60 [INFO] [stderr] | [INFO] [stderr] 1336 | ... ControlFlow::Break(Err(e)) => { [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `n_packets` [INFO] [stderr] --> yap2p/src/protocols/sdp/sdp.rs:1340:59 [INFO] [stderr] | [INFO] [stderr] 1340 | ... ControlFlow::Continue(n_packets) => { [INFO] [stderr] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_n_packets` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `e` [INFO] [stderr] --> yap2p/src/protocols/sdp/sdp.rs:1358:21 [INFO] [stderr] | [INFO] [stderr] 1358 | Err(e) => { [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `n_bytes_sent` [INFO] [stderr] --> yap2p/src/protocols/sdp/sdp_self.rs:507:35 [INFO] [stderr] | [INFO] [stderr] 507 | if let Ok(n_bytes_sent) = ready!(self.socket.poll_send_to( [INFO] [stderr] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_n_bytes_sent` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `n_bytes_sent` [INFO] [stderr] --> yap2p/src/protocols/sdp/sdp_self.rs:526:35 [INFO] [stderr] | [INFO] [stderr] 526 | if let Ok(n_bytes_sent) = ready!(self.socket.poll_send_to( [INFO] [stderr] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_n_bytes_sent` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `receiver` [INFO] [stderr] --> yap2p/src/protocols/sdp/sdp_self.rs:1143:29 [INFO] [stderr] | [INFO] [stderr] 1143 | for receiver in receivers { [INFO] [stderr] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_receiver` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `e` [INFO] [stderr] --> yap2p/src/protocols/sdp/sdp_self.rs:1157:56 [INFO] [stderr] | [INFO] [stderr] 1157 | ... ControlFlow::Break(Err(e)) => { [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `n_packets` [INFO] [stderr] --> yap2p/src/protocols/sdp/sdp_self.rs:1161:55 [INFO] [stderr] | [INFO] [stderr] 1161 | ... ControlFlow::Continue(n_packets) => { [INFO] [stderr] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_n_packets` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `e` [INFO] [stderr] --> yap2p/src/protocols/sdp/sdp_self.rs:1166:57 [INFO] [stderr] | [INFO] [stderr] 1166 | ... Poll::Ready(Err(e)) => { [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `receiver` [INFO] [stderr] --> yap2p/src/protocols/sdp/sdp_self.rs:1200:33 [INFO] [stderr] | [INFO] [stderr] 1200 | ... for receiver in receivers { [INFO] [stderr] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_receiver` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `e` [INFO] [stderr] --> yap2p/src/protocols/sdp/sdp_self.rs:1214:60 [INFO] [stderr] | [INFO] [stderr] 1214 | ... ControlFlow::Break(Err(e)) => { [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `n_packets` [INFO] [stderr] --> yap2p/src/protocols/sdp/sdp_self.rs:1218:59 [INFO] [stderr] | [INFO] [stderr] 1218 | ... ControlFlow::Continue(n_packets) => { [INFO] [stderr] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_n_packets` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `e` [INFO] [stderr] --> yap2p/src/protocols/sdp/sdp_self.rs:1236:21 [INFO] [stderr] | [INFO] [stderr] 1236 | Err(e) => { [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `contacts` [INFO] [stderr] --> yap2p/src/protocols/mbp/mod.rs:119:25 [INFO] [stderr] | [INFO] [stderr] 119 | let contacts = MeshContacts::deserialize(packet[36..].to_vec()); [INFO] [stderr] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_contacts` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `contact` [INFO] [stderr] --> yap2p/src/protocols/mbp/mod.rs:146:33 [INFO] [stderr] | [INFO] [stderr] 146 | if let Some(contact) = self.static_nodes.iter() [INFO] [stderr] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_contact` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> yap2p/src/protocols/mbp/mod.rs:107:13 [INFO] [stderr] | [INFO] [stderr] 107 | fn poll(mut self: Pin<&mut Self>, cx: &mut Context<'_>) -> Poll { [INFO] [stderr] | ----^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_mut)]` on by default [INFO] [stderr] [INFO] [stderr] warning: methods `set_or_add_addr` and `remove_addr` are never used [INFO] [stderr] --> yap2p/src/peer/mod.rs:334:19 [INFO] [stderr] | [INFO] [stderr] 285 | impl Contact { [INFO] [stderr] | ------------ methods in this implementation [INFO] [stderr] ... [INFO] [stderr] 334 | pub(crate) fn set_or_add_addr(&self, device: u16, address: (Addr, u16)) { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 360 | pub(crate) fn remove_addr(&self, device: u16) { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: method `echo` is never used [INFO] [stderr] --> yap2p/src/protocols/sdp/sdp.rs:423:8 [INFO] [stderr] | [INFO] [stderr] 416 | impl SdpConnection { [INFO] [stderr] | ------------------ method in this implementation [INFO] [stderr] ... [INFO] [stderr] 423 | fn echo( [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: method `echo` is never used [INFO] [stderr] --> yap2p/src/protocols/sdp/sdp_self.rs:370:8 [INFO] [stderr] | [INFO] [stderr] 363 | impl SdpSelfConnection { [INFO] [stderr] | ---------------------- method in this implementation [INFO] [stderr] ... [INFO] [stderr] 370 | fn echo( [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: method `serialize` is never used [INFO] [stderr] --> yap2p/src/protocols/mbp/mod.rs:45:19 [INFO] [stderr] | [INFO] [stderr] 38 | impl MeshContacts { [INFO] [stderr] | ----------------- method in this implementation [INFO] [stderr] ... [INFO] [stderr] 45 | pub(crate) fn serialize(&self) -> Vec { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: fields `echoed` and `rtt` are never read [INFO] [stderr] --> yap2p/src/protocols/mbp/mod.rs:62:5 [INFO] [stderr] | [INFO] [stderr] 60 | struct Scheduler { [INFO] [stderr] | --------- fields in this struct [INFO] [stderr] 61 | /// Last moment [`Node`] sent `ECHO` packet [INFO] [stderr] 62 | echoed: Instant, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 65 | rtt: Duration [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: field `nodes_scheduler` is never read [INFO] [stderr] --> yap2p/src/protocols/mbp/mod.rs:77:5 [INFO] [stderr] | [INFO] [stderr] 68 | pub struct MbpDriver { [INFO] [stderr] | --------- field in this struct [INFO] [stderr] ... [INFO] [stderr] 77 | nodes_scheduler: HashMap [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function `new` is never used [INFO] [stderr] --> yap2p/src/protocols/mbp/mod.rs:88:12 [INFO] [stderr] | [INFO] [stderr] 80 | impl MbpDriver { [INFO] [stderr] | -------------- associated function in this implementation [INFO] [stderr] ... [INFO] [stderr] 88 | pub fn new( [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: function `obtain_ipv4_addr` is never used [INFO] [stderr] --> yap2p/src/ip/mod.rs:26:15 [INFO] [stderr] | [INFO] [stderr] 26 | pub(crate) fn obtain_ipv4_addr() -> Option { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `chunk_data_for_encryption` is never used [INFO] [stderr] --> yap2p/src/utils.rs:10:15 [INFO] [stderr] | [INFO] [stderr] 10 | pub(crate) fn chunk_data_for_encryption(data: impl AsRef<[u8]>) -> Vec> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: missing documentation for the crate [INFO] [stderr] --> yap2p/src/lib.rs:1:1 [INFO] [stderr] | [INFO] [stderr] 1 | / #![cfg_attr(docsrs, feature(doc_auto_cfg))] [INFO] [stderr] 2 | | #![warn(missing_docs)] [INFO] [stderr] 3 | | [INFO] [stderr] 4 | | pub mod peer; [INFO] [stderr] ... | [INFO] [stderr] 9 | | pub(crate) mod ip; [INFO] [stderr] 10 | | pub(crate) mod utils; [INFO] [stderr] | |_____________________^ [INFO] [stderr] | [INFO] [stderr] note: the lint level is defined here [INFO] [stderr] --> yap2p/src/lib.rs:2:9 [INFO] [stderr] | [INFO] [stderr] 2 | #![warn(missing_docs)] [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variable `A` should have a snake case name [INFO] [stderr] --> yap2p/src/crypto/dh.rs:59:21 [INFO] [stderr] | [INFO] [stderr] 59 | let mut A = self.base.pow(log); [INFO] [stderr] | ^ help: convert the identifier to snake case: `a` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(non_snake_case)]` on by default [INFO] [stderr] [INFO] [stderr] warning: variable `A` should have a snake case name [INFO] [stderr] --> yap2p/src/crypto/dh.rs:81:21 [INFO] [stderr] | [INFO] [stderr] 81 | let mut A = self.base.pow(log); [INFO] [stderr] | ^ help: convert the identifier to snake case: `a` [INFO] [stderr] [INFO] [stderr] warning: missing documentation for a struct field [INFO] [stderr] --> yap2p/src/protocols/sdp/mod.rs:151:9 [INFO] [stderr] | [INFO] [stderr] 151 | first_packet: Packet, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: missing documentation for a struct field [INFO] [stderr] --> yap2p/src/protocols/sdp/mod.rs:152:9 [INFO] [stderr] | [INFO] [stderr] 152 | rest_of_payload: VecDeque> [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: missing documentation for a struct field [INFO] [stderr] --> yap2p/src/protocols/sdp/mod.rs:157:9 [INFO] [stderr] | [INFO] [stderr] 157 | first_packet_id: u64, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: missing documentation for a struct field [INFO] [stderr] --> yap2p/src/protocols/sdp/mod.rs:158:9 [INFO] [stderr] | [INFO] [stderr] 158 | payload: Mutex> [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `yap2p` (lib) generated 45 warnings (run `cargo fix --lib -p yap2p` to apply 8 suggestions) [INFO] [stderr] warning: `yap2p` (lib test) generated 45 warnings (45 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.16s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/yap2p-fee92871f4e1daa6) [INFO] [stdout] [INFO] [stderr] Doc-tests yap2p [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "2192b3d817150a0b285fdb494a19754439d98da3bfca3c98d1c6a98076b0c735", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2192b3d817150a0b285fdb494a19754439d98da3bfca3c98d1c6a98076b0c735", kill_on_drop: false }` [INFO] [stdout] 2192b3d817150a0b285fdb494a19754439d98da3bfca3c98d1c6a98076b0c735