[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 1.59.0 for beta-1.60-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fityy%2Frust_async_chat" "/workspace/builds/worker-7/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/ityy/rust_async_chat on toolchain 1.59.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.59.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", 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-7/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" "+1.59.0" "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-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+1.59.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 39f17683ad1964094927966ca0b6f77379063da4d8417598f0916de7822f72fd [INFO] running `Command { std: "docker" "start" "-a" "39f17683ad1964094927966ca0b6f77379063da4d8417598f0916de7822f72fd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "39f17683ad1964094927966ca0b6f77379063da4d8417598f0916de7822f72fd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "39f17683ad1964094927966ca0b6f77379063da4d8417598f0916de7822f72fd", kill_on_drop: false }` [INFO] [stdout] 39f17683ad1964094927966ca0b6f77379063da4d8417598f0916de7822f72fd [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+1.59.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 66a4d760e7e21fa1ee8661c13271787105250837d6d1e708330fab93eee3887a [INFO] running `Command { std: "docker" "start" "-a" "66a4d760e7e21fa1ee8661c13271787105250837d6d1e708330fab93eee3887a", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling syn v1.0.8 [INFO] [stderr] Compiling futures-core v0.3.1 [INFO] [stderr] Compiling log v0.4.8 [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 futures-timer v2.0.2 [INFO] [stderr] Compiling pin-project-lite v0.1.1 [INFO] [stderr] Compiling crossbeam-utils v0.7.0 [INFO] [stderr] Compiling crossbeam-epoch v0.8.0 [INFO] [stderr] Compiling crossbeam-utils v0.6.6 [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 futures-channel v0.3.1 [INFO] [stderr] Compiling async-macros v2.0.0 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling async-task v1.0.0 [INFO] [stderr] Compiling mio v0.6.19 [INFO] [stderr] Compiling kv-log-macro v1.0.4 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling crossbeam-channel v0.4.0 [INFO] [stderr] Compiling memoffset v0.5.3 [INFO] [stderr] Compiling mio-uds v0.6.7 [INFO] [stderr] Compiling crossbeam-deque v0.7.2 [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` due to 2 previous errors; 4 warnings emitted [INFO] running `Command { std: "docker" "inspect" "66a4d760e7e21fa1ee8661c13271787105250837d6d1e708330fab93eee3887a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "66a4d760e7e21fa1ee8661c13271787105250837d6d1e708330fab93eee3887a", kill_on_drop: false }` [INFO] [stdout] 66a4d760e7e21fa1ee8661c13271787105250837d6d1e708330fab93eee3887a