[INFO] fetching crate way-cooler-ipc 0.0.0... [INFO] checking way-cooler-ipc-0.0.0 against master#385fa9d845dd326c6bbfd58c22244215e431948a for absurd-question-mark-desugar [INFO] extracting crate way-cooler-ipc 0.0.0 into /workspace/builds/worker-7-tc1/source [INFO] validating manifest of crates.io crate way-cooler-ipc 0.0.0 on toolchain 385fa9d845dd326c6bbfd58c22244215e431948a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "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-7-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 5 packages [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" "+385fa9d845dd326c6bbfd58c22244215e431948a" "fetch" "--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-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1bcaf32b341ebd60149d0c24efd4529b708a08d4e0ed543f91b095123fc8daae [INFO] running `Command { std: "docker" "start" "-a" "1bcaf32b341ebd60149d0c24efd4529b708a08d4e0ed543f91b095123fc8daae", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1bcaf32b341ebd60149d0c24efd4529b708a08d4e0ed543f91b095123fc8daae", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1bcaf32b341ebd60149d0c24efd4529b708a08d4e0ed543f91b095123fc8daae", kill_on_drop: false }` [INFO] [stdout] 1bcaf32b341ebd60149d0c24efd4529b708a08d4e0ed543f91b095123fc8daae [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f2c2742f972f5263bc83367f353fa3772171e5cddc998527bb06718cc3af5043 [INFO] running `Command { std: "docker" "start" "-a" "f2c2742f972f5263bc83367f353fa3772171e5cddc998527bb06718cc3af5043", kill_on_drop: false }` [INFO] [stderr] Checking rustc-serialize v0.3.25 [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: the item `AsRef` is imported redundantly [INFO] [stdout] --> src/command.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::convert::AsRef; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/385fa9d845dd326c6bbfd58c22244215e431948a/library/std/src/prelude/mod.rs:124:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `AsRef` is already defined here [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: 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: the item `AsRef` is imported redundantly [INFO] [stdout] --> src/command.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::convert::AsRef; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/385fa9d845dd326c6bbfd58c22244215e431948a/library/std/src/prelude/mod.rs:124:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `AsRef` is already defined here [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: 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 changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 13 | pub struct CommandClient(()); [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 15 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 `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 changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 13 | pub struct CommandClient(()); [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 15 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1.97s [INFO] running `Command { std: "docker" "inspect" "f2c2742f972f5263bc83367f353fa3772171e5cddc998527bb06718cc3af5043", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f2c2742f972f5263bc83367f353fa3772171e5cddc998527bb06718cc3af5043", kill_on_drop: false }` [INFO] [stdout] f2c2742f972f5263bc83367f353fa3772171e5cddc998527bb06718cc3af5043 [INFO] checking way-cooler-ipc-0.0.0 against try#645bb72776a6a56a1a8f52631a44bd082b2ba509 for absurd-question-mark-desugar [INFO] extracting crate way-cooler-ipc 0.0.0 into /workspace/builds/worker-7-tc2/source [INFO] validating manifest of crates.io crate way-cooler-ipc 0.0.0 on toolchain 645bb72776a6a56a1a8f52631a44bd082b2ba509 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "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-7-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 59eab9ccc67e50d02d8a4c9e3261e76df6a4e5f1d2468068c41f75984b5bd5ca [INFO] running `Command { std: "docker" "start" "-a" "59eab9ccc67e50d02d8a4c9e3261e76df6a4e5f1d2468068c41f75984b5bd5ca", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "59eab9ccc67e50d02d8a4c9e3261e76df6a4e5f1d2468068c41f75984b5bd5ca", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "59eab9ccc67e50d02d8a4c9e3261e76df6a4e5f1d2468068c41f75984b5bd5ca", kill_on_drop: false }` [INFO] [stdout] 59eab9ccc67e50d02d8a4c9e3261e76df6a4e5f1d2468068c41f75984b5bd5ca [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] eca8c9891829c95274ac55fb50c11fabde577a93696880a7e4b51acb2bca6092 [INFO] running `Command { std: "docker" "start" "-a" "eca8c9891829c95274ac55fb50c11fabde577a93696880a7e4b51acb2bca6092", kill_on_drop: false }` [INFO] [stderr] Checking rustc-serialize v0.3.25 [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: the item `AsRef` is imported redundantly [INFO] [stdout] --> src/command.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::convert::AsRef; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/645bb72776a6a56a1a8f52631a44bd082b2ba509/library/std/src/prelude/mod.rs:124:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `AsRef` is already defined here [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: 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: the item `AsRef` is imported redundantly [INFO] [stdout] --> src/command.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::convert::AsRef; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/645bb72776a6a56a1a8f52631a44bd082b2ba509/library/std/src/prelude/mod.rs:124:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `AsRef` is already defined here [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: 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 changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 13 | pub struct CommandClient(()); [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 changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 13 | pub struct CommandClient(()); [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 15 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 15 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1.69s [INFO] running `Command { std: "docker" "inspect" "eca8c9891829c95274ac55fb50c11fabde577a93696880a7e4b51acb2bca6092", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "eca8c9891829c95274ac55fb50c11fabde577a93696880a7e4b51acb2bca6092", kill_on_drop: false }` [INFO] [stdout] eca8c9891829c95274ac55fb50c11fabde577a93696880a7e4b51acb2bca6092