[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 master#cdb45c87e2cd43495379f7e867e3cc15dcee9f93 for pr-145838-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fevopen%2Fasync-playground" "/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/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-3-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/evopen/async-playground on toolchain cdb45c87e2cd43495379f7e867e3cc15dcee9f93 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/evopen/async-playground 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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded async-tungstenite v0.10.0 [INFO] [stderr] Downloaded tokio-tungstenite v0.12.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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6c7ea71b2906d0c8e5e8193880180326952a052cc1551745f8f8dbf31b78b976 [INFO] running `Command { std: "docker" "start" "-a" "6c7ea71b2906d0c8e5e8193880180326952a052cc1551745f8f8dbf31b78b976", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6c7ea71b2906d0c8e5e8193880180326952a052cc1551745f8f8dbf31b78b976", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6c7ea71b2906d0c8e5e8193880180326952a052cc1551745f8f8dbf31b78b976", kill_on_drop: false }` [INFO] [stdout] 6c7ea71b2906d0c8e5e8193880180326952a052cc1551745f8f8dbf31b78b976 [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1580a206a2fb84c1120d1642876ca636e3903144b76c5265bd1c8084b8e22884 [INFO] running `Command { std: "docker" "start" "-a" "1580a206a2fb84c1120d1642876ca636e3903144b76c5265bd1c8084b8e22884", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.80 [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Compiling futures-core v0.3.8 [INFO] [stderr] Compiling syn v1.0.48 [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Compiling futures-io v0.3.8 [INFO] [stderr] Compiling once_cell v1.5.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 crossbeam-utils v0.8.0 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Compiling getrandom v0.1.15 [INFO] [stderr] Compiling slab v0.4.2 [INFO] [stderr] Compiling proc-macro-nested v0.1.6 [INFO] [stderr] Compiling matches v0.1.8 [INFO] [stderr] Compiling ppv-lite86 v0.2.10 [INFO] [stderr] Compiling cache-padded v1.1.1 [INFO] [stderr] Compiling concurrent-queue v1.2.2 [INFO] [stderr] Compiling tinyvec v1.1.0 [INFO] [stderr] Compiling memoffset v0.5.6 [INFO] [stderr] Compiling pin-project-lite v0.1.11 [INFO] [stderr] Compiling parking v2.0.0 [INFO] [stderr] Compiling futures-sink v0.3.8 [INFO] [stderr] Compiling waker-fn v1.1.0 [INFO] [stderr] Compiling fastrand v1.4.0 [INFO] [stderr] Compiling futures-channel v0.3.8 [INFO] [stderr] Compiling futures-task v0.3.8 [INFO] [stderr] Compiling unicode-bidi v0.3.4 [INFO] [stderr] Compiling httparse v1.3.4 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling bytes v0.5.6 [INFO] [stderr] Compiling getrandom v0.2.0 [INFO] [stderr] Compiling form_urlencoded v1.0.0 [INFO] [stderr] Compiling itoa v0.4.6 [INFO] [stderr] Compiling opaque-debug v0.3.0 [INFO] [stderr] Compiling event-listener v2.5.1 [INFO] [stderr] Compiling cpuid-bool v0.1.2 [INFO] [stderr] Compiling futures-lite v1.11.2 [INFO] [stderr] Compiling rayon-core v1.9.0 [INFO] [stderr] Compiling async-task v4.0.3 [INFO] [stderr] Compiling vec-arena v1.0.0 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling polling v2.0.2 [INFO] [stderr] Compiling nb-connect v1.0.2 [INFO] [stderr] Compiling tokio v0.3.6 [INFO] [stderr] Compiling pin-project-lite v0.2.0 [INFO] [stderr] Compiling utf-8 v0.7.5 [INFO] [stderr] Compiling crossbeam-epoch v0.9.0 [INFO] [stderr] Compiling crossbeam-channel v0.5.0 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling mio v0.7.6 [INFO] [stderr] Compiling unicode-normalization v0.1.16 [INFO] [stderr] Compiling rand_core v0.6.0 [INFO] [stderr] Compiling async-channel v1.5.1 [INFO] [stderr] Compiling rayon v1.5.0 [INFO] [stderr] Compiling atomic-waker v1.0.0 [INFO] [stderr] Compiling bytes v0.6.0 [INFO] [stderr] Compiling async-mutex v1.4.0 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling crossbeam-deque v0.8.0 [INFO] [stderr] Compiling kv-log-macro v1.0.7 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling input_buffer v0.3.1 [INFO] [stderr] Compiling http v0.2.2 [INFO] [stderr] Compiling sha-1 v0.9.2 [INFO] [stderr] Compiling rand_chacha v0.3.0 [INFO] [stderr] Compiling rand v0.8.0 [INFO] [stderr] Compiling idna v0.2.0 [INFO] [stderr] Compiling async-io v1.2.0 [INFO] [stderr] Compiling async-executor v1.4.0 [INFO] [stderr] Compiling blocking v1.0.2 [INFO] [stderr] Compiling url v2.2.0 [INFO] [stderr] Compiling async-global-executor v1.4.3 [INFO] [stderr] Compiling async-std v1.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 async-tungstenite v0.10.0 [INFO] [stderr] Compiling tokio-tungstenite v0.12.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::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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `AsyncReadExt`, `BufReader`, and `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] 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)]` (part of `#[warn(unused)]`) 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] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 27.22s [INFO] running `Command { std: "docker" "inspect" "1580a206a2fb84c1120d1642876ca636e3903144b76c5265bd1c8084b8e22884", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1580a206a2fb84c1120d1642876ca636e3903144b76c5265bd1c8084b8e22884", kill_on_drop: false }` [INFO] [stdout] 1580a206a2fb84c1120d1642876ca636e3903144b76c5265bd1c8084b8e22884 [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ef49d484ca595068d8e74ccdda946e5cfbf8952e4202bb36b420975ca86c21ca [INFO] running `Command { std: "docker" "start" "-a" "ef49d484ca595068d8e74ccdda946e5cfbf8952e4202bb36b420975ca86c21ca", kill_on_drop: false }` [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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `AsyncReadExt`, `BufReader`, and `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] 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)]` (part of `#[warn(unused)]`) 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] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.69s [INFO] running `Command { std: "docker" "inspect" "ef49d484ca595068d8e74ccdda946e5cfbf8952e4202bb36b420975ca86c21ca", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ef49d484ca595068d8e74ccdda946e5cfbf8952e4202bb36b420975ca86c21ca", kill_on_drop: false }` [INFO] [stdout] ef49d484ca595068d8e74ccdda946e5cfbf8952e4202bb36b420975ca86c21ca [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] de8fe06cb1647db1121854e14726d3193b58eff21992a04db791718273d18229 [INFO] running `Command { std: "docker" "start" "-a" "de8fe06cb1647db1121854e14726d3193b58eff21992a04db791718273d18229", kill_on_drop: false }` [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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) 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::time::Duration` [INFO] [stderr] --> src/bin/server.rs:5:5 [INFO] [stderr] | [INFO] [stderr] 5 | use std::time::Duration; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused imports: `AsyncReadExt`, `BufReader`, and `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] 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)]` (part of `#[warn(unused)]`) 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 "client" test) generated 5 warnings (run `cargo fix --bin "client" --tests` to apply 4 suggestions) [INFO] [stderr] warning: `async-playground` (bin "server" test) generated 4 warnings (run `cargo fix --bin "server" --tests` to apply 3 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.17s [INFO] [stderr] Running unittests src/bin/client.rs (/opt/rustwide/target/debug/deps/client-5d60e6dc0878d57e) [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] [stderr] Running unittests src/bin/server.rs (/opt/rustwide/target/debug/deps/server-a6ba2aff6a58bd2a) [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" "de8fe06cb1647db1121854e14726d3193b58eff21992a04db791718273d18229", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "de8fe06cb1647db1121854e14726d3193b58eff21992a04db791718273d18229", kill_on_drop: false }` [INFO] [stdout] de8fe06cb1647db1121854e14726d3193b58eff21992a04db791718273d18229