[INFO] cloning repository https://github.com/keithyin/ssr-rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/keithyin/ssr-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkeithyin%2Fssr-rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkeithyin%2Fssr-rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] c4ce4e89812167bcad15d557cd5b83c40c70f9cf [INFO] checking keithyin/ssr-rust against try#8ea250bdb76176ecb0225baa34aa634b024ae0e2 for pr-101692 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkeithyin%2Fssr-rust" "/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/keithyin/ssr-rust 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/keithyin/ssr-rust [INFO] finished tweaking git repo https://github.com/keithyin/ssr-rust [INFO] tweaked toml for git repo https://github.com/keithyin/ssr-rust written to /workspace/builds/worker-4/source/Cargo.toml [INFO] crate git repo https://github.com/keithyin/ssr-rust 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] ced0b313a30ae47e5c91a930d71de2e0b509e6f2042d2acd000aba8c9177bde2 [INFO] running `Command { std: "docker" "start" "-a" "ced0b313a30ae47e5c91a930d71de2e0b509e6f2042d2acd000aba8c9177bde2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ced0b313a30ae47e5c91a930d71de2e0b509e6f2042d2acd000aba8c9177bde2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ced0b313a30ae47e5c91a930d71de2e0b509e6f2042d2acd000aba8c9177bde2", kill_on_drop: false }` [INFO] [stdout] ced0b313a30ae47e5c91a930d71de2e0b509e6f2042d2acd000aba8c9177bde2 [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] 59f4855f5f5e9e9c43c4743215641edfe9f020e160e9c38e02b42ea8165f3aab [INFO] running `Command { std: "docker" "start" "-a" "59f4855f5f5e9e9c43c4743215641edfe9f020e160e9c38e02b42ea8165f3aab", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling proc-macro2 v1.0.28 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling libc v0.2.98 [INFO] [stderr] Compiling syn v1.0.74 [INFO] [stderr] Compiling futures-core v0.3.15 [INFO] [stderr] Compiling memchr v2.4.0 [INFO] [stderr] Compiling proc-macro-hack v0.5.19 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling futures-task v0.3.15 [INFO] [stderr] Compiling proc-macro-nested v0.1.7 [INFO] [stderr] Compiling futures-channel v0.3.15 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Checking futures-sink v0.3.15 [INFO] [stderr] Checking pin-project-lite v0.2.7 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Checking smallvec v1.6.1 [INFO] [stderr] Checking futures-io v0.3.15 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Checking slab v0.4.3 [INFO] [stderr] Checking bytes v1.0.1 [INFO] [stderr] Checking once_cell v1.8.0 [INFO] [stderr] Checking instant v0.1.10 [INFO] [stderr] Checking lock_api v0.4.4 [INFO] [stderr] Compiling futures-macro v0.3.15 [INFO] [stderr] Compiling futures-util v0.3.15 [INFO] [stderr] Compiling tokio v1.9.0 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Checking parking_lot_core v0.8.3 [INFO] [stderr] Checking mio v0.7.13 [INFO] [stderr] Checking signal-hook-registry v1.4.0 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking parking_lot v0.11.1 [INFO] [stderr] Compiling tokio-macros v1.3.0 [INFO] [stderr] Checking futures-executor v0.3.15 [INFO] [stderr] Checking futures v0.3.15 [INFO] [stderr] Checking ssr-rust v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `mio::event::Event` [INFO] [stdout] --> src/proxy.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use mio::event::Event; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Poll` [INFO] [stdout] --> src/proxy.rs:11:28 [INFO] [stdout] | [INFO] [stdout] 11 | use mio::{Token, Interest, Poll}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `futures::future::MapInto` [INFO] [stdout] --> src/proxy.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use futures::future::MapInto; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/proxy.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `futures::stream::StreamExt` [INFO] [stdout] --> src/main.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use futures::stream::StreamExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `mio::event::Event` [INFO] [stdout] --> src/proxy.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use mio::event::Event; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Poll` [INFO] [stdout] --> src/proxy.rs:11:28 [INFO] [stdout] | [INFO] [stdout] 11 | use mio::{Token, Interest, Poll}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `futures::future::MapInto` [INFO] [stdout] --> src/proxy.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use futures::future::MapInto; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/proxy.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `futures::stream::StreamExt` [INFO] [stdout] --> src/main.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use futures::stream::StreamExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/main.rs:53:5 [INFO] [stdout] | [INFO] [stdout] 13 | / loop { [INFO] [stdout] 14 | | let (mut proxy, _) = listener.accept().await?; [INFO] [stdout] 15 | | tokio::spawn(async move { [INFO] [stdout] 16 | | let mut buf = [0; 4096]; [INFO] [stdout] ... | [INFO] [stdout] 51 | | }); [INFO] [stdout] 52 | | } [INFO] [stdout] | |_____- any code following this expression is unreachable [INFO] [stdout] 53 | Ok(()) [INFO] [stdout] | ^^^^^^ unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0391]: cycle detected when type-checking `read_from_local` [INFO] [stdout] --> src/main.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 15 | tokio::spawn(async move { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: ...which requires evaluating trait selection obligation `[generator interior@src/main.rs:15:33: 51:10]: core::marker::Send`... [INFO] [stdout] note: ...which requires generator glue MIR for `read_from_local::{closure#0}::{closure#0}`... [INFO] [stdout] --> src/main.rs:15:33 [INFO] [stdout] | [INFO] [stdout] 15 | tokio::spawn(async move { [INFO] [stdout] | _________________________________^ [INFO] [stdout] 16 | | let mut buf = [0; 4096]; [INFO] [stdout] 17 | | let mut n = proxy.read(&mut buf).await.unwrap(); [INFO] [stdout] 18 | | // println!("first read:{:?}", &buf[0..n]); [INFO] [stdout] ... | [INFO] [stdout] 50 | | [INFO] [stdout] 51 | | }); [INFO] [stdout] | |_________^ [INFO] [stdout] note: ...which requires elaborating drops for `read_from_local::{closure#0}::{closure#0}`... [INFO] [stdout] --> src/main.rs:15:33 [INFO] [stdout] | [INFO] [stdout] 15 | tokio::spawn(async move { [INFO] [stdout] | _________________________________^ [INFO] [stdout] 16 | | let mut buf = [0; 4096]; [INFO] [stdout] 17 | | let mut n = proxy.read(&mut buf).await.unwrap(); [INFO] [stdout] 18 | | // println!("first read:{:?}", &buf[0..n]); [INFO] [stdout] ... | [INFO] [stdout] 50 | | [INFO] [stdout] 51 | | }); [INFO] [stdout] | |_________^ [INFO] [stdout] note: ...which requires borrow-checking `read_from_local::{closure#0}::{closure#0}`... [INFO] [stdout] --> src/main.rs:15:33 [INFO] [stdout] | [INFO] [stdout] 15 | tokio::spawn(async move { [INFO] [stdout] | _________________________________^ [INFO] [stdout] 16 | | let mut buf = [0; 4096]; [INFO] [stdout] 17 | | let mut n = proxy.read(&mut buf).await.unwrap(); [INFO] [stdout] 18 | | // println!("first read:{:?}", &buf[0..n]); [INFO] [stdout] ... | [INFO] [stdout] 50 | | [INFO] [stdout] 51 | | }); [INFO] [stdout] | |_________^ [INFO] [stdout] note: ...which requires processing `read_from_local::{closure#0}::{closure#0}`... [INFO] [stdout] --> src/main.rs:15:33 [INFO] [stdout] | [INFO] [stdout] 15 | tokio::spawn(async move { [INFO] [stdout] | _________________________________^ [INFO] [stdout] 16 | | let mut buf = [0; 4096]; [INFO] [stdout] 17 | | let mut n = proxy.read(&mut buf).await.unwrap(); [INFO] [stdout] 18 | | // println!("first read:{:?}", &buf[0..n]); [INFO] [stdout] ... | [INFO] [stdout] 50 | | [INFO] [stdout] 51 | | }); [INFO] [stdout] | |_________^ [INFO] [stdout] note: ...which requires processing MIR for `read_from_local::{closure#0}::{closure#0}`... [INFO] [stdout] --> src/main.rs:15:33 [INFO] [stdout] | [INFO] [stdout] 15 | tokio::spawn(async move { [INFO] [stdout] | _________________________________^ [INFO] [stdout] 16 | | let mut buf = [0; 4096]; [INFO] [stdout] 17 | | let mut n = proxy.read(&mut buf).await.unwrap(); [INFO] [stdout] 18 | | // println!("first read:{:?}", &buf[0..n]); [INFO] [stdout] ... | [INFO] [stdout] 50 | | [INFO] [stdout] 51 | | }); [INFO] [stdout] | |_________^ [INFO] [stdout] note: ...which requires unsafety-checking `read_from_local::{closure#0}::{closure#0}`... [INFO] [stdout] --> src/main.rs:15:33 [INFO] [stdout] | [INFO] [stdout] 15 | tokio::spawn(async move { [INFO] [stdout] | _________________________________^ [INFO] [stdout] 16 | | let mut buf = [0; 4096]; [INFO] [stdout] 17 | | let mut n = proxy.read(&mut buf).await.unwrap(); [INFO] [stdout] 18 | | // println!("first read:{:?}", &buf[0..n]); [INFO] [stdout] ... | [INFO] [stdout] 50 | | [INFO] [stdout] 51 | | }); [INFO] [stdout] | |_________^ [INFO] [stdout] note: ...which requires building MIR for `read_from_local::{closure#0}::{closure#0}`... [INFO] [stdout] --> src/main.rs:15:33 [INFO] [stdout] | [INFO] [stdout] 15 | tokio::spawn(async move { [INFO] [stdout] | _________________________________^ [INFO] [stdout] 16 | | let mut buf = [0; 4096]; [INFO] [stdout] 17 | | let mut n = proxy.read(&mut buf).await.unwrap(); [INFO] [stdout] 18 | | // println!("first read:{:?}", &buf[0..n]); [INFO] [stdout] ... | [INFO] [stdout] 50 | | [INFO] [stdout] 51 | | }); [INFO] [stdout] | |_________^ [INFO] [stdout] note: ...which requires type-checking `read_from_local::{closure#0}::{closure#0}`... [INFO] [stdout] --> src/main.rs:15:33 [INFO] [stdout] | [INFO] [stdout] 15 | tokio::spawn(async move { [INFO] [stdout] | _________________________________^ [INFO] [stdout] 16 | | let mut buf = [0; 4096]; [INFO] [stdout] 17 | | let mut n = proxy.read(&mut buf).await.unwrap(); [INFO] [stdout] 18 | | // println!("first read:{:?}", &buf[0..n]); [INFO] [stdout] ... | [INFO] [stdout] 50 | | [INFO] [stdout] 51 | | }); [INFO] [stdout] | |_________^ [INFO] [stdout] = note: ...which again requires type-checking `read_from_local`, completing the cycle [INFO] [stdout] note: cycle used when building MIR for `read_from_local` [INFO] [stdout] --> src/main.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | async fn read_from_local() -> io::Result<()>{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error; 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0391`. [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/main.rs:53:5 [INFO] [stdout] | [INFO] [stdout] 13 | / loop { [INFO] [stdout] 14 | | let (mut proxy, _) = listener.accept().await?; [INFO] [stdout] 15 | | tokio::spawn(async move { [INFO] [stdout] 16 | | let mut buf = [0; 4096]; [INFO] [stdout] ... | [INFO] [stdout] 51 | | }); [INFO] [stdout] 52 | | } [INFO] [stdout] | |_____- any code following this expression is unreachable [INFO] [stdout] 53 | Ok(()) [INFO] [stdout] | ^^^^^^ unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `ssr-rust` due to 2 previous errors; 6 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0391]: cycle detected when type-checking `read_from_local` [INFO] [stdout] --> src/main.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 15 | tokio::spawn(async move { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: ...which requires evaluating trait selection obligation `[generator interior@src/main.rs:15:33: 51:10]: core::marker::Send`... [INFO] [stdout] note: ...which requires generator glue MIR for `read_from_local::{closure#0}::{closure#0}`... [INFO] [stdout] --> src/main.rs:15:33 [INFO] [stdout] | [INFO] [stdout] 15 | tokio::spawn(async move { [INFO] [stdout] | _________________________________^ [INFO] [stdout] 16 | | let mut buf = [0; 4096]; [INFO] [stdout] 17 | | let mut n = proxy.read(&mut buf).await.unwrap(); [INFO] [stdout] 18 | | // println!("first read:{:?}", &buf[0..n]); [INFO] [stdout] ... | [INFO] [stdout] 50 | | [INFO] [stdout] 51 | | }); [INFO] [stdout] | |_________^ [INFO] [stdout] note: ...which requires elaborating drops for `read_from_local::{closure#0}::{closure#0}`... [INFO] [stdout] --> src/main.rs:15:33 [INFO] [stdout] | [INFO] [stdout] 15 | tokio::spawn(async move { [INFO] [stdout] | _________________________________^ [INFO] [stdout] 16 | | let mut buf = [0; 4096]; [INFO] [stdout] 17 | | let mut n = proxy.read(&mut buf).await.unwrap(); [INFO] [stdout] 18 | | // println!("first read:{:?}", &buf[0..n]); [INFO] [stdout] ... | [INFO] [stdout] 50 | | [INFO] [stdout] 51 | | }); [INFO] [stdout] | |_________^ [INFO] [stdout] note: ...which requires borrow-checking `read_from_local::{closure#0}::{closure#0}`... [INFO] [stdout] --> src/main.rs:15:33 [INFO] [stdout] | [INFO] [stdout] 15 | tokio::spawn(async move { [INFO] [stdout] | _________________________________^ [INFO] [stdout] 16 | | let mut buf = [0; 4096]; [INFO] [stdout] 17 | | let mut n = proxy.read(&mut buf).await.unwrap(); [INFO] [stdout] 18 | | // println!("first read:{:?}", &buf[0..n]); [INFO] [stdout] ... | [INFO] [stdout] 50 | | [INFO] [stdout] 51 | | }); [INFO] [stdout] | |_________^ [INFO] [stdout] note: ...which requires processing `read_from_local::{closure#0}::{closure#0}`... [INFO] [stdout] --> src/main.rs:15:33 [INFO] [stdout] | [INFO] [stdout] 15 | tokio::spawn(async move { [INFO] [stdout] | _________________________________^ [INFO] [stdout] 16 | | let mut buf = [0; 4096]; [INFO] [stdout] 17 | | let mut n = proxy.read(&mut buf).await.unwrap(); [INFO] [stdout] 18 | | // println!("first read:{:?}", &buf[0..n]); [INFO] [stdout] ... | [INFO] [stdout] 50 | | [INFO] [stdout] 51 | | }); [INFO] [stdout] | |_________^ [INFO] [stdout] note: ...which requires processing MIR for `read_from_local::{closure#0}::{closure#0}`... [INFO] [stdout] --> src/main.rs:15:33 [INFO] [stdout] | [INFO] [stdout] 15 | tokio::spawn(async move { [INFO] [stdout] | _________________________________^ [INFO] [stdout] 16 | | let mut buf = [0; 4096]; [INFO] [stdout] 17 | | let mut n = proxy.read(&mut buf).await.unwrap(); [INFO] [stdout] 18 | | // println!("first read:{:?}", &buf[0..n]); [INFO] [stdout] ... | [INFO] [stdout] 50 | | [INFO] [stdout] 51 | | }); [INFO] [stdout] | |_________^ [INFO] [stdout] note: ...which requires unsafety-checking `read_from_local::{closure#0}::{closure#0}`... [INFO] [stdout] --> src/main.rs:15:33 [INFO] [stdout] | [INFO] [stdout] 15 | tokio::spawn(async move { [INFO] [stdout] | _________________________________^ [INFO] [stdout] 16 | | let mut buf = [0; 4096]; [INFO] [stdout] 17 | | let mut n = proxy.read(&mut buf).await.unwrap(); [INFO] [stdout] 18 | | // println!("first read:{:?}", &buf[0..n]); [INFO] [stdout] ... | [INFO] [stdout] 50 | | [INFO] [stdout] 51 | | }); [INFO] [stdout] | |_________^ [INFO] [stdout] note: ...which requires building MIR for `read_from_local::{closure#0}::{closure#0}`... [INFO] [stdout] --> src/main.rs:15:33 [INFO] [stdout] | [INFO] [stdout] 15 | tokio::spawn(async move { [INFO] [stdout] | _________________________________^ [INFO] [stdout] 16 | | let mut buf = [0; 4096]; [INFO] [stdout] 17 | | let mut n = proxy.read(&mut buf).await.unwrap(); [INFO] [stdout] 18 | | // println!("first read:{:?}", &buf[0..n]); [INFO] [stdout] ... | [INFO] [stdout] 50 | | [INFO] [stdout] 51 | | }); [INFO] [stdout] | |_________^ [INFO] [stdout] note: ...which requires type-checking `read_from_local::{closure#0}::{closure#0}`... [INFO] [stdout] --> src/main.rs:15:33 [INFO] [stdout] | [INFO] [stdout] 15 | tokio::spawn(async move { [INFO] [stdout] | _________________________________^ [INFO] [stdout] 16 | | let mut buf = [0; 4096]; [INFO] [stdout] 17 | | let mut n = proxy.read(&mut buf).await.unwrap(); [INFO] [stdout] 18 | | // println!("first read:{:?}", &buf[0..n]); [INFO] [stdout] ... | [INFO] [stdout] 50 | | [INFO] [stdout] 51 | | }); [INFO] [stdout] | |_________^ [INFO] [stdout] = note: ...which again requires type-checking `read_from_local`, completing the cycle [INFO] [stdout] note: cycle used when building MIR for `read_from_local` [INFO] [stdout] --> src/main.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | async fn read_from_local() -> io::Result<()>{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error; 6 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 `ssr-rust` due to 2 previous errors; 6 warnings emitted [INFO] running `Command { std: "docker" "inspect" "59f4855f5f5e9e9c43c4743215641edfe9f020e160e9c38e02b42ea8165f3aab", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "59f4855f5f5e9e9c43c4743215641edfe9f020e160e9c38e02b42ea8165f3aab", kill_on_drop: false }` [INFO] [stdout] 59f4855f5f5e9e9c43c4743215641edfe9f020e160e9c38e02b42ea8165f3aab