[INFO] fetching crate distant-net 0.19.0... [INFO] checking distant-net-0.19.0 against try#8ea250bdb76176ecb0225baa34aa634b024ae0e2 for pr-101692 [INFO] extracting crate distant-net 0.19.0 into /workspace/builds/worker-1/source [INFO] validating manifest of crates.io crate distant-net 0.19.0 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 crates.io crate distant-net 0.19.0 [INFO] finished tweaking crates.io crate distant-net 0.19.0 [INFO] tweaked toml for crates.io crate distant-net 0.19.0 written to /workspace/builds/worker-1/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8ea250bdb76176ecb0225baa34aa634b024ae0e2" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [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] 92797d474fc88e749d9021a8e4b2b7fb3f1152014798af52a7d32995bfdce843 [INFO] running `Command { std: "docker" "start" "-a" "92797d474fc88e749d9021a8e4b2b7fb3f1152014798af52a7d32995bfdce843", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "92797d474fc88e749d9021a8e4b2b7fb3f1152014798af52a7d32995bfdce843", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "92797d474fc88e749d9021a8e4b2b7fb3f1152014798af52a7d32995bfdce843", kill_on_drop: false }` [INFO] [stdout] 92797d474fc88e749d9021a8e4b2b7fb3f1152014798af52a7d32995bfdce843 [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] 6e53dc3d17a8d181bb0ba7536601d178dd8c225ff17e0975800c0d38c761b23e [INFO] running `Command { std: "docker" "start" "-a" "6e53dc3d17a8d181bb0ba7536601d178dd8c225ff17e0975800c0d38c761b23e", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.132 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling typenum v1.15.0 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling proc-macro2 v1.0.43 [INFO] [stderr] Checking subtle v2.4.1 [INFO] [stderr] Compiling unicode-ident v1.0.4 [INFO] [stderr] Compiling quote v1.0.21 [INFO] [stderr] Compiling syn v1.0.99 [INFO] [stderr] Checking zeroize v1.5.7 [INFO] [stderr] Checking base64ct v1.5.2 [INFO] [stderr] Checking const-oid v0.9.0 [INFO] [stderr] Compiling futures-core v0.3.24 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Checking pin-project-lite v0.2.9 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Checking cpufeatures v0.2.5 [INFO] [stderr] Compiling parking_lot_core v0.9.3 [INFO] [stderr] Compiling serde_derive v1.0.144 [INFO] [stderr] Compiling futures-task v0.3.24 [INFO] [stderr] Checking futures-sink v0.3.24 [INFO] [stderr] Compiling futures-channel v0.3.24 [INFO] [stderr] Checking smallvec v1.9.0 [INFO] [stderr] Checking base16ct v0.1.1 [INFO] [stderr] Compiling serde v1.0.144 [INFO] [stderr] Checking once_cell v1.14.0 [INFO] [stderr] Compiling futures-util v0.3.24 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Checking futures-io v0.3.24 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Checking bytes v1.2.1 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Compiling paste v1.0.9 [INFO] [stderr] Compiling async-trait v0.1.57 [INFO] [stderr] Checking opaque-debug v0.3.0 [INFO] [stderr] Checking ppv-lite86 v0.2.16 [INFO] [stderr] Compiling convert_case v0.4.0 [INFO] [stderr] Checking remove_dir_all v0.5.3 [INFO] [stderr] Checking hex v0.4.3 [INFO] [stderr] Checking fastrand v1.8.0 [INFO] [stderr] Checking pem-rfc7468 v0.6.0 [INFO] [stderr] Compiling generic-array v0.14.6 [INFO] [stderr] Compiling slab v0.4.7 [INFO] [stderr] Compiling lock_api v0.4.8 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Compiling tokio v1.21.1 [INFO] [stderr] Checking tracing-core v0.1.29 [INFO] [stderr] Checking der v0.6.0 [INFO] [stderr] Checking tracing v0.1.36 [INFO] [stderr] Checking getrandom v0.2.7 [INFO] [stderr] Checking num_cpus v1.13.1 [INFO] [stderr] Checking signal-hook-registry v1.4.0 [INFO] [stderr] Checking socket2 v0.4.7 [INFO] [stderr] Checking tempfile v3.3.0 [INFO] [stderr] Checking spki v0.6.0 [INFO] [stderr] Checking mio v0.8.4 [INFO] [stderr] Checking rand_core v0.6.3 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Checking pkcs8 v0.9.0 [INFO] [stderr] Checking ff v0.12.0 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking block-buffer v0.10.3 [INFO] [stderr] Checking crypto-bigint v0.4.8 [INFO] [stderr] Checking inout v0.1.3 [INFO] [stderr] Checking sec1 v0.3.0 [INFO] [stderr] Checking group v0.12.0 [INFO] [stderr] Checking universal-hash v0.5.0 [INFO] [stderr] Checking aead v0.5.1 [INFO] [stderr] Checking cipher v0.4.3 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking digest v0.10.3 [INFO] [stderr] Checking poly1305 v0.8.0 [INFO] [stderr] Checking rmp v0.8.11 [INFO] [stderr] Checking hmac v0.12.1 [INFO] [stderr] Checking signature v1.6.1 [INFO] [stderr] Checking sha2 v0.10.5 [INFO] [stderr] Checking chacha20 v0.9.0 [INFO] [stderr] Compiling futures-macro v0.3.24 [INFO] [stderr] Compiling tokio-macros v1.8.0 [INFO] [stderr] Compiling derive_more v0.99.17 [INFO] [stderr] Checking hkdf v0.12.3 [INFO] [stderr] Checking rfc6979 v0.3.0 [INFO] [stderr] Checking chacha20poly1305 v0.10.1 [INFO] [stderr] Checking elliptic-curve v0.12.3 [INFO] [stderr] Checking ecdsa v0.14.6 [INFO] [stderr] Checking p256 v0.11.1 [INFO] [stderr] Checking futures-executor v0.3.24 [INFO] [stderr] Checking futures v0.3.24 [INFO] [stderr] Checking tokio-util v0.7.4 [INFO] [stderr] Checking rmp-serde v1.1.0 [INFO] [stderr] Checking serde_bytes v0.11.7 [INFO] [stderr] Checking distant-net v0.19.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0391]: cycle detected when type-checking `auth::server::::on_request` [INFO] [stdout] --> src/auth/server.rs:55:5 [INFO] [stdout] | [INFO] [stdout] 55 | async fn on_request(&self, ctx: ServerCtx) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: ...which requires generator glue MIR for `auth::server::::on_request::{closure#0}`... [INFO] [stdout] --> src/auth/server.rs:55:96 [INFO] [stdout] | [INFO] [stdout] 55 | async fn on_request(&self, ctx: ServerCtx) { [INFO] [stdout] | ________________________________________________________________________________________________^ [INFO] [stdout] 56 | | let reply = ctx.reply.clone(); [INFO] [stdout] 57 | | [INFO] [stdout] 58 | | match ctx.request.payload { [INFO] [stdout] ... | [INFO] [stdout] 194 | | } [INFO] [stdout] 195 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires elaborating drops for `auth::server::::on_request::{closure#0}`... [INFO] [stdout] --> src/auth/server.rs:55:96 [INFO] [stdout] | [INFO] [stdout] 55 | async fn on_request(&self, ctx: ServerCtx) { [INFO] [stdout] | ________________________________________________________________________________________________^ [INFO] [stdout] 56 | | let reply = ctx.reply.clone(); [INFO] [stdout] 57 | | [INFO] [stdout] 58 | | match ctx.request.payload { [INFO] [stdout] ... | [INFO] [stdout] 194 | | } [INFO] [stdout] 195 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires borrow-checking `auth::server::::on_request::{closure#0}`... [INFO] [stdout] --> src/auth/server.rs:55:96 [INFO] [stdout] | [INFO] [stdout] 55 | async fn on_request(&self, ctx: ServerCtx) { [INFO] [stdout] | ________________________________________________________________________________________________^ [INFO] [stdout] 56 | | let reply = ctx.reply.clone(); [INFO] [stdout] 57 | | [INFO] [stdout] 58 | | match ctx.request.payload { [INFO] [stdout] ... | [INFO] [stdout] 194 | | } [INFO] [stdout] 195 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires processing `auth::server::::on_request::{closure#0}`... [INFO] [stdout] --> src/auth/server.rs:55:96 [INFO] [stdout] | [INFO] [stdout] 55 | async fn on_request(&self, ctx: ServerCtx) { [INFO] [stdout] | ________________________________________________________________________________________________^ [INFO] [stdout] 56 | | let reply = ctx.reply.clone(); [INFO] [stdout] 57 | | [INFO] [stdout] 58 | | match ctx.request.payload { [INFO] [stdout] ... | [INFO] [stdout] 194 | | } [INFO] [stdout] 195 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires processing MIR for `auth::server::::on_request::{closure#0}`... [INFO] [stdout] --> src/auth/server.rs:55:96 [INFO] [stdout] | [INFO] [stdout] 55 | async fn on_request(&self, ctx: ServerCtx) { [INFO] [stdout] | ________________________________________________________________________________________________^ [INFO] [stdout] 56 | | let reply = ctx.reply.clone(); [INFO] [stdout] 57 | | [INFO] [stdout] 58 | | match ctx.request.payload { [INFO] [stdout] ... | [INFO] [stdout] 194 | | } [INFO] [stdout] 195 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires unsafety-checking `auth::server::::on_request::{closure#0}`... [INFO] [stdout] --> src/auth/server.rs:55:96 [INFO] [stdout] | [INFO] [stdout] 55 | async fn on_request(&self, ctx: ServerCtx) { [INFO] [stdout] | ________________________________________________________________________________________________^ [INFO] [stdout] 56 | | let reply = ctx.reply.clone(); [INFO] [stdout] 57 | | [INFO] [stdout] 58 | | match ctx.request.payload { [INFO] [stdout] ... | [INFO] [stdout] 194 | | } [INFO] [stdout] 195 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires building MIR for `auth::server::::on_request::{closure#0}`... [INFO] [stdout] --> src/auth/server.rs:55:96 [INFO] [stdout] | [INFO] [stdout] 55 | async fn on_request(&self, ctx: ServerCtx) { [INFO] [stdout] | ________________________________________________________________________________________________^ [INFO] [stdout] 56 | | let reply = ctx.reply.clone(); [INFO] [stdout] 57 | | [INFO] [stdout] 58 | | match ctx.request.payload { [INFO] [stdout] ... | [INFO] [stdout] 194 | | } [INFO] [stdout] 195 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires type-checking `auth::server::::on_request::{closure#0}`... [INFO] [stdout] --> src/auth/server.rs:55:96 [INFO] [stdout] | [INFO] [stdout] 55 | async fn on_request(&self, ctx: ServerCtx) { [INFO] [stdout] | ________________________________________________________________________________________________^ [INFO] [stdout] 56 | | let reply = ctx.reply.clone(); [INFO] [stdout] 57 | | [INFO] [stdout] 58 | | match ctx.request.payload { [INFO] [stdout] ... | [INFO] [stdout] 194 | | } [INFO] [stdout] 195 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] = note: ...which again requires type-checking `auth::server::::on_request`, 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 `client::channel::mailbox::::new` [INFO] [stdout] --> src/client/channel/mailbox.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 34 | pub fn new(cleanup: Duration) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: ...which requires generator glue MIR for `client::channel::mailbox::::new::{closure#0}`... [INFO] [stdout] --> src/client/channel/mailbox.rs:39:33 [INFO] [stdout] | [INFO] [stdout] 39 | tokio::spawn(async move { [INFO] [stdout] | _________________________________^ [INFO] [stdout] 40 | | while let Some(m) = Weak::upgrade(&mref) { [INFO] [stdout] 41 | | m.lock() [INFO] [stdout] 42 | | .await [INFO] [stdout] ... | [INFO] [stdout] 51 | | } [INFO] [stdout] 52 | | }); [INFO] [stdout] | |_________^ [INFO] [stdout] note: ...which requires elaborating drops for `client::channel::mailbox::::new::{closure#0}`... [INFO] [stdout] --> src/client/channel/mailbox.rs:39:33 [INFO] [stdout] | [INFO] [stdout] 39 | tokio::spawn(async move { [INFO] [stdout] | _________________________________^ [INFO] [stdout] 40 | | while let Some(m) = Weak::upgrade(&mref) { [INFO] [stdout] 41 | | m.lock() [INFO] [stdout] 42 | | .await [INFO] [stdout] ... | [INFO] [stdout] 51 | | } [INFO] [stdout] 52 | | }); [INFO] [stdout] | |_________^ [INFO] [stdout] note: ...which requires borrow-checking `client::channel::mailbox::::new::{closure#0}`... [INFO] [stdout] --> src/client/channel/mailbox.rs:39:33 [INFO] [stdout] | [INFO] [stdout] 39 | tokio::spawn(async move { [INFO] [stdout] | _________________________________^ [INFO] [stdout] 40 | | while let Some(m) = Weak::upgrade(&mref) { [INFO] [stdout] 41 | | m.lock() [INFO] [stdout] 42 | | .await [INFO] [stdout] ... | [INFO] [stdout] 51 | | } [INFO] [stdout] 52 | | }); [INFO] [stdout] | |_________^ [INFO] [stdout] note: ...which requires processing `client::channel::mailbox::::new::{closure#0}`... [INFO] [stdout] --> src/client/channel/mailbox.rs:39:33 [INFO] [stdout] | [INFO] [stdout] 39 | tokio::spawn(async move { [INFO] [stdout] | _________________________________^ [INFO] [stdout] 40 | | while let Some(m) = Weak::upgrade(&mref) { [INFO] [stdout] 41 | | m.lock() [INFO] [stdout] 42 | | .await [INFO] [stdout] ... | [INFO] [stdout] 51 | | } [INFO] [stdout] 52 | | }); [INFO] [stdout] | |_________^ [INFO] [stdout] note: ...which requires processing MIR for `client::channel::mailbox::::new::{closure#0}`... [INFO] [stdout] --> src/client/channel/mailbox.rs:39:33 [INFO] [stdout] | [INFO] [stdout] 39 | tokio::spawn(async move { [INFO] [stdout] | _________________________________^ [INFO] [stdout] 40 | | while let Some(m) = Weak::upgrade(&mref) { [INFO] [stdout] 41 | | m.lock() [INFO] [stdout] 42 | | .await [INFO] [stdout] ... | [INFO] [stdout] 51 | | } [INFO] [stdout] 52 | | }); [INFO] [stdout] | |_________^ [INFO] [stdout] note: ...which requires unsafety-checking `client::channel::mailbox::::new::{closure#0}`... [INFO] [stdout] --> src/client/channel/mailbox.rs:39:33 [INFO] [stdout] | [INFO] [stdout] 39 | tokio::spawn(async move { [INFO] [stdout] | _________________________________^ [INFO] [stdout] 40 | | while let Some(m) = Weak::upgrade(&mref) { [INFO] [stdout] 41 | | m.lock() [INFO] [stdout] 42 | | .await [INFO] [stdout] ... | [INFO] [stdout] 51 | | } [INFO] [stdout] 52 | | }); [INFO] [stdout] | |_________^ [INFO] [stdout] note: ...which requires building MIR for `client::channel::mailbox::::new::{closure#0}`... [INFO] [stdout] --> src/client/channel/mailbox.rs:39:33 [INFO] [stdout] | [INFO] [stdout] 39 | tokio::spawn(async move { [INFO] [stdout] | _________________________________^ [INFO] [stdout] 40 | | while let Some(m) = Weak::upgrade(&mref) { [INFO] [stdout] 41 | | m.lock() [INFO] [stdout] 42 | | .await [INFO] [stdout] ... | [INFO] [stdout] 51 | | } [INFO] [stdout] 52 | | }); [INFO] [stdout] | |_________^ [INFO] [stdout] note: ...which requires type-checking `client::channel::mailbox::::new::{closure#0}`... [INFO] [stdout] --> src/client/channel/mailbox.rs:39:33 [INFO] [stdout] | [INFO] [stdout] 39 | tokio::spawn(async move { [INFO] [stdout] | _________________________________^ [INFO] [stdout] 40 | | while let Some(m) = Weak::upgrade(&mref) { [INFO] [stdout] 41 | | m.lock() [INFO] [stdout] 42 | | .await [INFO] [stdout] ... | [INFO] [stdout] 51 | | } [INFO] [stdout] 52 | | }); [INFO] [stdout] | |_________^ [INFO] [stdout] = note: ...which again requires type-checking `client::channel::mailbox::::new`, 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 `client::ext::unix::::connect` [INFO] [stdout] --> src/client/ext/unix.rs:43:5 [INFO] [stdout] | [INFO] [stdout] 43 | async fn connect(path: P, codec: C) -> io::Result> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: ...which requires generator glue MIR for `client::ext::unix::::connect::{closure#0}`... [INFO] [stdout] --> src/client/ext/unix.rs:47:5 [INFO] [stdout] | [INFO] [stdout] 47 | / { [INFO] [stdout] 48 | | let p = path.as_ref(); [INFO] [stdout] 49 | | let transport = UnixSocketTransport::connect(p).await?; [INFO] [stdout] 50 | | let transport = FramedTransport::new(transport, codec); [INFO] [stdout] 51 | | let (writer, reader) = transport.into_split(); [INFO] [stdout] 52 | | Ok(Client::new(writer, reader)?) [INFO] [stdout] 53 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires elaborating drops for `client::ext::unix::::connect::{closure#0}`... [INFO] [stdout] --> src/client/ext/unix.rs:47:5 [INFO] [stdout] | [INFO] [stdout] 47 | / { [INFO] [stdout] 48 | | let p = path.as_ref(); [INFO] [stdout] 49 | | let transport = UnixSocketTransport::connect(p).await?; [INFO] [stdout] 50 | | let transport = FramedTransport::new(transport, codec); [INFO] [stdout] 51 | | let (writer, reader) = transport.into_split(); [INFO] [stdout] 52 | | Ok(Client::new(writer, reader)?) [INFO] [stdout] 53 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires borrow-checking `client::ext::unix::::connect::{closure#0}`... [INFO] [stdout] --> src/client/ext/unix.rs:47:5 [INFO] [stdout] | [INFO] [stdout] 47 | / { [INFO] [stdout] 48 | | let p = path.as_ref(); [INFO] [stdout] 49 | | let transport = UnixSocketTransport::connect(p).await?; [INFO] [stdout] 50 | | let transport = FramedTransport::new(transport, codec); [INFO] [stdout] 51 | | let (writer, reader) = transport.into_split(); [INFO] [stdout] 52 | | Ok(Client::new(writer, reader)?) [INFO] [stdout] 53 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires processing `client::ext::unix::::connect::{closure#0}`... [INFO] [stdout] --> src/client/ext/unix.rs:47:5 [INFO] [stdout] | [INFO] [stdout] 47 | / { [INFO] [stdout] 48 | | let p = path.as_ref(); [INFO] [stdout] 49 | | let transport = UnixSocketTransport::connect(p).await?; [INFO] [stdout] 50 | | let transport = FramedTransport::new(transport, codec); [INFO] [stdout] 51 | | let (writer, reader) = transport.into_split(); [INFO] [stdout] 52 | | Ok(Client::new(writer, reader)?) [INFO] [stdout] 53 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires processing MIR for `client::ext::unix::::connect::{closure#0}`... [INFO] [stdout] --> src/client/ext/unix.rs:47:5 [INFO] [stdout] | [INFO] [stdout] 47 | / { [INFO] [stdout] 48 | | let p = path.as_ref(); [INFO] [stdout] 49 | | let transport = UnixSocketTransport::connect(p).await?; [INFO] [stdout] 50 | | let transport = FramedTransport::new(transport, codec); [INFO] [stdout] 51 | | let (writer, reader) = transport.into_split(); [INFO] [stdout] 52 | | Ok(Client::new(writer, reader)?) [INFO] [stdout] 53 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires unsafety-checking `client::ext::unix::::connect::{closure#0}`... [INFO] [stdout] --> src/client/ext/unix.rs:47:5 [INFO] [stdout] | [INFO] [stdout] 47 | / { [INFO] [stdout] 48 | | let p = path.as_ref(); [INFO] [stdout] 49 | | let transport = UnixSocketTransport::connect(p).await?; [INFO] [stdout] 50 | | let transport = FramedTransport::new(transport, codec); [INFO] [stdout] 51 | | let (writer, reader) = transport.into_split(); [INFO] [stdout] 52 | | Ok(Client::new(writer, reader)?) [INFO] [stdout] 53 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires building MIR for `client::ext::unix::::connect::{closure#0}`... [INFO] [stdout] --> src/client/ext/unix.rs:47:5 [INFO] [stdout] | [INFO] [stdout] 47 | / { [INFO] [stdout] 48 | | let p = path.as_ref(); [INFO] [stdout] 49 | | let transport = UnixSocketTransport::connect(p).await?; [INFO] [stdout] 50 | | let transport = FramedTransport::new(transport, codec); [INFO] [stdout] 51 | | let (writer, reader) = transport.into_split(); [INFO] [stdout] 52 | | Ok(Client::new(writer, reader)?) [INFO] [stdout] 53 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires type-checking `client::ext::unix::::connect::{closure#0}`... [INFO] [stdout] --> src/client/ext/unix.rs:47:5 [INFO] [stdout] | [INFO] [stdout] 47 | / { [INFO] [stdout] 48 | | let p = path.as_ref(); [INFO] [stdout] 49 | | let transport = UnixSocketTransport::connect(p).await?; [INFO] [stdout] 50 | | let transport = FramedTransport::new(transport, codec); [INFO] [stdout] 51 | | let (writer, reader) = transport.into_split(); [INFO] [stdout] 52 | | Ok(Client::new(writer, reader)?) [INFO] [stdout] 53 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] = note: ...which again requires type-checking `client::ext::unix::::connect`, 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 `server::ext::tcp::::start` [INFO] [stdout] --> src/server/ext/tcp.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 34 | async fn start(self, addr: IpAddr, port: P, codec: C) -> io::Result [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: ...which requires generator glue MIR for `server::ext::tcp::::start::{closure#0}`... [INFO] [stdout] --> src/server/ext/tcp.rs:38:5 [INFO] [stdout] | [INFO] [stdout] 38 | / { [INFO] [stdout] 39 | | let listener = TcpListener::bind(addr, port).await?; [INFO] [stdout] 40 | | let port = listener.port(); [INFO] [stdout] 41 | | [INFO] [stdout] ... | [INFO] [stdout] 47 | | Ok(TcpServerRef { addr, port, inner }) [INFO] [stdout] 48 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires elaborating drops for `server::ext::tcp::::start::{closure#0}`... [INFO] [stdout] --> src/server/ext/tcp.rs:38:5 [INFO] [stdout] | [INFO] [stdout] 38 | / { [INFO] [stdout] 39 | | let listener = TcpListener::bind(addr, port).await?; [INFO] [stdout] 40 | | let port = listener.port(); [INFO] [stdout] 41 | | [INFO] [stdout] ... | [INFO] [stdout] 47 | | Ok(TcpServerRef { addr, port, inner }) [INFO] [stdout] 48 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires borrow-checking `server::ext::tcp::::start::{closure#0}`... [INFO] [stdout] --> src/server/ext/tcp.rs:38:5 [INFO] [stdout] | [INFO] [stdout] 38 | / { [INFO] [stdout] 39 | | let listener = TcpListener::bind(addr, port).await?; [INFO] [stdout] 40 | | let port = listener.port(); [INFO] [stdout] 41 | | [INFO] [stdout] ... | [INFO] [stdout] 47 | | Ok(TcpServerRef { addr, port, inner }) [INFO] [stdout] 48 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires processing `server::ext::tcp::::start::{closure#0}`... [INFO] [stdout] --> src/server/ext/tcp.rs:38:5 [INFO] [stdout] | [INFO] [stdout] 38 | / { [INFO] [stdout] 39 | | let listener = TcpListener::bind(addr, port).await?; [INFO] [stdout] 40 | | let port = listener.port(); [INFO] [stdout] 41 | | [INFO] [stdout] ... | [INFO] [stdout] 47 | | Ok(TcpServerRef { addr, port, inner }) [INFO] [stdout] 48 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires processing MIR for `server::ext::tcp::::start::{closure#0}`... [INFO] [stdout] --> src/server/ext/tcp.rs:38:5 [INFO] [stdout] | [INFO] [stdout] 38 | / { [INFO] [stdout] 39 | | let listener = TcpListener::bind(addr, port).await?; [INFO] [stdout] 40 | | let port = listener.port(); [INFO] [stdout] 41 | | [INFO] [stdout] ... | [INFO] [stdout] 47 | | Ok(TcpServerRef { addr, port, inner }) [INFO] [stdout] 48 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires unsafety-checking `server::ext::tcp::::start::{closure#0}`... [INFO] [stdout] --> src/server/ext/tcp.rs:38:5 [INFO] [stdout] | [INFO] [stdout] 38 | / { [INFO] [stdout] 39 | | let listener = TcpListener::bind(addr, port).await?; [INFO] [stdout] 40 | | let port = listener.port(); [INFO] [stdout] 41 | | [INFO] [stdout] ... | [INFO] [stdout] 47 | | Ok(TcpServerRef { addr, port, inner }) [INFO] [stdout] 48 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires building MIR for `server::ext::tcp::::start::{closure#0}`... [INFO] [stdout] --> src/server/ext/tcp.rs:38:5 [INFO] [stdout] | [INFO] [stdout] 38 | / { [INFO] [stdout] 39 | | let listener = TcpListener::bind(addr, port).await?; [INFO] [stdout] 40 | | let port = listener.port(); [INFO] [stdout] 41 | | [INFO] [stdout] ... | [INFO] [stdout] 47 | | Ok(TcpServerRef { addr, port, inner }) [INFO] [stdout] 48 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires type-checking `server::ext::tcp::::start::{closure#0}`... [INFO] [stdout] --> src/server/ext/tcp.rs:38:5 [INFO] [stdout] | [INFO] [stdout] 38 | / { [INFO] [stdout] 39 | | let listener = TcpListener::bind(addr, port).await?; [INFO] [stdout] 40 | | let port = listener.port(); [INFO] [stdout] 41 | | [INFO] [stdout] ... | [INFO] [stdout] 47 | | Ok(TcpServerRef { addr, port, inner }) [INFO] [stdout] 48 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] = note: ...which again requires type-checking `server::ext::tcp::::start`, 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 `server::ext::unix::::start` [INFO] [stdout] --> src/server/ext/unix.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 34 | async fn start(self, path: P, codec: C) -> io::Result [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: ...which requires generator glue MIR for `server::ext::unix::::start::{closure#0}`... [INFO] [stdout] --> src/server/ext/unix.rs:38:5 [INFO] [stdout] | [INFO] [stdout] 38 | / { [INFO] [stdout] 39 | | let path = path.as_ref(); [INFO] [stdout] 40 | | let listener = UnixSocketListener::bind(path).await?; [INFO] [stdout] 41 | | let path = listener.path().to_path_buf(); [INFO] [stdout] ... | [INFO] [stdout] 48 | | Ok(UnixSocketServerRef { path, inner }) [INFO] [stdout] 49 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires elaborating drops for `server::ext::unix::::start::{closure#0}`... [INFO] [stdout] --> src/server/ext/unix.rs:38:5 [INFO] [stdout] | [INFO] [stdout] 38 | / { [INFO] [stdout] 39 | | let path = path.as_ref(); [INFO] [stdout] 40 | | let listener = UnixSocketListener::bind(path).await?; [INFO] [stdout] 41 | | let path = listener.path().to_path_buf(); [INFO] [stdout] ... | [INFO] [stdout] 48 | | Ok(UnixSocketServerRef { path, inner }) [INFO] [stdout] 49 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires borrow-checking `server::ext::unix::::start::{closure#0}`... [INFO] [stdout] --> src/server/ext/unix.rs:38:5 [INFO] [stdout] | [INFO] [stdout] 38 | / { [INFO] [stdout] 39 | | let path = path.as_ref(); [INFO] [stdout] 40 | | let listener = UnixSocketListener::bind(path).await?; [INFO] [stdout] 41 | | let path = listener.path().to_path_buf(); [INFO] [stdout] ... | [INFO] [stdout] 48 | | Ok(UnixSocketServerRef { path, inner }) [INFO] [stdout] 49 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires processing `server::ext::unix::::start::{closure#0}`... [INFO] [stdout] --> src/server/ext/unix.rs:38:5 [INFO] [stdout] | [INFO] [stdout] 38 | / { [INFO] [stdout] 39 | | let path = path.as_ref(); [INFO] [stdout] 40 | | let listener = UnixSocketListener::bind(path).await?; [INFO] [stdout] 41 | | let path = listener.path().to_path_buf(); [INFO] [stdout] ... | [INFO] [stdout] 48 | | Ok(UnixSocketServerRef { path, inner }) [INFO] [stdout] 49 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires processing MIR for `server::ext::unix::::start::{closure#0}`... [INFO] [stdout] --> src/server/ext/unix.rs:38:5 [INFO] [stdout] | [INFO] [stdout] 38 | / { [INFO] [stdout] 39 | | let path = path.as_ref(); [INFO] [stdout] 40 | | let listener = UnixSocketListener::bind(path).await?; [INFO] [stdout] 41 | | let path = listener.path().to_path_buf(); [INFO] [stdout] ... | [INFO] [stdout] 48 | | Ok(UnixSocketServerRef { path, inner }) [INFO] [stdout] 49 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires unsafety-checking `server::ext::unix::::start::{closure#0}`... [INFO] [stdout] --> src/server/ext/unix.rs:38:5 [INFO] [stdout] | [INFO] [stdout] 38 | / { [INFO] [stdout] 39 | | let path = path.as_ref(); [INFO] [stdout] 40 | | let listener = UnixSocketListener::bind(path).await?; [INFO] [stdout] 41 | | let path = listener.path().to_path_buf(); [INFO] [stdout] ... | [INFO] [stdout] 48 | | Ok(UnixSocketServerRef { path, inner }) [INFO] [stdout] 49 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires building MIR for `server::ext::unix::::start::{closure#0}`... [INFO] [stdout] --> src/server/ext/unix.rs:38:5 [INFO] [stdout] | [INFO] [stdout] 38 | / { [INFO] [stdout] 39 | | let path = path.as_ref(); [INFO] [stdout] 40 | | let listener = UnixSocketListener::bind(path).await?; [INFO] [stdout] 41 | | let path = listener.path().to_path_buf(); [INFO] [stdout] ... | [INFO] [stdout] 48 | | Ok(UnixSocketServerRef { path, inner }) [INFO] [stdout] 49 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires type-checking `server::ext::unix::::start::{closure#0}`... [INFO] [stdout] --> src/server/ext/unix.rs:38:5 [INFO] [stdout] | [INFO] [stdout] 38 | / { [INFO] [stdout] 39 | | let path = path.as_ref(); [INFO] [stdout] 40 | | let listener = UnixSocketListener::bind(path).await?; [INFO] [stdout] 41 | | let path = listener.path().to_path_buf(); [INFO] [stdout] ... | [INFO] [stdout] 48 | | Ok(UnixSocketServerRef { path, inner }) [INFO] [stdout] 49 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] = note: ...which again requires type-checking `server::ext::unix::::start`, completing the cycle [INFO] [stdout] = note: cycle used when type-checking all item bodies [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0391`. [INFO] [stdout] [INFO] [stderr] error: could not compile `distant-net` due to 6 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0391]: cycle detected when type-checking `auth::server::::on_request` [INFO] [stdout] --> src/auth/server.rs:55:5 [INFO] [stdout] | [INFO] [stdout] 55 | async fn on_request(&self, ctx: ServerCtx) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: ...which requires generator glue MIR for `auth::server::::on_request::{closure#0}`... [INFO] [stdout] --> src/auth/server.rs:55:96 [INFO] [stdout] | [INFO] [stdout] 55 | async fn on_request(&self, ctx: ServerCtx) { [INFO] [stdout] | ________________________________________________________________________________________________^ [INFO] [stdout] 56 | | let reply = ctx.reply.clone(); [INFO] [stdout] 57 | | [INFO] [stdout] 58 | | match ctx.request.payload { [INFO] [stdout] ... | [INFO] [stdout] 194 | | } [INFO] [stdout] 195 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires elaborating drops for `auth::server::::on_request::{closure#0}`... [INFO] [stdout] --> src/auth/server.rs:55:96 [INFO] [stdout] | [INFO] [stdout] 55 | async fn on_request(&self, ctx: ServerCtx) { [INFO] [stdout] | ________________________________________________________________________________________________^ [INFO] [stdout] 56 | | let reply = ctx.reply.clone(); [INFO] [stdout] 57 | | [INFO] [stdout] 58 | | match ctx.request.payload { [INFO] [stdout] ... | [INFO] [stdout] 194 | | } [INFO] [stdout] 195 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires borrow-checking `auth::server::::on_request::{closure#0}`... [INFO] [stdout] --> src/auth/server.rs:55:96 [INFO] [stdout] | [INFO] [stdout] 55 | async fn on_request(&self, ctx: ServerCtx) { [INFO] [stdout] | ________________________________________________________________________________________________^ [INFO] [stdout] 56 | | let reply = ctx.reply.clone(); [INFO] [stdout] 57 | | [INFO] [stdout] 58 | | match ctx.request.payload { [INFO] [stdout] ... | [INFO] [stdout] 194 | | } [INFO] [stdout] 195 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires processing `auth::server::::on_request::{closure#0}`... [INFO] [stdout] --> src/auth/server.rs:55:96 [INFO] [stdout] | [INFO] [stdout] 55 | async fn on_request(&self, ctx: ServerCtx) { [INFO] [stdout] | ________________________________________________________________________________________________^ [INFO] [stdout] 56 | | let reply = ctx.reply.clone(); [INFO] [stdout] 57 | | [INFO] [stdout] 58 | | match ctx.request.payload { [INFO] [stdout] ... | [INFO] [stdout] 194 | | } [INFO] [stdout] 195 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires processing MIR for `auth::server::::on_request::{closure#0}`... [INFO] [stdout] --> src/auth/server.rs:55:96 [INFO] [stdout] | [INFO] [stdout] 55 | async fn on_request(&self, ctx: ServerCtx) { [INFO] [stdout] | ________________________________________________________________________________________________^ [INFO] [stdout] 56 | | let reply = ctx.reply.clone(); [INFO] [stdout] 57 | | [INFO] [stdout] 58 | | match ctx.request.payload { [INFO] [stdout] ... | [INFO] [stdout] 194 | | } [INFO] [stdout] 195 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires unsafety-checking `auth::server::::on_request::{closure#0}`... [INFO] [stdout] --> src/auth/server.rs:55:96 [INFO] [stdout] | [INFO] [stdout] 55 | async fn on_request(&self, ctx: ServerCtx) { [INFO] [stdout] | ________________________________________________________________________________________________^ [INFO] [stdout] 56 | | let reply = ctx.reply.clone(); [INFO] [stdout] 57 | | [INFO] [stdout] 58 | | match ctx.request.payload { [INFO] [stdout] ... | [INFO] [stdout] 194 | | } [INFO] [stdout] 195 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires building MIR for `auth::server::::on_request::{closure#0}`... [INFO] [stdout] --> src/auth/server.rs:55:96 [INFO] [stdout] | [INFO] [stdout] 55 | async fn on_request(&self, ctx: ServerCtx) { [INFO] [stdout] | ________________________________________________________________________________________________^ [INFO] [stdout] 56 | | let reply = ctx.reply.clone(); [INFO] [stdout] 57 | | [INFO] [stdout] 58 | | match ctx.request.payload { [INFO] [stdout] ... | [INFO] [stdout] 194 | | } [INFO] [stdout] 195 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires type-checking `auth::server::::on_request::{closure#0}`... [INFO] [stdout] --> src/auth/server.rs:55:96 [INFO] [stdout] | [INFO] [stdout] 55 | async fn on_request(&self, ctx: ServerCtx) { [INFO] [stdout] | ________________________________________________________________________________________________^ [INFO] [stdout] 56 | | let reply = ctx.reply.clone(); [INFO] [stdout] 57 | | [INFO] [stdout] 58 | | match ctx.request.payload { [INFO] [stdout] ... | [INFO] [stdout] 194 | | } [INFO] [stdout] 195 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] = note: ...which again requires type-checking `auth::server::::on_request`, 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 `client::channel::mailbox::::new` [INFO] [stdout] --> src/client/channel/mailbox.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 34 | pub fn new(cleanup: Duration) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: ...which requires generator glue MIR for `client::channel::mailbox::::new::{closure#0}`... [INFO] [stdout] --> src/client/channel/mailbox.rs:39:33 [INFO] [stdout] | [INFO] [stdout] 39 | tokio::spawn(async move { [INFO] [stdout] | _________________________________^ [INFO] [stdout] 40 | | while let Some(m) = Weak::upgrade(&mref) { [INFO] [stdout] 41 | | m.lock() [INFO] [stdout] 42 | | .await [INFO] [stdout] ... | [INFO] [stdout] 51 | | } [INFO] [stdout] 52 | | }); [INFO] [stdout] | |_________^ [INFO] [stdout] note: ...which requires elaborating drops for `client::channel::mailbox::::new::{closure#0}`... [INFO] [stdout] --> src/client/channel/mailbox.rs:39:33 [INFO] [stdout] | [INFO] [stdout] 39 | tokio::spawn(async move { [INFO] [stdout] | _________________________________^ [INFO] [stdout] 40 | | while let Some(m) = Weak::upgrade(&mref) { [INFO] [stdout] 41 | | m.lock() [INFO] [stdout] 42 | | .await [INFO] [stdout] ... | [INFO] [stdout] 51 | | } [INFO] [stdout] 52 | | }); [INFO] [stdout] | |_________^ [INFO] [stdout] note: ...which requires borrow-checking `client::channel::mailbox::::new::{closure#0}`... [INFO] [stdout] --> src/client/channel/mailbox.rs:39:33 [INFO] [stdout] | [INFO] [stdout] 39 | tokio::spawn(async move { [INFO] [stdout] | _________________________________^ [INFO] [stdout] 40 | | while let Some(m) = Weak::upgrade(&mref) { [INFO] [stdout] 41 | | m.lock() [INFO] [stdout] 42 | | .await [INFO] [stdout] ... | [INFO] [stdout] 51 | | } [INFO] [stdout] 52 | | }); [INFO] [stdout] | |_________^ [INFO] [stdout] note: ...which requires processing `client::channel::mailbox::::new::{closure#0}`... [INFO] [stdout] --> src/client/channel/mailbox.rs:39:33 [INFO] [stdout] | [INFO] [stdout] 39 | tokio::spawn(async move { [INFO] [stdout] | _________________________________^ [INFO] [stdout] 40 | | while let Some(m) = Weak::upgrade(&mref) { [INFO] [stdout] 41 | | m.lock() [INFO] [stdout] 42 | | .await [INFO] [stdout] ... | [INFO] [stdout] 51 | | } [INFO] [stdout] 52 | | }); [INFO] [stdout] | |_________^ [INFO] [stdout] note: ...which requires processing MIR for `client::channel::mailbox::::new::{closure#0}`... [INFO] [stdout] --> src/client/channel/mailbox.rs:39:33 [INFO] [stdout] | [INFO] [stdout] 39 | tokio::spawn(async move { [INFO] [stdout] | _________________________________^ [INFO] [stdout] 40 | | while let Some(m) = Weak::upgrade(&mref) { [INFO] [stdout] 41 | | m.lock() [INFO] [stdout] 42 | | .await [INFO] [stdout] ... | [INFO] [stdout] 51 | | } [INFO] [stdout] 52 | | }); [INFO] [stdout] | |_________^ [INFO] [stdout] note: ...which requires unsafety-checking `client::channel::mailbox::::new::{closure#0}`... [INFO] [stdout] --> src/client/channel/mailbox.rs:39:33 [INFO] [stdout] | [INFO] [stdout] 39 | tokio::spawn(async move { [INFO] [stdout] | _________________________________^ [INFO] [stdout] 40 | | while let Some(m) = Weak::upgrade(&mref) { [INFO] [stdout] 41 | | m.lock() [INFO] [stdout] 42 | | .await [INFO] [stdout] ... | [INFO] [stdout] 51 | | } [INFO] [stdout] 52 | | }); [INFO] [stdout] | |_________^ [INFO] [stdout] note: ...which requires building MIR for `client::channel::mailbox::::new::{closure#0}`... [INFO] [stdout] --> src/client/channel/mailbox.rs:39:33 [INFO] [stdout] | [INFO] [stdout] 39 | tokio::spawn(async move { [INFO] [stdout] | _________________________________^ [INFO] [stdout] 40 | | while let Some(m) = Weak::upgrade(&mref) { [INFO] [stdout] 41 | | m.lock() [INFO] [stdout] 42 | | .await [INFO] [stdout] ... | [INFO] [stdout] 51 | | } [INFO] [stdout] 52 | | }); [INFO] [stdout] | |_________^ [INFO] [stdout] note: ...which requires type-checking `client::channel::mailbox::::new::{closure#0}`... [INFO] [stdout] --> src/client/channel/mailbox.rs:39:33 [INFO] [stdout] | [INFO] [stdout] 39 | tokio::spawn(async move { [INFO] [stdout] | _________________________________^ [INFO] [stdout] 40 | | while let Some(m) = Weak::upgrade(&mref) { [INFO] [stdout] 41 | | m.lock() [INFO] [stdout] 42 | | .await [INFO] [stdout] ... | [INFO] [stdout] 51 | | } [INFO] [stdout] 52 | | }); [INFO] [stdout] | |_________^ [INFO] [stdout] = note: ...which again requires type-checking `client::channel::mailbox::::new`, 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 `client::ext::unix::::connect` [INFO] [stdout] --> src/client/ext/unix.rs:43:5 [INFO] [stdout] | [INFO] [stdout] 43 | async fn connect(path: P, codec: C) -> io::Result> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: ...which requires generator glue MIR for `client::ext::unix::::connect::{closure#0}`... [INFO] [stdout] --> src/client/ext/unix.rs:47:5 [INFO] [stdout] | [INFO] [stdout] 47 | / { [INFO] [stdout] 48 | | let p = path.as_ref(); [INFO] [stdout] 49 | | let transport = UnixSocketTransport::connect(p).await?; [INFO] [stdout] 50 | | let transport = FramedTransport::new(transport, codec); [INFO] [stdout] 51 | | let (writer, reader) = transport.into_split(); [INFO] [stdout] 52 | | Ok(Client::new(writer, reader)?) [INFO] [stdout] 53 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires elaborating drops for `client::ext::unix::::connect::{closure#0}`... [INFO] [stdout] --> src/client/ext/unix.rs:47:5 [INFO] [stdout] | [INFO] [stdout] 47 | / { [INFO] [stdout] 48 | | let p = path.as_ref(); [INFO] [stdout] 49 | | let transport = UnixSocketTransport::connect(p).await?; [INFO] [stdout] 50 | | let transport = FramedTransport::new(transport, codec); [INFO] [stdout] 51 | | let (writer, reader) = transport.into_split(); [INFO] [stdout] 52 | | Ok(Client::new(writer, reader)?) [INFO] [stdout] 53 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires borrow-checking `client::ext::unix::::connect::{closure#0}`... [INFO] [stdout] --> src/client/ext/unix.rs:47:5 [INFO] [stdout] | [INFO] [stdout] 47 | / { [INFO] [stdout] 48 | | let p = path.as_ref(); [INFO] [stdout] 49 | | let transport = UnixSocketTransport::connect(p).await?; [INFO] [stdout] 50 | | let transport = FramedTransport::new(transport, codec); [INFO] [stdout] 51 | | let (writer, reader) = transport.into_split(); [INFO] [stdout] 52 | | Ok(Client::new(writer, reader)?) [INFO] [stdout] 53 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires processing `client::ext::unix::::connect::{closure#0}`... [INFO] [stdout] --> src/client/ext/unix.rs:47:5 [INFO] [stdout] | [INFO] [stdout] 47 | / { [INFO] [stdout] 48 | | let p = path.as_ref(); [INFO] [stdout] 49 | | let transport = UnixSocketTransport::connect(p).await?; [INFO] [stdout] 50 | | let transport = FramedTransport::new(transport, codec); [INFO] [stdout] 51 | | let (writer, reader) = transport.into_split(); [INFO] [stdout] 52 | | Ok(Client::new(writer, reader)?) [INFO] [stdout] 53 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires processing MIR for `client::ext::unix::::connect::{closure#0}`... [INFO] [stdout] --> src/client/ext/unix.rs:47:5 [INFO] [stdout] | [INFO] [stdout] 47 | / { [INFO] [stdout] 48 | | let p = path.as_ref(); [INFO] [stdout] 49 | | let transport = UnixSocketTransport::connect(p).await?; [INFO] [stdout] 50 | | let transport = FramedTransport::new(transport, codec); [INFO] [stdout] 51 | | let (writer, reader) = transport.into_split(); [INFO] [stdout] 52 | | Ok(Client::new(writer, reader)?) [INFO] [stdout] 53 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires unsafety-checking `client::ext::unix::::connect::{closure#0}`... [INFO] [stdout] --> src/client/ext/unix.rs:47:5 [INFO] [stdout] | [INFO] [stdout] 47 | / { [INFO] [stdout] 48 | | let p = path.as_ref(); [INFO] [stdout] 49 | | let transport = UnixSocketTransport::connect(p).await?; [INFO] [stdout] 50 | | let transport = FramedTransport::new(transport, codec); [INFO] [stdout] 51 | | let (writer, reader) = transport.into_split(); [INFO] [stdout] 52 | | Ok(Client::new(writer, reader)?) [INFO] [stdout] 53 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires building MIR for `client::ext::unix::::connect::{closure#0}`... [INFO] [stdout] --> src/client/ext/unix.rs:47:5 [INFO] [stdout] | [INFO] [stdout] 47 | / { [INFO] [stdout] 48 | | let p = path.as_ref(); [INFO] [stdout] 49 | | let transport = UnixSocketTransport::connect(p).await?; [INFO] [stdout] 50 | | let transport = FramedTransport::new(transport, codec); [INFO] [stdout] 51 | | let (writer, reader) = transport.into_split(); [INFO] [stdout] 52 | | Ok(Client::new(writer, reader)?) [INFO] [stdout] 53 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires type-checking `client::ext::unix::::connect::{closure#0}`... [INFO] [stdout] --> src/client/ext/unix.rs:47:5 [INFO] [stdout] | [INFO] [stdout] 47 | / { [INFO] [stdout] 48 | | let p = path.as_ref(); [INFO] [stdout] 49 | | let transport = UnixSocketTransport::connect(p).await?; [INFO] [stdout] 50 | | let transport = FramedTransport::new(transport, codec); [INFO] [stdout] 51 | | let (writer, reader) = transport.into_split(); [INFO] [stdout] 52 | | Ok(Client::new(writer, reader)?) [INFO] [stdout] 53 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] = note: ...which again requires type-checking `client::ext::unix::::connect`, 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 `server::ext::tcp::::start` [INFO] [stdout] --> src/server/ext/tcp.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 34 | async fn start(self, addr: IpAddr, port: P, codec: C) -> io::Result [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: ...which requires generator glue MIR for `server::ext::tcp::::start::{closure#0}`... [INFO] [stdout] --> src/server/ext/tcp.rs:38:5 [INFO] [stdout] | [INFO] [stdout] 38 | / { [INFO] [stdout] 39 | | let listener = TcpListener::bind(addr, port).await?; [INFO] [stdout] 40 | | let port = listener.port(); [INFO] [stdout] 41 | | [INFO] [stdout] ... | [INFO] [stdout] 47 | | Ok(TcpServerRef { addr, port, inner }) [INFO] [stdout] 48 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires elaborating drops for `server::ext::tcp::::start::{closure#0}`... [INFO] [stdout] --> src/server/ext/tcp.rs:38:5 [INFO] [stdout] | [INFO] [stdout] 38 | / { [INFO] [stdout] 39 | | let listener = TcpListener::bind(addr, port).await?; [INFO] [stdout] 40 | | let port = listener.port(); [INFO] [stdout] 41 | | [INFO] [stdout] ... | [INFO] [stdout] 47 | | Ok(TcpServerRef { addr, port, inner }) [INFO] [stdout] 48 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires borrow-checking `server::ext::tcp::::start::{closure#0}`... [INFO] [stdout] --> src/server/ext/tcp.rs:38:5 [INFO] [stdout] | [INFO] [stdout] 38 | / { [INFO] [stdout] 39 | | let listener = TcpListener::bind(addr, port).await?; [INFO] [stdout] 40 | | let port = listener.port(); [INFO] [stdout] 41 | | [INFO] [stdout] ... | [INFO] [stdout] 47 | | Ok(TcpServerRef { addr, port, inner }) [INFO] [stdout] 48 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires processing `server::ext::tcp::::start::{closure#0}`... [INFO] [stdout] --> src/server/ext/tcp.rs:38:5 [INFO] [stdout] | [INFO] [stdout] 38 | / { [INFO] [stdout] 39 | | let listener = TcpListener::bind(addr, port).await?; [INFO] [stdout] 40 | | let port = listener.port(); [INFO] [stdout] 41 | | [INFO] [stdout] ... | [INFO] [stdout] 47 | | Ok(TcpServerRef { addr, port, inner }) [INFO] [stdout] 48 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires processing MIR for `server::ext::tcp::::start::{closure#0}`... [INFO] [stdout] --> src/server/ext/tcp.rs:38:5 [INFO] [stdout] | [INFO] [stdout] 38 | / { [INFO] [stdout] 39 | | let listener = TcpListener::bind(addr, port).await?; [INFO] [stdout] 40 | | let port = listener.port(); [INFO] [stdout] 41 | | [INFO] [stdout] ... | [INFO] [stdout] 47 | | Ok(TcpServerRef { addr, port, inner }) [INFO] [stdout] 48 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires unsafety-checking `server::ext::tcp::::start::{closure#0}`... [INFO] [stdout] --> src/server/ext/tcp.rs:38:5 [INFO] [stdout] | [INFO] [stdout] 38 | / { [INFO] [stdout] 39 | | let listener = TcpListener::bind(addr, port).await?; [INFO] [stdout] 40 | | let port = listener.port(); [INFO] [stdout] 41 | | [INFO] [stdout] ... | [INFO] [stdout] 47 | | Ok(TcpServerRef { addr, port, inner }) [INFO] [stdout] 48 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires building MIR for `server::ext::tcp::::start::{closure#0}`... [INFO] [stdout] --> src/server/ext/tcp.rs:38:5 [INFO] [stdout] | [INFO] [stdout] 38 | / { [INFO] [stdout] 39 | | let listener = TcpListener::bind(addr, port).await?; [INFO] [stdout] 40 | | let port = listener.port(); [INFO] [stdout] 41 | | [INFO] [stdout] ... | [INFO] [stdout] 47 | | Ok(TcpServerRef { addr, port, inner }) [INFO] [stdout] 48 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires type-checking `server::ext::tcp::::start::{closure#0}`... [INFO] [stdout] --> src/server/ext/tcp.rs:38:5 [INFO] [stdout] | [INFO] [stdout] 38 | / { [INFO] [stdout] 39 | | let listener = TcpListener::bind(addr, port).await?; [INFO] [stdout] 40 | | let port = listener.port(); [INFO] [stdout] 41 | | [INFO] [stdout] ... | [INFO] [stdout] 47 | | Ok(TcpServerRef { addr, port, inner }) [INFO] [stdout] 48 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] = note: ...which again requires type-checking `server::ext::tcp::::start`, 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 `server::ext::unix::::start` [INFO] [stdout] --> src/server/ext/unix.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 34 | async fn start(self, path: P, codec: C) -> io::Result [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: ...which requires generator glue MIR for `server::ext::unix::::start::{closure#0}`... [INFO] [stdout] --> src/server/ext/unix.rs:38:5 [INFO] [stdout] | [INFO] [stdout] 38 | / { [INFO] [stdout] 39 | | let path = path.as_ref(); [INFO] [stdout] 40 | | let listener = UnixSocketListener::bind(path).await?; [INFO] [stdout] 41 | | let path = listener.path().to_path_buf(); [INFO] [stdout] ... | [INFO] [stdout] 48 | | Ok(UnixSocketServerRef { path, inner }) [INFO] [stdout] 49 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires elaborating drops for `server::ext::unix::::start::{closure#0}`... [INFO] [stdout] --> src/server/ext/unix.rs:38:5 [INFO] [stdout] | [INFO] [stdout] 38 | / { [INFO] [stdout] 39 | | let path = path.as_ref(); [INFO] [stdout] 40 | | let listener = UnixSocketListener::bind(path).await?; [INFO] [stdout] 41 | | let path = listener.path().to_path_buf(); [INFO] [stdout] ... | [INFO] [stdout] 48 | | Ok(UnixSocketServerRef { path, inner }) [INFO] [stdout] 49 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires borrow-checking `server::ext::unix::::start::{closure#0}`... [INFO] [stdout] --> src/server/ext/unix.rs:38:5 [INFO] [stdout] | [INFO] [stdout] 38 | / { [INFO] [stdout] 39 | | let path = path.as_ref(); [INFO] [stdout] 40 | | let listener = UnixSocketListener::bind(path).await?; [INFO] [stdout] 41 | | let path = listener.path().to_path_buf(); [INFO] [stdout] ... | [INFO] [stdout] 48 | | Ok(UnixSocketServerRef { path, inner }) [INFO] [stdout] 49 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires processing `server::ext::unix::::start::{closure#0}`... [INFO] [stdout] --> src/server/ext/unix.rs:38:5 [INFO] [stdout] | [INFO] [stdout] 38 | / { [INFO] [stdout] 39 | | let path = path.as_ref(); [INFO] [stdout] 40 | | let listener = UnixSocketListener::bind(path).await?; [INFO] [stdout] 41 | | let path = listener.path().to_path_buf(); [INFO] [stdout] ... | [INFO] [stdout] 48 | | Ok(UnixSocketServerRef { path, inner }) [INFO] [stdout] 49 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires processing MIR for `server::ext::unix::::start::{closure#0}`... [INFO] [stdout] --> src/server/ext/unix.rs:38:5 [INFO] [stdout] | [INFO] [stdout] 38 | / { [INFO] [stdout] 39 | | let path = path.as_ref(); [INFO] [stdout] 40 | | let listener = UnixSocketListener::bind(path).await?; [INFO] [stdout] 41 | | let path = listener.path().to_path_buf(); [INFO] [stdout] ... | [INFO] [stdout] 48 | | Ok(UnixSocketServerRef { path, inner }) [INFO] [stdout] 49 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires unsafety-checking `server::ext::unix::::start::{closure#0}`... [INFO] [stdout] --> src/server/ext/unix.rs:38:5 [INFO] [stdout] | [INFO] [stdout] 38 | / { [INFO] [stdout] 39 | | let path = path.as_ref(); [INFO] [stdout] 40 | | let listener = UnixSocketListener::bind(path).await?; [INFO] [stdout] 41 | | let path = listener.path().to_path_buf(); [INFO] [stdout] ... | [INFO] [stdout] 48 | | Ok(UnixSocketServerRef { path, inner }) [INFO] [stdout] 49 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires building MIR for `server::ext::unix::::start::{closure#0}`... [INFO] [stdout] --> src/server/ext/unix.rs:38:5 [INFO] [stdout] | [INFO] [stdout] 38 | / { [INFO] [stdout] 39 | | let path = path.as_ref(); [INFO] [stdout] 40 | | let listener = UnixSocketListener::bind(path).await?; [INFO] [stdout] 41 | | let path = listener.path().to_path_buf(); [INFO] [stdout] ... | [INFO] [stdout] 48 | | Ok(UnixSocketServerRef { path, inner }) [INFO] [stdout] 49 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires type-checking `server::ext::unix::::start::{closure#0}`... [INFO] [stdout] --> src/server/ext/unix.rs:38:5 [INFO] [stdout] | [INFO] [stdout] 38 | / { [INFO] [stdout] 39 | | let path = path.as_ref(); [INFO] [stdout] 40 | | let listener = UnixSocketListener::bind(path).await?; [INFO] [stdout] 41 | | let path = listener.path().to_path_buf(); [INFO] [stdout] ... | [INFO] [stdout] 48 | | Ok(UnixSocketServerRef { path, inner }) [INFO] [stdout] 49 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] = note: ...which again requires type-checking `server::ext::unix::::start`, 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 `transport::router::tests::::from_writer_and_reader` [INFO] [stdout] --> src/transport/router.rs:99:17 [INFO] [stdout] | [INFO] [stdout] 99 | / pub fn from_writer_and_reader(mut writer: W, mut reader: R) -> Self [INFO] [stdout] 100 | | where [INFO] [stdout] 101 | | W: $crate::UntypedTransportWrite + 'static, [INFO] [stdout] 102 | | R: $crate::UntypedTransportRead + 'static, [INFO] [stdout] | |______________________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 228 | / router!(TestRouter { [INFO] [stdout] 229 | | one: CustomData => String, [INFO] [stdout] 230 | | two: String => u8, [INFO] [stdout] 231 | | three: bool => bool, [INFO] [stdout] 232 | | should_compile: Result => Option, [INFO] [stdout] 233 | | }); [INFO] [stdout] | |______- in this macro invocation [INFO] [stdout] | [INFO] [stdout] note: ...which requires generator glue MIR for `transport::router::tests::::from_writer_and_reader::{closure#0}`... [INFO] [stdout] --> src/transport/router.rs:127:63 [INFO] [stdout] | [INFO] [stdout] 127 | let reader_task = tokio::spawn(async move { [INFO] [stdout] | _______________________________________________________________^ [INFO] [stdout] 128 | | loop { [INFO] [stdout] 129 | | match $crate::UntypedTransportRead::read(&mut reader).await { [INFO] [stdout] 130 | | $( [INFO] [stdout] ... | [INFO] [stdout] 166 | | } [INFO] [stdout] 167 | | }); [INFO] [stdout] | |_____________________^ [INFO] [stdout] ... [INFO] [stdout] 228 | / router!(TestRouter { [INFO] [stdout] 229 | | one: CustomData => String, [INFO] [stdout] 230 | | two: String => u8, [INFO] [stdout] 231 | | three: bool => bool, [INFO] [stdout] 232 | | should_compile: Result => Option, [INFO] [stdout] 233 | | }); [INFO] [stdout] | |______- in this macro invocation [INFO] [stdout] note: ...which requires elaborating drops for `transport::router::tests::::from_writer_and_reader::{closure#0}`... [INFO] [stdout] --> src/transport/router.rs:127:63 [INFO] [stdout] | [INFO] [stdout] 127 | let reader_task = tokio::spawn(async move { [INFO] [stdout] | _______________________________________________________________^ [INFO] [stdout] 128 | | loop { [INFO] [stdout] 129 | | match $crate::UntypedTransportRead::read(&mut reader).await { [INFO] [stdout] 130 | | $( [INFO] [stdout] ... | [INFO] [stdout] 166 | | } [INFO] [stdout] 167 | | }); [INFO] [stdout] | |_____________________^ [INFO] [stdout] ... [INFO] [stdout] 228 | / router!(TestRouter { [INFO] [stdout] 229 | | one: CustomData => String, [INFO] [stdout] 230 | | two: String => u8, [INFO] [stdout] 231 | | three: bool => bool, [INFO] [stdout] 232 | | should_compile: Result => Option, [INFO] [stdout] 233 | | }); [INFO] [stdout] | |______- in this macro invocation [INFO] [stdout] note: ...which requires borrow-checking `transport::router::tests::::from_writer_and_reader::{closure#0}`... [INFO] [stdout] --> src/transport/router.rs:127:63 [INFO] [stdout] | [INFO] [stdout] 127 | let reader_task = tokio::spawn(async move { [INFO] [stdout] | _______________________________________________________________^ [INFO] [stdout] 128 | | loop { [INFO] [stdout] 129 | | match $crate::UntypedTransportRead::read(&mut reader).await { [INFO] [stdout] 130 | | $( [INFO] [stdout] ... | [INFO] [stdout] 166 | | } [INFO] [stdout] 167 | | }); [INFO] [stdout] | |_____________________^ [INFO] [stdout] ... [INFO] [stdout] 228 | / router!(TestRouter { [INFO] [stdout] 229 | | one: CustomData => String, [INFO] [stdout] 230 | | two: String => u8, [INFO] [stdout] 231 | | three: bool => bool, [INFO] [stdout] 232 | | should_compile: Result => Option, [INFO] [stdout] 233 | | }); [INFO] [stdout] | |______- in this macro invocation [INFO] [stdout] note: ...which requires processing `transport::router::tests::::from_writer_and_reader::{closure#0}`... [INFO] [stdout] --> src/transport/router.rs:127:63 [INFO] [stdout] | [INFO] [stdout] 127 | let reader_task = tokio::spawn(async move { [INFO] [stdout] | _______________________________________________________________^ [INFO] [stdout] 128 | | loop { [INFO] [stdout] 129 | | match $crate::UntypedTransportRead::read(&mut reader).await { [INFO] [stdout] 130 | | $( [INFO] [stdout] ... | [INFO] [stdout] 166 | | } [INFO] [stdout] 167 | | }); [INFO] [stdout] | |_____________________^ [INFO] [stdout] ... [INFO] [stdout] 228 | / router!(TestRouter { [INFO] [stdout] 229 | | one: CustomData => String, [INFO] [stdout] 230 | | two: String => u8, [INFO] [stdout] 231 | | three: bool => bool, [INFO] [stdout] 232 | | should_compile: Result => Option, [INFO] [stdout] 233 | | }); [INFO] [stdout] | |______- in this macro invocation [INFO] [stdout] note: ...which requires processing MIR for `transport::router::tests::::from_writer_and_reader::{closure#0}`... [INFO] [stdout] --> src/transport/router.rs:127:63 [INFO] [stdout] | [INFO] [stdout] 127 | let reader_task = tokio::spawn(async move { [INFO] [stdout] | _______________________________________________________________^ [INFO] [stdout] 128 | | loop { [INFO] [stdout] 129 | | match $crate::UntypedTransportRead::read(&mut reader).await { [INFO] [stdout] 130 | | $( [INFO] [stdout] ... | [INFO] [stdout] 166 | | } [INFO] [stdout] 167 | | }); [INFO] [stdout] | |_____________________^ [INFO] [stdout] ... [INFO] [stdout] 228 | / router!(TestRouter { [INFO] [stdout] 229 | | one: CustomData => String, [INFO] [stdout] 230 | | two: String => u8, [INFO] [stdout] 231 | | three: bool => bool, [INFO] [stdout] 232 | | should_compile: Result => Option, [INFO] [stdout] 233 | | }); [INFO] [stdout] | |______- in this macro invocation [INFO] [stdout] note: ...which requires unsafety-checking `transport::router::tests::::from_writer_and_reader::{closure#0}`... [INFO] [stdout] --> src/transport/router.rs:127:63 [INFO] [stdout] | [INFO] [stdout] 127 | let reader_task = tokio::spawn(async move { [INFO] [stdout] | _______________________________________________________________^ [INFO] [stdout] 128 | | loop { [INFO] [stdout] 129 | | match $crate::UntypedTransportRead::read(&mut reader).await { [INFO] [stdout] 130 | | $( [INFO] [stdout] ... | [INFO] [stdout] 166 | | } [INFO] [stdout] 167 | | }); [INFO] [stdout] | |_____________________^ [INFO] [stdout] ... [INFO] [stdout] 228 | / router!(TestRouter { [INFO] [stdout] 229 | | one: CustomData => String, [INFO] [stdout] 230 | | two: String => u8, [INFO] [stdout] 231 | | three: bool => bool, [INFO] [stdout] 232 | | should_compile: Result => Option, [INFO] [stdout] 233 | | }); [INFO] [stdout] | |______- in this macro invocation [INFO] [stdout] note: ...which requires building MIR for `transport::router::tests::::from_writer_and_reader::{closure#0}`... [INFO] [stdout] --> src/transport/router.rs:127:63 [INFO] [stdout] | [INFO] [stdout] 127 | let reader_task = tokio::spawn(async move { [INFO] [stdout] | _______________________________________________________________^ [INFO] [stdout] 128 | | loop { [INFO] [stdout] 129 | | match $crate::UntypedTransportRead::read(&mut reader).await { [INFO] [stdout] 130 | | $( [INFO] [stdout] ... | [INFO] [stdout] 166 | | } [INFO] [stdout] 167 | | }); [INFO] [stdout] | |_____________________^ [INFO] [stdout] ... [INFO] [stdout] 228 | / router!(TestRouter { [INFO] [stdout] 229 | | one: CustomData => String, [INFO] [stdout] 230 | | two: String => u8, [INFO] [stdout] 231 | | three: bool => bool, [INFO] [stdout] 232 | | should_compile: Result => Option, [INFO] [stdout] 233 | | }); [INFO] [stdout] | |______- in this macro invocation [INFO] [stdout] note: ...which requires type-checking `transport::router::tests::::from_writer_and_reader::{closure#0}`... [INFO] [stdout] --> src/transport/router.rs:127:63 [INFO] [stdout] | [INFO] [stdout] 127 | let reader_task = tokio::spawn(async move { [INFO] [stdout] | _______________________________________________________________^ [INFO] [stdout] 128 | | loop { [INFO] [stdout] 129 | | match $crate::UntypedTransportRead::read(&mut reader).await { [INFO] [stdout] 130 | | $( [INFO] [stdout] ... | [INFO] [stdout] 166 | | } [INFO] [stdout] 167 | | }); [INFO] [stdout] | |_____________________^ [INFO] [stdout] ... [INFO] [stdout] 228 | / router!(TestRouter { [INFO] [stdout] 229 | | one: CustomData => String, [INFO] [stdout] 230 | | two: String => u8, [INFO] [stdout] 231 | | three: bool => bool, [INFO] [stdout] 232 | | should_compile: Result => Option, [INFO] [stdout] 233 | | }); [INFO] [stdout] | |______- in this macro invocation [INFO] [stdout] = note: ...which again requires type-checking `transport::router::tests::::from_writer_and_reader`, completing the cycle [INFO] [stdout] = note: cycle used when type-checking all item bodies [INFO] [stdout] = note: this error originates in the macro `router` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0391]: cycle detected when type-checking `transport::router::tests::router_buffer_sizes_should_support_being_overridden::::from_writer_and_reader` [INFO] [stdout] --> src/transport/router.rs:99:17 [INFO] [stdout] | [INFO] [stdout] 99 | / pub fn from_writer_and_reader(mut writer: W, mut reader: R) -> Self [INFO] [stdout] 100 | | where [INFO] [stdout] 101 | | W: $crate::UntypedTransportWrite + 'static, [INFO] [stdout] 102 | | R: $crate::UntypedTransportRead + 'static, [INFO] [stdout] | |______________________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 237 | router!(DefaultSizes { data: u8 => u8 }); [INFO] [stdout] | ---------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] note: ...which requires generator glue MIR for `transport::router::tests::router_buffer_sizes_should_support_being_overridden::::from_writer_and_reader::{closure#0}`... [INFO] [stdout] --> src/transport/router.rs:127:63 [INFO] [stdout] | [INFO] [stdout] 127 | let reader_task = tokio::spawn(async move { [INFO] [stdout] | _______________________________________________________________^ [INFO] [stdout] 128 | | loop { [INFO] [stdout] 129 | | match $crate::UntypedTransportRead::read(&mut reader).await { [INFO] [stdout] 130 | | $( [INFO] [stdout] ... | [INFO] [stdout] 166 | | } [INFO] [stdout] 167 | | }); [INFO] [stdout] | |_____________________^ [INFO] [stdout] ... [INFO] [stdout] 237 | router!(DefaultSizes { data: u8 => u8 }); [INFO] [stdout] | ---------------------------------------- in this macro invocation [INFO] [stdout] note: ...which requires elaborating drops for `transport::router::tests::router_buffer_sizes_should_support_being_overridden::::from_writer_and_reader::{closure#0}`... [INFO] [stdout] --> src/transport/router.rs:127:63 [INFO] [stdout] | [INFO] [stdout] 127 | let reader_task = tokio::spawn(async move { [INFO] [stdout] | _______________________________________________________________^ [INFO] [stdout] 128 | | loop { [INFO] [stdout] 129 | | match $crate::UntypedTransportRead::read(&mut reader).await { [INFO] [stdout] 130 | | $( [INFO] [stdout] ... | [INFO] [stdout] 166 | | } [INFO] [stdout] 167 | | }); [INFO] [stdout] | |_____________________^ [INFO] [stdout] ... [INFO] [stdout] 237 | router!(DefaultSizes { data: u8 => u8 }); [INFO] [stdout] | ---------------------------------------- in this macro invocation [INFO] [stdout] note: ...which requires borrow-checking `transport::router::tests::router_buffer_sizes_should_support_being_overridden::::from_writer_and_reader::{closure#0}`... [INFO] [stdout] --> src/transport/router.rs:127:63 [INFO] [stdout] | [INFO] [stdout] 127 | let reader_task = tokio::spawn(async move { [INFO] [stdout] | _______________________________________________________________^ [INFO] [stdout] 128 | | loop { [INFO] [stdout] 129 | | match $crate::UntypedTransportRead::read(&mut reader).await { [INFO] [stdout] 130 | | $( [INFO] [stdout] ... | [INFO] [stdout] 166 | | } [INFO] [stdout] 167 | | }); [INFO] [stdout] | |_____________________^ [INFO] [stdout] ... [INFO] [stdout] 237 | router!(DefaultSizes { data: u8 => u8 }); [INFO] [stdout] | ---------------------------------------- in this macro invocation [INFO] [stdout] note: ...which requires processing `transport::router::tests::router_buffer_sizes_should_support_being_overridden::::from_writer_and_reader::{closure#0}`... [INFO] [stdout] --> src/transport/router.rs:127:63 [INFO] [stdout] | [INFO] [stdout] 127 | let reader_task = tokio::spawn(async move { [INFO] [stdout] | _______________________________________________________________^ [INFO] [stdout] 128 | | loop { [INFO] [stdout] 129 | | match $crate::UntypedTransportRead::read(&mut reader).await { [INFO] [stdout] 130 | | $( [INFO] [stdout] ... | [INFO] [stdout] 166 | | } [INFO] [stdout] 167 | | }); [INFO] [stdout] | |_____________________^ [INFO] [stdout] ... [INFO] [stdout] 237 | router!(DefaultSizes { data: u8 => u8 }); [INFO] [stdout] | ---------------------------------------- in this macro invocation [INFO] [stdout] note: ...which requires processing MIR for `transport::router::tests::router_buffer_sizes_should_support_being_overridden::::from_writer_and_reader::{closure#0}`... [INFO] [stdout] --> src/transport/router.rs:127:63 [INFO] [stdout] | [INFO] [stdout] 127 | let reader_task = tokio::spawn(async move { [INFO] [stdout] | _______________________________________________________________^ [INFO] [stdout] 128 | | loop { [INFO] [stdout] 129 | | match $crate::UntypedTransportRead::read(&mut reader).await { [INFO] [stdout] 130 | | $( [INFO] [stdout] ... | [INFO] [stdout] 166 | | } [INFO] [stdout] 167 | | }); [INFO] [stdout] | |_____________________^ [INFO] [stdout] ... [INFO] [stdout] 237 | router!(DefaultSizes { data: u8 => u8 }); [INFO] [stdout] | ---------------------------------------- in this macro invocation [INFO] [stdout] note: ...which requires unsafety-checking `transport::router::tests::router_buffer_sizes_should_support_being_overridden::::from_writer_and_reader::{closure#0}`... [INFO] [stdout] --> src/transport/router.rs:127:63 [INFO] [stdout] | [INFO] [stdout] 127 | let reader_task = tokio::spawn(async move { [INFO] [stdout] | _______________________________________________________________^ [INFO] [stdout] 128 | | loop { [INFO] [stdout] 129 | | match $crate::UntypedTransportRead::read(&mut reader).await { [INFO] [stdout] 130 | | $( [INFO] [stdout] ... | [INFO] [stdout] 166 | | } [INFO] [stdout] 167 | | }); [INFO] [stdout] | |_____________________^ [INFO] [stdout] ... [INFO] [stdout] 237 | router!(DefaultSizes { data: u8 => u8 }); [INFO] [stdout] | ---------------------------------------- in this macro invocation [INFO] [stdout] note: ...which requires building MIR for `transport::router::tests::router_buffer_sizes_should_support_being_overridden::::from_writer_and_reader::{closure#0}`... [INFO] [stdout] --> src/transport/router.rs:127:63 [INFO] [stdout] | [INFO] [stdout] 127 | let reader_task = tokio::spawn(async move { [INFO] [stdout] | _______________________________________________________________^ [INFO] [stdout] 128 | | loop { [INFO] [stdout] 129 | | match $crate::UntypedTransportRead::read(&mut reader).await { [INFO] [stdout] 130 | | $( [INFO] [stdout] ... | [INFO] [stdout] 166 | | } [INFO] [stdout] 167 | | }); [INFO] [stdout] | |_____________________^ [INFO] [stdout] ... [INFO] [stdout] 237 | router!(DefaultSizes { data: u8 => u8 }); [INFO] [stdout] | ---------------------------------------- in this macro invocation [INFO] [stdout] note: ...which requires type-checking `transport::router::tests::router_buffer_sizes_should_support_being_overridden::::from_writer_and_reader::{closure#0}`... [INFO] [stdout] --> src/transport/router.rs:127:63 [INFO] [stdout] | [INFO] [stdout] 127 | let reader_task = tokio::spawn(async move { [INFO] [stdout] | _______________________________________________________________^ [INFO] [stdout] 128 | | loop { [INFO] [stdout] 129 | | match $crate::UntypedTransportRead::read(&mut reader).await { [INFO] [stdout] 130 | | $( [INFO] [stdout] ... | [INFO] [stdout] 166 | | } [INFO] [stdout] 167 | | }); [INFO] [stdout] | |_____________________^ [INFO] [stdout] ... [INFO] [stdout] 237 | router!(DefaultSizes { data: u8 => u8 }); [INFO] [stdout] | ---------------------------------------- in this macro invocation [INFO] [stdout] = note: ...which again requires type-checking `transport::router::tests::router_buffer_sizes_should_support_being_overridden::::from_writer_and_reader`, completing the cycle [INFO] [stdout] = note: cycle used when type-checking all item bodies [INFO] [stdout] = note: this error originates in the macro `router` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0391]: cycle detected when type-checking `transport::router::tests::router_buffer_sizes_should_support_being_overridden::::from_writer_and_reader` [INFO] [stdout] --> src/transport/router.rs:99:17 [INFO] [stdout] | [INFO] [stdout] 99 | / pub fn from_writer_and_reader(mut writer: W, mut reader: R) -> Self [INFO] [stdout] 100 | | where [INFO] [stdout] 101 | | W: $crate::UntypedTransportWrite + 'static, [INFO] [stdout] 102 | | R: $crate::UntypedTransportRead + 'static, [INFO] [stdout] | |______________________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 238 | router!(#[router(inbound = 5)] CustomInboundSize { data: u8 => u8 }); [INFO] [stdout] | -------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] note: ...which requires generator glue MIR for `transport::router::tests::router_buffer_sizes_should_support_being_overridden::::from_writer_and_reader::{closure#0}`... [INFO] [stdout] --> src/transport/router.rs:127:63 [INFO] [stdout] | [INFO] [stdout] 127 | let reader_task = tokio::spawn(async move { [INFO] [stdout] | _______________________________________________________________^ [INFO] [stdout] 128 | | loop { [INFO] [stdout] 129 | | match $crate::UntypedTransportRead::read(&mut reader).await { [INFO] [stdout] 130 | | $( [INFO] [stdout] ... | [INFO] [stdout] 166 | | } [INFO] [stdout] 167 | | }); [INFO] [stdout] | |_____________________^ [INFO] [stdout] ... [INFO] [stdout] 238 | router!(#[router(inbound = 5)] CustomInboundSize { data: u8 => u8 }); [INFO] [stdout] | -------------------------------------------------------------------- in this macro invocation [INFO] [stdout] note: ...which requires elaborating drops for `transport::router::tests::router_buffer_sizes_should_support_being_overridden::::from_writer_and_reader::{closure#0}`... [INFO] [stdout] --> src/transport/router.rs:127:63 [INFO] [stdout] | [INFO] [stdout] 127 | let reader_task = tokio::spawn(async move { [INFO] [stdout] | _______________________________________________________________^ [INFO] [stdout] 128 | | loop { [INFO] [stdout] 129 | | match $crate::UntypedTransportRead::read(&mut reader).await { [INFO] [stdout] 130 | | $( [INFO] [stdout] ... | [INFO] [stdout] 166 | | } [INFO] [stdout] 167 | | }); [INFO] [stdout] | |_____________________^ [INFO] [stdout] ... [INFO] [stdout] 238 | router!(#[router(inbound = 5)] CustomInboundSize { data: u8 => u8 }); [INFO] [stdout] | -------------------------------------------------------------------- in this macro invocation [INFO] [stdout] note: ...which requires borrow-checking `transport::router::tests::router_buffer_sizes_should_support_being_overridden::::from_writer_and_reader::{closure#0}`... [INFO] [stdout] --> src/transport/router.rs:127:63 [INFO] [stdout] | [INFO] [stdout] 127 | let reader_task = tokio::spawn(async move { [INFO] [stdout] | _______________________________________________________________^ [INFO] [stdout] 128 | | loop { [INFO] [stdout] 129 | | match $crate::UntypedTransportRead::read(&mut reader).await { [INFO] [stdout] 130 | | $( [INFO] [stdout] ... | [INFO] [stdout] 166 | | } [INFO] [stdout] 167 | | }); [INFO] [stdout] | |_____________________^ [INFO] [stdout] ... [INFO] [stdout] 238 | router!(#[router(inbound = 5)] CustomInboundSize { data: u8 => u8 }); [INFO] [stdout] | -------------------------------------------------------------------- in this macro invocation [INFO] [stdout] note: ...which requires processing `transport::router::tests::router_buffer_sizes_should_support_being_overridden::::from_writer_and_reader::{closure#0}`... [INFO] [stdout] --> src/transport/router.rs:127:63 [INFO] [stdout] | [INFO] [stdout] 127 | let reader_task = tokio::spawn(async move { [INFO] [stdout] | _______________________________________________________________^ [INFO] [stdout] 128 | | loop { [INFO] [stdout] 129 | | match $crate::UntypedTransportRead::read(&mut reader).await { [INFO] [stdout] 130 | | $( [INFO] [stdout] ... | [INFO] [stdout] 166 | | } [INFO] [stdout] 167 | | }); [INFO] [stdout] | |_____________________^ [INFO] [stdout] ... [INFO] [stdout] 238 | router!(#[router(inbound = 5)] CustomInboundSize { data: u8 => u8 }); [INFO] [stdout] | -------------------------------------------------------------------- in this macro invocation [INFO] [stdout] note: ...which requires processing MIR for `transport::router::tests::router_buffer_sizes_should_support_being_overridden::::from_writer_and_reader::{closure#0}`... [INFO] [stdout] --> src/transport/router.rs:127:63 [INFO] [stdout] | [INFO] [stdout] 127 | let reader_task = tokio::spawn(async move { [INFO] [stdout] | _______________________________________________________________^ [INFO] [stdout] 128 | | loop { [INFO] [stdout] 129 | | match $crate::UntypedTransportRead::read(&mut reader).await { [INFO] [stdout] 130 | | $( [INFO] [stdout] ... | [INFO] [stdout] 166 | | } [INFO] [stdout] 167 | | }); [INFO] [stdout] | |_____________________^ [INFO] [stdout] ... [INFO] [stdout] 238 | router!(#[router(inbound = 5)] CustomInboundSize { data: u8 => u8 }); [INFO] [stdout] | -------------------------------------------------------------------- in this macro invocation [INFO] [stdout] note: ...which requires unsafety-checking `transport::router::tests::router_buffer_sizes_should_support_being_overridden::::from_writer_and_reader::{closure#0}`... [INFO] [stdout] --> src/transport/router.rs:127:63 [INFO] [stdout] | [INFO] [stdout] 127 | let reader_task = tokio::spawn(async move { [INFO] [stdout] | _______________________________________________________________^ [INFO] [stdout] 128 | | loop { [INFO] [stdout] 129 | | match $crate::UntypedTransportRead::read(&mut reader).await { [INFO] [stdout] 130 | | $( [INFO] [stdout] ... | [INFO] [stdout] 166 | | } [INFO] [stdout] 167 | | }); [INFO] [stdout] | |_____________________^ [INFO] [stdout] ... [INFO] [stdout] 238 | router!(#[router(inbound = 5)] CustomInboundSize { data: u8 => u8 }); [INFO] [stdout] | -------------------------------------------------------------------- in this macro invocation [INFO] [stdout] note: ...which requires building MIR for `transport::router::tests::router_buffer_sizes_should_support_being_overridden::::from_writer_and_reader::{closure#0}`... [INFO] [stdout] --> src/transport/router.rs:127:63 [INFO] [stdout] | [INFO] [stdout] 127 | let reader_task = tokio::spawn(async move { [INFO] [stdout] | _______________________________________________________________^ [INFO] [stdout] 128 | | loop { [INFO] [stdout] 129 | | match $crate::UntypedTransportRead::read(&mut reader).await { [INFO] [stdout] 130 | | $( [INFO] [stdout] ... | [INFO] [stdout] 166 | | } [INFO] [stdout] 167 | | }); [INFO] [stdout] | |_____________________^ [INFO] [stdout] ... [INFO] [stdout] 238 | router!(#[router(inbound = 5)] CustomInboundSize { data: u8 => u8 }); [INFO] [stdout] | -------------------------------------------------------------------- in this macro invocation [INFO] [stdout] note: ...which requires type-checking `transport::router::tests::router_buffer_sizes_should_support_being_overridden::::from_writer_and_reader::{closure#0}`... [INFO] [stdout] --> src/transport/router.rs:127:63 [INFO] [stdout] | [INFO] [stdout] 127 | let reader_task = tokio::spawn(async move { [INFO] [stdout] | _______________________________________________________________^ [INFO] [stdout] 128 | | loop { [INFO] [stdout] 129 | | match $crate::UntypedTransportRead::read(&mut reader).await { [INFO] [stdout] 130 | | $( [INFO] [stdout] ... | [INFO] [stdout] 166 | | } [INFO] [stdout] 167 | | }); [INFO] [stdout] | |_____________________^ [INFO] [stdout] ... [INFO] [stdout] 238 | router!(#[router(inbound = 5)] CustomInboundSize { data: u8 => u8 }); [INFO] [stdout] | -------------------------------------------------------------------- in this macro invocation [INFO] [stdout] = note: ...which again requires type-checking `transport::router::tests::router_buffer_sizes_should_support_being_overridden::::from_writer_and_reader`, completing the cycle [INFO] [stdout] = note: cycle used when type-checking all item bodies [INFO] [stdout] = note: this error originates in the macro `router` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0391]: cycle detected when type-checking `transport::router::tests::router_buffer_sizes_should_support_being_overridden::::from_writer_and_reader` [INFO] [stdout] --> src/transport/router.rs:99:17 [INFO] [stdout] | [INFO] [stdout] 99 | / pub fn from_writer_and_reader(mut writer: W, mut reader: R) -> Self [INFO] [stdout] 100 | | where [INFO] [stdout] 101 | | W: $crate::UntypedTransportWrite + 'static, [INFO] [stdout] 102 | | R: $crate::UntypedTransportRead + 'static, [INFO] [stdout] | |______________________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 239 | router!(#[router(outbound = 5)] CustomOutboundSize { data: u8 => u8 }); [INFO] [stdout] | ---------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] note: ...which requires generator glue MIR for `transport::router::tests::router_buffer_sizes_should_support_being_overridden::::from_writer_and_reader::{closure#0}`... [INFO] [stdout] --> src/transport/router.rs:127:63 [INFO] [stdout] | [INFO] [stdout] 127 | let reader_task = tokio::spawn(async move { [INFO] [stdout] | _______________________________________________________________^ [INFO] [stdout] 128 | | loop { [INFO] [stdout] 129 | | match $crate::UntypedTransportRead::read(&mut reader).await { [INFO] [stdout] 130 | | $( [INFO] [stdout] ... | [INFO] [stdout] 166 | | } [INFO] [stdout] 167 | | }); [INFO] [stdout] | |_____________________^ [INFO] [stdout] ... [INFO] [stdout] 239 | router!(#[router(outbound = 5)] CustomOutboundSize { data: u8 => u8 }); [INFO] [stdout] | ---------------------------------------------------------------------- in this macro invocation [INFO] [stdout] note: ...which requires elaborating drops for `transport::router::tests::router_buffer_sizes_should_support_being_overridden::::from_writer_and_reader::{closure#0}`... [INFO] [stdout] --> src/transport/router.rs:127:63 [INFO] [stdout] | [INFO] [stdout] 127 | let reader_task = tokio::spawn(async move { [INFO] [stdout] | _______________________________________________________________^ [INFO] [stdout] 128 | | loop { [INFO] [stdout] 129 | | match $crate::UntypedTransportRead::read(&mut reader).await { [INFO] [stdout] 130 | | $( [INFO] [stdout] ... | [INFO] [stdout] 166 | | } [INFO] [stdout] 167 | | }); [INFO] [stdout] | |_____________________^ [INFO] [stdout] ... [INFO] [stdout] 239 | router!(#[router(outbound = 5)] CustomOutboundSize { data: u8 => u8 }); [INFO] [stdout] | ---------------------------------------------------------------------- in this macro invocation [INFO] [stdout] note: ...which requires borrow-checking `transport::router::tests::router_buffer_sizes_should_support_being_overridden::::from_writer_and_reader::{closure#0}`... [INFO] [stdout] --> src/transport/router.rs:127:63 [INFO] [stdout] | [INFO] [stdout] 127 | let reader_task = tokio::spawn(async move { [INFO] [stdout] | _______________________________________________________________^ [INFO] [stdout] 128 | | loop { [INFO] [stdout] 129 | | match $crate::UntypedTransportRead::read(&mut reader).await { [INFO] [stdout] 130 | | $( [INFO] [stdout] ... | [INFO] [stdout] 166 | | } [INFO] [stdout] 167 | | }); [INFO] [stdout] | |_____________________^ [INFO] [stdout] ... [INFO] [stdout] 239 | router!(#[router(outbound = 5)] CustomOutboundSize { data: u8 => u8 }); [INFO] [stdout] | ---------------------------------------------------------------------- in this macro invocation [INFO] [stdout] note: ...which requires processing `transport::router::tests::router_buffer_sizes_should_support_being_overridden::::from_writer_and_reader::{closure#0}`... [INFO] [stdout] --> src/transport/router.rs:127:63 [INFO] [stdout] | [INFO] [stdout] 127 | let reader_task = tokio::spawn(async move { [INFO] [stdout] | _______________________________________________________________^ [INFO] [stdout] 128 | | loop { [INFO] [stdout] 129 | | match $crate::UntypedTransportRead::read(&mut reader).await { [INFO] [stdout] 130 | | $( [INFO] [stdout] ... | [INFO] [stdout] 166 | | } [INFO] [stdout] 167 | | }); [INFO] [stdout] | |_____________________^ [INFO] [stdout] ... [INFO] [stdout] 239 | router!(#[router(outbound = 5)] CustomOutboundSize { data: u8 => u8 }); [INFO] [stdout] | ---------------------------------------------------------------------- in this macro invocation [INFO] [stdout] note: ...which requires processing MIR for `transport::router::tests::router_buffer_sizes_should_support_being_overridden::::from_writer_and_reader::{closure#0}`... [INFO] [stdout] --> src/transport/router.rs:127:63 [INFO] [stdout] | [INFO] [stdout] 127 | let reader_task = tokio::spawn(async move { [INFO] [stdout] | _______________________________________________________________^ [INFO] [stdout] 128 | | loop { [INFO] [stdout] 129 | | match $crate::UntypedTransportRead::read(&mut reader).await { [INFO] [stdout] 130 | | $( [INFO] [stdout] ... | [INFO] [stdout] 166 | | } [INFO] [stdout] 167 | | }); [INFO] [stdout] | |_____________________^ [INFO] [stdout] ... [INFO] [stdout] 239 | router!(#[router(outbound = 5)] CustomOutboundSize { data: u8 => u8 }); [INFO] [stdout] | ---------------------------------------------------------------------- in this macro invocation [INFO] [stdout] note: ...which requires unsafety-checking `transport::router::tests::router_buffer_sizes_should_support_being_overridden::::from_writer_and_reader::{closure#0}`... [INFO] [stdout] --> src/transport/router.rs:127:63 [INFO] [stdout] | [INFO] [stdout] 127 | let reader_task = tokio::spawn(async move { [INFO] [stdout] | _______________________________________________________________^ [INFO] [stdout] 128 | | loop { [INFO] [stdout] 129 | | match $crate::UntypedTransportRead::read(&mut reader).await { [INFO] [stdout] 130 | | $( [INFO] [stdout] ... | [INFO] [stdout] 166 | | } [INFO] [stdout] 167 | | }); [INFO] [stdout] | |_____________________^ [INFO] [stdout] ... [INFO] [stdout] 239 | router!(#[router(outbound = 5)] CustomOutboundSize { data: u8 => u8 }); [INFO] [stdout] | ---------------------------------------------------------------------- in this macro invocation [INFO] [stdout] note: ...which requires building MIR for `transport::router::tests::router_buffer_sizes_should_support_being_overridden::::from_writer_and_reader::{closure#0}`... [INFO] [stdout] --> src/transport/router.rs:127:63 [INFO] [stdout] | [INFO] [stdout] 127 | let reader_task = tokio::spawn(async move { [INFO] [stdout] | _______________________________________________________________^ [INFO] [stdout] 128 | | loop { [INFO] [stdout] 129 | | match $crate::UntypedTransportRead::read(&mut reader).await { [INFO] [stdout] 130 | | $( [INFO] [stdout] ... | [INFO] [stdout] 166 | | } [INFO] [stdout] 167 | | }); [INFO] [stdout] | |_____________________^ [INFO] [stdout] ... [INFO] [stdout] 239 | router!(#[router(outbound = 5)] CustomOutboundSize { data: u8 => u8 }); [INFO] [stdout] | ---------------------------------------------------------------------- in this macro invocation [INFO] [stdout] note: ...which requires type-checking `transport::router::tests::router_buffer_sizes_should_support_being_overridden::::from_writer_and_reader::{closure#0}`... [INFO] [stdout] --> src/transport/router.rs:127:63 [INFO] [stdout] | [INFO] [stdout] 127 | let reader_task = tokio::spawn(async move { [INFO] [stdout] | _______________________________________________________________^ [INFO] [stdout] 128 | | loop { [INFO] [stdout] 129 | | match $crate::UntypedTransportRead::read(&mut reader).await { [INFO] [stdout] 130 | | $( [INFO] [stdout] ... | [INFO] [stdout] 166 | | } [INFO] [stdout] 167 | | }); [INFO] [stdout] | |_____________________^ [INFO] [stdout] ... [INFO] [stdout] 239 | router!(#[router(outbound = 5)] CustomOutboundSize { data: u8 => u8 }); [INFO] [stdout] | ---------------------------------------------------------------------- in this macro invocation [INFO] [stdout] = note: ...which again requires type-checking `transport::router::tests::router_buffer_sizes_should_support_being_overridden::::from_writer_and_reader`, completing the cycle [INFO] [stdout] = note: cycle used when type-checking all item bodies [INFO] [stdout] = note: this error originates in the macro `router` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0391]: cycle detected when type-checking `transport::router::tests::router_buffer_sizes_should_support_being_overridden::::from_writer_and_reader` [INFO] [stdout] --> src/transport/router.rs:99:17 [INFO] [stdout] | [INFO] [stdout] 99 | / pub fn from_writer_and_reader(mut writer: W, mut reader: R) -> Self [INFO] [stdout] 100 | | where [INFO] [stdout] 101 | | W: $crate::UntypedTransportWrite + 'static, [INFO] [stdout] 102 | | R: $crate::UntypedTransportRead + 'static, [INFO] [stdout] | |______________________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 240 | router!(#[router(inbound = 5, outbound = 6)] CustomSizes { data: u8 => u8 }); [INFO] [stdout] | ---------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] note: ...which requires generator glue MIR for `transport::router::tests::router_buffer_sizes_should_support_being_overridden::::from_writer_and_reader::{closure#0}`... [INFO] [stdout] --> src/transport/router.rs:127:63 [INFO] [stdout] | [INFO] [stdout] 127 | let reader_task = tokio::spawn(async move { [INFO] [stdout] | _______________________________________________________________^ [INFO] [stdout] 128 | | loop { [INFO] [stdout] 129 | | match $crate::UntypedTransportRead::read(&mut reader).await { [INFO] [stdout] 130 | | $( [INFO] [stdout] ... | [INFO] [stdout] 166 | | } [INFO] [stdout] 167 | | }); [INFO] [stdout] | |_____________________^ [INFO] [stdout] ... [INFO] [stdout] 240 | router!(#[router(inbound = 5, outbound = 6)] CustomSizes { data: u8 => u8 }); [INFO] [stdout] | ---------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] note: ...which requires elaborating drops for `transport::router::tests::router_buffer_sizes_should_support_being_overridden::::from_writer_and_reader::{closure#0}`... [INFO] [stdout] --> src/transport/router.rs:127:63 [INFO] [stdout] | [INFO] [stdout] 127 | let reader_task = tokio::spawn(async move { [INFO] [stdout] | _______________________________________________________________^ [INFO] [stdout] 128 | | loop { [INFO] [stdout] 129 | | match $crate::UntypedTransportRead::read(&mut reader).await { [INFO] [stdout] 130 | | $( [INFO] [stdout] ... | [INFO] [stdout] 166 | | } [INFO] [stdout] 167 | | }); [INFO] [stdout] | |_____________________^ [INFO] [stdout] ... [INFO] [stdout] 240 | router!(#[router(inbound = 5, outbound = 6)] CustomSizes { data: u8 => u8 }); [INFO] [stdout] | ---------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] note: ...which requires borrow-checking `transport::router::tests::router_buffer_sizes_should_support_being_overridden::::from_writer_and_reader::{closure#0}`... [INFO] [stdout] --> src/transport/router.rs:127:63 [INFO] [stdout] | [INFO] [stdout] 127 | let reader_task = tokio::spawn(async move { [INFO] [stdout] | _______________________________________________________________^ [INFO] [stdout] 128 | | loop { [INFO] [stdout] 129 | | match $crate::UntypedTransportRead::read(&mut reader).await { [INFO] [stdout] 130 | | $( [INFO] [stdout] ... | [INFO] [stdout] 166 | | } [INFO] [stdout] 167 | | }); [INFO] [stdout] | |_____________________^ [INFO] [stdout] ... [INFO] [stdout] 240 | router!(#[router(inbound = 5, outbound = 6)] CustomSizes { data: u8 => u8 }); [INFO] [stdout] | ---------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] note: ...which requires processing `transport::router::tests::router_buffer_sizes_should_support_being_overridden::::from_writer_and_reader::{closure#0}`... [INFO] [stdout] --> src/transport/router.rs:127:63 [INFO] [stdout] | [INFO] [stdout] 127 | let reader_task = tokio::spawn(async move { [INFO] [stdout] | _______________________________________________________________^ [INFO] [stdout] 128 | | loop { [INFO] [stdout] 129 | | match $crate::UntypedTransportRead::read(&mut reader).await { [INFO] [stdout] 130 | | $( [INFO] [stdout] ... | [INFO] [stdout] 166 | | } [INFO] [stdout] 167 | | }); [INFO] [stdout] | |_____________________^ [INFO] [stdout] ... [INFO] [stdout] 240 | router!(#[router(inbound = 5, outbound = 6)] CustomSizes { data: u8 => u8 }); [INFO] [stdout] | ---------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] note: ...which requires processing MIR for `transport::router::tests::router_buffer_sizes_should_support_being_overridden::::from_writer_and_reader::{closure#0}`... [INFO] [stdout] --> src/transport/router.rs:127:63 [INFO] [stdout] | [INFO] [stdout] 127 | let reader_task = tokio::spawn(async move { [INFO] [stdout] | _______________________________________________________________^ [INFO] [stdout] 128 | | loop { [INFO] [stdout] 129 | | match $crate::UntypedTransportRead::read(&mut reader).await { [INFO] [stdout] 130 | | $( [INFO] [stdout] ... | [INFO] [stdout] 166 | | } [INFO] [stdout] 167 | | }); [INFO] [stdout] | |_____________________^ [INFO] [stdout] ... [INFO] [stdout] 240 | router!(#[router(inbound = 5, outbound = 6)] CustomSizes { data: u8 => u8 }); [INFO] [stdout] | ---------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] note: ...which requires unsafety-checking `transport::router::tests::router_buffer_sizes_should_support_being_overridden::::from_writer_and_reader::{closure#0}`... [INFO] [stdout] --> src/transport/router.rs:127:63 [INFO] [stdout] | [INFO] [stdout] 127 | let reader_task = tokio::spawn(async move { [INFO] [stdout] | _______________________________________________________________^ [INFO] [stdout] 128 | | loop { [INFO] [stdout] 129 | | match $crate::UntypedTransportRead::read(&mut reader).await { [INFO] [stdout] 130 | | $( [INFO] [stdout] ... | [INFO] [stdout] 166 | | } [INFO] [stdout] 167 | | }); [INFO] [stdout] | |_____________________^ [INFO] [stdout] ... [INFO] [stdout] 240 | router!(#[router(inbound = 5, outbound = 6)] CustomSizes { data: u8 => u8 }); [INFO] [stdout] | ---------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] note: ...which requires building MIR for `transport::router::tests::router_buffer_sizes_should_support_being_overridden::::from_writer_and_reader::{closure#0}`... [INFO] [stdout] --> src/transport/router.rs:127:63 [INFO] [stdout] | [INFO] [stdout] 127 | let reader_task = tokio::spawn(async move { [INFO] [stdout] | _______________________________________________________________^ [INFO] [stdout] 128 | | loop { [INFO] [stdout] 129 | | match $crate::UntypedTransportRead::read(&mut reader).await { [INFO] [stdout] 130 | | $( [INFO] [stdout] ... | [INFO] [stdout] 166 | | } [INFO] [stdout] 167 | | }); [INFO] [stdout] | |_____________________^ [INFO] [stdout] ... [INFO] [stdout] 240 | router!(#[router(inbound = 5, outbound = 6)] CustomSizes { data: u8 => u8 }); [INFO] [stdout] | ---------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] note: ...which requires type-checking `transport::router::tests::router_buffer_sizes_should_support_being_overridden::::from_writer_and_reader::{closure#0}`... [INFO] [stdout] --> src/transport/router.rs:127:63 [INFO] [stdout] | [INFO] [stdout] 127 | let reader_task = tokio::spawn(async move { [INFO] [stdout] | _______________________________________________________________^ [INFO] [stdout] 128 | | loop { [INFO] [stdout] 129 | | match $crate::UntypedTransportRead::read(&mut reader).await { [INFO] [stdout] 130 | | $( [INFO] [stdout] ... | [INFO] [stdout] 166 | | } [INFO] [stdout] 167 | | }); [INFO] [stdout] | |_____________________^ [INFO] [stdout] ... [INFO] [stdout] 240 | router!(#[router(inbound = 5, outbound = 6)] CustomSizes { data: u8 => u8 }); [INFO] [stdout] | ---------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] = note: ...which again requires type-checking `transport::router::tests::router_buffer_sizes_should_support_being_overridden::::from_writer_and_reader`, completing the cycle [INFO] [stdout] = note: cycle used when type-checking all item bodies [INFO] [stdout] = note: this error originates in the macro `router` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 10 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0391`. [INFO] [stdout] [INFO] [stderr] error: could not compile `distant-net` due to 11 previous errors [INFO] running `Command { std: "docker" "inspect" "6e53dc3d17a8d181bb0ba7536601d178dd8c225ff17e0975800c0d38c761b23e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6e53dc3d17a8d181bb0ba7536601d178dd8c225ff17e0975800c0d38c761b23e", kill_on_drop: false }` [INFO] [stdout] 6e53dc3d17a8d181bb0ba7536601d178dd8c225ff17e0975800c0d38c761b23e