[INFO] fetching crate susy-jsonrpc-stdio-server 10.0.1... [INFO] checking susy-jsonrpc-stdio-server-10.0.1 against try#23ffd2897cbb44320ca18dfe4d05dbacb37d55e0 for pr-115950 [INFO] extracting crate susy-jsonrpc-stdio-server 10.0.1 into /workspace/builds/worker-5-tc2/source [INFO] validating manifest of crates.io crate susy-jsonrpc-stdio-server 10.0.1 on toolchain 23ffd2897cbb44320ca18dfe4d05dbacb37d55e0 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+23ffd2897cbb44320ca18dfe4d05dbacb37d55e0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate susy-jsonrpc-stdio-server 10.0.1 [INFO] finished tweaking crates.io crate susy-jsonrpc-stdio-server 10.0.1 [INFO] tweaked toml for crates.io crate susy-jsonrpc-stdio-server 10.0.1 written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+23ffd2897cbb44320ca18dfe4d05dbacb37d55e0" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+23ffd2897cbb44320ca18dfe4d05dbacb37d55e0" "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-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/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:4f8da3c744d2da974e54ce020a79f4ad54313e914ebeaab8fc086f07e8d8b066" "/opt/rustwide/cargo-home/bin/cargo" "+23ffd2897cbb44320ca18dfe4d05dbacb37d55e0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6fd4e1348cc9ec1c2000f624e05bc3cab2a1bd6bb8474109e81c210166c76245 [INFO] running `Command { std: "docker" "start" "-a" "6fd4e1348cc9ec1c2000f624e05bc3cab2a1bd6bb8474109e81c210166c76245", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6fd4e1348cc9ec1c2000f624e05bc3cab2a1bd6bb8474109e81c210166c76245", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6fd4e1348cc9ec1c2000f624e05bc3cab2a1bd6bb8474109e81c210166c76245", kill_on_drop: false }` [INFO] [stdout] 6fd4e1348cc9ec1c2000f624e05bc3cab2a1bd6bb8474109e81c210166c76245 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/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:4f8da3c744d2da974e54ce020a79f4ad54313e914ebeaab8fc086f07e8d8b066" "/opt/rustwide/cargo-home/bin/cargo" "+23ffd2897cbb44320ca18dfe4d05dbacb37d55e0" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1882473b71f16bee538b43178872ea42ad22c89ff8382dc5e63dfdca0c27fd0d [INFO] running `Command { std: "docker" "start" "-a" "1882473b71f16bee538b43178872ea42ad22c89ff8382dc5e63dfdca0c27fd0d", kill_on_drop: false }` [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Checking net2 v0.2.39 [INFO] [stderr] Checking tokio-sync v0.1.8 [INFO] [stderr] Checking tokio-executor v0.1.10 [INFO] [stderr] Compiling parking_lot_core v0.6.3 [INFO] [stderr] Compiling parking_lot v0.9.0 [INFO] [stderr] Checking crossbeam-queue v0.2.3 [INFO] [stderr] Checking humantime v1.3.0 [INFO] [stderr] Checking termcolor v1.3.0 [INFO] [stderr] Checking susy-jsonrpc-core v10.0.2 [INFO] [stderr] Checking bytes v0.4.12 [INFO] [stderr] Checking tokio-threadpool v0.1.18 [INFO] [stderr] Checking tokio-current-thread v0.1.7 [INFO] [stderr] Checking tokio-timer v0.2.13 [INFO] [stderr] Checking env_logger v0.6.2 [INFO] [stderr] Checking mio v0.6.23 [INFO] [stderr] Checking tokio-io v0.1.13 [INFO] [stderr] Checking tokio-codec v0.1.2 [INFO] [stderr] Checking tokio-fs v0.1.7 [INFO] [stderr] Checking tokio-stdin-stdout v0.1.5 [INFO] [stderr] Checking tokio-reactor v0.1.12 [INFO] [stderr] Checking mio-uds v0.6.8 [INFO] [stderr] Checking tokio-tcp v0.1.4 [INFO] [stderr] Checking tokio-udp v0.1.6 [INFO] [stderr] Checking tokio-uds v0.2.7 [INFO] [stderr] Checking tokio v0.1.22 [INFO] [stderr] Checking susy-jsonrpc-stdio-server v10.0.1 (/opt/rustwide/workdir) [INFO] [stdout] error: captured variable cannot escape `FnMut` closure body [INFO] [stdout] --> src/lib.rs:54:26 [INFO] [stdout] | [INFO] [stdout] 52 | let handler = self.handler.clone(); [INFO] [stdout] | ------- variable defined here [INFO] [stdout] 53 | let future = framed_stdin [INFO] [stdout] 54 | .and_then(move |line| process(&handler, line).map_err(|_| unreachable!())) [INFO] [stdout] | - ^^^^^^^^^-------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | | | [INFO] [stdout] | | | variable captured here [INFO] [stdout] | | returns a closure that contains a reference to a captured variable, which then escapes the closure body [INFO] [stdout] | inferred to be a `FnMut` closure [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] help: consider adding 'move' keyword before the nested closure [INFO] [stdout] | [INFO] [stdout] 54 | .and_then(move |line| process(&handler, line).map_err(move |_| unreachable!())) [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: captured variable cannot escape `FnMut` closure body [INFO] [stdout] --> src/lib.rs:54:26 [INFO] [stdout] | [INFO] [stdout] 52 | let handler = self.handler.clone(); [INFO] [stdout] | ------- variable defined here [INFO] [stdout] 53 | let future = framed_stdin [INFO] [stdout] 54 | .and_then(move |line| process(&handler, line).map_err(|_| unreachable!())) [INFO] [stdout] | - ^^^^^^^^^-------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | | | [INFO] [stdout] | | | variable captured here [INFO] [stdout] | | returns a closure that contains a reference to a captured variable, which then escapes the closure body [INFO] [stdout] | inferred to be a `FnMut` closure [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] help: consider adding 'move' keyword before the nested closure [INFO] [stdout] | [INFO] [stdout] 54 | .and_then(move |line| process(&handler, line).map_err(move |_| unreachable!())) [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `susy-jsonrpc-stdio-server` (lib) due to 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `susy-jsonrpc-stdio-server` (lib test) due to 2 previous errors [INFO] running `Command { std: "docker" "inspect" "1882473b71f16bee538b43178872ea42ad22c89ff8382dc5e63dfdca0c27fd0d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1882473b71f16bee538b43178872ea42ad22c89ff8382dc5e63dfdca0c27fd0d", kill_on_drop: false }` [INFO] [stdout] 1882473b71f16bee538b43178872ea42ad22c89ff8382dc5e63dfdca0c27fd0d