[INFO] fetching crate generic-async-http-client 0.2.1... [INFO] testing generic-async-http-client-0.2.1 against 1.59.0 for beta-1.60-1 [INFO] extracting crate generic-async-http-client 0.2.1 into /workspace/builds/worker-25/source [INFO] validating manifest of crates.io crate generic-async-http-client 0.2.1 on toolchain 1.59.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.59.0" "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-25/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.59.0" "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" "+1.59.0" "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-25/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-25/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+1.59.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2c2b551a60e865c65fa238d250ddc34e740b55c0f47bb146d3f7c17d76cba85e [INFO] running `Command { std: "docker" "start" "-a" "2c2b551a60e865c65fa238d250ddc34e740b55c0f47bb146d3f7c17d76cba85e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2c2b551a60e865c65fa238d250ddc34e740b55c0f47bb146d3f7c17d76cba85e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2c2b551a60e865c65fa238d250ddc34e740b55c0f47bb146d3f7c17d76cba85e", kill_on_drop: false }` [INFO] [stdout] 2c2b551a60e865c65fa238d250ddc34e740b55c0f47bb146d3f7c17d76cba85e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-25/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-25/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=warn" "-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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+1.59.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 12da6c390e4706cdf9befc97bd98e9db8f55988ee571a8329408fe59d4be9bcc [INFO] running `Command { std: "docker" "start" "-a" "12da6c390e4706cdf9befc97bd98e9db8f55988ee571a8329408fe59d4be9bcc", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.86 [INFO] [stderr] Compiling futures-core v0.3.21 [INFO] [stderr] Compiling futures-task v0.3.21 [INFO] [stderr] Compiling futures-channel v0.3.21 [INFO] [stderr] Compiling futures-util v0.3.21 [INFO] [stderr] Compiling futures-sink v0.3.21 [INFO] [stderr] Compiling futures-io v0.3.21 [INFO] [stderr] Compiling pin-project-lite v0.2.8 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling value-bag v1.0.0-alpha.8 [INFO] [stderr] Compiling futures-macro v0.3.21 [INFO] [stderr] Compiling ctor v0.1.21 [INFO] [stderr] Compiling futures-executor v0.3.21 [INFO] [stderr] Compiling futures v0.3.21 [INFO] [stderr] Compiling generic-async-http-client v0.2.1 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 9.69s [INFO] running `Command { std: "docker" "inspect" "12da6c390e4706cdf9befc97bd98e9db8f55988ee571a8329408fe59d4be9bcc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "12da6c390e4706cdf9befc97bd98e9db8f55988ee571a8329408fe59d4be9bcc", kill_on_drop: false }` [INFO] [stdout] 12da6c390e4706cdf9befc97bd98e9db8f55988ee571a8329408fe59d4be9bcc [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-25/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-25/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=warn" "-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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+1.59.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9f585a8e17db8d803ad41ed73697188c634cf98ce319f3abb9e42c98d7a45813 [INFO] running `Command { std: "docker" "start" "-a" "9f585a8e17db8d803ad41ed73697188c634cf98ce319f3abb9e42c98d7a45813", kill_on_drop: false }` [INFO] [stderr] Compiling cache-padded v1.2.0 [INFO] [stderr] Compiling event-listener v2.5.2 [INFO] [stderr] Compiling waker-fn v1.1.0 [INFO] [stderr] Compiling parking v2.0.0 [INFO] [stderr] Compiling async-task v4.1.0 [INFO] [stderr] Compiling atomic-waker v1.0.0 [INFO] [stderr] Compiling crossbeam-utils v0.8.7 [INFO] [stderr] Compiling socket2 v0.4.4 [INFO] [stderr] Compiling num_cpus v1.13.1 [INFO] [stderr] Compiling polling v2.2.0 [INFO] [stderr] Compiling mio v0.8.0 [INFO] [stderr] Compiling kv-log-macro v1.0.7 [INFO] [stderr] Compiling concurrent-queue v1.2.2 [INFO] [stderr] Compiling futures-lite v1.12.0 [INFO] [stderr] Compiling async-mutex v1.4.0 [INFO] [stderr] Compiling async-lock v2.5.0 [INFO] [stderr] Compiling async-channel v1.6.1 [INFO] [stderr] Compiling tokio v1.17.0 [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 one of these items [INFO] [stdout] | [INFO] [stdout] 292 | use async_std::task::block_on; [INFO] [stdout] | [INFO] [stdout] 292 | use futures::executor::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 one of these items [INFO] [stdout] | [INFO] [stdout] 292 | use async_std::task::block_on; [INFO] [stdout] | [INFO] [stdout] 292 | use futures::executor::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" "9f585a8e17db8d803ad41ed73697188c634cf98ce319f3abb9e42c98d7a45813", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9f585a8e17db8d803ad41ed73697188c634cf98ce319f3abb9e42c98d7a45813", kill_on_drop: false }` [INFO] [stdout] 9f585a8e17db8d803ad41ed73697188c634cf98ce319f3abb9e42c98d7a45813