[INFO] cloning repository https://github.com/andreytkachenko/wg-disco [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/andreytkachenko/wg-disco" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fandreytkachenko%2Fwg-disco", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fandreytkachenko%2Fwg-disco'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 4380e70c40a74e805290c3f032bbe4eca0288245 [INFO] building andreytkachenko/wg-disco against master#c7f6aa2869acdbf014d094c6e427e554e160b6db for pr-146237-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fandreytkachenko%2Fwg-disco" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/andreytkachenko/wg-disco [INFO] finished tweaking git repo https://github.com/andreytkachenko/wg-disco [INFO] tweaked toml for git repo https://github.com/andreytkachenko/wg-disco written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/andreytkachenko/wg-disco on toolchain c7f6aa2869acdbf014d094c6e427e554e160b6db [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/andreytkachenko/wg-disco 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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded toml v0.7.8 [INFO] [stderr] Downloaded stunclient v0.4.1 [INFO] [stderr] Downloaded crc-catalog v2.4.0 [INFO] [stderr] Downloaded bytecodec v0.4.15 [INFO] [stderr] Downloaded bincode_derive v2.0.1 [INFO] [stderr] Downloaded encoding-index-singlebyte v1.20141219.5 [INFO] [stderr] Downloaded encoding_index_tests v0.1.4 [INFO] [stderr] Downloaded openssl-probe v0.1.6 [INFO] [stderr] Downloaded virtue v0.0.18 [INFO] [stderr] Downloaded jiff-static v0.2.15 [INFO] [stderr] Downloaded clap_derive v4.5.40 [INFO] [stderr] Downloaded unty v0.0.4 [INFO] [stderr] Downloaded pin-project v1.1.10 [INFO] [stderr] Downloaded clap v4.5.40 [INFO] [stderr] Downloaded bincode v2.0.1 [INFO] [stderr] Downloaded env_logger v0.11.8 [INFO] [stderr] Downloaded portable-atomic v1.11.1 [INFO] [stderr] Downloaded encoding-index-japanese v1.20141219.5 [INFO] [stderr] Downloaded encoding-index-simpchinese v1.20141219.5 [INFO] [stderr] Downloaded encoding v0.2.33 [INFO] [stderr] Downloaded encoding-index-tradchinese v1.20141219.5 [INFO] [stderr] Downloaded clap_builder v4.5.40 [INFO] [stderr] Downloaded jiff v0.2.15 [INFO] [stderr] Downloaded cc v1.2.27 [INFO] [stderr] Downloaded irc-proto v1.1.0 [INFO] [stderr] Downloaded pin-project-internal v1.1.10 [INFO] [stderr] Downloaded security-framework-sys v2.14.0 [INFO] [stderr] Downloaded hashes v0.1.9 [INFO] [stderr] Downloaded encoding-index-korean v1.20141219.5 [INFO] [stderr] Downloaded native-tls v0.2.14 [INFO] [stderr] Downloaded crc v3.3.0 [INFO] [stderr] Downloaded rand v0.9.1 [INFO] [stderr] Downloaded irc v1.1.0 [INFO] [stderr] Downloaded stun_codec v0.3.5 [INFO] [stderr] Downloaded tokio v1.45.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e6a74f5655e3a078dd318f01eca2b68837b5b03de030bdd9004ea975d0bad9ae [INFO] running `Command { std: "docker" "start" "-a" "e6a74f5655e3a078dd318f01eca2b68837b5b03de030bdd9004ea975d0bad9ae", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e6a74f5655e3a078dd318f01eca2b68837b5b03de030bdd9004ea975d0bad9ae", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e6a74f5655e3a078dd318f01eca2b68837b5b03de030bdd9004ea975d0bad9ae", kill_on_drop: false }` [INFO] [stdout] e6a74f5655e3a078dd318f01eca2b68837b5b03de030bdd9004ea975d0bad9ae [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0f9d1c8aae20ecc3cb67e53b63a818abb139b5648948131c844e21e3edc93aa5 [INFO] running `Command { std: "docker" "start" "-a" "0f9d1c8aae20ecc3cb67e53b63a818abb139b5648948131c844e21e3edc93aa5", kill_on_drop: false }` [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Compiling typenum v1.18.0 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Compiling vcpkg v0.2.15 [INFO] [stderr] Compiling pkg-config v0.3.32 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling futures-core v0.3.31 [INFO] [stderr] Compiling encoding_index_tests v0.1.4 [INFO] [stderr] Compiling futures-sink v0.3.31 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling openssl v0.10.73 [INFO] [stderr] Compiling socket2 v0.5.10 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling log v0.4.27 [INFO] [stderr] Compiling subtle v2.6.1 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling cc v1.2.27 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling slab v0.4.10 [INFO] [stderr] Compiling bitflags v2.9.1 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Compiling cpufeatures v0.2.17 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling encoding-index-tradchinese v1.20141219.5 [INFO] [stderr] Compiling encoding-index-singlebyte v1.20141219.5 [INFO] [stderr] Compiling encoding-index-simpchinese v1.20141219.5 [INFO] [stderr] Compiling encoding-index-japanese v1.20141219.5 [INFO] [stderr] Compiling encoding-index-korean v1.20141219.5 [INFO] [stderr] Compiling winnow v0.5.40 [INFO] [stderr] Compiling openssl-probe v0.1.6 [INFO] [stderr] Compiling crc-catalog v2.4.0 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling crc v3.3.0 [INFO] [stderr] Compiling rand_core v0.9.3 [INFO] [stderr] Compiling virtue v0.0.18 [INFO] [stderr] Compiling clap_builder v4.5.40 [INFO] [stderr] Compiling rand_chacha v0.9.0 [INFO] [stderr] Compiling encoding v0.2.33 [INFO] [stderr] Compiling jiff v0.2.15 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling unty v0.0.4 [INFO] [stderr] Compiling rand v0.9.1 [INFO] [stderr] Compiling uuid v1.17.0 [INFO] [stderr] Compiling base64 v0.22.1 [INFO] [stderr] Compiling bincode_derive v2.0.1 [INFO] [stderr] Compiling chrono v0.4.41 [INFO] [stderr] Compiling hashes v0.1.9 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling openssl-sys v0.9.109 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling inout v0.1.4 [INFO] [stderr] Compiling cipher v0.4.4 [INFO] [stderr] Compiling sha1 v0.10.6 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling bincode v2.0.1 [INFO] [stderr] Compiling aes v0.8.4 [INFO] [stderr] Compiling trackable_derive v1.0.0 [INFO] [stderr] Compiling trackable v1.3.0 [INFO] [stderr] Compiling trackable v0.2.24 [INFO] [stderr] Compiling bytecodec v0.4.15 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling pin-project-internal v1.1.10 [INFO] [stderr] Compiling clap_derive v4.5.40 [INFO] [stderr] Compiling thiserror-impl v2.0.12 [INFO] [stderr] Compiling tokio v1.45.1 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling pin-project v1.1.10 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling thiserror v2.0.12 [INFO] [stderr] Compiling stun_codec v0.3.5 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling env_filter v0.1.3 [INFO] [stderr] Compiling clap v4.5.40 [INFO] [stderr] Compiling env_logger v0.11.8 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling tokio-util v0.7.15 [INFO] [stderr] Compiling tokio-stream v0.1.17 [INFO] [stderr] Compiling stunclient v0.4.1 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling irc-proto v1.1.0 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling serde_spanned v0.6.9 [INFO] [stderr] Compiling toml_datetime v0.6.11 [INFO] [stderr] Compiling toml_edit v0.19.15 [INFO] [stderr] Compiling toml v0.7.8 [INFO] [stderr] Compiling irc v1.1.0 [INFO] [stderr] Compiling wg-disco v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `instance::WgInterfaceInfo` [INFO] [stdout] --> src/wg/config.rs:8:47 [INFO] [stdout] | [INFO] [stdout] 8 | use super::{Cidr, DecodeError, Endpoint, Key, instance::WgInterfaceInfo, peer::WgPeerInfo}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `nickname` [INFO] [stdout] --> src/signaling/irc.rs:144:21 [INFO] [stdout] | [INFO] [stdout] 144 | let nickname = nickname.clone(); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_nickname` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: impl trait in impl method captures fewer lifetimes than in trait [INFO] [stdout] --> src/signaling/irc.rs:133:79 [INFO] [stdout] | [INFO] [stdout] 133 | ) -> Result> + use<>, Self::Error> [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: add `#[allow(refining_impl_trait)]` if it is intended for this to be part of the public API of this crate [INFO] [stdout] = note: we are soliciting feedback, see issue #121718 for more information [INFO] [stdout] = note: `#[warn(refining_impl_trait_internal)]` (part of `#[warn(refining_impl_trait)]`) on by default [INFO] [stdout] help: modify the `use<..>` bound to capture the same lifetimes that the trait does [INFO] [stdout] | [INFO] [stdout] 133 | ) -> Result> + use<'_>, Self::Error> [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Void` is never used [INFO] [stdout] --> src/discover.rs:7:14 [INFO] [stdout] | [INFO] [stdout] 7 | pub enum Void {} [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `FakeDiscover` is never constructed [INFO] [stdout] --> src/discover.rs:13:16 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct FakeDiscover; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `registry` is never read [INFO] [stdout] --> src/signaling/irc.rs:59:5 [INFO] [stdout] | [INFO] [stdout] 56 | pub struct IrcSignaling { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 59 | registry: HashMap, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `random` is never used [INFO] [stdout] --> src/wg.rs:38:12 [INFO] [stdout] | [INFO] [stdout] 37 | impl Key { [INFO] [stdout] | -------- associated function in this implementation [INFO] [stdout] 38 | pub fn random() -> Key { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Peer` is never constructed [INFO] [stdout] --> src/wg.rs:50:12 [INFO] [stdout] | [INFO] [stdout] 50 | pub struct Peer(pub Key, pub SocketAddr); [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `WgState` is never constructed [INFO] [stdout] --> src/wg.rs:138:12 [INFO] [stdout] | [INFO] [stdout] 138 | pub struct WgState { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_listen_port` and `get_endpoints` are never used [INFO] [stdout] --> src/wg.rs:147:8 [INFO] [stdout] | [INFO] [stdout] 143 | pub trait WireguardApi { [INFO] [stdout] | ------------ methods in this trait [INFO] [stdout] ... [INFO] [stdout] 147 | fn get_listen_port(&self, iface: &str) -> Result; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 148 | fn get_endpoints( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Expected` and `PeerParseError` are never constructed [INFO] [stdout] --> src/wg/config.rs:102:5 [INFO] [stdout] | [INFO] [stdout] 91 | pub enum ParseError { [INFO] [stdout] | ---------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 102 | Expected(char), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 111 | PeerParseError, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ParseError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `AdvertiseRoutes` is never constructed [INFO] [stdout] --> src/wg/config.rs:209:5 [INFO] [stdout] | [INFO] [stdout] 205 | enum WgPropKind { [INFO] [stdout] | ---------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 209 | AdvertiseRoutes, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `WgInterfaceInfo` is never constructed [INFO] [stdout] --> src/wg/instance.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct WgInterfaceInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `WgPeerInfo` is never constructed [INFO] [stdout] --> src/wg/peer.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct WgPeerInfo { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 17s [INFO] running `Command { std: "docker" "inspect" "0f9d1c8aae20ecc3cb67e53b63a818abb139b5648948131c844e21e3edc93aa5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0f9d1c8aae20ecc3cb67e53b63a818abb139b5648948131c844e21e3edc93aa5", kill_on_drop: false }` [INFO] [stdout] 0f9d1c8aae20ecc3cb67e53b63a818abb139b5648948131c844e21e3edc93aa5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] dc8e61e2bad16c318ebedb70e760822ec95583188ae0229c5313495627d164c6 [INFO] running `Command { std: "docker" "start" "-a" "dc8e61e2bad16c318ebedb70e760822ec95583188ae0229c5313495627d164c6", kill_on_drop: false }` [INFO] [stderr] Compiling wg-disco v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `instance::WgInterfaceInfo` [INFO] [stdout] --> src/wg/config.rs:8:47 [INFO] [stdout] | [INFO] [stdout] 8 | use super::{Cidr, DecodeError, Endpoint, Key, instance::WgInterfaceInfo, peer::WgPeerInfo}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `WgPeerInfo` and `instance::WgInterfaceInfo` [INFO] [stdout] --> src/wg/config.rs:293:57 [INFO] [stdout] | [INFO] [stdout] 293 | config::{Cidr, WgConfigInterface, WgConfigPeer, WgPeerInfo}, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 294 | instance::WgInterfaceInfo, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `nickname` [INFO] [stdout] --> src/signaling/irc.rs:144:21 [INFO] [stdout] | [INFO] [stdout] 144 | let nickname = nickname.clone(); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_nickname` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: impl trait in impl method captures fewer lifetimes than in trait [INFO] [stdout] --> src/signaling/irc.rs:133:79 [INFO] [stdout] | [INFO] [stdout] 133 | ) -> Result> + use<>, Self::Error> [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: add `#[allow(refining_impl_trait)]` if it is intended for this to be part of the public API of this crate [INFO] [stdout] = note: we are soliciting feedback, see issue #121718 for more information [INFO] [stdout] = note: `#[warn(refining_impl_trait_internal)]` (part of `#[warn(refining_impl_trait)]`) on by default [INFO] [stdout] help: modify the `use<..>` bound to capture the same lifetimes that the trait does [INFO] [stdout] | [INFO] [stdout] 133 | ) -> Result> + use<'_>, Self::Error> [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Void` is never used [INFO] [stdout] --> src/discover.rs:7:14 [INFO] [stdout] | [INFO] [stdout] 7 | pub enum Void {} [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `FakeDiscover` is never constructed [INFO] [stdout] --> src/discover.rs:13:16 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct FakeDiscover; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `registry` is never read [INFO] [stdout] --> src/signaling/irc.rs:59:5 [INFO] [stdout] | [INFO] [stdout] 56 | pub struct IrcSignaling { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 59 | registry: HashMap, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Peer` is never constructed [INFO] [stdout] --> src/wg.rs:50:12 [INFO] [stdout] | [INFO] [stdout] 50 | pub struct Peer(pub Key, pub SocketAddr); [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `WgState` is never constructed [INFO] [stdout] --> src/wg.rs:138:12 [INFO] [stdout] | [INFO] [stdout] 138 | pub struct WgState { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_listen_port` and `get_endpoints` are never used [INFO] [stdout] --> src/wg.rs:147:8 [INFO] [stdout] | [INFO] [stdout] 143 | pub trait WireguardApi { [INFO] [stdout] | ------------ methods in this trait [INFO] [stdout] ... [INFO] [stdout] 147 | fn get_listen_port(&self, iface: &str) -> Result; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 148 | fn get_endpoints( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Expected` and `PeerParseError` are never constructed [INFO] [stdout] --> src/wg/config.rs:102:5 [INFO] [stdout] | [INFO] [stdout] 91 | pub enum ParseError { [INFO] [stdout] | ---------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 102 | Expected(char), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 111 | PeerParseError, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ParseError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `AdvertiseRoutes` is never constructed [INFO] [stdout] --> src/wg/config.rs:209:5 [INFO] [stdout] | [INFO] [stdout] 205 | enum WgPropKind { [INFO] [stdout] | ---------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 209 | AdvertiseRoutes, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `WgInterfaceInfo` is never constructed [INFO] [stdout] --> src/wg/instance.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct WgInterfaceInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `WgPeerInfo` is never constructed [INFO] [stdout] --> src/wg/peer.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct WgPeerInfo { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 2.59s [INFO] running `Command { std: "docker" "inspect" "dc8e61e2bad16c318ebedb70e760822ec95583188ae0229c5313495627d164c6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dc8e61e2bad16c318ebedb70e760822ec95583188ae0229c5313495627d164c6", kill_on_drop: false }` [INFO] [stdout] dc8e61e2bad16c318ebedb70e760822ec95583188ae0229c5313495627d164c6