[INFO] fetching crate generic-async-http-client 0.3.0... [INFO] testing generic-async-http-client-0.3.0 against 1.60.0 for beta-1.61-1 [INFO] extracting crate generic-async-http-client 0.3.0 into /workspace/builds/worker-10/source [INFO] validating manifest of crates.io crate generic-async-http-client 0.3.0 on toolchain 1.60.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate generic-async-http-client 0.3.0 [INFO] finished tweaking crates.io crate generic-async-http-client 0.3.0 [INFO] tweaked toml for crates.io crate generic-async-http-client 0.3.0 written to /workspace/builds/worker-10/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded futures-rustls v0.22.1 [INFO] [stderr] Downloaded cookie_store v0.16.0 [INFO] [stderr] Downloaded serde_qs v0.9.1 [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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] ab516ade86b8bd9c3f57daf4058340597777c7615d3038d45a0f01c4d23ed686 [INFO] running `Command { std: "docker" "start" "-a" "ab516ade86b8bd9c3f57daf4058340597777c7615d3038d45a0f01c4d23ed686", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ab516ade86b8bd9c3f57daf4058340597777c7615d3038d45a0f01c4d23ed686", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ab516ade86b8bd9c3f57daf4058340597777c7615d3038d45a0f01c4d23ed686", kill_on_drop: false }` [INFO] [stdout] ab516ade86b8bd9c3f57daf4058340597777c7615d3038d45a0f01c4d23ed686 [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=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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] c37ab87d2bb157ebcc4e47f59d3e89ce12a6fb74dcfb3de0eea72dd72bac6037 [INFO] running `Command { std: "docker" "start" "-a" "c37ab87d2bb157ebcc4e47f59d3e89ce12a6fb74dcfb3de0eea72dd72bac6037", kill_on_drop: false }` [INFO] [stderr] Compiling futures-channel v0.3.21 [INFO] [stderr] Compiling futures-macro v0.3.21 [INFO] [stderr] Compiling serde v1.0.136 [INFO] [stderr] Compiling futures-util v0.3.21 [INFO] [stderr] Compiling futures-executor v0.3.21 [INFO] [stderr] Compiling futures v0.3.21 [INFO] [stderr] Compiling generic-async-http-client v0.3.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 14.40s [INFO] running `Command { std: "docker" "inspect" "c37ab87d2bb157ebcc4e47f59d3e89ce12a6fb74dcfb3de0eea72dd72bac6037", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c37ab87d2bb157ebcc4e47f59d3e89ce12a6fb74dcfb3de0eea72dd72bac6037", kill_on_drop: false }` [INFO] [stdout] c37ab87d2bb157ebcc4e47f59d3e89ce12a6fb74dcfb3de0eea72dd72bac6037 [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=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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 3d3caaa48c0782cfd8225b3c1d221d36ee3096d0e75a2337a0ccd34ecf42e423 [INFO] running `Command { std: "docker" "start" "-a" "3d3caaa48c0782cfd8225b3c1d221d36ee3096d0e75a2337a0ccd34ecf42e423", kill_on_drop: false }` [INFO] [stderr] Compiling mio v0.8.2 [INFO] [stderr] Compiling tokio v1.17.0 [INFO] [stderr] Compiling generic-async-http-client v0.3.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0412]: cannot find type `TcpStream` in this scope [INFO] [stdout] --> src/lib.rs:89:52 [INFO] [stdout] | [INFO] [stdout] 89 | 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] 107| use async_std::net::TcpStream; [INFO] [stdout] | [INFO] [stdout] 107| use std::net::TcpStream; [INFO] [stdout] | [INFO] [stdout] 107| 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:101:55 [INFO] [stdout] | [INFO] [stdout] 101 | 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 items [INFO] [stdout] | [INFO] [stdout] 107 | use async_std::net::TcpListener; [INFO] [stdout] | [INFO] [stdout] 107 | use std::net::TcpListener; [INFO] [stdout] | [INFO] [stdout] 107 | 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:102:24 [INFO] [stdout] | [INFO] [stdout] 102 | let listener = TcpListener::bind("127.0.0.1:0").await?; [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 107 | use async_std::net::TcpListener; [INFO] [stdout] | [INFO] [stdout] 107 | use std::net::TcpListener; [INFO] [stdout] | [INFO] [stdout] 107 | 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:110:35 [INFO] [stdout] | [INFO] [stdout] 110 | async fn server(listener: TcpListener, host: String, port: u16) -> 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] 107 | use async_std::net::TcpListener; [INFO] [stdout] | [INFO] [stdout] 107 | use std::net::TcpListener; [INFO] [stdout] | [INFO] [stdout] 107 | 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:133:9 [INFO] [stdout] | [INFO] [stdout] 133 | 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] 107 | use async_std::task::block_on; [INFO] [stdout] | [INFO] [stdout] 107 | 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:136:21 [INFO] [stdout] | [INFO] [stdout] 136 | let t = spawn(server(listener,host,port)); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 107 | use async_std::task::spawn; [INFO] [stdout] | [INFO] [stdout] 107 | use std::thread::spawn; [INFO] [stdout] | [INFO] [stdout] 107 | 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:149:35 [INFO] [stdout] | [INFO] [stdout] 149 | async fn server(listener: TcpListener, host: String, port: u16) -> 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] 107 | use async_std::net::TcpListener; [INFO] [stdout] | [INFO] [stdout] 107 | use std::net::TcpListener; [INFO] [stdout] | [INFO] [stdout] 107 | 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:169:9 [INFO] [stdout] | [INFO] [stdout] 169 | 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] 107 | use async_std::task::block_on; [INFO] [stdout] | [INFO] [stdout] 107 | 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:172:26 [INFO] [stdout] | [INFO] [stdout] 172 | let server = spawn(server(listener,host,port)); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 107 | use async_std::task::spawn; [INFO] [stdout] | [INFO] [stdout] 107 | use std::thread::spawn; [INFO] [stdout] | [INFO] [stdout] 107 | 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" "3d3caaa48c0782cfd8225b3c1d221d36ee3096d0e75a2337a0ccd34ecf42e423", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3d3caaa48c0782cfd8225b3c1d221d36ee3096d0e75a2337a0ccd34ecf42e423", kill_on_drop: false }` [INFO] [stdout] 3d3caaa48c0782cfd8225b3c1d221d36ee3096d0e75a2337a0ccd34ecf42e423