[INFO] fetching crate picoserve 0.16.0... [INFO] checking picoserve-0.16.0 against master#cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c for pr-143170 [INFO] extracting crate picoserve 0.16.0 into /workspace/builds/worker-5-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-5-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate picoserve 0.16.0 on toolchain cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "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" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [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" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "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-async v0.8.0 [INFO] [stderr] Downloaded const-sha1 v0.3.0 [INFO] [stderr] Downloaded serde-json-core v0.6.0 [INFO] [stderr] Downloaded embassy-net-driver v0.2.0 [INFO] [stderr] Downloaded embassy-net v0.7.0 [INFO] [stderr] Downloaded embedded-nal v0.9.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-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4e11d8934addc0e9b6cc2d3c0b1c9ae435a56f7948ef060149b38d1093a094e2 [INFO] running `Command { std: "docker" "start" "-a" "4e11d8934addc0e9b6cc2d3c0b1c9ae435a56f7948ef060149b38d1093a094e2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4e11d8934addc0e9b6cc2d3c0b1c9ae435a56f7948ef060149b38d1093a094e2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4e11d8934addc0e9b6cc2d3c0b1c9ae435a56f7948ef060149b38d1093a094e2", kill_on_drop: false }` [INFO] [stdout] 4e11d8934addc0e9b6cc2d3c0b1c9ae435a56f7948ef060149b38d1093a094e2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4b169c12fe1b04da174d6ed986dee87f24b4ab536df12bea5d45cc09a0864f63 [INFO] running `Command { std: "docker" "start" "-a" "4b169c12fe1b04da174d6ed986dee87f24b4ab536df12bea5d45cc09a0864f63", kill_on_drop: false }` [INFO] [stderr] Checking bytes v1.10.1 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling heapless v0.8.0 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Compiling embedded-io-async v0.6.1 [INFO] [stderr] Checking futures-task v0.3.31 [INFO] [stderr] Compiling thiserror v2.0.12 [INFO] [stderr] Checking stable_deref_trait v1.2.0 [INFO] [stderr] Compiling httparse v1.10.1 [INFO] [stderr] Checking embedded-io v0.6.1 [INFO] [stderr] Checking futures-channel v0.3.31 [INFO] [stderr] Checking lhash v1.1.0 [INFO] [stderr] Checking smallvec v1.15.1 [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Checking socket2 v0.5.10 [INFO] [stderr] Checking mio v1.0.4 [INFO] [stderr] Checking data-encoding v2.9.0 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Checking const-sha1 v0.3.0 [INFO] [stderr] Checking hash32 v0.3.1 [INFO] [stderr] Checking http v1.3.1 [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.12 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling picoserve_derive v0.1.3 [INFO] [stderr] Checking tokio v1.45.1 [INFO] [stderr] Checking hyper v1.6.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] [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] 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: 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] 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" "4b169c12fe1b04da174d6ed986dee87f24b4ab536df12bea5d45cc09a0864f63", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4b169c12fe1b04da174d6ed986dee87f24b4ab536df12bea5d45cc09a0864f63", kill_on_drop: false }` [INFO] [stdout] 4b169c12fe1b04da174d6ed986dee87f24b4ab536df12bea5d45cc09a0864f63