[INFO] fetching crate water_http_utils 0.1.0... [INFO] checking water_http_utils-0.1.0 against try#c659ee110de67e82444e4b6c8407c1a9af9c2cf6 for pr-145608-1 [INFO] extracting crate water_http_utils 0.1.0 into /workspace/builds/worker-7-tc2/source [INFO] started tweaking crates.io crate water_http_utils 0.1.0 [INFO] finished tweaking crates.io crate water_http_utils 0.1.0 [INFO] tweaked toml for crates.io crate water_http_utils 0.1.0 written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate water_http_utils 0.1.0 on toolchain c659ee110de67e82444e4b6c8407c1a9af9c2cf6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate water_http_utils 0.1.0 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6b8931ceaef44d453c71b2e51358d775959cfe5ed95cdf6e1a1e0d85c55cb9d7 [INFO] running `Command { std: "docker" "start" "-a" "6b8931ceaef44d453c71b2e51358d775959cfe5ed95cdf6e1a1e0d85c55cb9d7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6b8931ceaef44d453c71b2e51358d775959cfe5ed95cdf6e1a1e0d85c55cb9d7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6b8931ceaef44d453c71b2e51358d775959cfe5ed95cdf6e1a1e0d85c55cb9d7", kill_on_drop: false }` [INFO] [stdout] 6b8931ceaef44d453c71b2e51358d775959cfe5ed95cdf6e1a1e0d85c55cb9d7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 07ae16a0e8ddf99f78686721ea5b70b25a0a64787f42e02ee11fa93e02a8a7f9 [INFO] running `Command { std: "docker" "start" "-a" "07ae16a0e8ddf99f78686721ea5b70b25a0a64787f42e02ee11fa93e02a8a7f9", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.93 [INFO] [stderr] Compiling unicode-ident v1.0.16 [INFO] [stderr] Checking smallvec v1.14.0 [INFO] [stderr] Compiling serde_json v1.0.138 [INFO] [stderr] Checking bytes v1.10.0 [INFO] [stderr] Checking memchr v2.7.4 [INFO] [stderr] Checking ryu v1.0.19 [INFO] [stderr] Checking parking_lot_core v0.9.10 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Compiling quote v1.0.38 [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] Checking tokio v1.43.0 [INFO] [stderr] Checking serde v1.0.217 [INFO] [stderr] Checking water_http_utils v0.1.0 (/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)]` 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)]` 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)]` 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:6 [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)]` 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)]` 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" "07ae16a0e8ddf99f78686721ea5b70b25a0a64787f42e02ee11fa93e02a8a7f9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "07ae16a0e8ddf99f78686721ea5b70b25a0a64787f42e02ee11fa93e02a8a7f9", kill_on_drop: false }` [INFO] [stdout] 07ae16a0e8ddf99f78686721ea5b70b25a0a64787f42e02ee11fa93e02a8a7f9