[INFO] fetching crate ferrite-session 0.3.0... [INFO] checking ferrite-session-0.3.0 against try#8ea250bdb76176ecb0225baa34aa634b024ae0e2 for pr-101692 [INFO] extracting crate ferrite-session 0.3.0 into /workspace/builds/worker-0/source [INFO] validating manifest of crates.io crate ferrite-session 0.3.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 ferrite-session 0.3.0 [INFO] finished tweaking crates.io crate ferrite-session 0.3.0 [INFO] tweaked toml for crates.io crate ferrite-session 0.3.0 written to /workspace/builds/worker-0/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] [stderr] Blocking waiting for file lock on package cache [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-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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] b318bd1e449f0ae6dc69af0da6e6b1e97b3b5a495cc1904368fc359cdd872b33 [INFO] running `Command { std: "docker" "start" "-a" "b318bd1e449f0ae6dc69af0da6e6b1e97b3b5a495cc1904368fc359cdd872b33", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b318bd1e449f0ae6dc69af0da6e6b1e97b3b5a495cc1904368fc359cdd872b33", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b318bd1e449f0ae6dc69af0da6e6b1e97b3b5a495cc1904368fc359cdd872b33", kill_on_drop: false }` [INFO] [stdout] b318bd1e449f0ae6dc69af0da6e6b1e97b3b5a495cc1904368fc359cdd872b33 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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] b8eeed891aa56276b60d44e93f6f10e44ca7c1892dd0a6a3fd2d177a07b6d1b1 [INFO] running `Command { std: "docker" "start" "-a" "b8eeed891aa56276b60d44e93f6f10e44ca7c1892dd0a6a3fd2d177a07b6d1b1", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.132 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Checking cfg-if v1.0.0 [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] Compiling log v0.4.17 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling serde_derive v1.0.144 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Compiling serde v1.0.144 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Compiling parking_lot_core v0.9.3 [INFO] [stderr] Checking ppv-lite86 v0.2.16 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Checking smallvec v1.9.0 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking fastrand v1.8.0 [INFO] [stderr] Checking remove_dir_all v0.5.3 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Checking bytes v1.2.1 [INFO] [stderr] Checking once_cell v1.14.0 [INFO] [stderr] Checking pin-project-lite v0.2.9 [INFO] [stderr] Compiling paste v1.0.9 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling slab v0.4.7 [INFO] [stderr] Compiling lock_api v0.4.8 [INFO] [stderr] Compiling tokio v1.21.1 [INFO] [stderr] Checking net2 v0.2.37 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Checking getrandom v0.2.7 [INFO] [stderr] Checking tempfile v3.3.0 [INFO] [stderr] Checking signal-hook-registry v1.4.0 [INFO] [stderr] Checking socket2 v0.4.7 [INFO] [stderr] Checking num_cpus v1.13.1 [INFO] [stderr] Checking mio v0.8.4 [INFO] [stderr] Checking uuid v0.8.2 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking mio v0.6.23 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking crossbeam-channel v0.4.4 [INFO] [stderr] Compiling tokio-macros v1.8.0 [INFO] [stderr] Checking bincode v1.3.3 [INFO] [stderr] Checking ipc-channel v0.14.1 [INFO] [stderr] Checking ferrite-session v0.3.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0391]: cycle detected when type-checking `internal::base::channel::impls::::forward_from` [INFO] [stdout] --> src/internal/base/channel/impls.rs:82:3 [INFO] [stdout] | [INFO] [stdout] 82 | / fn forward_from( [INFO] [stdout] 83 | | sender1: OpaqueSender, [INFO] [stdout] 84 | | receiver1: OpaqueReceiver, [INFO] [stdout] 85 | | ) -> Self [INFO] [stdout] | |___________^ [INFO] [stdout] | [INFO] [stdout] note: ...which requires generator glue MIR for `internal::base::channel::impls::::forward_from::{closure#0}`... [INFO] [stdout] --> src/internal/base/channel/impls.rs:89:28 [INFO] [stdout] | [INFO] [stdout] 89 | task::spawn(async move { [INFO] [stdout] | ____________________________^ [INFO] [stdout] 90 | | let payload: T = receiver2.recv().await.unwrap(); [INFO] [stdout] 91 | | [INFO] [stdout] 92 | | task::spawn_blocking(move || { [INFO] [stdout] ... | [INFO] [stdout] 96 | | }); [INFO] [stdout] 97 | | }); [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires elaborating drops for `internal::base::channel::impls::::forward_from::{closure#0}`... [INFO] [stdout] --> src/internal/base/channel/impls.rs:89:28 [INFO] [stdout] | [INFO] [stdout] 89 | task::spawn(async move { [INFO] [stdout] | ____________________________^ [INFO] [stdout] 90 | | let payload: T = receiver2.recv().await.unwrap(); [INFO] [stdout] 91 | | [INFO] [stdout] 92 | | task::spawn_blocking(move || { [INFO] [stdout] ... | [INFO] [stdout] 96 | | }); [INFO] [stdout] 97 | | }); [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires borrow-checking `internal::base::channel::impls::::forward_from::{closure#0}`... [INFO] [stdout] --> src/internal/base/channel/impls.rs:89:28 [INFO] [stdout] | [INFO] [stdout] 89 | task::spawn(async move { [INFO] [stdout] | ____________________________^ [INFO] [stdout] 90 | | let payload: T = receiver2.recv().await.unwrap(); [INFO] [stdout] 91 | | [INFO] [stdout] 92 | | task::spawn_blocking(move || { [INFO] [stdout] ... | [INFO] [stdout] 96 | | }); [INFO] [stdout] 97 | | }); [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires processing `internal::base::channel::impls::::forward_from::{closure#0}`... [INFO] [stdout] --> src/internal/base/channel/impls.rs:89:28 [INFO] [stdout] | [INFO] [stdout] 89 | task::spawn(async move { [INFO] [stdout] | ____________________________^ [INFO] [stdout] 90 | | let payload: T = receiver2.recv().await.unwrap(); [INFO] [stdout] 91 | | [INFO] [stdout] 92 | | task::spawn_blocking(move || { [INFO] [stdout] ... | [INFO] [stdout] 96 | | }); [INFO] [stdout] 97 | | }); [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires processing MIR for `internal::base::channel::impls::::forward_from::{closure#0}`... [INFO] [stdout] --> src/internal/base/channel/impls.rs:89:28 [INFO] [stdout] | [INFO] [stdout] 89 | task::spawn(async move { [INFO] [stdout] | ____________________________^ [INFO] [stdout] 90 | | let payload: T = receiver2.recv().await.unwrap(); [INFO] [stdout] 91 | | [INFO] [stdout] 92 | | task::spawn_blocking(move || { [INFO] [stdout] ... | [INFO] [stdout] 96 | | }); [INFO] [stdout] 97 | | }); [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires unsafety-checking `internal::base::channel::impls::::forward_from::{closure#0}`... [INFO] [stdout] --> src/internal/base/channel/impls.rs:89:28 [INFO] [stdout] | [INFO] [stdout] 89 | task::spawn(async move { [INFO] [stdout] | ____________________________^ [INFO] [stdout] 90 | | let payload: T = receiver2.recv().await.unwrap(); [INFO] [stdout] 91 | | [INFO] [stdout] 92 | | task::spawn_blocking(move || { [INFO] [stdout] ... | [INFO] [stdout] 96 | | }); [INFO] [stdout] 97 | | }); [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires building MIR for `internal::base::channel::impls::::forward_from::{closure#0}`... [INFO] [stdout] --> src/internal/base/channel/impls.rs:89:28 [INFO] [stdout] | [INFO] [stdout] 89 | task::spawn(async move { [INFO] [stdout] | ____________________________^ [INFO] [stdout] 90 | | let payload: T = receiver2.recv().await.unwrap(); [INFO] [stdout] 91 | | [INFO] [stdout] 92 | | task::spawn_blocking(move || { [INFO] [stdout] ... | [INFO] [stdout] 96 | | }); [INFO] [stdout] 97 | | }); [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires type-checking `internal::base::channel::impls::::forward_from::{closure#0}`... [INFO] [stdout] --> src/internal/base/channel/impls.rs:89:28 [INFO] [stdout] | [INFO] [stdout] 89 | task::spawn(async move { [INFO] [stdout] | ____________________________^ [INFO] [stdout] 90 | | let payload: T = receiver2.recv().await.unwrap(); [INFO] [stdout] 91 | | [INFO] [stdout] 92 | | task::spawn_blocking(move || { [INFO] [stdout] ... | [INFO] [stdout] 96 | | }); [INFO] [stdout] 97 | | }); [INFO] [stdout] | |_____^ [INFO] [stdout] = note: ...which again requires type-checking `internal::base::channel::impls::::forward_from`, 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 `internal::base::channel::impls::::forward_to` [INFO] [stdout] --> src/internal/base/channel/impls.rs:107:3 [INFO] [stdout] | [INFO] [stdout] 107 | / fn forward_to( [INFO] [stdout] 108 | | self, [INFO] [stdout] 109 | | sender1: OpaqueSender, [INFO] [stdout] 110 | | receiver1: OpaqueReceiver, [INFO] [stdout] 111 | | ) [INFO] [stdout] | |___^ [INFO] [stdout] | [INFO] [stdout] note: ...which requires generator glue MIR for `internal::base::channel::impls::::forward_to::{closure#0}`... [INFO] [stdout] --> src/internal/base/channel/impls.rs:113:28 [INFO] [stdout] | [INFO] [stdout] 113 | task::spawn(async move { [INFO] [stdout] | ____________________________^ [INFO] [stdout] 114 | | let channel = self.recv().await.unwrap(); [INFO] [stdout] 115 | | [INFO] [stdout] 116 | | task::spawn_blocking(move || { [INFO] [stdout] ... | [INFO] [stdout] 120 | | }); [INFO] [stdout] 121 | | }); [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires elaborating drops for `internal::base::channel::impls::::forward_to::{closure#0}`... [INFO] [stdout] --> src/internal/base/channel/impls.rs:113:28 [INFO] [stdout] | [INFO] [stdout] 113 | task::spawn(async move { [INFO] [stdout] | ____________________________^ [INFO] [stdout] 114 | | let channel = self.recv().await.unwrap(); [INFO] [stdout] 115 | | [INFO] [stdout] 116 | | task::spawn_blocking(move || { [INFO] [stdout] ... | [INFO] [stdout] 120 | | }); [INFO] [stdout] 121 | | }); [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires borrow-checking `internal::base::channel::impls::::forward_to::{closure#0}`... [INFO] [stdout] --> src/internal/base/channel/impls.rs:113:28 [INFO] [stdout] | [INFO] [stdout] 113 | task::spawn(async move { [INFO] [stdout] | ____________________________^ [INFO] [stdout] 114 | | let channel = self.recv().await.unwrap(); [INFO] [stdout] 115 | | [INFO] [stdout] 116 | | task::spawn_blocking(move || { [INFO] [stdout] ... | [INFO] [stdout] 120 | | }); [INFO] [stdout] 121 | | }); [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires processing `internal::base::channel::impls::::forward_to::{closure#0}`... [INFO] [stdout] --> src/internal/base/channel/impls.rs:113:28 [INFO] [stdout] | [INFO] [stdout] 113 | task::spawn(async move { [INFO] [stdout] | ____________________________^ [INFO] [stdout] 114 | | let channel = self.recv().await.unwrap(); [INFO] [stdout] 115 | | [INFO] [stdout] 116 | | task::spawn_blocking(move || { [INFO] [stdout] ... | [INFO] [stdout] 120 | | }); [INFO] [stdout] 121 | | }); [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires processing MIR for `internal::base::channel::impls::::forward_to::{closure#0}`... [INFO] [stdout] --> src/internal/base/channel/impls.rs:113:28 [INFO] [stdout] | [INFO] [stdout] 113 | task::spawn(async move { [INFO] [stdout] | ____________________________^ [INFO] [stdout] 114 | | let channel = self.recv().await.unwrap(); [INFO] [stdout] 115 | | [INFO] [stdout] 116 | | task::spawn_blocking(move || { [INFO] [stdout] ... | [INFO] [stdout] 120 | | }); [INFO] [stdout] 121 | | }); [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires unsafety-checking `internal::base::channel::impls::::forward_to::{closure#0}`... [INFO] [stdout] --> src/internal/base/channel/impls.rs:113:28 [INFO] [stdout] | [INFO] [stdout] 113 | task::spawn(async move { [INFO] [stdout] | ____________________________^ [INFO] [stdout] 114 | | let channel = self.recv().await.unwrap(); [INFO] [stdout] 115 | | [INFO] [stdout] 116 | | task::spawn_blocking(move || { [INFO] [stdout] ... | [INFO] [stdout] 120 | | }); [INFO] [stdout] 121 | | }); [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires building MIR for `internal::base::channel::impls::::forward_to::{closure#0}`... [INFO] [stdout] --> src/internal/base/channel/impls.rs:113:28 [INFO] [stdout] | [INFO] [stdout] 113 | task::spawn(async move { [INFO] [stdout] | ____________________________^ [INFO] [stdout] 114 | | let channel = self.recv().await.unwrap(); [INFO] [stdout] 115 | | [INFO] [stdout] 116 | | task::spawn_blocking(move || { [INFO] [stdout] ... | [INFO] [stdout] 120 | | }); [INFO] [stdout] 121 | | }); [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires type-checking `internal::base::channel::impls::::forward_to::{closure#0}`... [INFO] [stdout] --> src/internal/base/channel/impls.rs:113:28 [INFO] [stdout] | [INFO] [stdout] 113 | task::spawn(async move { [INFO] [stdout] | ____________________________^ [INFO] [stdout] 114 | | let channel = self.recv().await.unwrap(); [INFO] [stdout] 115 | | [INFO] [stdout] 116 | | task::spawn_blocking(move || { [INFO] [stdout] ... | [INFO] [stdout] 120 | | }); [INFO] [stdout] 121 | | }); [INFO] [stdout] | |_____^ [INFO] [stdout] = note: ...which again requires type-checking `internal::base::channel::impls::::forward_to`, 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 `internal::base::shared::serialize::serialize_shared_channel` [INFO] [stdout] --> src/internal/base/shared/serialize.rs:39:1 [INFO] [stdout] | [INFO] [stdout] 39 | / fn serialize_shared_channel( [INFO] [stdout] 40 | | channel: SharedChannel [INFO] [stdout] 41 | | ) -> SerializedSharedChannel [INFO] [stdout] 42 | | where [INFO] [stdout] 43 | | S: SharedProtocol + ForwardChannel, [INFO] [stdout] | |_____________________________________^ [INFO] [stdout] | [INFO] [stdout] note: ...which requires generator glue MIR for `internal::base::shared::serialize::serialize_shared_channel::{closure#0}`... [INFO] [stdout] --> src/internal/base/shared/serialize.rs:53:26 [INFO] [stdout] | [INFO] [stdout] 53 | task::spawn(async move { [INFO] [stdout] | __________________________^ [INFO] [stdout] 54 | | loop { [INFO] [stdout] 55 | | let receiver1 = receiver1.clone(); [INFO] [stdout] 56 | | [INFO] [stdout] ... | [INFO] [stdout] 91 | | } [INFO] [stdout] 92 | | }); [INFO] [stdout] | |___^ [INFO] [stdout] note: ...which requires elaborating drops for `internal::base::shared::serialize::serialize_shared_channel::{closure#0}`... [INFO] [stdout] --> src/internal/base/shared/serialize.rs:53:26 [INFO] [stdout] | [INFO] [stdout] 53 | task::spawn(async move { [INFO] [stdout] | __________________________^ [INFO] [stdout] 54 | | loop { [INFO] [stdout] 55 | | let receiver1 = receiver1.clone(); [INFO] [stdout] 56 | | [INFO] [stdout] ... | [INFO] [stdout] 91 | | } [INFO] [stdout] 92 | | }); [INFO] [stdout] | |___^ [INFO] [stdout] note: ...which requires borrow-checking `internal::base::shared::serialize::serialize_shared_channel::{closure#0}`... [INFO] [stdout] --> src/internal/base/shared/serialize.rs:53:26 [INFO] [stdout] | [INFO] [stdout] 53 | task::spawn(async move { [INFO] [stdout] | __________________________^ [INFO] [stdout] 54 | | loop { [INFO] [stdout] 55 | | let receiver1 = receiver1.clone(); [INFO] [stdout] 56 | | [INFO] [stdout] ... | [INFO] [stdout] 91 | | } [INFO] [stdout] 92 | | }); [INFO] [stdout] | |___^ [INFO] [stdout] note: ...which requires processing `internal::base::shared::serialize::serialize_shared_channel::{closure#0}`... [INFO] [stdout] --> src/internal/base/shared/serialize.rs:53:26 [INFO] [stdout] | [INFO] [stdout] 53 | task::spawn(async move { [INFO] [stdout] | __________________________^ [INFO] [stdout] 54 | | loop { [INFO] [stdout] 55 | | let receiver1 = receiver1.clone(); [INFO] [stdout] 56 | | [INFO] [stdout] ... | [INFO] [stdout] 91 | | } [INFO] [stdout] 92 | | }); [INFO] [stdout] | |___^ [INFO] [stdout] note: ...which requires processing MIR for `internal::base::shared::serialize::serialize_shared_channel::{closure#0}`... [INFO] [stdout] --> src/internal/base/shared/serialize.rs:53:26 [INFO] [stdout] | [INFO] [stdout] 53 | task::spawn(async move { [INFO] [stdout] | __________________________^ [INFO] [stdout] 54 | | loop { [INFO] [stdout] 55 | | let receiver1 = receiver1.clone(); [INFO] [stdout] 56 | | [INFO] [stdout] ... | [INFO] [stdout] 91 | | } [INFO] [stdout] 92 | | }); [INFO] [stdout] | |___^ [INFO] [stdout] note: ...which requires unsafety-checking `internal::base::shared::serialize::serialize_shared_channel::{closure#0}`... [INFO] [stdout] --> src/internal/base/shared/serialize.rs:53:26 [INFO] [stdout] | [INFO] [stdout] 53 | task::spawn(async move { [INFO] [stdout] | __________________________^ [INFO] [stdout] 54 | | loop { [INFO] [stdout] 55 | | let receiver1 = receiver1.clone(); [INFO] [stdout] 56 | | [INFO] [stdout] ... | [INFO] [stdout] 91 | | } [INFO] [stdout] 92 | | }); [INFO] [stdout] | |___^ [INFO] [stdout] note: ...which requires building MIR for `internal::base::shared::serialize::serialize_shared_channel::{closure#0}`... [INFO] [stdout] --> src/internal/base/shared/serialize.rs:53:26 [INFO] [stdout] | [INFO] [stdout] 53 | task::spawn(async move { [INFO] [stdout] | __________________________^ [INFO] [stdout] 54 | | loop { [INFO] [stdout] 55 | | let receiver1 = receiver1.clone(); [INFO] [stdout] 56 | | [INFO] [stdout] ... | [INFO] [stdout] 91 | | } [INFO] [stdout] 92 | | }); [INFO] [stdout] | |___^ [INFO] [stdout] note: ...which requires type-checking `internal::base::shared::serialize::serialize_shared_channel::{closure#0}`... [INFO] [stdout] --> src/internal/base/shared/serialize.rs:53:26 [INFO] [stdout] | [INFO] [stdout] 53 | task::spawn(async move { [INFO] [stdout] | __________________________^ [INFO] [stdout] 54 | | loop { [INFO] [stdout] 55 | | let receiver1 = receiver1.clone(); [INFO] [stdout] 56 | | [INFO] [stdout] ... | [INFO] [stdout] 91 | | } [INFO] [stdout] 92 | | }); [INFO] [stdout] | |___^ [INFO] [stdout] = note: ...which again requires type-checking `internal::base::shared::serialize::serialize_shared_channel`, 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 `internal::base::shared::serialize::deserialize_shared_channel` [INFO] [stdout] --> src/internal/base/shared/serialize.rs:103:1 [INFO] [stdout] | [INFO] [stdout] 103 | / fn deserialize_shared_channel( [INFO] [stdout] 104 | | channel: SerializedSharedChannel [INFO] [stdout] 105 | | ) -> SharedChannel [INFO] [stdout] 106 | | where [INFO] [stdout] 107 | | S: SharedProtocol + ForwardChannel + Send, [INFO] [stdout] | |____________________________________________^ [INFO] [stdout] | [INFO] [stdout] note: ...which requires generator glue MIR for `internal::base::shared::serialize::deserialize_shared_channel::{closure#0}`... [INFO] [stdout] --> src/internal/base/shared/serialize.rs:111:26 [INFO] [stdout] | [INFO] [stdout] 111 | task::spawn(async move { [INFO] [stdout] | __________________________^ [INFO] [stdout] 112 | | while let Some((sender2, sender3)) = receiver1.recv().await { [INFO] [stdout] 113 | | debug!("[deserialize_shared_channel] acquiring remote shared channel"); [INFO] [stdout] 114 | | [INFO] [stdout] ... | [INFO] [stdout] 132 | | } [INFO] [stdout] 133 | | }); [INFO] [stdout] | |___^ [INFO] [stdout] note: ...which requires elaborating drops for `internal::base::shared::serialize::deserialize_shared_channel::{closure#0}`... [INFO] [stdout] --> src/internal/base/shared/serialize.rs:111:26 [INFO] [stdout] | [INFO] [stdout] 111 | task::spawn(async move { [INFO] [stdout] | __________________________^ [INFO] [stdout] 112 | | while let Some((sender2, sender3)) = receiver1.recv().await { [INFO] [stdout] 113 | | debug!("[deserialize_shared_channel] acquiring remote shared channel"); [INFO] [stdout] 114 | | [INFO] [stdout] ... | [INFO] [stdout] 132 | | } [INFO] [stdout] 133 | | }); [INFO] [stdout] | |___^ [INFO] [stdout] note: ...which requires borrow-checking `internal::base::shared::serialize::deserialize_shared_channel::{closure#0}`... [INFO] [stdout] --> src/internal/base/shared/serialize.rs:111:26 [INFO] [stdout] | [INFO] [stdout] 111 | task::spawn(async move { [INFO] [stdout] | __________________________^ [INFO] [stdout] 112 | | while let Some((sender2, sender3)) = receiver1.recv().await { [INFO] [stdout] 113 | | debug!("[deserialize_shared_channel] acquiring remote shared channel"); [INFO] [stdout] 114 | | [INFO] [stdout] ... | [INFO] [stdout] 132 | | } [INFO] [stdout] 133 | | }); [INFO] [stdout] | |___^ [INFO] [stdout] note: ...which requires processing `internal::base::shared::serialize::deserialize_shared_channel::{closure#0}`... [INFO] [stdout] --> src/internal/base/shared/serialize.rs:111:26 [INFO] [stdout] | [INFO] [stdout] 111 | task::spawn(async move { [INFO] [stdout] | __________________________^ [INFO] [stdout] 112 | | while let Some((sender2, sender3)) = receiver1.recv().await { [INFO] [stdout] 113 | | debug!("[deserialize_shared_channel] acquiring remote shared channel"); [INFO] [stdout] 114 | | [INFO] [stdout] ... | [INFO] [stdout] 132 | | } [INFO] [stdout] 133 | | }); [INFO] [stdout] | |___^ [INFO] [stdout] note: ...which requires processing MIR for `internal::base::shared::serialize::deserialize_shared_channel::{closure#0}`... [INFO] [stdout] --> src/internal/base/shared/serialize.rs:111:26 [INFO] [stdout] | [INFO] [stdout] 111 | task::spawn(async move { [INFO] [stdout] | __________________________^ [INFO] [stdout] 112 | | while let Some((sender2, sender3)) = receiver1.recv().await { [INFO] [stdout] 113 | | debug!("[deserialize_shared_channel] acquiring remote shared channel"); [INFO] [stdout] 114 | | [INFO] [stdout] ... | [INFO] [stdout] 132 | | } [INFO] [stdout] 133 | | }); [INFO] [stdout] | |___^ [INFO] [stdout] note: ...which requires unsafety-checking `internal::base::shared::serialize::deserialize_shared_channel::{closure#0}`... [INFO] [stdout] --> src/internal/base/shared/serialize.rs:111:26 [INFO] [stdout] | [INFO] [stdout] 111 | task::spawn(async move { [INFO] [stdout] | __________________________^ [INFO] [stdout] 112 | | while let Some((sender2, sender3)) = receiver1.recv().await { [INFO] [stdout] 113 | | debug!("[deserialize_shared_channel] acquiring remote shared channel"); [INFO] [stdout] 114 | | [INFO] [stdout] ... | [INFO] [stdout] 132 | | } [INFO] [stdout] 133 | | }); [INFO] [stdout] | |___^ [INFO] [stdout] note: ...which requires building MIR for `internal::base::shared::serialize::deserialize_shared_channel::{closure#0}`... [INFO] [stdout] --> src/internal/base/shared/serialize.rs:111:26 [INFO] [stdout] | [INFO] [stdout] 111 | task::spawn(async move { [INFO] [stdout] | __________________________^ [INFO] [stdout] 112 | | while let Some((sender2, sender3)) = receiver1.recv().await { [INFO] [stdout] 113 | | debug!("[deserialize_shared_channel] acquiring remote shared channel"); [INFO] [stdout] 114 | | [INFO] [stdout] ... | [INFO] [stdout] 132 | | } [INFO] [stdout] 133 | | }); [INFO] [stdout] | |___^ [INFO] [stdout] note: ...which requires type-checking `internal::base::shared::serialize::deserialize_shared_channel::{closure#0}`... [INFO] [stdout] --> src/internal/base/shared/serialize.rs:111:26 [INFO] [stdout] | [INFO] [stdout] 111 | task::spawn(async move { [INFO] [stdout] | __________________________^ [INFO] [stdout] 112 | | while let Some((sender2, sender3)) = receiver1.recv().await { [INFO] [stdout] 113 | | debug!("[deserialize_shared_channel] acquiring remote shared channel"); [INFO] [stdout] 114 | | [INFO] [stdout] ... | [INFO] [stdout] 132 | | } [INFO] [stdout] 133 | | }); [INFO] [stdout] | |___^ [INFO] [stdout] = note: ...which again requires type-checking `internal::base::shared::serialize::deserialize_shared_channel`, 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 `internal::base::channel::impls::::forward_from` [INFO] [stdout] --> src/internal/base/channel/impls.rs:82:3 [INFO] [stdout] | [INFO] [stdout] 82 | / fn forward_from( [INFO] [stdout] 83 | | sender1: OpaqueSender, [INFO] [stdout] 84 | | receiver1: OpaqueReceiver, [INFO] [stdout] 85 | | ) -> Self [INFO] [stdout] | |___________^ [INFO] [stdout] | [INFO] [stdout] note: ...which requires generator glue MIR for `internal::base::channel::impls::::forward_from::{closure#0}`... [INFO] [stdout] --> src/internal/base/channel/impls.rs:89:28 [INFO] [stdout] | [INFO] [stdout] 89 | task::spawn(async move { [INFO] [stdout] | ____________________________^ [INFO] [stdout] 90 | | let payload: T = receiver2.recv().await.unwrap(); [INFO] [stdout] 91 | | [INFO] [stdout] 92 | | task::spawn_blocking(move || { [INFO] [stdout] ... | [INFO] [stdout] 96 | | }); [INFO] [stdout] 97 | | }); [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires elaborating drops for `internal::base::channel::impls::::forward_from::{closure#0}`... [INFO] [stdout] --> src/internal/base/channel/impls.rs:89:28 [INFO] [stdout] | [INFO] [stdout] 89 | task::spawn(async move { [INFO] [stdout] | ____________________________^ [INFO] [stdout] 90 | | let payload: T = receiver2.recv().await.unwrap(); [INFO] [stdout] 91 | | [INFO] [stdout] 92 | | task::spawn_blocking(move || { [INFO] [stdout] ... | [INFO] [stdout] 96 | | }); [INFO] [stdout] 97 | | }); [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires borrow-checking `internal::base::channel::impls::::forward_from::{closure#0}`... [INFO] [stdout] --> src/internal/base/channel/impls.rs:89:28 [INFO] [stdout] | [INFO] [stdout] 89 | task::spawn(async move { [INFO] [stdout] | ____________________________^ [INFO] [stdout] 90 | | let payload: T = receiver2.recv().await.unwrap(); [INFO] [stdout] 91 | | [INFO] [stdout] 92 | | task::spawn_blocking(move || { [INFO] [stdout] ... | [INFO] [stdout] 96 | | }); [INFO] [stdout] 97 | | }); [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires processing `internal::base::channel::impls::::forward_from::{closure#0}`... [INFO] [stdout] --> src/internal/base/channel/impls.rs:89:28 [INFO] [stdout] | [INFO] [stdout] 89 | task::spawn(async move { [INFO] [stdout] | ____________________________^ [INFO] [stdout] 90 | | let payload: T = receiver2.recv().await.unwrap(); [INFO] [stdout] 91 | | [INFO] [stdout] 92 | | task::spawn_blocking(move || { [INFO] [stdout] ... | [INFO] [stdout] 96 | | }); [INFO] [stdout] 97 | | }); [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires processing MIR for `internal::base::channel::impls::::forward_from::{closure#0}`... [INFO] [stdout] --> src/internal/base/channel/impls.rs:89:28 [INFO] [stdout] | [INFO] [stdout] 89 | task::spawn(async move { [INFO] [stdout] | ____________________________^ [INFO] [stdout] 90 | | let payload: T = receiver2.recv().await.unwrap(); [INFO] [stdout] 91 | | [INFO] [stdout] 92 | | task::spawn_blocking(move || { [INFO] [stdout] ... | [INFO] [stdout] 96 | | }); [INFO] [stdout] 97 | | }); [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires unsafety-checking `internal::base::channel::impls::::forward_from::{closure#0}`... [INFO] [stdout] --> src/internal/base/channel/impls.rs:89:28 [INFO] [stdout] | [INFO] [stdout] 89 | task::spawn(async move { [INFO] [stdout] | ____________________________^ [INFO] [stdout] 90 | | let payload: T = receiver2.recv().await.unwrap(); [INFO] [stdout] 91 | | [INFO] [stdout] 92 | | task::spawn_blocking(move || { [INFO] [stdout] ... | [INFO] [stdout] 96 | | }); [INFO] [stdout] 97 | | }); [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires building MIR for `internal::base::channel::impls::::forward_from::{closure#0}`... [INFO] [stdout] --> src/internal/base/channel/impls.rs:89:28 [INFO] [stdout] | [INFO] [stdout] 89 | task::spawn(async move { [INFO] [stdout] | ____________________________^ [INFO] [stdout] 90 | | let payload: T = receiver2.recv().await.unwrap(); [INFO] [stdout] 91 | | [INFO] [stdout] 92 | | task::spawn_blocking(move || { [INFO] [stdout] ... | [INFO] [stdout] 96 | | }); [INFO] [stdout] 97 | | }); [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires type-checking `internal::base::channel::impls::::forward_from::{closure#0}`... [INFO] [stdout] --> src/internal/base/channel/impls.rs:89:28 [INFO] [stdout] | [INFO] [stdout] 89 | task::spawn(async move { [INFO] [stdout] | ____________________________^ [INFO] [stdout] 90 | | let payload: T = receiver2.recv().await.unwrap(); [INFO] [stdout] 91 | | [INFO] [stdout] 92 | | task::spawn_blocking(move || { [INFO] [stdout] ... | [INFO] [stdout] 96 | | }); [INFO] [stdout] 97 | | }); [INFO] [stdout] | |_____^ [INFO] [stdout] = note: ...which again requires type-checking `internal::base::channel::impls::::forward_from`, 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 `internal::session::channel::send::fork` [INFO] [stdout] --> src/internal/session/channel/send.rs:96:1 [INFO] [stdout] | [INFO] [stdout] 96 | / pub fn fork( [INFO] [stdout] 97 | | cont1: PartialSession, [INFO] [stdout] 98 | | cont2: PartialSession, [INFO] [stdout] 99 | | ) -> PartialSession> [INFO] [stdout] ... | [INFO] [stdout] 104 | | C2: Context, [INFO] [stdout] 105 | | C1: AppendContext, [INFO] [stdout] | |________________________^ [INFO] [stdout] | [INFO] [stdout] note: ...which requires generator glue MIR for `internal::session::channel::send::fork::{closure#0}::{closure#0}`... [INFO] [stdout] --> src/internal/session/channel/send.rs:108:58 [INFO] [stdout] | [INFO] [stdout] 108 | move |ctx, (chan_sender, provider_end_b)| async move { [INFO] [stdout] | __________________________________________________________^ [INFO] [stdout] 109 | | let (ctx1, ctx2) = C1::split_context(ctx); [INFO] [stdout] 110 | | [INFO] [stdout] 111 | | let (provider_end_a, client_end_a) = A::create_endpoints(); [INFO] [stdout] ... | [INFO] [stdout] 123 | | try_join!(child1, child2).unwrap(); [INFO] [stdout] 124 | | }, [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires elaborating drops for `internal::session::channel::send::fork::{closure#0}::{closure#0}`... [INFO] [stdout] --> src/internal/session/channel/send.rs:108:58 [INFO] [stdout] | [INFO] [stdout] 108 | move |ctx, (chan_sender, provider_end_b)| async move { [INFO] [stdout] | __________________________________________________________^ [INFO] [stdout] 109 | | let (ctx1, ctx2) = C1::split_context(ctx); [INFO] [stdout] 110 | | [INFO] [stdout] 111 | | let (provider_end_a, client_end_a) = A::create_endpoints(); [INFO] [stdout] ... | [INFO] [stdout] 123 | | try_join!(child1, child2).unwrap(); [INFO] [stdout] 124 | | }, [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires borrow-checking `internal::session::channel::send::fork::{closure#0}::{closure#0}`... [INFO] [stdout] --> src/internal/session/channel/send.rs:108:58 [INFO] [stdout] | [INFO] [stdout] 108 | move |ctx, (chan_sender, provider_end_b)| async move { [INFO] [stdout] | __________________________________________________________^ [INFO] [stdout] 109 | | let (ctx1, ctx2) = C1::split_context(ctx); [INFO] [stdout] 110 | | [INFO] [stdout] 111 | | let (provider_end_a, client_end_a) = A::create_endpoints(); [INFO] [stdout] ... | [INFO] [stdout] 123 | | try_join!(child1, child2).unwrap(); [INFO] [stdout] 124 | | }, [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires processing `internal::session::channel::send::fork::{closure#0}::{closure#0}`... [INFO] [stdout] --> src/internal/session/channel/send.rs:108:58 [INFO] [stdout] | [INFO] [stdout] 108 | move |ctx, (chan_sender, provider_end_b)| async move { [INFO] [stdout] | __________________________________________________________^ [INFO] [stdout] 109 | | let (ctx1, ctx2) = C1::split_context(ctx); [INFO] [stdout] 110 | | [INFO] [stdout] 111 | | let (provider_end_a, client_end_a) = A::create_endpoints(); [INFO] [stdout] ... | [INFO] [stdout] 123 | | try_join!(child1, child2).unwrap(); [INFO] [stdout] 124 | | }, [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires processing MIR for `internal::session::channel::send::fork::{closure#0}::{closure#0}`... [INFO] [stdout] --> src/internal/session/channel/send.rs:108:58 [INFO] [stdout] | [INFO] [stdout] 108 | move |ctx, (chan_sender, provider_end_b)| async move { [INFO] [stdout] | __________________________________________________________^ [INFO] [stdout] 109 | | let (ctx1, ctx2) = C1::split_context(ctx); [INFO] [stdout] 110 | | [INFO] [stdout] 111 | | let (provider_end_a, client_end_a) = A::create_endpoints(); [INFO] [stdout] ... | [INFO] [stdout] 123 | | try_join!(child1, child2).unwrap(); [INFO] [stdout] 124 | | }, [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires unsafety-checking `internal::session::channel::send::fork::{closure#0}::{closure#0}`... [INFO] [stdout] --> src/internal/session/channel/send.rs:108:58 [INFO] [stdout] | [INFO] [stdout] 108 | move |ctx, (chan_sender, provider_end_b)| async move { [INFO] [stdout] | __________________________________________________________^ [INFO] [stdout] 109 | | let (ctx1, ctx2) = C1::split_context(ctx); [INFO] [stdout] 110 | | [INFO] [stdout] 111 | | let (provider_end_a, client_end_a) = A::create_endpoints(); [INFO] [stdout] ... | [INFO] [stdout] 123 | | try_join!(child1, child2).unwrap(); [INFO] [stdout] 124 | | }, [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires building MIR for `internal::session::channel::send::fork::{closure#0}::{closure#0}`... [INFO] [stdout] --> src/internal/session/channel/send.rs:108:58 [INFO] [stdout] | [INFO] [stdout] 108 | move |ctx, (chan_sender, provider_end_b)| async move { [INFO] [stdout] | __________________________________________________________^ [INFO] [stdout] 109 | | let (ctx1, ctx2) = C1::split_context(ctx); [INFO] [stdout] 110 | | [INFO] [stdout] 111 | | let (provider_end_a, client_end_a) = A::create_endpoints(); [INFO] [stdout] ... | [INFO] [stdout] 123 | | try_join!(child1, child2).unwrap(); [INFO] [stdout] 124 | | }, [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires type-checking `internal::session::channel::send::fork::{closure#0}::{closure#0}`... [INFO] [stdout] --> src/internal/session/channel/send.rs:108:58 [INFO] [stdout] | [INFO] [stdout] 108 | move |ctx, (chan_sender, provider_end_b)| async move { [INFO] [stdout] | __________________________________________________________^ [INFO] [stdout] 109 | | let (ctx1, ctx2) = C1::split_context(ctx); [INFO] [stdout] 110 | | [INFO] [stdout] 111 | | let (provider_end_a, client_end_a) = A::create_endpoints(); [INFO] [stdout] ... | [INFO] [stdout] 123 | | try_join!(child1, child2).unwrap(); [INFO] [stdout] 124 | | }, [INFO] [stdout] | |_____^ [INFO] [stdout] = note: ...which again requires type-checking `internal::session::channel::send::fork`, 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 `internal::base::channel::impls::::forward_to` [INFO] [stdout] --> src/internal/base/channel/impls.rs:107:3 [INFO] [stdout] | [INFO] [stdout] 107 | / fn forward_to( [INFO] [stdout] 108 | | self, [INFO] [stdout] 109 | | sender1: OpaqueSender, [INFO] [stdout] 110 | | receiver1: OpaqueReceiver, [INFO] [stdout] 111 | | ) [INFO] [stdout] | |___^ [INFO] [stdout] | [INFO] [stdout] note: ...which requires generator glue MIR for `internal::base::channel::impls::::forward_to::{closure#0}`... [INFO] [stdout] --> src/internal/base/channel/impls.rs:113:28 [INFO] [stdout] | [INFO] [stdout] 113 | task::spawn(async move { [INFO] [stdout] | ____________________________^ [INFO] [stdout] 114 | | let channel = self.recv().await.unwrap(); [INFO] [stdout] 115 | | [INFO] [stdout] 116 | | task::spawn_blocking(move || { [INFO] [stdout] ... | [INFO] [stdout] 120 | | }); [INFO] [stdout] 121 | | }); [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires elaborating drops for `internal::base::channel::impls::::forward_to::{closure#0}`... [INFO] [stdout] --> src/internal/base/channel/impls.rs:113:28 [INFO] [stdout] | [INFO] [stdout] 113 | task::spawn(async move { [INFO] [stdout] | ____________________________^ [INFO] [stdout] 114 | | let channel = self.recv().await.unwrap(); [INFO] [stdout] 115 | | [INFO] [stdout] 116 | | task::spawn_blocking(move || { [INFO] [stdout] ... | [INFO] [stdout] 120 | | }); [INFO] [stdout] 121 | | }); [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires borrow-checking `internal::base::channel::impls::::forward_to::{closure#0}`... [INFO] [stdout] --> src/internal/base/channel/impls.rs:113:28 [INFO] [stdout] | [INFO] [stdout] 113 | task::spawn(async move { [INFO] [stdout] | ____________________________^ [INFO] [stdout] 114 | | let channel = self.recv().await.unwrap(); [INFO] [stdout] 115 | | [INFO] [stdout] 116 | | task::spawn_blocking(move || { [INFO] [stdout] ... | [INFO] [stdout] 120 | | }); [INFO] [stdout] 121 | | }); [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires processing `internal::base::channel::impls::::forward_to::{closure#0}`... [INFO] [stdout] --> src/internal/base/channel/impls.rs:113:28 [INFO] [stdout] | [INFO] [stdout] 113 | task::spawn(async move { [INFO] [stdout] | ____________________________^ [INFO] [stdout] 114 | | let channel = self.recv().await.unwrap(); [INFO] [stdout] 115 | | [INFO] [stdout] 116 | | task::spawn_blocking(move || { [INFO] [stdout] ... | [INFO] [stdout] 120 | | }); [INFO] [stdout] 121 | | }); [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires processing MIR for `internal::base::channel::impls::::forward_to::{closure#0}`... [INFO] [stdout] --> src/internal/base/channel/impls.rs:113:28 [INFO] [stdout] | [INFO] [stdout] 113 | task::spawn(async move { [INFO] [stdout] | ____________________________^ [INFO] [stdout] 114 | | let channel = self.recv().await.unwrap(); [INFO] [stdout] 115 | | [INFO] [stdout] 116 | | task::spawn_blocking(move || { [INFO] [stdout] ... | [INFO] [stdout] 120 | | }); [INFO] [stdout] 121 | | }); [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires unsafety-checking `internal::base::channel::impls::::forward_to::{closure#0}`... [INFO] [stdout] --> src/internal/base/channel/impls.rs:113:28 [INFO] [stdout] | [INFO] [stdout] 113 | task::spawn(async move { [INFO] [stdout] | ____________________________^ [INFO] [stdout] 114 | | let channel = self.recv().await.unwrap(); [INFO] [stdout] 115 | | [INFO] [stdout] 116 | | task::spawn_blocking(move || { [INFO] [stdout] ... | [INFO] [stdout] 120 | | }); [INFO] [stdout] 121 | | }); [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires building MIR for `internal::base::channel::impls::::forward_to::{closure#0}`... [INFO] [stdout] --> src/internal/base/channel/impls.rs:113:28 [INFO] [stdout] | [INFO] [stdout] 113 | task::spawn(async move { [INFO] [stdout] | ____________________________^ [INFO] [stdout] 114 | | let channel = self.recv().await.unwrap(); [INFO] [stdout] 115 | | [INFO] [stdout] 116 | | task::spawn_blocking(move || { [INFO] [stdout] ... | [INFO] [stdout] 120 | | }); [INFO] [stdout] 121 | | }); [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires type-checking `internal::base::channel::impls::::forward_to::{closure#0}`... [INFO] [stdout] --> src/internal/base/channel/impls.rs:113:28 [INFO] [stdout] | [INFO] [stdout] 113 | task::spawn(async move { [INFO] [stdout] | ____________________________^ [INFO] [stdout] 114 | | let channel = self.recv().await.unwrap(); [INFO] [stdout] 115 | | [INFO] [stdout] 116 | | task::spawn_blocking(move || { [INFO] [stdout] ... | [INFO] [stdout] 120 | | }); [INFO] [stdout] 121 | | }); [INFO] [stdout] | |_____^ [INFO] [stdout] = note: ...which again requires type-checking `internal::base::channel::impls::::forward_to`, 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 `internal::session::choice::external::offer_choice::offer_choice` [INFO] [stdout] --> src/internal/session/choice/external/offer_choice.rs:32:1 [INFO] [stdout] | [INFO] [stdout] 32 | / pub fn offer_choice( [INFO] [stdout] 33 | | cont1: impl for<'r> FnOnce( [INFO] [stdout] 34 | | AppSum<'r, Row2, InjectSessionF<'r, Row1, C>>, [INFO] [stdout] 35 | | ) -> ContSum<'r, Row1, C> [INFO] [stdout] ... | [INFO] [stdout] 44 | | Row2: RowCon, [INFO] [stdout] 45 | | Row2: SumFunctor, [INFO] [stdout] | |___________________^ [INFO] [stdout] | [INFO] [stdout] note: ...which requires generator glue MIR for `internal::session::choice::external::offer_choice::offer_choice::{closure#0}::{closure#0}`... [INFO] [stdout] --> src/internal/session/choice/external/offer_choice.rs:48:44 [INFO] [stdout] | [INFO] [stdout] 48 | move |ctx, choice_receiver| async move { [INFO] [stdout] | ____________________________________________^ [INFO] [stdout] 49 | | let provider_end_sum = choice_receiver.recv().await.unwrap(); [INFO] [stdout] 50 | | [INFO] [stdout] 51 | | let cont_sum_1 = [INFO] [stdout] ... | [INFO] [stdout] 58 | | }); [INFO] [stdout] 59 | | }, [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires elaborating drops for `internal::session::choice::external::offer_choice::offer_choice::{closure#0}::{closure#0}`... [INFO] [stdout] --> src/internal/session/choice/external/offer_choice.rs:48:44 [INFO] [stdout] | [INFO] [stdout] 48 | move |ctx, choice_receiver| async move { [INFO] [stdout] | ____________________________________________^ [INFO] [stdout] 49 | | let provider_end_sum = choice_receiver.recv().await.unwrap(); [INFO] [stdout] 50 | | [INFO] [stdout] 51 | | let cont_sum_1 = [INFO] [stdout] ... | [INFO] [stdout] 58 | | }); [INFO] [stdout] 59 | | }, [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires borrow-checking `internal::session::choice::external::offer_choice::offer_choice::{closure#0}::{closure#0}`... [INFO] [stdout] --> src/internal/session/choice/external/offer_choice.rs:48:44 [INFO] [stdout] | [INFO] [stdout] 48 | move |ctx, choice_receiver| async move { [INFO] [stdout] | ____________________________________________^ [INFO] [stdout] 49 | | let provider_end_sum = choice_receiver.recv().await.unwrap(); [INFO] [stdout] 50 | | [INFO] [stdout] 51 | | let cont_sum_1 = [INFO] [stdout] ... | [INFO] [stdout] 58 | | }); [INFO] [stdout] 59 | | }, [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires processing `internal::session::choice::external::offer_choice::offer_choice::{closure#0}::{closure#0}`... [INFO] [stdout] --> src/internal/session/choice/external/offer_choice.rs:48:44 [INFO] [stdout] | [INFO] [stdout] 48 | move |ctx, choice_receiver| async move { [INFO] [stdout] | ____________________________________________^ [INFO] [stdout] 49 | | let provider_end_sum = choice_receiver.recv().await.unwrap(); [INFO] [stdout] 50 | | [INFO] [stdout] 51 | | let cont_sum_1 = [INFO] [stdout] ... | [INFO] [stdout] 58 | | }); [INFO] [stdout] 59 | | }, [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires processing MIR for `internal::session::choice::external::offer_choice::offer_choice::{closure#0}::{closure#0}`... [INFO] [stdout] --> src/internal/session/choice/external/offer_choice.rs:48:44 [INFO] [stdout] | [INFO] [stdout] 48 | move |ctx, choice_receiver| async move { [INFO] [stdout] | ____________________________________________^ [INFO] [stdout] 49 | | let provider_end_sum = choice_receiver.recv().await.unwrap(); [INFO] [stdout] 50 | | [INFO] [stdout] 51 | | let cont_sum_1 = [INFO] [stdout] ... | [INFO] [stdout] 58 | | }); [INFO] [stdout] 59 | | }, [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires unsafety-checking `internal::session::choice::external::offer_choice::offer_choice::{closure#0}::{closure#0}`... [INFO] [stdout] --> src/internal/session/choice/external/offer_choice.rs:48:44 [INFO] [stdout] | [INFO] [stdout] 48 | move |ctx, choice_receiver| async move { [INFO] [stdout] | ____________________________________________^ [INFO] [stdout] 49 | | let provider_end_sum = choice_receiver.recv().await.unwrap(); [INFO] [stdout] 50 | | [INFO] [stdout] 51 | | let cont_sum_1 = [INFO] [stdout] ... | [INFO] [stdout] 58 | | }); [INFO] [stdout] 59 | | }, [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires building MIR for `internal::session::choice::external::offer_choice::offer_choice::{closure#0}::{closure#0}`... [INFO] [stdout] --> src/internal/session/choice/external/offer_choice.rs:48:44 [INFO] [stdout] | [INFO] [stdout] 48 | move |ctx, choice_receiver| async move { [INFO] [stdout] | ____________________________________________^ [INFO] [stdout] 49 | | let provider_end_sum = choice_receiver.recv().await.unwrap(); [INFO] [stdout] 50 | | [INFO] [stdout] 51 | | let cont_sum_1 = [INFO] [stdout] ... | [INFO] [stdout] 58 | | }); [INFO] [stdout] 59 | | }, [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires type-checking `internal::session::choice::external::offer_choice::offer_choice::{closure#0}::{closure#0}`... [INFO] [stdout] --> src/internal/session/choice/external/offer_choice.rs:48:44 [INFO] [stdout] | [INFO] [stdout] 48 | move |ctx, choice_receiver| async move { [INFO] [stdout] | ____________________________________________^ [INFO] [stdout] 49 | | let provider_end_sum = choice_receiver.recv().await.unwrap(); [INFO] [stdout] 50 | | [INFO] [stdout] 51 | | let cont_sum_1 = [INFO] [stdout] ... | [INFO] [stdout] 58 | | }); [INFO] [stdout] 59 | | }, [INFO] [stdout] | |_____^ [INFO] [stdout] = note: ...which again requires type-checking `internal::session::choice::external::offer_choice::offer_choice`, 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 `internal::session::cut::cut` [INFO] [stdout] --> src/internal/session/cut.rs:188:1 [INFO] [stdout] | [INFO] [stdout] 188 | / pub fn cut( [INFO] [stdout] 189 | | cont1: PartialSession, [INFO] [stdout] 190 | | cont2: Func, [INFO] [stdout] 191 | | ) -> PartialSession [INFO] [stdout] ... | [INFO] [stdout] 199 | | C2: AppendContext<(A, ())>, [INFO] [stdout] 200 | | Func: FnOnce(C2::Length) -> PartialSession, [INFO] [stdout] | |______________________________________________________________^ [INFO] [stdout] | [INFO] [stdout] note: ...which requires generator glue MIR for `internal::session::cut::cut::{closure#0}::{closure#0}`... [INFO] [stdout] --> src/internal/session/cut.rs:204:56 [INFO] [stdout] | [INFO] [stdout] 204 | unsafe_create_session(move |ctx, sender1| async move { [INFO] [stdout] | ________________________________________________________^ [INFO] [stdout] 205 | | let (ctx1, ctx2) = X::split_endpoints(ctx); [INFO] [stdout] 206 | | [INFO] [stdout] 207 | | let (provider_end_a, client_end_a) = A::create_endpoints(); [INFO] [stdout] ... | [INFO] [stdout] 219 | | try_join!(child1, child2).unwrap(); [INFO] [stdout] 220 | | }) [INFO] [stdout] | |___^ [INFO] [stdout] note: ...which requires elaborating drops for `internal::session::cut::cut::{closure#0}::{closure#0}`... [INFO] [stdout] --> src/internal/session/cut.rs:204:56 [INFO] [stdout] | [INFO] [stdout] 204 | unsafe_create_session(move |ctx, sender1| async move { [INFO] [stdout] | ________________________________________________________^ [INFO] [stdout] 205 | | let (ctx1, ctx2) = X::split_endpoints(ctx); [INFO] [stdout] 206 | | [INFO] [stdout] 207 | | let (provider_end_a, client_end_a) = A::create_endpoints(); [INFO] [stdout] ... | [INFO] [stdout] 219 | | try_join!(child1, child2).unwrap(); [INFO] [stdout] 220 | | }) [INFO] [stdout] | |___^ [INFO] [stdout] note: ...which requires borrow-checking `internal::session::cut::cut::{closure#0}::{closure#0}`... [INFO] [stdout] --> src/internal/session/cut.rs:204:56 [INFO] [stdout] | [INFO] [stdout] 204 | unsafe_create_session(move |ctx, sender1| async move { [INFO] [stdout] | ________________________________________________________^ [INFO] [stdout] 205 | | let (ctx1, ctx2) = X::split_endpoints(ctx); [INFO] [stdout] 206 | | [INFO] [stdout] 207 | | let (provider_end_a, client_end_a) = A::create_endpoints(); [INFO] [stdout] ... | [INFO] [stdout] 219 | | try_join!(child1, child2).unwrap(); [INFO] [stdout] 220 | | }) [INFO] [stdout] | |___^ [INFO] [stdout] note: ...which requires processing `internal::session::cut::cut::{closure#0}::{closure#0}`... [INFO] [stdout] --> src/internal/session/cut.rs:204:56 [INFO] [stdout] | [INFO] [stdout] 204 | unsafe_create_session(move |ctx, sender1| async move { [INFO] [stdout] | ________________________________________________________^ [INFO] [stdout] 205 | | let (ctx1, ctx2) = X::split_endpoints(ctx); [INFO] [stdout] 206 | | [INFO] [stdout] 207 | | let (provider_end_a, client_end_a) = A::create_endpoints(); [INFO] [stdout] ... | [INFO] [stdout] 219 | | try_join!(child1, child2).unwrap(); [INFO] [stdout] 220 | | }) [INFO] [stdout] | |___^ [INFO] [stdout] note: ...which requires processing MIR for `internal::session::cut::cut::{closure#0}::{closure#0}`... [INFO] [stdout] --> src/internal/session/cut.rs:204:56 [INFO] [stdout] | [INFO] [stdout] 204 | unsafe_create_session(move |ctx, sender1| async move { [INFO] [stdout] | ________________________________________________________^ [INFO] [stdout] 205 | | let (ctx1, ctx2) = X::split_endpoints(ctx); [INFO] [stdout] 206 | | [INFO] [stdout] 207 | | let (provider_end_a, client_end_a) = A::create_endpoints(); [INFO] [stdout] ... | [INFO] [stdout] 219 | | try_join!(child1, child2).unwrap(); [INFO] [stdout] 220 | | }) [INFO] [stdout] | |___^ [INFO] [stdout] note: ...which requires unsafety-checking `internal::session::cut::cut::{closure#0}::{closure#0}`... [INFO] [stdout] --> src/internal/session/cut.rs:204:56 [INFO] [stdout] | [INFO] [stdout] 204 | unsafe_create_session(move |ctx, sender1| async move { [INFO] [stdout] | ________________________________________________________^ [INFO] [stdout] 205 | | let (ctx1, ctx2) = X::split_endpoints(ctx); [INFO] [stdout] 206 | | [INFO] [stdout] 207 | | let (provider_end_a, client_end_a) = A::create_endpoints(); [INFO] [stdout] ... | [INFO] [stdout] 219 | | try_join!(child1, child2).unwrap(); [INFO] [stdout] 220 | | }) [INFO] [stdout] | |___^ [INFO] [stdout] note: ...which requires building MIR for `internal::session::cut::cut::{closure#0}::{closure#0}`... [INFO] [stdout] --> src/internal/session/cut.rs:204:56 [INFO] [stdout] | [INFO] [stdout] 204 | unsafe_create_session(move |ctx, sender1| async move { [INFO] [stdout] | ________________________________________________________^ [INFO] [stdout] 205 | | let (ctx1, ctx2) = X::split_endpoints(ctx); [INFO] [stdout] 206 | | [INFO] [stdout] 207 | | let (provider_end_a, client_end_a) = A::create_endpoints(); [INFO] [stdout] ... | [INFO] [stdout] 219 | | try_join!(child1, child2).unwrap(); [INFO] [stdout] 220 | | }) [INFO] [stdout] | |___^ [INFO] [stdout] note: ...which requires type-checking `internal::session::cut::cut::{closure#0}::{closure#0}`... [INFO] [stdout] --> src/internal/session/cut.rs:204:56 [INFO] [stdout] | [INFO] [stdout] 204 | unsafe_create_session(move |ctx, sender1| async move { [INFO] [stdout] | ________________________________________________________^ [INFO] [stdout] 205 | | let (ctx1, ctx2) = X::split_endpoints(ctx); [INFO] [stdout] 206 | | [INFO] [stdout] 207 | | let (provider_end_a, client_end_a) = A::create_endpoints(); [INFO] [stdout] ... | [INFO] [stdout] 219 | | try_join!(child1, child2).unwrap(); [INFO] [stdout] 220 | | }) [INFO] [stdout] | |___^ [INFO] [stdout] = note: ...which again requires type-checking `internal::session::cut::cut`, 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 `internal::session::cut::cut_append` [INFO] [stdout] --> src/internal/session/cut.rs:231:1 [INFO] [stdout] | [INFO] [stdout] 231 | / pub fn cut_append( [INFO] [stdout] 232 | | cont1: PartialSession, [INFO] [stdout] 233 | | cont2: PartialSession, [INFO] [stdout] 234 | | ) -> PartialSession [INFO] [stdout] ... | [INFO] [stdout] 242 | | C1: AppendContext<(A, ()), Appended = C3>, [INFO] [stdout] 243 | | C1: AppendContext, [INFO] [stdout] | |_______________________________________^ [INFO] [stdout] | [INFO] [stdout] note: ...which requires generator glue MIR for `internal::session::cut::cut_append::{closure#0}::{closure#0}`... [INFO] [stdout] --> src/internal/session/cut.rs:245:58 [INFO] [stdout] | [INFO] [stdout] 245 | unsafe_create_session(move |ctx1, b_sender| async move { [INFO] [stdout] | __________________________________________________________^ [INFO] [stdout] 246 | | let (ctx2, ctx3) = >::split_context(ctx1); [INFO] [stdout] 247 | | [INFO] [stdout] 248 | | let (provider_end_a, client_end_a) = A::create_endpoints(); [INFO] [stdout] ... | [INFO] [stdout] 263 | | try_join!(child1, child2).unwrap(); [INFO] [stdout] 264 | | }) [INFO] [stdout] | |___^ [INFO] [stdout] note: ...which requires elaborating drops for `internal::session::cut::cut_append::{closure#0}::{closure#0}`... [INFO] [stdout] --> src/internal/session/cut.rs:245:58 [INFO] [stdout] | [INFO] [stdout] 245 | unsafe_create_session(move |ctx1, b_sender| async move { [INFO] [stdout] | __________________________________________________________^ [INFO] [stdout] 246 | | let (ctx2, ctx3) = >::split_context(ctx1); [INFO] [stdout] 247 | | [INFO] [stdout] 248 | | let (provider_end_a, client_end_a) = A::create_endpoints(); [INFO] [stdout] ... | [INFO] [stdout] 263 | | try_join!(child1, child2).unwrap(); [INFO] [stdout] 264 | | }) [INFO] [stdout] | |___^ [INFO] [stdout] note: ...which requires borrow-checking `internal::session::cut::cut_append::{closure#0}::{closure#0}`... [INFO] [stdout] --> src/internal/session/cut.rs:245:58 [INFO] [stdout] | [INFO] [stdout] 245 | unsafe_create_session(move |ctx1, b_sender| async move { [INFO] [stdout] | __________________________________________________________^ [INFO] [stdout] 246 | | let (ctx2, ctx3) = >::split_context(ctx1); [INFO] [stdout] 247 | | [INFO] [stdout] 248 | | let (provider_end_a, client_end_a) = A::create_endpoints(); [INFO] [stdout] ... | [INFO] [stdout] 263 | | try_join!(child1, child2).unwrap(); [INFO] [stdout] 264 | | }) [INFO] [stdout] | |___^ [INFO] [stdout] note: ...which requires processing `internal::session::cut::cut_append::{closure#0}::{closure#0}`... [INFO] [stdout] --> src/internal/session/cut.rs:245:58 [INFO] [stdout] | [INFO] [stdout] 245 | unsafe_create_session(move |ctx1, b_sender| async move { [INFO] [stdout] | __________________________________________________________^ [INFO] [stdout] 246 | | let (ctx2, ctx3) = >::split_context(ctx1); [INFO] [stdout] 247 | | [INFO] [stdout] 248 | | let (provider_end_a, client_end_a) = A::create_endpoints(); [INFO] [stdout] ... | [INFO] [stdout] 263 | | try_join!(child1, child2).unwrap(); [INFO] [stdout] 264 | | }) [INFO] [stdout] | |___^ [INFO] [stdout] note: ...which requires processing MIR for `internal::session::cut::cut_append::{closure#0}::{closure#0}`... [INFO] [stdout] --> src/internal/session/cut.rs:245:58 [INFO] [stdout] | [INFO] [stdout] 245 | unsafe_create_session(move |ctx1, b_sender| async move { [INFO] [stdout] | __________________________________________________________^ [INFO] [stdout] 246 | | let (ctx2, ctx3) = >::split_context(ctx1); [INFO] [stdout] 247 | | [INFO] [stdout] 248 | | let (provider_end_a, client_end_a) = A::create_endpoints(); [INFO] [stdout] ... | [INFO] [stdout] 263 | | try_join!(child1, child2).unwrap(); [INFO] [stdout] 264 | | }) [INFO] [stdout] | |___^ [INFO] [stdout] note: ...which requires unsafety-checking `internal::session::cut::cut_append::{closure#0}::{closure#0}`... [INFO] [stdout] --> src/internal/session/cut.rs:245:58 [INFO] [stdout] | [INFO] [stdout] 245 | unsafe_create_session(move |ctx1, b_sender| async move { [INFO] [stdout] | __________________________________________________________^ [INFO] [stdout] 246 | | let (ctx2, ctx3) = >::split_context(ctx1); [INFO] [stdout] 247 | | [INFO] [stdout] 248 | | let (provider_end_a, client_end_a) = A::create_endpoints(); [INFO] [stdout] ... | [INFO] [stdout] 263 | | try_join!(child1, child2).unwrap(); [INFO] [stdout] 264 | | }) [INFO] [stdout] | |___^ [INFO] [stdout] note: ...which requires building MIR for `internal::session::cut::cut_append::{closure#0}::{closure#0}`... [INFO] [stdout] --> src/internal/session/cut.rs:245:58 [INFO] [stdout] | [INFO] [stdout] 245 | unsafe_create_session(move |ctx1, b_sender| async move { [INFO] [stdout] | __________________________________________________________^ [INFO] [stdout] 246 | | let (ctx2, ctx3) = >::split_context(ctx1); [INFO] [stdout] 247 | | [INFO] [stdout] 248 | | let (provider_end_a, client_end_a) = A::create_endpoints(); [INFO] [stdout] ... | [INFO] [stdout] 263 | | try_join!(child1, child2).unwrap(); [INFO] [stdout] 264 | | }) [INFO] [stdout] | |___^ [INFO] [stdout] note: ...which requires type-checking `internal::session::cut::cut_append::{closure#0}::{closure#0}`... [INFO] [stdout] --> src/internal/session/cut.rs:245:58 [INFO] [stdout] | [INFO] [stdout] 245 | unsafe_create_session(move |ctx1, b_sender| async move { [INFO] [stdout] | __________________________________________________________^ [INFO] [stdout] 246 | | let (ctx2, ctx3) = >::split_context(ctx1); [INFO] [stdout] 247 | | [INFO] [stdout] 248 | | let (provider_end_a, client_end_a) = A::create_endpoints(); [INFO] [stdout] ... | [INFO] [stdout] 263 | | try_join!(child1, child2).unwrap(); [INFO] [stdout] 264 | | }) [INFO] [stdout] | |___^ [INFO] [stdout] = note: ...which again requires type-checking `internal::session::cut::cut_append`, 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 `internal::base::shared::serialize::serialize_shared_channel` [INFO] [stdout] --> src/internal/base/shared/serialize.rs:39:1 [INFO] [stdout] | [INFO] [stdout] 39 | / fn serialize_shared_channel( [INFO] [stdout] 40 | | channel: SharedChannel [INFO] [stdout] 41 | | ) -> SerializedSharedChannel [INFO] [stdout] 42 | | where [INFO] [stdout] 43 | | S: SharedProtocol + ForwardChannel, [INFO] [stdout] | |_____________________________________^ [INFO] [stdout] | [INFO] [stdout] note: ...which requires generator glue MIR for `internal::base::shared::serialize::serialize_shared_channel::{closure#0}`... [INFO] [stdout] --> src/internal/base/shared/serialize.rs:53:26 [INFO] [stdout] | [INFO] [stdout] 53 | task::spawn(async move { [INFO] [stdout] | __________________________^ [INFO] [stdout] 54 | | loop { [INFO] [stdout] 55 | | let receiver1 = receiver1.clone(); [INFO] [stdout] 56 | | [INFO] [stdout] ... | [INFO] [stdout] 91 | | } [INFO] [stdout] 92 | | }); [INFO] [stdout] | |___^ [INFO] [stdout] note: ...which requires elaborating drops for `internal::base::shared::serialize::serialize_shared_channel::{closure#0}`... [INFO] [stdout] --> src/internal/base/shared/serialize.rs:53:26 [INFO] [stdout] | [INFO] [stdout] 53 | task::spawn(async move { [INFO] [stdout] | __________________________^ [INFO] [stdout] 54 | | loop { [INFO] [stdout] 55 | | let receiver1 = receiver1.clone(); [INFO] [stdout] 56 | | [INFO] [stdout] ... | [INFO] [stdout] 91 | | } [INFO] [stdout] 92 | | }); [INFO] [stdout] | |___^ [INFO] [stdout] note: ...which requires borrow-checking `internal::base::shared::serialize::serialize_shared_channel::{closure#0}`... [INFO] [stdout] --> src/internal/base/shared/serialize.rs:53:26 [INFO] [stdout] | [INFO] [stdout] 53 | task::spawn(async move { [INFO] [stdout] | __________________________^ [INFO] [stdout] 54 | | loop { [INFO] [stdout] 55 | | let receiver1 = receiver1.clone(); [INFO] [stdout] 56 | | [INFO] [stdout] ... | [INFO] [stdout] 91 | | } [INFO] [stdout] 92 | | }); [INFO] [stdout] | |___^ [INFO] [stdout] note: ...which requires processing `internal::base::shared::serialize::serialize_shared_channel::{closure#0}`... [INFO] [stdout] --> src/internal/base/shared/serialize.rs:53:26 [INFO] [stdout] | [INFO] [stdout] 53 | task::spawn(async move { [INFO] [stdout] | __________________________^ [INFO] [stdout] 54 | | loop { [INFO] [stdout] 55 | | let receiver1 = receiver1.clone(); [INFO] [stdout] 56 | | [INFO] [stdout] ... | [INFO] [stdout] 91 | | } [INFO] [stdout] 92 | | }); [INFO] [stdout] | |___^ [INFO] [stdout] note: ...which requires processing MIR for `internal::base::shared::serialize::serialize_shared_channel::{closure#0}`... [INFO] [stdout] --> src/internal/base/shared/serialize.rs:53:26 [INFO] [stdout] | [INFO] [stdout] 53 | task::spawn(async move { [INFO] [stdout] | __________________________^ [INFO] [stdout] 54 | | loop { [INFO] [stdout] 55 | | let receiver1 = receiver1.clone(); [INFO] [stdout] 56 | | [INFO] [stdout] ... | [INFO] [stdout] 91 | | } [INFO] [stdout] 92 | | }); [INFO] [stdout] | |___^ [INFO] [stdout] note: ...which requires unsafety-checking `internal::base::shared::serialize::serialize_shared_channel::{closure#0}`... [INFO] [stdout] --> src/internal/base/shared/serialize.rs:53:26 [INFO] [stdout] | [INFO] [stdout] 53 | task::spawn(async move { [INFO] [stdout] | __________________________^ [INFO] [stdout] 54 | | loop { [INFO] [stdout] 55 | | let receiver1 = receiver1.clone(); [INFO] [stdout] 56 | | [INFO] [stdout] ... | [INFO] [stdout] 91 | | } [INFO] [stdout] 92 | | }); [INFO] [stdout] | |___^ [INFO] [stdout] note: ...which requires building MIR for `internal::base::shared::serialize::serialize_shared_channel::{closure#0}`... [INFO] [stdout] --> src/internal/base/shared/serialize.rs:53:26 [INFO] [stdout] | [INFO] [stdout] 53 | task::spawn(async move { [INFO] [stdout] | __________________________^ [INFO] [stdout] 54 | | loop { [INFO] [stdout] 55 | | let receiver1 = receiver1.clone(); [INFO] [stdout] 56 | | [INFO] [stdout] ... | [INFO] [stdout] 91 | | } [INFO] [stdout] 92 | | }); [INFO] [stdout] | |___^ [INFO] [stdout] note: ...which requires type-checking `internal::base::shared::serialize::serialize_shared_channel::{closure#0}`... [INFO] [stdout] --> src/internal/base/shared/serialize.rs:53:26 [INFO] [stdout] | [INFO] [stdout] 53 | task::spawn(async move { [INFO] [stdout] | __________________________^ [INFO] [stdout] 54 | | loop { [INFO] [stdout] 55 | | let receiver1 = receiver1.clone(); [INFO] [stdout] 56 | | [INFO] [stdout] ... | [INFO] [stdout] 91 | | } [INFO] [stdout] 92 | | }); [INFO] [stdout] | |___^ [INFO] [stdout] = note: ...which again requires type-checking `internal::base::shared::serialize::serialize_shared_channel`, 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 `internal::base::shared::serialize::deserialize_shared_channel` [INFO] [stdout] --> src/internal/base/shared/serialize.rs:103:1 [INFO] [stdout] | [INFO] [stdout] 103 | / fn deserialize_shared_channel( [INFO] [stdout] 104 | | channel: SerializedSharedChannel [INFO] [stdout] 105 | | ) -> SharedChannel [INFO] [stdout] 106 | | where [INFO] [stdout] 107 | | S: SharedProtocol + ForwardChannel + Send, [INFO] [stdout] | |____________________________________________^ [INFO] [stdout] | [INFO] [stdout] note: ...which requires generator glue MIR for `internal::base::shared::serialize::deserialize_shared_channel::{closure#0}`... [INFO] [stdout] --> src/internal/base/shared/serialize.rs:111:26 [INFO] [stdout] | [INFO] [stdout] 111 | task::spawn(async move { [INFO] [stdout] | __________________________^ [INFO] [stdout] 112 | | while let Some((sender2, sender3)) = receiver1.recv().await { [INFO] [stdout] 113 | | debug!("[deserialize_shared_channel] acquiring remote shared channel"); [INFO] [stdout] 114 | | [INFO] [stdout] ... | [INFO] [stdout] 132 | | } [INFO] [stdout] 133 | | }); [INFO] [stdout] | |___^ [INFO] [stdout] note: ...which requires elaborating drops for `internal::base::shared::serialize::deserialize_shared_channel::{closure#0}`... [INFO] [stdout] --> src/internal/base/shared/serialize.rs:111:26 [INFO] [stdout] | [INFO] [stdout] 111 | task::spawn(async move { [INFO] [stdout] | __________________________^ [INFO] [stdout] 112 | | while let Some((sender2, sender3)) = receiver1.recv().await { [INFO] [stdout] 113 | | debug!("[deserialize_shared_channel] acquiring remote shared channel"); [INFO] [stdout] 114 | | [INFO] [stdout] ... | [INFO] [stdout] 132 | | } [INFO] [stdout] 133 | | }); [INFO] [stdout] | |___^ [INFO] [stdout] note: ...which requires borrow-checking `internal::base::shared::serialize::deserialize_shared_channel::{closure#0}`... [INFO] [stdout] --> src/internal/base/shared/serialize.rs:111:26 [INFO] [stdout] | [INFO] [stdout] 111 | task::spawn(async move { [INFO] [stdout] | __________________________^ [INFO] [stdout] 112 | | while let Some((sender2, sender3)) = receiver1.recv().await { [INFO] [stdout] 113 | | debug!("[deserialize_shared_channel] acquiring remote shared channel"); [INFO] [stdout] 114 | | [INFO] [stdout] ... | [INFO] [stdout] 132 | | } [INFO] [stdout] 133 | | }); [INFO] [stdout] | |___^ [INFO] [stdout] note: ...which requires processing `internal::base::shared::serialize::deserialize_shared_channel::{closure#0}`... [INFO] [stdout] --> src/internal/base/shared/serialize.rs:111:26 [INFO] [stdout] | [INFO] [stdout] 111 | task::spawn(async move { [INFO] [stdout] | __________________________^ [INFO] [stdout] 112 | | while let Some((sender2, sender3)) = receiver1.recv().await { [INFO] [stdout] 113 | | debug!("[deserialize_shared_channel] acquiring remote shared channel"); [INFO] [stdout] 114 | | [INFO] [stdout] ... | [INFO] [stdout] 132 | | } [INFO] [stdout] 133 | | }); [INFO] [stdout] | |___^ [INFO] [stdout] note: ...which requires processing MIR for `internal::base::shared::serialize::deserialize_shared_channel::{closure#0}`... [INFO] [stdout] --> src/internal/base/shared/serialize.rs:111:26 [INFO] [stdout] | [INFO] [stdout] 111 | task::spawn(async move { [INFO] [stdout] | __________________________^ [INFO] [stdout] 112 | | while let Some((sender2, sender3)) = receiver1.recv().await { [INFO] [stdout] 113 | | debug!("[deserialize_shared_channel] acquiring remote shared channel"); [INFO] [stdout] 114 | | [INFO] [stdout] ... | [INFO] [stdout] 132 | | } [INFO] [stdout] 133 | | }); [INFO] [stdout] | |___^ [INFO] [stdout] note: ...which requires unsafety-checking `internal::base::shared::serialize::deserialize_shared_channel::{closure#0}`... [INFO] [stdout] --> src/internal/base/shared/serialize.rs:111:26 [INFO] [stdout] | [INFO] [stdout] 111 | task::spawn(async move { [INFO] [stdout] | __________________________^ [INFO] [stdout] 112 | | while let Some((sender2, sender3)) = receiver1.recv().await { [INFO] [stdout] 113 | | debug!("[deserialize_shared_channel] acquiring remote shared channel"); [INFO] [stdout] 114 | | [INFO] [stdout] ... | [INFO] [stdout] 132 | | } [INFO] [stdout] 133 | | }); [INFO] [stdout] | |___^ [INFO] [stdout] note: ...which requires building MIR for `internal::base::shared::serialize::deserialize_shared_channel::{closure#0}`... [INFO] [stdout] --> src/internal/base/shared/serialize.rs:111:26 [INFO] [stdout] | [INFO] [stdout] 111 | task::spawn(async move { [INFO] [stdout] | __________________________^ [INFO] [stdout] 112 | | while let Some((sender2, sender3)) = receiver1.recv().await { [INFO] [stdout] 113 | | debug!("[deserialize_shared_channel] acquiring remote shared channel"); [INFO] [stdout] 114 | | [INFO] [stdout] ... | [INFO] [stdout] 132 | | } [INFO] [stdout] 133 | | }); [INFO] [stdout] | |___^ [INFO] [stdout] note: ...which requires type-checking `internal::base::shared::serialize::deserialize_shared_channel::{closure#0}`... [INFO] [stdout] --> src/internal/base/shared/serialize.rs:111:26 [INFO] [stdout] | [INFO] [stdout] 111 | task::spawn(async move { [INFO] [stdout] | __________________________^ [INFO] [stdout] 112 | | while let Some((sender2, sender3)) = receiver1.recv().await { [INFO] [stdout] 113 | | debug!("[deserialize_shared_channel] acquiring remote shared channel"); [INFO] [stdout] 114 | | [INFO] [stdout] ... | [INFO] [stdout] 132 | | } [INFO] [stdout] 133 | | }); [INFO] [stdout] | |___^ [INFO] [stdout] = note: ...which again requires type-checking `internal::base::shared::serialize::deserialize_shared_channel`, completing the cycle [INFO] [stdout] = note: cycle used when type-checking all item bodies [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 8 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0391`. [INFO] [stdout] [INFO] [stdout] error[E0391]: cycle detected when type-checking `internal::session::channel::send::fork` [INFO] [stdout] --> src/internal/session/channel/send.rs:96:1 [INFO] [stdout] | [INFO] [stdout] 96 | / pub fn fork( [INFO] [stdout] 97 | | cont1: PartialSession, [INFO] [stdout] 98 | | cont2: PartialSession, [INFO] [stdout] 99 | | ) -> PartialSession> [INFO] [stdout] ... | [INFO] [stdout] 104 | | C2: Context, [INFO] [stdout] 105 | | C1: AppendContext, [INFO] [stdout] | |________________________^ [INFO] [stdout] | [INFO] [stdout] note: ...which requires generator glue MIR for `internal::session::channel::send::fork::{closure#0}::{closure#0}`... [INFO] [stdout] --> src/internal/session/channel/send.rs:108:58 [INFO] [stdout] | [INFO] [stdout] 108 | move |ctx, (chan_sender, provider_end_b)| async move { [INFO] [stdout] | __________________________________________________________^ [INFO] [stdout] 109 | | let (ctx1, ctx2) = C1::split_context(ctx); [INFO] [stdout] 110 | | [INFO] [stdout] 111 | | let (provider_end_a, client_end_a) = A::create_endpoints(); [INFO] [stdout] ... | [INFO] [stdout] 123 | | try_join!(child1, child2).unwrap(); [INFO] [stdout] 124 | | }, [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires elaborating drops for `internal::session::channel::send::fork::{closure#0}::{closure#0}`... [INFO] [stdout] --> src/internal/session/channel/send.rs:108:58 [INFO] [stdout] | [INFO] [stdout] 108 | move |ctx, (chan_sender, provider_end_b)| async move { [INFO] [stdout] | __________________________________________________________^ [INFO] [stdout] 109 | | let (ctx1, ctx2) = C1::split_context(ctx); [INFO] [stdout] 110 | | [INFO] [stdout] 111 | | let (provider_end_a, client_end_a) = A::create_endpoints(); [INFO] [stdout] ... | [INFO] [stdout] 123 | | try_join!(child1, child2).unwrap(); [INFO] [stdout] 124 | | }, [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires borrow-checking `internal::session::channel::send::fork::{closure#0}::{closure#0}`... [INFO] [stdout] --> src/internal/session/channel/send.rs:108:58 [INFO] [stdout] | [INFO] [stdout] 108 | move |ctx, (chan_sender, provider_end_b)| async move { [INFO] [stdout] | __________________________________________________________^ [INFO] [stdout] 109 | | let (ctx1, ctx2) = C1::split_context(ctx); [INFO] [stdout] 110 | | [INFO] [stdout] 111 | | let (provider_end_a, client_end_a) = A::create_endpoints(); [INFO] [stdout] ... | [INFO] [stdout] 123 | | try_join!(child1, child2).unwrap(); [INFO] [stdout] 124 | | }, [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires processing `internal::session::channel::send::fork::{closure#0}::{closure#0}`... [INFO] [stdout] --> src/internal/session/channel/send.rs:108:58 [INFO] [stdout] | [INFO] [stdout] 108 | move |ctx, (chan_sender, provider_end_b)| async move { [INFO] [stdout] | __________________________________________________________^ [INFO] [stdout] 109 | | let (ctx1, ctx2) = C1::split_context(ctx); [INFO] [stdout] 110 | | [INFO] [stdout] 111 | | let (provider_end_a, client_end_a) = A::create_endpoints(); [INFO] [stdout] ... | [INFO] [stdout] 123 | | try_join!(child1, child2).unwrap(); [INFO] [stdout] 124 | | }, [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires processing MIR for `internal::session::channel::send::fork::{closure#0}::{closure#0}`... [INFO] [stdout] --> src/internal/session/channel/send.rs:108:58 [INFO] [stdout] | [INFO] [stdout] 108 | move |ctx, (chan_sender, provider_end_b)| async move { [INFO] [stdout] | __________________________________________________________^ [INFO] [stdout] 109 | | let (ctx1, ctx2) = C1::split_context(ctx); [INFO] [stdout] 110 | | [INFO] [stdout] 111 | | let (provider_end_a, client_end_a) = A::create_endpoints(); [INFO] [stdout] ... | [INFO] [stdout] 123 | | try_join!(child1, child2).unwrap(); [INFO] [stdout] 124 | | }, [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires unsafety-checking `internal::session::channel::send::fork::{closure#0}::{closure#0}`... [INFO] [stdout] --> src/internal/session/channel/send.rs:108:58 [INFO] [stdout] | [INFO] [stdout] 108 | move |ctx, (chan_sender, provider_end_b)| async move { [INFO] [stdout] | __________________________________________________________^ [INFO] [stdout] 109 | | let (ctx1, ctx2) = C1::split_context(ctx); [INFO] [stdout] 110 | | [INFO] [stdout] 111 | | let (provider_end_a, client_end_a) = A::create_endpoints(); [INFO] [stdout] ... | [INFO] [stdout] 123 | | try_join!(child1, child2).unwrap(); [INFO] [stdout] 124 | | }, [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires building MIR for `internal::session::channel::send::fork::{closure#0}::{closure#0}`... [INFO] [stdout] --> src/internal/session/channel/send.rs:108:58 [INFO] [stdout] | [INFO] [stdout] 108 | move |ctx, (chan_sender, provider_end_b)| async move { [INFO] [stdout] | __________________________________________________________^ [INFO] [stdout] 109 | | let (ctx1, ctx2) = C1::split_context(ctx); [INFO] [stdout] 110 | | [INFO] [stdout] 111 | | let (provider_end_a, client_end_a) = A::create_endpoints(); [INFO] [stdout] ... | [INFO] [stdout] 123 | | try_join!(child1, child2).unwrap(); [INFO] [stdout] 124 | | }, [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires type-checking `internal::session::channel::send::fork::{closure#0}::{closure#0}`... [INFO] [stdout] --> src/internal/session/channel/send.rs:108:58 [INFO] [stdout] | [INFO] [stdout] 108 | move |ctx, (chan_sender, provider_end_b)| async move { [INFO] [stdout] | __________________________________________________________^ [INFO] [stdout] 109 | | let (ctx1, ctx2) = C1::split_context(ctx); [INFO] [stdout] 110 | | [INFO] [stdout] 111 | | let (provider_end_a, client_end_a) = A::create_endpoints(); [INFO] [stdout] ... | [INFO] [stdout] 123 | | try_join!(child1, child2).unwrap(); [INFO] [stdout] 124 | | }, [INFO] [stdout] | |_____^ [INFO] [stdout] = note: ...which again requires type-checking `internal::session::channel::send::fork`, 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 `internal::session::choice::external::offer_choice::offer_choice` [INFO] [stdout] --> src/internal/session/choice/external/offer_choice.rs:32:1 [INFO] [stdout] | [INFO] [stdout] 32 | / pub fn offer_choice( [INFO] [stdout] 33 | | cont1: impl for<'r> FnOnce( [INFO] [stdout] 34 | | AppSum<'r, Row2, InjectSessionF<'r, Row1, C>>, [INFO] [stdout] 35 | | ) -> ContSum<'r, Row1, C> [INFO] [stdout] ... | [INFO] [stdout] 44 | | Row2: RowCon, [INFO] [stdout] 45 | | Row2: SumFunctor, [INFO] [stdout] | |___________________^ [INFO] [stdout] | [INFO] [stdout] note: ...which requires generator glue MIR for `internal::session::choice::external::offer_choice::offer_choice::{closure#0}::{closure#0}`... [INFO] [stdout] --> src/internal/session/choice/external/offer_choice.rs:48:44 [INFO] [stdout] | [INFO] [stdout] 48 | move |ctx, choice_receiver| async move { [INFO] [stdout] | ____________________________________________^ [INFO] [stdout] 49 | | let provider_end_sum = choice_receiver.recv().await.unwrap(); [INFO] [stdout] 50 | | [INFO] [stdout] 51 | | let cont_sum_1 = [INFO] [stdout] ... | [INFO] [stdout] 58 | | }); [INFO] [stdout] 59 | | }, [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires elaborating drops for `internal::session::choice::external::offer_choice::offer_choice::{closure#0}::{closure#0}`... [INFO] [stdout] --> src/internal/session/choice/external/offer_choice.rs:48:44 [INFO] [stdout] | [INFO] [stdout] 48 | move |ctx, choice_receiver| async move { [INFO] [stdout] | ____________________________________________^ [INFO] [stdout] 49 | | let provider_end_sum = choice_receiver.recv().await.unwrap(); [INFO] [stdout] 50 | | [INFO] [stdout] 51 | | let cont_sum_1 = [INFO] [stdout] ... | [INFO] [stdout] 58 | | }); [INFO] [stdout] 59 | | }, [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires borrow-checking `internal::session::choice::external::offer_choice::offer_choice::{closure#0}::{closure#0}`... [INFO] [stdout] --> src/internal/session/choice/external/offer_choice.rs:48:44 [INFO] [stdout] | [INFO] [stdout] 48 | move |ctx, choice_receiver| async move { [INFO] [stdout] | ____________________________________________^ [INFO] [stdout] 49 | | let provider_end_sum = choice_receiver.recv().await.unwrap(); [INFO] [stdout] 50 | | [INFO] [stdout] 51 | | let cont_sum_1 = [INFO] [stdout] ... | [INFO] [stdout] 58 | | }); [INFO] [stdout] 59 | | }, [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires processing `internal::session::choice::external::offer_choice::offer_choice::{closure#0}::{closure#0}`... [INFO] [stdout] --> src/internal/session/choice/external/offer_choice.rs:48:44 [INFO] [stdout] | [INFO] [stdout] 48 | move |ctx, choice_receiver| async move { [INFO] [stdout] | ____________________________________________^ [INFO] [stdout] 49 | | let provider_end_sum = choice_receiver.recv().await.unwrap(); [INFO] [stdout] 50 | | [INFO] [stdout] 51 | | let cont_sum_1 = [INFO] [stdout] ... | [INFO] [stdout] 58 | | }); [INFO] [stdout] 59 | | }, [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires processing MIR for `internal::session::choice::external::offer_choice::offer_choice::{closure#0}::{closure#0}`... [INFO] [stdout] --> src/internal/session/choice/external/offer_choice.rs:48:44 [INFO] [stdout] | [INFO] [stdout] 48 | move |ctx, choice_receiver| async move { [INFO] [stdout] | ____________________________________________^ [INFO] [stdout] 49 | | let provider_end_sum = choice_receiver.recv().await.unwrap(); [INFO] [stdout] 50 | | [INFO] [stdout] 51 | | let cont_sum_1 = [INFO] [stdout] ... | [INFO] [stdout] 58 | | }); [INFO] [stdout] 59 | | }, [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires unsafety-checking `internal::session::choice::external::offer_choice::offer_choice::{closure#0}::{closure#0}`... [INFO] [stdout] --> src/internal/session/choice/external/offer_choice.rs:48:44 [INFO] [stdout] | [INFO] [stdout] 48 | move |ctx, choice_receiver| async move { [INFO] [stdout] | ____________________________________________^ [INFO] [stdout] 49 | | let provider_end_sum = choice_receiver.recv().await.unwrap(); [INFO] [stdout] 50 | | [INFO] [stdout] 51 | | let cont_sum_1 = [INFO] [stdout] ... | [INFO] [stdout] 58 | | }); [INFO] [stdout] 59 | | }, [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires building MIR for `internal::session::choice::external::offer_choice::offer_choice::{closure#0}::{closure#0}`... [INFO] [stdout] --> src/internal/session/choice/external/offer_choice.rs:48:44 [INFO] [stdout] | [INFO] [stdout] 48 | move |ctx, choice_receiver| async move { [INFO] [stdout] | ____________________________________________^ [INFO] [stdout] 49 | | let provider_end_sum = choice_receiver.recv().await.unwrap(); [INFO] [stdout] 50 | | [INFO] [stdout] 51 | | let cont_sum_1 = [INFO] [stdout] ... | [INFO] [stdout] 58 | | }); [INFO] [stdout] 59 | | }, [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires type-checking `internal::session::choice::external::offer_choice::offer_choice::{closure#0}::{closure#0}`... [INFO] [stdout] --> src/internal/session/choice/external/offer_choice.rs:48:44 [INFO] [stdout] | [INFO] [stdout] 48 | move |ctx, choice_receiver| async move { [INFO] [stdout] | ____________________________________________^ [INFO] [stdout] 49 | | let provider_end_sum = choice_receiver.recv().await.unwrap(); [INFO] [stdout] 50 | | [INFO] [stdout] 51 | | let cont_sum_1 = [INFO] [stdout] ... | [INFO] [stdout] 58 | | }); [INFO] [stdout] 59 | | }, [INFO] [stdout] | |_____^ [INFO] [stdout] = note: ...which again requires type-checking `internal::session::choice::external::offer_choice::offer_choice`, completing the cycle [INFO] [stdout] = note: cycle used when type-checking all item bodies [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `ferrite-session` due to 9 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0391]: cycle detected when type-checking `internal::session::cut::cut` [INFO] [stdout] --> src/internal/session/cut.rs:188:1 [INFO] [stdout] | [INFO] [stdout] 188 | / pub fn cut( [INFO] [stdout] 189 | | cont1: PartialSession, [INFO] [stdout] 190 | | cont2: Func, [INFO] [stdout] 191 | | ) -> PartialSession [INFO] [stdout] ... | [INFO] [stdout] 199 | | C2: AppendContext<(A, ())>, [INFO] [stdout] 200 | | Func: FnOnce(C2::Length) -> PartialSession, [INFO] [stdout] | |______________________________________________________________^ [INFO] [stdout] | [INFO] [stdout] note: ...which requires generator glue MIR for `internal::session::cut::cut::{closure#0}::{closure#0}`... [INFO] [stdout] --> src/internal/session/cut.rs:204:56 [INFO] [stdout] | [INFO] [stdout] 204 | unsafe_create_session(move |ctx, sender1| async move { [INFO] [stdout] | ________________________________________________________^ [INFO] [stdout] 205 | | let (ctx1, ctx2) = X::split_endpoints(ctx); [INFO] [stdout] 206 | | [INFO] [stdout] 207 | | let (provider_end_a, client_end_a) = A::create_endpoints(); [INFO] [stdout] ... | [INFO] [stdout] 219 | | try_join!(child1, child2).unwrap(); [INFO] [stdout] 220 | | }) [INFO] [stdout] | |___^ [INFO] [stdout] note: ...which requires elaborating drops for `internal::session::cut::cut::{closure#0}::{closure#0}`... [INFO] [stdout] --> src/internal/session/cut.rs:204:56 [INFO] [stdout] | [INFO] [stdout] 204 | unsafe_create_session(move |ctx, sender1| async move { [INFO] [stdout] | ________________________________________________________^ [INFO] [stdout] 205 | | let (ctx1, ctx2) = X::split_endpoints(ctx); [INFO] [stdout] 206 | | [INFO] [stdout] 207 | | let (provider_end_a, client_end_a) = A::create_endpoints(); [INFO] [stdout] ... | [INFO] [stdout] 219 | | try_join!(child1, child2).unwrap(); [INFO] [stdout] 220 | | }) [INFO] [stdout] | |___^ [INFO] [stdout] note: ...which requires borrow-checking `internal::session::cut::cut::{closure#0}::{closure#0}`... [INFO] [stdout] --> src/internal/session/cut.rs:204:56 [INFO] [stdout] | [INFO] [stdout] 204 | unsafe_create_session(move |ctx, sender1| async move { [INFO] [stdout] | ________________________________________________________^ [INFO] [stdout] 205 | | let (ctx1, ctx2) = X::split_endpoints(ctx); [INFO] [stdout] 206 | | [INFO] [stdout] 207 | | let (provider_end_a, client_end_a) = A::create_endpoints(); [INFO] [stdout] ... | [INFO] [stdout] 219 | | try_join!(child1, child2).unwrap(); [INFO] [stdout] 220 | | }) [INFO] [stdout] | |___^ [INFO] [stdout] note: ...which requires processing `internal::session::cut::cut::{closure#0}::{closure#0}`... [INFO] [stdout] --> src/internal/session/cut.rs:204:56 [INFO] [stdout] | [INFO] [stdout] 204 | unsafe_create_session(move |ctx, sender1| async move { [INFO] [stdout] | ________________________________________________________^ [INFO] [stdout] 205 | | let (ctx1, ctx2) = X::split_endpoints(ctx); [INFO] [stdout] 206 | | [INFO] [stdout] 207 | | let (provider_end_a, client_end_a) = A::create_endpoints(); [INFO] [stdout] ... | [INFO] [stdout] 219 | | try_join!(child1, child2).unwrap(); [INFO] [stdout] 220 | | }) [INFO] [stdout] | |___^ [INFO] [stdout] note: ...which requires processing MIR for `internal::session::cut::cut::{closure#0}::{closure#0}`... [INFO] [stdout] --> src/internal/session/cut.rs:204:56 [INFO] [stdout] | [INFO] [stdout] 204 | unsafe_create_session(move |ctx, sender1| async move { [INFO] [stdout] | ________________________________________________________^ [INFO] [stdout] 205 | | let (ctx1, ctx2) = X::split_endpoints(ctx); [INFO] [stdout] 206 | | [INFO] [stdout] 207 | | let (provider_end_a, client_end_a) = A::create_endpoints(); [INFO] [stdout] ... | [INFO] [stdout] 219 | | try_join!(child1, child2).unwrap(); [INFO] [stdout] 220 | | }) [INFO] [stdout] | |___^ [INFO] [stdout] note: ...which requires unsafety-checking `internal::session::cut::cut::{closure#0}::{closure#0}`... [INFO] [stdout] --> src/internal/session/cut.rs:204:56 [INFO] [stdout] | [INFO] [stdout] 204 | unsafe_create_session(move |ctx, sender1| async move { [INFO] [stdout] | ________________________________________________________^ [INFO] [stdout] 205 | | let (ctx1, ctx2) = X::split_endpoints(ctx); [INFO] [stdout] 206 | | [INFO] [stdout] 207 | | let (provider_end_a, client_end_a) = A::create_endpoints(); [INFO] [stdout] ... | [INFO] [stdout] 219 | | try_join!(child1, child2).unwrap(); [INFO] [stdout] 220 | | }) [INFO] [stdout] | |___^ [INFO] [stdout] note: ...which requires building MIR for `internal::session::cut::cut::{closure#0}::{closure#0}`... [INFO] [stdout] --> src/internal/session/cut.rs:204:56 [INFO] [stdout] | [INFO] [stdout] 204 | unsafe_create_session(move |ctx, sender1| async move { [INFO] [stdout] | ________________________________________________________^ [INFO] [stdout] 205 | | let (ctx1, ctx2) = X::split_endpoints(ctx); [INFO] [stdout] 206 | | [INFO] [stdout] 207 | | let (provider_end_a, client_end_a) = A::create_endpoints(); [INFO] [stdout] ... | [INFO] [stdout] 219 | | try_join!(child1, child2).unwrap(); [INFO] [stdout] 220 | | }) [INFO] [stdout] | |___^ [INFO] [stdout] note: ...which requires type-checking `internal::session::cut::cut::{closure#0}::{closure#0}`... [INFO] [stdout] --> src/internal/session/cut.rs:204:56 [INFO] [stdout] | [INFO] [stdout] 204 | unsafe_create_session(move |ctx, sender1| async move { [INFO] [stdout] | ________________________________________________________^ [INFO] [stdout] 205 | | let (ctx1, ctx2) = X::split_endpoints(ctx); [INFO] [stdout] 206 | | [INFO] [stdout] 207 | | let (provider_end_a, client_end_a) = A::create_endpoints(); [INFO] [stdout] ... | [INFO] [stdout] 219 | | try_join!(child1, child2).unwrap(); [INFO] [stdout] 220 | | }) [INFO] [stdout] | |___^ [INFO] [stdout] = note: ...which again requires type-checking `internal::session::cut::cut`, 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 `internal::session::cut::cut_append` [INFO] [stdout] --> src/internal/session/cut.rs:231:1 [INFO] [stdout] | [INFO] [stdout] 231 | / pub fn cut_append( [INFO] [stdout] 232 | | cont1: PartialSession, [INFO] [stdout] 233 | | cont2: PartialSession, [INFO] [stdout] 234 | | ) -> PartialSession [INFO] [stdout] ... | [INFO] [stdout] 242 | | C1: AppendContext<(A, ()), Appended = C3>, [INFO] [stdout] 243 | | C1: AppendContext, [INFO] [stdout] | |_______________________________________^ [INFO] [stdout] | [INFO] [stdout] note: ...which requires generator glue MIR for `internal::session::cut::cut_append::{closure#0}::{closure#0}`... [INFO] [stdout] --> src/internal/session/cut.rs:245:58 [INFO] [stdout] | [INFO] [stdout] 245 | unsafe_create_session(move |ctx1, b_sender| async move { [INFO] [stdout] | __________________________________________________________^ [INFO] [stdout] 246 | | let (ctx2, ctx3) = >::split_context(ctx1); [INFO] [stdout] 247 | | [INFO] [stdout] 248 | | let (provider_end_a, client_end_a) = A::create_endpoints(); [INFO] [stdout] ... | [INFO] [stdout] 263 | | try_join!(child1, child2).unwrap(); [INFO] [stdout] 264 | | }) [INFO] [stdout] | |___^ [INFO] [stdout] note: ...which requires elaborating drops for `internal::session::cut::cut_append::{closure#0}::{closure#0}`... [INFO] [stdout] --> src/internal/session/cut.rs:245:58 [INFO] [stdout] | [INFO] [stdout] 245 | unsafe_create_session(move |ctx1, b_sender| async move { [INFO] [stdout] | __________________________________________________________^ [INFO] [stdout] 246 | | let (ctx2, ctx3) = >::split_context(ctx1); [INFO] [stdout] 247 | | [INFO] [stdout] 248 | | let (provider_end_a, client_end_a) = A::create_endpoints(); [INFO] [stdout] ... | [INFO] [stdout] 263 | | try_join!(child1, child2).unwrap(); [INFO] [stdout] 264 | | }) [INFO] [stdout] | |___^ [INFO] [stdout] note: ...which requires borrow-checking `internal::session::cut::cut_append::{closure#0}::{closure#0}`... [INFO] [stdout] --> src/internal/session/cut.rs:245:58 [INFO] [stdout] | [INFO] [stdout] 245 | unsafe_create_session(move |ctx1, b_sender| async move { [INFO] [stdout] | __________________________________________________________^ [INFO] [stdout] 246 | | let (ctx2, ctx3) = >::split_context(ctx1); [INFO] [stdout] 247 | | [INFO] [stdout] 248 | | let (provider_end_a, client_end_a) = A::create_endpoints(); [INFO] [stdout] ... | [INFO] [stdout] 263 | | try_join!(child1, child2).unwrap(); [INFO] [stdout] 264 | | }) [INFO] [stdout] | |___^ [INFO] [stdout] note: ...which requires processing `internal::session::cut::cut_append::{closure#0}::{closure#0}`... [INFO] [stdout] --> src/internal/session/cut.rs:245:58 [INFO] [stdout] | [INFO] [stdout] 245 | unsafe_create_session(move |ctx1, b_sender| async move { [INFO] [stdout] | __________________________________________________________^ [INFO] [stdout] 246 | | let (ctx2, ctx3) = >::split_context(ctx1); [INFO] [stdout] 247 | | [INFO] [stdout] 248 | | let (provider_end_a, client_end_a) = A::create_endpoints(); [INFO] [stdout] ... | [INFO] [stdout] 263 | | try_join!(child1, child2).unwrap(); [INFO] [stdout] 264 | | }) [INFO] [stdout] | |___^ [INFO] [stdout] note: ...which requires processing MIR for `internal::session::cut::cut_append::{closure#0}::{closure#0}`... [INFO] [stdout] --> src/internal/session/cut.rs:245:58 [INFO] [stdout] | [INFO] [stdout] 245 | unsafe_create_session(move |ctx1, b_sender| async move { [INFO] [stdout] | __________________________________________________________^ [INFO] [stdout] 246 | | let (ctx2, ctx3) = >::split_context(ctx1); [INFO] [stdout] 247 | | [INFO] [stdout] 248 | | let (provider_end_a, client_end_a) = A::create_endpoints(); [INFO] [stdout] ... | [INFO] [stdout] 263 | | try_join!(child1, child2).unwrap(); [INFO] [stdout] 264 | | }) [INFO] [stdout] | |___^ [INFO] [stdout] note: ...which requires unsafety-checking `internal::session::cut::cut_append::{closure#0}::{closure#0}`... [INFO] [stdout] --> src/internal/session/cut.rs:245:58 [INFO] [stdout] | [INFO] [stdout] 245 | unsafe_create_session(move |ctx1, b_sender| async move { [INFO] [stdout] | __________________________________________________________^ [INFO] [stdout] 246 | | let (ctx2, ctx3) = >::split_context(ctx1); [INFO] [stdout] 247 | | [INFO] [stdout] 248 | | let (provider_end_a, client_end_a) = A::create_endpoints(); [INFO] [stdout] ... | [INFO] [stdout] 263 | | try_join!(child1, child2).unwrap(); [INFO] [stdout] 264 | | }) [INFO] [stdout] | |___^ [INFO] [stdout] note: ...which requires building MIR for `internal::session::cut::cut_append::{closure#0}::{closure#0}`... [INFO] [stdout] --> src/internal/session/cut.rs:245:58 [INFO] [stdout] | [INFO] [stdout] 245 | unsafe_create_session(move |ctx1, b_sender| async move { [INFO] [stdout] | __________________________________________________________^ [INFO] [stdout] 246 | | let (ctx2, ctx3) = >::split_context(ctx1); [INFO] [stdout] 247 | | [INFO] [stdout] 248 | | let (provider_end_a, client_end_a) = A::create_endpoints(); [INFO] [stdout] ... | [INFO] [stdout] 263 | | try_join!(child1, child2).unwrap(); [INFO] [stdout] 264 | | }) [INFO] [stdout] | |___^ [INFO] [stdout] note: ...which requires type-checking `internal::session::cut::cut_append::{closure#0}::{closure#0}`... [INFO] [stdout] --> src/internal/session/cut.rs:245:58 [INFO] [stdout] | [INFO] [stdout] 245 | unsafe_create_session(move |ctx1, b_sender| async move { [INFO] [stdout] | __________________________________________________________^ [INFO] [stdout] 246 | | let (ctx2, ctx3) = >::split_context(ctx1); [INFO] [stdout] 247 | | [INFO] [stdout] 248 | | let (provider_end_a, client_end_a) = A::create_endpoints(); [INFO] [stdout] ... | [INFO] [stdout] 263 | | try_join!(child1, child2).unwrap(); [INFO] [stdout] 264 | | }) [INFO] [stdout] | |___^ [INFO] [stdout] = note: ...which again requires type-checking `internal::session::cut::cut_append`, completing the cycle [INFO] [stdout] = note: cycle used when type-checking all item bodies [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 8 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 `ferrite-session` due to 9 previous errors [INFO] running `Command { std: "docker" "inspect" "b8eeed891aa56276b60d44e93f6f10e44ca7c1892dd0a6a3fd2d177a07b6d1b1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b8eeed891aa56276b60d44e93f6f10e44ca7c1892dd0a6a3fd2d177a07b6d1b1", kill_on_drop: false }` [INFO] [stdout] b8eeed891aa56276b60d44e93f6f10e44ca7c1892dd0a6a3fd2d177a07b6d1b1