[INFO] fetching crate generic-async-http-client 0.2.1... [INFO] testing generic-async-http-client-0.2.1 against master#62efba8a050c64249dab942951bb28f710208bc8 for pr-90799 [INFO] extracting crate generic-async-http-client 0.2.1 into /workspace/builds/worker-93/source [INFO] validating manifest of crates.io crate generic-async-http-client 0.2.1 on toolchain 62efba8a050c64249dab942951bb28f710208bc8 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+62efba8a050c64249dab942951bb28f710208bc8" "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-93/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+62efba8a050c64249dab942951bb28f710208bc8" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+62efba8a050c64249dab942951bb28f710208bc8" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-93/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-93/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" "+62efba8a050c64249dab942951bb28f710208bc8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6a64a8592741f147270d1c87f8aae3a4a1a0fe631e3a7215ff1b0ab191296863 [INFO] running `Command { std: "docker" "start" "-a" "6a64a8592741f147270d1c87f8aae3a4a1a0fe631e3a7215ff1b0ab191296863", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6a64a8592741f147270d1c87f8aae3a4a1a0fe631e3a7215ff1b0ab191296863", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6a64a8592741f147270d1c87f8aae3a4a1a0fe631e3a7215ff1b0ab191296863", kill_on_drop: false }` [INFO] [stdout] 6a64a8592741f147270d1c87f8aae3a4a1a0fe631e3a7215ff1b0ab191296863 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-93/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-93/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" "+62efba8a050c64249dab942951bb28f710208bc8" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 538e2258f957bf3df8607195c3d567b8490ea9fb14ce9bdc57d31ba14cb8d362 [INFO] running `Command { std: "docker" "start" "-a" "538e2258f957bf3df8607195c3d567b8490ea9fb14ce9bdc57d31ba14cb8d362", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.82 [INFO] [stderr] Compiling futures-core v0.3.18 [INFO] [stderr] Compiling futures-channel v0.3.18 [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Compiling futures-util v0.3.18 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling futures-io v0.3.18 [INFO] [stderr] Compiling serde v1.0.130 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling proc-macro2 v1.0.32 [INFO] [stderr] Compiling value-bag v1.0.0-alpha.8 [INFO] [stderr] Compiling quote v1.0.10 [INFO] [stderr] Compiling futures-macro v0.3.18 [INFO] [stderr] Compiling ctor v0.1.21 [INFO] [stderr] Compiling futures-executor v0.3.18 [INFO] [stderr] Compiling futures v0.3.18 [INFO] [stderr] Compiling generic-async-http-client v0.2.1 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 12.50s [INFO] running `Command { std: "docker" "inspect" "538e2258f957bf3df8607195c3d567b8490ea9fb14ce9bdc57d31ba14cb8d362", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "538e2258f957bf3df8607195c3d567b8490ea9fb14ce9bdc57d31ba14cb8d362", kill_on_drop: false }` [INFO] [stdout] 538e2258f957bf3df8607195c3d567b8490ea9fb14ce9bdc57d31ba14cb8d362 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-93/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-93/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" "+62efba8a050c64249dab942951bb28f710208bc8" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 93be0957fb33e188be24baad8e757c43395197663c26c1acbc3b75870782ef43 [INFO] running `Command { std: "docker" "start" "-a" "93be0957fb33e188be24baad8e757c43395197663c26c1acbc3b75870782ef43", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling cache-padded v1.1.1 [INFO] [stderr] Compiling parking v2.0.0 [INFO] [stderr] Compiling event-listener v2.5.1 [INFO] [stderr] Compiling fastrand v1.5.0 [INFO] [stderr] Compiling waker-fn v1.1.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 crossbeam-utils v0.8.5 [INFO] [stderr] Compiling polling v2.2.0 [INFO] [stderr] Compiling kv-log-macro v1.0.7 [INFO] [stderr] Compiling mio v0.7.14 [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-io v1.6.0 [INFO] [stderr] Compiling async-executor v1.4.1 [INFO] [stderr] Compiling blocking v1.1.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" "93be0957fb33e188be24baad8e757c43395197663c26c1acbc3b75870782ef43", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "93be0957fb33e188be24baad8e757c43395197663c26c1acbc3b75870782ef43", kill_on_drop: false }` [INFO] [stdout] 93be0957fb33e188be24baad8e757c43395197663c26c1acbc3b75870782ef43