[INFO] cloning repository https://github.com/simonwkla/sockets [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/simonwkla/sockets" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsimonwkla%2Fsockets", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsimonwkla%2Fsockets'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] f021e0003e58eb8a46b178014007198a534db367 [INFO] checking simonwkla/sockets against master#a33907a7a5381473eec8bcfa0c56e05a856a911c for pr-151539 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsimonwkla%2Fsockets" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/simonwkla/sockets [INFO] finished tweaking git repo https://github.com/simonwkla/sockets [INFO] tweaked toml for git repo https://github.com/simonwkla/sockets written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/simonwkla/sockets on toolchain a33907a7a5381473eec8bcfa0c56e05a856a911c [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a33907a7a5381473eec8bcfa0c56e05a856a911c" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/simonwkla/sockets 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" "+a33907a7a5381473eec8bcfa0c56e05a856a911c" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded prost-build v0.14.1 [INFO] [stderr] Downloaded epoll v4.4.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:61361fe0aef631f17e9d025a70c5a647956f8c671dd02950a60ad3f5cc5526d7" "/opt/rustwide/cargo-home/bin/cargo" "+a33907a7a5381473eec8bcfa0c56e05a856a911c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 778f6815e999ba8a050d5648728e1311fdf55d30d5dfe9655388f960f42a2680 [INFO] running `Command { std: "docker" "start" "-a" "778f6815e999ba8a050d5648728e1311fdf55d30d5dfe9655388f960f42a2680", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "778f6815e999ba8a050d5648728e1311fdf55d30d5dfe9655388f960f42a2680", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "778f6815e999ba8a050d5648728e1311fdf55d30d5dfe9655388f960f42a2680", kill_on_drop: false }` [INFO] [stdout] 778f6815e999ba8a050d5648728e1311fdf55d30d5dfe9655388f960f42a2680 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:61361fe0aef631f17e9d025a70c5a647956f8c671dd02950a60ad3f5cc5526d7" "/opt/rustwide/cargo-home/bin/cargo" "+a33907a7a5381473eec8bcfa0c56e05a856a911c" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 974be689bb0c204b6363c9de91d6886ec4295e7921260351ad4cd6b4df9ab07f [INFO] running `Command { std: "docker" "start" "-a" "974be689bb0c204b6363c9de91d6886ec4295e7921260351ad4cd6b4df9ab07f", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.178 [INFO] [stderr] Compiling bytes v1.11.0 [INFO] [stderr] Compiling regex-syntax v0.8.8 [INFO] [stderr] Compiling anyhow v1.0.100 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling rustix v1.1.2 [INFO] [stderr] Compiling indexmap v2.0.0 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling fixedbitset v0.4.2 [INFO] [stderr] Compiling fastrand v2.3.0 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Compiling multimap v0.8.3 [INFO] [stderr] Compiling syn v2.0.111 [INFO] [stderr] Compiling eyre v0.6.12 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking indenter v0.3.4 [INFO] [stderr] Compiling petgraph v0.6.5 [INFO] [stderr] Compiling regex-automata v0.4.13 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking nix v0.23.2 [INFO] [stderr] Checking epoll v4.4.0 [INFO] [stderr] Compiling getrandom v0.3.4 [INFO] [stderr] Checking clap v2.34.0 [INFO] [stderr] Compiling tempfile v3.23.0 [INFO] [stderr] Compiling prost-derive v0.9.0 [INFO] [stderr] Compiling regex v1.12.2 [INFO] [stderr] Compiling prettyplease v0.2.37 [INFO] [stderr] Checking prost v0.9.0 [INFO] [stderr] Compiling prost-derive v0.14.1 [INFO] [stderr] Compiling prost v0.14.1 [INFO] [stderr] Compiling prost-types v0.14.1 [INFO] [stderr] Compiling prost-build v0.14.1 [INFO] [stderr] Compiling task6-sockets v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: function `main` is never used [INFO] [stdout] --> utils.rs:226:4 [INFO] [stdout] | [INFO] [stdout] 226 | fn main() {} [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `send_many` is never used [INFO] [stdout] --> utils.rs:381:12 [INFO] [stdout] | [INFO] [stdout] 283 | impl NonBlockingConn { [INFO] [stdout] | -------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 381 | pub fn send_many(&mut self, messages: &[SockMessage]) -> io::Result { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `nix_to_io_error` is never used [INFO] [stdout] --> utils.rs:22:8 [INFO] [stdout] | [INFO] [stdout] 22 | pub fn nix_to_io_error(e: nix::Error) -> io::Error { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `main` is never used [INFO] [stdout] --> utils.rs:226:4 [INFO] [stdout] | [INFO] [stdout] 226 | fn main() {} [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `NonBlockingConn` is never constructed [INFO] [stdout] --> utils.rs:274:12 [INFO] [stdout] | [INFO] [stdout] 274 | pub struct NonBlockingConn { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MAX_MSG_LEN` is never used [INFO] [stdout] --> utils.rs:281:7 [INFO] [stdout] | [INFO] [stdout] 281 | const MAX_MSG_LEN: usize = 1 << 20; // 1MiB [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> utils.rs:284:12 [INFO] [stdout] | [INFO] [stdout] 283 | impl NonBlockingConn { [INFO] [stdout] | -------------------- associated items in this implementation [INFO] [stdout] 284 | pub fn new(sockfd: RawFd) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 293 | pub fn try_decode(&mut self) -> io::Result> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 322 | pub fn read(&mut self) -> io::Result>> { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 346 | pub fn try_flush(&mut self) -> io::Result { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 363 | fn write(&mut self, message: SockMessage) -> io::Result<()> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 375 | fn send(&mut self, message: SockMessage) -> io::Result { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 381 | pub fn send_many(&mut self, messages: &[SockMessage]) -> io::Result { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 389 | pub fn send_terminate(&mut self, message: SockMessage) -> io::Result { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 395 | pub fn close(&self) -> io::Result<()> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `main` is never used [INFO] [stdout] --> utils.rs:226:4 [INFO] [stdout] | [INFO] [stdout] 226 | fn main() {} [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `nix_to_io_error` is never used [INFO] [stdout] --> utils.rs:22:8 [INFO] [stdout] | [INFO] [stdout] 22 | pub fn nix_to_io_error(e: nix::Error) -> io::Error { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `main` is never used [INFO] [stdout] --> utils.rs:226:4 [INFO] [stdout] | [INFO] [stdout] 226 | fn main() {} [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `NonBlockingConn` is never constructed [INFO] [stdout] --> utils.rs:274:12 [INFO] [stdout] | [INFO] [stdout] 274 | pub struct NonBlockingConn { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MAX_MSG_LEN` is never used [INFO] [stdout] --> utils.rs:281:7 [INFO] [stdout] | [INFO] [stdout] 281 | const MAX_MSG_LEN: usize = 1 << 20; // 1MiB [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> utils.rs:284:12 [INFO] [stdout] | [INFO] [stdout] 283 | impl NonBlockingConn { [INFO] [stdout] | -------------------- associated items in this implementation [INFO] [stdout] 284 | pub fn new(sockfd: RawFd) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 293 | pub fn try_decode(&mut self) -> io::Result> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 322 | pub fn read(&mut self) -> io::Result>> { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 346 | pub fn try_flush(&mut self) -> io::Result { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 363 | fn write(&mut self, message: SockMessage) -> io::Result<()> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 375 | fn send(&mut self, message: SockMessage) -> io::Result { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 381 | pub fn send_many(&mut self, messages: &[SockMessage]) -> io::Result { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 389 | pub fn send_terminate(&mut self, message: SockMessage) -> io::Result { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 395 | pub fn close(&self) -> io::Result<()> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `main` is never used [INFO] [stdout] --> utils.rs:226:4 [INFO] [stdout] | [INFO] [stdout] 226 | fn main() {} [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `send_many` is never used [INFO] [stdout] --> utils.rs:381:12 [INFO] [stdout] | [INFO] [stdout] 283 | impl NonBlockingConn { [INFO] [stdout] | -------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 381 | pub fn send_many(&mut self, messages: &[SockMessage]) -> io::Result { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 11.77s [INFO] running `Command { std: "docker" "inspect" "974be689bb0c204b6363c9de91d6886ec4295e7921260351ad4cd6b4df9ab07f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "974be689bb0c204b6363c9de91d6886ec4295e7921260351ad4cd6b4df9ab07f", kill_on_drop: false }` [INFO] [stdout] 974be689bb0c204b6363c9de91d6886ec4295e7921260351ad4cd6b4df9ab07f