[INFO] fetching crate way-cooler-ipc 0.0.0... [INFO] checking way-cooler-ipc-0.0.0 against try#575650af7d7ca88602df28e39d27bf3e456c306e for pr-80579 [INFO] extracting crate way-cooler-ipc 0.0.0 into /workspace/builds/worker-6/source [INFO] validating manifest of crates.io crate way-cooler-ipc 0.0.0 on toolchain 575650af7d7ca88602df28e39d27bf3e456c306e [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+575650af7d7ca88602df28e39d27bf3e456c306e" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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-6/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+575650af7d7ca88602df28e39d27bf3e456c306e" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+575650af7d7ca88602df28e39d27bf3e456c306e" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded unix_socket v0.5.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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" "rustops/crates-build-env@sha256:c8ac004eab7d63a0ad09a2dde3d3353ba464f767bee4de425dc8f74c46a1905e" "/opt/rustwide/cargo-home/bin/cargo" "+575650af7d7ca88602df28e39d27bf3e456c306e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b3a480e57c2b8017efda30fbf47f3373f07c421c8c50c470c302247dcb3b913c [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" "b3a480e57c2b8017efda30fbf47f3373f07c421c8c50c470c302247dcb3b913c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b3a480e57c2b8017efda30fbf47f3373f07c421c8c50c470c302247dcb3b913c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b3a480e57c2b8017efda30fbf47f3373f07c421c8c50c470c302247dcb3b913c", kill_on_drop: false }` [INFO] [stdout] b3a480e57c2b8017efda30fbf47f3373f07c421c8c50c470c302247dcb3b913c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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" "rustops/crates-build-env@sha256:c8ac004eab7d63a0ad09a2dde3d3353ba464f767bee4de425dc8f74c46a1905e" "/opt/rustwide/cargo-home/bin/cargo" "+575650af7d7ca88602df28e39d27bf3e456c306e" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ceb28c7d9763796be4c85bc8b43d8a30d8e22fa0f22364d252c77d93a58b28b8 [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" "ceb28c7d9763796be4c85bc8b43d8a30d8e22fa0f22364d252c77d93a58b28b8", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.81 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Checking rustc-serialize v0.3.24 [INFO] [stderr] Checking unix_socket v0.5.0 [INFO] [stderr] Checking 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: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: 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: 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)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Read`, `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] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_command` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [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: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: 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: 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)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Read`, `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: enum is never used: `SendError` [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)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum is never used: `ReceiveError` [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 is never read: `stream` [INFO] [stdout] --> src/client.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 32 | stream: UnixStream, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `u32_to_bytes` [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 is never used: `u32_from_bytes` [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: associated function is never used: `stream` [INFO] [stdout] --> src/client.rs:54:12 [INFO] [stdout] | [INFO] [stdout] 54 | pub fn stream(&self) -> &UnixStream { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `stream_mut` [INFO] [stdout] --> src/client.rs:59:12 [INFO] [stdout] | [INFO] [stdout] 59 | pub fn stream_mut(&mut self) -> &mut UnixStream { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `into_stream` [INFO] [stdout] --> src/client.rs:64:12 [INFO] [stdout] | [INFO] [stdout] 64 | pub fn into_stream(self) -> UnixStream { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `read_message` [INFO] [stdout] --> src/client.rs:69:12 [INFO] [stdout] | [INFO] [stdout] 69 | pub fn read_message(&mut self) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `send_message` [INFO] [stdout] --> src/client.rs:78:12 [INFO] [stdout] | [INFO] [stdout] 78 | pub fn send_message(&mut self, message: &Json) -> Result<(), SendError> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 17 warnings emitted [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] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_command` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum is never used: `SendError` [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)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum is never used: `ReceiveError` [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 is never read: `stream` [INFO] [stdout] --> src/client.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 32 | stream: UnixStream, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `u32_to_bytes` [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 is never used: `u32_from_bytes` [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: associated function is never used: `stream` [INFO] [stdout] --> src/client.rs:54:12 [INFO] [stdout] | [INFO] [stdout] 54 | pub fn stream(&self) -> &UnixStream { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `stream_mut` [INFO] [stdout] --> src/client.rs:59:12 [INFO] [stdout] | [INFO] [stdout] 59 | pub fn stream_mut(&mut self) -> &mut UnixStream { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `into_stream` [INFO] [stdout] --> src/client.rs:64:12 [INFO] [stdout] | [INFO] [stdout] 64 | pub fn into_stream(self) -> UnixStream { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `read_message` [INFO] [stdout] --> src/client.rs:69:12 [INFO] [stdout] | [INFO] [stdout] 69 | pub fn read_message(&mut self) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `send_message` [INFO] [stdout] --> src/client.rs:78:12 [INFO] [stdout] | [INFO] [stdout] 78 | pub fn send_message(&mut self, message: &Json) -> Result<(), SendError> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 17 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 5.01s [INFO] running `Command { std: "docker" "inspect" "ceb28c7d9763796be4c85bc8b43d8a30d8e22fa0f22364d252c77d93a58b28b8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ceb28c7d9763796be4c85bc8b43d8a30d8e22fa0f22364d252c77d93a58b28b8", kill_on_drop: false }` [INFO] [stdout] ceb28c7d9763796be4c85bc8b43d8a30d8e22fa0f22364d252c77d93a58b28b8