[INFO] cloning repository https://github.com/xllgl2017/reqrio [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/xllgl2017/reqrio" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fxllgl2017%2Freqrio", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fxllgl2017%2Freqrio'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 0c06cf7fd28c74573d622ec7aa4345ee30493f87 [INFO] checking xllgl2017/reqrio/0c06cf7fd28c74573d622ec7aa4345ee30493f87 against master#0ee5907d597b02afadb5daa26a60fedb72f098d1 for pr-152856 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fxllgl2017%2Freqrio" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/xllgl2017/reqrio [INFO] finished tweaking git repo https://github.com/xllgl2017/reqrio [INFO] tweaked toml for git repo https://github.com/xllgl2017/reqrio written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/xllgl2017/reqrio on toolchain 0ee5907d597b02afadb5daa26a60fedb72f098d1 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+0ee5907d597b02afadb5daa26a60fedb72f098d1" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/xllgl2017/reqrio already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+0ee5907d597b02afadb5daa26a60fedb72f098d1" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded urlencoding v2.1.3 [INFO] [stderr] Downloaded httlib-huffman v0.3.4 [INFO] [stderr] Downloaded zmij v1.0.0 [INFO] [stderr] Downloaded httlib-hpack v0.1.3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:61361fe0aef631f17e9d025a70c5a647956f8c671dd02950a60ad3f5cc5526d7" "/opt/rustwide/cargo-home/bin/cargo" "+0ee5907d597b02afadb5daa26a60fedb72f098d1" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ce6bac98addc7afb51ccc0f25feac64d9e3d359b6f85032b99212a2b9a265958 [INFO] running `Command { std: "docker" "start" "-a" "ce6bac98addc7afb51ccc0f25feac64d9e3d359b6f85032b99212a2b9a265958", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ce6bac98addc7afb51ccc0f25feac64d9e3d359b6f85032b99212a2b9a265958", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ce6bac98addc7afb51ccc0f25feac64d9e3d359b6f85032b99212a2b9a265958", kill_on_drop: false }` [INFO] [stdout] ce6bac98addc7afb51ccc0f25feac64d9e3d359b6f85032b99212a2b9a265958 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:61361fe0aef631f17e9d025a70c5a647956f8c671dd02950a60ad3f5cc5526d7" "/opt/rustwide/cargo-home/bin/cargo" "+0ee5907d597b02afadb5daa26a60fedb72f098d1" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1114d0c68d2f7a630dec0c9f36004e74710df01b607973b8ac3cc8da4b4e1ec5 [INFO] running `Command { std: "docker" "start" "-a" "1114d0c68d2f7a630dec0c9f36004e74710df01b607973b8ac3cc8da4b4e1ec5", kill_on_drop: false }` [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Checking alloc-no-stdlib v2.0.4 [INFO] [stderr] Checking adler2 v2.0.1 [INFO] [stderr] Checking simd-adler32 v0.3.8 [INFO] [stderr] Checking equivalent v1.0.2 [INFO] [stderr] Compiling crc32fast v1.5.0 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling serde_json v1.0.149 [INFO] [stderr] Checking hashbrown v0.16.1 [INFO] [stderr] Compiling getrandom v0.4.1 [INFO] [stderr] Checking alloc-stdlib v0.2.2 [INFO] [stderr] Checking brotli-decompressor v5.0.0 [INFO] [stderr] Compiling reqtls v0.1.3 (/opt/rustwide/workdir/reqtls) [INFO] [stderr] Checking itoa v1.0.17 [INFO] [stderr] Checking miniz_oxide v0.8.9 [INFO] [stderr] Checking memchr v2.7.6 [INFO] [stderr] Checking zmij v1.0.0 [INFO] [stderr] Checking bytemuck v1.25.0 [INFO] [stderr] Checking hex v0.4.3 [INFO] [stderr] Checking urlencoding v2.1.3 [INFO] [stderr] Checking httlib-huffman v0.3.4 [INFO] [stderr] Checking flate2 v1.1.9 [INFO] [stderr] Checking indexmap v2.13.0 [INFO] [stderr] Checking httlib-hpack v0.1.3 [INFO] [stderr] Checking brotli v8.0.2 [INFO] [stderr] Checking reqrio-json v0.1.8 (/opt/rustwide/workdir/json) [INFO] [stderr] Checking reqrio v0.1.3 (/opt/rustwide/workdir/reqrio) [INFO] [stdout] error[E0433]: cannot find module or crate `tokio` in this scope [INFO] [stdout] --> reqrio/examples/async_h1.rs:3:3 [INFO] [stdout] | [INFO] [stdout] 3 | #[tokio::main] [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `tokio` in this scope [INFO] [stdout] --> reqrio/examples/async_server.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use tokio::io::{AsyncReadExt, AsyncWriteExt}; [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `tokio` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `tokio`, use `cargo add tokio` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `tokio` in this scope [INFO] [stdout] --> reqrio/examples/async_server.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use tokio::net::TcpListener; [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `tokio` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `tokio`, use `cargo add tokio` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `reqrio::TlsStream` [INFO] [stdout] --> reqrio/examples/async_server.rs:4:25 [INFO] [stdout] | [INFO] [stdout] 4 | use reqrio::{TlsConfig, TlsStream, ALPN}; [INFO] [stdout] | ^^^^^^^^^ no `TlsStream` in the root [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> reqrio/src/lib.rs:134:17 [INFO] [stdout] | [INFO] [stdout] 133 | #[cfg(feature = "aync")] [INFO] [stdout] | ---------------- the item is gated behind the `aync` feature [INFO] [stdout] 134 | pub use stream::TlsStream; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] help: a similar name exists in the module [INFO] [stdout] | [INFO] [stdout] 4 - use reqrio::{TlsConfig, TlsStream, ALPN}; [INFO] [stdout] 4 + use reqrio::{TlsConfig, stream, ALPN}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `tokio` in this scope [INFO] [stdout] --> reqrio/examples/async_server.rs:7:3 [INFO] [stdout] | [INFO] [stdout] 7 | #[tokio::main] [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `AcReq` in this scope [INFO] [stdout] --> reqrio/examples/async_h1.rs:13:19 [INFO] [stdout] | [INFO] [stdout] 13 | let mut req = AcReq::new() [INFO] [stdout] | ^^^^^ use of undeclared type `AcReq` [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 13 - let mut req = AcReq::new() [INFO] [stdout] 13 + let mut req = ScReq::new() [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0752]: `main` function is not allowed to be `async` [INFO] [stdout] --> reqrio/examples/async_h1.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | async fn main() { [INFO] [stdout] | ^^^^^^^^^^^^^^^ `main` function is not allowed to be `async` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `resp` [INFO] [stdout] --> reqrio/examples/sync_h1.rs:45:13 [INFO] [stdout] | [INFO] [stdout] 45 | let resp = req.get().unwrap(); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_resp` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `tokio` in this scope [INFO] [stdout] --> reqrio/examples/async_server.rs:26:13 [INFO] [stdout] | [INFO] [stdout] 26 | tokio::spawn(async move { [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `tokio` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `tokio`, use `cargo add tokio` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0752. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stdout] error[E0752]: `main` function is not allowed to be `async` [INFO] [stdout] --> reqrio/examples/async_server.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | async fn main() { [INFO] [stdout] | ^^^^^^^^^^^^^^^ `main` function is not allowed to be `async` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `reqrio` (example "async_h1") due to 3 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] Some errors have detailed explanations: E0432, E0433, E0752. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `reqrio` (example "async_server") due to 6 previous errors [INFO] running `Command { std: "docker" "inspect" "1114d0c68d2f7a630dec0c9f36004e74710df01b607973b8ac3cc8da4b4e1ec5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1114d0c68d2f7a630dec0c9f36004e74710df01b607973b8ac3cc8da4b4e1ec5", kill_on_drop: false }` [INFO] [stdout] 1114d0c68d2f7a630dec0c9f36004e74710df01b607973b8ac3cc8da4b4e1ec5