[INFO] cloning repository https://github.com/MaxLuchs/channel_ping_pong [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/MaxLuchs/channel_ping_pong" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMaxLuchs%2Fchannel_ping_pong", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMaxLuchs%2Fchannel_ping_pong'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 1a8e4ce15f0188a04322241eb5273e6436deeb18 [INFO] checking MaxLuchs/channel_ping_pong against try#8ea250bdb76176ecb0225baa34aa634b024ae0e2 for pr-101692 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMaxLuchs%2Fchannel_ping_pong" "/workspace/builds/worker-6/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/MaxLuchs/channel_ping_pong 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/MaxLuchs/channel_ping_pong [INFO] finished tweaking git repo https://github.com/MaxLuchs/channel_ping_pong [INFO] tweaked toml for git repo https://github.com/MaxLuchs/channel_ping_pong written to /workspace/builds/worker-6/source/Cargo.toml [INFO] crate git repo https://github.com/MaxLuchs/channel_ping_pong 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-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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] db20c374257c93a333d0cdde1e805fa679b9afe9db13625ad81216293f624ca7 [INFO] running `Command { std: "docker" "start" "-a" "db20c374257c93a333d0cdde1e805fa679b9afe9db13625ad81216293f624ca7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "db20c374257c93a333d0cdde1e805fa679b9afe9db13625ad81216293f624ca7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "db20c374257c93a333d0cdde1e805fa679b9afe9db13625ad81216293f624ca7", kill_on_drop: false }` [INFO] [stdout] db20c374257c93a333d0cdde1e805fa679b9afe9db13625ad81216293f624ca7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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] 64d9c312559c9bada5653bafc4f05ca9e03cb493bd861bc83dd526f78b8d7505 [INFO] running `Command { std: "docker" "start" "-a" "64d9c312559c9bada5653bafc4f05ca9e03cb493bd861bc83dd526f78b8d7505", kill_on_drop: false }` [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling libc v0.2.88 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling syn v1.0.64 [INFO] [stderr] Checking smallvec v1.6.1 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Checking bytes v1.0.1 [INFO] [stderr] Checking pin-project-lite v0.2.6 [INFO] [stderr] Checking once_cell v1.7.2 [INFO] [stderr] Checking instant v0.1.9 [INFO] [stderr] Checking lock_api v0.4.2 [INFO] [stderr] Compiling crossbeam-utils v0.8.3 [INFO] [stderr] Compiling memoffset v0.6.1 [INFO] [stderr] Compiling tokio v1.3.0 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Checking parking_lot_core v0.8.3 [INFO] [stderr] Checking mio v0.7.9 [INFO] [stderr] Checking signal-hook-registry v1.3.0 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking crossbeam-epoch v0.9.3 [INFO] [stderr] Checking crossbeam-channel v0.5.0 [INFO] [stderr] Checking crossbeam-queue v0.3.1 [INFO] [stderr] Checking parking_lot v0.11.1 [INFO] [stderr] Checking signal-hook v0.1.17 [INFO] [stderr] Checking crossbeam-deque v0.8.0 [INFO] [stderr] Checking crossterm v0.19.0 [INFO] [stderr] Checking crossbeam v0.8.0 [INFO] [stderr] Compiling tokio-macros v1.1.0 [INFO] [stderr] Checking thread_pong v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/thread.rs:38:9 [INFO] [stdout] | [INFO] [stdout] 38 | let mut stdin = stdin(); [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/thread.rs:21:17 [INFO] [stdout] | [INFO] [stdout] 21 | s2.send(Some(Message { idx: msg.idx + 1, text: "pong" })); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/thread.rs:31:17 [INFO] [stdout] | [INFO] [stdout] 31 | s1_clone.send(Some(Message { idx: msg.idx + 1, text: "ping" })); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/thread.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 36 | s1.send(Some(Message { idx: 0, text: "ping" })); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/thread.rs:42:9 [INFO] [stdout] | [INFO] [stdout] 42 | stdin.read_line(&mut input); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/thread.rs:45:13 [INFO] [stdout] | [INFO] [stdout] 45 | s1.send(None); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/thread.rs:46:13 [INFO] [stdout] | [INFO] [stdout] 46 | s2_clone.send(None); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/thread.rs:50:57 [INFO] [stdout] | [INFO] [stdout] 50 | vec![handle_1, handle_2].into_iter().for_each(|h| { h.join(); }); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0391]: cycle detected when type-checking `main` [INFO] [stdout] --> src/green.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | tokio::task::spawn(async move { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: ...which requires evaluating trait selection obligation `[generator interior@src/green.rs:20:35: 30:6]: core::marker::Send`... [INFO] [stdout] note: ...which requires generator glue MIR for `main::{closure#0}::{closure#0}`... [INFO] [stdout] --> src/green.rs:20:35 [INFO] [stdout] | [INFO] [stdout] 20 | tokio::task::spawn(async move { [INFO] [stdout] | ___________________________________^ [INFO] [stdout] 21 | | println!("Producing green Nacho thread with Ketchup"); [INFO] [stdout] 22 | | r1_clone.iter().take_while(|x| x.is_some()).for_each(|x| { [INFO] [stdout] 23 | | if let Some(fibo_nachos) = x { [INFO] [stdout] ... | [INFO] [stdout] 29 | | }); [INFO] [stdout] 30 | | }); [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires elaborating drops for `main::{closure#0}::{closure#0}`... [INFO] [stdout] --> src/green.rs:20:35 [INFO] [stdout] | [INFO] [stdout] 20 | tokio::task::spawn(async move { [INFO] [stdout] | ___________________________________^ [INFO] [stdout] 21 | | println!("Producing green Nacho thread with Ketchup"); [INFO] [stdout] 22 | | r1_clone.iter().take_while(|x| x.is_some()).for_each(|x| { [INFO] [stdout] 23 | | if let Some(fibo_nachos) = x { [INFO] [stdout] ... | [INFO] [stdout] 29 | | }); [INFO] [stdout] 30 | | }); [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires borrow-checking `main::{closure#0}::{closure#0}`... [INFO] [stdout] --> src/green.rs:20:35 [INFO] [stdout] | [INFO] [stdout] 20 | tokio::task::spawn(async move { [INFO] [stdout] | ___________________________________^ [INFO] [stdout] 21 | | println!("Producing green Nacho thread with Ketchup"); [INFO] [stdout] 22 | | r1_clone.iter().take_while(|x| x.is_some()).for_each(|x| { [INFO] [stdout] 23 | | if let Some(fibo_nachos) = x { [INFO] [stdout] ... | [INFO] [stdout] 29 | | }); [INFO] [stdout] 30 | | }); [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires processing `main::{closure#0}::{closure#0}`... [INFO] [stdout] --> src/green.rs:20:35 [INFO] [stdout] | [INFO] [stdout] 20 | tokio::task::spawn(async move { [INFO] [stdout] | ___________________________________^ [INFO] [stdout] 21 | | println!("Producing green Nacho thread with Ketchup"); [INFO] [stdout] 22 | | r1_clone.iter().take_while(|x| x.is_some()).for_each(|x| { [INFO] [stdout] 23 | | if let Some(fibo_nachos) = x { [INFO] [stdout] ... | [INFO] [stdout] 29 | | }); [INFO] [stdout] 30 | | }); [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires processing MIR for `main::{closure#0}::{closure#0}`... [INFO] [stdout] --> src/green.rs:20:35 [INFO] [stdout] | [INFO] [stdout] 20 | tokio::task::spawn(async move { [INFO] [stdout] | ___________________________________^ [INFO] [stdout] 21 | | println!("Producing green Nacho thread with Ketchup"); [INFO] [stdout] 22 | | r1_clone.iter().take_while(|x| x.is_some()).for_each(|x| { [INFO] [stdout] 23 | | if let Some(fibo_nachos) = x { [INFO] [stdout] ... | [INFO] [stdout] 29 | | }); [INFO] [stdout] 30 | | }); [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires unsafety-checking `main::{closure#0}::{closure#0}`... [INFO] [stdout] --> src/green.rs:20:35 [INFO] [stdout] | [INFO] [stdout] 20 | tokio::task::spawn(async move { [INFO] [stdout] | ___________________________________^ [INFO] [stdout] 21 | | println!("Producing green Nacho thread with Ketchup"); [INFO] [stdout] 22 | | r1_clone.iter().take_while(|x| x.is_some()).for_each(|x| { [INFO] [stdout] 23 | | if let Some(fibo_nachos) = x { [INFO] [stdout] ... | [INFO] [stdout] 29 | | }); [INFO] [stdout] 30 | | }); [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires building MIR for `main::{closure#0}::{closure#0}`... [INFO] [stdout] --> src/green.rs:20:35 [INFO] [stdout] | [INFO] [stdout] 20 | tokio::task::spawn(async move { [INFO] [stdout] | ___________________________________^ [INFO] [stdout] 21 | | println!("Producing green Nacho thread with Ketchup"); [INFO] [stdout] 22 | | r1_clone.iter().take_while(|x| x.is_some()).for_each(|x| { [INFO] [stdout] 23 | | if let Some(fibo_nachos) = x { [INFO] [stdout] ... | [INFO] [stdout] 29 | | }); [INFO] [stdout] 30 | | }); [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires type-checking `main::{closure#0}::{closure#0}`... [INFO] [stdout] --> src/green.rs:20:35 [INFO] [stdout] | [INFO] [stdout] 20 | tokio::task::spawn(async move { [INFO] [stdout] | ___________________________________^ [INFO] [stdout] 21 | | println!("Producing green Nacho thread with Ketchup"); [INFO] [stdout] 22 | | r1_clone.iter().take_while(|x| x.is_some()).for_each(|x| { [INFO] [stdout] 23 | | if let Some(fibo_nachos) = x { [INFO] [stdout] ... | [INFO] [stdout] 29 | | }); [INFO] [stdout] 30 | | }); [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[E0391]: cycle detected when type-checking `main` [INFO] [stdout] --> src/green.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | tokio::task::spawn(async move { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: ...which requires evaluating trait selection obligation `[generator interior@src/green.rs:20:35: 30:6]: core::marker::Send`... [INFO] [stdout] note: ...which requires generator glue MIR for `main::{closure#0}::{closure#0}`... [INFO] [stdout] --> src/green.rs:20:35 [INFO] [stdout] | [INFO] [stdout] 20 | tokio::task::spawn(async move { [INFO] [stdout] | ___________________________________^ [INFO] [stdout] 21 | | println!("Producing green Nacho thread with Ketchup"); [INFO] [stdout] 22 | | r1_clone.iter().take_while(|x| x.is_some()).for_each(|x| { [INFO] [stdout] 23 | | if let Some(fibo_nachos) = x { [INFO] [stdout] ... | [INFO] [stdout] 29 | | }); [INFO] [stdout] 30 | | }); [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires elaborating drops for `main::{closure#0}::{closure#0}`... [INFO] [stdout] --> src/green.rs:20:35 [INFO] [stdout] | [INFO] [stdout] 20 | tokio::task::spawn(async move { [INFO] [stdout] | ___________________________________^ [INFO] [stdout] 21 | | println!("Producing green Nacho thread with Ketchup"); [INFO] [stdout] 22 | | r1_clone.iter().take_while(|x| x.is_some()).for_each(|x| { [INFO] [stdout] 23 | | if let Some(fibo_nachos) = x { [INFO] [stdout] ... | [INFO] [stdout] 29 | | }); [INFO] [stdout] 30 | | }); [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires borrow-checking `main::{closure#0}::{closure#0}`... [INFO] [stdout] --> src/green.rs:20:35 [INFO] [stdout] | [INFO] [stdout] 20 | tokio::task::spawn(async move { [INFO] [stdout] | ___________________________________^ [INFO] [stdout] 21 | | println!("Producing green Nacho thread with Ketchup"); [INFO] [stdout] 22 | | r1_clone.iter().take_while(|x| x.is_some()).for_each(|x| { [INFO] [stdout] 23 | | if let Some(fibo_nachos) = x { [INFO] [stdout] ... | [INFO] [stdout] 29 | | }); [INFO] [stdout] 30 | | }); [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires processing `main::{closure#0}::{closure#0}`... [INFO] [stdout] --> src/green.rs:20:35 [INFO] [stdout] | [INFO] [stdout] 20 | tokio::task::spawn(async move { [INFO] [stdout] | ___________________________________^ [INFO] [stdout] 21 | | println!("Producing green Nacho thread with Ketchup"); [INFO] [stdout] 22 | | r1_clone.iter().take_while(|x| x.is_some()).for_each(|x| { [INFO] [stdout] 23 | | if let Some(fibo_nachos) = x { [INFO] [stdout] ... | [INFO] [stdout] 29 | | }); [INFO] [stdout] 30 | | }); [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires processing MIR for `main::{closure#0}::{closure#0}`... [INFO] [stdout] --> src/green.rs:20:35 [INFO] [stdout] | [INFO] [stdout] 20 | tokio::task::spawn(async move { [INFO] [stdout] | ___________________________________^ [INFO] [stdout] 21 | | println!("Producing green Nacho thread with Ketchup"); [INFO] [stdout] 22 | | r1_clone.iter().take_while(|x| x.is_some()).for_each(|x| { [INFO] [stdout] 23 | | if let Some(fibo_nachos) = x { [INFO] [stdout] ... | [INFO] [stdout] 29 | | }); [INFO] [stdout] 30 | | }); [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires unsafety-checking `main::{closure#0}::{closure#0}`... [INFO] [stdout] --> src/green.rs:20:35 [INFO] [stdout] | [INFO] [stdout] 20 | tokio::task::spawn(async move { [INFO] [stdout] | ___________________________________^ [INFO] [stdout] 21 | | println!("Producing green Nacho thread with Ketchup"); [INFO] [stdout] 22 | | r1_clone.iter().take_while(|x| x.is_some()).for_each(|x| { [INFO] [stdout] 23 | | if let Some(fibo_nachos) = x { [INFO] [stdout] ... | [INFO] [stdout] 29 | | }); [INFO] [stdout] 30 | | }); [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires building MIR for `main::{closure#0}::{closure#0}`... [INFO] [stdout] --> src/green.rs:20:35 [INFO] [stdout] | [INFO] [stdout] 20 | tokio::task::spawn(async move { [INFO] [stdout] | ___________________________________^ [INFO] [stdout] 21 | | println!("Producing green Nacho thread with Ketchup"); [INFO] [stdout] 22 | | r1_clone.iter().take_while(|x| x.is_some()).for_each(|x| { [INFO] [stdout] 23 | | if let Some(fibo_nachos) = x { [INFO] [stdout] ... | [INFO] [stdout] 29 | | }); [INFO] [stdout] 30 | | }); [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires type-checking `main::{closure#0}::{closure#0}`... [INFO] [stdout] --> src/green.rs:20:35 [INFO] [stdout] | [INFO] [stdout] 20 | tokio::task::spawn(async move { [INFO] [stdout] | ___________________________________^ [INFO] [stdout] 21 | | println!("Producing green Nacho thread with Ketchup"); [INFO] [stdout] 22 | | r1_clone.iter().take_while(|x| x.is_some()).for_each(|x| { [INFO] [stdout] 23 | | if let Some(fibo_nachos) = x { [INFO] [stdout] ... | [INFO] [stdout] 29 | | }); [INFO] [stdout] 30 | | }); [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] [stderr] error: could not compile `thread_pong` due to 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 8 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 `thread_pong` due to 2 previous errors [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/thread.rs:38:9 [INFO] [stdout] | [INFO] [stdout] 38 | let mut stdin = stdin(); [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/thread.rs:21:17 [INFO] [stdout] | [INFO] [stdout] 21 | s2.send(Some(Message { idx: msg.idx + 1, text: "pong" })); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/thread.rs:31:17 [INFO] [stdout] | [INFO] [stdout] 31 | s1_clone.send(Some(Message { idx: msg.idx + 1, text: "ping" })); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/thread.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 36 | s1.send(Some(Message { idx: 0, text: "ping" })); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/thread.rs:42:9 [INFO] [stdout] | [INFO] [stdout] 42 | stdin.read_line(&mut input); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/thread.rs:45:13 [INFO] [stdout] | [INFO] [stdout] 45 | s1.send(None); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/thread.rs:46:13 [INFO] [stdout] | [INFO] [stdout] 46 | s2_clone.send(None); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/thread.rs:50:57 [INFO] [stdout] | [INFO] [stdout] 50 | vec![handle_1, handle_2].into_iter().for_each(|h| { h.join(); }); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "64d9c312559c9bada5653bafc4f05ca9e03cb493bd861bc83dd526f78b8d7505", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "64d9c312559c9bada5653bafc4f05ca9e03cb493bd861bc83dd526f78b8d7505", kill_on_drop: false }` [INFO] [stdout] 64d9c312559c9bada5653bafc4f05ca9e03cb493bd861bc83dd526f78b8d7505