[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] 8f066bc70e8f72d2d2f69d957c3514119fe792e9 [INFO] checking octorrent/rlibupnp against try#987a165cfab916796a8315782b83ac460a651ce2 for pr-145262 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Foctorrent%2Frlibupnp" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [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-1-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/octorrent/rlibupnp on toolchain 987a165cfab916796a8315782b83ac460a651ce2 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+987a165cfab916796a8315782b83ac460a651ce2" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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" "+987a165cfab916796a8315782b83ac460a651ce2" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [ERROR] error running command: no output for 300 seconds [INFO] checking octorrent/rlibupnp against try#987a165cfab916796a8315782b83ac460a651ce2 for pr-145262 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Foctorrent%2Frlibupnp" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [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-1-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/octorrent/rlibupnp on toolchain 987a165cfab916796a8315782b83ac460a651ce2 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+987a165cfab916796a8315782b83ac460a651ce2" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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" "+987a165cfab916796a8315782b83ac460a651ce2" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+987a165cfab916796a8315782b83ac460a651ce2" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 97838a51a69d827a82a87a6908f503950e7881dfba9f159a3287b41047e2cc4b [INFO] running `Command { std: "docker" "start" "-a" "97838a51a69d827a82a87a6908f503950e7881dfba9f159a3287b41047e2cc4b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "97838a51a69d827a82a87a6908f503950e7881dfba9f159a3287b41047e2cc4b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "97838a51a69d827a82a87a6908f503950e7881dfba9f159a3287b41047e2cc4b", kill_on_drop: false }` [INFO] [stdout] 97838a51a69d827a82a87a6908f503950e7881dfba9f159a3287b41047e2cc4b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+987a165cfab916796a8315782b83ac460a651ce2" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3024966fa1e42e895c622d6806ba40666def27e8db09903ea3d2461b69c97685 [INFO] running `Command { std: "docker" "start" "-a" "3024966fa1e42e895c622d6806ba40666def27e8db09903ea3d2461b69c97685", kill_on_drop: false }` [INFO] [stderr] Checking roxmltree v0.20.0 [INFO] [stderr] Checking 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: 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: enum `Protocol` is never used [INFO] [stdout] --> src/upnp/protocol.rs:2:10 [INFO] [stdout] | [INFO] [stdout] 2 | pub enum Protocol { [INFO] [stdout] | ^^^^^^^^ [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: 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 `dev` profile [unoptimized + debuginfo] target(s) in 0.47s [INFO] running `Command { std: "docker" "inspect" "3024966fa1e42e895c622d6806ba40666def27e8db09903ea3d2461b69c97685", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3024966fa1e42e895c622d6806ba40666def27e8db09903ea3d2461b69c97685", kill_on_drop: false }` [INFO] [stdout] 3024966fa1e42e895c622d6806ba40666def27e8db09903ea3d2461b69c97685