[INFO] fetching crate yap2p 0.1.1... [INFO] checking yap2p-0.1.1 against master#18a6d911caba59605eb03db1452848a85d2e5879 for pr-112743 [INFO] extracting crate yap2p 0.1.1 into /workspace/builds/worker-6-tc1/source [INFO] validating manifest of crates.io crate yap2p 0.1.1 on toolchain 18a6d911caba59605eb03db1452848a85d2e5879 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+18a6d911caba59605eb03db1452848a85d2e5879" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate yap2p 0.1.1 [INFO] finished tweaking crates.io crate yap2p 0.1.1 [INFO] tweaked toml for crates.io crate yap2p 0.1.1 written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+18a6d911caba59605eb03db1452848a85d2e5879" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+18a6d911caba59605eb03db1452848a85d2e5879" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:19e73879b68f455e41552ea35293514db52ea292d993f571636dbffedb77a1ee" "/opt/rustwide/cargo-home/bin/cargo" "+18a6d911caba59605eb03db1452848a85d2e5879" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7affc2b327fb98ea5ff90f8d5473d3e3517c8be534eec514561355b37a2616e1 [INFO] running `Command { std: "docker" "start" "-a" "7affc2b327fb98ea5ff90f8d5473d3e3517c8be534eec514561355b37a2616e1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7affc2b327fb98ea5ff90f8d5473d3e3517c8be534eec514561355b37a2616e1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7affc2b327fb98ea5ff90f8d5473d3e3517c8be534eec514561355b37a2616e1", kill_on_drop: false }` [INFO] [stdout] 7affc2b327fb98ea5ff90f8d5473d3e3517c8be534eec514561355b37a2616e1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:19e73879b68f455e41552ea35293514db52ea292d993f571636dbffedb77a1ee" "/opt/rustwide/cargo-home/bin/cargo" "+18a6d911caba59605eb03db1452848a85d2e5879" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 50cc6ff5da1b3d0df33f2924a50b399866c7bda16ce418d104d69980be6c4a8d [INFO] running `Command { std: "docker" "start" "-a" "50cc6ff5da1b3d0df33f2924a50b399866c7bda16ce418d104d69980be6c4a8d", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.146 [INFO] [stderr] Checking pin-project-lite v0.2.9 [INFO] [stderr] Compiling futures-core v0.3.28 [INFO] [stderr] Compiling typenum v1.16.0 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling slab v0.4.8 [INFO] [stderr] Compiling openssl-sys v0.9.88 [INFO] [stderr] Compiling futures-task v0.3.28 [INFO] [stderr] Checking bytes v1.4.0 [INFO] [stderr] Compiling futures-channel v0.3.28 [INFO] [stderr] Checking futures-sink v0.3.28 [INFO] [stderr] Compiling tokio v1.28.2 [INFO] [stderr] Compiling futures-util v0.3.28 [INFO] [stderr] Compiling futures-macro v0.3.28 [INFO] [stderr] Checking futures-io v0.3.28 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Checking tracing-core v0.1.31 [INFO] [stderr] Compiling openssl v0.10.54 [INFO] [stderr] Checking foreign-types-shared v0.1.1 [INFO] [stderr] Compiling serde v1.0.164 [INFO] [stderr] Checking http v0.2.9 [INFO] [stderr] Checking foreign-types v0.3.2 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling native-tls v0.2.11 [INFO] [stderr] Compiling httparse v1.8.0 [INFO] [stderr] Checking tracing v0.1.37 [INFO] [stderr] Checking openssl-probe v0.1.5 [INFO] [stderr] Checking try-lock v0.2.4 [INFO] [stderr] Checking want v0.3.1 [INFO] [stderr] Checking httpdate v1.0.2 [INFO] [stderr] Checking tower-service v0.3.2 [INFO] [stderr] Checking cpufeatures v0.2.8 [INFO] [stderr] Checking base64 v0.21.2 [INFO] [stderr] Checking ipnet v2.7.2 [INFO] [stderr] Checking http-body v0.4.5 [INFO] [stderr] Checking mime v0.3.17 [INFO] [stderr] Checking mio v0.8.8 [INFO] [stderr] Checking socket2 v0.4.9 [INFO] [stderr] Checking num_cpus v1.15.0 [INFO] [stderr] Checking getrandom v0.2.10 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking inout v0.1.3 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking cipher v0.4.4 [INFO] [stderr] Checking sha2 v0.10.7 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking aes v0.8.3 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking bitflags v2.3.2 [INFO] [stderr] Checking bincode v1.3.3 [INFO] [stderr] Checking futures-executor v0.3.28 [INFO] [stderr] Checking futures v0.3.28 [INFO] [stderr] Checking tokio-util v0.7.8 [INFO] [stderr] Checking tokio-native-tls v0.3.1 [INFO] [stderr] Checking h2 v0.3.19 [INFO] [stderr] Checking hyper v0.14.26 [INFO] [stderr] Checking hyper-tls v0.5.0 [INFO] [stderr] Checking reqwest v0.11.18 [INFO] [stderr] Checking yap2p v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Waker` [INFO] [stdout] --> src/protocols/sdp/sdp.rs:4:32 [INFO] [stdout] | [INFO] [stdout] 4 | use std::task::{Context, Poll, Waker}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Waker` [INFO] [stdout] --> src/protocols/sdp/sdp.rs:4:32 [INFO] [stdout] | [INFO] [stdout] 4 | use std::task::{Context, Poll, Waker}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `n_bytes_sent` [INFO] [stdout] --> src/protocols/sdp/sdp.rs:363:35 [INFO] [stdout] | [INFO] [stdout] 363 | 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] --> src/protocols/sdp/sdp.rs:382:35 [INFO] [stdout] | [INFO] [stdout] 382 | 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] --> src/protocols/sdp/sdp.rs:363:35 [INFO] [stdout] | [INFO] [stdout] 363 | 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] --> src/protocols/sdp/sdp.rs:382:35 [INFO] [stdout] | [INFO] [stdout] 382 | 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: `chat_id` [INFO] [stdout] --> src/protocols/sdp/sdp.rs:956:47 [INFO] [stdout] | [INFO] [stdout] 956 | ControlFlow::Continue(chat_id) => { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_chat_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/protocols/sdp/sdp.rs:1002:56 [INFO] [stdout] | [INFO] [stdout] 1002 | ... 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] --> src/protocols/sdp/sdp.rs:1006:55 [INFO] [stdout] | [INFO] [stdout] 1006 | ... 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] --> src/protocols/sdp/sdp.rs:1049:60 [INFO] [stdout] | [INFO] [stdout] 1049 | ... 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] --> src/protocols/sdp/sdp.rs:1053:59 [INFO] [stdout] | [INFO] [stdout] 1053 | ... 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] --> src/protocols/sdp/sdp.rs:1071:21 [INFO] [stdout] | [INFO] [stdout] 1071 | Err(e) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `chat_id` [INFO] [stdout] --> src/protocols/sdp/sdp.rs:956:47 [INFO] [stdout] | [INFO] [stdout] 956 | ControlFlow::Continue(chat_id) => { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_chat_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/protocols/sdp/sdp.rs:1002:56 [INFO] [stdout] | [INFO] [stdout] 1002 | ... 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] --> src/protocols/sdp/sdp.rs:1006:55 [INFO] [stdout] | [INFO] [stdout] 1006 | ... 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] --> src/protocols/sdp/sdp.rs:1049:60 [INFO] [stdout] | [INFO] [stdout] 1049 | ... 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] --> src/protocols/sdp/sdp.rs:1053:59 [INFO] [stdout] | [INFO] [stdout] 1053 | ... 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] --> src/protocols/sdp/sdp.rs:1071:21 [INFO] [stdout] | [INFO] [stdout] 1071 | Err(e) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `set_or_add_addr` and `remove_addr` are never used [INFO] [stdout] --> src/peer/mod.rs:273:19 [INFO] [stdout] | [INFO] [stdout] 224 | impl Contact { [INFO] [stdout] | ------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 273 | pub(crate) fn set_or_add_addr(&self, device: u16, address: (Addr, u16)) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 299 | 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: constant `WINDOW_SIZE` is never used [INFO] [stdout] --> src/protocols/sdp/mod.rs:25:7 [INFO] [stdout] | [INFO] [stdout] 25 | const WINDOW_SIZE: usize = 20; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `update_id` is never used [INFO] [stdout] --> src/protocols/sdp/mod.rs:71:19 [INFO] [stdout] | [INFO] [stdout] 44 | impl Packet { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 71 | pub(crate) fn update_id(self) -> Packet { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `update_id_strategy` is never used [INFO] [stdout] --> src/protocols/sdp/mod.rs:162:8 [INFO] [stdout] | [INFO] [stdout] 160 | impl Transaction { [INFO] [stdout] | ---------------- method in this implementation [INFO] [stdout] 161 | [INFO] [stdout] 162 | fn update_id_strategy(self) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `serialize` is never used [INFO] [stdout] --> src/protocols/sdp/mod.rs:297:19 [INFO] [stdout] | [INFO] [stdout] 296 | impl PacketWindow { [INFO] [stdout] | ----------------- method in this implementation [INFO] [stdout] 297 | pub(crate) fn serialize(&self) -> Vec { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `obtain_ipv4_addr` is never used [INFO] [stdout] --> 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] --> 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] --> src/lib.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / #![warn(missing_docs)] [INFO] [stdout] 2 | | [INFO] [stdout] 3 | | pub mod peer; [INFO] [stdout] 4 | | pub mod crypto; [INFO] [stdout] ... | [INFO] [stdout] 8 | | pub(crate) mod ip; [INFO] [stdout] 9 | | pub(crate) mod utils; [INFO] [stdout] | |_____________________^ [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/lib.rs:1:9 [INFO] [stdout] | [INFO] [stdout] 1 | #![warn(missing_docs)] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct field [INFO] [stdout] --> src/protocols/sdp/mod.rs:149:9 [INFO] [stdout] | [INFO] [stdout] 149 | first_packet: Packet, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct field [INFO] [stdout] --> src/protocols/sdp/mod.rs:150:9 [INFO] [stdout] | [INFO] [stdout] 150 | rest_of_payload: VecDeque> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct field [INFO] [stdout] --> src/protocols/sdp/mod.rs:155:9 [INFO] [stdout] | [INFO] [stdout] 155 | first_packet_id: u64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct field [INFO] [stdout] --> src/protocols/sdp/mod.rs:156:9 [INFO] [stdout] | [INFO] [stdout] 156 | payload: Mutex> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `A` should have a snake case name [INFO] [stdout] --> 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] --> 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: methods `set_or_add_addr` and `remove_addr` are never used [INFO] [stdout] --> src/peer/mod.rs:273:19 [INFO] [stdout] | [INFO] [stdout] 224 | impl Contact { [INFO] [stdout] | ------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 273 | pub(crate) fn set_or_add_addr(&self, device: u16, address: (Addr, u16)) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 299 | 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: constant `WINDOW_SIZE` is never used [INFO] [stdout] --> src/protocols/sdp/mod.rs:25:7 [INFO] [stdout] | [INFO] [stdout] 25 | const WINDOW_SIZE: usize = 20; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `update_id` is never used [INFO] [stdout] --> src/protocols/sdp/mod.rs:71:19 [INFO] [stdout] | [INFO] [stdout] 44 | impl Packet { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 71 | pub(crate) fn update_id(self) -> Packet { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `update_id_strategy` is never used [INFO] [stdout] --> src/protocols/sdp/mod.rs:162:8 [INFO] [stdout] | [INFO] [stdout] 160 | impl Transaction { [INFO] [stdout] | ---------------- method in this implementation [INFO] [stdout] 161 | [INFO] [stdout] 162 | fn update_id_strategy(self) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `serialize` is never used [INFO] [stdout] --> src/protocols/sdp/mod.rs:297:19 [INFO] [stdout] | [INFO] [stdout] 296 | impl PacketWindow { [INFO] [stdout] | ----------------- method in this implementation [INFO] [stdout] 297 | pub(crate) fn serialize(&self) -> Vec { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `obtain_ipv4_addr` is never used [INFO] [stdout] --> 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] --> 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: variable `A` should have a snake case name [INFO] [stdout] --> 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] --> 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: 18 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 23 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 9.92s [INFO] running `Command { std: "docker" "inspect" "50cc6ff5da1b3d0df33f2924a50b399866c7bda16ce418d104d69980be6c4a8d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "50cc6ff5da1b3d0df33f2924a50b399866c7bda16ce418d104d69980be6c4a8d", kill_on_drop: false }` [INFO] [stdout] 50cc6ff5da1b3d0df33f2924a50b399866c7bda16ce418d104d69980be6c4a8d