[INFO] cloning repository https://github.com/Jasperav/tokio-server [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Jasperav/tokio-server" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJasperav%2Ftokio-server", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJasperav%2Ftokio-server'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 94eafbcb8f6054cd3faa0105817faee1c592d415 [INFO] checking Jasperav/tokio-server against master#33fdb797f59421c7bbecaa4588ed5d7a31a9494a for pr-87190-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJasperav%2Ftokio-server" "/workspace/builds/worker-7/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Jasperav/tokio-server on toolchain 33fdb797f59421c7bbecaa4588ed5d7a31a9494a [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+33fdb797f59421c7bbecaa4588ed5d7a31a9494a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Jasperav/tokio-server [INFO] finished tweaking git repo https://github.com/Jasperav/tokio-server [INFO] tweaked toml for git repo https://github.com/Jasperav/tokio-server written to /workspace/builds/worker-7/source/Cargo.toml [INFO] crate git repo https://github.com/Jasperav/tokio-server already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+33fdb797f59421c7bbecaa4588ed5d7a31a9494a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+33fdb797f59421c7bbecaa4588ed5d7a31a9494a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] bf9b48c9ce886253524d1b81819e0a5ff07de4c794d02f7499bb942f1fed8cca [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "bf9b48c9ce886253524d1b81819e0a5ff07de4c794d02f7499bb942f1fed8cca", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "bf9b48c9ce886253524d1b81819e0a5ff07de4c794d02f7499bb942f1fed8cca", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bf9b48c9ce886253524d1b81819e0a5ff07de4c794d02f7499bb942f1fed8cca", kill_on_drop: false }` [INFO] [stdout] bf9b48c9ce886253524d1b81819e0a5ff07de4c794d02f7499bb942f1fed8cca [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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" "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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+33fdb797f59421c7bbecaa4588ed5d7a31a9494a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 765e7d870f27425707c96e95138fe82373b2f407233698e8ebb460cd783be372 [INFO] running `Command { std: "docker" "start" "-a" "765e7d870f27425707c96e95138fe82373b2f407233698e8ebb460cd783be372", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.71 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Compiling proc-macro2 v1.0.18 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling syn v1.0.33 [INFO] [stderr] Compiling cc v1.0.54 [INFO] [stderr] Compiling typenum v1.12.0 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Checking slab v0.4.2 [INFO] [stderr] Checking futures-core v0.3.5 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling proc-macro-nested v0.1.6 [INFO] [stderr] Compiling proc-macro-hack v0.5.16 [INFO] [stderr] Checking byte-tools v0.3.1 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking once_cell v1.4.0 [INFO] [stderr] Checking foreign-types-shared v0.1.1 [INFO] [stderr] Checking matches v0.1.8 [INFO] [stderr] Compiling openssl v0.10.29 [INFO] [stderr] Checking bytes v0.5.5 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Compiling httparse v1.3.4 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Checking fake-simd v0.1.2 [INFO] [stderr] Checking arc-swap v0.4.7 [INFO] [stderr] Checking itoa v0.4.6 [INFO] [stderr] Checking openssl-probe v0.1.2 [INFO] [stderr] Checking opaque-debug v0.2.3 [INFO] [stderr] Checking percent-encoding v2.1.0 [INFO] [stderr] Checking utf-8 v0.7.5 [INFO] [stderr] Checking pin-project-lite v0.1.7 [INFO] [stderr] Checking base64 v0.11.0 [INFO] [stderr] Checking block-padding v0.1.5 [INFO] [stderr] Checking futures-task v0.3.5 [INFO] [stderr] Checking unicode-bidi v0.3.4 [INFO] [stderr] Checking futures-channel v0.3.5 [INFO] [stderr] Checking foreign-types v0.3.2 [INFO] [stderr] Checking input_buffer v0.3.1 [INFO] [stderr] Checking http v0.2.1 [INFO] [stderr] Checking idna v0.2.0 [INFO] [stderr] Compiling openssl-sys v0.9.58 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Checking getrandom v0.1.14 [INFO] [stderr] Checking net2 v0.2.34 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Checking signal-hook-registry v1.2.0 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking url v2.1.1 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking generic-array v0.12.3 [INFO] [stderr] Checking mio v0.6.22 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Compiling native-tls v0.2.4 [INFO] [stderr] Checking digest v0.8.1 [INFO] [stderr] Checking block-buffer v0.7.3 [INFO] [stderr] Checking sha-1 v0.8.2 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking mio-uds v0.6.8 [INFO] [stderr] Checking tungstenite v0.10.1 [INFO] [stderr] Compiling pin-project-internal v0.4.22 [INFO] [stderr] Compiling futures-macro v0.3.5 [INFO] [stderr] Compiling tokio-macros v0.2.5 [INFO] [stderr] Checking tokio v0.2.21 [INFO] [stderr] Checking pin-project v0.4.22 [INFO] [stderr] Checking futures-util v0.3.5 [INFO] [stderr] Checking futures-executor v0.3.5 [INFO] [stderr] Checking futures v0.3.5 [INFO] [stderr] Checking tokio-tungstenite v0.10.1 [INFO] [stderr] Checking tokio_server v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: captured variable cannot escape `FnMut` closure body [INFO] [stdout] --> src/main.rs:32:27 [INFO] [stdout] | [INFO] [stdout] 30 | let (mut outgoing, incoming) = ws_stream.split(); [INFO] [stdout] | ------------ variable defined here [INFO] [stdout] 31 | [INFO] [stdout] 32 | incoming.for_each(|m| async { [INFO] [stdout] | _________________________-_^ [INFO] [stdout] | | | [INFO] [stdout] | | inferred to be a `FnMut` closure [INFO] [stdout] 33 | | match m { [INFO] [stdout] 34 | | Ok(message) => do_something(message, db, &mut outgoing).await, [INFO] [stdout] | | -------- variable captured here [INFO] [stdout] 35 | | Err(e) => panic!(e) [INFO] [stdout] 36 | | } [INFO] [stdout] 37 | | }).await; [INFO] [stdout] | |_____^ returns an `async` block that contains a reference to a captured variable, which then escapes the closure body [INFO] [stdout] | [INFO] [stdout] = note: `FnMut` closures only have access to their captured variables while they are executing... [INFO] [stdout] = note: ...therefore, they cannot allow references to captured variables to escape [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `tokio_server` due to 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: captured variable cannot escape `FnMut` closure body [INFO] [stdout] --> src/main.rs:32:27 [INFO] [stdout] | [INFO] [stdout] 30 | let (mut outgoing, incoming) = ws_stream.split(); [INFO] [stdout] | ------------ variable defined here [INFO] [stdout] 31 | [INFO] [stdout] 32 | incoming.for_each(|m| async { [INFO] [stdout] | _________________________-_^ [INFO] [stdout] | | | [INFO] [stdout] | | inferred to be a `FnMut` closure [INFO] [stdout] 33 | | match m { [INFO] [stdout] 34 | | Ok(message) => do_something(message, db, &mut outgoing).await, [INFO] [stdout] | | -------- variable captured here [INFO] [stdout] 35 | | Err(e) => panic!(e) [INFO] [stdout] 36 | | } [INFO] [stdout] 37 | | }).await; [INFO] [stdout] | |_____^ returns an `async` block that contains a reference to a captured variable, which then escapes the closure body [INFO] [stdout] | [INFO] [stdout] = note: `FnMut` closures only have access to their captured variables while they are executing... [INFO] [stdout] = note: ...therefore, they cannot allow references to captured variables to escape [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "765e7d870f27425707c96e95138fe82373b2f407233698e8ebb460cd783be372", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "765e7d870f27425707c96e95138fe82373b2f407233698e8ebb460cd783be372", kill_on_drop: false }` [INFO] [stdout] 765e7d870f27425707c96e95138fe82373b2f407233698e8ebb460cd783be372