[INFO] fetching crate net-utils 0.0.5...
[INFO] building net-utils-0.0.5 against 1.69.0 for beta-1.70-1
[INFO] extracting crate net-utils 0.0.5 into /workspace/builds/worker-1-tc1/source
[INFO] validating manifest of crates.io crate net-utils 0.0.5 on toolchain 1.69.0
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.69.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate net-utils 0.0.5
[INFO] finished tweaking crates.io crate net-utils 0.0.5
[INFO] tweaked toml for crates.io crate net-utils 0.0.5 written to /workspace/builds/worker-1-tc1/source/Cargo.toml
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" __CARGO_TEST_CHANNEL_OVERRIDE_DO_NOT_USE_THIS="nightly" "/workspace/cargo-home/bin/cargo" "+1.69.0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }`
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.69.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[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-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:5ff2268d62e97bff2cde7d5815dd6ed5b47097566f13b8d0ca110b04b60e07ed" "/opt/rustwide/cargo-home/bin/cargo" "+1.69.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] c1558e3e55e5893da2b5f91520bd77dc326c8658ed271318cef5ed83824bb2fe
[INFO] running `Command { std: "docker" "start" "-a" "c1558e3e55e5893da2b5f91520bd77dc326c8658ed271318cef5ed83824bb2fe", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "c1558e3e55e5893da2b5f91520bd77dc326c8658ed271318cef5ed83824bb2fe", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "c1558e3e55e5893da2b5f91520bd77dc326c8658ed271318cef5ed83824bb2fe", kill_on_drop: false }`
[INFO] [stdout] c1558e3e55e5893da2b5f91520bd77dc326c8658ed271318cef5ed83824bb2fe
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:5ff2268d62e97bff2cde7d5815dd6ed5b47097566f13b8d0ca110b04b60e07ed" "/opt/rustwide/cargo-home/bin/cargo" "+1.69.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 074f258fb9a78af822070235c7cf5e1e992f06b8ec51464977bbf666cb5fc6ad
[INFO] running `Command { std: "docker" "start" "-a" "074f258fb9a78af822070235c7cf5e1e992f06b8ec51464977bbf666cb5fc6ad", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.142
[INFO] [stderr]    Compiling proc-macro2 v1.0.56
[INFO] [stderr]    Compiling log v0.4.17
[INFO] [stderr]    Compiling serde v1.0.160
[INFO] [stderr]    Compiling rustc-serialize v0.3.24
[INFO] [stderr]    Compiling log v0.3.9
[INFO] [stderr]    Compiling rand v0.4.6
[INFO] [stderr]    Compiling time v0.1.45
[INFO] [stderr]    Compiling quote v1.0.26
[INFO] [stderr]    Compiling syn v2.0.15
[INFO] [stderr]    Compiling rand v0.3.23
[INFO] [stderr]    Compiling uuid v0.1.18
[INFO] [stderr]    Compiling serde_derive v1.0.160
[INFO] [stderr]    Compiling serde_json v1.0.96
[INFO] [stderr]    Compiling net-utils v0.0.5 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `std::time::Duration`
[INFO] [stdout]  --> src/net/config.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use std::time::Duration;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::str::FromStr`
[INFO] [stdout]   --> src/net/conn.rs:24:5
[INFO] [stdout]    |
[INFO] [stdout] 24 | use std::str::FromStr;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/net/conn.rs:151:22
[INFO] [stdout]     |
[INFO] [stdout] 151 |         let server = try!(Connection::host_to_sock_address(host, port));
[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/net/conn.rs:154:29
[INFO] [stdout]     |
[INFO] [stdout] 154 |             stream_socket = try!(TcpStream::connect_timeout(
[INFO] [stdout]     |                             ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/net/conn.rs:159:29
[INFO] [stdout]     |
[INFO] [stdout] 159 |             stream_socket = try!(TcpStream::connect(server));
[INFO] [stdout]     |                             ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/net/conn.rs:173:29
[INFO] [stdout]     |
[INFO] [stdout] 173 |         let writer_socket = try!(stream_socket.try_clone());
[INFO] [stdout]     |                             ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around type
[INFO] [stdout]    --> src/net/conn.rs:361:47
[INFO] [stdout]     |
[INFO] [stdout] 361 |     fn write(&mut self, buf: &[u8]) -> Result<(usize)> {
[INFO] [stdout]     |                                               ^     ^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_parens)]` on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 361 -     fn write(&mut self, buf: &[u8]) -> Result<(usize)> {
[INFO] [stdout] 361 +     fn write(&mut self, buf: &[u8]) -> Result<usize> {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable statement
[INFO] [stdout]    --> src/net/conn.rs:137:9
[INFO] [stdout]     |
[INFO] [stdout] 120 |           let server = match (host, port).to_socket_addrs() {
[INFO] [stdout]     |  ______________________-
[INFO] [stdout] 121 | |             Ok(mut host_iter) => {
[INFO] [stdout] 122 | |                 match host_iter.next() {
[INFO] [stdout] 123 | |                     Some(mut host_addr) => return Ok(host_addr),
[INFO] [stdout] ...   |
[INFO] [stdout] 135 | |             }
[INFO] [stdout] 136 | |         };
[INFO] [stdout]     | |_________- any code following this `match` expression is unreachable, as all arms diverge
[INFO] [stdout] 137 |           let err_str = format!("Failed to parse {}:{}. ", host, port);
[INFO] [stdout]     |           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable statement
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unreachable_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `server`
[INFO] [stdout]    --> src/net/conn.rs:120:13
[INFO] [stdout]     |
[INFO] [stdout] 120 |         let server = match (host, port).to_socket_addrs() {
[INFO] [stdout]     |             ^^^^^^ help: if this is intentional, prefix it with an underscore: `_server`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/net/conn.rs:123:26
[INFO] [stdout]     |
[INFO] [stdout] 123 |                     Some(mut host_addr) => return Ok(host_addr),
[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/net/conn.rs:149:13
[INFO] [stdout]     |
[INFO] [stdout] 149 |         let mut stream_socket;
[INFO] [stdout]     |             ----^^^^^^^^^^^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `from_file` is never used
[INFO] [stdout]   --> src/net/config.rs:58:8
[INFO] [stdout]    |
[INFO] [stdout] 58 |     fn from_file(file: &str) -> Config {
[INFO] [stdout]    |        ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: missing documentation for a method
[INFO] [stdout]   --> src/net/conn.rs:64:5
[INFO] [stdout]    |
[INFO] [stdout] 64 |     pub fn get_peer_address(&self) -> &String {
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] note: the lint level is defined here
[INFO] [stdout]   --> src/lib.rs:15:9
[INFO] [stdout]    |
[INFO] [stdout] 15 | #![warn(missing_docs)]
[INFO] [stdout]    |         ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: missing documentation for a method
[INFO] [stdout]   --> src/net/conn.rs:67:5
[INFO] [stdout]    |
[INFO] [stdout] 67 |     pub fn get_local_address(&self) -> &String {
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 14 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished dev [unoptimized + debuginfo] target(s) in 6.12s
[INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: rustc-serialize v0.3.24
[INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1`
[INFO] running `Command { std: "docker" "inspect" "074f258fb9a78af822070235c7cf5e1e992f06b8ec51464977bbf666cb5fc6ad", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "074f258fb9a78af822070235c7cf5e1e992f06b8ec51464977bbf666cb5fc6ad", kill_on_drop: false }`
[INFO] [stdout] 074f258fb9a78af822070235c7cf5e1e992f06b8ec51464977bbf666cb5fc6ad
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:5ff2268d62e97bff2cde7d5815dd6ed5b47097566f13b8d0ca110b04b60e07ed" "/opt/rustwide/cargo-home/bin/cargo" "+1.69.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 6a176b5dfb92a25881d4f42ca41ae02088dcb8535810697c88d4b38bba074dd8
[INFO] running `Command { std: "docker" "start" "-a" "6a176b5dfb92a25881d4f42ca41ae02088dcb8535810697c88d4b38bba074dd8", kill_on_drop: false }`
[INFO] [stderr]    Compiling winapi-build v0.1.1
[INFO] [stderr]    Compiling winapi v0.2.8
[INFO] [stderr]    Compiling memchr v0.1.11
[INFO] [stderr]    Compiling regex-syntax v0.3.9
[INFO] [stderr]    Compiling utf8-ranges v0.1.3
[INFO] [stdout] warning: unused import: `std::time::Duration`
[INFO] [stdout]  --> src/net/config.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use std::time::Duration;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::str::FromStr`
[INFO] [stdout]   --> src/net/conn.rs:24:5
[INFO] [stdout]    |
[INFO] [stdout] 24 | use std::str::FromStr;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/net/conn.rs:151:22
[INFO] [stdout]     |
[INFO] [stdout] 151 |         let server = try!(Connection::host_to_sock_address(host, port));
[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/net/conn.rs:154:29
[INFO] [stdout]     |
[INFO] [stdout] 154 |             stream_socket = try!(TcpStream::connect_timeout(
[INFO] [stdout]     |                             ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/net/conn.rs:159:29
[INFO] [stdout]     |
[INFO] [stdout] 159 |             stream_socket = try!(TcpStream::connect(server));
[INFO] [stdout]     |                             ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/net/conn.rs:173:29
[INFO] [stdout]     |
[INFO] [stdout] 173 |         let writer_socket = try!(stream_socket.try_clone());
[INFO] [stdout]     |                             ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around type
[INFO] [stdout]    --> src/net/conn.rs:361:47
[INFO] [stdout]     |
[INFO] [stdout] 361 |     fn write(&mut self, buf: &[u8]) -> Result<(usize)> {
[INFO] [stdout]     |                                               ^     ^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_parens)]` on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 361 -     fn write(&mut self, buf: &[u8]) -> Result<(usize)> {
[INFO] [stdout] 361 +     fn write(&mut self, buf: &[u8]) -> Result<usize> {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable statement
[INFO] [stdout]    --> src/net/conn.rs:137:9
[INFO] [stdout]     |
[INFO] [stdout] 120 |           let server = match (host, port).to_socket_addrs() {
[INFO] [stdout]     |  ______________________-
[INFO] [stdout] 121 | |             Ok(mut host_iter) => {
[INFO] [stdout] 122 | |                 match host_iter.next() {
[INFO] [stdout] 123 | |                     Some(mut host_addr) => return Ok(host_addr),
[INFO] [stdout] ...   |
[INFO] [stdout] 135 | |             }
[INFO] [stdout] 136 | |         };
[INFO] [stdout]     | |_________- any code following this `match` expression is unreachable, as all arms diverge
[INFO] [stdout] 137 |           let err_str = format!("Failed to parse {}:{}. ", host, port);
[INFO] [stdout]     |           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable statement
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unreachable_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `server`
[INFO] [stdout]    --> src/net/conn.rs:120:13
[INFO] [stdout]     |
[INFO] [stdout] 120 |         let server = match (host, port).to_socket_addrs() {
[INFO] [stdout]     |             ^^^^^^ help: if this is intentional, prefix it with an underscore: `_server`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/net/conn.rs:123:26
[INFO] [stdout]     |
[INFO] [stdout] 123 |                     Some(mut host_addr) => return Ok(host_addr),
[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/net/conn.rs:149:13
[INFO] [stdout]     |
[INFO] [stdout] 149 |         let mut stream_socket;
[INFO] [stdout]     |             ----^^^^^^^^^^^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `from_file` is never used
[INFO] [stdout]   --> src/net/config.rs:58:8
[INFO] [stdout]    |
[INFO] [stdout] 58 |     fn from_file(file: &str) -> Config {
[INFO] [stdout]    |        ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: missing documentation for a method
[INFO] [stdout]   --> src/net/conn.rs:64:5
[INFO] [stdout]    |
[INFO] [stdout] 64 |     pub fn get_peer_address(&self) -> &String {
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] note: the lint level is defined here
[INFO] [stdout]   --> src/lib.rs:15:9
[INFO] [stdout]    |
[INFO] [stdout] 15 | #![warn(missing_docs)]
[INFO] [stdout]    |         ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: missing documentation for a method
[INFO] [stdout]   --> src/net/conn.rs:67:5
[INFO] [stdout]    |
[INFO] [stdout] 67 |     pub fn get_local_address(&self) -> &String {
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 14 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Compiling aho-corasick v0.5.3
[INFO] [stderr]    Compiling kernel32-sys v0.2.2
[INFO] [stderr]    Compiling thread-id v2.0.0
[INFO] [stderr]    Compiling thread_local v0.2.7
[INFO] [stderr]    Compiling regex v0.1.80
[INFO] [stderr]    Compiling env_logger v0.3.5
[INFO] [stderr]    Compiling net-utils v0.0.5 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `std::time::Duration`
[INFO] [stdout]  --> src/net/config.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use std::time::Duration;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::time::Duration`
[INFO] [stdout]   --> src/net/config.rs:71:9
[INFO] [stdout]    |
[INFO] [stdout] 71 |     use std::time::Duration;
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::str::FromStr`
[INFO] [stdout]   --> src/net/conn.rs:24:5
[INFO] [stdout]    |
[INFO] [stdout] 24 | use std::str::FromStr;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/net/conn.rs:151:22
[INFO] [stdout]     |
[INFO] [stdout] 151 |         let server = try!(Connection::host_to_sock_address(host, port));
[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/net/conn.rs:154:29
[INFO] [stdout]     |
[INFO] [stdout] 154 |             stream_socket = try!(TcpStream::connect_timeout(
[INFO] [stdout]     |                             ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/net/conn.rs:159:29
[INFO] [stdout]     |
[INFO] [stdout] 159 |             stream_socket = try!(TcpStream::connect(server));
[INFO] [stdout]     |                             ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/net/conn.rs:173:29
[INFO] [stdout]     |
[INFO] [stdout] 173 |         let writer_socket = try!(stream_socket.try_clone());
[INFO] [stdout]     |                             ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around type
[INFO] [stdout]    --> src/net/conn.rs:361:47
[INFO] [stdout]     |
[INFO] [stdout] 361 |     fn write(&mut self, buf: &[u8]) -> Result<(usize)> {
[INFO] [stdout]     |                                               ^     ^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_parens)]` on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 361 -     fn write(&mut self, buf: &[u8]) -> Result<(usize)> {
[INFO] [stdout] 361 +     fn write(&mut self, buf: &[u8]) -> Result<usize> {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated constant `std::sync::atomic::ATOMIC_USIZE_INIT`: the `new` function is now preferred
[INFO] [stdout]    --> src/net/poolmgr.rs:296:46
[INFO] [stdout]     |
[INFO] [stdout] 296 |         use std::sync::atomic::{AtomicUsize, ATOMIC_USIZE_INIT, Ordering};
[INFO] [stdout]     |                                              ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated constant `std::sync::atomic::ATOMIC_USIZE_INIT`: the `new` function is now preferred
[INFO] [stdout]    --> src/net/poolmgr.rs:297:43
[INFO] [stdout]     |
[INFO] [stdout] 297 |         static NEXT_OFFSET: AtomicUsize = ATOMIC_USIZE_INIT;
[INFO] [stdout]     |                                           ^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: replace the use of the deprecated constant
[INFO] [stdout]     |
[INFO] [stdout] 297 |         static NEXT_OFFSET: AtomicUsize = AtomicUsize::new(0);
[INFO] [stdout]     |                                           ~~~~~~~~~~~~~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable statement
[INFO] [stdout]    --> src/net/conn.rs:137:9
[INFO] [stdout]     |
[INFO] [stdout] 120 |           let server = match (host, port).to_socket_addrs() {
[INFO] [stdout]     |  ______________________-
[INFO] [stdout] 121 | |             Ok(mut host_iter) => {
[INFO] [stdout] 122 | |                 match host_iter.next() {
[INFO] [stdout] 123 | |                     Some(mut host_addr) => return Ok(host_addr),
[INFO] [stdout] ...   |
[INFO] [stdout] 135 | |             }
[INFO] [stdout] 136 | |         };
[INFO] [stdout]     | |_________- any code following this `match` expression is unreachable, as all arms diverge
[INFO] [stdout] 137 |           let err_str = format!("Failed to parse {}:{}. ", host, port);
[INFO] [stdout]     |           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable statement
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unreachable_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `server`
[INFO] [stdout]    --> src/net/conn.rs:120:13
[INFO] [stdout]     |
[INFO] [stdout] 120 |         let server = match (host, port).to_socket_addrs() {
[INFO] [stdout]     |             ^^^^^^ help: if this is intentional, prefix it with an underscore: `_server`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/net/conn.rs:123:26
[INFO] [stdout]     |
[INFO] [stdout] 123 |                     Some(mut host_addr) => return Ok(host_addr),
[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/net/conn.rs:149:13
[INFO] [stdout]     |
[INFO] [stdout] 149 |         let mut stream_socket;
[INFO] [stdout]     |             ----^^^^^^^^^^^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `from_file` is never used
[INFO] [stdout]   --> src/net/config.rs:58:8
[INFO] [stdout]    |
[INFO] [stdout] 58 |     fn from_file(file: &str) -> Config {
[INFO] [stdout]    |        ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 15 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished test [unoptimized + debuginfo] target(s) in 3.54s
[INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: rustc-serialize v0.3.24
[INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1`
[INFO] running `Command { std: "docker" "inspect" "6a176b5dfb92a25881d4f42ca41ae02088dcb8535810697c88d4b38bba074dd8", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "6a176b5dfb92a25881d4f42ca41ae02088dcb8535810697c88d4b38bba074dd8", kill_on_drop: false }`
[INFO] [stdout] 6a176b5dfb92a25881d4f42ca41ae02088dcb8535810697c88d4b38bba074dd8
