[INFO] cloning repository https://github.com/oneRede/rose [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/oneRede/rose" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FoneRede%2Frose", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FoneRede%2Frose'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 34a9b81b8389d3e78d423126d67d740f6a870b72 [INFO] checking oneRede/rose against master#b359ccf1b0b7b2d2c1c4932344b806e68bd053a9 for pr-105483 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FoneRede%2Frose" "/workspace/builds/worker-4/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/oneRede/rose on toolchain b359ccf1b0b7b2d2c1c4932344b806e68bd053a9 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+b359ccf1b0b7b2d2c1c4932344b806e68bd053a9" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/oneRede/rose [INFO] finished tweaking git repo https://github.com/oneRede/rose [INFO] tweaked toml for git repo https://github.com/oneRede/rose written to /workspace/builds/worker-4/source/Cargo.toml [INFO] crate git repo https://github.com/oneRede/rose already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+b359ccf1b0b7b2d2c1c4932344b806e68bd053a9" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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:bb5b0feb4f87116a4ea905b7ff5bf5b85913db05e9f0fbc1abdd3168928d9075" "/opt/rustwide/cargo-home/bin/cargo" "+b359ccf1b0b7b2d2c1c4932344b806e68bd053a9" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c227c18e4d57f749b2e31d6c8b589da9d83ab87a1bc9be5cf409ea5808463db4 [INFO] running `Command { std: "docker" "start" "-a" "c227c18e4d57f749b2e31d6c8b589da9d83ab87a1bc9be5cf409ea5808463db4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c227c18e4d57f749b2e31d6c8b589da9d83ab87a1bc9be5cf409ea5808463db4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c227c18e4d57f749b2e31d6c8b589da9d83ab87a1bc9be5cf409ea5808463db4", kill_on_drop: false }` [INFO] [stdout] c227c18e4d57f749b2e31d6c8b589da9d83ab87a1bc9be5cf409ea5808463db4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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:bb5b0feb4f87116a4ea905b7ff5bf5b85913db05e9f0fbc1abdd3168928d9075" "/opt/rustwide/cargo-home/bin/cargo" "+b359ccf1b0b7b2d2c1c4932344b806e68bd053a9" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 56d8666ba268d51b6f822f5a03dfe9b357f4f5870eb41f12ad3b607a4fc91f5b [INFO] running `Command { std: "docker" "start" "-a" "56d8666ba268d51b6f822f5a03dfe9b357f4f5870eb41f12ad3b607a4fc91f5b", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.134 [INFO] [stderr] Compiling proc-macro2 v1.0.46 [INFO] [stderr] Compiling quote v1.0.21 [INFO] [stderr] Compiling unicode-ident v1.0.5 [INFO] [stderr] Compiling syn v1.0.102 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling cc v1.0.73 [INFO] [stderr] Checking once_cell v1.15.0 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Checking untrusted v0.7.1 [INFO] [stderr] Checking spin v0.5.2 [INFO] [stderr] Checking pin-project-lite v0.2.9 [INFO] [stderr] Checking base64 v0.13.0 [INFO] [stderr] Compiling futures-core v0.3.24 [INFO] [stderr] Checking ppv-lite86 v0.2.16 [INFO] [stderr] Compiling futures-task v0.3.24 [INFO] [stderr] Compiling thiserror v1.0.37 [INFO] [stderr] Compiling rustls v0.20.6 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling serde v1.0.145 [INFO] [stderr] Checking tracing-core v0.1.30 [INFO] [stderr] Checking rustls-pemfile v1.0.1 [INFO] [stderr] Checking openssl-probe v0.1.5 [INFO] [stderr] Compiling futures-util v0.3.24 [INFO] [stderr] Checking tinyvec_macros v0.1.0 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Checking tinyvec v1.6.0 [INFO] [stderr] Checking rustls-native-certs v0.6.2 [INFO] [stderr] Checking rustls-pemfile v0.2.1 [INFO] [stderr] Checking bytes v1.2.1 [INFO] [stderr] Compiling futures-channel v0.3.24 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Compiling gcc v0.3.55 [INFO] [stderr] Checking futures-io v0.3.24 [INFO] [stderr] Compiling serde_derive v1.0.145 [INFO] [stderr] Compiling anyhow v1.0.65 [INFO] [stderr] Compiling serde_json v1.0.86 [INFO] [stderr] Checking fxhash v0.2.1 [INFO] [stderr] Compiling slab v0.4.7 [INFO] [stderr] Compiling tokio v1.21.2 [INFO] [stderr] Checking itoa v1.0.4 [INFO] [stderr] Checking ryu v1.0.11 [INFO] [stderr] Checking rustc-serialize v0.3.24 [INFO] [stderr] Checking getrandom v0.2.7 [INFO] [stderr] Checking mio v0.8.4 [INFO] [stderr] Checking socket2 v0.4.7 [INFO] [stderr] Checking rand v0.4.6 [INFO] [stderr] Checking time v0.1.44 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Compiling rust-crypto v0.2.36 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking rand v0.3.23 [INFO] [stderr] Checking toml v0.4.10 [INFO] [stderr] Checking sct v0.7.0 [INFO] [stderr] Checking webpki v0.22.0 [INFO] [stderr] Compiling tracing-attributes v0.1.23 [INFO] [stderr] Compiling thiserror-impl v1.0.37 [INFO] [stderr] Compiling futures-macro v0.3.24 [INFO] [stderr] Checking tracing v0.1.37 [INFO] [stderr] Checking quinn-proto v0.8.4 [INFO] [stderr] Checking quinn-udp v0.1.3 [INFO] [stderr] Checking quinn v0.8.5 [INFO] [stderr] Checking rose v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::net::UdpSocket` [INFO] [stdout] --> src/utils.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::net::UdpSocket; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Ipv4Addr`, `Ipv6Addr` [INFO] [stdout] --> src/peer.rs:3:24 [INFO] [stdout] | [INFO] [stdout] 3 | use std::net::{IpAddr, Ipv4Addr, Ipv6Addr}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::cmd::Cmd` [INFO] [stdout] --> src/main.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use crate::cmd::Cmd; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::net::UdpSocket` [INFO] [stdout] --> src/utils.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::net::UdpSocket; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Ipv4Addr`, `Ipv6Addr` [INFO] [stdout] --> src/peer.rs:3:24 [INFO] [stdout] | [INFO] [stdout] 3 | use std::net::{IpAddr, Ipv4Addr, Ipv6Addr}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::cmd::Cmd` [INFO] [stdout] --> src/main.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use crate::cmd::Cmd; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/client.rs:37:14 [INFO] [stdout] | [INFO] [stdout] 37 | let (mut send, recv) = conn.connection [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/client.rs:37:14 [INFO] [stdout] | [INFO] [stdout] 37 | let (mut send, recv) = conn.connection [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `send` [INFO] [stdout] --> src/client.rs:37:18 [INFO] [stdout] | [INFO] [stdout] 37 | let (mut send, recv) = conn.connection [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_send` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `recv` [INFO] [stdout] --> src/client.rs:37:24 [INFO] [stdout] | [INFO] [stdout] 37 | let (mut send, recv) = conn.connection [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_recv` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `endpoint` [INFO] [stdout] --> src/server.rs:47:14 [INFO] [stdout] | [INFO] [stdout] 47 | let (endpoint, mut incoming) = [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_endpoint` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `incoming` [INFO] [stdout] --> src/server.rs:47:28 [INFO] [stdout] | [INFO] [stdout] 47 | let (endpoint, mut incoming) = [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_incoming` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `send` [INFO] [stdout] --> src/client.rs:37:18 [INFO] [stdout] | [INFO] [stdout] 37 | let (mut send, recv) = conn.connection [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_send` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `recv` [INFO] [stdout] --> src/client.rs:37:24 [INFO] [stdout] | [INFO] [stdout] 37 | let (mut send, recv) = conn.connection [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_recv` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `endpoint` [INFO] [stdout] --> src/server.rs:47:14 [INFO] [stdout] | [INFO] [stdout] 47 | let (endpoint, mut incoming) = [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_endpoint` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `incoming` [INFO] [stdout] --> src/server.rs:47:28 [INFO] [stdout] | [INFO] [stdout] 47 | let (endpoint, mut incoming) = [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_incoming` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/server.rs:47:24 [INFO] [stdout] | [INFO] [stdout] 47 | let (endpoint, mut incoming) = [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/server.rs:47:24 [INFO] [stdout] | [INFO] [stdout] 47 | let (endpoint, mut incoming) = [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `ALPN_QUIC_HTTP` is never used [INFO] [stdout] --> src/client.rs:6:11 [INFO] [stdout] | [INFO] [stdout] 6 | pub const ALPN_QUIC_HTTP: &[&[u8]] = &[b"hq-29"]; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Client` is never constructed [INFO] [stdout] --> src/client.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 7 | struct Client<'a> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/client.rs:12:8 [INFO] [stdout] | [INFO] [stdout] 12 | fn new(client_config: &'a ClientConfig) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `run` is never used [INFO] [stdout] --> src/client.rs:16:14 [INFO] [stdout] | [INFO] [stdout] 16 | async fn run(&self) -> Result<()> { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `get_server_config` is never used [INFO] [stdout] --> src/config.rs:64:12 [INFO] [stdout] | [INFO] [stdout] 64 | pub fn get_server_config(&self) -> &ServerConfig { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `get_client_config` is never used [INFO] [stdout] --> src/config.rs:68:12 [INFO] [stdout] | [INFO] [stdout] 68 | pub fn get_client_config(&self) -> &ClientConfig { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `get_peer_storage` is never used [INFO] [stdout] --> src/config.rs:72:12 [INFO] [stdout] | [INFO] [stdout] 72 | pub fn get_peer_storage(&self) -> &PeerStorage { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `ALPN_QUIC_HTTP` is never used [INFO] [stdout] --> src/server.rs:7:11 [INFO] [stdout] | [INFO] [stdout] 7 | pub const ALPN_QUIC_HTTP: &[&[u8]] = &[b"hq-29"]; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Server` is never constructed [INFO] [stdout] --> src/server.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct Server<'a> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/server.rs:13:8 [INFO] [stdout] | [INFO] [stdout] 13 | fn new(server_config: &'a ServerConfig) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `run` is never used [INFO] [stdout] --> src/server.rs:19:8 [INFO] [stdout] | [INFO] [stdout] 19 | fn run(&self) -> Result<()> { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `PeerInfo` is never constructed [INFO] [stdout] --> src/peer.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct PeerInfo { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `LocalPeer` is never constructed [INFO] [stdout] --> src/peer.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct LocalPeer { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `RemotePeers` is never constructed [INFO] [stdout] --> src/peer.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct RemotePeers { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/peer.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn new(name: String, ip: String, port: u32) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `get_ip_addr` is never used [INFO] [stdout] --> src/peer.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 25 | pub fn get_ip_addr(&self) -> IpAddr { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/peer.rs:31:8 [INFO] [stdout] | [INFO] [stdout] 31 | fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `init` is never used [INFO] [stdout] --> src/peer.rs:40:8 [INFO] [stdout] | [INFO] [stdout] 40 | fn init(&self) -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `update` is never used [INFO] [stdout] --> src/peer.rs:56:8 [INFO] [stdout] | [INFO] [stdout] 56 | fn update(&self) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `insert` is never used [INFO] [stdout] --> src/peer.rs:69:8 [INFO] [stdout] | [INFO] [stdout] 69 | fn insert(&mut self, name: String, ip: String, port: u32) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `remove_by_name` is never used [INFO] [stdout] --> src/peer.rs:77:8 [INFO] [stdout] | [INFO] [stdout] 77 | fn remove_by_name(&mut self, name: String) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `cmd` and `hostnames` are never read [INFO] [stdout] --> src/cmd/parser.rs:40:5 [INFO] [stdout] | [INFO] [stdout] 39 | struct CmdParser { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 40 | cmd: Cmd, [INFO] [stdout] | ^^^ [INFO] [stdout] 41 | hostnames: Vec, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/cmd/parser.rs:11:8 [INFO] [stdout] | [INFO] [stdout] 11 | fn new(command: String, opt_args: Vec<(String, String)>, args: Vec) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new_from_str` is never used [INFO] [stdout] --> src/cmd/parser.rs:19:8 [INFO] [stdout] | [INFO] [stdout] 19 | fn new_from_str(str: &str) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new_from_bytes` is never used [INFO] [stdout] --> src/cmd/parser.rs:24:8 [INFO] [stdout] | [INFO] [stdout] 24 | fn new_from_bytes(b_cmd: &[u8]) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `to_string` is never used [INFO] [stdout] --> src/cmd/parser.rs:29:8 [INFO] [stdout] | [INFO] [stdout] 29 | fn to_string(&self) -> String { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `to_bytes` is never used [INFO] [stdout] --> src/cmd/parser.rs:33:8 [INFO] [stdout] | [INFO] [stdout] 33 | fn to_bytes(&self) -> Vec { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/cmd/parser.rs:45:8 [INFO] [stdout] | [INFO] [stdout] 45 | fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `parse_rm` is never used [INFO] [stdout] --> src/cmd/parser.rs:49:8 [INFO] [stdout] | [INFO] [stdout] 49 | fn parse_rm(str: &str) -> Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `ALPN_QUIC_HTTP` is never used [INFO] [stdout] --> src/client.rs:6:11 [INFO] [stdout] | [INFO] [stdout] 6 | pub const ALPN_QUIC_HTTP: &[&[u8]] = &[b"hq-29"]; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Client` is never constructed [INFO] [stdout] --> src/client.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 7 | struct Client<'a> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/client.rs:12:8 [INFO] [stdout] | [INFO] [stdout] 12 | fn new(client_config: &'a ClientConfig) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `run` is never used [INFO] [stdout] --> src/client.rs:16:14 [INFO] [stdout] | [INFO] [stdout] 16 | async fn run(&self) -> Result<()> { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `get_server_config` is never used [INFO] [stdout] --> src/config.rs:64:12 [INFO] [stdout] | [INFO] [stdout] 64 | pub fn get_server_config(&self) -> &ServerConfig { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `get_client_config` is never used [INFO] [stdout] --> src/config.rs:68:12 [INFO] [stdout] | [INFO] [stdout] 68 | pub fn get_client_config(&self) -> &ClientConfig { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `get_peer_storage` is never used [INFO] [stdout] --> src/config.rs:72:12 [INFO] [stdout] | [INFO] [stdout] 72 | pub fn get_peer_storage(&self) -> &PeerStorage { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `ALPN_QUIC_HTTP` is never used [INFO] [stdout] --> src/server.rs:7:11 [INFO] [stdout] | [INFO] [stdout] 7 | pub const ALPN_QUIC_HTTP: &[&[u8]] = &[b"hq-29"]; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Server` is never constructed [INFO] [stdout] --> src/server.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct Server<'a> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/server.rs:13:8 [INFO] [stdout] | [INFO] [stdout] 13 | fn new(server_config: &'a ServerConfig) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `run` is never used [INFO] [stdout] --> src/server.rs:19:8 [INFO] [stdout] | [INFO] [stdout] 19 | fn run(&self) -> Result<()> { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `PeerInfo` is never constructed [INFO] [stdout] --> src/peer.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct PeerInfo { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `LocalPeer` is never constructed [INFO] [stdout] --> src/peer.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct LocalPeer { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `RemotePeers` is never constructed [INFO] [stdout] --> src/peer.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct RemotePeers { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/peer.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn new(name: String, ip: String, port: u32) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `get_ip_addr` is never used [INFO] [stdout] --> src/peer.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 25 | pub fn get_ip_addr(&self) -> IpAddr { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/peer.rs:31:8 [INFO] [stdout] | [INFO] [stdout] 31 | fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `init` is never used [INFO] [stdout] --> src/peer.rs:40:8 [INFO] [stdout] | [INFO] [stdout] 40 | fn init(&self) -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `update` is never used [INFO] [stdout] --> src/peer.rs:56:8 [INFO] [stdout] | [INFO] [stdout] 56 | fn update(&self) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `insert` is never used [INFO] [stdout] --> src/peer.rs:69:8 [INFO] [stdout] | [INFO] [stdout] 69 | fn insert(&mut self, name: String, ip: String, port: u32) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `remove_by_name` is never used [INFO] [stdout] --> src/peer.rs:77:8 [INFO] [stdout] | [INFO] [stdout] 77 | fn remove_by_name(&mut self, name: String) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `cmd` and `hostnames` are never read [INFO] [stdout] --> src/cmd/parser.rs:40:5 [INFO] [stdout] | [INFO] [stdout] 39 | struct CmdParser { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 40 | cmd: Cmd, [INFO] [stdout] | ^^^ [INFO] [stdout] 41 | hostnames: Vec, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/cmd/parser.rs:11:8 [INFO] [stdout] | [INFO] [stdout] 11 | fn new(command: String, opt_args: Vec<(String, String)>, args: Vec) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new_from_str` is never used [INFO] [stdout] --> src/cmd/parser.rs:19:8 [INFO] [stdout] | [INFO] [stdout] 19 | fn new_from_str(str: &str) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new_from_bytes` is never used [INFO] [stdout] --> src/cmd/parser.rs:24:8 [INFO] [stdout] | [INFO] [stdout] 24 | fn new_from_bytes(b_cmd: &[u8]) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `to_string` is never used [INFO] [stdout] --> src/cmd/parser.rs:29:8 [INFO] [stdout] | [INFO] [stdout] 29 | fn to_string(&self) -> String { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `to_bytes` is never used [INFO] [stdout] --> src/cmd/parser.rs:33:8 [INFO] [stdout] | [INFO] [stdout] 33 | fn to_bytes(&self) -> Vec { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/cmd/parser.rs:45:8 [INFO] [stdout] | [INFO] [stdout] 45 | fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `parse_rm` is never used [INFO] [stdout] --> src/cmd/parser.rs:49:8 [INFO] [stdout] | [INFO] [stdout] 49 | fn parse_rm(str: &str) -> Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 38 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 38 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 10.33s [INFO] running `Command { std: "docker" "inspect" "56d8666ba268d51b6f822f5a03dfe9b357f4f5870eb41f12ad3b607a4fc91f5b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "56d8666ba268d51b6f822f5a03dfe9b357f4f5870eb41f12ad3b607a4fc91f5b", kill_on_drop: false }` [INFO] [stdout] 56d8666ba268d51b6f822f5a03dfe9b357f4f5870eb41f12ad3b607a4fc91f5b