[INFO] cloning repository https://github.com/AbsoluteVirtueXI/echo-rust [INFO] running `"git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/AbsoluteVirtueXI/echo-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAbsoluteVirtueXI%2Fecho-rust"` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAbsoluteVirtueXI%2Fecho-rust'... [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] 2338b92ae4fcae0abed6389f611aba332f38d41b [INFO] checking AbsoluteVirtueXI/echo-rust against try#96b3c169cd2d8959926fa240f10342f1659f8ae3 for pr-71896 [INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAbsoluteVirtueXI%2Fecho-rust" "/workspace/builds/worker-0/source"` [INFO] [stderr] Cloning into '/workspace/builds/worker-0/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/AbsoluteVirtueXI/echo-rust on toolchain 96b3c169cd2d8959926fa240f10342f1659f8ae3 [INFO] running `"/workspace/cargo-home/bin/cargo" "+96b3c169cd2d8959926fa240f10342f1659f8ae3" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking git repo https://github.com/AbsoluteVirtueXI/echo-rust [INFO] finished tweaking git repo https://github.com/AbsoluteVirtueXI/echo-rust [INFO] tweaked toml for git repo https://github.com/AbsoluteVirtueXI/echo-rust written to /workspace/builds/worker-0/source/Cargo.toml [INFO] crate git repo https://github.com/AbsoluteVirtueXI/echo-rust already has a lockfile, it will not be regenerated [INFO] running `"/workspace/cargo-home/bin/cargo" "+96b3c169cd2d8959926fa240f10342f1659f8ae3" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+96b3c169cd2d8959926fa240f10342f1659f8ae3" "check" "--frozen" "--all" "--all-targets"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 310bf4fba19478dde090c83dc71da3c2689be45a2effc7efb9e9f351e807d4d1 [INFO] running `"docker" "start" "-a" "310bf4fba19478dde090c83dc71da3c2689be45a2effc7efb9e9f351e807d4d1"` [INFO] [stderr] sudo: setrlimit(RLIMIT_CORE): Operation not permitted [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Checking futures-channel v0.3.4 [INFO] [stderr] Compiling proc-macro2 v1.0.12 [INFO] [stderr] Checking net2 v0.2.34 [INFO] [stderr] Checking signal-hook-registry v1.2.0 [INFO] [stderr] Checking mio v0.6.22 [INFO] [stderr] Compiling quote v1.0.4 [INFO] [stderr] Compiling syn v1.0.18 [INFO] [stderr] Checking mio-uds v0.6.8 [INFO] [stderr] Compiling futures-macro v0.3.4 [INFO] [stderr] Compiling tokio-macros v0.2.5 [INFO] [stderr] Checking tokio v0.2.20 [INFO] [stderr] Checking futures-util v0.3.4 [INFO] [stderr] Checking futures-executor v0.3.4 [INFO] [stderr] Checking futures v0.3.4 [INFO] [stderr] Checking echo-rust v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] warning: unused import: `IpAddr` [INFO] [stderr] --> src/easy_net.rs:3:16 [INFO] [stderr] | [INFO] [stderr] 3 | use std::net::{IpAddr, Ipv4Addr, SocketAddr, SocketAddrV4}; [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `TcpListener` [INFO] [stderr] --> src/easy_net.rs:6:18 [INFO] [stderr] | [INFO] [stderr] 6 | use tokio::net::{TcpListener, TcpStream}; [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `IpAddr` [INFO] [stderr] --> src/easy_net.rs:3:16 [INFO] [stderr] | [INFO] [stderr] 3 | use std::net::{IpAddr, Ipv4Addr, SocketAddr, SocketAddrV4}; [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `TcpListener` [INFO] [stderr] --> src/easy_net.rs:6:18 [INFO] [stderr] | [INFO] [stderr] 6 | use tokio::net::{TcpListener, TcpStream}; [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused variable: `e` [INFO] [stderr] --> src/easy_net.rs:15:13 [INFO] [stderr] | [INFO] [stderr] 15 | Err(e) => _get_unspecified_SocketAddr() [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `e` [INFO] [stderr] --> src/easy_net.rs:22:13 [INFO] [stderr] | [INFO] [stderr] 22 | Err(e) => _get_unspecified_SocketAddr() [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `e` [INFO] [stderr] --> src/easy_net.rs:15:13 [INFO] [stderr] | [INFO] [stderr] 15 | Err(e) => _get_unspecified_SocketAddr() [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `e` [INFO] [stderr] --> src/easy_net.rs:22:13 [INFO] [stderr] | [INFO] [stderr] 22 | Err(e) => _get_unspecified_SocketAddr() [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stderr] [INFO] [stderr] warning: function `_get_local_SocketAddr` should have a snake case name [INFO] [stderr] --> src/easy_net.rs:12:4 [INFO] [stderr] | [INFO] [stderr] 12 | fn _get_local_SocketAddr(stream: &TcpStream) -> SocketAddr { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `_get_local_socket_addr` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(non_snake_case)]` on by default [INFO] [stderr] [INFO] [stderr] warning: function `_get_peer_SocketAddr` should have a snake case name [INFO] [stderr] --> src/easy_net.rs:19:4 [INFO] [stderr] | [INFO] [stderr] 19 | fn _get_peer_SocketAddr(stream: &TcpStream) -> SocketAddr { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `_get_peer_socket_addr` [INFO] [stderr] [INFO] [stderr] warning: function `_get_unspecified_SocketAddr` should have a snake case name [INFO] [stderr] --> src/easy_net.rs:26:4 [INFO] [stderr] | [INFO] [stderr] 26 | fn _get_unspecified_SocketAddr() -> SocketAddr { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `_get_unspecified_socket_addr` [INFO] [stderr] [INFO] [stderr] warning: structure field `local_SocketAddr` should have a snake case name [INFO] [stderr] --> src/easy_net.rs:51:9 [INFO] [stderr] | [INFO] [stderr] 51 | pub local_SocketAddr: SocketAddr, [INFO] [stderr] | ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `local_socket_addr` [INFO] [stderr] [INFO] [stderr] warning: structure field `peer_SocketAddr` should have a snake case name [INFO] [stderr] --> src/easy_net.rs:52:9 [INFO] [stderr] | [INFO] [stderr] 52 | pub peer_SocketAddr: SocketAddr, [INFO] [stderr] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `peer_socket_addr` [INFO] [stderr] [INFO] [stderr] warning: variable `local_SocketAddr` should have a snake case name [INFO] [stderr] --> src/easy_net.rs:60:13 [INFO] [stderr] | [INFO] [stderr] 60 | let local_SocketAddr = _get_local_SocketAddr(&stream); [INFO] [stderr] | ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `local_socket_addr` [INFO] [stderr] [INFO] [stderr] warning: variable `peer_SocketAddr` should have a snake case name [INFO] [stderr] --> src/easy_net.rs:61:13 [INFO] [stderr] | [INFO] [stderr] 61 | let peer_SocketAddr = _get_peer_SocketAddr(&stream); [INFO] [stderr] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `peer_socket_addr` [INFO] [stderr] [INFO] [stderr] warning: function `_get_local_SocketAddr` should have a snake case name [INFO] [stderr] --> src/easy_net.rs:12:4 [INFO] [stderr] | [INFO] [stderr] 12 | fn _get_local_SocketAddr(stream: &TcpStream) -> SocketAddr { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `_get_local_socket_addr` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(non_snake_case)]` on by default [INFO] [stderr] [INFO] [stderr] warning: function `_get_peer_SocketAddr` should have a snake case name [INFO] [stderr] --> src/easy_net.rs:19:4 [INFO] [stderr] | [INFO] [stderr] 19 | fn _get_peer_SocketAddr(stream: &TcpStream) -> SocketAddr { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `_get_peer_socket_addr` [INFO] [stderr] [INFO] [stderr] warning: function `_get_unspecified_SocketAddr` should have a snake case name [INFO] [stderr] --> src/easy_net.rs:26:4 [INFO] [stderr] | [INFO] [stderr] 26 | fn _get_unspecified_SocketAddr() -> SocketAddr { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `_get_unspecified_socket_addr` [INFO] [stderr] [INFO] [stderr] warning: structure field `local_SocketAddr` should have a snake case name [INFO] [stderr] --> src/easy_net.rs:51:9 [INFO] [stderr] | [INFO] [stderr] 51 | pub local_SocketAddr: SocketAddr, [INFO] [stderr] | ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `local_socket_addr` [INFO] [stderr] [INFO] [stderr] warning: structure field `peer_SocketAddr` should have a snake case name [INFO] [stderr] --> src/easy_net.rs:52:9 [INFO] [stderr] | [INFO] [stderr] 52 | pub peer_SocketAddr: SocketAddr, [INFO] [stderr] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `peer_socket_addr` [INFO] [stderr] [INFO] [stderr] warning: variable `local_SocketAddr` should have a snake case name [INFO] [stderr] --> src/easy_net.rs:60:13 [INFO] [stderr] | [INFO] [stderr] 60 | let local_SocketAddr = _get_local_SocketAddr(&stream); [INFO] [stderr] | ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `local_socket_addr` [INFO] [stderr] [INFO] [stderr] warning: variable `peer_SocketAddr` should have a snake case name [INFO] [stderr] --> src/easy_net.rs:61:13 [INFO] [stderr] | [INFO] [stderr] 61 | let peer_SocketAddr = _get_peer_SocketAddr(&stream); [INFO] [stderr] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `peer_socket_addr` [INFO] [stderr] [INFO] [stderr] warning: 11 warnings emitted [INFO] [stderr] [INFO] [stderr] warning: 11 warnings emitted [INFO] [stderr] [INFO] [stderr] warning: unused import: `TcpStream` [INFO] [stderr] --> src/bin/server.rs:2:31 [INFO] [stderr] | [INFO] [stderr] 2 | use tokio::net::{TcpListener, TcpStream}; [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused doc comment [INFO] [stderr] --> src/bin/server.rs:11:5 [INFO] [stderr] | [INFO] [stderr] 11 | /// Bind listener to a port [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] 12 | / let mut listener = match TcpListener::bind("127.0.0.1:7777").await { [INFO] [stderr] 13 | | Ok(listener) => { [INFO] [stderr] 14 | | println!("Server running"); [INFO] [stderr] 15 | | listener [INFO] [stderr] ... | [INFO] [stderr] 20 | | } [INFO] [stderr] 21 | | }; [INFO] [stderr] | |______- rustdoc does not generate documentation for statements [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_doc_comments)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused doc comment [INFO] [stderr] --> src/bin/server.rs:24:5 [INFO] [stderr] | [INFO] [stderr] 24 | /// Loop over incoming connection [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] 25 | / while let Some(tcp_stream) = listener.incoming().map(|res_stream|{ [INFO] [stderr] 26 | | match res_stream { [INFO] [stderr] 27 | | Ok(stream) => Ok(TcpConnection::new(stream)), [INFO] [stderr] 28 | | Err(e) => Err(e) [INFO] [stderr] ... | [INFO] [stderr] 38 | | } [INFO] [stderr] 39 | | } [INFO] [stderr] | |_____- rustdoc does not generate documentation for expressions [INFO] [stderr] [INFO] [stderr] warning: unused variable: `recvx` [INFO] [stderr] --> src/bin/client.rs:13:9 [INFO] [stderr] | [INFO] [stderr] 13 | let recvx = tokio::spawn( async move { [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_recvx` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/bin/client.rs:6:9 [INFO] [stderr] | [INFO] [stderr] 6 | let mut stream = TcpStream::connect("127.0.0.1:7777").await?; [INFO] [stderr] | ----^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_mut)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused `std::result::Result` that must be used [INFO] [stderr] --> src/bin/client.rs:16:5 [INFO] [stderr] | [INFO] [stderr] 16 | sendx.await?; [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_must_use)]` on by default [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stderr] [INFO] [stderr] warning: 3 warnings emitted [INFO] [stderr] [INFO] [stderr] warning: unused import: `TcpStream` [INFO] [stderr] --> src/bin/server.rs:2:31 [INFO] [stderr] | [INFO] [stderr] 2 | use tokio::net::{TcpListener, TcpStream}; [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused doc comment [INFO] [stderr] --> src/bin/server.rs:11:5 [INFO] [stderr] | [INFO] [stderr] 11 | /// Bind listener to a port [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] 12 | / let mut listener = match TcpListener::bind("127.0.0.1:7777").await { [INFO] [stderr] 13 | | Ok(listener) => { [INFO] [stderr] 14 | | println!("Server running"); [INFO] [stderr] 15 | | listener [INFO] [stderr] ... | [INFO] [stderr] 20 | | } [INFO] [stderr] 21 | | }; [INFO] [stderr] | |______- rustdoc does not generate documentation for statements [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_doc_comments)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused doc comment [INFO] [stderr] --> src/bin/server.rs:24:5 [INFO] [stderr] | [INFO] [stderr] 24 | /// Loop over incoming connection [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] 25 | / while let Some(tcp_stream) = listener.incoming().map(|res_stream|{ [INFO] [stderr] 26 | | match res_stream { [INFO] [stderr] 27 | | Ok(stream) => Ok(TcpConnection::new(stream)), [INFO] [stderr] 28 | | Err(e) => Err(e) [INFO] [stderr] ... | [INFO] [stderr] 38 | | } [INFO] [stderr] 39 | | } [INFO] [stderr] | |_____- rustdoc does not generate documentation for expressions [INFO] [stderr] [INFO] [stderr] warning: 3 warnings emitted [INFO] [stderr] [INFO] [stderr] warning: unused variable: `recvx` [INFO] [stderr] --> src/bin/client.rs:13:9 [INFO] [stderr] | [INFO] [stderr] 13 | let recvx = tokio::spawn( async move { [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_recvx` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/bin/client.rs:6:9 [INFO] [stderr] | [INFO] [stderr] 6 | let mut stream = TcpStream::connect("127.0.0.1:7777").await?; [INFO] [stderr] | ----^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_mut)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused `std::result::Result` that must be used [INFO] [stderr] --> src/bin/client.rs:16:5 [INFO] [stderr] | [INFO] [stderr] 16 | sendx.await?; [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_must_use)]` on by default [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stderr] [INFO] [stderr] warning: 3 warnings emitted [INFO] [stderr] [INFO] [stderr] warning: 3 warnings emitted [INFO] [stderr] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 36.40s [INFO] running `"docker" "inspect" "310bf4fba19478dde090c83dc71da3c2689be45a2effc7efb9e9f351e807d4d1"` [INFO] running `"docker" "rm" "-f" "310bf4fba19478dde090c83dc71da3c2689be45a2effc7efb9e9f351e807d4d1"` [INFO] [stdout] 310bf4fba19478dde090c83dc71da3c2689be45a2effc7efb9e9f351e807d4d1