[INFO] cloning repository https://github.com/AbsoluteVirtueXI/echo-rust
[INFO] running `Command { std: "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", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAbsoluteVirtueXI%2Fecho-rust'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 0885589faa312bcec7c33ee407a0f1e324a62e11
[INFO] testing AbsoluteVirtueXI/echo-rust against master#733b47ea4b1b86216f14ef56e49440c33933f230+rustflags=-Copt-level=3 for pr-138759
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAbsoluteVirtueXI%2Fecho-rust" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'...
[INFO] [stderr] done.
[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-2-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/AbsoluteVirtueXI/echo-rust on toolchain 733b47ea4b1b86216f14ef56e49440c33933f230
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+733b47ea4b1b86216f14ef56e49440c33933f230" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/AbsoluteVirtueXI/echo-rust 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" "+733b47ea4b1b86216f14ef56e49440c33933f230" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+733b47ea4b1b86216f14ef56e49440c33933f230" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 02150cfc0ea13966f0baf5c8ccd39dda7570b8289d240006976cfe8be4ec04ce
[INFO] running `Command { std: "docker" "start" "-a" "02150cfc0ea13966f0baf5c8ccd39dda7570b8289d240006976cfe8be4ec04ce", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "02150cfc0ea13966f0baf5c8ccd39dda7570b8289d240006976cfe8be4ec04ce", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "02150cfc0ea13966f0baf5c8ccd39dda7570b8289d240006976cfe8be4ec04ce", kill_on_drop: false }`
[INFO] [stdout] 02150cfc0ea13966f0baf5c8ccd39dda7570b8289d240006976cfe8be4ec04ce
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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 -Copt-level=3" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+733b47ea4b1b86216f14ef56e49440c33933f230" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] aaeecaf1b4af059443fa3c4742bb78e59764adaceb41d4e475cfeccb16659e0f
[INFO] running `Command { std: "docker" "start" "-a" "aaeecaf1b4af059443fa3c4742bb78e59764adaceb41d4e475cfeccb16659e0f", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.12
[INFO] [stderr]    Compiling unicode-xid v0.2.0
[INFO] [stderr]    Compiling syn v1.0.18
[INFO] [stderr]    Compiling libc v0.2.69
[INFO] [stderr]    Compiling memchr v2.3.3
[INFO] [stderr]    Compiling slab v0.4.2
[INFO] [stderr]    Compiling futures-core v0.3.4
[INFO] [stderr]    Compiling cfg-if v0.1.10
[INFO] [stderr]    Compiling log v0.4.8
[INFO] [stderr]    Compiling proc-macro-nested v0.1.4
[INFO] [stderr]    Compiling futures-sink v0.3.4
[INFO] [stderr]    Compiling proc-macro-hack v0.5.15
[INFO] [stderr]    Compiling futures-io v0.3.4
[INFO] [stderr]    Compiling futures-task v0.3.4
[INFO] [stderr]    Compiling arc-swap v0.4.6
[INFO] [stderr]    Compiling bytes v0.5.4
[INFO] [stderr]    Compiling pin-project-lite v0.1.4
[INFO] [stderr]    Compiling futures-channel v0.3.4
[INFO] [stderr]    Compiling fnv v1.0.6
[INFO] [stderr]    Compiling net2 v0.2.34
[INFO] [stderr]    Compiling iovec v0.1.4
[INFO] [stderr]    Compiling signal-hook-registry v1.2.0
[INFO] [stderr]    Compiling num_cpus v1.13.0
[INFO] [stderr]    Compiling quote v1.0.4
[INFO] [stderr]    Compiling mio v0.6.22
[INFO] [stderr]    Compiling mio-uds v0.6.8
[INFO] [stderr]    Compiling futures-macro v0.3.4
[INFO] [stderr]    Compiling tokio-macros v0.2.5
[INFO] [stderr]    Compiling async-trait v0.1.30
[INFO] [stderr]    Compiling tokio v0.2.20
[INFO] [stderr]    Compiling futures-util v0.3.4
[INFO] [stderr]    Compiling futures-executor v0.3.4
[INFO] [stderr]    Compiling futures v0.3.4
[INFO] [stderr]    Compiling echo-rust v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `IpAddr`
[INFO] [stdout]  --> src/easy_net.rs:3:16
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::net::{IpAddr, Ipv4Addr, SocketAddr, SocketAddrV4};
[INFO] [stdout]   |                ^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `async_trait::async_trait`
[INFO] [stdout]   --> src/easy_net.rs:10:5
[INFO] [stdout]    |
[INFO] [stdout] 10 | use async_trait::async_trait;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `s`
[INFO] [stdout]   --> src/easy_net.rs:66:23
[INFO] [stdout]    |
[INFO] [stdout] 66 |     pub async fn bind(s: &str) -> io::Result<TcpServer> {
[INFO] [stdout]    |                       ^ help: if this is intentional, prefix it with an underscore: `_s`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `Client` is never used
[INFO] [stdout]   --> src/easy_net.rs:53:6
[INFO] [stdout]    |
[INFO] [stdout] 53 | enum Client {
[INFO] [stdout]    |      ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `TcpClient` is never constructed
[INFO] [stdout]    --> src/easy_net.rs:116:8
[INFO] [stdout]     |
[INFO] [stdout] 116 | struct TcpClient {}
[INFO] [stdout]     |        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `connect` is never used
[INFO] [stdout]    --> src/easy_net.rs:119:18
[INFO] [stdout]     |
[INFO] [stdout] 118 | impl TcpClient {
[INFO] [stdout]     | -------------- associated function in this implementation
[INFO] [stdout] 119 |     pub async fn connect() {}
[INFO] [stdout]     |                  ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `P2PClient` is never constructed
[INFO] [stdout]    --> src/easy_net.rs:126:8
[INFO] [stdout]     |
[INFO] [stdout] 126 | struct P2PClient {}
[INFO] [stdout]     |        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `Connection` is never used
[INFO] [stdout]    --> src/easy_net.rs:128:6
[INFO] [stdout]     |
[INFO] [stdout] 128 | enum Connection {
[INFO] [stdout]     |      ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `_get_local_SocketAddr` should have a snake case name
[INFO] [stdout]   --> src/easy_net.rs:16:4
[INFO] [stdout]    |
[INFO] [stdout] 16 | fn _get_local_SocketAddr(stream: &TcpStream) -> SocketAddr {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `_get_local_socket_addr`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(non_snake_case)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `_get_peer_SocketAddr` should have a snake case name
[INFO] [stdout]   --> src/easy_net.rs:23:4
[INFO] [stdout]    |
[INFO] [stdout] 23 | fn _get_peer_SocketAddr(stream: &TcpStream) -> SocketAddr {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `_get_peer_socket_addr`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `_get_unspecified_SocketAddr` should have a snake case name
[INFO] [stdout]   --> src/easy_net.rs:30:4
[INFO] [stdout]    |
[INFO] [stdout] 30 | fn _get_unspecified_SocketAddr() -> SocketAddr {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `_get_unspecified_socket_addr`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: unexpected closing delimiter: `}`
[INFO] [stdout]   --> src/bin/server.rs:52:1
[INFO] [stdout]    |
[INFO] [stdout] 28 | async fn echo_protocol(stream: TcpConnection) -> io::Result<()> {
[INFO] [stdout]    |                                                                 - this opening brace...
[INFO] [stdout] ...
[INFO] [stdout] 34 | }
[INFO] [stdout]    | - ...matches this closing brace
[INFO] [stdout] ...
[INFO] [stdout] 52 | }
[INFO] [stdout]    | ^ unexpected closing delimiter
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `echo-rust` (bin "server") due to 1 previous error
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] warning: unused variable: `recvx`
[INFO] [stdout]   --> src/bin/client.rs:13:9
[INFO] [stdout]    |
[INFO] [stdout] 13 |     let recvx = tokio::spawn( async move {
[INFO] [stdout]    |         ^^^^^ help: if this is intentional, prefix it with an underscore: `_recvx`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]  --> src/bin/client.rs:6:9
[INFO] [stdout]   |
[INFO] [stdout] 6 |     let mut stream = TcpStream::connect("127.0.0.1:7777").await?;
[INFO] [stdout]   |         ----^^^^^^
[INFO] [stdout]   |         |
[INFO] [stdout]   |         help: remove this `mut`
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_mut)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]   --> src/bin/client.rs:16:5
[INFO] [stdout]    |
[INFO] [stdout] 16 |     sendx.await?;
[INFO] [stdout]    |     ^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout]    = note: `#[warn(unused_must_use)]` on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]    |
[INFO] [stdout] 16 |     let _ = sendx.await?;
[INFO] [stdout]    |     +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] running `Command { std: "docker" "inspect" "aaeecaf1b4af059443fa3c4742bb78e59764adaceb41d4e475cfeccb16659e0f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "aaeecaf1b4af059443fa3c4742bb78e59764adaceb41d4e475cfeccb16659e0f", kill_on_drop: false }`
[INFO] [stdout] aaeecaf1b4af059443fa3c4742bb78e59764adaceb41d4e475cfeccb16659e0f
