[INFO] fetching crate way-cooler-ipc 0.0.0... [INFO] checking way-cooler-ipc-0.0.0 against master#ab869e094a907cc5d19b4080f22eccaf347f1f95 for pr-129604 [INFO] extracting crate way-cooler-ipc 0.0.0 into /workspace/builds/worker-1-tc1/source [INFO] validating manifest of crates.io crate way-cooler-ipc 0.0.0 on toolchain ab869e094a907cc5d19b4080f22eccaf347f1f95 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", 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-1-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 5 packages to latest compatible versions [INFO] [stderr] Adding cfg-if v0.1.10 (latest: v1.0.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5ccbf817edeb21e18bee99dc877dbd25f85267ee8d02de1214af1a4512a1c66f [INFO] running `Command { std: "docker" "start" "-a" "5ccbf817edeb21e18bee99dc877dbd25f85267ee8d02de1214af1a4512a1c66f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5ccbf817edeb21e18bee99dc877dbd25f85267ee8d02de1214af1a4512a1c66f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5ccbf817edeb21e18bee99dc877dbd25f85267ee8d02de1214af1a4512a1c66f", kill_on_drop: false }` [INFO] [stdout] 5ccbf817edeb21e18bee99dc877dbd25f85267ee8d02de1214af1a4512a1c66f [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=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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8a1620d3524b2c9618248d72dcad825863db4efbb3e00368715e483cb0e6bfc4 [INFO] running `Command { std: "docker" "start" "-a" "8a1620d3524b2c9618248d72dcad825863db4efbb3e00368715e483cb0e6bfc4", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Checking unix_socket v0.5.0 [INFO] [stderr] Checking rustc-serialize v0.3.25 [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: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)]` 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: 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)]` 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] | ^^^^^^^ 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 `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)]` 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 { [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: 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: 14 warnings emitted [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)]` 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 { [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: 14 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1.73s [INFO] running `Command { std: "docker" "inspect" "8a1620d3524b2c9618248d72dcad825863db4efbb3e00368715e483cb0e6bfc4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8a1620d3524b2c9618248d72dcad825863db4efbb3e00368715e483cb0e6bfc4", kill_on_drop: false }` [INFO] [stdout] 8a1620d3524b2c9618248d72dcad825863db4efbb3e00368715e483cb0e6bfc4