[INFO] cloning repository https://github.com/iwanders/ws_bridge_rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/iwanders/ws_bridge_rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fiwanders%2Fws_bridge_rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fiwanders%2Fws_bridge_rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 5bc98ab162de8fbad539613d4196c6aeb97ea0f7 [INFO] checking iwanders/ws_bridge_rs against try#8ea250bdb76176ecb0225baa34aa634b024ae0e2 for pr-101692 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fiwanders%2Fws_bridge_rs" "/workspace/builds/worker-0/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/iwanders/ws_bridge_rs on toolchain 8ea250bdb76176ecb0225baa34aa634b024ae0e2 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8ea250bdb76176ecb0225baa34aa634b024ae0e2" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/iwanders/ws_bridge_rs [INFO] finished tweaking git repo https://github.com/iwanders/ws_bridge_rs [INFO] tweaked toml for git repo https://github.com/iwanders/ws_bridge_rs written to /workspace/builds/worker-0/source/Cargo.toml [INFO] crate git repo https://github.com/iwanders/ws_bridge_rs already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8ea250bdb76176ecb0225baa34aa634b024ae0e2" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-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] 90b7a50480b99a685c0c045787f33ed36435301f1142b9fbe11fb5d26a4294aa [INFO] running `Command { std: "docker" "start" "-a" "90b7a50480b99a685c0c045787f33ed36435301f1142b9fbe11fb5d26a4294aa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "90b7a50480b99a685c0c045787f33ed36435301f1142b9fbe11fb5d26a4294aa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "90b7a50480b99a685c0c045787f33ed36435301f1142b9fbe11fb5d26a4294aa", kill_on_drop: false }` [INFO] [stdout] 90b7a50480b99a685c0c045787f33ed36435301f1142b9fbe11fb5d26a4294aa [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] 443775739b496d231ca06c62f0eeee6cd7bbb4e38593f7a4459972717dbebc05 [INFO] running `Command { std: "docker" "start" "-a" "443775739b496d231ca06c62f0eeee6cd7bbb4e38593f7a4459972717dbebc05", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.108 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling proc-macro2 v1.0.32 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Compiling typenum v1.14.0 [INFO] [stderr] Compiling syn v1.0.81 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Checking tinyvec_macros v0.1.0 [INFO] [stderr] Checking matches v0.1.9 [INFO] [stderr] Checking unicode-bidi v0.3.7 [INFO] [stderr] Checking bytes v1.1.0 [INFO] [stderr] Compiling futures-task v0.3.17 [INFO] [stderr] Checking percent-encoding v2.1.0 [INFO] [stderr] Checking ppv-lite86 v0.2.15 [INFO] [stderr] Compiling futures-core v0.3.17 [INFO] [stderr] Compiling httparse v1.5.1 [INFO] [stderr] Checking cpufeatures v0.2.1 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Checking pin-project-lite v0.2.7 [INFO] [stderr] Checking itoa v0.4.8 [INFO] [stderr] Checking opaque-debug v0.3.0 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Checking utf-8 v0.7.6 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Checking futures-sink v0.3.17 [INFO] [stderr] Checking slab v0.4.5 [INFO] [stderr] Checking base64 v0.13.0 [INFO] [stderr] Checking unicode-width v0.1.9 [INFO] [stderr] Checking regex-syntax v0.6.25 [INFO] [stderr] Checking ansi_term v0.11.0 [INFO] [stderr] Checking termcolor v1.1.2 [INFO] [stderr] Checking strsim v0.8.0 [INFO] [stderr] Checking humantime v2.1.0 [INFO] [stderr] Checking vec_map v0.8.2 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Checking tinyvec v1.5.1 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Checking form_urlencoded v1.0.1 [INFO] [stderr] Compiling tokio v1.14.0 [INFO] [stderr] Compiling futures-util v0.3.17 [INFO] [stderr] Checking http v0.2.5 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking aho-corasick v0.7.18 [INFO] [stderr] Compiling quote v1.0.10 [INFO] [stderr] Checking getrandom v0.2.3 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking mio v0.7.14 [INFO] [stderr] Checking regex v1.5.4 [INFO] [stderr] Checking unicode-normalization v0.1.19 [INFO] [stderr] Checking clap v2.33.3 [INFO] [stderr] Checking rand_core v0.6.3 [INFO] [stderr] Checking digest v0.9.0 [INFO] [stderr] Checking block-buffer v0.9.0 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking sha-1 v0.9.8 [INFO] [stderr] Checking rand v0.8.4 [INFO] [stderr] Checking idna v0.2.3 [INFO] [stderr] Checking env_logger v0.9.0 [INFO] [stderr] Checking url v2.2.2 [INFO] [stderr] Compiling thiserror-impl v1.0.30 [INFO] [stderr] Compiling tokio-macros v1.6.0 [INFO] [stderr] Checking thiserror v1.0.30 [INFO] [stderr] Checking tungstenite v0.16.0 [INFO] [stderr] Checking tokio-tungstenite v0.16.0 [INFO] [stderr] Checking ws_bridge_rs v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0391]: cycle detected when type-checking `common::communicate` [INFO] [stdout] --> src/common.rs:76:26 [INFO] [stdout] | [INFO] [stdout] 76 | let task_ws_to_tcp = tokio::spawn(async move { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: ...which requires evaluating trait selection obligation `[generator interior@src/common.rs:76:50: 122:6]: core::marker::Send`... [INFO] [stdout] note: ...which requires generator glue MIR for `common::communicate::{closure#0}::{closure#1}`... [INFO] [stdout] --> src/common.rs:76:50 [INFO] [stdout] | [INFO] [stdout] 76 | let task_ws_to_tcp = tokio::spawn(async move { [INFO] [stdout] | __________________________________________________^ [INFO] [stdout] 77 | | loop { [INFO] [stdout] 78 | | tokio::select! { [INFO] [stdout] 79 | | message = read.next() => { [INFO] [stdout] ... | [INFO] [stdout] 121 | | (dest_write, read) [INFO] [stdout] 122 | | }); [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires elaborating drops for `common::communicate::{closure#0}::{closure#1}`... [INFO] [stdout] --> src/common.rs:76:50 [INFO] [stdout] | [INFO] [stdout] 76 | let task_ws_to_tcp = tokio::spawn(async move { [INFO] [stdout] | __________________________________________________^ [INFO] [stdout] 77 | | loop { [INFO] [stdout] 78 | | tokio::select! { [INFO] [stdout] 79 | | message = read.next() => { [INFO] [stdout] ... | [INFO] [stdout] 121 | | (dest_write, read) [INFO] [stdout] 122 | | }); [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires borrow-checking `common::communicate::{closure#0}::{closure#1}`... [INFO] [stdout] --> src/common.rs:76:50 [INFO] [stdout] | [INFO] [stdout] 76 | let task_ws_to_tcp = tokio::spawn(async move { [INFO] [stdout] | __________________________________________________^ [INFO] [stdout] 77 | | loop { [INFO] [stdout] 78 | | tokio::select! { [INFO] [stdout] 79 | | message = read.next() => { [INFO] [stdout] ... | [INFO] [stdout] 121 | | (dest_write, read) [INFO] [stdout] 122 | | }); [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires processing `common::communicate::{closure#0}::{closure#1}`... [INFO] [stdout] --> src/common.rs:76:50 [INFO] [stdout] | [INFO] [stdout] 76 | let task_ws_to_tcp = tokio::spawn(async move { [INFO] [stdout] | __________________________________________________^ [INFO] [stdout] 77 | | loop { [INFO] [stdout] 78 | | tokio::select! { [INFO] [stdout] 79 | | message = read.next() => { [INFO] [stdout] ... | [INFO] [stdout] 121 | | (dest_write, read) [INFO] [stdout] 122 | | }); [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires processing MIR for `common::communicate::{closure#0}::{closure#1}`... [INFO] [stdout] --> src/common.rs:76:50 [INFO] [stdout] | [INFO] [stdout] 76 | let task_ws_to_tcp = tokio::spawn(async move { [INFO] [stdout] | __________________________________________________^ [INFO] [stdout] 77 | | loop { [INFO] [stdout] 78 | | tokio::select! { [INFO] [stdout] 79 | | message = read.next() => { [INFO] [stdout] ... | [INFO] [stdout] 121 | | (dest_write, read) [INFO] [stdout] 122 | | }); [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires unsafety-checking `common::communicate::{closure#0}::{closure#1}`... [INFO] [stdout] --> src/common.rs:76:50 [INFO] [stdout] | [INFO] [stdout] 76 | let task_ws_to_tcp = tokio::spawn(async move { [INFO] [stdout] | __________________________________________________^ [INFO] [stdout] 77 | | loop { [INFO] [stdout] 78 | | tokio::select! { [INFO] [stdout] 79 | | message = read.next() => { [INFO] [stdout] ... | [INFO] [stdout] 121 | | (dest_write, read) [INFO] [stdout] 122 | | }); [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires building MIR for `common::communicate::{closure#0}::{closure#1}`... [INFO] [stdout] --> src/common.rs:76:50 [INFO] [stdout] | [INFO] [stdout] 76 | let task_ws_to_tcp = tokio::spawn(async move { [INFO] [stdout] | __________________________________________________^ [INFO] [stdout] 77 | | loop { [INFO] [stdout] 78 | | tokio::select! { [INFO] [stdout] 79 | | message = read.next() => { [INFO] [stdout] ... | [INFO] [stdout] 121 | | (dest_write, read) [INFO] [stdout] 122 | | }); [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires type-checking `common::communicate::{closure#0}::{closure#1}`... [INFO] [stdout] --> src/common.rs:76:50 [INFO] [stdout] | [INFO] [stdout] 76 | let task_ws_to_tcp = tokio::spawn(async move { [INFO] [stdout] | __________________________________________________^ [INFO] [stdout] 77 | | loop { [INFO] [stdout] 78 | | tokio::select! { [INFO] [stdout] 79 | | message = read.next() => { [INFO] [stdout] ... | [INFO] [stdout] 121 | | (dest_write, read) [INFO] [stdout] 122 | | }); [INFO] [stdout] | |_____^ [INFO] [stdout] = note: ...which again requires type-checking `common::communicate`, completing the cycle [INFO] [stdout] note: cycle used when building MIR for `common::communicate` [INFO] [stdout] --> src/common.rs:17:1 [INFO] [stdout] | [INFO] [stdout] 17 | pub async fn communicate(tcp_in: TcpOrDestination, ws_in: TcpOrDestination) -> Result<(), Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0391`. [INFO] [stdout] [INFO] [stderr] error: could not compile `ws_bridge_rs` due to 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0391]: cycle detected when type-checking `common::communicate` [INFO] [stdout] --> src/common.rs:76:26 [INFO] [stdout] | [INFO] [stdout] 76 | let task_ws_to_tcp = tokio::spawn(async move { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: ...which requires evaluating trait selection obligation `[generator interior@src/common.rs:76:50: 122:6]: core::marker::Send`... [INFO] [stdout] note: ...which requires generator glue MIR for `common::communicate::{closure#0}::{closure#1}`... [INFO] [stdout] --> src/common.rs:76:50 [INFO] [stdout] | [INFO] [stdout] 76 | let task_ws_to_tcp = tokio::spawn(async move { [INFO] [stdout] | __________________________________________________^ [INFO] [stdout] 77 | | loop { [INFO] [stdout] 78 | | tokio::select! { [INFO] [stdout] 79 | | message = read.next() => { [INFO] [stdout] ... | [INFO] [stdout] 121 | | (dest_write, read) [INFO] [stdout] 122 | | }); [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires elaborating drops for `common::communicate::{closure#0}::{closure#1}`... [INFO] [stdout] --> src/common.rs:76:50 [INFO] [stdout] | [INFO] [stdout] 76 | let task_ws_to_tcp = tokio::spawn(async move { [INFO] [stdout] | __________________________________________________^ [INFO] [stdout] 77 | | loop { [INFO] [stdout] 78 | | tokio::select! { [INFO] [stdout] 79 | | message = read.next() => { [INFO] [stdout] ... | [INFO] [stdout] 121 | | (dest_write, read) [INFO] [stdout] 122 | | }); [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires borrow-checking `common::communicate::{closure#0}::{closure#1}`... [INFO] [stdout] --> src/common.rs:76:50 [INFO] [stdout] | [INFO] [stdout] 76 | let task_ws_to_tcp = tokio::spawn(async move { [INFO] [stdout] | __________________________________________________^ [INFO] [stdout] 77 | | loop { [INFO] [stdout] 78 | | tokio::select! { [INFO] [stdout] 79 | | message = read.next() => { [INFO] [stdout] ... | [INFO] [stdout] 121 | | (dest_write, read) [INFO] [stdout] 122 | | }); [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires processing `common::communicate::{closure#0}::{closure#1}`... [INFO] [stdout] --> src/common.rs:76:50 [INFO] [stdout] | [INFO] [stdout] 76 | let task_ws_to_tcp = tokio::spawn(async move { [INFO] [stdout] | __________________________________________________^ [INFO] [stdout] 77 | | loop { [INFO] [stdout] 78 | | tokio::select! { [INFO] [stdout] 79 | | message = read.next() => { [INFO] [stdout] ... | [INFO] [stdout] 121 | | (dest_write, read) [INFO] [stdout] 122 | | }); [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires processing MIR for `common::communicate::{closure#0}::{closure#1}`... [INFO] [stdout] --> src/common.rs:76:50 [INFO] [stdout] | [INFO] [stdout] 76 | let task_ws_to_tcp = tokio::spawn(async move { [INFO] [stdout] | __________________________________________________^ [INFO] [stdout] 77 | | loop { [INFO] [stdout] 78 | | tokio::select! { [INFO] [stdout] 79 | | message = read.next() => { [INFO] [stdout] ... | [INFO] [stdout] 121 | | (dest_write, read) [INFO] [stdout] 122 | | }); [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires unsafety-checking `common::communicate::{closure#0}::{closure#1}`... [INFO] [stdout] --> src/common.rs:76:50 [INFO] [stdout] | [INFO] [stdout] 76 | let task_ws_to_tcp = tokio::spawn(async move { [INFO] [stdout] | __________________________________________________^ [INFO] [stdout] 77 | | loop { [INFO] [stdout] 78 | | tokio::select! { [INFO] [stdout] 79 | | message = read.next() => { [INFO] [stdout] ... | [INFO] [stdout] 121 | | (dest_write, read) [INFO] [stdout] 122 | | }); [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires building MIR for `common::communicate::{closure#0}::{closure#1}`... [INFO] [stdout] --> src/common.rs:76:50 [INFO] [stdout] | [INFO] [stdout] 76 | let task_ws_to_tcp = tokio::spawn(async move { [INFO] [stdout] | __________________________________________________^ [INFO] [stdout] 77 | | loop { [INFO] [stdout] 78 | | tokio::select! { [INFO] [stdout] 79 | | message = read.next() => { [INFO] [stdout] ... | [INFO] [stdout] 121 | | (dest_write, read) [INFO] [stdout] 122 | | }); [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires type-checking `common::communicate::{closure#0}::{closure#1}`... [INFO] [stdout] --> src/common.rs:76:50 [INFO] [stdout] | [INFO] [stdout] 76 | let task_ws_to_tcp = tokio::spawn(async move { [INFO] [stdout] | __________________________________________________^ [INFO] [stdout] 77 | | loop { [INFO] [stdout] 78 | | tokio::select! { [INFO] [stdout] 79 | | message = read.next() => { [INFO] [stdout] ... | [INFO] [stdout] 121 | | (dest_write, read) [INFO] [stdout] 122 | | }); [INFO] [stdout] | |_____^ [INFO] [stdout] = note: ...which again requires type-checking `common::communicate`, completing the cycle [INFO] [stdout] note: cycle used when building MIR for `common::communicate` [INFO] [stdout] --> src/common.rs:17:1 [INFO] [stdout] | [INFO] [stdout] 17 | pub async fn communicate(tcp_in: TcpOrDestination, ws_in: TcpOrDestination) -> Result<(), Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0391`. [INFO] [stdout] [INFO] [stderr] error: could not compile `ws_bridge_rs` due to 2 previous errors [INFO] running `Command { std: "docker" "inspect" "443775739b496d231ca06c62f0eeee6cd7bbb4e38593f7a4459972717dbebc05", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "443775739b496d231ca06c62f0eeee6cd7bbb4e38593f7a4459972717dbebc05", kill_on_drop: false }` [INFO] [stdout] 443775739b496d231ca06c62f0eeee6cd7bbb4e38593f7a4459972717dbebc05