[INFO] fetching crate httproxide-h3 0.0.0... [INFO] checking httproxide-h3-0.0.0 against try#23ffd2897cbb44320ca18dfe4d05dbacb37d55e0 for pr-115950 [INFO] extracting crate httproxide-h3 0.0.0 into /workspace/builds/worker-4-tc2/source [INFO] validating manifest of crates.io crate httproxide-h3 0.0.0 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 httproxide-h3 0.0.0 [INFO] finished tweaking crates.io crate httproxide-h3 0.0.0 [INFO] tweaked toml for crates.io crate httproxide-h3 0.0.0 written to /workspace/builds/worker-4-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] 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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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] 53215c419748da8b40e8c3174cb502a54d87a387cffab7c52249a69e448bf321 [INFO] running `Command { std: "docker" "start" "-a" "53215c419748da8b40e8c3174cb502a54d87a387cffab7c52249a69e448bf321", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "53215c419748da8b40e8c3174cb502a54d87a387cffab7c52249a69e448bf321", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "53215c419748da8b40e8c3174cb502a54d87a387cffab7c52249a69e448bf321", kill_on_drop: false }` [INFO] [stdout] 53215c419748da8b40e8c3174cb502a54d87a387cffab7c52249a69e448bf321 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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] 4d3e0862c082999baedb98cd93391506c42d8288c1dbdc86e54eba4c7e38d5ed [INFO] running `Command { std: "docker" "start" "-a" "4d3e0862c082999baedb98cd93391506c42d8288c1dbdc86e54eba4c7e38d5ed", kill_on_drop: false }` [INFO] [stderr] Compiling futures-core v0.3.28 [INFO] [stderr] Compiling futures-task v0.3.28 [INFO] [stderr] Compiling libm v0.2.7 [INFO] [stderr] Checking getrandom v0.2.10 [INFO] [stderr] Compiling num-traits v0.2.16 [INFO] [stderr] Compiling futures-util v0.3.28 [INFO] [stderr] Compiling tokio-macros v2.1.0 [INFO] [stderr] Checking wait-timeout v0.2.0 [INFO] [stderr] Checking rusty-fork v0.3.0 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking tracing v0.1.37 [INFO] [stderr] Checking fastrand v1.9.0 [INFO] [stderr] Checking regex-syntax v0.6.29 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand_xorshift v0.3.0 [INFO] [stderr] Checking unarray v0.1.4 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking tokio v1.32.0 [INFO] [stderr] Checking proptest v1.2.0 [INFO] [stderr] Checking httproxide-h3 v0.0.0 (/opt/rustwide/workdir) [INFO] [stdout] error: captured variable cannot escape `FnMut` closure body [INFO] [stdout] --> src/connection.rs:414:41 [INFO] [stdout] | [INFO] [stdout] 414 | let data = future::poll_fn(|cx| self.stream.poll_data(cx)) [INFO] [stdout] | - ^^^^^^^^^^^^^^^^^^^^^^^^^ returns a reference to a captured variable which escapes the closure body [INFO] [stdout] | | [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] [INFO] [stdout] [INFO] [stdout] error: lifetime may not live long enough [INFO] [stdout] --> src/connection.rs:414:41 [INFO] [stdout] | [INFO] [stdout] 414 | let data = future::poll_fn(|cx| self.stream.poll_data(cx)) [INFO] [stdout] | --- ^^^^^^^^^^^^^^^^^^^^^^^^^ returning this value requires that `'2` must outlive `'3` [INFO] [stdout] | | | [INFO] [stdout] | | return type of closure `Poll, frame::Error>>` contains a lifetime `'3` [INFO] [stdout] | has type `&'2 mut Context<'_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: lifetime may not live long enough [INFO] [stdout] --> src/connection.rs:414:41 [INFO] [stdout] | [INFO] [stdout] 414 | let data = future::poll_fn(|cx| self.stream.poll_data(cx)) [INFO] [stdout] | --- ^^^^^^^^^^^^^^^^^^^^^^^^^ returning this value requires that `'4` must outlive `'5` [INFO] [stdout] | | | [INFO] [stdout] | | return type of closure `Poll, frame::Error>>` contains a lifetime `'5` [INFO] [stdout] | has type `&mut Context<'4>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0373]: closure may outlive the current function, but it borrows `self`, which is owned by the current function [INFO] [stdout] --> src/connection.rs:414:36 [INFO] [stdout] | [INFO] [stdout] 414 | let data = future::poll_fn(|cx| self.stream.poll_data(cx)) [INFO] [stdout] | ^^^^ ----------- `self` is borrowed here [INFO] [stdout] | | [INFO] [stdout] | may outlive borrowed value `self` [INFO] [stdout] | [INFO] [stdout] note: closure is returned here [INFO] [stdout] --> src/connection.rs:417:9 [INFO] [stdout] | [INFO] [stdout] 417 | Ok(data) [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] help: to force the closure to take ownership of `self` (and any other referenced variables), use the `move` keyword [INFO] [stdout] | [INFO] [stdout] 414 | let data = future::poll_fn(move |cx| self.stream.poll_data(cx)) [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0501]: cannot borrow `self` as immutable because previous closure requires unique access [INFO] [stdout] --> src/connection.rs:416:22 [INFO] [stdout] | [INFO] [stdout] 398 | pub async fn recv_data(&mut self) -> Result, Error> { [INFO] [stdout] | ------------------------------- return type of async function `std::result::Result, error::Error>` contains a lifetime `'1` [INFO] [stdout] ... [INFO] [stdout] 414 | let data = future::poll_fn(|cx| self.stream.poll_data(cx)) [INFO] [stdout] | ---- ----------- first borrow occurs due to use of `self` in closure [INFO] [stdout] | | [INFO] [stdout] | closure construction occurs here [INFO] [stdout] 415 | .await [INFO] [stdout] 416 | .map_err(|e| self.maybe_conn_err(e))?; [INFO] [stdout] | ^^^ ---- second borrow occurs due to use of `self` in closure [INFO] [stdout] | | [INFO] [stdout] | second borrow occurs here [INFO] [stdout] 417 | Ok(data) [INFO] [stdout] | -------- returning this value requires that `self` is borrowed for `'1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0373, E0501. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0373`. [INFO] [stdout] [INFO] [stderr] error: could not compile `httproxide-h3` (lib) due to 6 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "4d3e0862c082999baedb98cd93391506c42d8288c1dbdc86e54eba4c7e38d5ed", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4d3e0862c082999baedb98cd93391506c42d8288c1dbdc86e54eba4c7e38d5ed", kill_on_drop: false }` [INFO] [stdout] 4d3e0862c082999baedb98cd93391506c42d8288c1dbdc86e54eba4c7e38d5ed