[INFO] fetching crate generic-async-http-client 0.5.1...
[INFO] checking generic-async-http-client-0.5.1 against master#39cb3386ddc6c71657418be28dbb3987eea4aa4b for pr-133536
[INFO] extracting crate generic-async-http-client 0.5.1 into /workspace/builds/worker-3-tc1/source
[INFO] validating manifest of crates.io crate generic-async-http-client 0.5.1 on toolchain 39cb3386ddc6c71657418be28dbb3987eea4aa4b
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+39cb3386ddc6c71657418be28dbb3987eea4aa4b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate generic-async-http-client 0.5.1
[INFO] finished tweaking crates.io crate generic-async-http-client 0.5.1
[INFO] tweaked toml for crates.io crate generic-async-http-client 0.5.1 written to /workspace/builds/worker-3-tc1/source/Cargo.toml
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+39cb3386ddc6c71657418be28dbb3987eea4aa4b" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]      Locking 267 packages to latest compatible versions
[INFO] [stderr]       Adding crypto-mac v0.10.0 (available: v0.10.1)
[INFO] [stderr]       Adding futures-rustls v0.25.1 (available: v0.26.0)
[INFO] [stderr]       Adding serde_qs v0.12.0 (available: v0.13.0)
[INFO] [stderr]       Adding tokio-rustls v0.25.0 (available: v0.26.0)
[INFO] [stderr]       Adding universal-hash v0.4.0 (available: v0.4.1)
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+39cb3386ddc6c71657418be28dbb3987eea4aa4b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded async-h1 v2.3.4
[INFO] [stderr]   Downloaded async-dup v1.2.4
[INFO] [stderr]   Downloaded futures-rustls v0.25.1
[INFO] [stderr]   Downloaded async-native-tls v0.5.0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+39cb3386ddc6c71657418be28dbb3987eea4aa4b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 00c1e936118de501e6725d51e1d9a6dd4610c2b9004ec999fcbcdb6a922a344b
[INFO] running `Command { std: "docker" "start" "-a" "00c1e936118de501e6725d51e1d9a6dd4610c2b9004ec999fcbcdb6a922a344b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "00c1e936118de501e6725d51e1d9a6dd4610c2b9004ec999fcbcdb6a922a344b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "00c1e936118de501e6725d51e1d9a6dd4610c2b9004ec999fcbcdb6a922a344b", kill_on_drop: false }`
[INFO] [stdout] 00c1e936118de501e6725d51e1d9a6dd4610c2b9004ec999fcbcdb6a922a344b
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+39cb3386ddc6c71657418be28dbb3987eea4aa4b" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 419befc281dd2b2dcb6c415d1483dac08426c57cbe20d0666be9ada9e555ac71
[INFO] running `Command { std: "docker" "start" "-a" "419befc281dd2b2dcb6c415d1483dac08426c57cbe20d0666be9ada9e555ac71", kill_on_drop: false }`
[INFO] [stderr]     Checking futures-io v0.3.31
[INFO] [stderr]     Checking parking v2.2.1
[INFO] [stderr]    Compiling rustix v0.38.41
[INFO] [stderr]     Checking tracing-core v0.1.33
[INFO] [stderr]     Checking concurrent-queue v2.5.0
[INFO] [stderr]    Compiling syn v2.0.90
[INFO] [stderr]     Checking futures-sink v0.3.31
[INFO] [stderr]     Checking linux-raw-sys v0.4.14
[INFO] [stderr]     Checking futures-channel v0.3.31
[INFO] [stderr]     Checking futures-lite v2.5.0
[INFO] [stderr]     Checking async-task v4.7.1
[INFO] [stderr]     Checking event-listener v5.3.1
[INFO] [stderr]     Checking atomic-waker v1.1.2
[INFO] [stderr]     Checking value-bag v1.10.0
[INFO] [stderr]     Checking tracing v0.1.41
[INFO] [stderr]     Checking event-listener v2.5.3
[INFO] [stderr]     Checking piper v0.2.4
[INFO] [stderr]     Checking tokio v1.41.1
[INFO] [stderr]     Checking async-channel v1.9.0
[INFO] [stderr]     Checking event-listener-strategy v0.5.2
[INFO] [stderr]     Checking async-channel v2.3.1
[INFO] [stderr]     Checking async-lock v3.4.0
[INFO] [stderr]     Checking log v0.4.22
[INFO] [stderr]     Checking kv-log-macro v1.0.7
[INFO] [stderr]     Checking blocking v1.6.1
[INFO] [stderr]     Checking async-executor v1.13.1
[INFO] [stderr]    Compiling futures-macro v0.3.31
[INFO] [stderr]    Compiling serde_derive v1.0.215
[INFO] [stderr]     Checking futures-util v0.3.31
[INFO] [stderr]     Checking polling v3.7.4
[INFO] [stderr]     Checking async-io v2.4.0
[INFO] [stderr]     Checking async-global-executor v2.4.1
[INFO] [stderr]     Checking async-std v1.13.0
[INFO] [stderr]     Checking serde v1.0.215
[INFO] [stderr]     Checking futures-executor v0.3.31
[INFO] [stderr]     Checking futures v0.3.31
[INFO] [stderr]     Checking generic-async-http-client v0.5.1 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0412]: cannot find type `TcpStream` in this scope
[INFO] [stdout]   --> src/lib.rs:98:22
[INFO] [stdout]    |
[INFO] [stdout] 98 |         stream: &mut TcpStream,
[INFO] [stdout]    |                      ^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these structs
[INFO] [stdout]    |
[INFO] [stdout] 113+     use std::net::TcpStream;
[INFO] [stdout]    |
[INFO] [stdout] 113+     use async_std::net::TcpStream;
[INFO] [stdout]    |
[INFO] [stdout] 113+     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:107:55
[INFO] [stdout]     |
[INFO] [stdout] 107 |     pub(crate) async fn listen_somewhere() -> Result<(TcpListener, u16, String), std::io::Error> {
[INFO] [stdout]     |                                                       ^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing one of these structs
[INFO] [stdout]     |
[INFO] [stdout] 113 +     use std::net::TcpListener;
[INFO] [stdout]     |
[INFO] [stdout] 113 +     use async_std::net::TcpListener;
[INFO] [stdout]     |
[INFO] [stdout] 113 +     use tokio::net::TcpListener;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TcpListener`
[INFO] [stdout]    --> src/lib.rs:108:24
[INFO] [stdout]     |
[INFO] [stdout] 108 |         let listener = TcpListener::bind("127.0.0.1:0").await?;
[INFO] [stdout]     |                        ^^^^^^^^^^^ use of undeclared type `TcpListener`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing one of these structs
[INFO] [stdout]     |
[INFO] [stdout] 113 +     use std::net::TcpListener;
[INFO] [stdout]     |
[INFO] [stdout] 113 +     use async_std::net::TcpListener;
[INFO] [stdout]     |
[INFO] [stdout] 113 +     use tokio::net::TcpListener;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `TcpListener` in this scope
[INFO] [stdout]    --> src/lib.rs:116:35
[INFO] [stdout]     |
[INFO] [stdout] 116 |         async fn server(listener: TcpListener, host: String, port: u16) -> std::io::Result<bool> {
[INFO] [stdout]     |                                   ^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing one of these structs
[INFO] [stdout]     |
[INFO] [stdout] 113 +     use std::net::TcpListener;
[INFO] [stdout]     |
[INFO] [stdout] 113 +     use async_std::net::TcpListener;
[INFO] [stdout]     |
[INFO] [stdout] 113 +     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:135:9
[INFO] [stdout]     |
[INFO] [stdout] 135 |         block_on(async {
[INFO] [stdout]     |         ^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing one of these functions
[INFO] [stdout]     |
[INFO] [stdout] 113 +     use async_std::task::block_on;
[INFO] [stdout]     |
[INFO] [stdout] 113 +     use futures::executor::block_on;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `spawn` in this scope
[INFO] [stdout]    --> src/lib.rs:138:21
[INFO] [stdout]     |
[INFO] [stdout] 138 |             let t = spawn(server(listener, host, port));
[INFO] [stdout]     |                     ^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing one of these functions
[INFO] [stdout]     |
[INFO] [stdout] 113 +     use std::thread::spawn;
[INFO] [stdout]     |
[INFO] [stdout] 113 +     use async_std::task::spawn;
[INFO] [stdout]     |
[INFO] [stdout] 113 +     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:151:35
[INFO] [stdout]     |
[INFO] [stdout] 151 |         async fn server(listener: TcpListener, host: String, port: u16) -> std::io::Result<bool> {
[INFO] [stdout]     |                                   ^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing one of these structs
[INFO] [stdout]     |
[INFO] [stdout] 113 +     use std::net::TcpListener;
[INFO] [stdout]     |
[INFO] [stdout] 113 +     use async_std::net::TcpListener;
[INFO] [stdout]     |
[INFO] [stdout] 113 +     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:183:9
[INFO] [stdout]     |
[INFO] [stdout] 183 |         block_on(async {
[INFO] [stdout]     |         ^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing one of these functions
[INFO] [stdout]     |
[INFO] [stdout] 113 +     use async_std::task::block_on;
[INFO] [stdout]     |
[INFO] [stdout] 113 +     use futures::executor::block_on;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `spawn` in this scope
[INFO] [stdout]    --> src/lib.rs:186:26
[INFO] [stdout]     |
[INFO] [stdout] 186 |             let server = spawn(server(listener, host, port));
[INFO] [stdout]     |                          ^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing one of these functions
[INFO] [stdout]     |
[INFO] [stdout] 113 +     use std::thread::spawn;
[INFO] [stdout]     |
[INFO] [stdout] 113 +     use async_std::task::spawn;
[INFO] [stdout]     |
[INFO] [stdout] 113 +     use tokio::spawn;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]   --> src/dummy/mod.rs:10:17
[INFO] [stdout]    |
[INFO] [stdout] 10 | pub struct Body(Vec<u8>);
[INFO] [stdout]    |            ---- ^^^^^^^
[INFO] [stdout]    |            |
[INFO] [stdout]    |            field in this struct
[INFO] [stdout]    |
[INFO] [stdout]    = help: consider removing this field
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]   --> src/dummy/mod.rs:14:24
[INFO] [stdout]    |
[INFO] [stdout] 14 | pub struct HeaderValue(Vec<u8>);
[INFO] [stdout]    |            ----------- ^^^^^^^
[INFO] [stdout]    |            |
[INFO] [stdout]    |            field in this struct
[INFO] [stdout]    |
[INFO] [stdout]    = help: consider removing this field
[INFO] [stdout]    = note: `HeaderValue` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[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` (lib test) due to 9 previous errors
[INFO] running `Command { std: "docker" "inspect" "419befc281dd2b2dcb6c415d1483dac08426c57cbe20d0666be9ada9e555ac71", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "419befc281dd2b2dcb6c415d1483dac08426c57cbe20d0666be9ada9e555ac71", kill_on_drop: false }`
[INFO] [stdout] 419befc281dd2b2dcb6c415d1483dac08426c57cbe20d0666be9ada9e555ac71
