[INFO] cloning repository https://github.com/Tonyce/domain-socket [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Tonyce/domain-socket" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTonyce%2Fdomain-socket", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTonyce%2Fdomain-socket'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 28cc11e5847bd265fd616a1298faaaf9988cca4c [INFO] checking Tonyce/domain-socket/28cc11e5847bd265fd616a1298faaaf9988cca4c against master#ab869e094a907cc5d19b4080f22eccaf347f1f95 for pr-129604 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTonyce%2Fdomain-socket" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Tonyce/domain-socket 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 git repo https://github.com/Tonyce/domain-socket [INFO] finished tweaking git repo https://github.com/Tonyce/domain-socket [INFO] tweaked toml for git repo https://github.com/Tonyce/domain-socket written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/Tonyce/domain-socket already has a lockfile, it will not be regenerated [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] Downloading crates ... [INFO] [stderr] Downloaded futures-core v0.3.14 [INFO] [stderr] Downloaded tokio-util v0.6.5 [INFO] [stderr] Downloaded which v4.1.0 [INFO] [stderr] Downloaded tokio-stream v0.1.5 [INFO] [stderr] Downloaded futures-executor v0.3.14 [INFO] [stderr] Downloaded futures v0.3.14 [INFO] [stderr] Downloaded prost v0.7.0 [INFO] [stderr] Downloaded prost-types v0.7.0 [INFO] [stderr] Downloaded futures-channel v0.3.14 [INFO] [stderr] Downloaded futures-macro v0.3.14 [INFO] [stderr] Downloaded futures-util v0.3.14 [INFO] [stderr] Downloaded futures-task v0.3.14 [INFO] [stderr] Downloaded prost-derive v0.7.0 [INFO] [stderr] Downloaded futures-sink v0.3.14 [INFO] [stderr] Downloaded futures-io v0.3.14 [INFO] [stderr] Downloaded tokio-macros v1.1.0 [INFO] [stderr] Downloaded syn v1.0.69 [INFO] [stderr] Downloaded prost-build v0.7.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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6c76a31e0c7cef0f1c085132b2d0bf0a8775e8ed79a0bd22d7c16bc0b3a1de23 [INFO] running `Command { std: "docker" "start" "-a" "6c76a31e0c7cef0f1c085132b2d0bf0a8775e8ed79a0bd22d7c16bc0b3a1de23", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6c76a31e0c7cef0f1c085132b2d0bf0a8775e8ed79a0bd22d7c16bc0b3a1de23", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6c76a31e0c7cef0f1c085132b2d0bf0a8775e8ed79a0bd22d7c16bc0b3a1de23", kill_on_drop: false }` [INFO] [stdout] 6c76a31e0c7cef0f1c085132b2d0bf0a8775e8ed79a0bd22d7c16bc0b3a1de23 [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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2d85b0a38a16a4304c1503ad0a7211e2adfd1166150e1291a2c93887dc6a7918 [INFO] running `Command { std: "docker" "start" "-a" "2d85b0a38a16a4304c1503ad0a7211e2adfd1166150e1291a2c93887dc6a7918", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.93 [INFO] [stderr] Compiling proc-macro2 v1.0.26 [INFO] [stderr] Compiling syn v1.0.69 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Checking futures-core v0.3.14 [INFO] [stderr] Compiling ppv-lite86 v0.2.10 [INFO] [stderr] Compiling getrandom v0.2.2 [INFO] [stderr] Compiling anyhow v1.0.40 [INFO] [stderr] Compiling indexmap v1.6.2 [INFO] [stderr] Checking futures-sink v0.3.14 [INFO] [stderr] Compiling hashbrown v0.9.1 [INFO] [stderr] Compiling bytes v1.0.1 [INFO] [stderr] Checking lock_api v0.4.3 [INFO] [stderr] Compiling tokio v1.4.0 [INFO] [stderr] Checking futures-io v0.3.14 [INFO] [stderr] Compiling remove_dir_all v0.5.3 [INFO] [stderr] Compiling fixedbitset v0.2.0 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling itertools v0.9.0 [INFO] [stderr] Compiling multimap v0.8.3 [INFO] [stderr] Checking futures-channel v0.3.14 [INFO] [stderr] Checking futures-task v0.3.14 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling petgraph v0.5.1 [INFO] [stderr] Compiling which v4.1.0 [INFO] [stderr] Checking parking_lot_core v0.8.3 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking mio v0.7.11 [INFO] [stderr] Checking signal-hook-registry v1.3.0 [INFO] [stderr] Compiling rand_core v0.6.2 [INFO] [stderr] Compiling prost-build v0.7.0 [INFO] [stderr] Checking parking_lot v0.11.1 [INFO] [stderr] Compiling rand_chacha v0.3.0 [INFO] [stderr] Compiling rand v0.8.3 [INFO] [stderr] Compiling tempfile v3.2.0 [INFO] [stderr] Compiling prost-derive v0.7.0 [INFO] [stderr] Compiling tokio-macros v1.1.0 [INFO] [stderr] Compiling futures-macro v0.3.14 [INFO] [stderr] Checking futures-util v0.3.14 [INFO] [stderr] Compiling prost v0.7.0 [INFO] [stderr] Compiling prost-types v0.7.0 [INFO] [stderr] Checking futures-executor v0.3.14 [INFO] [stderr] Checking futures v0.3.14 [INFO] [stderr] Compiling domain-socket v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Checking tokio-stream v0.1.5 [INFO] [stderr] Checking tokio-util v0.6.5 [INFO] [stdout] warning: unused import: `futures::SinkExt` [INFO] [stdout] --> examples/domain.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use futures::SinkExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `error::Error` and `fmt` [INFO] [stdout] --> examples/domain.rs:3:11 [INFO] [stdout] | [INFO] [stdout] 3 | use std::{error::Error, fmt, io}; [INFO] [stdout] | ^^^^^^^^^^^^ ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Framed` [INFO] [stdout] --> examples/domain.rs:6:43 [INFO] [stdout] | [INFO] [stdout] 6 | use tokio_util::codec::{Decoder, Encoder, Framed}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Buf` [INFO] [stdout] --> src/main.rs:4:13 [INFO] [stdout] | [INFO] [stdout] 4 | use bytes::{Buf, BufMut, BytesMut}; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `error::Error` and `fmt` [INFO] [stdout] --> src/main.rs:7:11 [INFO] [stdout] | [INFO] [stdout] 7 | use std::{error::Error, fmt, fs, io, usize}; [INFO] [stdout] | ^^^^^^^^^^^^ ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `AsyncReadExt` and `AsyncWriteExt` [INFO] [stdout] --> src/main.rs:8:17 [INFO] [stdout] | [INFO] [stdout] 8 | use tokio::io::{AsyncReadExt, AsyncWriteExt}; [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `src` [INFO] [stdout] --> examples/domain.rs:45:26 [INFO] [stdout] | [INFO] [stdout] 45 | fn decode(&mut self, src: &mut BytesMut) -> io::Result>> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_src` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `item` [INFO] [stdout] --> examples/domain.rs:53:26 [INFO] [stdout] | [INFO] [stdout] 53 | fn encode(&mut self, item: Vec, dst: &mut BytesMut) -> io::Result<()> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_item` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dst` [INFO] [stdout] --> examples/domain.rs:53:41 [INFO] [stdout] | [INFO] [stdout] 53 | fn encode(&mut self, item: Vec, dst: &mut BytesMut) -> io::Result<()> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_dst` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Protocol` is never constructed [INFO] [stdout] --> examples/domain.rs:39:8 [INFO] [stdout] | [INFO] [stdout] 39 | struct Protocol; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Buf` [INFO] [stdout] --> src/main.rs:4:13 [INFO] [stdout] | [INFO] [stdout] 4 | use bytes::{Buf, BufMut, BytesMut}; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `error::Error` and `fmt` [INFO] [stdout] --> src/main.rs:7:11 [INFO] [stdout] | [INFO] [stdout] 7 | use std::{error::Error, fmt, fs, io, usize}; [INFO] [stdout] | ^^^^^^^^^^^^ ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `AsyncReadExt` and `AsyncWriteExt` [INFO] [stdout] --> src/main.rs:8:17 [INFO] [stdout] | [INFO] [stdout] 8 | use tokio::io::{AsyncReadExt, AsyncWriteExt}; [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 13.07s [INFO] running `Command { std: "docker" "inspect" "2d85b0a38a16a4304c1503ad0a7211e2adfd1166150e1291a2c93887dc6a7918", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2d85b0a38a16a4304c1503ad0a7211e2adfd1166150e1291a2c93887dc6a7918", kill_on_drop: false }` [INFO] [stdout] 2d85b0a38a16a4304c1503ad0a7211e2adfd1166150e1291a2c93887dc6a7918