[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 master#caccb4d0368bd918ef6668af8e13834d07040417 for pr-146098-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fityy%2Frust_async_chat" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [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-0-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/ityy/rust_async_chat on toolchain caccb4d0368bd918ef6668af8e13834d07040417 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/ityy/rust_async_chat 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" "+caccb4d0368bd918ef6668af8e13834d07040417" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded async-task v1.0.0 [INFO] [stderr] Downloaded mio-uds v0.6.7 [INFO] [stderr] Downloaded async-std v1.2.0 [INFO] [stderr] Downloaded scopeguard v1.0.0 [INFO] [stderr] Downloaded futures-core v0.3.1 [INFO] [stderr] Downloaded proc-macro2 v1.0.6 [INFO] [stderr] Downloaded proc-macro-hack v0.5.11 [INFO] [stderr] Downloaded futures v0.3.1 [INFO] [stderr] Downloaded futures-timer v2.0.2 [INFO] [stderr] Downloaded futures-macro v0.3.1 [INFO] [stderr] Downloaded libc v0.2.65 [INFO] [stderr] Downloaded syn v1.0.8 [INFO] [stderr] Downloaded crossbeam-deque v0.7.2 [INFO] [stderr] Downloaded async-macros v2.0.0 [INFO] [stderr] Downloaded kv-log-macro v1.0.4 [INFO] [stderr] Downloaded memoffset v0.5.3 [INFO] [stderr] Downloaded futures-executor v0.3.1 [INFO] [stderr] Downloaded futures-task v0.3.1 [INFO] [stderr] Downloaded mio v0.6.19 [INFO] [stderr] Downloaded futures-io v0.3.1 [INFO] [stderr] Downloaded num_cpus v1.11.1 [INFO] [stderr] Downloaded once_cell v1.2.0 [INFO] [stderr] Downloaded proc-macro-nested v0.1.3 [INFO] [stderr] Downloaded pin-utils v0.1.0-alpha.4 [INFO] [stderr] Downloaded crossbeam-epoch v0.8.0 [INFO] [stderr] Downloaded futures-sink v0.3.1 [INFO] [stderr] Downloaded crossbeam-utils v0.7.0 [INFO] [stderr] Downloaded futures-channel v0.3.1 [INFO] [stderr] Downloaded hermit-abi v0.1.3 [INFO] [stderr] Downloaded futures-util v0.3.1 [INFO] [stderr] Downloaded quote v1.0.2 [INFO] [stderr] Downloaded crossbeam-channel v0.4.0 [INFO] [stderr] Downloaded pin-project-lite v0.1.1 [INFO] [stderr] Downloaded net2 v0.2.33 [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9b75b796bbc6e2f38d5e57bb5cc0575a8b638d677c2a420501fb28424085090b [INFO] running `Command { std: "docker" "start" "-a" "9b75b796bbc6e2f38d5e57bb5cc0575a8b638d677c2a420501fb28424085090b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9b75b796bbc6e2f38d5e57bb5cc0575a8b638d677c2a420501fb28424085090b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9b75b796bbc6e2f38d5e57bb5cc0575a8b638d677c2a420501fb28424085090b", kill_on_drop: false }` [INFO] [stdout] 9b75b796bbc6e2f38d5e57bb5cc0575a8b638d677c2a420501fb28424085090b [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b4888a4de0ccd15b92c8765389bdeb40e3b8b080bfc1d9c2ee6de4339b8cbdf6 [INFO] running `Command { std: "docker" "start" "-a" "b4888a4de0ccd15b92c8765389bdeb40e3b8b080bfc1d9c2ee6de4339b8cbdf6", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v0.1.7 [INFO] [stderr] Compiling proc-macro2 v1.0.6 [INFO] [stderr] Compiling unicode-xid v0.2.0 [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 futures-core v0.3.1 [INFO] [stderr] Compiling slab v0.4.2 [INFO] [stderr] Compiling memchr v2.2.1 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling proc-macro-nested v0.1.3 [INFO] [stderr] Compiling pin-utils v0.1.0-alpha.4 [INFO] [stderr] Compiling futures-io v0.3.1 [INFO] [stderr] Compiling crossbeam-utils v0.7.0 [INFO] [stderr] Compiling memoffset v0.5.3 [INFO] [stderr] Compiling crossbeam-epoch v0.8.0 [INFO] [stderr] Compiling futures-sink v0.3.1 [INFO] [stderr] Compiling futures-channel v0.3.1 [INFO] [stderr] Compiling net2 v0.2.33 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling scopeguard v1.0.0 [INFO] [stderr] Compiling futures-task v0.3.1 [INFO] [stderr] Compiling crossbeam-utils v0.6.6 [INFO] [stderr] Compiling num_cpus v1.11.1 [INFO] [stderr] Compiling kv-log-macro v1.0.4 [INFO] [stderr] Compiling async-macros v2.0.0 [INFO] [stderr] Compiling quote v1.0.2 [INFO] [stderr] Compiling pin-project-lite v0.1.1 [INFO] [stderr] Compiling futures-timer v2.0.2 [INFO] [stderr] Compiling mio v0.6.19 [INFO] [stderr] Compiling async-task v1.0.0 [INFO] [stderr] Compiling crossbeam-channel v0.4.0 [INFO] [stderr] Compiling once_cell v1.2.0 [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)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Entry` and `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:21:40 [INFO] [stdout] | [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 variable: `dest` [INFO] [stdout] --> src/t02_receiving_messages.rs:60:13 [INFO] [stdout] | [INFO] [stdout] 60 | let dest: Vec = dest.split(',').map(|name| name.trim().to_string()).collect(); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_dest` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `msg` [INFO] [stdout] --> src/t02_receiving_messages.rs:61:13 [INFO] [stdout] | [INFO] [stdout] 61 | let msg: String = msg.trim().to_string(); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_msg` [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] 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] For more information about this error, try `rustc --explain E0601`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rust_async_chat` (bin "rust_async_chat") due to 1 previous error; 6 warnings emitted [INFO] running `Command { std: "docker" "inspect" "b4888a4de0ccd15b92c8765389bdeb40e3b8b080bfc1d9c2ee6de4339b8cbdf6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b4888a4de0ccd15b92c8765389bdeb40e3b8b080bfc1d9c2ee6de4339b8cbdf6", kill_on_drop: false }` [INFO] [stdout] b4888a4de0ccd15b92c8765389bdeb40e3b8b080bfc1d9c2ee6de4339b8cbdf6