[INFO] cloning repository https://github.com/ityy/rust_async_chat
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ityy/rust_async_chat" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fityy%2Frust_async_chat", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fityy%2Frust_async_chat'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] cf278c79717ed7ba3b8e8a112ab19f8f1d8052a3
[INFO] testing ityy/rust_async_chat against beta-2020-10-09 for beta-1.48-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fityy%2Frust_async_chat" "/workspace/builds/worker-4/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-4/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/ityy/rust_async_chat on toolchain beta-2020-10-09
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2020-10-09" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/ityy/rust_async_chat
[INFO] finished tweaking git repo https://github.com/ityy/rust_async_chat
[INFO] tweaked toml for git repo https://github.com/ityy/rust_async_chat written to /workspace/builds/worker-4/source/Cargo.toml
[INFO] crate git repo https://github.com/ityy/rust_async_chat already has a lockfile, it will not be regenerated
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2020-10-09" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2020-10-09" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 8f0539a6219c5c3342a8e3aa6fbd6b41f8b9fb1d2366b4d864bae83da909053b
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "8f0539a6219c5c3342a8e3aa6fbd6b41f8b9fb1d2366b4d864bae83da909053b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "8f0539a6219c5c3342a8e3aa6fbd6b41f8b9fb1d2366b4d864bae83da909053b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "8f0539a6219c5c3342a8e3aa6fbd6b41f8b9fb1d2366b4d864bae83da909053b", kill_on_drop: false }`
[INFO] [stdout] 8f0539a6219c5c3342a8e3aa6fbd6b41f8b9fb1d2366b4d864bae83da909053b
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2020-10-09" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 76b43844f601b0cf059cdcd9c87cfafaea9a5771c392573e015afaaeb788cf32
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "76b43844f601b0cf059cdcd9c87cfafaea9a5771c392573e015afaaeb788cf32", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.6
[INFO] [stderr]    Compiling autocfg v0.1.7
[INFO] [stderr]    Compiling semver-parser v0.7.0
[INFO] [stderr]    Compiling libc v0.2.65
[INFO] [stderr]    Compiling syn v1.0.8
[INFO] [stderr]    Compiling memchr v2.2.1
[INFO] [stderr]    Compiling futures-core v0.3.1
[INFO] [stderr]    Compiling log v0.4.8
[INFO] [stderr]    Compiling slab v0.4.2
[INFO] [stderr]    Compiling proc-macro-nested v0.1.3
[INFO] [stderr]    Compiling pin-utils v0.1.0-alpha.4
[INFO] [stderr]    Compiling futures-sink v0.3.1
[INFO] [stderr]    Compiling futures-io v0.3.1
[INFO] [stderr]    Compiling futures-task v0.3.1
[INFO] [stderr]    Compiling scopeguard v1.0.0
[INFO] [stderr]    Compiling once_cell v1.2.0
[INFO] [stderr]    Compiling futures-timer v2.0.2
[INFO] [stderr]    Compiling pin-project-lite v0.1.1
[INFO] [stderr]    Compiling crossbeam-utils v0.6.6
[INFO] [stderr]    Compiling semver v0.9.0
[INFO] [stderr]    Compiling futures-channel v0.3.1
[INFO] [stderr]    Compiling async-macros v2.0.0
[INFO] [stderr]    Compiling crossbeam-utils v0.7.0
[INFO] [stderr]    Compiling crossbeam-epoch v0.8.0
[INFO] [stderr]    Compiling rustc_version v0.2.3
[INFO] [stderr]    Compiling async-task v1.0.0
[INFO] [stderr]    Compiling kv-log-macro v1.0.4
[INFO] [stderr]    Compiling memoffset v0.5.3
[INFO] [stderr]    Compiling crossbeam-channel v0.4.0
[INFO] [stderr]    Compiling net2 v0.2.33
[INFO] [stderr]    Compiling iovec v0.1.4
[INFO] [stderr]    Compiling num_cpus v1.11.1
[INFO] [stderr]    Compiling quote v1.0.2
[INFO] [stderr]    Compiling mio v0.6.19
[INFO] [stderr]    Compiling crossbeam-deque v0.7.2
[INFO] [stderr]    Compiling mio-uds v0.6.7
[INFO] [stderr]    Compiling async-std v1.2.0
[INFO] [stderr]    Compiling proc-macro-hack v0.5.11
[INFO] [stderr]    Compiling futures-macro v0.3.1
[INFO] [stderr]    Compiling futures-util v0.3.1
[INFO] [stderr]    Compiling futures-executor v0.3.1
[INFO] [stderr]    Compiling futures v0.3.1
[INFO] [stderr]    Compiling rust_async_chat v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `task`
[INFO] [stdout]  --> src/t01_accept_loop.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 |     task, // 2
[INFO] [stdout]   |     ^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Entry`, `HashMap`
[INFO] [stdout]  --> src/t04_connecting_readers_and_writers.rs:9:34
[INFO] [stdout]   |
[INFO] [stdout] 9 | use std::collections::hash_map::{Entry, HashMap};
[INFO] [stdout]   |                                  ^^^^^  ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0601]: `main` function not found in crate `rust_async_chat`
[INFO] [stdout]   --> src/main.rs:1:1
[INFO] [stdout]    |
[INFO] [stdout] 1  | / //! 规格与说明
[INFO] [stdout] 2  | | //! 聊天使用基于TCP的简单文本协议。该协议包含utf-8消息，以\n分隔。
[INFO] [stdout] 3  | | //! 客户端连接到服务器，并作为第一行发送登录信息。之后，客户端可以使用以下语法将消息发送给其他客户端：                                              ...
[INFO] [stdout] 4  | | //! login1, login2, ... loginN: message
[INFO] [stdout] ...  |
[INFO] [stdout] 20 | | //mod t03_sending_messages;
[INFO] [stdout] 21 | | mod t04_connecting_readers_and_writers;
[INFO] [stdout]    | |_______________________________________^ consider adding a `main` function to `src/main.rs`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `AsyncReadExt`
[INFO] [stdout]   --> src/t02_receiving_messages.rs:10:15
[INFO] [stdout]    |
[INFO] [stdout] 10 | use futures::{AsyncReadExt, Future, FutureExt, StreamExt};
[INFO] [stdout]    |               ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `FutureExt`
[INFO] [stdout]   --> src/t02_receiving_messages.rs:10:37
[INFO] [stdout]    |
[INFO] [stdout] 10 | use futures::{AsyncReadExt, Future, FutureExt, StreamExt};
[INFO] [stdout]    |                                     ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to previous error; 4 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0601`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `rust_async_chat`
[INFO] [stderr] 
[INFO] [stderr] To learn more, run the command again with --verbose.
[INFO] running `Command { std: "docker" "inspect" "76b43844f601b0cf059cdcd9c87cfafaea9a5771c392573e015afaaeb788cf32", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "76b43844f601b0cf059cdcd9c87cfafaea9a5771c392573e015afaaeb788cf32", kill_on_drop: false }`
[INFO] [stdout] 76b43844f601b0cf059cdcd9c87cfafaea9a5771c392573e015afaaeb788cf32
