[INFO] fetching crate picoserve 0.16.0... [INFO] checking picoserve-0.16.0 against master#350d0ef0ec0493e6d21cfb265cb8211a0e74d766 for pr-145342-1 [INFO] extracting crate picoserve 0.16.0 into /workspace/builds/worker-6-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-6-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate picoserve 0.16.0 on toolchain 350d0ef0ec0493e6d21cfb265cb8211a0e74d766 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 93 packages to latest compatible versions [INFO] [stderr] Adding defmt v0.3.100 (available: v1.0.1) [INFO] [stderr] Adding heapless v0.8.0 (available: v0.9.1) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded picoserve_derive v0.1.3 [INFO] [stderr] Downloaded embedded-nal v0.9.0 [INFO] [stderr] Downloaded embassy-net v0.7.0 [INFO] [stderr] Downloaded embedded-nal-async v0.8.0 [INFO] [stderr] Downloaded const-sha1 v0.3.0 [INFO] [stderr] Downloaded lhash v1.1.0 [INFO] [stderr] Downloaded smoltcp v0.12.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e8388b31280bb2b86b5210a59535ba5cc20f029a4b17a6e3952d6b07fe57dfd8 [INFO] running `Command { std: "docker" "start" "-a" "e8388b31280bb2b86b5210a59535ba5cc20f029a4b17a6e3952d6b07fe57dfd8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e8388b31280bb2b86b5210a59535ba5cc20f029a4b17a6e3952d6b07fe57dfd8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e8388b31280bb2b86b5210a59535ba5cc20f029a4b17a6e3952d6b07fe57dfd8", kill_on_drop: false }` [INFO] [stdout] e8388b31280bb2b86b5210a59535ba5cc20f029a4b17a6e3952d6b07fe57dfd8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 69d21f6baa8ac2e398a096f5c8e70e88fb11e6369da28f89cdcc56b34e2a8ff0 [INFO] running `Command { std: "docker" "start" "-a" "69d21f6baa8ac2e398a096f5c8e70e88fb11e6369da28f89cdcc56b34e2a8ff0", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Compiling libc v0.2.175 [INFO] [stderr] Checking pin-project-lite v0.2.16 [INFO] [stderr] Checking bytes v1.10.1 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Checking futures-core v0.3.31 [INFO] [stderr] Compiling heapless v0.8.0 [INFO] [stderr] Checking itoa v1.0.15 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Checking stable_deref_trait v1.2.0 [INFO] [stderr] Compiling thiserror v2.0.16 [INFO] [stderr] Compiling httparse v1.10.1 [INFO] [stderr] Compiling embedded-io-async v0.6.1 [INFO] [stderr] Checking embedded-io v0.6.1 [INFO] [stderr] Checking try-lock v0.2.5 [INFO] [stderr] Checking futures-task v0.3.31 [INFO] [stderr] Checking ryu v1.0.20 [INFO] [stderr] Checking data-encoding v2.9.0 [INFO] [stderr] Checking want v0.3.1 [INFO] [stderr] Checking futures-channel v0.3.31 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Checking smallvec v1.15.1 [INFO] [stderr] Checking hash32 v0.3.1 [INFO] [stderr] Checking lhash v1.1.0 [INFO] [stderr] Checking const-sha1 v0.3.0 [INFO] [stderr] Checking atomic-waker v1.1.2 [INFO] [stderr] Checking http v1.3.1 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Checking socket2 v0.6.0 [INFO] [stderr] Checking mio v1.0.4 [INFO] [stderr] Checking http-body v1.0.1 [INFO] [stderr] Checking http-body-util v0.1.3 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling thiserror-impl v2.0.16 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling picoserve_derive v0.1.3 [INFO] [stderr] Checking tokio v1.47.1 [INFO] [stderr] Checking hyper v1.7.0 [INFO] [stderr] Checking serde-json-core v0.6.0 [INFO] [stderr] Checking picoserve v0.16.0 (/opt/rustwide/workdir) [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] note: found an item that was configured out [INFO] [stdout] --> src/lib.rs:23:14 [INFO] [stdout] | [INFO] [stdout] 22 | #[cfg(feature = "std")] [INFO] [stdout] | --------------- the item is gated behind the `std` feature [INFO] [stdout] 23 | extern crate std; [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: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] note: found an item that was configured out [INFO] [stdout] --> src/lib.rs:23:14 [INFO] [stdout] | [INFO] [stdout] 22 | #[cfg(feature = "std")] [INFO] [stdout] | --------------- the item is gated behind the `std` feature [INFO] [stdout] 23 | extern crate std; [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: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] 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] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/request.rs:728:24 [INFO] [stdout] | [INFO] [stdout] 728 | async fn read_line(&mut self) -> Result> { [INFO] [stdout] | ^^^^^^^^^ -------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 728 | async fn read_line(&mut self) -> Result, ReadError> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is 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 same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 748 | async fn read_request_line(&mut self) -> Result>, ReadError> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/request.rs:783:27 [INFO] [stdout] | [INFO] [stdout] 783 | async fn read_headers(&mut self) -> Result> { [INFO] [stdout] | ^^^^^^^^^ -------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 783 | async fn read_headers(&mut self) -> Result, ReadError> { [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" "69d21f6baa8ac2e398a096f5c8e70e88fb11e6369da28f89cdcc56b34e2a8ff0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "69d21f6baa8ac2e398a096f5c8e70e88fb11e6369da28f89cdcc56b34e2a8ff0", kill_on_drop: false }` [INFO] [stdout] 69d21f6baa8ac2e398a096f5c8e70e88fb11e6369da28f89cdcc56b34e2a8ff0