[INFO] cloning repository https://github.com/chandresh2727/Chat-APP [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/chandresh2727/Chat-APP" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fchandresh2727%2FChat-APP", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fchandresh2727%2FChat-APP'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 25c0f022235b5cc7cc7cfc01d050b7b52b08e562 [INFO] checking chandresh2727/Chat-APP against master#40daf23eeb711dadf140b2536e67e3ff4c999196 for pr-142287 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fchandresh2727%2FChat-APP" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/chandresh2727/Chat-APP on toolchain 40daf23eeb711dadf140b2536e67e3ff4c999196 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+40daf23eeb711dadf140b2536e67e3ff4c999196" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/chandresh2727/Chat-APP [INFO] finished tweaking git repo https://github.com/chandresh2727/Chat-APP [INFO] tweaked toml for git repo https://github.com/chandresh2727/Chat-APP written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/chandresh2727/Chat-APP 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" "+40daf23eeb711dadf140b2536e67e3ff4c999196" "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-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+40daf23eeb711dadf140b2536e67e3ff4c999196" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 740d0ea7a52c2ada701f20da41211a7ae1b090bb586b37cfc0aa1ba81e325eb3 [INFO] running `Command { std: "docker" "start" "-a" "740d0ea7a52c2ada701f20da41211a7ae1b090bb586b37cfc0aa1ba81e325eb3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "740d0ea7a52c2ada701f20da41211a7ae1b090bb586b37cfc0aa1ba81e325eb3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "740d0ea7a52c2ada701f20da41211a7ae1b090bb586b37cfc0aa1ba81e325eb3", kill_on_drop: false }` [INFO] [stdout] 740d0ea7a52c2ada701f20da41211a7ae1b090bb586b37cfc0aa1ba81e325eb3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+40daf23eeb711dadf140b2536e67e3ff4c999196" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e62556fdab3d64c6cea30ca311bec394ec9fac2f96c6345e9f799aea2a6d6520 [INFO] running `Command { std: "docker" "start" "-a" "e62556fdab3d64c6cea30ca311bec394ec9fac2f96c6345e9f799aea2a6d6520", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.147 [INFO] [stderr] Compiling proc-macro2 v1.0.66 [INFO] [stderr] Compiling unicode-ident v1.0.11 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling parking_lot_core v0.9.8 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Checking smallvec v1.11.0 [INFO] [stderr] Checking bytes v1.5.0 [INFO] [stderr] Checking pin-project-lite v0.2.13 [INFO] [stderr] Compiling lock_api v0.4.10 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Checking signal-hook-registry v1.4.1 [INFO] [stderr] Checking socket2 v0.5.3 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking mio v0.8.8 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Compiling syn v2.0.31 [INFO] [stderr] Compiling tokio-macros v2.1.0 [INFO] [stderr] Checking tokio v1.32.0 [INFO] [stderr] Checking rust_chat_app v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::thread` [INFO] [stdout] --> src/server.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::thread; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::thread` [INFO] [stdout] --> src/server.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::thread; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/server.rs:16:19 [INFO] [stdout] | [INFO] [stdout] 16 | while let Ok((mut socket, _)) = listener.accept().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: variable does not need to be mutable [INFO] [stdout] --> src/server.rs:16:19 [INFO] [stdout] | [INFO] [stdout] 16 | while let Ok((mut socket, _)) = listener.accept().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] error[E0599]: the method `read_line` exists for struct `tokio::io::Stdin`, but its trait bounds were not satisfied [INFO] [stdout] --> src/client.rs:47:21 [INFO] [stdout] | [INFO] [stdout] 47 | io::stdin().read_line(&mut user_input).await?; // No need to use .lock() here [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.32.0/src/io/stdin.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 29 | pub struct Stdin { [INFO] [stdout] | ---------------- doesn't satisfy `tokio::io::Stdin: AsyncBufReadExt` or `tokio::io::Stdin: AsyncBufRead` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `tokio::io::Stdin: AsyncBufRead` [INFO] [stdout] which is required by `tokio::io::Stdin: AsyncBufReadExt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/client.rs:53:5 [INFO] [stdout] | [INFO] [stdout] 46 | / loop { [INFO] [stdout] 47 | | io::stdin().read_line(&mut user_input).await?; // No need to use .lock() here [INFO] [stdout] 48 | | writer.write_all(user_input.as_bytes()).await?; [INFO] [stdout] 49 | | writer.flush().await?; [INFO] [stdout] 50 | | user_input.clear(); [INFO] [stdout] 51 | | } [INFO] [stdout] | |_____- any code following this expression is unreachable [INFO] [stdout] 52 | [INFO] [stdout] 53 | Ok(()) [INFO] [stdout] | ^^^^^^ unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0599`. [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `read_line` exists for struct `tokio::io::Stdin`, but its trait bounds were not satisfied [INFO] [stdout] --> src/client.rs:47:21 [INFO] [stdout] | [INFO] [stdout] 47 | io::stdin().read_line(&mut user_input).await?; // No need to use .lock() here [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.32.0/src/io/stdin.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 29 | pub struct Stdin { [INFO] [stdout] | ---------------- doesn't satisfy `tokio::io::Stdin: AsyncBufReadExt` or `tokio::io::Stdin: AsyncBufRead` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `tokio::io::Stdin: AsyncBufRead` [INFO] [stdout] which is required by `tokio::io::Stdin: AsyncBufReadExt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/client.rs:53:5 [INFO] [stdout] | [INFO] [stdout] 46 | / loop { [INFO] [stdout] 47 | | io::stdin().read_line(&mut user_input).await?; // No need to use .lock() here [INFO] [stdout] 48 | | writer.write_all(user_input.as_bytes()).await?; [INFO] [stdout] 49 | | writer.flush().await?; [INFO] [stdout] 50 | | user_input.clear(); [INFO] [stdout] 51 | | } [INFO] [stdout] | |_____- any code following this expression is unreachable [INFO] [stdout] 52 | [INFO] [stdout] 53 | Ok(()) [INFO] [stdout] | ^^^^^^ unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rust_chat_app` (bin "client") due to 1 previous error; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] For more information about this error, try `rustc --explain E0599`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rust_chat_app` (bin "client" test) due to 1 previous error; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "e62556fdab3d64c6cea30ca311bec394ec9fac2f96c6345e9f799aea2a6d6520", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e62556fdab3d64c6cea30ca311bec394ec9fac2f96c6345e9f799aea2a6d6520", kill_on_drop: false }` [INFO] [stdout] e62556fdab3d64c6cea30ca311bec394ec9fac2f96c6345e9f799aea2a6d6520