[INFO] cloning repository https://github.com/TravStanley/client-server-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/TravStanley/client-server-chat-app" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTravStanley%2Fclient-server-chat-app", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTravStanley%2Fclient-server-chat-app'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 745effaab257da45820fc2e7e608456fe11c79c7 [INFO] checking TravStanley/client-server-chat-app against try#87f2ecc56b5f6032b075c8934ebc77f28d57183c for pr-148190 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTravStanley%2Fclient-server-chat-app" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/TravStanley/client-server-chat-app [INFO] finished tweaking git repo https://github.com/TravStanley/client-server-chat-app [INFO] tweaked toml for git repo https://github.com/TravStanley/client-server-chat-app written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/TravStanley/client-server-chat-app on toolchain 87f2ecc56b5f6032b075c8934ebc77f28d57183c [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+87f2ecc56b5f6032b075c8934ebc77f28d57183c" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/TravStanley/client-server-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" "+87f2ecc56b5f6032b075c8934ebc77f28d57183c" "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-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:94a0c148923f5b2b52a63ef0eeb1882ad339ab61bce784c8077cbe41c61feb6c" "/opt/rustwide/cargo-home/bin/cargo" "+87f2ecc56b5f6032b075c8934ebc77f28d57183c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 836eb19bee78a36b8745f6dd6181df19fc0d3adfcd3a675cb0e528d4046d718c [INFO] running `Command { std: "docker" "start" "-a" "836eb19bee78a36b8745f6dd6181df19fc0d3adfcd3a675cb0e528d4046d718c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "836eb19bee78a36b8745f6dd6181df19fc0d3adfcd3a675cb0e528d4046d718c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "836eb19bee78a36b8745f6dd6181df19fc0d3adfcd3a675cb0e528d4046d718c", kill_on_drop: false }` [INFO] [stdout] 836eb19bee78a36b8745f6dd6181df19fc0d3adfcd3a675cb0e528d4046d718c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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" "-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:94a0c148923f5b2b52a63ef0eeb1882ad339ab61bce784c8077cbe41c61feb6c" "/opt/rustwide/cargo-home/bin/cargo" "+87f2ecc56b5f6032b075c8934ebc77f28d57183c" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e3508b202e61b8b91ade93075be3f8c8b4ad703aee136d9a702ddb467996b6df [INFO] running `Command { std: "docker" "start" "-a" "e3508b202e61b8b91ade93075be3f8c8b4ad703aee136d9a702ddb467996b6df", kill_on_drop: false }` [INFO] [stderr] Checking client-server-chat-app v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0583]: file not found for module `server` [INFO] [stdout] --> src/main.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | mod server; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: to create the module `server`, create file "src/server.rs" or "src/server/mod.rs" [INFO] [stdout] = note: if there is a `mod server` elsewhere in the crate already, import it with `use crate::...` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tokio` [INFO] [stdout] --> src/client.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use tokio::io::Interest; [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `tokio` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `tokio`, use `cargo add tokio` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tokio` [INFO] [stdout] --> src/client.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use tokio::net::TcpStream; [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `tokio` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `tokio`, use `cargo add tokio` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tokio` [INFO] [stdout] --> src/client.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use tokio::time::{Duration, interval}; [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `tokio` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `tokio`, use `cargo add tokio` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `clap` [INFO] [stdout] --> src/cli.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use clap::{Parser, Subcommand}; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `clap` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `clap`, use `cargo add clap` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `clap` [INFO] [stdout] --> src/enums/mode.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use clap::ValueEnum; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `clap` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `clap`, use `cargo add clap` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `clap` [INFO] [stdout] --> src/main.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use clap::Parser; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `clap` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `clap`, use `cargo add clap` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tokio` [INFO] [stdout] --> src/client.rs:40:13 [INFO] [stdout] | [INFO] [stdout] 40 | tokio::select! { [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tokio` [INFO] [stdout] --> src/main.rs:12:3 [INFO] [stdout] | [INFO] [stdout] 12 | #[tokio::main] [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0583]: file not found for module `server` [INFO] [stdout] --> src/main.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | mod server; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: to create the module `server`, create file "src/server.rs" or "src/server/mod.rs" [INFO] [stdout] = note: if there is a `mod server` elsewhere in the crate already, import it with `use crate::...` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tokio` [INFO] [stdout] --> src/client.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use tokio::io::Interest; [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `tokio` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `tokio`, use `cargo add tokio` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tokio` [INFO] [stdout] --> src/client.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use tokio::net::TcpStream; [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `tokio` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `tokio`, use `cargo add tokio` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tokio` [INFO] [stdout] --> src/client.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use tokio::time::{Duration, interval}; [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `tokio` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `tokio`, use `cargo add tokio` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `clap` [INFO] [stdout] --> src/cli.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use clap::{Parser, Subcommand}; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `clap` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `clap`, use `cargo add clap` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `clap` [INFO] [stdout] --> src/enums/mode.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use clap::ValueEnum; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `clap` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `clap`, use `cargo add clap` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `clap` [INFO] [stdout] --> src/main.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use clap::Parser; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `clap` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `clap`, use `cargo add clap` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tokio` [INFO] [stdout] --> src/client.rs:40:13 [INFO] [stdout] | [INFO] [stdout] 40 | tokio::select! { [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tokio` [INFO] [stdout] --> src/main.rs:12:3 [INFO] [stdout] | [INFO] [stdout] 12 | #[tokio::main] [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `command` in this scope [INFO] [stdout] --> src/cli.rs:4:3 [INFO] [stdout] | [INFO] [stdout] 4 | #[command(name = "messaging-server", about = "A TCP async message service")] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `command` in this scope [INFO] [stdout] --> src/cli.rs:6:7 [INFO] [stdout] | [INFO] [stdout] 6 | #[command(subcommand)] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `command` in this scope [INFO] [stdout] --> src/cli.rs:4:3 [INFO] [stdout] | [INFO] [stdout] 4 | #[command(name = "messaging-server", about = "A TCP async message service")] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `command` in this scope [INFO] [stdout] --> src/cli.rs:6:7 [INFO] [stdout] | [INFO] [stdout] 6 | #[command(subcommand)] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/client.rs:26:17 [INFO] [stdout] | [INFO] [stdout] 26 | let ready_name = self.stream.ready(Interest::WRITABLE).await?; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 27 | if ready_name.is_writable() { [INFO] [stdout] | ---------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `ready_name` an explicit type [INFO] [stdout] | [INFO] [stdout] 26 | let ready_name: /* Type */ = self.stream.ready(Interest::WRITABLE).await?; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/client.rs:33:35 [INFO] [stdout] | [INFO] [stdout] 33 | Err(ref e) if e.kind() == io::ErrorKind::WouldBlock => continue, [INFO] [stdout] | ^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/client.rs:34:42 [INFO] [stdout] | [INFO] [stdout] 34 | Err(e) => return Err(e.into()), [INFO] [stdout] | ^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/client.rs:73:9 [INFO] [stdout] | [INFO] [stdout] 39 | / loop { [INFO] [stdout] 40 | | tokio::select! { [INFO] [stdout] 41 | | ready = self.stream.ready(Interest::READABLE) => { [INFO] [stdout] 42 | | let ready = ready?; [INFO] [stdout] ... | [INFO] [stdout] 71 | | } [INFO] [stdout] | |_________- any code following this expression is unreachable [INFO] [stdout] 72 | [INFO] [stdout] 73 | Ok(()) [INFO] [stdout] | ^^^^^^ unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/client.rs:26:17 [INFO] [stdout] | [INFO] [stdout] 26 | let ready_name = self.stream.ready(Interest::WRITABLE).await?; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 27 | if ready_name.is_writable() { [INFO] [stdout] | ---------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `ready_name` an explicit type [INFO] [stdout] | [INFO] [stdout] 26 | let ready_name: /* Type */ = self.stream.ready(Interest::WRITABLE).await?; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/client.rs:33:35 [INFO] [stdout] | [INFO] [stdout] 33 | Err(ref e) if e.kind() == io::ErrorKind::WouldBlock => continue, [INFO] [stdout] | ^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/client.rs:34:42 [INFO] [stdout] | [INFO] [stdout] 34 | Err(e) => return Err(e.into()), [INFO] [stdout] | ^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/client.rs:73:9 [INFO] [stdout] | [INFO] [stdout] 39 | / loop { [INFO] [stdout] 40 | | tokio::select! { [INFO] [stdout] 41 | | ready = self.stream.ready(Interest::READABLE) => { [INFO] [stdout] 42 | | let ready = ready?; [INFO] [stdout] ... | [INFO] [stdout] 71 | | } [INFO] [stdout] | |_________- any code following this expression is unreachable [INFO] [stdout] 72 | [INFO] [stdout] 73 | Ok(()) [INFO] [stdout] | ^^^^^^ unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `parse` found for struct `Cli` in the current scope [INFO] [stdout] --> src/main.rs:14:20 [INFO] [stdout] | [INFO] [stdout] 14 | let cli = Cli::parse(); [INFO] [stdout] | ^^^^^ function or associated item not found in `Cli` [INFO] [stdout] | [INFO] [stdout] ::: src/cli.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Cli { [INFO] [stdout] | -------------- function or associated item `parse` not found for this struct [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `parse` found for struct `Cli` in the current scope [INFO] [stdout] --> src/main.rs:14:20 [INFO] [stdout] | [INFO] [stdout] 14 | let cli = Cli::parse(); [INFO] [stdout] | ^^^^^ function or associated item not found in `Cli` [INFO] [stdout] | [INFO] [stdout] ::: src/cli.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Cli { [INFO] [stdout] | -------------- function or associated item `parse` not found for this struct [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0752]: `main` function is not allowed to be `async` [INFO] [stdout] --> src/main.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | async fn main() -> Result<(), Box> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `main` function is not allowed to be `async` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0432, E0433, E0583, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0432, E0433, E0583, E0599, E0752. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stderr] error: could not compile `client-server-chat-app` (bin "client-server-chat-app" test) due to 15 previous errors; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `client-server-chat-app` (bin "client-server-chat-app") due to 16 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "e3508b202e61b8b91ade93075be3f8c8b4ad703aee136d9a702ddb467996b6df", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e3508b202e61b8b91ade93075be3f8c8b4ad703aee136d9a702ddb467996b6df", kill_on_drop: false }` [INFO] [stdout] e3508b202e61b8b91ade93075be3f8c8b4ad703aee136d9a702ddb467996b6df