[INFO] fetching crate way-cooler-ipc 0.0.0... [INFO] checking way-cooler-ipc-0.0.0 against master#b359ccf1b0b7b2d2c1c4932344b806e68bd053a9 for pr-105483 [INFO] extracting crate way-cooler-ipc 0.0.0 into /workspace/builds/worker-5/source [INFO] validating manifest of crates.io crate way-cooler-ipc 0.0.0 on toolchain b359ccf1b0b7b2d2c1c4932344b806e68bd053a9 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+b359ccf1b0b7b2d2c1c4932344b806e68bd053a9" "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-5/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+b359ccf1b0b7b2d2c1c4932344b806e68bd053a9" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+b359ccf1b0b7b2d2c1c4932344b806e68bd053a9" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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:bb5b0feb4f87116a4ea905b7ff5bf5b85913db05e9f0fbc1abdd3168928d9075" "/opt/rustwide/cargo-home/bin/cargo" "+b359ccf1b0b7b2d2c1c4932344b806e68bd053a9" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 63fa6e77a8bb5fcf74ba2dbfaa2ec156a269f4485a242807ae999f0117aebfc1 [INFO] running `Command { std: "docker" "start" "-a" "63fa6e77a8bb5fcf74ba2dbfaa2ec156a269f4485a242807ae999f0117aebfc1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "63fa6e77a8bb5fcf74ba2dbfaa2ec156a269f4485a242807ae999f0117aebfc1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "63fa6e77a8bb5fcf74ba2dbfaa2ec156a269f4485a242807ae999f0117aebfc1", kill_on_drop: false }` [INFO] [stdout] 63fa6e77a8bb5fcf74ba2dbfaa2ec156a269f4485a242807ae999f0117aebfc1 [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" "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:bb5b0feb4f87116a4ea905b7ff5bf5b85913db05e9f0fbc1abdd3168928d9075" "/opt/rustwide/cargo-home/bin/cargo" "+b359ccf1b0b7b2d2c1c4932344b806e68bd053a9" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ba135237f2147dc35abc56ef1c54866a1c9186fab657972af6e6bf0b2f66afce [INFO] running `Command { std: "docker" "start" "-a" "ba135237f2147dc35abc56ef1c54866a1c9186fab657972af6e6bf0b2f66afce", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.138 [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: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`, `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: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`, `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 `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: associated function `stream` is never used [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 `stream_mut` is never used [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 `into_stream` is never used [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 `read_message` is never used [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 `send_message` is never used [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: 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: 17 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: associated function `stream` is never used [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 `stream_mut` is never used [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 `into_stream` is never used [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 `read_message` is never used [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 `send_message` is never used [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 2.56s [INFO] running `Command { std: "docker" "inspect" "ba135237f2147dc35abc56ef1c54866a1c9186fab657972af6e6bf0b2f66afce", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ba135237f2147dc35abc56ef1c54866a1c9186fab657972af6e6bf0b2f66afce", kill_on_drop: false }` [INFO] [stdout] ba135237f2147dc35abc56ef1c54866a1c9186fab657972af6e6bf0b2f66afce