[INFO] cloning repository https://github.com/Stryder91/rust_messenger [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Stryder91/rust_messenger" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FStryder91%2Frust_messenger", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FStryder91%2Frust_messenger'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 827e83716c5d3887026725569dd757c00f65a461 [INFO] checking Stryder91/rust_messenger against try#8ea250bdb76176ecb0225baa34aa634b024ae0e2 for pr-101692 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FStryder91%2Frust_messenger" "/workspace/builds/worker-5/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Stryder91/rust_messenger 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/Stryder91/rust_messenger [INFO] finished tweaking git repo https://github.com/Stryder91/rust_messenger [INFO] tweaked toml for git repo https://github.com/Stryder91/rust_messenger written to /workspace/builds/worker-5/source/Cargo.toml [INFO] crate git repo https://github.com/Stryder91/rust_messenger 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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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] 470f064f3ce0f6a27ad490cf3e82391310a14f10eb7f13aa4d70a02d9210df69 [INFO] running `Command { std: "docker" "start" "-a" "470f064f3ce0f6a27ad490cf3e82391310a14f10eb7f13aa4d70a02d9210df69", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "470f064f3ce0f6a27ad490cf3e82391310a14f10eb7f13aa4d70a02d9210df69", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "470f064f3ce0f6a27ad490cf3e82391310a14f10eb7f13aa4d70a02d9210df69", kill_on_drop: false }` [INFO] [stdout] 470f064f3ce0f6a27ad490cf3e82391310a14f10eb7f13aa4d70a02d9210df69 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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] 003c5c8176baf26cb8f5e4fe608b4fbb246801ccf434fa6f2da2e4a983bc9abd [INFO] running `Command { std: "docker" "start" "-a" "003c5c8176baf26cb8f5e4fe608b4fbb246801ccf434fa6f2da2e4a983bc9abd", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.107 [INFO] [stderr] Compiling proc-macro2 v1.0.32 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling parking_lot_core v0.8.5 [INFO] [stderr] Compiling syn v1.0.81 [INFO] [stderr] Checking smallvec v1.7.0 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Checking once_cell v1.8.0 [INFO] [stderr] Checking bytes v1.1.0 [INFO] [stderr] Checking pin-project-lite v0.2.7 [INFO] [stderr] Checking instant v0.1.12 [INFO] [stderr] Checking lock_api v0.4.5 [INFO] [stderr] Compiling tokio v1.14.0 [INFO] [stderr] Compiling quote v1.0.10 [INFO] [stderr] Checking signal-hook-registry v1.4.0 [INFO] [stderr] Checking mio v0.7.14 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking parking_lot v0.11.2 [INFO] [stderr] Compiling tokio-macros v1.6.0 [INFO] [stderr] Checking messenger v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `AsyncReadExt` [INFO] [stdout] --> src/main.rs:2:27 [INFO] [stdout] | [INFO] [stdout] 2 | io::{AsyncBufReadExt, AsyncReadExt, AsyncWriteExt, BufReader}, [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:2:27 [INFO] [stdout] | [INFO] [stdout] 2 | io::{AsyncBufReadExt, AsyncReadExt, AsyncWriteExt, BufReader}, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0391]: cycle detected when type-checking `main` [INFO] [stdout] --> src/main.rs:27:9 [INFO] [stdout] | [INFO] [stdout] 27 | tokio::spawn( async move{ [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: ...which requires evaluating trait selection obligation `[generator interior@src/main.rs:27:33: 60:10]: core::marker::Send`... [INFO] [stdout] note: ...which requires generator glue MIR for `main::{closure#0}::{closure#0}`... [INFO] [stdout] --> src/main.rs:27:33 [INFO] [stdout] | [INFO] [stdout] 27 | tokio::spawn( async move{ [INFO] [stdout] | _________________________________^ [INFO] [stdout] 28 | | let (reader, mut writer) = socket.split(); [INFO] [stdout] 29 | | [INFO] [stdout] 30 | | let mut reader = BufReader::new(reader); [INFO] [stdout] ... | [INFO] [stdout] 59 | | } [INFO] [stdout] 60 | | }); [INFO] [stdout] | |_________^ [INFO] [stdout] note: ...which requires elaborating drops for `main::{closure#0}::{closure#0}`... [INFO] [stdout] --> src/main.rs:27:33 [INFO] [stdout] | [INFO] [stdout] 27 | tokio::spawn( async move{ [INFO] [stdout] | _________________________________^ [INFO] [stdout] 28 | | let (reader, mut writer) = socket.split(); [INFO] [stdout] 29 | | [INFO] [stdout] 30 | | let mut reader = BufReader::new(reader); [INFO] [stdout] ... | [INFO] [stdout] 59 | | } [INFO] [stdout] 60 | | }); [INFO] [stdout] | |_________^ [INFO] [stdout] note: ...which requires borrow-checking `main::{closure#0}::{closure#0}`... [INFO] [stdout] --> src/main.rs:27:33 [INFO] [stdout] | [INFO] [stdout] 27 | tokio::spawn( async move{ [INFO] [stdout] | _________________________________^ [INFO] [stdout] 28 | | let (reader, mut writer) = socket.split(); [INFO] [stdout] 29 | | [INFO] [stdout] 30 | | let mut reader = BufReader::new(reader); [INFO] [stdout] ... | [INFO] [stdout] 59 | | } [INFO] [stdout] 60 | | }); [INFO] [stdout] | |_________^ [INFO] [stdout] note: ...which requires processing `main::{closure#0}::{closure#0}`... [INFO] [stdout] --> src/main.rs:27:33 [INFO] [stdout] | [INFO] [stdout] 27 | tokio::spawn( async move{ [INFO] [stdout] | _________________________________^ [INFO] [stdout] 28 | | let (reader, mut writer) = socket.split(); [INFO] [stdout] 29 | | [INFO] [stdout] 30 | | let mut reader = BufReader::new(reader); [INFO] [stdout] ... | [INFO] [stdout] 59 | | } [INFO] [stdout] 60 | | }); [INFO] [stdout] | |_________^ [INFO] [stdout] note: ...which requires processing MIR for `main::{closure#0}::{closure#0}`... [INFO] [stdout] --> src/main.rs:27:33 [INFO] [stdout] | [INFO] [stdout] 27 | tokio::spawn( async move{ [INFO] [stdout] | _________________________________^ [INFO] [stdout] 28 | | let (reader, mut writer) = socket.split(); [INFO] [stdout] 29 | | [INFO] [stdout] 30 | | let mut reader = BufReader::new(reader); [INFO] [stdout] ... | [INFO] [stdout] 59 | | } [INFO] [stdout] 60 | | }); [INFO] [stdout] | |_________^ [INFO] [stdout] note: ...which requires unsafety-checking `main::{closure#0}::{closure#0}`... [INFO] [stdout] --> src/main.rs:27:33 [INFO] [stdout] | [INFO] [stdout] 27 | tokio::spawn( async move{ [INFO] [stdout] | _________________________________^ [INFO] [stdout] 28 | | let (reader, mut writer) = socket.split(); [INFO] [stdout] 29 | | [INFO] [stdout] 30 | | let mut reader = BufReader::new(reader); [INFO] [stdout] ... | [INFO] [stdout] 59 | | } [INFO] [stdout] 60 | | }); [INFO] [stdout] | |_________^ [INFO] [stdout] note: ...which requires building MIR for `main::{closure#0}::{closure#0}`... [INFO] [stdout] --> src/main.rs:27:33 [INFO] [stdout] | [INFO] [stdout] 27 | tokio::spawn( async move{ [INFO] [stdout] | _________________________________^ [INFO] [stdout] 28 | | let (reader, mut writer) = socket.split(); [INFO] [stdout] 29 | | [INFO] [stdout] 30 | | let mut reader = BufReader::new(reader); [INFO] [stdout] ... | [INFO] [stdout] 59 | | } [INFO] [stdout] 60 | | }); [INFO] [stdout] | |_________^ [INFO] [stdout] note: ...which requires type-checking `main::{closure#0}::{closure#0}`... [INFO] [stdout] --> src/main.rs:27:33 [INFO] [stdout] | [INFO] [stdout] 27 | tokio::spawn( async move{ [INFO] [stdout] | _________________________________^ [INFO] [stdout] 28 | | let (reader, mut writer) = socket.split(); [INFO] [stdout] 29 | | [INFO] [stdout] 30 | | let mut reader = BufReader::new(reader); [INFO] [stdout] ... | [INFO] [stdout] 59 | | } [INFO] [stdout] 60 | | }); [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; 1 warning 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 `messenger` due to 2 previous errors; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0391]: cycle detected when type-checking `main` [INFO] [stdout] --> src/main.rs:27:9 [INFO] [stdout] | [INFO] [stdout] 27 | tokio::spawn( async move{ [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: ...which requires evaluating trait selection obligation `[generator interior@src/main.rs:27:33: 60:10]: core::marker::Send`... [INFO] [stdout] note: ...which requires generator glue MIR for `main::{closure#0}::{closure#0}`... [INFO] [stdout] --> src/main.rs:27:33 [INFO] [stdout] | [INFO] [stdout] 27 | tokio::spawn( async move{ [INFO] [stdout] | _________________________________^ [INFO] [stdout] 28 | | let (reader, mut writer) = socket.split(); [INFO] [stdout] 29 | | [INFO] [stdout] 30 | | let mut reader = BufReader::new(reader); [INFO] [stdout] ... | [INFO] [stdout] 59 | | } [INFO] [stdout] 60 | | }); [INFO] [stdout] | |_________^ [INFO] [stdout] note: ...which requires elaborating drops for `main::{closure#0}::{closure#0}`... [INFO] [stdout] --> src/main.rs:27:33 [INFO] [stdout] | [INFO] [stdout] 27 | tokio::spawn( async move{ [INFO] [stdout] | _________________________________^ [INFO] [stdout] 28 | | let (reader, mut writer) = socket.split(); [INFO] [stdout] 29 | | [INFO] [stdout] 30 | | let mut reader = BufReader::new(reader); [INFO] [stdout] ... | [INFO] [stdout] 59 | | } [INFO] [stdout] 60 | | }); [INFO] [stdout] | |_________^ [INFO] [stdout] note: ...which requires borrow-checking `main::{closure#0}::{closure#0}`... [INFO] [stdout] --> src/main.rs:27:33 [INFO] [stdout] | [INFO] [stdout] 27 | tokio::spawn( async move{ [INFO] [stdout] | _________________________________^ [INFO] [stdout] 28 | | let (reader, mut writer) = socket.split(); [INFO] [stdout] 29 | | [INFO] [stdout] 30 | | let mut reader = BufReader::new(reader); [INFO] [stdout] ... | [INFO] [stdout] 59 | | } [INFO] [stdout] 60 | | }); [INFO] [stdout] | |_________^ [INFO] [stdout] note: ...which requires processing `main::{closure#0}::{closure#0}`... [INFO] [stdout] --> src/main.rs:27:33 [INFO] [stdout] | [INFO] [stdout] 27 | tokio::spawn( async move{ [INFO] [stdout] | _________________________________^ [INFO] [stdout] 28 | | let (reader, mut writer) = socket.split(); [INFO] [stdout] 29 | | [INFO] [stdout] 30 | | let mut reader = BufReader::new(reader); [INFO] [stdout] ... | [INFO] [stdout] 59 | | } [INFO] [stdout] 60 | | }); [INFO] [stdout] | |_________^ [INFO] [stdout] note: ...which requires processing MIR for `main::{closure#0}::{closure#0}`... [INFO] [stdout] --> src/main.rs:27:33 [INFO] [stdout] | [INFO] [stdout] 27 | tokio::spawn( async move{ [INFO] [stdout] | _________________________________^ [INFO] [stdout] 28 | | let (reader, mut writer) = socket.split(); [INFO] [stdout] 29 | | [INFO] [stdout] 30 | | let mut reader = BufReader::new(reader); [INFO] [stdout] ... | [INFO] [stdout] 59 | | } [INFO] [stdout] 60 | | }); [INFO] [stdout] | |_________^ [INFO] [stdout] note: ...which requires unsafety-checking `main::{closure#0}::{closure#0}`... [INFO] [stdout] --> src/main.rs:27:33 [INFO] [stdout] | [INFO] [stdout] 27 | tokio::spawn( async move{ [INFO] [stdout] | _________________________________^ [INFO] [stdout] 28 | | let (reader, mut writer) = socket.split(); [INFO] [stdout] 29 | | [INFO] [stdout] 30 | | let mut reader = BufReader::new(reader); [INFO] [stdout] ... | [INFO] [stdout] 59 | | } [INFO] [stdout] 60 | | }); [INFO] [stdout] | |_________^ [INFO] [stdout] note: ...which requires building MIR for `main::{closure#0}::{closure#0}`... [INFO] [stdout] --> src/main.rs:27:33 [INFO] [stdout] | [INFO] [stdout] 27 | tokio::spawn( async move{ [INFO] [stdout] | _________________________________^ [INFO] [stdout] 28 | | let (reader, mut writer) = socket.split(); [INFO] [stdout] 29 | | [INFO] [stdout] 30 | | let mut reader = BufReader::new(reader); [INFO] [stdout] ... | [INFO] [stdout] 59 | | } [INFO] [stdout] 60 | | }); [INFO] [stdout] | |_________^ [INFO] [stdout] note: ...which requires type-checking `main::{closure#0}::{closure#0}`... [INFO] [stdout] --> src/main.rs:27:33 [INFO] [stdout] | [INFO] [stdout] 27 | tokio::spawn( async move{ [INFO] [stdout] | _________________________________^ [INFO] [stdout] 28 | | let (reader, mut writer) = socket.split(); [INFO] [stdout] 29 | | [INFO] [stdout] 30 | | let mut reader = BufReader::new(reader); [INFO] [stdout] ... | [INFO] [stdout] 59 | | } [INFO] [stdout] 60 | | }); [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; 1 warning 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 `messenger` due to 2 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "003c5c8176baf26cb8f5e4fe608b4fbb246801ccf434fa6f2da2e4a983bc9abd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "003c5c8176baf26cb8f5e4fe608b4fbb246801ccf434fa6f2da2e4a983bc9abd", kill_on_drop: false }` [INFO] [stdout] 003c5c8176baf26cb8f5e4fe608b4fbb246801ccf434fa6f2da2e4a983bc9abd