[INFO] fetching crate way-cooler-ipc 0.0.0...
[INFO] building way-cooler-ipc-0.0.0 against master#ad85bc524b1ad696e42061ad8338d382dffbdbe5 for pr-146237-1
[INFO] extracting crate way-cooler-ipc 0.0.0 into /workspace/builds/worker-2-tc1/source
[INFO] started tweaking crates.io crate way-cooler-ipc 0.0.0
[INFO] finished tweaking crates.io crate way-cooler-ipc 0.0.0
[INFO] tweaked toml for crates.io crate way-cooler-ipc 0.0.0 written to /workspace/builds/worker-2-tc1/source/Cargo.toml
[INFO] validating manifest of crates.io crate way-cooler-ipc 0.0.0 on toolchain ad85bc524b1ad696e42061ad8338d382dffbdbe5
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]      Locking 4 packages to latest compatible versions
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded unix_socket v0.5.0
[INFO] [stderr]   Downloaded rustc-serialize v0.3.25
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 17258504f01f9bd812174b6e31d030617c81885e6f68c1263d0926a318cc9f0f
[INFO] running `Command { std: "docker" "start" "-a" "17258504f01f9bd812174b6e31d030617c81885e6f68c1263d0926a318cc9f0f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "17258504f01f9bd812174b6e31d030617c81885e6f68c1263d0926a318cc9f0f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "17258504f01f9bd812174b6e31d030617c81885e6f68c1263d0926a318cc9f0f", kill_on_drop: false }`
[INFO] [stdout] 17258504f01f9bd812174b6e31d030617c81885e6f68c1263d0926a318cc9f0f
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] f34a2634df42177916b0120d28c8bae5f39456e6ad0efbe42ff99fda097d356b
[INFO] running `Command { std: "docker" "start" "-a" "f34a2634df42177916b0120d28c8bae5f39456e6ad0efbe42ff99fda097d356b", kill_on_drop: false }`
[INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024
[INFO] [stderr]    Compiling rustc-serialize v0.3.25
[INFO] [stderr]    Compiling unix_socket v0.5.0
[INFO] [stderr]    Compiling way-cooler-ipc v0.0.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]   --> src/client.rs:71:9
[INFO] [stdout]    |
[INFO] [stdout] 71 |         try!(self.stream.read_exact(&mut buffer).map_err(ReceiveError::IO));
[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/client.rs:85:9
[INFO] [stdout]    |
[INFO] [stdout] 85 |         try!(self.stream.write_all(&len_bytes).map_err(SendError::IO));
[INFO] [stdout]    |         ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]   --> src/client.rs:79:27
[INFO] [stdout]    |
[INFO] [stdout] 79 |         let json_string = try!(encode(message).map_err(SendError::Encode));
[INFO] [stdout]    |                           ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `ToJson`
[INFO] [stdout]  --> src/message.rs:5:35
[INFO] [stdout]   |
[INFO] [stdout] 5 | use rustc_serialize::json::{Json, ToJson};
[INFO] [stdout]   |                                   ^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Read` and `Write`
[INFO] [stdout]  --> src/command.rs:5:15
[INFO] [stdout]   |
[INFO] [stdout] 5 | use std::io::{Read, Write};
[INFO] [stdout]   |               ^^^^  ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::io::Error as IOError`
[INFO] [stdout]  --> src/command.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use std::io::Error as IOError;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `command`
[INFO] [stdout]   --> src/command.rs:22:17
[INFO] [stdout]    |
[INFO] [stdout] 22 |     pub fn send(command: Command) -> CommandResult {
[INFO] [stdout]    |                 ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: if this is intentional, prefix it with an underscore
[INFO] [stdout]    |
[INFO] [stdout] 22 |     pub fn send(_command: Command) -> CommandResult {
[INFO] [stdout]    |                 +
[INFO] [stdout] help: you might have meant to pattern match on the similarly named variant `Commands`
[INFO] [stdout]    |
[INFO] [stdout] 22 -     pub fn send(command: Command) -> CommandResult {
[INFO] [stdout] 22 +     pub fn send(message::Command::Commands: Command) -> CommandResult {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `SendError` is never used
[INFO] [stdout]   --> src/client.rs:14:10
[INFO] [stdout]    |
[INFO] [stdout] 14 | pub enum SendError {
[INFO] [stdout]    |          ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `ReceiveError` is never used
[INFO] [stdout]   --> src/client.rs:22:10
[INFO] [stdout]    |
[INFO] [stdout] 22 | pub enum ReceiveError {
[INFO] [stdout]    |          ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `stream` is never read
[INFO] [stdout]   --> src/client.rs:32:5
[INFO] [stdout]    |
[INFO] [stdout] 30 | pub struct SocketClient {
[INFO] [stdout]    |            ------------ field in this struct
[INFO] [stdout] 31 |     /// Stream the client is connected to
[INFO] [stdout] 32 |     stream: UnixStream,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `u32_to_bytes` is never used
[INFO] [stdout]   --> src/client.rs:37:4
[INFO] [stdout]    |
[INFO] [stdout] 37 | fn u32_to_bytes(input: u32) -> [u8; 4] {
[INFO] [stdout]    |    ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `u32_from_bytes` is never used
[INFO] [stdout]   --> src/client.rs:43:4
[INFO] [stdout]    |
[INFO] [stdout] 43 | fn u32_from_bytes(bytes: [u8; 4]) -> u32 {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `stream`, `stream_mut`, `into_stream`, `read_message`, and `send_message` are never used
[INFO] [stdout]   --> src/client.rs:54:12
[INFO] [stdout]    |
[INFO] [stdout] 47 | impl SocketClient {
[INFO] [stdout]    | ----------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 54 |     pub fn stream(&self) -> &UnixStream {
[INFO] [stdout]    |            ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 59 |     pub fn stream_mut(&mut self) -> &mut UnixStream {
[INFO] [stdout]    |            ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 64 |     pub fn into_stream(self) -> UnixStream {
[INFO] [stdout]    |            ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 69 |     pub fn read_message(&mut self) -> Result<Json, ReceiveError> {
[INFO] [stdout]    |            ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 78 |     pub fn send_message(&mut self, message: &Json) -> Result<(), SendError> {
[INFO] [stdout]    |            ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]   --> src/command.rs:13:26
[INFO] [stdout]    |
[INFO] [stdout] 13 | pub struct CommandClient(SocketClient);
[INFO] [stdout]    |            ------------- ^^^^^^^^^^^^
[INFO] [stdout]    |            |
[INFO] [stdout]    |            field in this struct
[INFO] [stdout]    |
[INFO] [stdout]    = help: consider removing this field
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary transmute
[INFO] [stdout]   --> src/client.rs:38:14
[INFO] [stdout]    |
[INFO] [stdout] 38 |     unsafe { transmute(input.to_be()) }
[INFO] [stdout]    |              ---------^^^^^^^^^^^^^^^
[INFO] [stdout]    |              |
[INFO] [stdout]    |              help: replace this with: `u32::to_ne_bytes`
[INFO] [stdout]    |
[INFO] [stdout]    = help: there's also `to_le_bytes` and `to_be_bytes` if you expect a particular byte order
[INFO] [stdout]    = note: `#[warn(unnecessary_transmutes)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary transmute
[INFO] [stdout]   --> src/client.rs:44:27
[INFO] [stdout]    |
[INFO] [stdout] 44 |     u32::from_be(unsafe { transmute(bytes) })
[INFO] [stdout]    |                           ---------^^^^^^^
[INFO] [stdout]    |                           |
[INFO] [stdout]    |                           help: replace this with: `u32::from_ne_bytes`
[INFO] [stdout]    |
[INFO] [stdout]    = help: there's also `from_le_bytes` and `from_be_bytes` if you expect a particular byte order
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 2.84s
[INFO] running `Command { std: "docker" "inspect" "f34a2634df42177916b0120d28c8bae5f39456e6ad0efbe42ff99fda097d356b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "f34a2634df42177916b0120d28c8bae5f39456e6ad0efbe42ff99fda097d356b", kill_on_drop: false }`
[INFO] [stdout] f34a2634df42177916b0120d28c8bae5f39456e6ad0efbe42ff99fda097d356b
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 4053a3f88f9006efff653a6a100c81874cad5051d8d3ffc85794409c3e891e04
[INFO] running `Command { std: "docker" "start" "-a" "4053a3f88f9006efff653a6a100c81874cad5051d8d3ffc85794409c3e891e04", kill_on_drop: false }`
[INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]   --> src/client.rs:71:9
[INFO] [stdout]    |
[INFO] [stdout] 71 |         try!(self.stream.read_exact(&mut buffer).map_err(ReceiveError::IO));
[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/client.rs:85:9
[INFO] [stdout]    |
[INFO] [stdout] 85 |         try!(self.stream.write_all(&len_bytes).map_err(SendError::IO));
[INFO] [stdout]    |         ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]   --> src/client.rs:79:27
[INFO] [stdout]    |
[INFO] [stdout] 79 |         let json_string = try!(encode(message).map_err(SendError::Encode));
[INFO] [stdout]    |                           ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `ToJson`
[INFO] [stdout]  --> src/message.rs:5:35
[INFO] [stdout]   |
[INFO] [stdout] 5 | use rustc_serialize::json::{Json, ToJson};
[INFO] [stdout]   |                                   ^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Read` and `Write`
[INFO] [stdout]  --> src/command.rs:5:15
[INFO] [stdout]   |
[INFO] [stdout] 5 | use std::io::{Read, Write};
[INFO] [stdout]   |               ^^^^  ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::io::Error as IOError`
[INFO] [stdout]  --> src/command.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use std::io::Error as IOError;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `command`
[INFO] [stdout]   --> src/command.rs:22:17
[INFO] [stdout]    |
[INFO] [stdout] 22 |     pub fn send(command: Command) -> CommandResult {
[INFO] [stdout]    |                 ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: if this is intentional, prefix it with an underscore
[INFO] [stdout]    |
[INFO] [stdout] 22 |     pub fn send(_command: Command) -> CommandResult {
[INFO] [stdout]    |                 +
[INFO] [stdout] help: you might have meant to pattern match on the similarly named variant `Commands`
[INFO] [stdout]    |
[INFO] [stdout] 22 -     pub fn send(command: Command) -> CommandResult {
[INFO] [stdout] 22 +     pub fn send(message::Command::Commands: Command) -> CommandResult {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `SendError` is never used
[INFO] [stdout]   --> src/client.rs:14:10
[INFO] [stdout]    |
[INFO] [stdout] 14 | pub enum SendError {
[INFO] [stdout]    |          ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `ReceiveError` is never used
[INFO] [stdout]   --> src/client.rs:22:10
[INFO] [stdout]    |
[INFO] [stdout] 22 | pub enum ReceiveError {
[INFO] [stdout]    |          ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `stream` is never read
[INFO] [stdout]   --> src/client.rs:32:5
[INFO] [stdout]    |
[INFO] [stdout] 30 | pub struct SocketClient {
[INFO] [stdout]    |            ------------ field in this struct
[INFO] [stdout] 31 |     /// Stream the client is connected to
[INFO] [stdout] 32 |     stream: UnixStream,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `u32_to_bytes` is never used
[INFO] [stdout]   --> src/client.rs:37:4
[INFO] [stdout]    |
[INFO] [stdout] 37 | fn u32_to_bytes(input: u32) -> [u8; 4] {
[INFO] [stdout]    |    ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `u32_from_bytes` is never used
[INFO] [stdout]   --> src/client.rs:43:4
[INFO] [stdout]    |
[INFO] [stdout] 43 | fn u32_from_bytes(bytes: [u8; 4]) -> u32 {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `stream`, `stream_mut`, `into_stream`, `read_message`, and `send_message` are never used
[INFO] [stdout]   --> src/client.rs:54:12
[INFO] [stdout]    |
[INFO] [stdout] 47 | impl SocketClient {
[INFO] [stdout]    | ----------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 54 |     pub fn stream(&self) -> &UnixStream {
[INFO] [stdout]    |            ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 59 |     pub fn stream_mut(&mut self) -> &mut UnixStream {
[INFO] [stdout]    |            ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 64 |     pub fn into_stream(self) -> UnixStream {
[INFO] [stdout]    |            ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 69 |     pub fn read_message(&mut self) -> Result<Json, ReceiveError> {
[INFO] [stdout]    |            ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 78 |     pub fn send_message(&mut self, message: &Json) -> Result<(), SendError> {
[INFO] [stdout]    |            ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]   --> src/command.rs:13:26
[INFO] [stdout]    |
[INFO] [stdout] 13 | pub struct CommandClient(SocketClient);
[INFO] [stdout]    |            ------------- ^^^^^^^^^^^^
[INFO] [stdout]    |            |
[INFO] [stdout]    |            field in this struct
[INFO] [stdout]    |
[INFO] [stdout]    = help: consider removing this field
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary transmute
[INFO] [stdout]   --> src/client.rs:38:14
[INFO] [stdout]    |
[INFO] [stdout] 38 |     unsafe { transmute(input.to_be()) }
[INFO] [stdout]    |              ---------^^^^^^^^^^^^^^^
[INFO] [stdout]    |              |
[INFO] [stdout]    |              help: replace this with: `u32::to_ne_bytes`
[INFO] [stdout]    |
[INFO] [stdout]    = help: there's also `to_le_bytes` and `to_be_bytes` if you expect a particular byte order
[INFO] [stdout]    = note: `#[warn(unnecessary_transmutes)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary transmute
[INFO] [stdout]   --> src/client.rs:44:27
[INFO] [stdout]    |
[INFO] [stdout] 44 |     u32::from_be(unsafe { transmute(bytes) })
[INFO] [stdout]    |                           ---------^^^^^^^
[INFO] [stdout]    |                           |
[INFO] [stdout]    |                           help: replace this with: `u32::from_ne_bytes`
[INFO] [stdout]    |
[INFO] [stdout]    = help: there's also `from_le_bytes` and `from_be_bytes` if you expect a particular byte order
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Compiling way-cooler-ipc v0.0.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]   --> src/client.rs:71:9
[INFO] [stdout]    |
[INFO] [stdout] 71 |         try!(self.stream.read_exact(&mut buffer).map_err(ReceiveError::IO));
[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/client.rs:85:9
[INFO] [stdout]    |
[INFO] [stdout] 85 |         try!(self.stream.write_all(&len_bytes).map_err(SendError::IO));
[INFO] [stdout]    |         ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]   --> src/client.rs:79:27
[INFO] [stdout]    |
[INFO] [stdout] 79 |         let json_string = try!(encode(message).map_err(SendError::Encode));
[INFO] [stdout]    |                           ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `ToJson`
[INFO] [stdout]  --> src/message.rs:5:35
[INFO] [stdout]   |
[INFO] [stdout] 5 | use rustc_serialize::json::{Json, ToJson};
[INFO] [stdout]   |                                   ^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Read` and `Write`
[INFO] [stdout]  --> src/command.rs:5:15
[INFO] [stdout]   |
[INFO] [stdout] 5 | use std::io::{Read, Write};
[INFO] [stdout]   |               ^^^^  ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::io::Error as IOError`
[INFO] [stdout]  --> src/command.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use std::io::Error as IOError;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `command`
[INFO] [stdout]   --> src/command.rs:22:17
[INFO] [stdout]    |
[INFO] [stdout] 22 |     pub fn send(command: Command) -> CommandResult {
[INFO] [stdout]    |                 ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: if this is intentional, prefix it with an underscore
[INFO] [stdout]    |
[INFO] [stdout] 22 |     pub fn send(_command: Command) -> CommandResult {
[INFO] [stdout]    |                 +
[INFO] [stdout] help: you might have meant to pattern match on the similarly named variant `Commands`
[INFO] [stdout]    |
[INFO] [stdout] 22 -     pub fn send(command: Command) -> CommandResult {
[INFO] [stdout] 22 +     pub fn send(message::Command::Commands: Command) -> CommandResult {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `SendError` is never used
[INFO] [stdout]   --> src/client.rs:14:10
[INFO] [stdout]    |
[INFO] [stdout] 14 | pub enum SendError {
[INFO] [stdout]    |          ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `ReceiveError` is never used
[INFO] [stdout]   --> src/client.rs:22:10
[INFO] [stdout]    |
[INFO] [stdout] 22 | pub enum ReceiveError {
[INFO] [stdout]    |          ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `stream` is never read
[INFO] [stdout]   --> src/client.rs:32:5
[INFO] [stdout]    |
[INFO] [stdout] 30 | pub struct SocketClient {
[INFO] [stdout]    |            ------------ field in this struct
[INFO] [stdout] 31 |     /// Stream the client is connected to
[INFO] [stdout] 32 |     stream: UnixStream,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `u32_to_bytes` is never used
[INFO] [stdout]   --> src/client.rs:37:4
[INFO] [stdout]    |
[INFO] [stdout] 37 | fn u32_to_bytes(input: u32) -> [u8; 4] {
[INFO] [stdout]    |    ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `u32_from_bytes` is never used
[INFO] [stdout]   --> src/client.rs:43:4
[INFO] [stdout]    |
[INFO] [stdout] 43 | fn u32_from_bytes(bytes: [u8; 4]) -> u32 {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `stream`, `stream_mut`, `into_stream`, `read_message`, and `send_message` are never used
[INFO] [stdout]   --> src/client.rs:54:12
[INFO] [stdout]    |
[INFO] [stdout] 47 | impl SocketClient {
[INFO] [stdout]    | ----------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 54 |     pub fn stream(&self) -> &UnixStream {
[INFO] [stdout]    |            ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 59 |     pub fn stream_mut(&mut self) -> &mut UnixStream {
[INFO] [stdout]    |            ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 64 |     pub fn into_stream(self) -> UnixStream {
[INFO] [stdout]    |            ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 69 |     pub fn read_message(&mut self) -> Result<Json, ReceiveError> {
[INFO] [stdout]    |            ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 78 |     pub fn send_message(&mut self, message: &Json) -> Result<(), SendError> {
[INFO] [stdout]    |            ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]   --> src/command.rs:13:26
[INFO] [stdout]    |
[INFO] [stdout] 13 | pub struct CommandClient(SocketClient);
[INFO] [stdout]    |            ------------- ^^^^^^^^^^^^
[INFO] [stdout]    |            |
[INFO] [stdout]    |            field in this struct
[INFO] [stdout]    |
[INFO] [stdout]    = help: consider removing this field
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary transmute
[INFO] [stdout]   --> src/client.rs:38:14
[INFO] [stdout]    |
[INFO] [stdout] 38 |     unsafe { transmute(input.to_be()) }
[INFO] [stdout]    |              ---------^^^^^^^^^^^^^^^
[INFO] [stdout]    |              |
[INFO] [stdout]    |              help: replace this with: `u32::to_ne_bytes`
[INFO] [stdout]    |
[INFO] [stdout]    = help: there's also `to_le_bytes` and `to_be_bytes` if you expect a particular byte order
[INFO] [stdout]    = note: `#[warn(unnecessary_transmutes)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary transmute
[INFO] [stdout]   --> src/client.rs:44:27
[INFO] [stdout]    |
[INFO] [stdout] 44 |     u32::from_be(unsafe { transmute(bytes) })
[INFO] [stdout]    |                           ---------^^^^^^^
[INFO] [stdout]    |                           |
[INFO] [stdout]    |                           help: replace this with: `u32::from_ne_bytes`
[INFO] [stdout]    |
[INFO] [stdout]    = help: there's also `from_le_bytes` and `from_be_bytes` if you expect a particular byte order
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.24s
[INFO] running `Command { std: "docker" "inspect" "4053a3f88f9006efff653a6a100c81874cad5051d8d3ffc85794409c3e891e04", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "4053a3f88f9006efff653a6a100c81874cad5051d8d3ffc85794409c3e891e04", kill_on_drop: false }`
[INFO] [stdout] 4053a3f88f9006efff653a6a100c81874cad5051d8d3ffc85794409c3e891e04
