[INFO] fetching crate generic-async-http-client 0.2.1... [INFO] testing generic-async-http-client-0.2.1 against try#722e1797249a965b6335aebd65d777f917e498f1 for pr-91031 [INFO] extracting crate generic-async-http-client 0.2.1 into /workspace/builds/worker-86/source [INFO] validating manifest of crates.io crate generic-async-http-client 0.2.1 on toolchain 722e1797249a965b6335aebd65d777f917e498f1 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+722e1797249a965b6335aebd65d777f917e498f1" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate generic-async-http-client 0.2.1 [INFO] finished tweaking crates.io crate generic-async-http-client 0.2.1 [INFO] tweaked toml for crates.io crate generic-async-http-client 0.2.1 written to /workspace/builds/worker-86/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+722e1797249a965b6335aebd65d777f917e498f1" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+722e1797249a965b6335aebd65d777f917e498f1" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded async-native-tls v0.3.3 [INFO] [stderr] Downloaded futures-rustls v0.22.0 [INFO] [stderr] Downloaded tokio-rustls v0.23.1 [INFO] [stderr] Downloaded rustls v0.20.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-86/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-86/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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+722e1797249a965b6335aebd65d777f917e498f1" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 410f668dcf575f2ae003ee2e951ced841b01d14a8f8e541f6fdceb33e682800f [INFO] running `Command { std: "docker" "start" "-a" "410f668dcf575f2ae003ee2e951ced841b01d14a8f8e541f6fdceb33e682800f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "410f668dcf575f2ae003ee2e951ced841b01d14a8f8e541f6fdceb33e682800f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "410f668dcf575f2ae003ee2e951ced841b01d14a8f8e541f6fdceb33e682800f", kill_on_drop: false }` [INFO] [stdout] 410f668dcf575f2ae003ee2e951ced841b01d14a8f8e541f6fdceb33e682800f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-86/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-86/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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+722e1797249a965b6335aebd65d777f917e498f1" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 039604fe0ae5a47043a16dad5f8534cbc205ef642947bfd6cc1a33e1611646bf [INFO] running `Command { std: "docker" "start" "-a" "039604fe0ae5a47043a16dad5f8534cbc205ef642947bfd6cc1a33e1611646bf", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro-hack v0.5.19 [INFO] [stderr] Compiling futures-core v0.3.17 [INFO] [stderr] Compiling futures-task v0.3.17 [INFO] [stderr] Compiling futures-channel v0.3.17 [INFO] [stderr] Compiling proc-macro-nested v0.1.7 [INFO] [stderr] Compiling futures-sink v0.3.17 [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Compiling pin-project-lite v0.2.7 [INFO] [stderr] Compiling slab v0.4.5 [INFO] [stderr] Compiling futures-io v0.3.17 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling futures-macro v0.3.17 [INFO] [stderr] Compiling futures-util v0.3.17 [INFO] [stderr] Compiling ctor v0.1.21 [INFO] [stderr] Compiling value-bag v1.0.0-alpha.8 [INFO] [stderr] Compiling futures-executor v0.3.17 [INFO] [stderr] Compiling futures v0.3.17 [INFO] [stderr] Compiling generic-async-http-client v0.2.1 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 6.95s [INFO] running `Command { std: "docker" "inspect" "039604fe0ae5a47043a16dad5f8534cbc205ef642947bfd6cc1a33e1611646bf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "039604fe0ae5a47043a16dad5f8534cbc205ef642947bfd6cc1a33e1611646bf", kill_on_drop: false }` [INFO] [stdout] 039604fe0ae5a47043a16dad5f8534cbc205ef642947bfd6cc1a33e1611646bf [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-86/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-86/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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+722e1797249a965b6335aebd65d777f917e498f1" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 79e614b6123c64b51dd0811f8e22b1db635159bafba9824cccb1fcebb7bf033d [INFO] running `Command { std: "docker" "start" "-a" "79e614b6123c64b51dd0811f8e22b1db635159bafba9824cccb1fcebb7bf033d", kill_on_drop: false }` [INFO] [stderr] Compiling cache-padded v1.1.1 [INFO] [stderr] Compiling event-listener v2.5.1 [INFO] [stderr] Compiling waker-fn v1.1.0 [INFO] [stderr] Compiling parking v2.0.0 [INFO] [stderr] Compiling fastrand v1.5.0 [INFO] [stderr] Compiling once_cell v1.8.0 [INFO] [stderr] Compiling async-task v4.0.3 [INFO] [stderr] Compiling atomic-waker v1.0.0 [INFO] [stderr] Compiling tokio v1.14.0 [INFO] [stderr] Compiling socket2 v0.4.2 [INFO] [stderr] Compiling polling v2.2.0 [INFO] [stderr] Compiling mio v0.7.14 [INFO] [stderr] Compiling kv-log-macro v1.0.7 [INFO] [stderr] Compiling concurrent-queue v1.2.2 [INFO] [stderr] Compiling async-mutex v1.4.0 [INFO] [stderr] Compiling async-lock v2.4.0 [INFO] [stderr] Compiling futures-lite v1.12.0 [INFO] [stderr] Compiling async-channel v1.6.1 [INFO] [stderr] Compiling async-executor v1.4.1 [INFO] [stderr] Compiling blocking v1.1.0 [INFO] [stderr] Compiling async-io v1.6.0 [INFO] [stderr] Compiling async-global-executor v2.0.2 [INFO] [stderr] Compiling async-std v1.10.0 [INFO] [stderr] Compiling generic-async-http-client v0.2.1 (/opt/rustwide/workdir) [INFO] [stdout] error[E0412]: cannot find type `TcpStream` in this scope [INFO] [stdout] --> src/lib.rs:279:52 [INFO] [stdout] | [INFO] [stdout] 279 | pub(crate) async fn assert_stream(stream: &mut TcpStream, should_be: &[u8]) -> std::io::Result<()> { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 292 | use async_std::net::TcpStream; [INFO] [stdout] | [INFO] [stdout] 292 | use std::net::TcpStream; [INFO] [stdout] | [INFO] [stdout] 292 | use tokio::net::TcpStream; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `TcpListener` in this scope [INFO] [stdout] --> src/lib.rs:295:35 [INFO] [stdout] | [INFO] [stdout] 295 | async fn server(listener: TcpListener) -> std::io::Result { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 292 | use async_std::net::TcpListener; [INFO] [stdout] | [INFO] [stdout] 292 | use std::net::TcpListener; [INFO] [stdout] | [INFO] [stdout] 292 | use tokio::net::TcpListener; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `block_on` in this scope [INFO] [stdout] --> src/lib.rs:318:9 [INFO] [stdout] | [INFO] [stdout] 318 | block_on(async { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 292 | use async_std::task::block_on; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TcpListener` [INFO] [stdout] --> src/lib.rs:319:28 [INFO] [stdout] | [INFO] [stdout] 319 | let listener = TcpListener::bind("127.0.0.1:4657").await?; [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 292 | use async_std::net::TcpListener; [INFO] [stdout] | [INFO] [stdout] 292 | use std::net::TcpListener; [INFO] [stdout] | [INFO] [stdout] 292 | use tokio::net::TcpListener; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `spawn` in this scope [INFO] [stdout] --> src/lib.rs:320:21 [INFO] [stdout] | [INFO] [stdout] 320 | let t = spawn(server(listener)); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 292 | use async_std::task::spawn; [INFO] [stdout] | [INFO] [stdout] 292 | use std::thread::spawn; [INFO] [stdout] | [INFO] [stdout] 292 | use tokio::spawn; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `TcpListener` in this scope [INFO] [stdout] --> src/lib.rs:333:35 [INFO] [stdout] | [INFO] [stdout] 333 | async fn server(listener: TcpListener) -> std::io::Result { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 292 | use async_std::net::TcpListener; [INFO] [stdout] | [INFO] [stdout] 292 | use std::net::TcpListener; [INFO] [stdout] | [INFO] [stdout] 292 | use tokio::net::TcpListener; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `block_on` in this scope [INFO] [stdout] --> src/lib.rs:353:9 [INFO] [stdout] | [INFO] [stdout] 353 | block_on(async { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 292 | use async_std::task::block_on; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TcpListener` [INFO] [stdout] --> src/lib.rs:354:28 [INFO] [stdout] | [INFO] [stdout] 354 | let listener = TcpListener::bind("127.0.0.1:5657").await?; [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 292 | use async_std::net::TcpListener; [INFO] [stdout] | [INFO] [stdout] 292 | use std::net::TcpListener; [INFO] [stdout] | [INFO] [stdout] 292 | use tokio::net::TcpListener; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `spawn` in this scope [INFO] [stdout] --> src/lib.rs:355:21 [INFO] [stdout] | [INFO] [stdout] 355 | let t = spawn(server(listener)); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 292 | use async_std::task::spawn; [INFO] [stdout] | [INFO] [stdout] 292 | use std::thread::spawn; [INFO] [stdout] | [INFO] [stdout] 292 | use tokio::spawn; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 9 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0425, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: could not compile `generic-async-http-client` due to 10 previous errors [INFO] running `Command { std: "docker" "inspect" "79e614b6123c64b51dd0811f8e22b1db635159bafba9824cccb1fcebb7bf033d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "79e614b6123c64b51dd0811f8e22b1db635159bafba9824cccb1fcebb7bf033d", kill_on_drop: false }` [INFO] [stdout] 79e614b6123c64b51dd0811f8e22b1db635159bafba9824cccb1fcebb7bf033d