[INFO] fetching crate ockam_transport_tcp 0.70.0... [INFO] checking ockam_transport_tcp-0.70.0 against try#8ea250bdb76176ecb0225baa34aa634b024ae0e2 for pr-101692 [INFO] extracting crate ockam_transport_tcp 0.70.0 into /workspace/builds/worker-1/source [INFO] validating manifest of crates.io crate ockam_transport_tcp 0.70.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 ockam_transport_tcp 0.70.0 [INFO] finished tweaking crates.io crate ockam_transport_tcp 0.70.0 [INFO] tweaked toml for crates.io crate ockam_transport_tcp 0.70.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] 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] 4e6631949675f3c7b4249f6fd011ac5b8aedb00d3bf9eed89c3dcc9a829a4ef1 [INFO] running `Command { std: "docker" "start" "-a" "4e6631949675f3c7b4249f6fd011ac5b8aedb00d3bf9eed89c3dcc9a829a4ef1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4e6631949675f3c7b4249f6fd011ac5b8aedb00d3bf9eed89c3dcc9a829a4ef1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4e6631949675f3c7b4249f6fd011ac5b8aedb00d3bf9eed89c3dcc9a829a4ef1", kill_on_drop: false }` [INFO] [stdout] 4e6631949675f3c7b4249f6fd011ac5b8aedb00d3bf9eed89c3dcc9a829a4ef1 [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] 2cca3d23641c73fda32f003c932c8fd9ac55c5f6a84c599953166485df4b186d [INFO] running `Command { std: "docker" "start" "-a" "2cca3d23641c73fda32f003c932c8fd9ac55c5f6a84c599953166485df4b186d", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.43 [INFO] [stderr] Compiling quote v1.0.21 [INFO] [stderr] Compiling unicode-ident v1.0.4 [INFO] [stderr] Compiling syn v1.0.99 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling libc v0.2.132 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Checking once_cell v1.14.0 [INFO] [stderr] Compiling serde_derive v1.0.144 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling serde v1.0.144 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Compiling semver v1.0.13 [INFO] [stderr] Checking pin-project-lite v0.2.9 [INFO] [stderr] Compiling futures-core v0.3.24 [INFO] [stderr] Checking regex-syntax v0.6.27 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling futures-task v0.3.24 [INFO] [stderr] Checking ppv-lite86 v0.2.16 [INFO] [stderr] Compiling futures-channel v0.3.24 [INFO] [stderr] Compiling cc v1.0.73 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Checking futures-sink v0.3.24 [INFO] [stderr] Compiling futures-util v0.3.24 [INFO] [stderr] Compiling unicode-xid v0.2.3 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Checking futures-io v0.3.24 [INFO] [stderr] Checking adler v1.0.2 [INFO] [stderr] Checking gimli v0.26.2 [INFO] [stderr] Checking ansi_term v0.12.1 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Compiling minicbor v0.18.0 [INFO] [stderr] Checking smallvec v1.9.0 [INFO] [stderr] Compiling async-trait v0.1.57 [INFO] [stderr] Compiling crossbeam-utils v0.8.11 [INFO] [stderr] Checking stable_deref_trait v1.2.0 [INFO] [stderr] Checking tinyvec_macros v0.1.0 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Checking rustc-demangle v0.1.21 [INFO] [stderr] Checking hex v0.4.3 [INFO] [stderr] Compiling crossbeam-queue v0.3.6 [INFO] [stderr] Checking subtle v2.4.1 [INFO] [stderr] Checking bytes v1.2.1 [INFO] [stderr] Compiling serde_json v1.0.85 [INFO] [stderr] Checking itoa v1.0.3 [INFO] [stderr] Compiling trybuild v1.0.64 [INFO] [stderr] Checking ryu v1.0.11 [INFO] [stderr] Checking dissimilar v1.0.4 [INFO] [stderr] Checking termcolor v1.1.3 [INFO] [stderr] Checking hashbrown v0.9.1 [INFO] [stderr] Checking glob v0.3.0 [INFO] [stderr] Checking tracing-core v0.1.29 [INFO] [stderr] Checking thread_local v1.1.4 [INFO] [stderr] Checking sharded-slab v0.1.4 [INFO] [stderr] Compiling slab v0.4.7 [INFO] [stderr] Compiling lock_api v0.4.8 [INFO] [stderr] Compiling tokio v1.21.1 [INFO] [stderr] Compiling ahash v0.7.6 [INFO] [stderr] Checking miniz_oxide v0.5.4 [INFO] [stderr] Checking hash32 v0.2.1 [INFO] [stderr] Checking tinyvec v1.6.0 [INFO] [stderr] Checking regex-automata v0.1.10 [INFO] [stderr] Checking regex v1.6.0 [INFO] [stderr] Compiling backtrace v0.3.66 [INFO] [stderr] Checking addr2line v0.17.0 [INFO] [stderr] Checking tracing-log v0.1.3 [INFO] [stderr] Checking matchers v0.1.0 [INFO] [stderr] Compiling rustc_version v0.4.0 [INFO] [stderr] Checking spin v0.9.4 [INFO] [stderr] Checking object v0.29.0 [INFO] [stderr] Checking core2 v0.3.3 [INFO] [stderr] Checking getrandom v0.2.7 [INFO] [stderr] Checking num_cpus v1.13.1 [INFO] [stderr] Checking mio v0.8.4 [INFO] [stderr] Checking socket2 v0.4.7 [INFO] [stderr] Compiling heapless v0.7.16 [INFO] [stderr] Checking rand_core v0.6.3 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Compiling synstructure v0.12.6 [INFO] [stderr] Compiling tracing-attributes v0.1.22 [INFO] [stderr] Compiling futures-macro v0.3.24 [INFO] [stderr] Compiling zeroize_derive v1.3.2 [INFO] [stderr] Compiling minicbor-derive v0.12.0 [INFO] [stderr] Compiling ockam_macros v0.23.0 [INFO] [stderr] Compiling tokio-macros v1.8.0 [INFO] [stderr] Checking zeroize v1.5.7 [INFO] [stderr] Checking tracing v0.1.36 [INFO] [stderr] Checking tracing-subscriber v0.3.15 [INFO] [stderr] Checking tracing-error v0.2.0 [INFO] [stderr] Checking futures v0.3.24 [INFO] [stderr] Checking hashbrown v0.11.2 [INFO] [stderr] Checking serde_bare v0.5.0 [INFO] [stderr] Checking toml v0.5.9 [INFO] [stderr] Checking ockam_core v0.69.0 [INFO] [stderr] Checking ockam_executor v0.37.0 [INFO] [stderr] Checking ockam_transport_core v0.42.0 [INFO] [stderr] Checking ockam_node v0.72.0 [INFO] [stderr] Checking ockam_transport_tcp v0.70.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0391]: cycle detected when type-checking `portal::portal_worker::::handle_message` [INFO] [stdout] --> src/portal/portal_worker.rs:301:5 [INFO] [stdout] | [INFO] [stdout] 301 | async fn handle_message(&mut self, ctx: &mut Context, msg: Routed) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: ...which requires generator glue MIR for `portal::portal_worker::::handle_message::{closure#0}`... [INFO] [stdout] --> src/portal/portal_worker.rs:301:91 [INFO] [stdout] | [INFO] [stdout] 301 | async fn handle_message(&mut self, ctx: &mut Context, msg: Routed) -> Result<()> { [INFO] [stdout] | ___________________________________________________________________________________________^ [INFO] [stdout] 302 | | if self.is_disconnecting { [INFO] [stdout] 303 | | return Ok(()); [INFO] [stdout] 304 | | } [INFO] [stdout] ... | [INFO] [stdout] 405 | | Ok(()) [INFO] [stdout] 406 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires elaborating drops for `portal::portal_worker::::handle_message::{closure#0}`... [INFO] [stdout] --> src/portal/portal_worker.rs:301:91 [INFO] [stdout] | [INFO] [stdout] 301 | async fn handle_message(&mut self, ctx: &mut Context, msg: Routed) -> Result<()> { [INFO] [stdout] | ___________________________________________________________________________________________^ [INFO] [stdout] 302 | | if self.is_disconnecting { [INFO] [stdout] 303 | | return Ok(()); [INFO] [stdout] 304 | | } [INFO] [stdout] ... | [INFO] [stdout] 405 | | Ok(()) [INFO] [stdout] 406 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires borrow-checking `portal::portal_worker::::handle_message::{closure#0}`... [INFO] [stdout] --> src/portal/portal_worker.rs:301:91 [INFO] [stdout] | [INFO] [stdout] 301 | async fn handle_message(&mut self, ctx: &mut Context, msg: Routed) -> Result<()> { [INFO] [stdout] | ___________________________________________________________________________________________^ [INFO] [stdout] 302 | | if self.is_disconnecting { [INFO] [stdout] 303 | | return Ok(()); [INFO] [stdout] 304 | | } [INFO] [stdout] ... | [INFO] [stdout] 405 | | Ok(()) [INFO] [stdout] 406 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires processing `portal::portal_worker::::handle_message::{closure#0}`... [INFO] [stdout] --> src/portal/portal_worker.rs:301:91 [INFO] [stdout] | [INFO] [stdout] 301 | async fn handle_message(&mut self, ctx: &mut Context, msg: Routed) -> Result<()> { [INFO] [stdout] | ___________________________________________________________________________________________^ [INFO] [stdout] 302 | | if self.is_disconnecting { [INFO] [stdout] 303 | | return Ok(()); [INFO] [stdout] 304 | | } [INFO] [stdout] ... | [INFO] [stdout] 405 | | Ok(()) [INFO] [stdout] 406 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires processing MIR for `portal::portal_worker::::handle_message::{closure#0}`... [INFO] [stdout] --> src/portal/portal_worker.rs:301:91 [INFO] [stdout] | [INFO] [stdout] 301 | async fn handle_message(&mut self, ctx: &mut Context, msg: Routed) -> Result<()> { [INFO] [stdout] | ___________________________________________________________________________________________^ [INFO] [stdout] 302 | | if self.is_disconnecting { [INFO] [stdout] 303 | | return Ok(()); [INFO] [stdout] 304 | | } [INFO] [stdout] ... | [INFO] [stdout] 405 | | Ok(()) [INFO] [stdout] 406 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires unsafety-checking `portal::portal_worker::::handle_message::{closure#0}`... [INFO] [stdout] --> src/portal/portal_worker.rs:301:91 [INFO] [stdout] | [INFO] [stdout] 301 | async fn handle_message(&mut self, ctx: &mut Context, msg: Routed) -> Result<()> { [INFO] [stdout] | ___________________________________________________________________________________________^ [INFO] [stdout] 302 | | if self.is_disconnecting { [INFO] [stdout] 303 | | return Ok(()); [INFO] [stdout] 304 | | } [INFO] [stdout] ... | [INFO] [stdout] 405 | | Ok(()) [INFO] [stdout] 406 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires building MIR for `portal::portal_worker::::handle_message::{closure#0}`... [INFO] [stdout] --> src/portal/portal_worker.rs:301:91 [INFO] [stdout] | [INFO] [stdout] 301 | async fn handle_message(&mut self, ctx: &mut Context, msg: Routed) -> Result<()> { [INFO] [stdout] | ___________________________________________________________________________________________^ [INFO] [stdout] 302 | | if self.is_disconnecting { [INFO] [stdout] 303 | | return Ok(()); [INFO] [stdout] 304 | | } [INFO] [stdout] ... | [INFO] [stdout] 405 | | Ok(()) [INFO] [stdout] 406 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires type-checking `portal::portal_worker::::handle_message::{closure#0}`... [INFO] [stdout] --> src/portal/portal_worker.rs:301:91 [INFO] [stdout] | [INFO] [stdout] 301 | async fn handle_message(&mut self, ctx: &mut Context, msg: Routed) -> Result<()> { [INFO] [stdout] | ___________________________________________________________________________________________^ [INFO] [stdout] 302 | | if self.is_disconnecting { [INFO] [stdout] 303 | | return Ok(()); [INFO] [stdout] 304 | | } [INFO] [stdout] ... | [INFO] [stdout] 405 | | Ok(()) [INFO] [stdout] 406 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] = note: ...which again requires type-checking `portal::portal_worker::::handle_message`, 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 `router::tcp_router::::handle_message` [INFO] [stdout] --> src/router/tcp_router.rs:223:5 [INFO] [stdout] | [INFO] [stdout] 223 | async fn handle_message(&mut self, ctx: &mut Context, msg: Routed) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: ...which requires generator glue MIR for `router::tcp_router::::handle_message::{closure#0}`... [INFO] [stdout] --> src/router/tcp_router.rs:223:91 [INFO] [stdout] | [INFO] [stdout] 223 | async fn handle_message(&mut self, ctx: &mut Context, msg: Routed) -> Result<()> { [INFO] [stdout] | ___________________________________________________________________________________________^ [INFO] [stdout] 224 | | let return_route = msg.return_route(); [INFO] [stdout] 225 | | let msg_addr = msg.msg_addr(); [INFO] [stdout] 226 | | [INFO] [stdout] ... | [INFO] [stdout] 265 | | Ok(()) [INFO] [stdout] 266 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires elaborating drops for `router::tcp_router::::handle_message::{closure#0}`... [INFO] [stdout] --> src/router/tcp_router.rs:223:91 [INFO] [stdout] | [INFO] [stdout] 223 | async fn handle_message(&mut self, ctx: &mut Context, msg: Routed) -> Result<()> { [INFO] [stdout] | ___________________________________________________________________________________________^ [INFO] [stdout] 224 | | let return_route = msg.return_route(); [INFO] [stdout] 225 | | let msg_addr = msg.msg_addr(); [INFO] [stdout] 226 | | [INFO] [stdout] ... | [INFO] [stdout] 265 | | Ok(()) [INFO] [stdout] 266 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires borrow-checking `router::tcp_router::::handle_message::{closure#0}`... [INFO] [stdout] --> src/router/tcp_router.rs:223:91 [INFO] [stdout] | [INFO] [stdout] 223 | async fn handle_message(&mut self, ctx: &mut Context, msg: Routed) -> Result<()> { [INFO] [stdout] | ___________________________________________________________________________________________^ [INFO] [stdout] 224 | | let return_route = msg.return_route(); [INFO] [stdout] 225 | | let msg_addr = msg.msg_addr(); [INFO] [stdout] 226 | | [INFO] [stdout] ... | [INFO] [stdout] 265 | | Ok(()) [INFO] [stdout] 266 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires processing `router::tcp_router::::handle_message::{closure#0}`... [INFO] [stdout] --> src/router/tcp_router.rs:223:91 [INFO] [stdout] | [INFO] [stdout] 223 | async fn handle_message(&mut self, ctx: &mut Context, msg: Routed) -> Result<()> { [INFO] [stdout] | ___________________________________________________________________________________________^ [INFO] [stdout] 224 | | let return_route = msg.return_route(); [INFO] [stdout] 225 | | let msg_addr = msg.msg_addr(); [INFO] [stdout] 226 | | [INFO] [stdout] ... | [INFO] [stdout] 265 | | Ok(()) [INFO] [stdout] 266 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires processing MIR for `router::tcp_router::::handle_message::{closure#0}`... [INFO] [stdout] --> src/router/tcp_router.rs:223:91 [INFO] [stdout] | [INFO] [stdout] 223 | async fn handle_message(&mut self, ctx: &mut Context, msg: Routed) -> Result<()> { [INFO] [stdout] | ___________________________________________________________________________________________^ [INFO] [stdout] 224 | | let return_route = msg.return_route(); [INFO] [stdout] 225 | | let msg_addr = msg.msg_addr(); [INFO] [stdout] 226 | | [INFO] [stdout] ... | [INFO] [stdout] 265 | | Ok(()) [INFO] [stdout] 266 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires unsafety-checking `router::tcp_router::::handle_message::{closure#0}`... [INFO] [stdout] --> src/router/tcp_router.rs:223:91 [INFO] [stdout] | [INFO] [stdout] 223 | async fn handle_message(&mut self, ctx: &mut Context, msg: Routed) -> Result<()> { [INFO] [stdout] | ___________________________________________________________________________________________^ [INFO] [stdout] 224 | | let return_route = msg.return_route(); [INFO] [stdout] 225 | | let msg_addr = msg.msg_addr(); [INFO] [stdout] 226 | | [INFO] [stdout] ... | [INFO] [stdout] 265 | | Ok(()) [INFO] [stdout] 266 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires building MIR for `router::tcp_router::::handle_message::{closure#0}`... [INFO] [stdout] --> src/router/tcp_router.rs:223:91 [INFO] [stdout] | [INFO] [stdout] 223 | async fn handle_message(&mut self, ctx: &mut Context, msg: Routed) -> Result<()> { [INFO] [stdout] | ___________________________________________________________________________________________^ [INFO] [stdout] 224 | | let return_route = msg.return_route(); [INFO] [stdout] 225 | | let msg_addr = msg.msg_addr(); [INFO] [stdout] 226 | | [INFO] [stdout] ... | [INFO] [stdout] 265 | | Ok(()) [INFO] [stdout] 266 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires type-checking `router::tcp_router::::handle_message::{closure#0}`... [INFO] [stdout] --> src/router/tcp_router.rs:223:91 [INFO] [stdout] | [INFO] [stdout] 223 | async fn handle_message(&mut self, ctx: &mut Context, msg: Routed) -> Result<()> { [INFO] [stdout] | ___________________________________________________________________________________________^ [INFO] [stdout] 224 | | let return_route = msg.return_route(); [INFO] [stdout] 225 | | let msg_addr = msg.msg_addr(); [INFO] [stdout] 226 | | [INFO] [stdout] ... | [INFO] [stdout] 265 | | Ok(()) [INFO] [stdout] 266 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] = note: ...which again requires type-checking `router::tcp_router::::handle_message`, 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 `portal::portal_worker::::handle_message` [INFO] [stdout] --> src/portal/portal_worker.rs:301:5 [INFO] [stdout] | [INFO] [stdout] 301 | async fn handle_message(&mut self, ctx: &mut Context, msg: Routed) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: ...which requires generator glue MIR for `portal::portal_worker::::handle_message::{closure#0}`... [INFO] [stdout] --> src/portal/portal_worker.rs:301:91 [INFO] [stdout] | [INFO] [stdout] 301 | async fn handle_message(&mut self, ctx: &mut Context, msg: Routed) -> Result<()> { [INFO] [stdout] | ___________________________________________________________________________________________^ [INFO] [stdout] 302 | | if self.is_disconnecting { [INFO] [stdout] 303 | | return Ok(()); [INFO] [stdout] 304 | | } [INFO] [stdout] ... | [INFO] [stdout] 405 | | Ok(()) [INFO] [stdout] 406 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires elaborating drops for `portal::portal_worker::::handle_message::{closure#0}`... [INFO] [stdout] --> src/portal/portal_worker.rs:301:91 [INFO] [stdout] | [INFO] [stdout] 301 | async fn handle_message(&mut self, ctx: &mut Context, msg: Routed) -> Result<()> { [INFO] [stdout] | ___________________________________________________________________________________________^ [INFO] [stdout] 302 | | if self.is_disconnecting { [INFO] [stdout] 303 | | return Ok(()); [INFO] [stdout] 304 | | } [INFO] [stdout] ... | [INFO] [stdout] 405 | | Ok(()) [INFO] [stdout] 406 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires borrow-checking `portal::portal_worker::::handle_message::{closure#0}`... [INFO] [stdout] --> src/portal/portal_worker.rs:301:91 [INFO] [stdout] | [INFO] [stdout] 301 | async fn handle_message(&mut self, ctx: &mut Context, msg: Routed) -> Result<()> { [INFO] [stdout] | ___________________________________________________________________________________________^ [INFO] [stdout] 302 | | if self.is_disconnecting { [INFO] [stdout] 303 | | return Ok(()); [INFO] [stdout] 304 | | } [INFO] [stdout] ... | [INFO] [stdout] 405 | | Ok(()) [INFO] [stdout] 406 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires processing `portal::portal_worker::::handle_message::{closure#0}`... [INFO] [stdout] --> src/portal/portal_worker.rs:301:91 [INFO] [stdout] | [INFO] [stdout] 301 | async fn handle_message(&mut self, ctx: &mut Context, msg: Routed) -> Result<()> { [INFO] [stdout] | ___________________________________________________________________________________________^ [INFO] [stdout] 302 | | if self.is_disconnecting { [INFO] [stdout] 303 | | return Ok(()); [INFO] [stdout] 304 | | } [INFO] [stdout] ... | [INFO] [stdout] 405 | | Ok(()) [INFO] [stdout] 406 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires processing MIR for `portal::portal_worker::::handle_message::{closure#0}`... [INFO] [stdout] --> src/portal/portal_worker.rs:301:91 [INFO] [stdout] | [INFO] [stdout] 301 | async fn handle_message(&mut self, ctx: &mut Context, msg: Routed) -> Result<()> { [INFO] [stdout] | ___________________________________________________________________________________________^ [INFO] [stdout] 302 | | if self.is_disconnecting { [INFO] [stdout] 303 | | return Ok(()); [INFO] [stdout] 304 | | } [INFO] [stdout] ... | [INFO] [stdout] 405 | | Ok(()) [INFO] [stdout] 406 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires unsafety-checking `portal::portal_worker::::handle_message::{closure#0}`... [INFO] [stdout] --> src/portal/portal_worker.rs:301:91 [INFO] [stdout] | [INFO] [stdout] 301 | async fn handle_message(&mut self, ctx: &mut Context, msg: Routed) -> Result<()> { [INFO] [stdout] | ___________________________________________________________________________________________^ [INFO] [stdout] 302 | | if self.is_disconnecting { [INFO] [stdout] 303 | | return Ok(()); [INFO] [stdout] 304 | | } [INFO] [stdout] ... | [INFO] [stdout] 405 | | Ok(()) [INFO] [stdout] 406 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires building MIR for `portal::portal_worker::::handle_message::{closure#0}`... [INFO] [stdout] --> src/portal/portal_worker.rs:301:91 [INFO] [stdout] | [INFO] [stdout] 301 | async fn handle_message(&mut self, ctx: &mut Context, msg: Routed) -> Result<()> { [INFO] [stdout] | ___________________________________________________________________________________________^ [INFO] [stdout] 302 | | if self.is_disconnecting { [INFO] [stdout] 303 | | return Ok(()); [INFO] [stdout] 304 | | } [INFO] [stdout] ... | [INFO] [stdout] 405 | | Ok(()) [INFO] [stdout] 406 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires type-checking `portal::portal_worker::::handle_message::{closure#0}`... [INFO] [stdout] --> src/portal/portal_worker.rs:301:91 [INFO] [stdout] | [INFO] [stdout] 301 | async fn handle_message(&mut self, ctx: &mut Context, msg: Routed) -> Result<()> { [INFO] [stdout] | ___________________________________________________________________________________________^ [INFO] [stdout] 302 | | if self.is_disconnecting { [INFO] [stdout] 303 | | return Ok(()); [INFO] [stdout] 304 | | } [INFO] [stdout] ... | [INFO] [stdout] 405 | | Ok(()) [INFO] [stdout] 406 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] = note: ...which again requires type-checking `portal::portal_worker::::handle_message`, 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 `router::tcp_router::::handle_message` [INFO] [stdout] --> src/router/tcp_router.rs:223:5 [INFO] [stdout] | [INFO] [stdout] 223 | async fn handle_message(&mut self, ctx: &mut Context, msg: Routed) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: ...which requires generator glue MIR for `router::tcp_router::::handle_message::{closure#0}`... [INFO] [stdout] --> src/router/tcp_router.rs:223:91 [INFO] [stdout] | [INFO] [stdout] 223 | async fn handle_message(&mut self, ctx: &mut Context, msg: Routed) -> Result<()> { [INFO] [stdout] | ___________________________________________________________________________________________^ [INFO] [stdout] 224 | | let return_route = msg.return_route(); [INFO] [stdout] 225 | | let msg_addr = msg.msg_addr(); [INFO] [stdout] 226 | | [INFO] [stdout] ... | [INFO] [stdout] 265 | | Ok(()) [INFO] [stdout] 266 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires elaborating drops for `router::tcp_router::::handle_message::{closure#0}`... [INFO] [stdout] --> src/router/tcp_router.rs:223:91 [INFO] [stdout] | [INFO] [stdout] 223 | async fn handle_message(&mut self, ctx: &mut Context, msg: Routed) -> Result<()> { [INFO] [stdout] | ___________________________________________________________________________________________^ [INFO] [stdout] 224 | | let return_route = msg.return_route(); [INFO] [stdout] 225 | | let msg_addr = msg.msg_addr(); [INFO] [stdout] 226 | | [INFO] [stdout] ... | [INFO] [stdout] 265 | | Ok(()) [INFO] [stdout] 266 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires borrow-checking `router::tcp_router::::handle_message::{closure#0}`... [INFO] [stdout] --> src/router/tcp_router.rs:223:91 [INFO] [stdout] | [INFO] [stdout] 223 | async fn handle_message(&mut self, ctx: &mut Context, msg: Routed) -> Result<()> { [INFO] [stdout] | ___________________________________________________________________________________________^ [INFO] [stdout] 224 | | let return_route = msg.return_route(); [INFO] [stdout] 225 | | let msg_addr = msg.msg_addr(); [INFO] [stdout] 226 | | [INFO] [stdout] ... | [INFO] [stdout] 265 | | Ok(()) [INFO] [stdout] 266 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires processing `router::tcp_router::::handle_message::{closure#0}`... [INFO] [stdout] --> src/router/tcp_router.rs:223:91 [INFO] [stdout] | [INFO] [stdout] 223 | async fn handle_message(&mut self, ctx: &mut Context, msg: Routed) -> Result<()> { [INFO] [stdout] | ___________________________________________________________________________________________^ [INFO] [stdout] 224 | | let return_route = msg.return_route(); [INFO] [stdout] 225 | | let msg_addr = msg.msg_addr(); [INFO] [stdout] 226 | | [INFO] [stdout] ... | [INFO] [stdout] 265 | | Ok(()) [INFO] [stdout] 266 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires processing MIR for `router::tcp_router::::handle_message::{closure#0}`... [INFO] [stdout] --> src/router/tcp_router.rs:223:91 [INFO] [stdout] | [INFO] [stdout] 223 | async fn handle_message(&mut self, ctx: &mut Context, msg: Routed) -> Result<()> { [INFO] [stdout] | ___________________________________________________________________________________________^ [INFO] [stdout] 224 | | let return_route = msg.return_route(); [INFO] [stdout] 225 | | let msg_addr = msg.msg_addr(); [INFO] [stdout] 226 | | [INFO] [stdout] ... | [INFO] [stdout] 265 | | Ok(()) [INFO] [stdout] 266 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires unsafety-checking `router::tcp_router::::handle_message::{closure#0}`... [INFO] [stdout] --> src/router/tcp_router.rs:223:91 [INFO] [stdout] | [INFO] [stdout] 223 | async fn handle_message(&mut self, ctx: &mut Context, msg: Routed) -> Result<()> { [INFO] [stdout] | ___________________________________________________________________________________________^ [INFO] [stdout] 224 | | let return_route = msg.return_route(); [INFO] [stdout] 225 | | let msg_addr = msg.msg_addr(); [INFO] [stdout] 226 | | [INFO] [stdout] ... | [INFO] [stdout] 265 | | Ok(()) [INFO] [stdout] 266 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires building MIR for `router::tcp_router::::handle_message::{closure#0}`... [INFO] [stdout] --> src/router/tcp_router.rs:223:91 [INFO] [stdout] | [INFO] [stdout] 223 | async fn handle_message(&mut self, ctx: &mut Context, msg: Routed) -> Result<()> { [INFO] [stdout] | ___________________________________________________________________________________________^ [INFO] [stdout] 224 | | let return_route = msg.return_route(); [INFO] [stdout] 225 | | let msg_addr = msg.msg_addr(); [INFO] [stdout] 226 | | [INFO] [stdout] ... | [INFO] [stdout] 265 | | Ok(()) [INFO] [stdout] 266 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires type-checking `router::tcp_router::::handle_message::{closure#0}`... [INFO] [stdout] --> src/router/tcp_router.rs:223:91 [INFO] [stdout] | [INFO] [stdout] 223 | async fn handle_message(&mut self, ctx: &mut Context, msg: Routed) -> Result<()> { [INFO] [stdout] | ___________________________________________________________________________________________^ [INFO] [stdout] 224 | | let return_route = msg.return_route(); [INFO] [stdout] 225 | | let msg_addr = msg.msg_addr(); [INFO] [stdout] 226 | | [INFO] [stdout] ... | [INFO] [stdout] 265 | | Ok(()) [INFO] [stdout] 266 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] = note: ...which again requires type-checking `router::tcp_router::::handle_message`, 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 `workers::receiver::::process` [INFO] [stdout] --> src/workers/receiver.rs:53:5 [INFO] [stdout] | [INFO] [stdout] 53 | async fn process(&mut self, ctx: &mut Context) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: ...which requires generator glue MIR for `workers::receiver::::process::{closure#0}`... [INFO] [stdout] --> src/workers/receiver.rs:53:68 [INFO] [stdout] | [INFO] [stdout] 53 | async fn process(&mut self, ctx: &mut Context) -> Result { [INFO] [stdout] | ____________________________________________________________________^ [INFO] [stdout] 54 | | // Run in a loop until TcpWorkerPair::stop() is called [INFO] [stdout] 55 | | // First read a message length header... [INFO] [stdout] 56 | | let len = match self.rx.read_u16().await { [INFO] [stdout] ... | [INFO] [stdout] 112 | | Ok(true) [INFO] [stdout] 113 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires elaborating drops for `workers::receiver::::process::{closure#0}`... [INFO] [stdout] --> src/workers/receiver.rs:53:68 [INFO] [stdout] | [INFO] [stdout] 53 | async fn process(&mut self, ctx: &mut Context) -> Result { [INFO] [stdout] | ____________________________________________________________________^ [INFO] [stdout] 54 | | // Run in a loop until TcpWorkerPair::stop() is called [INFO] [stdout] 55 | | // First read a message length header... [INFO] [stdout] 56 | | let len = match self.rx.read_u16().await { [INFO] [stdout] ... | [INFO] [stdout] 112 | | Ok(true) [INFO] [stdout] 113 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires borrow-checking `workers::receiver::::process::{closure#0}`... [INFO] [stdout] --> src/workers/receiver.rs:53:68 [INFO] [stdout] | [INFO] [stdout] 53 | async fn process(&mut self, ctx: &mut Context) -> Result { [INFO] [stdout] | ____________________________________________________________________^ [INFO] [stdout] 54 | | // Run in a loop until TcpWorkerPair::stop() is called [INFO] [stdout] 55 | | // First read a message length header... [INFO] [stdout] 56 | | let len = match self.rx.read_u16().await { [INFO] [stdout] ... | [INFO] [stdout] 112 | | Ok(true) [INFO] [stdout] 113 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires processing `workers::receiver::::process::{closure#0}`... [INFO] [stdout] --> src/workers/receiver.rs:53:68 [INFO] [stdout] | [INFO] [stdout] 53 | async fn process(&mut self, ctx: &mut Context) -> Result { [INFO] [stdout] | ____________________________________________________________________^ [INFO] [stdout] 54 | | // Run in a loop until TcpWorkerPair::stop() is called [INFO] [stdout] 55 | | // First read a message length header... [INFO] [stdout] 56 | | let len = match self.rx.read_u16().await { [INFO] [stdout] ... | [INFO] [stdout] 112 | | Ok(true) [INFO] [stdout] 113 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires processing MIR for `workers::receiver::::process::{closure#0}`... [INFO] [stdout] --> src/workers/receiver.rs:53:68 [INFO] [stdout] | [INFO] [stdout] 53 | async fn process(&mut self, ctx: &mut Context) -> Result { [INFO] [stdout] | ____________________________________________________________________^ [INFO] [stdout] 54 | | // Run in a loop until TcpWorkerPair::stop() is called [INFO] [stdout] 55 | | // First read a message length header... [INFO] [stdout] 56 | | let len = match self.rx.read_u16().await { [INFO] [stdout] ... | [INFO] [stdout] 112 | | Ok(true) [INFO] [stdout] 113 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires unsafety-checking `workers::receiver::::process::{closure#0}`... [INFO] [stdout] --> src/workers/receiver.rs:53:68 [INFO] [stdout] | [INFO] [stdout] 53 | async fn process(&mut self, ctx: &mut Context) -> Result { [INFO] [stdout] | ____________________________________________________________________^ [INFO] [stdout] 54 | | // Run in a loop until TcpWorkerPair::stop() is called [INFO] [stdout] 55 | | // First read a message length header... [INFO] [stdout] 56 | | let len = match self.rx.read_u16().await { [INFO] [stdout] ... | [INFO] [stdout] 112 | | Ok(true) [INFO] [stdout] 113 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires building MIR for `workers::receiver::::process::{closure#0}`... [INFO] [stdout] --> src/workers/receiver.rs:53:68 [INFO] [stdout] | [INFO] [stdout] 53 | async fn process(&mut self, ctx: &mut Context) -> Result { [INFO] [stdout] | ____________________________________________________________________^ [INFO] [stdout] 54 | | // Run in a loop until TcpWorkerPair::stop() is called [INFO] [stdout] 55 | | // First read a message length header... [INFO] [stdout] 56 | | let len = match self.rx.read_u16().await { [INFO] [stdout] ... | [INFO] [stdout] 112 | | Ok(true) [INFO] [stdout] 113 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires type-checking `workers::receiver::::process::{closure#0}`... [INFO] [stdout] --> src/workers/receiver.rs:53:68 [INFO] [stdout] | [INFO] [stdout] 53 | async fn process(&mut self, ctx: &mut Context) -> Result { [INFO] [stdout] | ____________________________________________________________________^ [INFO] [stdout] 54 | | // Run in a loop until TcpWorkerPair::stop() is called [INFO] [stdout] 55 | | // First read a message length header... [INFO] [stdout] 56 | | let len = match self.rx.read_u16().await { [INFO] [stdout] ... | [INFO] [stdout] 112 | | Ok(true) [INFO] [stdout] 113 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] = note: ...which again requires type-checking `workers::receiver::::process`, 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 `workers::sender::::handle_message` [INFO] [stdout] --> src/workers/sender.rs:207:5 [INFO] [stdout] | [INFO] [stdout] 207 | async fn handle_message( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: ...which requires generator glue MIR for `workers::sender::::handle_message::{closure#0}`... [INFO] [stdout] --> src/workers/sender.rs:211:21 [INFO] [stdout] | [INFO] [stdout] 211 | ) -> Result<()> { [INFO] [stdout] | _____________________^ [INFO] [stdout] 212 | | self.heartbeat.cancel(); [INFO] [stdout] 213 | | [INFO] [stdout] 214 | | let tx = match &mut self.tx { [INFO] [stdout] ... | [INFO] [stdout] 265 | | Ok(()) [INFO] [stdout] 266 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires elaborating drops for `workers::sender::::handle_message::{closure#0}`... [INFO] [stdout] --> src/workers/sender.rs:211:21 [INFO] [stdout] | [INFO] [stdout] 211 | ) -> Result<()> { [INFO] [stdout] | _____________________^ [INFO] [stdout] 212 | | self.heartbeat.cancel(); [INFO] [stdout] 213 | | [INFO] [stdout] 214 | | let tx = match &mut self.tx { [INFO] [stdout] ... | [INFO] [stdout] 265 | | Ok(()) [INFO] [stdout] 266 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires borrow-checking `workers::sender::::handle_message::{closure#0}`... [INFO] [stdout] --> src/workers/sender.rs:211:21 [INFO] [stdout] | [INFO] [stdout] 211 | ) -> Result<()> { [INFO] [stdout] | _____________________^ [INFO] [stdout] 212 | | self.heartbeat.cancel(); [INFO] [stdout] 213 | | [INFO] [stdout] 214 | | let tx = match &mut self.tx { [INFO] [stdout] ... | [INFO] [stdout] 265 | | Ok(()) [INFO] [stdout] 266 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires processing `workers::sender::::handle_message::{closure#0}`... [INFO] [stdout] --> src/workers/sender.rs:211:21 [INFO] [stdout] | [INFO] [stdout] 211 | ) -> Result<()> { [INFO] [stdout] | _____________________^ [INFO] [stdout] 212 | | self.heartbeat.cancel(); [INFO] [stdout] 213 | | [INFO] [stdout] 214 | | let tx = match &mut self.tx { [INFO] [stdout] ... | [INFO] [stdout] 265 | | Ok(()) [INFO] [stdout] 266 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires processing MIR for `workers::sender::::handle_message::{closure#0}`... [INFO] [stdout] --> src/workers/sender.rs:211:21 [INFO] [stdout] | [INFO] [stdout] 211 | ) -> Result<()> { [INFO] [stdout] | _____________________^ [INFO] [stdout] 212 | | self.heartbeat.cancel(); [INFO] [stdout] 213 | | [INFO] [stdout] 214 | | let tx = match &mut self.tx { [INFO] [stdout] ... | [INFO] [stdout] 265 | | Ok(()) [INFO] [stdout] 266 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires unsafety-checking `workers::sender::::handle_message::{closure#0}`... [INFO] [stdout] --> src/workers/sender.rs:211:21 [INFO] [stdout] | [INFO] [stdout] 211 | ) -> Result<()> { [INFO] [stdout] | _____________________^ [INFO] [stdout] 212 | | self.heartbeat.cancel(); [INFO] [stdout] 213 | | [INFO] [stdout] 214 | | let tx = match &mut self.tx { [INFO] [stdout] ... | [INFO] [stdout] 265 | | Ok(()) [INFO] [stdout] 266 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires building MIR for `workers::sender::::handle_message::{closure#0}`... [INFO] [stdout] --> src/workers/sender.rs:211:21 [INFO] [stdout] | [INFO] [stdout] 211 | ) -> Result<()> { [INFO] [stdout] | _____________________^ [INFO] [stdout] 212 | | self.heartbeat.cancel(); [INFO] [stdout] 213 | | [INFO] [stdout] 214 | | let tx = match &mut self.tx { [INFO] [stdout] ... | [INFO] [stdout] 265 | | Ok(()) [INFO] [stdout] 266 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires type-checking `workers::sender::::handle_message::{closure#0}`... [INFO] [stdout] --> src/workers/sender.rs:211:21 [INFO] [stdout] | [INFO] [stdout] 211 | ) -> Result<()> { [INFO] [stdout] | _____________________^ [INFO] [stdout] 212 | | self.heartbeat.cancel(); [INFO] [stdout] 213 | | [INFO] [stdout] 214 | | let tx = match &mut self.tx { [INFO] [stdout] ... | [INFO] [stdout] 265 | | Ok(()) [INFO] [stdout] 266 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] = note: ...which again requires type-checking `workers::sender::::handle_message`, 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 `workers::receiver::::process` [INFO] [stdout] --> src/workers/receiver.rs:53:5 [INFO] [stdout] | [INFO] [stdout] 53 | async fn process(&mut self, ctx: &mut Context) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: ...which requires generator glue MIR for `workers::receiver::::process::{closure#0}`... [INFO] [stdout] --> src/workers/receiver.rs:53:68 [INFO] [stdout] | [INFO] [stdout] 53 | async fn process(&mut self, ctx: &mut Context) -> Result { [INFO] [stdout] | ____________________________________________________________________^ [INFO] [stdout] 54 | | // Run in a loop until TcpWorkerPair::stop() is called [INFO] [stdout] 55 | | // First read a message length header... [INFO] [stdout] 56 | | let len = match self.rx.read_u16().await { [INFO] [stdout] ... | [INFO] [stdout] 112 | | Ok(true) [INFO] [stdout] 113 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires elaborating drops for `workers::receiver::::process::{closure#0}`... [INFO] [stdout] --> src/workers/receiver.rs:53:68 [INFO] [stdout] | [INFO] [stdout] 53 | async fn process(&mut self, ctx: &mut Context) -> Result { [INFO] [stdout] | ____________________________________________________________________^ [INFO] [stdout] 54 | | // Run in a loop until TcpWorkerPair::stop() is called [INFO] [stdout] 55 | | // First read a message length header... [INFO] [stdout] 56 | | let len = match self.rx.read_u16().await { [INFO] [stdout] ... | [INFO] [stdout] 112 | | Ok(true) [INFO] [stdout] 113 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires borrow-checking `workers::receiver::::process::{closure#0}`... [INFO] [stdout] --> src/workers/receiver.rs:53:68 [INFO] [stdout] | [INFO] [stdout] 53 | async fn process(&mut self, ctx: &mut Context) -> Result { [INFO] [stdout] | ____________________________________________________________________^ [INFO] [stdout] 54 | | // Run in a loop until TcpWorkerPair::stop() is called [INFO] [stdout] 55 | | // First read a message length header... [INFO] [stdout] 56 | | let len = match self.rx.read_u16().await { [INFO] [stdout] ... | [INFO] [stdout] 112 | | Ok(true) [INFO] [stdout] 113 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires processing `workers::receiver::::process::{closure#0}`... [INFO] [stdout] --> src/workers/receiver.rs:53:68 [INFO] [stdout] | [INFO] [stdout] 53 | async fn process(&mut self, ctx: &mut Context) -> Result { [INFO] [stdout] | ____________________________________________________________________^ [INFO] [stdout] 54 | | // Run in a loop until TcpWorkerPair::stop() is called [INFO] [stdout] 55 | | // First read a message length header... [INFO] [stdout] 56 | | let len = match self.rx.read_u16().await { [INFO] [stdout] ... | [INFO] [stdout] 112 | | Ok(true) [INFO] [stdout] 113 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires processing MIR for `workers::receiver::::process::{closure#0}`... [INFO] [stdout] --> src/workers/receiver.rs:53:68 [INFO] [stdout] | [INFO] [stdout] 53 | async fn process(&mut self, ctx: &mut Context) -> Result { [INFO] [stdout] | ____________________________________________________________________^ [INFO] [stdout] 54 | | // Run in a loop until TcpWorkerPair::stop() is called [INFO] [stdout] 55 | | // First read a message length header... [INFO] [stdout] 56 | | let len = match self.rx.read_u16().await { [INFO] [stdout] ... | [INFO] [stdout] 112 | | Ok(true) [INFO] [stdout] 113 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires unsafety-checking `workers::receiver::::process::{closure#0}`... [INFO] [stdout] --> src/workers/receiver.rs:53:68 [INFO] [stdout] | [INFO] [stdout] 53 | async fn process(&mut self, ctx: &mut Context) -> Result { [INFO] [stdout] | ____________________________________________________________________^ [INFO] [stdout] 54 | | // Run in a loop until TcpWorkerPair::stop() is called [INFO] [stdout] 55 | | // First read a message length header... [INFO] [stdout] 56 | | let len = match self.rx.read_u16().await { [INFO] [stdout] ... | [INFO] [stdout] 112 | | Ok(true) [INFO] [stdout] 113 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires building MIR for `workers::receiver::::process::{closure#0}`... [INFO] [stdout] --> src/workers/receiver.rs:53:68 [INFO] [stdout] | [INFO] [stdout] 53 | async fn process(&mut self, ctx: &mut Context) -> Result { [INFO] [stdout] | ____________________________________________________________________^ [INFO] [stdout] 54 | | // Run in a loop until TcpWorkerPair::stop() is called [INFO] [stdout] 55 | | // First read a message length header... [INFO] [stdout] 56 | | let len = match self.rx.read_u16().await { [INFO] [stdout] ... | [INFO] [stdout] 112 | | Ok(true) [INFO] [stdout] 113 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires type-checking `workers::receiver::::process::{closure#0}`... [INFO] [stdout] --> src/workers/receiver.rs:53:68 [INFO] [stdout] | [INFO] [stdout] 53 | async fn process(&mut self, ctx: &mut Context) -> Result { [INFO] [stdout] | ____________________________________________________________________^ [INFO] [stdout] 54 | | // Run in a loop until TcpWorkerPair::stop() is called [INFO] [stdout] 55 | | // First read a message length header... [INFO] [stdout] 56 | | let len = match self.rx.read_u16().await { [INFO] [stdout] ... | [INFO] [stdout] 112 | | Ok(true) [INFO] [stdout] 113 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] = note: ...which again requires type-checking `workers::receiver::::process`, 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::::async_try_clone` [INFO] [stdout] --> src/transport.rs:46:10 [INFO] [stdout] | [INFO] [stdout] 46 | #[derive(AsyncTryClone)] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: ...which requires generator glue MIR for `transport::::async_try_clone::{closure#0}`... [INFO] [stdout] --> src/transport.rs:46:10 [INFO] [stdout] | [INFO] [stdout] 46 | #[derive(AsyncTryClone)] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] note: ...which requires elaborating drops for `transport::::async_try_clone::{closure#0}`... [INFO] [stdout] --> src/transport.rs:46:10 [INFO] [stdout] | [INFO] [stdout] 46 | #[derive(AsyncTryClone)] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] note: ...which requires borrow-checking `transport::::async_try_clone::{closure#0}`... [INFO] [stdout] --> src/transport.rs:46:10 [INFO] [stdout] | [INFO] [stdout] 46 | #[derive(AsyncTryClone)] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] note: ...which requires processing `transport::::async_try_clone::{closure#0}`... [INFO] [stdout] --> src/transport.rs:46:10 [INFO] [stdout] | [INFO] [stdout] 46 | #[derive(AsyncTryClone)] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] note: ...which requires processing MIR for `transport::::async_try_clone::{closure#0}`... [INFO] [stdout] --> src/transport.rs:46:10 [INFO] [stdout] | [INFO] [stdout] 46 | #[derive(AsyncTryClone)] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] note: ...which requires unsafety-checking `transport::::async_try_clone::{closure#0}`... [INFO] [stdout] --> src/transport.rs:46:10 [INFO] [stdout] | [INFO] [stdout] 46 | #[derive(AsyncTryClone)] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] note: ...which requires building MIR for `transport::::async_try_clone::{closure#0}`... [INFO] [stdout] --> src/transport.rs:46:10 [INFO] [stdout] | [INFO] [stdout] 46 | #[derive(AsyncTryClone)] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] note: ...which requires type-checking `transport::::async_try_clone::{closure#0}`... [INFO] [stdout] --> src/transport.rs:46:10 [INFO] [stdout] | [INFO] [stdout] 46 | #[derive(AsyncTryClone)] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] = note: ...which again requires type-checking `transport::::async_try_clone`, completing the cycle [INFO] [stdout] = note: cycle used when type-checking all item bodies [INFO] [stdout] = note: this error originates in the derive macro `AsyncTryClone` (in Nightly builds, run with -Z macro-backtrace for more info) [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 `ockam_transport_tcp` 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 `workers::sender::::handle_message` [INFO] [stdout] --> src/workers/sender.rs:207:5 [INFO] [stdout] | [INFO] [stdout] 207 | async fn handle_message( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: ...which requires generator glue MIR for `workers::sender::::handle_message::{closure#0}`... [INFO] [stdout] --> src/workers/sender.rs:211:21 [INFO] [stdout] | [INFO] [stdout] 211 | ) -> Result<()> { [INFO] [stdout] | _____________________^ [INFO] [stdout] 212 | | self.heartbeat.cancel(); [INFO] [stdout] 213 | | [INFO] [stdout] 214 | | let tx = match &mut self.tx { [INFO] [stdout] ... | [INFO] [stdout] 265 | | Ok(()) [INFO] [stdout] 266 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires elaborating drops for `workers::sender::::handle_message::{closure#0}`... [INFO] [stdout] --> src/workers/sender.rs:211:21 [INFO] [stdout] | [INFO] [stdout] 211 | ) -> Result<()> { [INFO] [stdout] | _____________________^ [INFO] [stdout] 212 | | self.heartbeat.cancel(); [INFO] [stdout] 213 | | [INFO] [stdout] 214 | | let tx = match &mut self.tx { [INFO] [stdout] ... | [INFO] [stdout] 265 | | Ok(()) [INFO] [stdout] 266 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires borrow-checking `workers::sender::::handle_message::{closure#0}`... [INFO] [stdout] --> src/workers/sender.rs:211:21 [INFO] [stdout] | [INFO] [stdout] 211 | ) -> Result<()> { [INFO] [stdout] | _____________________^ [INFO] [stdout] 212 | | self.heartbeat.cancel(); [INFO] [stdout] 213 | | [INFO] [stdout] 214 | | let tx = match &mut self.tx { [INFO] [stdout] ... | [INFO] [stdout] 265 | | Ok(()) [INFO] [stdout] 266 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires processing `workers::sender::::handle_message::{closure#0}`... [INFO] [stdout] --> src/workers/sender.rs:211:21 [INFO] [stdout] | [INFO] [stdout] 211 | ) -> Result<()> { [INFO] [stdout] | _____________________^ [INFO] [stdout] 212 | | self.heartbeat.cancel(); [INFO] [stdout] 213 | | [INFO] [stdout] 214 | | let tx = match &mut self.tx { [INFO] [stdout] ... | [INFO] [stdout] 265 | | Ok(()) [INFO] [stdout] 266 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires processing MIR for `workers::sender::::handle_message::{closure#0}`... [INFO] [stdout] --> src/workers/sender.rs:211:21 [INFO] [stdout] | [INFO] [stdout] 211 | ) -> Result<()> { [INFO] [stdout] | _____________________^ [INFO] [stdout] 212 | | self.heartbeat.cancel(); [INFO] [stdout] 213 | | [INFO] [stdout] 214 | | let tx = match &mut self.tx { [INFO] [stdout] ... | [INFO] [stdout] 265 | | Ok(()) [INFO] [stdout] 266 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires unsafety-checking `workers::sender::::handle_message::{closure#0}`... [INFO] [stdout] --> src/workers/sender.rs:211:21 [INFO] [stdout] | [INFO] [stdout] 211 | ) -> Result<()> { [INFO] [stdout] | _____________________^ [INFO] [stdout] 212 | | self.heartbeat.cancel(); [INFO] [stdout] 213 | | [INFO] [stdout] 214 | | let tx = match &mut self.tx { [INFO] [stdout] ... | [INFO] [stdout] 265 | | Ok(()) [INFO] [stdout] 266 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires building MIR for `workers::sender::::handle_message::{closure#0}`... [INFO] [stdout] --> src/workers/sender.rs:211:21 [INFO] [stdout] | [INFO] [stdout] 211 | ) -> Result<()> { [INFO] [stdout] | _____________________^ [INFO] [stdout] 212 | | self.heartbeat.cancel(); [INFO] [stdout] 213 | | [INFO] [stdout] 214 | | let tx = match &mut self.tx { [INFO] [stdout] ... | [INFO] [stdout] 265 | | Ok(()) [INFO] [stdout] 266 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires type-checking `workers::sender::::handle_message::{closure#0}`... [INFO] [stdout] --> src/workers/sender.rs:211:21 [INFO] [stdout] | [INFO] [stdout] 211 | ) -> Result<()> { [INFO] [stdout] | _____________________^ [INFO] [stdout] 212 | | self.heartbeat.cancel(); [INFO] [stdout] 213 | | [INFO] [stdout] 214 | | let tx = match &mut self.tx { [INFO] [stdout] ... | [INFO] [stdout] 265 | | Ok(()) [INFO] [stdout] 266 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] = note: ...which again requires type-checking `workers::sender::::handle_message`, 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::::async_try_clone` [INFO] [stdout] --> src/transport.rs:46:10 [INFO] [stdout] | [INFO] [stdout] 46 | #[derive(AsyncTryClone)] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: ...which requires generator glue MIR for `transport::::async_try_clone::{closure#0}`... [INFO] [stdout] --> src/transport.rs:46:10 [INFO] [stdout] | [INFO] [stdout] 46 | #[derive(AsyncTryClone)] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] note: ...which requires elaborating drops for `transport::::async_try_clone::{closure#0}`... [INFO] [stdout] --> src/transport.rs:46:10 [INFO] [stdout] | [INFO] [stdout] 46 | #[derive(AsyncTryClone)] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] note: ...which requires borrow-checking `transport::::async_try_clone::{closure#0}`... [INFO] [stdout] --> src/transport.rs:46:10 [INFO] [stdout] | [INFO] [stdout] 46 | #[derive(AsyncTryClone)] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] note: ...which requires processing `transport::::async_try_clone::{closure#0}`... [INFO] [stdout] --> src/transport.rs:46:10 [INFO] [stdout] | [INFO] [stdout] 46 | #[derive(AsyncTryClone)] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] note: ...which requires processing MIR for `transport::::async_try_clone::{closure#0}`... [INFO] [stdout] --> src/transport.rs:46:10 [INFO] [stdout] | [INFO] [stdout] 46 | #[derive(AsyncTryClone)] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] note: ...which requires unsafety-checking `transport::::async_try_clone::{closure#0}`... [INFO] [stdout] --> src/transport.rs:46:10 [INFO] [stdout] | [INFO] [stdout] 46 | #[derive(AsyncTryClone)] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] note: ...which requires building MIR for `transport::::async_try_clone::{closure#0}`... [INFO] [stdout] --> src/transport.rs:46:10 [INFO] [stdout] | [INFO] [stdout] 46 | #[derive(AsyncTryClone)] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] note: ...which requires type-checking `transport::::async_try_clone::{closure#0}`... [INFO] [stdout] --> src/transport.rs:46:10 [INFO] [stdout] | [INFO] [stdout] 46 | #[derive(AsyncTryClone)] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] = note: ...which again requires type-checking `transport::::async_try_clone`, completing the cycle [INFO] [stdout] = note: cycle used when type-checking all item bodies [INFO] [stdout] = note: this error originates in the derive macro `AsyncTryClone` (in Nightly builds, run with -Z macro-backtrace for more info) [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 `ockam_transport_tcp` due to 6 previous errors [INFO] running `Command { std: "docker" "inspect" "2cca3d23641c73fda32f003c932c8fd9ac55c5f6a84c599953166485df4b186d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2cca3d23641c73fda32f003c932c8fd9ac55c5f6a84c599953166485df4b186d", kill_on_drop: false }` [INFO] [stdout] 2cca3d23641c73fda32f003c932c8fd9ac55c5f6a84c599953166485df4b186d