[INFO] cloning repository https://github.com/Yuhanun/tcp-chat-server [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Yuhanun/tcp-chat-server" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FYuhanun%2Ftcp-chat-server", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FYuhanun%2Ftcp-chat-server'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 5661308ada8f62dde95c07a95ecc608b70265caf [INFO] checking Yuhanun/tcp-chat-server against try#87f2ecc56b5f6032b075c8934ebc77f28d57183c for pr-148190 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FYuhanun%2Ftcp-chat-server" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/Yuhanun/tcp-chat-server [INFO] finished tweaking git repo https://github.com/Yuhanun/tcp-chat-server [INFO] tweaked toml for git repo https://github.com/Yuhanun/tcp-chat-server written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/Yuhanun/tcp-chat-server 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/Yuhanun/tcp-chat-server 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-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] e49c40377f1e20c15d53f0464cd27cf4ffcafac88f5c161c98cfe4dfe9670b2a [INFO] running `Command { std: "docker" "start" "-a" "e49c40377f1e20c15d53f0464cd27cf4ffcafac88f5c161c98cfe4dfe9670b2a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e49c40377f1e20c15d53f0464cd27cf4ffcafac88f5c161c98cfe4dfe9670b2a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e49c40377f1e20c15d53f0464cd27cf4ffcafac88f5c161c98cfe4dfe9670b2a", kill_on_drop: false }` [INFO] [stdout] e49c40377f1e20c15d53f0464cd27cf4ffcafac88f5c161c98cfe4dfe9670b2a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] fbd1686248ed408206204024186b0da3b04fbb9fff197d4c2e8836eeabd5b543 [INFO] running `Command { std: "docker" "start" "-a" "fbd1686248ed408206204024186b0da3b04fbb9fff197d4c2e8836eeabd5b543", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.93 [INFO] [stderr] Checking tracing-core v0.1.33 [INFO] [stderr] Compiling nix v0.29.0 [INFO] [stderr] Checking parking_lot_core v0.9.10 [INFO] [stderr] Checking futures-channel v0.3.31 [INFO] [stderr] Checking mio v1.0.2 [INFO] [stderr] Checking signal-hook-registry v1.4.2 [INFO] [stderr] Checking socket2 v0.5.7 [INFO] [stderr] Compiling serde v1.0.217 [INFO] [stderr] Compiling anyhow v1.0.95 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Checking tracing-log v0.2.0 [INFO] [stderr] Checking tracing-subscriber v0.3.19 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling syn v2.0.96 [INFO] [stderr] Checking ctrlc v3.4.5 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling serde_derive v1.0.217 [INFO] [stderr] Compiling tracing-attributes v0.1.28 [INFO] [stderr] Checking tokio v1.43.0 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Checking tracing v0.1.41 [INFO] [stderr] Checking futures-executor v0.3.31 [INFO] [stderr] Checking futures v0.3.31 [INFO] [stderr] Checking tokio-util v0.7.13 [INFO] [stderr] Checking single-thread-async-server v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Message` [INFO] [stdout] --> src/decoder.rs:9:31 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::models::{ClientId, Message, Order}; [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: `Message` and `Trade` [INFO] [stdout] --> src/server.rs:14:24 [INFO] [stdout] | [INFO] [stdout] 14 | models::{ClientId, Message, OrderAck, Side, Trade}, [INFO] [stdout] | ^^^^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Message` [INFO] [stdout] --> src/decoder.rs:9:31 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::models::{ClientId, Message, Order}; [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: `Message` and `Trade` [INFO] [stdout] --> src/server.rs:14:24 [INFO] [stdout] | [INFO] [stdout] 14 | models::{ClientId, Message, OrderAck, Side, Trade}, [INFO] [stdout] | ^^^^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this method takes 1 argument but 2 arguments were supplied [INFO] [stdout] --> tests/test_server.rs:120:43 [INFO] [stdout] | [INFO] [stdout] 120 | tokio::spawn(async move { encoder.run(encoder_receiver, decoder_event_receiver).await }); [INFO] [stdout] | ^^^ ---------------------- unexpected argument #2 of type `tokio::sync::mpsc::Receiver` [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/encoder.rs:119:18 [INFO] [stdout] | [INFO] [stdout] 119 | pub async fn run(&mut self, mut receiver: Receiver) -> anyhow::Result<()> { [INFO] [stdout] | ^^^ [INFO] [stdout] help: remove the extra argument [INFO] [stdout] | [INFO] [stdout] 120 - tokio::spawn(async move { encoder.run(encoder_receiver, decoder_event_receiver).await }); [INFO] [stdout] 120 + tokio::spawn(async move { encoder.run(encoder_receiver).await }); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this method takes 4 arguments but 3 arguments were supplied [INFO] [stdout] --> tests/test_server.rs:125:14 [INFO] [stdout] | [INFO] [stdout] 125 | .run(encoder_sender, decoder_sender, cloned_cancellation_token) [INFO] [stdout] | ^^^ ------------------------- argument #3 of type `tokio::sync::mpsc::Receiver` is missing [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/server.rs:103:18 [INFO] [stdout] | [INFO] [stdout] 103 | pub async fn run( [INFO] [stdout] | ^^^ [INFO] [stdout] help: provide the argument [INFO] [stdout] | [INFO] [stdout] 125 | .run(encoder_sender, decoder_sender, /* tokio::sync::mpsc::Receiver */, cloned_cancellation_token) [INFO] [stdout] | ++++++++++++++++++++++++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `single-thread-async-server` (test "test_server") due to 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] For more information about this error, try `rustc --explain E0061`. [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "fbd1686248ed408206204024186b0da3b04fbb9fff197d4c2e8836eeabd5b543", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fbd1686248ed408206204024186b0da3b04fbb9fff197d4c2e8836eeabd5b543", kill_on_drop: false }` [INFO] [stdout] fbd1686248ed408206204024186b0da3b04fbb9fff197d4c2e8836eeabd5b543