[INFO] cloning repository https://github.com/jaconsta/tutorial-tokio-chat [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/jaconsta/tutorial-tokio-chat" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjaconsta%2Ftutorial-tokio-chat", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjaconsta%2Ftutorial-tokio-chat'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 0f742b4b36a2537bf0b137c23116186349e616cc [INFO] checking jaconsta/tutorial-tokio-chat against try#8ea250bdb76176ecb0225baa34aa634b024ae0e2 for pr-101692 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjaconsta%2Ftutorial-tokio-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/jaconsta/tutorial-tokio-chat 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/jaconsta/tutorial-tokio-chat [INFO] finished tweaking git repo https://github.com/jaconsta/tutorial-tokio-chat [INFO] tweaked toml for git repo https://github.com/jaconsta/tutorial-tokio-chat written to /workspace/builds/worker-4/source/Cargo.toml [INFO] crate git repo https://github.com/jaconsta/tutorial-tokio-chat 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-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" "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] 204a442f03664621b719ff1fb90be29a9a7e920354ecf025ab3ed5d2712440d8 [INFO] running `Command { std: "docker" "start" "-a" "204a442f03664621b719ff1fb90be29a9a7e920354ecf025ab3ed5d2712440d8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "204a442f03664621b719ff1fb90be29a9a7e920354ecf025ab3ed5d2712440d8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "204a442f03664621b719ff1fb90be29a9a7e920354ecf025ab3ed5d2712440d8", kill_on_drop: false }` [INFO] [stdout] 204a442f03664621b719ff1fb90be29a9a7e920354ecf025ab3ed5d2712440d8 [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=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] 1999ed37cfb3b2e606c691e15c06bdaeb6b378ecb977b53e7f0a2951801137c1 [INFO] running `Command { std: "docker" "start" "-a" "1999ed37cfb3b2e606c691e15c06bdaeb6b378ecb977b53e7f0a2951801137c1", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.121 [INFO] [stderr] Compiling proc-macro2 v1.0.36 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling log v0.4.16 [INFO] [stderr] Compiling syn v1.0.89 [INFO] [stderr] Compiling parking_lot_core v0.9.1 [INFO] [stderr] Checking smallvec v1.8.0 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Checking pin-project-lite v0.2.8 [INFO] [stderr] Checking once_cell v1.10.0 [INFO] [stderr] Checking bytes v1.1.0 [INFO] [stderr] Checking lock_api v0.4.6 [INFO] [stderr] Compiling quote v1.0.16 [INFO] [stderr] Checking num_cpus v1.13.1 [INFO] [stderr] Checking signal-hook-registry v1.4.0 [INFO] [stderr] Checking socket2 v0.4.4 [INFO] [stderr] Checking mio v0.8.2 [INFO] [stderr] Checking parking_lot v0.12.0 [INFO] [stderr] Compiling tokio-macros v1.7.0 [INFO] [stderr] Checking tokio v1.17.0 [INFO] [stderr] Checking tokio-chat v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0391]: cycle detected when type-checking `main` [INFO] [stdout] --> src/main.rs:28:9 [INFO] [stdout] | [INFO] [stdout] 28 | tokio::spawn(async move { // Solves the task blocking [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: ...which requires evaluating trait selection obligation `[generator interior@src/main.rs:28:33: 58:10]: core::marker::Send`... [INFO] [stdout] note: ...which requires generator glue MIR for `main::{closure#0}::{closure#0}`... [INFO] [stdout] --> src/main.rs:28:33 [INFO] [stdout] | [INFO] [stdout] 28 | tokio::spawn(async move { // Solves the task blocking [INFO] [stdout] | _________________________________^ [INFO] [stdout] 29 | | // Move all client handling into its own idependent task. [INFO] [stdout] 30 | | // async move -> async block -> the whole block is it's own Future [INFO] [stdout] 31 | | let (reader, mut writer) = socket.split(); // In order to solve ownership issue [INFO] [stdout] ... | [INFO] [stdout] 57 | | } [INFO] [stdout] 58 | | }); [INFO] [stdout] | |_________^ [INFO] [stdout] note: ...which requires elaborating drops for `main::{closure#0}::{closure#0}`... [INFO] [stdout] --> src/main.rs:28:33 [INFO] [stdout] | [INFO] [stdout] 28 | tokio::spawn(async move { // Solves the task blocking [INFO] [stdout] | _________________________________^ [INFO] [stdout] 29 | | // Move all client handling into its own idependent task. [INFO] [stdout] 30 | | // async move -> async block -> the whole block is it's own Future [INFO] [stdout] 31 | | let (reader, mut writer) = socket.split(); // In order to solve ownership issue [INFO] [stdout] ... | [INFO] [stdout] 57 | | } [INFO] [stdout] 58 | | }); [INFO] [stdout] | |_________^ [INFO] [stdout] note: ...which requires borrow-checking `main::{closure#0}::{closure#0}`... [INFO] [stdout] --> src/main.rs:28:33 [INFO] [stdout] | [INFO] [stdout] 28 | tokio::spawn(async move { // Solves the task blocking [INFO] [stdout] | _________________________________^ [INFO] [stdout] 29 | | // Move all client handling into its own idependent task. [INFO] [stdout] 30 | | // async move -> async block -> the whole block is it's own Future [INFO] [stdout] 31 | | let (reader, mut writer) = socket.split(); // In order to solve ownership issue [INFO] [stdout] ... | [INFO] [stdout] 57 | | } [INFO] [stdout] 58 | | }); [INFO] [stdout] | |_________^ [INFO] [stdout] note: ...which requires processing `main::{closure#0}::{closure#0}`... [INFO] [stdout] --> src/main.rs:28:33 [INFO] [stdout] | [INFO] [stdout] 28 | tokio::spawn(async move { // Solves the task blocking [INFO] [stdout] | _________________________________^ [INFO] [stdout] 29 | | // Move all client handling into its own idependent task. [INFO] [stdout] 30 | | // async move -> async block -> the whole block is it's own Future [INFO] [stdout] 31 | | let (reader, mut writer) = socket.split(); // In order to solve ownership issue [INFO] [stdout] ... | [INFO] [stdout] 57 | | } [INFO] [stdout] 58 | | }); [INFO] [stdout] | |_________^ [INFO] [stdout] note: ...which requires processing MIR for `main::{closure#0}::{closure#0}`... [INFO] [stdout] --> src/main.rs:28:33 [INFO] [stdout] | [INFO] [stdout] 28 | tokio::spawn(async move { // Solves the task blocking [INFO] [stdout] | _________________________________^ [INFO] [stdout] 29 | | // Move all client handling into its own idependent task. [INFO] [stdout] 30 | | // async move -> async block -> the whole block is it's own Future [INFO] [stdout] 31 | | let (reader, mut writer) = socket.split(); // In order to solve ownership issue [INFO] [stdout] ... | [INFO] [stdout] 57 | | } [INFO] [stdout] 58 | | }); [INFO] [stdout] | |_________^ [INFO] [stdout] note: ...which requires unsafety-checking `main::{closure#0}::{closure#0}`... [INFO] [stdout] --> src/main.rs:28:33 [INFO] [stdout] | [INFO] [stdout] 28 | tokio::spawn(async move { // Solves the task blocking [INFO] [stdout] | _________________________________^ [INFO] [stdout] 29 | | // Move all client handling into its own idependent task. [INFO] [stdout] 30 | | // async move -> async block -> the whole block is it's own Future [INFO] [stdout] 31 | | let (reader, mut writer) = socket.split(); // In order to solve ownership issue [INFO] [stdout] ... | [INFO] [stdout] 57 | | } [INFO] [stdout] 58 | | }); [INFO] [stdout] | |_________^ [INFO] [stdout] note: ...which requires building MIR for `main::{closure#0}::{closure#0}`... [INFO] [stdout] --> src/main.rs:28:33 [INFO] [stdout] | [INFO] [stdout] 28 | tokio::spawn(async move { // Solves the task blocking [INFO] [stdout] | _________________________________^ [INFO] [stdout] 29 | | // Move all client handling into its own idependent task. [INFO] [stdout] 30 | | // async move -> async block -> the whole block is it's own Future [INFO] [stdout] 31 | | let (reader, mut writer) = socket.split(); // In order to solve ownership issue [INFO] [stdout] ... | [INFO] [stdout] 57 | | } [INFO] [stdout] 58 | | }); [INFO] [stdout] | |_________^ [INFO] [stdout] note: ...which requires type-checking `main::{closure#0}::{closure#0}`... [INFO] [stdout] --> src/main.rs:28:33 [INFO] [stdout] | [INFO] [stdout] 28 | tokio::spawn(async move { // Solves the task blocking [INFO] [stdout] | _________________________________^ [INFO] [stdout] 29 | | // Move all client handling into its own idependent task. [INFO] [stdout] 30 | | // async move -> async block -> the whole block is it's own Future [INFO] [stdout] 31 | | let (reader, mut writer) = socket.split(); // In order to solve ownership issue [INFO] [stdout] ... | [INFO] [stdout] 57 | | } [INFO] [stdout] 58 | | }); [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:28:9 [INFO] [stdout] | [INFO] [stdout] 28 | tokio::spawn(async move { // Solves the task blocking [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: ...which requires evaluating trait selection obligation `[generator interior@src/main.rs:28:33: 58:10]: core::marker::Send`... [INFO] [stdout] note: ...which requires generator glue MIR for `main::{closure#0}::{closure#0}`... [INFO] [stdout] --> src/main.rs:28:33 [INFO] [stdout] | [INFO] [stdout] 28 | tokio::spawn(async move { // Solves the task blocking [INFO] [stdout] | _________________________________^ [INFO] [stdout] 29 | | // Move all client handling into its own idependent task. [INFO] [stdout] 30 | | // async move -> async block -> the whole block is it's own Future [INFO] [stdout] 31 | | let (reader, mut writer) = socket.split(); // In order to solve ownership issue [INFO] [stdout] ... | [INFO] [stdout] 57 | | } [INFO] [stdout] 58 | | }); [INFO] [stdout] | |_________^ [INFO] [stdout] note: ...which requires elaborating drops for `main::{closure#0}::{closure#0}`... [INFO] [stdout] --> src/main.rs:28:33 [INFO] [stdout] | [INFO] [stdout] 28 | tokio::spawn(async move { // Solves the task blocking [INFO] [stdout] | _________________________________^ [INFO] [stdout] 29 | | // Move all client handling into its own idependent task. [INFO] [stdout] 30 | | // async move -> async block -> the whole block is it's own Future [INFO] [stdout] 31 | | let (reader, mut writer) = socket.split(); // In order to solve ownership issue [INFO] [stdout] ... | [INFO] [stdout] 57 | | } [INFO] [stdout] 58 | | }); [INFO] [stdout] | |_________^ [INFO] [stdout] note: ...which requires borrow-checking `main::{closure#0}::{closure#0}`... [INFO] [stdout] --> src/main.rs:28:33 [INFO] [stdout] | [INFO] [stdout] 28 | tokio::spawn(async move { // Solves the task blocking [INFO] [stdout] | _________________________________^ [INFO] [stdout] 29 | | // Move all client handling into its own idependent task. [INFO] [stdout] 30 | | // async move -> async block -> the whole block is it's own Future [INFO] [stdout] 31 | | let (reader, mut writer) = socket.split(); // In order to solve ownership issue [INFO] [stdout] ... | [INFO] [stdout] 57 | | } [INFO] [stdout] 58 | | }); [INFO] [stdout] | |_________^ [INFO] [stdout] note: ...which requires processing `main::{closure#0}::{closure#0}`... [INFO] [stdout] --> src/main.rs:28:33 [INFO] [stdout] | [INFO] [stdout] 28 | tokio::spawn(async move { // Solves the task blocking [INFO] [stdout] | _________________________________^ [INFO] [stdout] 29 | | // Move all client handling into its own idependent task. [INFO] [stdout] 30 | | // async move -> async block -> the whole block is it's own Future [INFO] [stdout] 31 | | let (reader, mut writer) = socket.split(); // In order to solve ownership issue [INFO] [stdout] ... | [INFO] [stdout] 57 | | } [INFO] [stdout] 58 | | }); [INFO] [stdout] | |_________^ [INFO] [stdout] note: ...which requires processing MIR for `main::{closure#0}::{closure#0}`... [INFO] [stdout] --> src/main.rs:28:33 [INFO] [stdout] | [INFO] [stdout] 28 | tokio::spawn(async move { // Solves the task blocking [INFO] [stdout] | _________________________________^ [INFO] [stdout] 29 | | // Move all client handling into its own idependent task. [INFO] [stdout] 30 | | // async move -> async block -> the whole block is it's own Future [INFO] [stdout] 31 | | let (reader, mut writer) = socket.split(); // In order to solve ownership issue [INFO] [stdout] ... | [INFO] [stdout] 57 | | } [INFO] [stdout] 58 | | }); [INFO] [stdout] | |_________^ [INFO] [stdout] note: ...which requires unsafety-checking `main::{closure#0}::{closure#0}`... [INFO] [stdout] --> src/main.rs:28:33 [INFO] [stdout] | [INFO] [stdout] 28 | tokio::spawn(async move { // Solves the task blocking [INFO] [stdout] | _________________________________^ [INFO] [stdout] 29 | | // Move all client handling into its own idependent task. [INFO] [stdout] 30 | | // async move -> async block -> the whole block is it's own Future [INFO] [stdout] 31 | | let (reader, mut writer) = socket.split(); // In order to solve ownership issue [INFO] [stdout] ... | [INFO] [stdout] 57 | | } [INFO] [stdout] 58 | | }); [INFO] [stdout] | |_________^ [INFO] [stdout] note: ...which requires building MIR for `main::{closure#0}::{closure#0}`... [INFO] [stdout] --> src/main.rs:28:33 [INFO] [stdout] | [INFO] [stdout] 28 | tokio::spawn(async move { // Solves the task blocking [INFO] [stdout] | _________________________________^ [INFO] [stdout] 29 | | // Move all client handling into its own idependent task. [INFO] [stdout] 30 | | // async move -> async block -> the whole block is it's own Future [INFO] [stdout] 31 | | let (reader, mut writer) = socket.split(); // In order to solve ownership issue [INFO] [stdout] ... | [INFO] [stdout] 57 | | } [INFO] [stdout] 58 | | }); [INFO] [stdout] | |_________^ [INFO] [stdout] note: ...which requires type-checking `main::{closure#0}::{closure#0}`... [INFO] [stdout] --> src/main.rs:28:33 [INFO] [stdout] | [INFO] [stdout] 28 | tokio::spawn(async move { // Solves the task blocking [INFO] [stdout] | _________________________________^ [INFO] [stdout] 29 | | // Move all client handling into its own idependent task. [INFO] [stdout] 30 | | // async move -> async block -> the whole block is it's own Future [INFO] [stdout] 31 | | let (reader, mut writer) = socket.split(); // In order to solve ownership issue [INFO] [stdout] ... | [INFO] [stdout] 57 | | } [INFO] [stdout] 58 | | }); [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 [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 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0391`. [INFO] [stdout] [INFO] [stderr] error: could not compile `tokio-chat` due to 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `tokio-chat` due to 2 previous errors [INFO] running `Command { std: "docker" "inspect" "1999ed37cfb3b2e606c691e15c06bdaeb6b378ecb977b53e7f0a2951801137c1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1999ed37cfb3b2e606c691e15c06bdaeb6b378ecb977b53e7f0a2951801137c1", kill_on_drop: false }` [INFO] [stdout] 1999ed37cfb3b2e606c691e15c06bdaeb6b378ecb977b53e7f0a2951801137c1