[INFO] fetching crate generic-async-http-client 0.1.1... [INFO] checking generic-async-http-client-0.1.1 against master#8007b506ac5da629f223b755f5a5391edd5f6d01 for pr-88041 [INFO] extracting crate generic-async-http-client 0.1.1 into /workspace/builds/worker-44/source [INFO] validating manifest of crates.io crate generic-async-http-client 0.1.1 on toolchain 8007b506ac5da629f223b755f5a5391edd5f6d01 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8007b506ac5da629f223b755f5a5391edd5f6d01" "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-44/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8007b506ac5da629f223b755f5a5391edd5f6d01" "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" "+8007b506ac5da629f223b755f5a5391edd5f6d01" "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] [stderr] Downloading crates ... [INFO] [stderr] Downloaded psl-types v2.0.7 [INFO] [stderr] Downloaded cookie v0.15.1 [INFO] [stderr] Downloaded simple-mutex v1.1.5 [INFO] [stderr] Downloaded async-dup v1.2.2 [INFO] [stderr] Downloaded byte-pool v0.2.3 [INFO] [stderr] Downloaded publicsuffix v2.1.0 [INFO] [stderr] Downloaded cookie_store v0.15.0 [INFO] [stderr] Downloaded async-rustls v0.2.0 [INFO] [stderr] Downloaded async-h1 v2.3.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-44/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-44/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" "+8007b506ac5da629f223b755f5a5391edd5f6d01" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9f05711f3b1ed900262aacd7ae43cc265473626dcc6fd1c0c71d24b72982a157 [INFO] running `Command { std: "docker" "start" "-a" "9f05711f3b1ed900262aacd7ae43cc265473626dcc6fd1c0c71d24b72982a157", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9f05711f3b1ed900262aacd7ae43cc265473626dcc6fd1c0c71d24b72982a157", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9f05711f3b1ed900262aacd7ae43cc265473626dcc6fd1c0c71d24b72982a157", kill_on_drop: false }` [INFO] [stdout] 9f05711f3b1ed900262aacd7ae43cc265473626dcc6fd1c0c71d24b72982a157 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-44/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-44/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" "+8007b506ac5da629f223b755f5a5391edd5f6d01" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 51abd78b6667745103a0e9ecf06b018bcab030c50bb8a6287ccceefeb4994f2c [INFO] running `Command { std: "docker" "start" "-a" "51abd78b6667745103a0e9ecf06b018bcab030c50bb8a6287ccceefeb4994f2c", 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 syn v1.0.74 [INFO] [stderr] Compiling futures-core v0.3.16 [INFO] [stderr] Compiling memchr v2.4.0 [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Checking pin-project-lite v0.2.7 [INFO] [stderr] Checking futures-io v0.3.16 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling libc v0.2.99 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Checking slab v0.4.4 [INFO] [stderr] Checking cache-padded v1.1.1 [INFO] [stderr] Compiling proc-macro-hack v0.5.19 [INFO] [stderr] Checking parking v2.0.0 [INFO] [stderr] Checking event-listener v2.5.1 [INFO] [stderr] Compiling futures-task v0.3.16 [INFO] [stderr] Compiling proc-macro-nested v0.1.7 [INFO] [stderr] Checking waker-fn v1.1.0 [INFO] [stderr] Checking fastrand v1.5.0 [INFO] [stderr] Compiling futures-channel v0.3.16 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Checking futures-sink v0.3.16 [INFO] [stderr] Checking once_cell v1.8.0 [INFO] [stderr] Checking async-task v4.0.3 [INFO] [stderr] Compiling crossbeam-utils v0.8.5 [INFO] [stderr] Checking atomic-waker v1.0.0 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking concurrent-queue v1.2.2 [INFO] [stderr] Checking async-mutex v1.4.0 [INFO] [stderr] Checking async-lock v2.4.0 [INFO] [stderr] Compiling value-bag v1.0.0-alpha.7 [INFO] [stderr] Compiling futures-macro v0.3.16 [INFO] [stderr] Compiling futures-util v0.3.16 [INFO] [stderr] Compiling tokio v1.10.0 [INFO] [stderr] Checking async-channel v1.6.1 [INFO] [stderr] Checking futures-lite v1.12.0 [INFO] [stderr] Checking socket2 v0.4.1 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking async-executor v1.4.1 [INFO] [stderr] Checking blocking v1.0.2 [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" "51abd78b6667745103a0e9ecf06b018bcab030c50bb8a6287ccceefeb4994f2c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "51abd78b6667745103a0e9ecf06b018bcab030c50bb8a6287ccceefeb4994f2c", kill_on_drop: false }` [INFO] [stdout] 51abd78b6667745103a0e9ecf06b018bcab030c50bb8a6287ccceefeb4994f2c