[INFO] cloning repository https://github.com/evopen/async-playground [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/evopen/async-playground" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fevopen%2Fasync-playground", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fevopen%2Fasync-playground'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] b11e4dff37c04b770cbc4b27fce8693002a045b9 [INFO] testing evopen/async-playground against beta-2022-04-10 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fevopen%2Fasync-playground" "/workspace/builds/worker-40/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-40/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/evopen/async-playground on toolchain beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/evopen/async-playground [INFO] finished tweaking git repo https://github.com/evopen/async-playground [INFO] tweaked toml for git repo https://github.com/evopen/async-playground written to /workspace/builds/worker-40/source/Cargo.toml [INFO] crate git repo https://github.com/evopen/async-playground already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-40/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-40/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e1cf07b1de236a84403cded3b219aef034290503b3135cfc0ae9295f1755a4b1 [INFO] running `Command { std: "docker" "start" "-a" "e1cf07b1de236a84403cded3b219aef034290503b3135cfc0ae9295f1755a4b1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e1cf07b1de236a84403cded3b219aef034290503b3135cfc0ae9295f1755a4b1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e1cf07b1de236a84403cded3b219aef034290503b3135cfc0ae9295f1755a4b1", kill_on_drop: false }` [INFO] [stdout] e1cf07b1de236a84403cded3b219aef034290503b3135cfc0ae9295f1755a4b1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-40/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-40/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 076c052c844b039ed17ba61a4ee9d623b47b5b94b1cfc1af63b8f0d6630a8a59 [INFO] running `Command { std: "docker" "start" "-a" "076c052c844b039ed17ba61a4ee9d623b47b5b94b1cfc1af63b8f0d6630a8a59", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling libc v0.2.80 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling futures-core v0.3.8 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Compiling syn v1.0.48 [INFO] [stderr] Compiling once_cell v1.5.2 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling futures-io v0.3.8 [INFO] [stderr] Compiling version_check v0.9.2 [INFO] [stderr] Compiling const_fn v0.4.3 [INFO] [stderr] Compiling typenum v1.12.0 [INFO] [stderr] Compiling proc-macro-hack v0.5.19 [INFO] [stderr] Compiling getrandom v0.1.15 [INFO] [stderr] Compiling proc-macro-nested v0.1.6 [INFO] [stderr] Compiling tinyvec_macros v0.1.0 [INFO] [stderr] Compiling slab v0.4.2 [INFO] [stderr] Compiling cache-padded v1.1.1 [INFO] [stderr] Compiling matches v0.1.8 [INFO] [stderr] Compiling ppv-lite86 v0.2.10 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling futures-sink v0.3.8 [INFO] [stderr] Compiling fastrand v1.4.0 [INFO] [stderr] Compiling pin-project-lite v0.1.11 [INFO] [stderr] Compiling parking v2.0.0 [INFO] [stderr] Compiling waker-fn v1.1.0 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling bytes v0.5.6 [INFO] [stderr] Compiling getrandom v0.2.0 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling httparse v1.3.4 [INFO] [stderr] Compiling event-listener v2.5.1 [INFO] [stderr] Compiling vec-arena v1.0.0 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling itoa v0.4.6 [INFO] [stderr] Compiling async-task v4.0.3 [INFO] [stderr] Compiling opaque-debug v0.3.0 [INFO] [stderr] Compiling rayon-core v1.9.0 [INFO] [stderr] Compiling cpuid-bool v0.1.2 [INFO] [stderr] Compiling pin-project-lite v0.2.0 [INFO] [stderr] Compiling base64 v0.12.3 [INFO] [stderr] Compiling utf-8 v0.7.5 [INFO] [stderr] Compiling bytes v0.6.0 [INFO] [stderr] Compiling atomic-waker v1.0.0 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling tinyvec v1.1.0 [INFO] [stderr] Compiling futures-task v0.3.8 [INFO] [stderr] Compiling unicode-bidi v0.3.4 [INFO] [stderr] Compiling futures-channel v0.3.8 [INFO] [stderr] Compiling form_urlencoded v1.0.0 [INFO] [stderr] Compiling concurrent-queue v1.2.2 [INFO] [stderr] Compiling async-mutex v1.4.0 [INFO] [stderr] Compiling async-channel v1.5.1 [INFO] [stderr] Compiling input_buffer v0.3.1 [INFO] [stderr] Compiling http v0.2.2 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Compiling kv-log-macro v1.0.7 [INFO] [stderr] Compiling futures-lite v1.11.2 [INFO] [stderr] Compiling crossbeam-utils v0.8.0 [INFO] [stderr] Compiling memoffset v0.5.6 [INFO] [stderr] Compiling tokio v0.3.6 [INFO] [stderr] Compiling rayon v1.5.0 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling nb-connect v1.0.2 [INFO] [stderr] Compiling polling v2.0.2 [INFO] [stderr] Compiling mio v0.7.6 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Compiling rand_core v0.6.0 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling unicode-normalization v0.1.16 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling async-executor v1.4.0 [INFO] [stderr] Compiling async-io v1.2.0 [INFO] [stderr] Compiling blocking v1.0.2 [INFO] [stderr] Compiling rand_chacha v0.3.0 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling rand v0.8.0 [INFO] [stderr] Compiling async-global-executor v1.4.3 [INFO] [stderr] Compiling idna v0.2.0 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling crossbeam-epoch v0.9.0 [INFO] [stderr] Compiling crossbeam-channel v0.5.0 [INFO] [stderr] Compiling async-std v1.8.0 [INFO] [stderr] Compiling sha-1 v0.9.2 [INFO] [stderr] Compiling url v2.2.0 [INFO] [stderr] Compiling crossbeam-deque v0.8.0 [INFO] [stderr] Compiling tungstenite v0.11.1 [INFO] [stderr] Compiling pin-project-internal v1.0.1 [INFO] [stderr] Compiling futures-macro v0.3.8 [INFO] [stderr] Compiling tokio-macros v0.3.1 [INFO] [stderr] Compiling pin-project v1.0.1 [INFO] [stderr] Compiling futures-util v0.3.8 [INFO] [stderr] Compiling futures-executor v0.3.8 [INFO] [stderr] Compiling tokio-tungstenite v0.12.0 [INFO] [stderr] Compiling async-tungstenite v0.10.0 [INFO] [stderr] Compiling futures v0.3.8 [INFO] [stderr] Compiling async-playground v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::time::Duration` [INFO] [stdout] --> src/bin/server.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::time::Duration; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `AsyncReadExt`, `BufReader`, `stdin` [INFO] [stdout] --> src/bin/server.rs:10:17 [INFO] [stdout] | [INFO] [stdout] 10 | use tokio::io::{stdin, AsyncBufReadExt, AsyncReadExt, BufReader}; [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tokio::time::sleep` [INFO] [stdout] --> src/bin/server.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use tokio::time::sleep; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable statement [INFO] [stdout] --> src/bin/server.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 22 | / loop { [INFO] [stdout] 23 | | let mut s = String::new(); [INFO] [stdout] 24 | | if rx.changed().await.is_ok() { [INFO] [stdout] 25 | | s.clone_from(&*rx.borrow()); [INFO] [stdout] ... | [INFO] [stdout] 28 | | } [INFO] [stdout] 29 | | } [INFO] [stdout] | |_____- any code following this expression is unreachable [INFO] [stdout] 30 | [INFO] [stdout] 31 | println!("handle outgoing finished"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable statement [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] = note: this warning originates in the macro `println` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::net::SocketAddr` [INFO] [stdout] --> src/bin/client.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::net::SocketAddr; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `TcpListener` [INFO] [stdout] --> src/bin/client.rs:7:18 [INFO] [stdout] | [INFO] [stdout] 7 | use tokio::net::{TcpListener, TcpStream}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tokio::task` [INFO] [stdout] --> src/bin/client.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use tokio::task; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tungstenite` [INFO] [stdout] --> src/bin/client.rs:10:25 [INFO] [stdout] | [INFO] [stdout] 10 | use tokio_tungstenite::{tungstenite, WebSocketStream}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable statement [INFO] [stdout] --> src/bin/client.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 15 | / loop { [INFO] [stdout] 16 | | sleep(Duration::from_secs(1)).await; [INFO] [stdout] 17 | | write_stream [INFO] [stdout] 18 | | .send(Message::Text("do you know".into())) [INFO] [stdout] ... | [INFO] [stdout] 21 | | println!("sent"); [INFO] [stdout] 22 | | } [INFO] [stdout] | |_____- any code following this expression is unreachable [INFO] [stdout] 23 | [INFO] [stdout] 24 | println!("handle outgoing finished"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable statement [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] = note: this warning originates in the macro `println` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 22.18s [INFO] running `Command { std: "docker" "inspect" "076c052c844b039ed17ba61a4ee9d623b47b5b94b1cfc1af63b8f0d6630a8a59", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "076c052c844b039ed17ba61a4ee9d623b47b5b94b1cfc1af63b8f0d6630a8a59", kill_on_drop: false }` [INFO] [stdout] 076c052c844b039ed17ba61a4ee9d623b47b5b94b1cfc1af63b8f0d6630a8a59 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-40/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-40/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c1513f2a45ca1f5cebc0f0a01d4550324cf82dba116871f5d2e1b3bbfdc21fee [INFO] running `Command { std: "docker" "start" "-a" "c1513f2a45ca1f5cebc0f0a01d4550324cf82dba116871f5d2e1b3bbfdc21fee", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling async-playground v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::net::SocketAddr` [INFO] [stdout] --> src/bin/client.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::net::SocketAddr; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `TcpListener` [INFO] [stdout] --> src/bin/client.rs:7:18 [INFO] [stdout] | [INFO] [stdout] 7 | use tokio::net::{TcpListener, TcpStream}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tokio::task` [INFO] [stdout] --> src/bin/client.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use tokio::task; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tungstenite` [INFO] [stdout] --> src/bin/client.rs:10:25 [INFO] [stdout] | [INFO] [stdout] 10 | use tokio_tungstenite::{tungstenite, WebSocketStream}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable statement [INFO] [stdout] --> src/bin/client.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 15 | / loop { [INFO] [stdout] 16 | | sleep(Duration::from_secs(1)).await; [INFO] [stdout] 17 | | write_stream [INFO] [stdout] 18 | | .send(Message::Text("do you know".into())) [INFO] [stdout] ... | [INFO] [stdout] 21 | | println!("sent"); [INFO] [stdout] 22 | | } [INFO] [stdout] | |_____- any code following this expression is unreachable [INFO] [stdout] 23 | [INFO] [stdout] 24 | println!("handle outgoing finished"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable statement [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] = note: this warning originates in the macro `println` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::time::Duration` [INFO] [stdout] --> src/bin/server.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::time::Duration; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `AsyncReadExt`, `BufReader`, `stdin` [INFO] [stdout] --> src/bin/server.rs:10:17 [INFO] [stdout] | [INFO] [stdout] 10 | use tokio::io::{stdin, AsyncBufReadExt, AsyncReadExt, BufReader}; [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tokio::time::sleep` [INFO] [stdout] --> src/bin/server.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use tokio::time::sleep; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable statement [INFO] [stdout] --> src/bin/server.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 22 | / loop { [INFO] [stdout] 23 | | let mut s = String::new(); [INFO] [stdout] 24 | | if rx.changed().await.is_ok() { [INFO] [stdout] 25 | | s.clone_from(&*rx.borrow()); [INFO] [stdout] ... | [INFO] [stdout] 28 | | } [INFO] [stdout] 29 | | } [INFO] [stdout] | |_____- any code following this expression is unreachable [INFO] [stdout] 30 | [INFO] [stdout] 31 | println!("handle outgoing finished"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable statement [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] = note: this warning originates in the macro `println` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.86s [INFO] [stderr] Executable unittests src/bin/client.rs (/opt/rustwide/target/debug/deps/client-0956c7e993246e3c) [INFO] [stderr] Executable unittests src/bin/server.rs (/opt/rustwide/target/debug/deps/server-9206a6829e3b4eff) [INFO] running `Command { std: "docker" "inspect" "c1513f2a45ca1f5cebc0f0a01d4550324cf82dba116871f5d2e1b3bbfdc21fee", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c1513f2a45ca1f5cebc0f0a01d4550324cf82dba116871f5d2e1b3bbfdc21fee", kill_on_drop: false }` [INFO] [stdout] c1513f2a45ca1f5cebc0f0a01d4550324cf82dba116871f5d2e1b3bbfdc21fee [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-40/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-40/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] cc3eb1cc60ecbb2a311a3416ea0fb72d181fe102ff087492e810fc27cdd93c38 [INFO] running `Command { std: "docker" "start" "-a" "cc3eb1cc60ecbb2a311a3416ea0fb72d181fe102ff087492e810fc27cdd93c38", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] warning: unused import: `std::time::Duration` [INFO] [stderr] --> src/bin/server.rs:5:5 [INFO] [stdout] [INFO] [stderr] | [INFO] [stdout] running 0 tests [INFO] [stderr] 5 | use std::time::Duration; [INFO] [stdout] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stderr] | [INFO] [stdout] [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused imports: `AsyncReadExt`, `BufReader`, `stdin` [INFO] [stderr] --> src/bin/server.rs:10:17 [INFO] [stderr] | [INFO] [stderr] 10 | use tokio::io::{stdin, AsyncBufReadExt, AsyncReadExt, BufReader}; [INFO] [stderr] | ^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `tokio::time::sleep` [INFO] [stderr] --> src/bin/server.rs:14:5 [INFO] [stderr] | [INFO] [stderr] 14 | use tokio::time::sleep; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unreachable statement [INFO] [stderr] --> src/bin/server.rs:31:5 [INFO] [stderr] | [INFO] [stderr] 22 | / loop { [INFO] [stderr] 23 | | let mut s = String::new(); [INFO] [stderr] 24 | | if rx.changed().await.is_ok() { [INFO] [stderr] 25 | | s.clone_from(&*rx.borrow()); [INFO] [stderr] ... | [INFO] [stderr] 28 | | } [INFO] [stderr] 29 | | } [INFO] [stderr] | |_____- any code following this expression is unreachable [INFO] [stderr] 30 | [INFO] [stderr] 31 | println!("handle outgoing finished"); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable statement [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unreachable_code)]` on by default [INFO] [stderr] = note: this warning originates in the macro `println` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::net::SocketAddr` [INFO] [stderr] --> src/bin/client.rs:1:5 [INFO] [stderr] | [INFO] [stderr] 1 | use std::net::SocketAddr; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `TcpListener` [INFO] [stderr] --> src/bin/client.rs:7:18 [INFO] [stderr] | [INFO] [stderr] 7 | use tokio::net::{TcpListener, TcpStream}; [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `tokio::task` [INFO] [stderr] --> src/bin/client.rs:8:5 [INFO] [stderr] | [INFO] [stderr] 8 | use tokio::task; [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `tungstenite` [INFO] [stderr] --> src/bin/client.rs:10:25 [INFO] [stderr] | [INFO] [stderr] 10 | use tokio_tungstenite::{tungstenite, WebSocketStream}; [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unreachable statement [INFO] [stderr] --> src/bin/client.rs:24:5 [INFO] [stderr] | [INFO] [stderr] 15 | / loop { [INFO] [stderr] 16 | | sleep(Duration::from_secs(1)).await; [INFO] [stderr] 17 | | write_stream [INFO] [stderr] 18 | | .send(Message::Text("do you know".into())) [INFO] [stderr] ... | [INFO] [stderr] 21 | | println!("sent"); [INFO] [stderr] 22 | | } [INFO] [stderr] | |_____- any code following this expression is unreachable [INFO] [stderr] 23 | [INFO] [stderr] 24 | println!("handle outgoing finished"); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable statement [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unreachable_code)]` on by default [INFO] [stderr] = note: this warning originates in the macro `println` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: `async-playground` (bin "server" test) generated 4 warnings [INFO] [stderr] warning: `async-playground` (bin "client" test) generated 5 warnings [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 2.84s [INFO] [stderr] Running unittests src/bin/client.rs (/opt/rustwide/target/debug/deps/client-0956c7e993246e3c) [INFO] [stderr] Running unittests src/bin/server.rs (/opt/rustwide/target/debug/deps/server-9206a6829e3b4eff) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "cc3eb1cc60ecbb2a311a3416ea0fb72d181fe102ff087492e810fc27cdd93c38", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cc3eb1cc60ecbb2a311a3416ea0fb72d181fe102ff087492e810fc27cdd93c38", kill_on_drop: false }` [INFO] [stdout] cc3eb1cc60ecbb2a311a3416ea0fb72d181fe102ff087492e810fc27cdd93c38