[INFO] cloning repository https://github.com/ThanhTrangPhan/rust-day2 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ThanhTrangPhan/rust-day2" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FThanhTrangPhan%2Frust-day2", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FThanhTrangPhan%2Frust-day2'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] e0b36404367f8f4c400b311fdf1c250c38150b36 [INFO] checking ThanhTrangPhan/rust-day2 against try#8ea250bdb76176ecb0225baa34aa634b024ae0e2 for pr-101692 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FThanhTrangPhan%2Frust-day2" "/workspace/builds/worker-1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/ThanhTrangPhan/rust-day2 on toolchain 8ea250bdb76176ecb0225baa34aa634b024ae0e2 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8ea250bdb76176ecb0225baa34aa634b024ae0e2" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/ThanhTrangPhan/rust-day2 [INFO] finished tweaking git repo https://github.com/ThanhTrangPhan/rust-day2 [INFO] tweaked toml for git repo https://github.com/ThanhTrangPhan/rust-day2 written to /workspace/builds/worker-1/source/Cargo.toml [INFO] crate git repo https://github.com/ThanhTrangPhan/rust-day2 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8ea250bdb76176ecb0225baa34aa634b024ae0e2" "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/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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:824c28ce115f6b999260af6986f3384c158e782489540e41c0b698ca1d9fd927" "/opt/rustwide/cargo-home/bin/cargo" "+8ea250bdb76176ecb0225baa34aa634b024ae0e2" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a7d58e1be84341b693a7a0118ba850c7207ccc35c74999b6d9914029d5bb59d4 [INFO] running `Command { std: "docker" "start" "-a" "a7d58e1be84341b693a7a0118ba850c7207ccc35c74999b6d9914029d5bb59d4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a7d58e1be84341b693a7a0118ba850c7207ccc35c74999b6d9914029d5bb59d4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a7d58e1be84341b693a7a0118ba850c7207ccc35c74999b6d9914029d5bb59d4", kill_on_drop: false }` [INFO] [stdout] a7d58e1be84341b693a7a0118ba850c7207ccc35c74999b6d9914029d5bb59d4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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:824c28ce115f6b999260af6986f3384c158e782489540e41c0b698ca1d9fd927" "/opt/rustwide/cargo-home/bin/cargo" "+8ea250bdb76176ecb0225baa34aa634b024ae0e2" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] eed7c893f89e60cc623498dc7f6f2d52a630950f7b1582e15e79ecbccc0c8f02 [INFO] running `Command { std: "docker" "start" "-a" "eed7c893f89e60cc623498dc7f6f2d52a630950f7b1582e15e79ecbccc0c8f02", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.112 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling proc-macro2 v1.0.36 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling parking_lot_core v0.8.5 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling syn v1.0.85 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Checking smallvec v1.7.0 [INFO] [stderr] Checking pin-project-lite v0.2.8 [INFO] [stderr] Checking bytes v1.1.0 [INFO] [stderr] Checking once_cell v1.9.0 [INFO] [stderr] Checking instant v0.1.12 [INFO] [stderr] Checking lock_api v0.4.5 [INFO] [stderr] Compiling quote v1.0.14 [INFO] [stderr] Checking mio v0.7.14 [INFO] [stderr] Checking signal-hook-registry v1.4.0 [INFO] [stderr] Checking num_cpus v1.13.1 [INFO] [stderr] Checking parking_lot v0.11.2 [INFO] [stderr] Compiling tokio-macros v1.7.0 [INFO] [stderr] Checking tokio v1.15.0 [INFO] [stderr] Checking rust-chat v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::borrow::Borrow` [INFO] [stdout] --> src/main.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::borrow::Borrow; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `AsyncReadExt` [INFO] [stdout] --> src/main.rs:3:34 [INFO] [stdout] | [INFO] [stdout] 3 | use tokio::io::{AsyncBufReadExt, AsyncReadExt, AsyncWriteExt, BufReader}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::borrow::Borrow` [INFO] [stdout] --> src/main.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::borrow::Borrow; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `AsyncReadExt` [INFO] [stdout] --> src/main.rs:3:34 [INFO] [stdout] | [INFO] [stdout] 3 | use tokio::io::{AsyncBufReadExt, AsyncReadExt, AsyncWriteExt, BufReader}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0391]: cycle detected when type-checking `main` [INFO] [stdout] --> src/main.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 16 | tokio::spawn(async move { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: ...which requires evaluating trait selection obligation `[generator interior@src/main.rs:16:33: 37:10]: core::marker::Send`... [INFO] [stdout] note: ...which requires generator glue MIR for `main::{closure#0}::{closure#0}`... [INFO] [stdout] --> src/main.rs:16:33 [INFO] [stdout] | [INFO] [stdout] 16 | tokio::spawn(async move { [INFO] [stdout] | _________________________________^ [INFO] [stdout] 17 | | let (reader, mut writer) = socket.split(); [INFO] [stdout] 18 | | let mut reader = BufReader::new(reader); [INFO] [stdout] 19 | | let mut line = String::new(); [INFO] [stdout] ... | [INFO] [stdout] 36 | | } [INFO] [stdout] 37 | | }); [INFO] [stdout] | |_________^ [INFO] [stdout] note: ...which requires elaborating drops for `main::{closure#0}::{closure#0}`... [INFO] [stdout] --> src/main.rs:16:33 [INFO] [stdout] | [INFO] [stdout] 16 | tokio::spawn(async move { [INFO] [stdout] | _________________________________^ [INFO] [stdout] 17 | | let (reader, mut writer) = socket.split(); [INFO] [stdout] 18 | | let mut reader = BufReader::new(reader); [INFO] [stdout] 19 | | let mut line = String::new(); [INFO] [stdout] ... | [INFO] [stdout] 36 | | } [INFO] [stdout] 37 | | }); [INFO] [stdout] | |_________^ [INFO] [stdout] note: ...which requires borrow-checking `main::{closure#0}::{closure#0}`... [INFO] [stdout] --> src/main.rs:16:33 [INFO] [stdout] | [INFO] [stdout] 16 | tokio::spawn(async move { [INFO] [stdout] | _________________________________^ [INFO] [stdout] 17 | | let (reader, mut writer) = socket.split(); [INFO] [stdout] 18 | | let mut reader = BufReader::new(reader); [INFO] [stdout] 19 | | let mut line = String::new(); [INFO] [stdout] ... | [INFO] [stdout] 36 | | } [INFO] [stdout] 37 | | }); [INFO] [stdout] | |_________^ [INFO] [stdout] note: ...which requires processing `main::{closure#0}::{closure#0}`... [INFO] [stdout] --> src/main.rs:16:33 [INFO] [stdout] | [INFO] [stdout] 16 | tokio::spawn(async move { [INFO] [stdout] | _________________________________^ [INFO] [stdout] 17 | | let (reader, mut writer) = socket.split(); [INFO] [stdout] 18 | | let mut reader = BufReader::new(reader); [INFO] [stdout] 19 | | let mut line = String::new(); [INFO] [stdout] ... | [INFO] [stdout] 36 | | } [INFO] [stdout] 37 | | }); [INFO] [stdout] | |_________^ [INFO] [stdout] note: ...which requires processing MIR for `main::{closure#0}::{closure#0}`... [INFO] [stdout] --> src/main.rs:16:33 [INFO] [stdout] | [INFO] [stdout] 16 | tokio::spawn(async move { [INFO] [stdout] | _________________________________^ [INFO] [stdout] 17 | | let (reader, mut writer) = socket.split(); [INFO] [stdout] 18 | | let mut reader = BufReader::new(reader); [INFO] [stdout] 19 | | let mut line = String::new(); [INFO] [stdout] ... | [INFO] [stdout] 36 | | } [INFO] [stdout] 37 | | }); [INFO] [stdout] | |_________^ [INFO] [stdout] note: ...which requires unsafety-checking `main::{closure#0}::{closure#0}`... [INFO] [stdout] --> src/main.rs:16:33 [INFO] [stdout] | [INFO] [stdout] 16 | tokio::spawn(async move { [INFO] [stdout] | _________________________________^ [INFO] [stdout] 17 | | let (reader, mut writer) = socket.split(); [INFO] [stdout] 18 | | let mut reader = BufReader::new(reader); [INFO] [stdout] 19 | | let mut line = String::new(); [INFO] [stdout] ... | [INFO] [stdout] 36 | | } [INFO] [stdout] 37 | | }); [INFO] [stdout] | |_________^ [INFO] [stdout] note: ...which requires building MIR for `main::{closure#0}::{closure#0}`... [INFO] [stdout] --> src/main.rs:16:33 [INFO] [stdout] | [INFO] [stdout] 16 | tokio::spawn(async move { [INFO] [stdout] | _________________________________^ [INFO] [stdout] 17 | | let (reader, mut writer) = socket.split(); [INFO] [stdout] 18 | | let mut reader = BufReader::new(reader); [INFO] [stdout] 19 | | let mut line = String::new(); [INFO] [stdout] ... | [INFO] [stdout] 36 | | } [INFO] [stdout] 37 | | }); [INFO] [stdout] | |_________^ [INFO] [stdout] note: ...which requires type-checking `main::{closure#0}::{closure#0}`... [INFO] [stdout] --> src/main.rs:16:33 [INFO] [stdout] | [INFO] [stdout] 16 | tokio::spawn(async move { [INFO] [stdout] | _________________________________^ [INFO] [stdout] 17 | | let (reader, mut writer) = socket.split(); [INFO] [stdout] 18 | | let mut reader = BufReader::new(reader); [INFO] [stdout] 19 | | let mut line = String::new(); [INFO] [stdout] ... | [INFO] [stdout] 36 | | } [INFO] [stdout] 37 | | }); [INFO] [stdout] | |_________^ [INFO] [stdout] = note: ...which again requires type-checking `main`, completing the cycle [INFO] [stdout] = note: cycle used when type-checking all item bodies [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0391]: cycle detected when type-checking `main` [INFO] [stdout] --> src/main.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 16 | tokio::spawn(async move { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: ...which requires evaluating trait selection obligation `[generator interior@src/main.rs:16:33: 37:10]: core::marker::Send`... [INFO] [stdout] note: ...which requires generator glue MIR for `main::{closure#0}::{closure#0}`... [INFO] [stdout] --> src/main.rs:16:33 [INFO] [stdout] | [INFO] [stdout] 16 | tokio::spawn(async move { [INFO] [stdout] | _________________________________^ [INFO] [stdout] 17 | | let (reader, mut writer) = socket.split(); [INFO] [stdout] 18 | | let mut reader = BufReader::new(reader); [INFO] [stdout] 19 | | let mut line = String::new(); [INFO] [stdout] ... | [INFO] [stdout] 36 | | } [INFO] [stdout] 37 | | }); [INFO] [stdout] | |_________^ [INFO] [stdout] note: ...which requires elaborating drops for `main::{closure#0}::{closure#0}`... [INFO] [stdout] --> src/main.rs:16:33 [INFO] [stdout] | [INFO] [stdout] 16 | tokio::spawn(async move { [INFO] [stdout] | _________________________________^ [INFO] [stdout] 17 | | let (reader, mut writer) = socket.split(); [INFO] [stdout] 18 | | let mut reader = BufReader::new(reader); [INFO] [stdout] 19 | | let mut line = String::new(); [INFO] [stdout] ... | [INFO] [stdout] 36 | | } [INFO] [stdout] 37 | | }); [INFO] [stdout] | |_________^ [INFO] [stdout] note: ...which requires borrow-checking `main::{closure#0}::{closure#0}`... [INFO] [stdout] --> src/main.rs:16:33 [INFO] [stdout] | [INFO] [stdout] 16 | tokio::spawn(async move { [INFO] [stdout] | _________________________________^ [INFO] [stdout] 17 | | let (reader, mut writer) = socket.split(); [INFO] [stdout] 18 | | let mut reader = BufReader::new(reader); [INFO] [stdout] 19 | | let mut line = String::new(); [INFO] [stdout] ... | [INFO] [stdout] 36 | | } [INFO] [stdout] 37 | | }); [INFO] [stdout] | |_________^ [INFO] [stdout] note: ...which requires processing `main::{closure#0}::{closure#0}`... [INFO] [stdout] --> src/main.rs:16:33 [INFO] [stdout] | [INFO] [stdout] 16 | tokio::spawn(async move { [INFO] [stdout] | _________________________________^ [INFO] [stdout] 17 | | let (reader, mut writer) = socket.split(); [INFO] [stdout] 18 | | let mut reader = BufReader::new(reader); [INFO] [stdout] 19 | | let mut line = String::new(); [INFO] [stdout] ... | [INFO] [stdout] 36 | | } [INFO] [stdout] 37 | | }); [INFO] [stdout] | |_________^ [INFO] [stdout] note: ...which requires processing MIR for `main::{closure#0}::{closure#0}`... [INFO] [stdout] --> src/main.rs:16:33 [INFO] [stdout] | [INFO] [stdout] 16 | tokio::spawn(async move { [INFO] [stdout] | _________________________________^ [INFO] [stdout] 17 | | let (reader, mut writer) = socket.split(); [INFO] [stdout] 18 | | let mut reader = BufReader::new(reader); [INFO] [stdout] 19 | | let mut line = String::new(); [INFO] [stdout] ... | [INFO] [stdout] 36 | | } [INFO] [stdout] 37 | | }); [INFO] [stdout] | |_________^ [INFO] [stdout] note: ...which requires unsafety-checking `main::{closure#0}::{closure#0}`... [INFO] [stdout] --> src/main.rs:16:33 [INFO] [stdout] | [INFO] [stdout] 16 | tokio::spawn(async move { [INFO] [stdout] | _________________________________^ [INFO] [stdout] 17 | | let (reader, mut writer) = socket.split(); [INFO] [stdout] 18 | | let mut reader = BufReader::new(reader); [INFO] [stdout] 19 | | let mut line = String::new(); [INFO] [stdout] ... | [INFO] [stdout] 36 | | } [INFO] [stdout] 37 | | }); [INFO] [stdout] | |_________^ [INFO] [stdout] note: ...which requires building MIR for `main::{closure#0}::{closure#0}`... [INFO] [stdout] --> src/main.rs:16:33 [INFO] [stdout] | [INFO] [stdout] 16 | tokio::spawn(async move { [INFO] [stdout] | _________________________________^ [INFO] [stdout] 17 | | let (reader, mut writer) = socket.split(); [INFO] [stdout] 18 | | let mut reader = BufReader::new(reader); [INFO] [stdout] 19 | | let mut line = String::new(); [INFO] [stdout] ... | [INFO] [stdout] 36 | | } [INFO] [stdout] 37 | | }); [INFO] [stdout] | |_________^ [INFO] [stdout] note: ...which requires type-checking `main::{closure#0}::{closure#0}`... [INFO] [stdout] --> src/main.rs:16:33 [INFO] [stdout] | [INFO] [stdout] 16 | tokio::spawn(async move { [INFO] [stdout] | _________________________________^ [INFO] [stdout] 17 | | let (reader, mut writer) = socket.split(); [INFO] [stdout] 18 | | let mut reader = BufReader::new(reader); [INFO] [stdout] 19 | | let mut line = String::new(); [INFO] [stdout] ... | [INFO] [stdout] 36 | | } [INFO] [stdout] 37 | | }); [INFO] [stdout] | |_________^ [INFO] [stdout] = note: ...which again requires type-checking `main`, completing the cycle [INFO] [stdout] = note: cycle used when type-checking all item bodies [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0391`. [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0391`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rust-chat` due to 2 previous errors; 2 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `rust-chat` due to 2 previous errors; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "eed7c893f89e60cc623498dc7f6f2d52a630950f7b1582e15e79ecbccc0c8f02", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "eed7c893f89e60cc623498dc7f6f2d52a630950f7b1582e15e79ecbccc0c8f02", kill_on_drop: false }` [INFO] [stdout] eed7c893f89e60cc623498dc7f6f2d52a630950f7b1582e15e79ecbccc0c8f02