[INFO] fetching crate mosh-server-upnp 0.1.0... [INFO] testing mosh-server-upnp-0.1.0 against try#ce59db7a1b1b012fb2793c4641c1bdecad7a128b for pr-85530 [INFO] extracting crate mosh-server-upnp 0.1.0 into /workspace/builds/worker-5/source [INFO] validating manifest of crates.io crate mosh-server-upnp 0.1.0 on toolchain ce59db7a1b1b012fb2793c4641c1bdecad7a128b [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate mosh-server-upnp 0.1.0 [INFO] finished tweaking crates.io crate mosh-server-upnp 0.1.0 [INFO] tweaked toml for crates.io crate mosh-server-upnp 0.1.0 written to /workspace/builds/worker-5/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "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-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e8e2d18196f7425c5cfd5f57470dc204768759156ad300a36f192dbb4bd1b6a3 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "e8e2d18196f7425c5cfd5f57470dc204768759156ad300a36f192dbb4bd1b6a3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e8e2d18196f7425c5cfd5f57470dc204768759156ad300a36f192dbb4bd1b6a3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e8e2d18196f7425c5cfd5f57470dc204768759156ad300a36f192dbb4bd1b6a3", kill_on_drop: false }` [INFO] [stdout] e8e2d18196f7425c5cfd5f57470dc204768759156ad300a36f192dbb4bd1b6a3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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" "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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c77ae474524ec9c0f1a5dc44657056e50d4a088bdf7099691b3d6ba05acd3519 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "c77ae474524ec9c0f1a5dc44657056e50d4a088bdf7099691b3d6ba05acd3519", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.95 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling slab v0.4.3 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling httparse v1.4.1 [INFO] [stderr] Compiling scoped-tls v0.1.2 [INFO] [stderr] Compiling safemem v0.3.3 [INFO] [stderr] Compiling try-lock v0.1.0 [INFO] [stderr] Compiling percent-encoding v1.0.1 [INFO] [stderr] Compiling language-tags v0.2.2 [INFO] [stderr] Compiling c_linked_list v1.1.1 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling memoffset v0.5.6 [INFO] [stderr] Compiling crossbeam-epoch v0.8.2 [INFO] [stderr] Compiling tokio-service v0.1.0 [INFO] [stderr] Compiling relay v0.1.1 [INFO] [stderr] Compiling tokio-timer v0.1.2 [INFO] [stderr] Compiling lock_api v0.3.4 [INFO] [stderr] Compiling thread_local v0.3.6 [INFO] [stderr] Compiling aho-corasick v0.6.10 [INFO] [stderr] Compiling base64 v0.9.3 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling xml-rs v0.7.0 [INFO] [stderr] Compiling want v0.0.4 [INFO] [stderr] Compiling regex v0.2.11 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Compiling parking_lot_core v0.6.2 [INFO] [stderr] Compiling parking_lot v0.9.0 [INFO] [stderr] Compiling xmltree v0.7.0 [INFO] [stderr] Compiling tokio-executor v0.1.10 [INFO] [stderr] Compiling crossbeam-queue v0.2.3 [INFO] [stderr] Compiling tokio-timer v0.2.13 [INFO] [stderr] Compiling tokio-current-thread v0.1.7 [INFO] [stderr] Compiling crossbeam-deque v0.7.3 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling net2 v0.2.37 [INFO] [stderr] Compiling rand v0.4.6 [INFO] [stderr] Compiling time v0.1.44 [INFO] [stderr] Compiling get_if_addrs v0.5.3 [INFO] [stderr] Compiling bytes v0.4.12 [INFO] [stderr] Compiling tokio-threadpool v0.1.18 [INFO] [stderr] Compiling futures-cpupool v0.1.8 [INFO] [stderr] Compiling mio v0.6.23 [INFO] [stderr] Compiling tokio-io v0.1.13 [INFO] [stderr] Compiling tokio-codec v0.1.2 [INFO] [stderr] Compiling tokio-fs v0.1.7 [INFO] [stderr] Compiling tokio-reactor v0.1.12 [INFO] [stderr] Compiling mio-uds v0.6.8 [INFO] [stderr] Compiling rand v0.3.23 [INFO] [stderr] Compiling tokio-uds v0.2.7 [INFO] [stderr] Compiling tokio-tcp v0.1.4 [INFO] [stderr] Compiling tokio-udp v0.1.6 [INFO] [stderr] Compiling tokio v0.1.22 [INFO] [stderr] Compiling tokio-core v0.1.18 [INFO] [stderr] Compiling tokio-retry v0.1.1 [INFO] [stderr] Compiling hyper v0.11.27 [INFO] [stderr] Compiling igd v0.7.1 [INFO] [stderr] Compiling mosh-server-upnp v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:20:17 [INFO] [stdout] | [INFO] [stdout] 20 | for addr in try!(get_if_addrs::get_if_addrs()) { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:48:18 [INFO] [stdout] | [INFO] [stdout] 48 | let output = try!(command.output()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:55:16 [INFO] [stdout] | [INFO] [stdout] 55 | let data = try!(String::from_utf8(output.stdout).map_err(|e| io::Error::new(io::ErrorKind::InvalidData, e))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:57:16 [INFO] [stdout] | [INFO] [stdout] 57 | let data = try!(data.lines() [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:64:26 [INFO] [stdout] | [INFO] [stdout] 64 | let (port, secret) = try!(data.ok_or_else(|| io::Error::new(io::ErrorKind::InvalidData, "malformated connection data"))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:66:16 [INFO] [stdout] | [INFO] [stdout] 66 | let port = try!(port.parse().map_err(|_| io::Error::new(io::ErrorKind::InvalidData, "connection port must be numeric"))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:68:19 [INFO] [stdout] | [INFO] [stdout] 68 | let gateway = try!(igd::search_gateway() [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:72:19 [INFO] [stdout] | [INFO] [stdout] 72 | let address = try!(if_for_addr(*gateway.addr.ip())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:74:25 [INFO] [stdout] | [INFO] [stdout] 74 | let external_port = try!(gateway.add_any_port(igd::PortMappingProtocol::UDP, address, 0, "mosh-server") [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:78:5 [INFO] [stdout] | [INFO] [stdout] 78 | try!(writeln!(io::stdout(), "\nMOSH CONNECT {} {}", external_port, secret)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/main.rs:86:78 [INFO] [stdout] | [INFO] [stdout] 86 | let _ = writeln!(io::stderr(), "mosh-server-upnp error: {}", err.description()); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 50.14s [INFO] running `Command { std: "docker" "inspect" "c77ae474524ec9c0f1a5dc44657056e50d4a088bdf7099691b3d6ba05acd3519", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c77ae474524ec9c0f1a5dc44657056e50d4a088bdf7099691b3d6ba05acd3519", kill_on_drop: false }` [INFO] [stdout] c77ae474524ec9c0f1a5dc44657056e50d4a088bdf7099691b3d6ba05acd3519 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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" "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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7a74316e66b492747d9ea60332e2582307d7cfc6c66af62a72bf454171a5b9d2 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "7a74316e66b492747d9ea60332e2582307d7cfc6c66af62a72bf454171a5b9d2", kill_on_drop: false }` [INFO] [stderr] Compiling mosh-server-upnp v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:20:17 [INFO] [stdout] | [INFO] [stdout] 20 | for addr in try!(get_if_addrs::get_if_addrs()) { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:48:18 [INFO] [stdout] | [INFO] [stdout] 48 | let output = try!(command.output()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:55:16 [INFO] [stdout] | [INFO] [stdout] 55 | let data = try!(String::from_utf8(output.stdout).map_err(|e| io::Error::new(io::ErrorKind::InvalidData, e))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:57:16 [INFO] [stdout] | [INFO] [stdout] 57 | let data = try!(data.lines() [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:64:26 [INFO] [stdout] | [INFO] [stdout] 64 | let (port, secret) = try!(data.ok_or_else(|| io::Error::new(io::ErrorKind::InvalidData, "malformated connection data"))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:66:16 [INFO] [stdout] | [INFO] [stdout] 66 | let port = try!(port.parse().map_err(|_| io::Error::new(io::ErrorKind::InvalidData, "connection port must be numeric"))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:68:19 [INFO] [stdout] | [INFO] [stdout] 68 | let gateway = try!(igd::search_gateway() [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:72:19 [INFO] [stdout] | [INFO] [stdout] 72 | let address = try!(if_for_addr(*gateway.addr.ip())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:74:25 [INFO] [stdout] | [INFO] [stdout] 74 | let external_port = try!(gateway.add_any_port(igd::PortMappingProtocol::UDP, address, 0, "mosh-server") [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:78:5 [INFO] [stdout] | [INFO] [stdout] 78 | try!(writeln!(io::stdout(), "\nMOSH CONNECT {} {}", external_port, secret)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/main.rs:86:78 [INFO] [stdout] | [INFO] [stdout] 86 | let _ = writeln!(io::stderr(), "mosh-server-upnp error: {}", err.description()); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 1.03s [INFO] running `Command { std: "docker" "inspect" "7a74316e66b492747d9ea60332e2582307d7cfc6c66af62a72bf454171a5b9d2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7a74316e66b492747d9ea60332e2582307d7cfc6c66af62a72bf454171a5b9d2", kill_on_drop: false }` [INFO] [stdout] 7a74316e66b492747d9ea60332e2582307d7cfc6c66af62a72bf454171a5b9d2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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" "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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 65569baff00c6446c04ad367f28dc18da0381d6973797c994d67d4be5beb24e4 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "65569baff00c6446c04ad367f28dc18da0381d6973797c994d67d4be5beb24e4", kill_on_drop: false }` [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/main.rs:20:17 [INFO] [stderr] | [INFO] [stderr] 20 | for addr in try!(get_if_addrs::get_if_addrs()) { [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/main.rs:48:18 [INFO] [stderr] | [INFO] [stderr] 48 | let output = try!(command.output()); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/main.rs:55:16 [INFO] [stderr] | [INFO] [stderr] 55 | let data = try!(String::from_utf8(output.stdout).map_err(|e| io::Error::new(io::ErrorKind::InvalidData, e))); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/main.rs:57:16 [INFO] [stderr] | [INFO] [stderr] 57 | let data = try!(data.lines() [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/main.rs:64:26 [INFO] [stderr] | [INFO] [stderr] 64 | let (port, secret) = try!(data.ok_or_else(|| io::Error::new(io::ErrorKind::InvalidData, "malformated connection data"))); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/main.rs:66:16 [INFO] [stderr] | [INFO] [stderr] 66 | let port = try!(port.parse().map_err(|_| io::Error::new(io::ErrorKind::InvalidData, "connection port must be numeric"))); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/main.rs:68:19 [INFO] [stderr] | [INFO] [stderr] 68 | let gateway = try!(igd::search_gateway() [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/main.rs:72:19 [INFO] [stderr] | [INFO] [stderr] 72 | let address = try!(if_for_addr(*gateway.addr.ip())); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/main.rs:74:25 [INFO] [stderr] | [INFO] [stderr] 74 | let external_port = try!(gateway.add_any_port(igd::PortMappingProtocol::UDP, address, 0, "mosh-server") [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/main.rs:78:5 [INFO] [stderr] | [INFO] [stderr] 78 | try!(writeln!(io::stdout(), "\nMOSH CONNECT {} {}", external_port, secret)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stderr] --> src/main.rs:86:78 [INFO] [stderr] | [INFO] [stderr] 86 | let _ = writeln!(io::stderr(), "mosh-server-upnp error: {}", err.description()); [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: 11 warnings emitted [INFO] [stderr] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.08s [INFO] [stdout] [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/mosh_server_upnp-29342a8feb9264ac) [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "65569baff00c6446c04ad367f28dc18da0381d6973797c994d67d4be5beb24e4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "65569baff00c6446c04ad367f28dc18da0381d6973797c994d67d4be5beb24e4", kill_on_drop: false }` [INFO] [stdout] 65569baff00c6446c04ad367f28dc18da0381d6973797c994d67d4be5beb24e4