[INFO] cloning repository https://github.com/jimblandy/chat [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/jimblandy/chat" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjimblandy%2Fchat", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjimblandy%2Fchat'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] c58aca0af0de7d7d4e60ab0e3e09eec89d574f0e [INFO] checking jimblandy/chat against try#8ea250bdb76176ecb0225baa34aa634b024ae0e2 for pr-101692 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjimblandy%2Fchat" "/workspace/builds/worker-2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/jimblandy/chat 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/jimblandy/chat [INFO] finished tweaking git repo https://github.com/jimblandy/chat [INFO] tweaked toml for git repo https://github.com/jimblandy/chat written to /workspace/builds/worker-2/source/Cargo.toml [INFO] crate git repo https://github.com/jimblandy/chat 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-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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] 4eafe3648e1131f73f724600a10109bd4aa9b0a3b75cc287bc7a25cd0813d99a [INFO] running `Command { std: "docker" "start" "-a" "4eafe3648e1131f73f724600a10109bd4aa9b0a3b75cc287bc7a25cd0813d99a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4eafe3648e1131f73f724600a10109bd4aa9b0a3b75cc287bc7a25cd0813d99a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4eafe3648e1131f73f724600a10109bd4aa9b0a3b75cc287bc7a25cd0813d99a", kill_on_drop: false }` [INFO] [stdout] 4eafe3648e1131f73f724600a10109bd4aa9b0a3b75cc287bc7a25cd0813d99a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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] 756914c0dd68ef48decb25d8bdc13ac5b8dccc5488d96fbc061c76959617c041 [INFO] running `Command { std: "docker" "start" "-a" "756914c0dd68ef48decb25d8bdc13ac5b8dccc5488d96fbc061c76959617c041", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.40 [INFO] [stderr] Compiling unicode-ident v1.0.1 [INFO] [stderr] Compiling quote v1.0.20 [INFO] [stderr] Compiling syn v1.0.98 [INFO] [stderr] Compiling serde_derive v1.0.137 [INFO] [stderr] Compiling serde v1.0.137 [INFO] [stderr] Compiling futures-core v0.3.21 [INFO] [stderr] Compiling libc v0.2.126 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling serde_json v1.0.81 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Checking ryu v1.0.10 [INFO] [stderr] Compiling futures-task v0.3.21 [INFO] [stderr] Compiling futures-channel v0.3.21 [INFO] [stderr] Checking itoa v1.0.2 [INFO] [stderr] Checking pin-project-lite v0.2.9 [INFO] [stderr] Checking futures-sink v0.3.21 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling futures-util v0.3.21 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Checking futures-io v0.3.21 [INFO] [stderr] Checking slab v0.4.6 [INFO] [stderr] Checking once_cell v1.12.0 [INFO] [stderr] Checking bytes v1.1.0 [INFO] [stderr] Checking num_cpus v1.13.1 [INFO] [stderr] Checking socket2 v0.4.4 [INFO] [stderr] Checking mio v0.8.4 [INFO] [stderr] Compiling futures-macro v0.3.21 [INFO] [stderr] Compiling tokio-macros v1.8.0 [INFO] [stderr] Checking tokio v1.19.2 [INFO] [stderr] Checking tokio-stream v0.1.9 [INFO] [stderr] Checking protocol v0.1.0 (/opt/rustwide/workdir/protocol) [INFO] [stderr] Checking futures-executor v0.3.21 [INFO] [stderr] Checking sync-server v0.1.0 (/opt/rustwide/workdir/sync-server) [INFO] [stderr] Checking client v0.1.0 (/opt/rustwide/workdir/client) [INFO] [stderr] Checking futures v0.3.21 [INFO] [stderr] Checking async-server v0.1.0 (/opt/rustwide/workdir/async-server) [INFO] [stdout] error[E0391]: cycle detected when type-checking `handle_client` [INFO] [stdout] --> async-server/src/main.rs:113:25 [INFO] [stdout] | [INFO] [stdout] 113 | tokio::task::spawn(async move { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: ...which requires evaluating trait selection obligation `[generator interior@async-server/src/main.rs:113:55: 123:26]: core::marker::Send`... [INFO] [stdout] note: ...which requires generator glue MIR for `handle_client::{closure#0}::{closure#1}`... [INFO] [stdout] --> async-server/src/main.rs:113:55 [INFO] [stdout] | [INFO] [stdout] 113 | tokio::task::spawn(async move { [INFO] [stdout] | _______________________________________________________^ [INFO] [stdout] 114 | | if let Err(_e) = send_reply(&subscriber, reply).await { [INFO] [stdout] 115 | | //eprintln!("Error sending (dropping subscriber): {}", _e); [INFO] [stdout] 116 | | let mut map = channel_map.lock().await; [INFO] [stdout] ... | [INFO] [stdout] 122 | | } [INFO] [stdout] 123 | | }); [INFO] [stdout] | |_________________________^ [INFO] [stdout] note: ...which requires elaborating drops for `handle_client::{closure#0}::{closure#1}`... [INFO] [stdout] --> async-server/src/main.rs:113:55 [INFO] [stdout] | [INFO] [stdout] 113 | tokio::task::spawn(async move { [INFO] [stdout] | _______________________________________________________^ [INFO] [stdout] 114 | | if let Err(_e) = send_reply(&subscriber, reply).await { [INFO] [stdout] 115 | | //eprintln!("Error sending (dropping subscriber): {}", _e); [INFO] [stdout] 116 | | let mut map = channel_map.lock().await; [INFO] [stdout] ... | [INFO] [stdout] 122 | | } [INFO] [stdout] 123 | | }); [INFO] [stdout] | |_________________________^ [INFO] [stdout] note: ...which requires borrow-checking `handle_client::{closure#0}::{closure#1}`... [INFO] [stdout] --> async-server/src/main.rs:113:55 [INFO] [stdout] | [INFO] [stdout] 113 | tokio::task::spawn(async move { [INFO] [stdout] | _______________________________________________________^ [INFO] [stdout] 114 | | if let Err(_e) = send_reply(&subscriber, reply).await { [INFO] [stdout] 115 | | //eprintln!("Error sending (dropping subscriber): {}", _e); [INFO] [stdout] 116 | | let mut map = channel_map.lock().await; [INFO] [stdout] ... | [INFO] [stdout] 122 | | } [INFO] [stdout] 123 | | }); [INFO] [stdout] | |_________________________^ [INFO] [stdout] note: ...which requires processing `handle_client::{closure#0}::{closure#1}`... [INFO] [stdout] --> async-server/src/main.rs:113:55 [INFO] [stdout] | [INFO] [stdout] 113 | tokio::task::spawn(async move { [INFO] [stdout] | _______________________________________________________^ [INFO] [stdout] 114 | | if let Err(_e) = send_reply(&subscriber, reply).await { [INFO] [stdout] 115 | | //eprintln!("Error sending (dropping subscriber): {}", _e); [INFO] [stdout] 116 | | let mut map = channel_map.lock().await; [INFO] [stdout] ... | [INFO] [stdout] 122 | | } [INFO] [stdout] 123 | | }); [INFO] [stdout] | |_________________________^ [INFO] [stdout] note: ...which requires processing MIR for `handle_client::{closure#0}::{closure#1}`... [INFO] [stdout] --> async-server/src/main.rs:113:55 [INFO] [stdout] | [INFO] [stdout] 113 | tokio::task::spawn(async move { [INFO] [stdout] | _______________________________________________________^ [INFO] [stdout] 114 | | if let Err(_e) = send_reply(&subscriber, reply).await { [INFO] [stdout] 115 | | //eprintln!("Error sending (dropping subscriber): {}", _e); [INFO] [stdout] 116 | | let mut map = channel_map.lock().await; [INFO] [stdout] ... | [INFO] [stdout] 122 | | } [INFO] [stdout] 123 | | }); [INFO] [stdout] | |_________________________^ [INFO] [stdout] note: ...which requires unsafety-checking `handle_client::{closure#0}::{closure#1}`... [INFO] [stdout] --> async-server/src/main.rs:113:55 [INFO] [stdout] | [INFO] [stdout] 113 | tokio::task::spawn(async move { [INFO] [stdout] | _______________________________________________________^ [INFO] [stdout] 114 | | if let Err(_e) = send_reply(&subscriber, reply).await { [INFO] [stdout] 115 | | //eprintln!("Error sending (dropping subscriber): {}", _e); [INFO] [stdout] 116 | | let mut map = channel_map.lock().await; [INFO] [stdout] ... | [INFO] [stdout] 122 | | } [INFO] [stdout] 123 | | }); [INFO] [stdout] | |_________________________^ [INFO] [stdout] note: ...which requires building MIR for `handle_client::{closure#0}::{closure#1}`... [INFO] [stdout] --> async-server/src/main.rs:113:55 [INFO] [stdout] | [INFO] [stdout] 113 | tokio::task::spawn(async move { [INFO] [stdout] | _______________________________________________________^ [INFO] [stdout] 114 | | if let Err(_e) = send_reply(&subscriber, reply).await { [INFO] [stdout] 115 | | //eprintln!("Error sending (dropping subscriber): {}", _e); [INFO] [stdout] 116 | | let mut map = channel_map.lock().await; [INFO] [stdout] ... | [INFO] [stdout] 122 | | } [INFO] [stdout] 123 | | }); [INFO] [stdout] | |_________________________^ [INFO] [stdout] note: ...which requires type-checking `handle_client::{closure#0}::{closure#1}`... [INFO] [stdout] --> async-server/src/main.rs:113:55 [INFO] [stdout] | [INFO] [stdout] 113 | tokio::task::spawn(async move { [INFO] [stdout] | _______________________________________________________^ [INFO] [stdout] 114 | | if let Err(_e) = send_reply(&subscriber, reply).await { [INFO] [stdout] 115 | | //eprintln!("Error sending (dropping subscriber): {}", _e); [INFO] [stdout] 116 | | let mut map = channel_map.lock().await; [INFO] [stdout] ... | [INFO] [stdout] 122 | | } [INFO] [stdout] 123 | | }); [INFO] [stdout] | |_________________________^ [INFO] [stdout] = note: ...which again requires type-checking `handle_client`, completing the cycle [INFO] [stdout] note: cycle used when building MIR for `handle_client` [INFO] [stdout] --> async-server/src/main.rs:59:1 [INFO] [stdout] | [INFO] [stdout] 59 | async fn handle_client(stream: TcpStream, channel_map: Arc>) -> io::Result<()> { [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 `async-server` 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 `handle_client` [INFO] [stdout] --> async-server/src/main.rs:113:25 [INFO] [stdout] | [INFO] [stdout] 113 | tokio::task::spawn(async move { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: ...which requires evaluating trait selection obligation `[generator interior@async-server/src/main.rs:113:55: 123:26]: core::marker::Send`... [INFO] [stdout] note: ...which requires generator glue MIR for `handle_client::{closure#0}::{closure#1}`... [INFO] [stdout] --> async-server/src/main.rs:113:55 [INFO] [stdout] | [INFO] [stdout] 113 | tokio::task::spawn(async move { [INFO] [stdout] | _______________________________________________________^ [INFO] [stdout] 114 | | if let Err(_e) = send_reply(&subscriber, reply).await { [INFO] [stdout] 115 | | //eprintln!("Error sending (dropping subscriber): {}", _e); [INFO] [stdout] 116 | | let mut map = channel_map.lock().await; [INFO] [stdout] ... | [INFO] [stdout] 122 | | } [INFO] [stdout] 123 | | }); [INFO] [stdout] | |_________________________^ [INFO] [stdout] note: ...which requires elaborating drops for `handle_client::{closure#0}::{closure#1}`... [INFO] [stdout] --> async-server/src/main.rs:113:55 [INFO] [stdout] | [INFO] [stdout] 113 | tokio::task::spawn(async move { [INFO] [stdout] | _______________________________________________________^ [INFO] [stdout] 114 | | if let Err(_e) = send_reply(&subscriber, reply).await { [INFO] [stdout] 115 | | //eprintln!("Error sending (dropping subscriber): {}", _e); [INFO] [stdout] 116 | | let mut map = channel_map.lock().await; [INFO] [stdout] ... | [INFO] [stdout] 122 | | } [INFO] [stdout] 123 | | }); [INFO] [stdout] | |_________________________^ [INFO] [stdout] note: ...which requires borrow-checking `handle_client::{closure#0}::{closure#1}`... [INFO] [stdout] --> async-server/src/main.rs:113:55 [INFO] [stdout] | [INFO] [stdout] 113 | tokio::task::spawn(async move { [INFO] [stdout] | _______________________________________________________^ [INFO] [stdout] 114 | | if let Err(_e) = send_reply(&subscriber, reply).await { [INFO] [stdout] 115 | | //eprintln!("Error sending (dropping subscriber): {}", _e); [INFO] [stdout] 116 | | let mut map = channel_map.lock().await; [INFO] [stdout] ... | [INFO] [stdout] 122 | | } [INFO] [stdout] 123 | | }); [INFO] [stdout] | |_________________________^ [INFO] [stdout] note: ...which requires processing `handle_client::{closure#0}::{closure#1}`... [INFO] [stdout] --> async-server/src/main.rs:113:55 [INFO] [stdout] | [INFO] [stdout] 113 | tokio::task::spawn(async move { [INFO] [stdout] | _______________________________________________________^ [INFO] [stdout] 114 | | if let Err(_e) = send_reply(&subscriber, reply).await { [INFO] [stdout] 115 | | //eprintln!("Error sending (dropping subscriber): {}", _e); [INFO] [stdout] 116 | | let mut map = channel_map.lock().await; [INFO] [stdout] ... | [INFO] [stdout] 122 | | } [INFO] [stdout] 123 | | }); [INFO] [stdout] | |_________________________^ [INFO] [stdout] note: ...which requires processing MIR for `handle_client::{closure#0}::{closure#1}`... [INFO] [stdout] --> async-server/src/main.rs:113:55 [INFO] [stdout] | [INFO] [stdout] 113 | tokio::task::spawn(async move { [INFO] [stdout] | _______________________________________________________^ [INFO] [stdout] 114 | | if let Err(_e) = send_reply(&subscriber, reply).await { [INFO] [stdout] 115 | | //eprintln!("Error sending (dropping subscriber): {}", _e); [INFO] [stdout] 116 | | let mut map = channel_map.lock().await; [INFO] [stdout] ... | [INFO] [stdout] 122 | | } [INFO] [stdout] 123 | | }); [INFO] [stdout] | |_________________________^ [INFO] [stdout] note: ...which requires unsafety-checking `handle_client::{closure#0}::{closure#1}`... [INFO] [stdout] --> async-server/src/main.rs:113:55 [INFO] [stdout] | [INFO] [stdout] 113 | tokio::task::spawn(async move { [INFO] [stdout] | _______________________________________________________^ [INFO] [stdout] 114 | | if let Err(_e) = send_reply(&subscriber, reply).await { [INFO] [stdout] 115 | | //eprintln!("Error sending (dropping subscriber): {}", _e); [INFO] [stdout] 116 | | let mut map = channel_map.lock().await; [INFO] [stdout] ... | [INFO] [stdout] 122 | | } [INFO] [stdout] 123 | | }); [INFO] [stdout] | |_________________________^ [INFO] [stdout] note: ...which requires building MIR for `handle_client::{closure#0}::{closure#1}`... [INFO] [stdout] --> async-server/src/main.rs:113:55 [INFO] [stdout] | [INFO] [stdout] 113 | tokio::task::spawn(async move { [INFO] [stdout] | _______________________________________________________^ [INFO] [stdout] 114 | | if let Err(_e) = send_reply(&subscriber, reply).await { [INFO] [stdout] 115 | | //eprintln!("Error sending (dropping subscriber): {}", _e); [INFO] [stdout] 116 | | let mut map = channel_map.lock().await; [INFO] [stdout] ... | [INFO] [stdout] 122 | | } [INFO] [stdout] 123 | | }); [INFO] [stdout] | |_________________________^ [INFO] [stdout] note: ...which requires type-checking `handle_client::{closure#0}::{closure#1}`... [INFO] [stdout] --> async-server/src/main.rs:113:55 [INFO] [stdout] | [INFO] [stdout] 113 | tokio::task::spawn(async move { [INFO] [stdout] | _______________________________________________________^ [INFO] [stdout] 114 | | if let Err(_e) = send_reply(&subscriber, reply).await { [INFO] [stdout] 115 | | //eprintln!("Error sending (dropping subscriber): {}", _e); [INFO] [stdout] 116 | | let mut map = channel_map.lock().await; [INFO] [stdout] ... | [INFO] [stdout] 122 | | } [INFO] [stdout] 123 | | }); [INFO] [stdout] | |_________________________^ [INFO] [stdout] = note: ...which again requires type-checking `handle_client`, completing the cycle [INFO] [stdout] note: cycle used when building MIR for `handle_client` [INFO] [stdout] --> async-server/src/main.rs:59:1 [INFO] [stdout] | [INFO] [stdout] 59 | async fn handle_client(stream: TcpStream, channel_map: Arc>) -> io::Result<()> { [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 `async-server` due to 2 previous errors [INFO] running `Command { std: "docker" "inspect" "756914c0dd68ef48decb25d8bdc13ac5b8dccc5488d96fbc061c76959617c041", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "756914c0dd68ef48decb25d8bdc13ac5b8dccc5488d96fbc061c76959617c041", kill_on_drop: false }` [INFO] [stdout] 756914c0dd68ef48decb25d8bdc13ac5b8dccc5488d96fbc061c76959617c041