[INFO] fetching crate reqrio 0.2.0... [INFO] testing reqrio-0.2.0 against try#dec9417b8611e34e787a3e4c37686b5131f9e5c5 for pr-154210-2 [INFO] extracting crate reqrio 0.2.0 into /workspace/builds/worker-0-tc2/source [INFO] started tweaking crates.io crate reqrio 0.2.0 [INFO] removed 0 missing examples [INFO] finished tweaking crates.io crate reqrio 0.2.0 [INFO] tweaked toml for crates.io crate reqrio 0.2.0 written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate reqrio 0.2.0 on toolchain dec9417b8611e34e787a3e4c37686b5131f9e5c5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate reqrio 0.2.0 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" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f8a60ca1c0ce2eb1547c5c70e770fb13b53a7ccd9450516e7727a908620a6c70 [INFO] running `Command { std: "docker" "start" "-a" "f8a60ca1c0ce2eb1547c5c70e770fb13b53a7ccd9450516e7727a908620a6c70", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f8a60ca1c0ce2eb1547c5c70e770fb13b53a7ccd9450516e7727a908620a6c70", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f8a60ca1c0ce2eb1547c5c70e770fb13b53a7ccd9450516e7727a908620a6c70", kill_on_drop: false }` [INFO] [stdout] f8a60ca1c0ce2eb1547c5c70e770fb13b53a7ccd9450516e7727a908620a6c70 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b4189a9478360b0e65da99fef876cbb6590a0e69fc7b669f8d246c0f3c46c713 [INFO] running `Command { std: "docker" "start" "-a" "b4189a9478360b0e65da99fef876cbb6590a0e69fc7b669f8d246c0f3c46c713", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.178 [INFO] [stderr] Compiling getrandom v0.4.1 [INFO] [stderr] Compiling serde_json v1.0.149 [INFO] [stderr] Compiling memchr v2.7.6 [INFO] [stderr] Compiling reqtls v0.2.0 [INFO] [stderr] Compiling zmij v1.0.0 [INFO] [stderr] Compiling urlencoding v2.1.3 [INFO] [stderr] Compiling bytemuck v1.25.0 [INFO] [stderr] Compiling brotli v8.0.2 [INFO] [stderr] Compiling reqrio-json v0.1.11 [INFO] [stderr] Compiling reqrio v0.2.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 10.82s [INFO] running `Command { std: "docker" "inspect" "b4189a9478360b0e65da99fef876cbb6590a0e69fc7b669f8d246c0f3c46c713", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b4189a9478360b0e65da99fef876cbb6590a0e69fc7b669f8d246c0f3c46c713", kill_on_drop: false }` [INFO] [stdout] b4189a9478360b0e65da99fef876cbb6590a0e69fc7b669f8d246c0f3c46c713 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e7086583ff1c6180c09ab65a5870ddafd814b05bce1a6a45ea27fb8efbecfd16 [INFO] running `Command { std: "docker" "start" "-a" "e7086583ff1c6180c09ab65a5870ddafd814b05bce1a6a45ea27fb8efbecfd16", kill_on_drop: false }` [INFO] [stderr] Compiling reqrio v0.2.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: cannot find module or crate `tokio` in this scope [INFO] [stdout] --> 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] --> 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] --> 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] --> examples/async_server.rs:4:28 [INFO] [stdout] | [INFO] [stdout] 4 | use reqrio::{ServerConfig, TlsStream, ALPN}; [INFO] [stdout] | ^^^^^^^^^ no `TlsStream` in the root [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/lib.rs:149:17 [INFO] [stdout] | [INFO] [stdout] 148 | #[cfg(feature = "aync")] [INFO] [stdout] | ---------------- the item is gated behind the `aync` feature [INFO] [stdout] 149 | pub use stream::TlsStream; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] help: a similar name exists in the module [INFO] [stdout] | [INFO] [stdout] 4 - use reqrio::{ServerConfig, TlsStream, ALPN}; [INFO] [stdout] 4 + use reqrio::{ServerConfig, stream, ALPN}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `AcReq` in this scope [INFO] [stdout] --> 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] --> 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] error[E0433]: cannot find module or crate `tokio` in this scope [INFO] [stdout] --> 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] 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] warning: unused variable: `i` [INFO] [stdout] --> examples/sync_h1.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 6 | for i in 0..100 { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `res` [INFO] [stdout] --> examples/sync_h1.rs:58:13 [INFO] [stdout] | [INFO] [stdout] 58 | let res = req.get().unwrap(); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_res` [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] error[E0433]: cannot find module or crate `tokio` in this scope [INFO] [stdout] --> 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] error[E0752]: `main` function is not allowed to be `async` [INFO] [stdout] --> 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] [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" "e7086583ff1c6180c09ab65a5870ddafd814b05bce1a6a45ea27fb8efbecfd16", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e7086583ff1c6180c09ab65a5870ddafd814b05bce1a6a45ea27fb8efbecfd16", kill_on_drop: false }` [INFO] [stdout] e7086583ff1c6180c09ab65a5870ddafd814b05bce1a6a45ea27fb8efbecfd16