[INFO] fetching crate picoserve 0.16.0... [INFO] testing picoserve-0.16.0 against try#8de4c7234dd9b97c9d76b58671343fdbbc9a433e+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_with_libc_patch_0 [INFO] extracting crate picoserve 0.16.0 into /workspace/builds/worker-2-tc1/source [INFO] started tweaking crates.io crate picoserve 0.16.0 [INFO] finished tweaking crates.io crate picoserve 0.16.0 [INFO] tweaked toml for crates.io crate picoserve 0.16.0 written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate picoserve 0.16.0 on toolchain 8de4c7234dd9b97c9d76b58671343fdbbc9a433e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 90 packages to latest compatible versions [INFO] [stderr] Adding defmt v0.3.100 (available: v1.0.1) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded const-sha1 v0.3.0 [INFO] [stderr] Downloaded picoserve_derive v0.1.3 [INFO] [stderr] Downloaded lhash v1.1.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 70f00f3d14716f0ea684a21e02c60761dc2df67ae4943c3eda22c2cdd83e6fe2 [INFO] running `Command { std: "docker" "start" "-a" "70f00f3d14716f0ea684a21e02c60761dc2df67ae4943c3eda22c2cdd83e6fe2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "70f00f3d14716f0ea684a21e02c60761dc2df67ae4943c3eda22c2cdd83e6fe2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "70f00f3d14716f0ea684a21e02c60761dc2df67ae4943c3eda22c2cdd83e6fe2", kill_on_drop: false }` [INFO] [stdout] 70f00f3d14716f0ea684a21e02c60761dc2df67ae4943c3eda22c2cdd83e6fe2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "build" "--frozen" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 60542146ec38a7c3788d9baa8a7b796449c7bab8249c0b869192cf3353d573e2 [INFO] running `Command { std: "docker" "start" "-a" "60542146ec38a7c3788d9baa8a7b796449c7bab8249c0b869192cf3353d573e2", kill_on_drop: false }` [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling heapless v0.8.0 [INFO] [stderr] Compiling embedded-io-async v0.6.1 [INFO] [stderr] Compiling thiserror v2.0.12 [INFO] [stderr] Compiling thiserror-impl v2.0.12 [INFO] [stderr] Compiling futures-core v0.3.31 [INFO] [stderr] Compiling embedded-io v0.6.1 [INFO] [stderr] Compiling futures-task v0.3.31 [INFO] [stderr] Compiling picoserve_derive v0.1.3 [INFO] [stderr] Compiling data-encoding v2.9.0 [INFO] [stderr] Compiling lhash v1.1.0 [INFO] [stderr] Compiling hash32 v0.3.1 [INFO] [stderr] Compiling const-sha1 v0.3.0 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling serde-json-core v0.6.0 [INFO] [stderr] Compiling picoserve v0.16.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/request.rs:728:24 [INFO] [stdout] | [INFO] [stdout] 728 | async fn read_line(&mut self) -> Result> { [INFO] [stdout] | ^^^^^^^^^ -------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 728 | async fn read_line(&mut self) -> Result, ReadError> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/request.rs:748:32 [INFO] [stdout] | [INFO] [stdout] 748 | async fn read_request_line(&mut self) -> Result, ReadError> { [INFO] [stdout] | ^^^^^^^^^ -------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 748 | async fn read_request_line(&mut self) -> Result>, ReadError> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/request.rs:783:27 [INFO] [stdout] | [INFO] [stdout] 783 | async fn read_headers(&mut self) -> Result> { [INFO] [stdout] | ^^^^^^^^^ -------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 783 | async fn read_headers(&mut self) -> Result, ReadError> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 17.14s [INFO] running `Command { std: "docker" "inspect" "60542146ec38a7c3788d9baa8a7b796449c7bab8249c0b869192cf3353d573e2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "60542146ec38a7c3788d9baa8a7b796449c7bab8249c0b869192cf3353d573e2", kill_on_drop: false }` [INFO] [stdout] 60542146ec38a7c3788d9baa8a7b796449c7bab8249c0b869192cf3353d573e2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--no-run" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] dead44bb68baee0b1d5edd36c2d0cf657f74ffb9c22bcd0cdce7785162a7acbf [INFO] running `Command { std: "docker" "start" "-a" "dead44bb68baee0b1d5edd36c2d0cf657f74ffb9c22bcd0cdce7785162a7acbf", kill_on_drop: false }` [INFO] [stderr] Compiling bytes v1.10.1 [INFO] [stderr] Compiling embedded-io-async v0.6.1 [INFO] [stderr] Compiling httparse v1.10.1 [INFO] [stderr] Compiling embedded-io v0.6.1 [INFO] [stderr] Compiling try-lock v0.2.5 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling mio v1.0.4 [INFO] [stderr] Compiling socket2 v0.5.10 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling want v0.3.1 [INFO] [stderr] Compiling http v1.3.1 [INFO] [stderr] Compiling tokio v1.45.1 [INFO] [stderr] Compiling picoserve v0.16.0 (/opt/rustwide/workdir) [INFO] [stderr] Compiling http-body v1.0.1 [INFO] [stderr] Compiling http-body-util v0.1.3 [INFO] [stderr] Compiling hyper v1.6.0 [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `std` [INFO] [stdout] --> src/tests.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{ [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `std` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `std`, use `cargo add std` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `alloc` [INFO] [stdout] --> src/tests.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use alloc::borrow::ToOwned; [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `alloc` [INFO] [stdout] | [INFO] [stdout] = help: add `extern crate alloc` to use the `alloc` crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `std` [INFO] [stdout] --> src/tests.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{ [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `std` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `std`, use `cargo add std` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `std` [INFO] [stdout] --> src/tests.rs:252:19 [INFO] [stdout] | [INFO] [stdout] 252 | let request = std::pin::pin!(request_sender.send_request(request)); [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `std` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `std` [INFO] [stdout] --> src/tests.rs:230:18 [INFO] [stdout] | [INFO] [stdout] 230 | let server = std::pin::pin!(serve_and_shutdown( [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `std` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `std` [INFO] [stdout] --> src/tests.rs:46:38 [INFO] [stdout] | [INFO] [stdout] 46 | channel: mpsc::UnboundedReceiver>, [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `std` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `std`, use `cargo add std` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `std` [INFO] [stdout] --> src/tests.rs:108:37 [INFO] [stdout] | [INFO] [stdout] 108 | struct PipeTx(mpsc::UnboundedSender>); [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `std` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `std`, use `cargo add std` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `std` [INFO] [stdout] --> src/io.rs:129:33 [INFO] [stdout] | [INFO] [stdout] 129 | pub struct TokioIoError(pub std::io::Error); [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `std` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `std`, use `cargo add std` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing one of these modules [INFO] [stdout] | [INFO] [stdout] 126 + use crate::io; [INFO] [stdout] | [INFO] [stdout] 126 + use tokio::io; [INFO] [stdout] | [INFO] [stdout] help: if you import `io`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 129 - pub struct TokioIoError(pub std::io::Error); [INFO] [stdout] 129 + pub struct TokioIoError(pub io::Error); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `std` [INFO] [stdout] --> src/time.rs:39:21 [INFO] [stdout] | [INFO] [stdout] 39 | type Duration = std::time::Duration; [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `std` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `std`, use `cargo add std` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing one of these modules [INFO] [stdout] | [INFO] [stdout] 3 + use core::time; [INFO] [stdout] | [INFO] [stdout] 3 + use tokio::time; [INFO] [stdout] | [INFO] [stdout] help: if you import `time`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 39 - type Duration = std::time::Duration; [INFO] [stdout] 39 + type Duration = time::Duration; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `std` [INFO] [stdout] --> src/tests.rs:76:26 [INFO] [stdout] | [INFO] [stdout] 76 | ) -> Poll> { [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `std` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `std`, use `cargo add std` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing one of these modules [INFO] [stdout] | [INFO] [stdout] 1 + use crate::io; [INFO] [stdout] | [INFO] [stdout] 1 + use tokio::io; [INFO] [stdout] | [INFO] [stdout] help: if you import `io`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 76 - ) -> Poll> { [INFO] [stdout] 76 + ) -> Poll> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `std` [INFO] [stdout] --> src/tests.rs:93:46 [INFO] [stdout] | [INFO] [stdout] 93 | &mut *(buf.as_mut() as *mut [std::mem::MaybeUninit] as *mut [u8]) [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `std` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `std`, use `cargo add std` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 1 + use core::mem; [INFO] [stdout] | [INFO] [stdout] help: if you import `mem`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 93 - &mut *(buf.as_mut() as *mut [std::mem::MaybeUninit] as *mut [u8]) [INFO] [stdout] 93 + &mut *(buf.as_mut() as *mut [mem::MaybeUninit] as *mut [u8]) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `std` [INFO] [stdout] --> src/tests.rs:127:29 [INFO] [stdout] | [INFO] [stdout] 127 | ) -> Poll> { [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `std` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `std`, use `cargo add std` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing one of these modules [INFO] [stdout] | [INFO] [stdout] 1 + use crate::io; [INFO] [stdout] | [INFO] [stdout] 1 + use tokio::io; [INFO] [stdout] | [INFO] [stdout] help: if you import `io`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 127 - ) -> Poll> { [INFO] [stdout] 127 + ) -> Poll> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `std` [INFO] [stdout] --> src/tests.rs:133:83 [INFO] [stdout] | [INFO] [stdout] 133 | fn poll_flush(self: Pin<&mut Self>, _cx: &mut Context<'_>) -> Poll> { [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `std` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `std`, use `cargo add std` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing one of these modules [INFO] [stdout] | [INFO] [stdout] 1 + use crate::io; [INFO] [stdout] | [INFO] [stdout] 1 + use tokio::io; [INFO] [stdout] | [INFO] [stdout] help: if you import `io`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 133 - fn poll_flush(self: Pin<&mut Self>, _cx: &mut Context<'_>) -> Poll> { [INFO] [stdout] 133 + fn poll_flush(self: Pin<&mut Self>, _cx: &mut Context<'_>) -> Poll> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `std` [INFO] [stdout] --> src/tests.rs:140:26 [INFO] [stdout] | [INFO] [stdout] 140 | ) -> Poll> { [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `std` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `std`, use `cargo add std` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing one of these modules [INFO] [stdout] | [INFO] [stdout] 1 + use crate::io; [INFO] [stdout] | [INFO] [stdout] 1 + use tokio::io; [INFO] [stdout] | [INFO] [stdout] help: if you import `io`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 140 - ) -> Poll> { [INFO] [stdout] 140 + ) -> Poll> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `std` [INFO] [stdout] --> src/tests.rs:151:30 [INFO] [stdout] | [INFO] [stdout] 151 | current: VecRead(std::vec::Vec::new()), [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `std` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `std`, use `cargo add std` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use heapless::Vec; [INFO] [stdout] | [INFO] [stdout] help: if you import `Vec`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 151 - current: VecRead(std::vec::Vec::new()), [INFO] [stdout] 151 + current: VecRead(Vec::new()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `std` [INFO] [stdout] --> src/tests.rs:188:26 [INFO] [stdout] | [INFO] [stdout] 188 | ) -> Poll> { [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `std` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `std`, use `cargo add std` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing one of these modules [INFO] [stdout] | [INFO] [stdout] 1 + use crate::io; [INFO] [stdout] | [INFO] [stdout] 1 + use tokio::io; [INFO] [stdout] | [INFO] [stdout] help: if you import `io`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 188 - ) -> Poll> { [INFO] [stdout] 188 + ) -> Poll> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `std` [INFO] [stdout] --> src/tests.rs:198:29 [INFO] [stdout] | [INFO] [stdout] 198 | ) -> Poll> { [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `std` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `std`, use `cargo add std` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing one of these modules [INFO] [stdout] | [INFO] [stdout] 1 + use crate::io; [INFO] [stdout] | [INFO] [stdout] 1 + use tokio::io; [INFO] [stdout] | [INFO] [stdout] help: if you import `io`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 198 - ) -> Poll> { [INFO] [stdout] 198 + ) -> Poll> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `std` [INFO] [stdout] --> src/tests.rs:202:82 [INFO] [stdout] | [INFO] [stdout] 202 | fn poll_flush(self: Pin<&mut Self>, cx: &mut Context<'_>) -> Poll> { [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `std` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `std`, use `cargo add std` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing one of these modules [INFO] [stdout] | [INFO] [stdout] 1 + use crate::io; [INFO] [stdout] | [INFO] [stdout] 1 + use tokio::io; [INFO] [stdout] | [INFO] [stdout] help: if you import `io`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 202 - fn poll_flush(self: Pin<&mut Self>, cx: &mut Context<'_>) -> Poll> { [INFO] [stdout] 202 + fn poll_flush(self: Pin<&mut Self>, cx: &mut Context<'_>) -> Poll> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `std` [INFO] [stdout] --> src/tests.rs:209:26 [INFO] [stdout] | [INFO] [stdout] 209 | ) -> Poll> { [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `std` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `std`, use `cargo add std` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing one of these modules [INFO] [stdout] | [INFO] [stdout] 1 + use crate::io; [INFO] [stdout] | [INFO] [stdout] 1 + use tokio::io; [INFO] [stdout] | [INFO] [stdout] help: if you import `io`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 209 - ) -> Poll> { [INFO] [stdout] 209 + ) -> Poll> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `std` [INFO] [stdout] --> src/tests.rs:492:17 [INFO] [stdout] | [INFO] [stdout] 492 | tx: std::vec::Vec::new(), [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `std` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `std`, use `cargo add std` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use heapless::Vec; [INFO] [stdout] | [INFO] [stdout] help: if you import `Vec`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 492 - tx: std::vec::Vec::new(), [INFO] [stdout] 492 + tx: Vec::new(), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `std` [INFO] [stdout] --> src/lib.rs:309:21 [INFO] [stdout] | [INFO] [stdout] 309 | config: &Config, [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `std` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `std`, use `cargo add std` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing one of these modules [INFO] [stdout] | [INFO] [stdout] 41 + use core::time; [INFO] [stdout] | [INFO] [stdout] 41 + use tokio::time; [INFO] [stdout] | [INFO] [stdout] help: if you import `time`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 309 - config: &Config, [INFO] [stdout] 309 + config: &Config, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `std` [INFO] [stdout] --> src/lib.rs:320:21 [INFO] [stdout] | [INFO] [stdout] 320 | config: &Config, [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `std` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `std`, use `cargo add std` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing one of these modules [INFO] [stdout] | [INFO] [stdout] 41 + use core::time; [INFO] [stdout] | [INFO] [stdout] 41 + use tokio::time; [INFO] [stdout] | [INFO] [stdout] help: if you import `time`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 320 - config: &Config, [INFO] [stdout] 320 + config: &Config, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/request.rs:728:24 [INFO] [stdout] | [INFO] [stdout] 728 | async fn read_line(&mut self) -> Result> { [INFO] [stdout] | ^^^^^^^^^ -------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 728 | async fn read_line(&mut self) -> Result, ReadError> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/request.rs:748:32 [INFO] [stdout] | [INFO] [stdout] 748 | async fn read_request_line(&mut self) -> Result, ReadError> { [INFO] [stdout] | ^^^^^^^^^ -------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 748 | async fn read_request_line(&mut self) -> Result>, ReadError> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/request.rs:783:27 [INFO] [stdout] | [INFO] [stdout] 783 | async fn read_headers(&mut self) -> Result> { [INFO] [stdout] | ^^^^^^^^^ -------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 783 | async fn read_headers(&mut self) -> Result, ReadError> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `to_owned` found for reference `&str` in the current scope [INFO] [stdout] --> src/tests.rs:400:14 [INFO] [stdout] | [INFO] [stdout] 394 | etag = parts [INFO] [stdout] | ________________- [INFO] [stdout] 395 | | .headers [INFO] [stdout] 396 | | .get("etag") [INFO] [stdout] 397 | | .unwrap() [INFO] [stdout] 398 | | .to_str() [INFO] [stdout] 399 | | .unwrap() [INFO] [stdout] 400 | | .to_owned(); [INFO] [stdout] | | -^^^^^^^^ method not found in `&str` [INFO] [stdout] | |_____________| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `ToOwned` which provides `to_owned` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 1 + use alloc::borrow::ToOwned; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `picoserve` (lib test) due to 23 previous errors [INFO] running `Command { std: "docker" "inspect" "dead44bb68baee0b1d5edd36c2d0cf657f74ffb9c22bcd0cdce7785162a7acbf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dead44bb68baee0b1d5edd36c2d0cf657f74ffb9c22bcd0cdce7785162a7acbf", kill_on_drop: false }` [INFO] [stdout] dead44bb68baee0b1d5edd36c2d0cf657f74ffb9c22bcd0cdce7785162a7acbf