[INFO] fetching crate generic-async-http-client 0.1.1... [INFO] checking generic-async-http-client-0.1.1 against master#5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f for pr-87248 [INFO] extracting crate generic-async-http-client 0.1.1 into /workspace/builds/worker-10/source [INFO] validating manifest of crates.io crate generic-async-http-client 0.1.1 on toolchain 5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate generic-async-http-client 0.1.1 [INFO] finished tweaking crates.io crate generic-async-http-client 0.1.1 [INFO] tweaked toml for crates.io crate generic-async-http-client 0.1.1 written to /workspace/builds/worker-10/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "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-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] dbe79207cbc97b089b6ae423d5b857c7c4d3d4039b22aa03d137c75cb335b261 [INFO] running `Command { std: "docker" "start" "-a" "dbe79207cbc97b089b6ae423d5b857c7c4d3d4039b22aa03d137c75cb335b261", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "dbe79207cbc97b089b6ae423d5b857c7c4d3d4039b22aa03d137c75cb335b261", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dbe79207cbc97b089b6ae423d5b857c7c4d3d4039b22aa03d137c75cb335b261", kill_on_drop: false }` [INFO] [stdout] dbe79207cbc97b089b6ae423d5b857c7c4d3d4039b22aa03d137c75cb335b261 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 856d6cd11038981cf82d70b8ed5dc0239c8ec9fff417e431bd446f18d8f7a4e3 [INFO] running `Command { std: "docker" "start" "-a" "856d6cd11038981cf82d70b8ed5dc0239c8ec9fff417e431bd446f18d8f7a4e3", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.74 [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Compiling memchr v2.4.0 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling futures-macro v0.3.16 [INFO] [stderr] Compiling futures-util v0.3.16 [INFO] [stderr] Compiling tokio v1.9.0 [INFO] [stderr] Checking crossbeam-utils v0.8.5 [INFO] [stderr] Checking socket2 v0.4.0 [INFO] [stderr] Compiling value-bag v1.0.0-alpha.7 [INFO] [stderr] Checking futures-lite v1.12.0 [INFO] [stderr] Checking blocking v1.0.2 [INFO] [stderr] Checking async-executor v1.4.1 [INFO] [stderr] Compiling ctor v0.1.20 [INFO] [stderr] Checking polling v2.1.0 [INFO] [stderr] Checking kv-log-macro v1.0.7 [INFO] [stderr] Checking mio v0.7.13 [INFO] [stderr] Checking async-io v1.6.0 [INFO] [stderr] Checking async-global-executor v2.0.2 [INFO] [stderr] Checking async-std v1.9.0 [INFO] [stderr] Checking futures-executor v0.3.16 [INFO] [stderr] Checking futures v0.3.16 [INFO] [stderr] Checking generic-async-http-client v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::fmt::Display` [INFO] [stdout] --> src/lib.rs:43:5 [INFO] [stdout] | [INFO] [stdout] 43 | use std::fmt::Display; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `t` [INFO] [stdout] --> src/header.rs:12:17 [INFO] [stdout] | [INFO] [stdout] 12 | fn try_from(t: &'a str) -> Result { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_t` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `t` [INFO] [stdout] --> src/header.rs:24:17 [INFO] [stdout] | [INFO] [stdout] 24 | fn try_from(t: &'a [u8]) -> Result { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_t` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `t` [INFO] [stdout] --> src/header.rs:36:17 [INFO] [stdout] | [INFO] [stdout] 36 | fn try_from(t: Vec) -> Result { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_t` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `other` [INFO] [stdout] --> src/header.rs:96:18 [INFO] [stdout] | [INFO] [stdout] 96 | fn eq(&self, other: &str) -> bool { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_other` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `t` [INFO] [stdout] --> src/header.rs:119:17 [INFO] [stdout] | [INFO] [stdout] 119 | fn try_from(t: &'a [u8]) -> Result { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_t` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `other` [INFO] [stdout] --> src/header.rs:177:18 [INFO] [stdout] | [INFO] [stdout] 177 | fn eq(&self, other: &str) -> bool { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_other` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `other` [INFO] [stdout] --> src/header.rs:189:18 [INFO] [stdout] | [INFO] [stdout] 189 | fn eq(&self, other: &[u8]) -> bool { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_other` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `TcpStream` in this scope [INFO] [stdout] --> src/lib.rs:273:41 [INFO] [stdout] | [INFO] [stdout] 273 | 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] 283 | use async_std::net::TcpStream; [INFO] [stdout] | [INFO] [stdout] 283 | use std::net::TcpStream; [INFO] [stdout] | [INFO] [stdout] 283 | 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:286:35 [INFO] [stdout] | [INFO] [stdout] 286 | 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] 283 | use async_std::net::TcpListener; [INFO] [stdout] | [INFO] [stdout] 283 | use std::net::TcpListener; [INFO] [stdout] | [INFO] [stdout] 283 | 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:299:9 [INFO] [stdout] | [INFO] [stdout] 299 | block_on(async { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 283 | 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:300:28 [INFO] [stdout] | [INFO] [stdout] 300 | 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] 283 | use async_std::net::TcpListener; [INFO] [stdout] | [INFO] [stdout] 283 | use std::net::TcpListener; [INFO] [stdout] | [INFO] [stdout] 283 | 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:301:21 [INFO] [stdout] | [INFO] [stdout] 301 | 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] 283 | use async_std::task::spawn; [INFO] [stdout] | [INFO] [stdout] 283 | use std::thread::spawn; [INFO] [stdout] | [INFO] [stdout] 283 | 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:313:35 [INFO] [stdout] | [INFO] [stdout] 313 | 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] 283 | use async_std::net::TcpListener; [INFO] [stdout] | [INFO] [stdout] 283 | use std::net::TcpListener; [INFO] [stdout] | [INFO] [stdout] 283 | 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:327:9 [INFO] [stdout] | [INFO] [stdout] 327 | block_on(async { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 283 | 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:328:28 [INFO] [stdout] | [INFO] [stdout] 328 | 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] 283 | use async_std::net::TcpListener; [INFO] [stdout] | [INFO] [stdout] 283 | use std::net::TcpListener; [INFO] [stdout] | [INFO] [stdout] 283 | 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:329:21 [INFO] [stdout] | [INFO] [stdout] 329 | 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] 283 | use async_std::task::spawn; [INFO] [stdout] | [INFO] [stdout] 283 | use std::thread::spawn; [INFO] [stdout] | [INFO] [stdout] 283 | use tokio::spawn; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fmt::Display` [INFO] [stdout] --> src/lib.rs:43:5 [INFO] [stdout] | [INFO] [stdout] 43 | use std::fmt::Display; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 9 previous errors; 1 warning emitted [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; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "856d6cd11038981cf82d70b8ed5dc0239c8ec9fff417e431bd446f18d8f7a4e3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "856d6cd11038981cf82d70b8ed5dc0239c8ec9fff417e431bd446f18d8f7a4e3", kill_on_drop: false }` [INFO] [stdout] 856d6cd11038981cf82d70b8ed5dc0239c8ec9fff417e431bd446f18d8f7a4e3