[INFO] fetching crate water_http_utils 0.1.1... [INFO] building water_http_utils-0.1.1 against master#ad85bc524b1ad696e42061ad8338d382dffbdbe5 for pr-146237-1 [INFO] extracting crate water_http_utils 0.1.1 into /workspace/builds/worker-5-tc1/source [INFO] started tweaking crates.io crate water_http_utils 0.1.1 [INFO] finished tweaking crates.io crate water_http_utils 0.1.1 [INFO] tweaked toml for crates.io crate water_http_utils 0.1.1 written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate water_http_utils 0.1.1 on toolchain ad85bc524b1ad696e42061ad8338d382dffbdbe5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate water_http_utils 0.1.1 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" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded miniz_oxide v0.8.4 [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7f891de73f813509fcaa3f5cc7179475c30c83561425be20fa69e8be3a9ce37a [INFO] running `Command { std: "docker" "start" "-a" "7f891de73f813509fcaa3f5cc7179475c30c83561425be20fa69e8be3a9ce37a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7f891de73f813509fcaa3f5cc7179475c30c83561425be20fa69e8be3a9ce37a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7f891de73f813509fcaa3f5cc7179475c30c83561425be20fa69e8be3a9ce37a", kill_on_drop: false }` [INFO] [stdout] 7f891de73f813509fcaa3f5cc7179475c30c83561425be20fa69e8be3a9ce37a [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1088527bcdf04d885a39b67049bcb7dba530d71b5e55c06baa23236ca01a2291 [INFO] running `Command { std: "docker" "start" "-a" "1088527bcdf04d885a39b67049bcb7dba530d71b5e55c06baa23236ca01a2291", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.93 [INFO] [stderr] Compiling libc v0.2.169 [INFO] [stderr] Compiling unicode-ident v1.0.16 [INFO] [stderr] Compiling smallvec v1.14.0 [INFO] [stderr] Compiling serde v1.0.217 [INFO] [stderr] Compiling serde_json v1.0.138 [INFO] [stderr] Compiling bytes v1.10.0 [INFO] [stderr] Compiling ryu v1.0.19 [INFO] [stderr] Compiling quote v1.0.38 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling signal-hook-registry v1.4.2 [INFO] [stderr] Compiling socket2 v0.5.8 [INFO] [stderr] Compiling mio v1.0.3 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling syn v2.0.98 [INFO] [stderr] Compiling serde_derive v1.0.217 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling tokio v1.43.0 [INFO] [stderr] Compiling water_http_utils v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `crate::config::global_config` [INFO] [stdout] --> src/request/first_line/mod.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::config::global_config; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `CreatingRequestErrors` [INFO] [stdout] --> src/request/first_line/mod.rs:2:22 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::request::{CreatingRequestErrors, HttpPath}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition: `try_increment_index` [INFO] [stdout] --> src/request/first_line/mod.rs:4:14 [INFO] [stdout] | [INFO] [stdout] 4 | macro_rules! try_increment_index { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_macros)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::request::CreatingRequestErrors::InvalidHeadersError` [INFO] [stdout] --> src/request/mod.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use crate::request::CreatingRequestErrors::InvalidHeadersError; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::request::enums::CreatingRequestSteps` [INFO] [stdout] --> src/request/mod.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use crate::request::enums::CreatingRequestSteps; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/request/mod.rs:182:20 [INFO] [stdout] | [INFO] [stdout] 180 | impl<'buf> HttpPath<'buf> { [INFO] [stdout] | ------------------------- associated function in this implementation [INFO] [stdout] 181 | [INFO] [stdout] 182 | pub (crate) fn new(bytes:&'buf [u8])->HttpPath<'buf>{ [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `CreatingRequestSteps` is never used [INFO] [stdout] --> src/request/enums/mod.rs:4:18 [INFO] [stdout] | [INFO] [stdout] 4 | pub (crate) enum CreatingRequestSteps { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `init` is never used [INFO] [stdout] --> src/request/enums/mod.rs:11:20 [INFO] [stdout] | [INFO] [stdout] 9 | impl CreatingRequestSteps { [INFO] [stdout] | ------------------------- associated function in this implementation [INFO] [stdout] 10 | [INFO] [stdout] 11 | pub (crate) fn init()->Self{ [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `bytes_to_usize` is never used [INFO] [stdout] --> src/request/headers/mod.rs:32:4 [INFO] [stdout] | [INFO] [stdout] 32 | fn bytes_to_usize(bytes: &[u8]) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/request/headers/mod.rs:49:20 [INFO] [stdout] | [INFO] [stdout] 47 | impl<'buf,const HL:usize> HttpHeaders<'buf,HL>{ [INFO] [stdout] | ---------------------------------------------- associated function in this implementation [INFO] [stdout] 48 | /// creating new HttpHeaders from incoming bytes [INFO] [stdout] 49 | pub (crate) fn new(bytes:&'buf[u8])->Result,CreatingHeadersErrors>{ [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `global_config` is never used [INFO] [stdout] --> src/config/mod.rs:12:16 [INFO] [stdout] | [INFO] [stdout] 12 | pub (crate) fn global_config()->&'static HttpHConfigurations { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/request/mod.rs:36:17 [INFO] [stdout] | [INFO] [stdout] 36 | pub fn path(&self)->&'buf HttpPath{ [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] 36 | pub fn path(&self)->&'buf HttpPath<'_>{ [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/request/headers/mod.rs:141:18 [INFO] [stdout] | [INFO] [stdout] 141 | pub fn lines(&self)->Vec<&HeaderLine>{ [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^ [INFO] [stdout] | | || [INFO] [stdout] | | |the same lifetime is hidden here [INFO] [stdout] | | the same lifetime is elided here [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] 141 | pub fn lines(&self)->Vec<&HeaderLine<'_>>{ [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 18.45s [INFO] running `Command { std: "docker" "inspect" "1088527bcdf04d885a39b67049bcb7dba530d71b5e55c06baa23236ca01a2291", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1088527bcdf04d885a39b67049bcb7dba530d71b5e55c06baa23236ca01a2291", kill_on_drop: false }` [INFO] [stdout] 1088527bcdf04d885a39b67049bcb7dba530d71b5e55c06baa23236ca01a2291 [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ab5a22a827fffe98e270505d73ff9c0ced555cb484d10267a0af7ac1e4e4c8a3 [INFO] running `Command { std: "docker" "start" "-a" "ab5a22a827fffe98e270505d73ff9c0ced555cb484d10267a0af7ac1e4e4c8a3", kill_on_drop: false }` [INFO] [stdout] warning: unused import: `crate::config::global_config` [INFO] [stdout] --> src/request/first_line/mod.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::config::global_config; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `CreatingRequestErrors` [INFO] [stdout] --> src/request/first_line/mod.rs:2:22 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::request::{CreatingRequestErrors, HttpPath}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition: `try_increment_index` [INFO] [stdout] --> src/request/first_line/mod.rs:4:14 [INFO] [stdout] | [INFO] [stdout] 4 | macro_rules! try_increment_index { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_macros)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling water_http_utils v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `crate::request::CreatingRequestErrors::InvalidHeadersError` [INFO] [stdout] --> src/request/mod.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use crate::request::CreatingRequestErrors::InvalidHeadersError; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::request::enums::CreatingRequestSteps` [INFO] [stdout] --> src/request/mod.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use crate::request::enums::CreatingRequestSteps; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/request/mod.rs:182:20 [INFO] [stdout] | [INFO] [stdout] 180 | impl<'buf> HttpPath<'buf> { [INFO] [stdout] | ------------------------- associated function in this implementation [INFO] [stdout] 181 | [INFO] [stdout] 182 | pub (crate) fn new(bytes:&'buf [u8])->HttpPath<'buf>{ [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `CreatingRequestSteps` is never used [INFO] [stdout] --> src/request/enums/mod.rs:4:18 [INFO] [stdout] | [INFO] [stdout] 4 | pub (crate) enum CreatingRequestSteps { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `init` is never used [INFO] [stdout] --> src/request/enums/mod.rs:11:20 [INFO] [stdout] | [INFO] [stdout] 9 | impl CreatingRequestSteps { [INFO] [stdout] | ------------------------- associated function in this implementation [INFO] [stdout] 10 | [INFO] [stdout] 11 | pub (crate) fn init()->Self{ [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `bytes_to_usize` is never used [INFO] [stdout] --> src/request/headers/mod.rs:32:4 [INFO] [stdout] | [INFO] [stdout] 32 | fn bytes_to_usize(bytes: &[u8]) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/request/headers/mod.rs:49:20 [INFO] [stdout] | [INFO] [stdout] 47 | impl<'buf,const HL:usize> HttpHeaders<'buf,HL>{ [INFO] [stdout] | ---------------------------------------------- associated function in this implementation [INFO] [stdout] 48 | /// creating new HttpHeaders from incoming bytes [INFO] [stdout] 49 | pub (crate) fn new(bytes:&'buf[u8])->Result,CreatingHeadersErrors>{ [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `global_config` is never used [INFO] [stdout] --> src/config/mod.rs:12:16 [INFO] [stdout] | [INFO] [stdout] 12 | pub (crate) fn global_config()->&'static HttpHConfigurations { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/request/mod.rs:36:17 [INFO] [stdout] | [INFO] [stdout] 36 | pub fn path(&self)->&'buf HttpPath{ [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] 36 | pub fn path(&self)->&'buf HttpPath<'_>{ [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/request/headers/mod.rs:141:18 [INFO] [stdout] | [INFO] [stdout] 141 | pub fn lines(&self)->Vec<&HeaderLine>{ [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^ [INFO] [stdout] | | || [INFO] [stdout] | | |the same lifetime is hidden here [INFO] [stdout] | | the same lifetime is elided here [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] 141 | pub fn lines(&self)->Vec<&HeaderLine<'_>>{ [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::config::global_config` [INFO] [stdout] --> src/request/first_line/mod.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::config::global_config; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `CreatingRequestErrors` [INFO] [stdout] --> src/request/first_line/mod.rs:2:22 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::request::{CreatingRequestErrors, HttpPath}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition: `try_increment_index` [INFO] [stdout] --> src/request/first_line/mod.rs:4:14 [INFO] [stdout] | [INFO] [stdout] 4 | macro_rules! try_increment_index { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_macros)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::request::CreatingRequestErrors::InvalidHeadersError` [INFO] [stdout] --> src/request/mod.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use crate::request::CreatingRequestErrors::InvalidHeadersError; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::request::enums::CreatingRequestSteps` [INFO] [stdout] --> src/request/mod.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use crate::request::enums::CreatingRequestSteps; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_bytes` found for struct `HttpRequest<'buf, HC>` in the current scope [INFO] [stdout] --> src/request/mod.rs:321:42 [INFO] [stdout] | [INFO] [stdout] 17 | pub struct HttpRequest<'buf,const HC:usize>{ [INFO] [stdout] | ------------------------------------------- function or associated item `from_bytes` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 321 | let request = HttpRequest::<16>::from_bytes::<16>(r_bytes); [INFO] [stdout] | ^^^^^^^^^^ function or associated item not found in `HttpRequest<'_, 16>` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `from_bytes`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `OsStrExt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0599`. [INFO] [stdout] [INFO] [stderr] error: could not compile `water_http_utils` (lib test) due to 1 previous error; 5 warnings emitted [INFO] running `Command { std: "docker" "inspect" "ab5a22a827fffe98e270505d73ff9c0ced555cb484d10267a0af7ac1e4e4c8a3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ab5a22a827fffe98e270505d73ff9c0ced555cb484d10267a0af7ac1e4e4c8a3", kill_on_drop: false }` [INFO] [stdout] ab5a22a827fffe98e270505d73ff9c0ced555cb484d10267a0af7ac1e4e4c8a3