[INFO] cloning repository https://github.com/octorrent/rlibupnp [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/octorrent/rlibupnp" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Foctorrent%2Frlibupnp", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Foctorrent%2Frlibupnp'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 2fdae0f3628c33067ae054fe5c2375bffb1e09a7 [INFO] building octorrent/rlibupnp against master#11663cd3bfefef7d34e8f0892c250bf698049392+rustflags=-Dtail-expr-drop-order for pr-134523 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Foctorrent%2Frlibupnp" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/octorrent/rlibupnp on toolchain 11663cd3bfefef7d34e8f0892c250bf698049392 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/octorrent/rlibupnp [INFO] finished tweaking git repo https://github.com/octorrent/rlibupnp [INFO] tweaked toml for git repo https://github.com/octorrent/rlibupnp written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/octorrent/rlibupnp 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" "+11663cd3bfefef7d34e8f0892c250bf698049392" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] bf41cc8c426452079c5762d50bba29b7f68981f690b727b04e0241ded55d8c67 [INFO] running `Command { std: "docker" "start" "-a" "bf41cc8c426452079c5762d50bba29b7f68981f690b727b04e0241ded55d8c67", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "bf41cc8c426452079c5762d50bba29b7f68981f690b727b04e0241ded55d8c67", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bf41cc8c426452079c5762d50bba29b7f68981f690b727b04e0241ded55d8c67", kill_on_drop: false }` [INFO] [stdout] bf41cc8c426452079c5762d50bba29b7f68981f690b727b04e0241ded55d8c67 [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 -Dtail-expr-drop-order" "-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e95ebdffeb9182cdb2a0751db3aae982ebbe30e1b5fb40a1b06dec32c639a87d [INFO] running `Command { std: "docker" "start" "-a" "e95ebdffeb9182cdb2a0751db3aae982ebbe30e1b5fb40a1b06dec32c639a87d", kill_on_drop: false }` [INFO] [stderr] Compiling roxmltree v0.20.0 [INFO] [stderr] Compiling rlibupnp v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `src_addr` [INFO] [stdout] --> src/upnp/upnp.rs:27:27 [INFO] [stdout] | [INFO] [stdout] 27 | Ok((size, src_addr)) => { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_src_addr` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/upnp/upnp.rs:37:21 [INFO] [stdout] | [INFO] [stdout] 37 | Err(e) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `REQUESTS` is never used [INFO] [stdout] --> src/upnp/upnp.rs:6:7 [INFO] [stdout] | [INFO] [stdout] 6 | const REQUESTS: [&str; 3] = [ [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `UPnP` is never constructed [INFO] [stdout] --> src/upnp/upnp.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct UPnP { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `open_port`, `close_port`, `is_mapped`, and `get_external_ip` are never used [INFO] [stdout] --> src/upnp/upnp.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 16 | impl UPnP { [INFO] [stdout] | --------- associated items in this implementation [INFO] [stdout] 17 | [INFO] [stdout] 18 | pub fn new(local_addr: IpAddr) -> io::Result { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 46 | pub fn open_port(&self, port: u16, protocol: Protocol) -> io::Result { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 50 | pub fn close_port(&self, port: u16, protocol: Protocol) -> io::Result { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 54 | pub fn is_mapped(&self, port: u16, protocol: Protocol) -> io::Result { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 58 | pub fn get_external_ip(&self) -> io::Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Gateway` is never constructed [INFO] [stdout] --> src/upnp/gateway.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct Gateway { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `open_port`, `close_port`, `is_mapped`, `get_external_ip`, and `command` are never used [INFO] [stdout] --> src/upnp/gateway.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 15 | impl Gateway { [INFO] [stdout] | ------------ associated items in this implementation [INFO] [stdout] 16 | [INFO] [stdout] 17 | pub fn new(buf: &[u8], size: usize, address: IpAddr) -> io::Result { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 70 | pub fn open_port(&self, port: u16, protocol: Protocol) -> io::Result { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 93 | pub fn close_port(&self, port: u16, protocol: Protocol) -> io::Result { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 111 | pub fn is_mapped(&self, port: u16, protocol: Protocol) -> io::Result { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 129 | pub fn get_external_ip(&self) -> io::Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 134 | fn command(&self, action: &str, params: Option>) -> io::Result> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Udp` and `Tcp` are never constructed [INFO] [stdout] --> src/upnp/protocol.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 2 | pub enum Protocol { [INFO] [stdout] | -------- variants in this enum [INFO] [stdout] 3 | Udp, [INFO] [stdout] | ^^^ [INFO] [stdout] 4 | Tcp [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Protocol` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `from_value` and `value` are never used [INFO] [stdout] --> src/upnp/protocol.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 7 | impl Protocol { [INFO] [stdout] | ------------- associated items in this implementation [INFO] [stdout] 8 | [INFO] [stdout] 9 | pub fn from_value(value: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 19 | pub fn value(&self) -> &str { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Url` is never constructed [INFO] [stdout] --> src/utils/url.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | pub struct Url { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `to_string` are never used [INFO] [stdout] --> src/utils/url.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 8 | impl Url { [INFO] [stdout] | -------- associated items in this implementation [INFO] [stdout] 9 | [INFO] [stdout] 10 | pub fn new(url: &str) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 36 | pub fn to_string(&self) -> String { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.93s [INFO] running `Command { std: "docker" "inspect" "e95ebdffeb9182cdb2a0751db3aae982ebbe30e1b5fb40a1b06dec32c639a87d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e95ebdffeb9182cdb2a0751db3aae982ebbe30e1b5fb40a1b06dec32c639a87d", kill_on_drop: false }` [INFO] [stdout] e95ebdffeb9182cdb2a0751db3aae982ebbe30e1b5fb40a1b06dec32c639a87d [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 -Dtail-expr-drop-order" "-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4ef0f84c5687a74ccb0a6e9857279266f51cf80b20a61bc428e741b0d90fafc5 [INFO] running `Command { std: "docker" "start" "-a" "4ef0f84c5687a74ccb0a6e9857279266f51cf80b20a61bc428e741b0d90fafc5", kill_on_drop: false }` [INFO] [stdout] warning: unused variable: `src_addr` [INFO] [stdout] --> src/upnp/upnp.rs:27:27 [INFO] [stdout] | [INFO] [stdout] 27 | Ok((size, src_addr)) => { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_src_addr` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/upnp/upnp.rs:37:21 [INFO] [stdout] | [INFO] [stdout] 37 | Err(e) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling rlibupnp v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: constant `REQUESTS` is never used [INFO] [stdout] --> src/upnp/upnp.rs:6:7 [INFO] [stdout] | [INFO] [stdout] 6 | const REQUESTS: [&str; 3] = [ [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `UPnP` is never constructed [INFO] [stdout] --> src/upnp/upnp.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct UPnP { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `open_port`, `close_port`, `is_mapped`, and `get_external_ip` are never used [INFO] [stdout] --> src/upnp/upnp.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 16 | impl UPnP { [INFO] [stdout] | --------- associated items in this implementation [INFO] [stdout] 17 | [INFO] [stdout] 18 | pub fn new(local_addr: IpAddr) -> io::Result { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 46 | pub fn open_port(&self, port: u16, protocol: Protocol) -> io::Result { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 50 | pub fn close_port(&self, port: u16, protocol: Protocol) -> io::Result { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 54 | pub fn is_mapped(&self, port: u16, protocol: Protocol) -> io::Result { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 58 | pub fn get_external_ip(&self) -> io::Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Gateway` is never constructed [INFO] [stdout] --> src/upnp/gateway.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct Gateway { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `open_port`, `close_port`, `is_mapped`, `get_external_ip`, and `command` are never used [INFO] [stdout] --> src/upnp/gateway.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 15 | impl Gateway { [INFO] [stdout] | ------------ associated items in this implementation [INFO] [stdout] 16 | [INFO] [stdout] 17 | pub fn new(buf: &[u8], size: usize, address: IpAddr) -> io::Result { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 70 | pub fn open_port(&self, port: u16, protocol: Protocol) -> io::Result { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 93 | pub fn close_port(&self, port: u16, protocol: Protocol) -> io::Result { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 111 | pub fn is_mapped(&self, port: u16, protocol: Protocol) -> io::Result { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 129 | pub fn get_external_ip(&self) -> io::Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 134 | fn command(&self, action: &str, params: Option>) -> io::Result> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Udp` and `Tcp` are never constructed [INFO] [stdout] --> src/upnp/protocol.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 2 | pub enum Protocol { [INFO] [stdout] | -------- variants in this enum [INFO] [stdout] 3 | Udp, [INFO] [stdout] | ^^^ [INFO] [stdout] 4 | Tcp [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Protocol` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `from_value` and `value` are never used [INFO] [stdout] --> src/upnp/protocol.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 7 | impl Protocol { [INFO] [stdout] | ------------- associated items in this implementation [INFO] [stdout] 8 | [INFO] [stdout] 9 | pub fn from_value(value: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 19 | pub fn value(&self) -> &str { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Url` is never constructed [INFO] [stdout] --> src/utils/url.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | pub struct Url { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `to_string` are never used [INFO] [stdout] --> src/utils/url.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 8 | impl Url { [INFO] [stdout] | -------- associated items in this implementation [INFO] [stdout] 9 | [INFO] [stdout] 10 | pub fn new(url: &str) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 36 | pub fn to_string(&self) -> String { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `src_addr` [INFO] [stdout] --> src/upnp/upnp.rs:27:27 [INFO] [stdout] | [INFO] [stdout] 27 | Ok((size, src_addr)) => { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_src_addr` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/upnp/upnp.rs:37:21 [INFO] [stdout] | [INFO] [stdout] 37 | Err(e) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `open_port` and `close_port` are never used [INFO] [stdout] --> src/upnp/upnp.rs:46:12 [INFO] [stdout] | [INFO] [stdout] 16 | impl UPnP { [INFO] [stdout] | --------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 46 | pub fn open_port(&self, port: u16, protocol: Protocol) -> io::Result { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 50 | pub fn close_port(&self, port: u16, protocol: Protocol) -> io::Result { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `address` is never read [INFO] [stdout] --> src/upnp/gateway.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct Gateway { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] 10 | address: IpAddr, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `open_port` and `close_port` are never used [INFO] [stdout] --> src/upnp/gateway.rs:70:12 [INFO] [stdout] | [INFO] [stdout] 15 | impl Gateway { [INFO] [stdout] | ------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 70 | pub fn open_port(&self, port: u16, protocol: Protocol) -> io::Result { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 93 | pub fn close_port(&self, port: u16, protocol: Protocol) -> io::Result { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Udp` is never constructed [INFO] [stdout] --> src/upnp/protocol.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 2 | pub enum Protocol { [INFO] [stdout] | -------- variant in this enum [INFO] [stdout] 3 | Udp, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Protocol` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `from_value` is never used [INFO] [stdout] --> src/upnp/protocol.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 7 | impl Protocol { [INFO] [stdout] | ------------- associated function in this implementation [INFO] [stdout] 8 | [INFO] [stdout] 9 | pub fn from_value(value: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `scheme` is never read [INFO] [stdout] --> src/utils/url.rs:2:16 [INFO] [stdout] | [INFO] [stdout] 1 | pub struct Url { [INFO] [stdout] | --- field in this struct [INFO] [stdout] 2 | pub(crate) scheme: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `to_string` is never used [INFO] [stdout] --> src/utils/url.rs:36:12 [INFO] [stdout] | [INFO] [stdout] 8 | impl Url { [INFO] [stdout] | -------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 36 | pub fn to_string(&self) -> String { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.68s [INFO] running `Command { std: "docker" "inspect" "4ef0f84c5687a74ccb0a6e9857279266f51cf80b20a61bc428e741b0d90fafc5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4ef0f84c5687a74ccb0a6e9857279266f51cf80b20a61bc428e741b0d90fafc5", kill_on_drop: false }` [INFO] [stdout] 4ef0f84c5687a74ccb0a6e9857279266f51cf80b20a61bc428e741b0d90fafc5