[INFO] cloning repository https://github.com/loony-rs/httparse [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/loony-rs/httparse" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Floony-rs%2Fhttparse", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Floony-rs%2Fhttparse'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 7a9c17a91aed1710d9a0bd551cef758a5859a717 [INFO] checking loony-rs/httparse against try#e5b0618d996a6a3941e423fd3e170737b8dbdc92 for pr-151822 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Floony-rs%2Fhttparse" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/loony-rs/httparse [INFO] finished tweaking git repo https://github.com/loony-rs/httparse [INFO] tweaked toml for git repo https://github.com/loony-rs/httparse written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/loony-rs/httparse on toolchain e5b0618d996a6a3941e423fd3e170737b8dbdc92 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+e5b0618d996a6a3941e423fd3e170737b8dbdc92" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/loony-rs/httparse 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" "+e5b0618d996a6a3941e423fd3e170737b8dbdc92" "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-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:29356a839a4d14451438f794ce8414e707d72405f44418718d724d22562fe786" "/opt/rustwide/cargo-home/bin/cargo" "+e5b0618d996a6a3941e423fd3e170737b8dbdc92" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2c4dba9d6eb2ba52d7680f9b059cc9e4e8a4a24b3466822574d9b8f0f0110d9d [INFO] running `Command { std: "docker" "start" "-a" "2c4dba9d6eb2ba52d7680f9b059cc9e4e8a4a24b3466822574d9b8f0f0110d9d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2c4dba9d6eb2ba52d7680f9b059cc9e4e8a4a24b3466822574d9b8f0f0110d9d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2c4dba9d6eb2ba52d7680f9b059cc9e4e8a4a24b3466822574d9b8f0f0110d9d", kill_on_drop: false }` [INFO] [stdout] 2c4dba9d6eb2ba52d7680f9b059cc9e4e8a4a24b3466822574d9b8f0f0110d9d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:29356a839a4d14451438f794ce8414e707d72405f44418718d724d22562fe786" "/opt/rustwide/cargo-home/bin/cargo" "+e5b0618d996a6a3941e423fd3e170737b8dbdc92" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c86df477338bd425c14343250a516a7994c17b17513a643b5e5263ff516c8548 [INFO] running `Command { std: "docker" "start" "-a" "c86df477338bd425c14343250a516a7994c17b17513a643b5e5263ff516c8548", kill_on_drop: false }` [INFO] [stderr] Checking serde_json v1.0.145 [INFO] [stderr] Checking loony-httparse v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: unknown character escape: ` ` [INFO] [stdout] --> src/header.rs:407:42 [INFO] [stdout] | [INFO] [stdout] 407 | Invalid-Header\r\n\ // No colon [INFO] [stdout] | ^ unknown character escape [INFO] [stdout] | [INFO] [stdout] = help: for more information, visit [INFO] [stdout] help: if you meant to write a literal backslash (perhaps escaping in a regular expression), consider a raw string literal [INFO] [stdout] | [INFO] [stdout] 406 | let request = r"GET / HTTP/1.1\r\n\ [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unknown character escape: ` ` [INFO] [stdout] --> src/header.rs:407:42 [INFO] [stdout] | [INFO] [stdout] 407 | Invalid-Header\r\n\ // No colon [INFO] [stdout] | ^ unknown character escape [INFO] [stdout] | [INFO] [stdout] = help: for more information, visit [INFO] [stdout] help: if you meant to write a literal backslash (perhaps escaping in a regular expression), consider a raw string literal [INFO] [stdout] | [INFO] [stdout] 406 | let request = r"GET / HTTP/1.1\r\n\ [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `cmp` and `str` [INFO] [stdout] --> src/json_body.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{cmp, str}; [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: `cmp` [INFO] [stdout] --> src/form_data.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{cmp, str, collections::HashMap}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `std` [INFO] [stdout] --> src/error.rs:43:7 [INFO] [stdout] | [INFO] [stdout] 43 | #[cfg(feature = "std")] [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `std` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition: `complete` [INFO] [stdout] --> src/macros.rs:24:14 [INFO] [stdout] | [INFO] [stdout] 24 | macro_rules! complete { [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 macro definition: `space` [INFO] [stdout] --> src/macros.rs:48:14 [INFO] [stdout] | [INFO] [stdout] 48 | macro_rules! space { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition: `newline` [INFO] [stdout] --> src/macros.rs:55:14 [INFO] [stdout] | [INFO] [stdout] 55 | macro_rules! newline { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `mem` [INFO] [stdout] --> src/lib.rs:9:17 [INFO] [stdout] | [INFO] [stdout] 9 | use core::{fmt, mem, result, str}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `core::mem::MaybeUninit` [INFO] [stdout] --> src/lib.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use core::mem::MaybeUninit; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `cmp` and `str` [INFO] [stdout] --> src/json_body.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{cmp, str}; [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: `cmp` [INFO] [stdout] --> src/form_data.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{cmp, str, collections::HashMap}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `std` [INFO] [stdout] --> src/error.rs:43:7 [INFO] [stdout] | [INFO] [stdout] 43 | #[cfg(feature = "std")] [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `std` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition: `complete` [INFO] [stdout] --> src/macros.rs:24:14 [INFO] [stdout] | [INFO] [stdout] 24 | macro_rules! complete { [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 macro definition: `space` [INFO] [stdout] --> src/macros.rs:48:14 [INFO] [stdout] | [INFO] [stdout] 48 | macro_rules! space { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition: `newline` [INFO] [stdout] --> src/macros.rs:55:14 [INFO] [stdout] | [INFO] [stdout] 55 | macro_rules! newline { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `mem` [INFO] [stdout] --> src/lib.rs:9:17 [INFO] [stdout] | [INFO] [stdout] 9 | use core::{fmt, mem, result, str}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `core::mem::MaybeUninit` [INFO] [stdout] --> src/lib.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use core::mem::MaybeUninit; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0621]: explicit lifetime required in the type of `data` [INFO] [stdout] --> src/form_data.rs:184:9 [INFO] [stdout] | [INFO] [stdout] 184 | Ok(headers) [INFO] [stdout] | ^^^^^^^^^^^ lifetime `'b` required [INFO] [stdout] | [INFO] [stdout] help: add explicit lifetime `'b` to the type of `data` [INFO] [stdout] | [INFO] [stdout] 147 | fn parse_headers(&self, data: &'b [u8]) -> Result, FormDataError> { [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0621]: explicit lifetime required in the type of `boundary` [INFO] [stdout] --> src/form_data.rs:272:9 [INFO] [stdout] | [INFO] [stdout] 272 | Ok(parts) [INFO] [stdout] | ^^^^^^^^^ lifetime `'a` required [INFO] [stdout] | [INFO] [stdout] help: add explicit lifetime `'a` to the type of `boundary` [INFO] [stdout] | [INFO] [stdout] 263 | pub fn parse_form_data<'a>(buf: &'a [u8], boundary: &'a str) -> Result>, FormDataError> { [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0621`. [INFO] [stdout] [INFO] [stderr] error: could not compile `loony-httparse` (lib) due to 3 previous errors; 8 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: unused variable: `expected_json` [INFO] [stdout] --> src/json_body.rs:379:13 [INFO] [stdout] | [INFO] [stdout] 379 | let expected_json = br#"{"name": "John", "age": 30, "city": "New York"}"#; [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_expected_json` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0621]: explicit lifetime required in the type of `data` [INFO] [stdout] --> src/form_data.rs:184:9 [INFO] [stdout] | [INFO] [stdout] 184 | Ok(headers) [INFO] [stdout] | ^^^^^^^^^^^ lifetime `'b` required [INFO] [stdout] | [INFO] [stdout] help: add explicit lifetime `'b` to the type of `data` [INFO] [stdout] | [INFO] [stdout] 147 | fn parse_headers(&self, data: &'b [u8]) -> Result, FormDataError> { [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0621]: explicit lifetime required in the type of `boundary` [INFO] [stdout] --> src/form_data.rs:272:9 [INFO] [stdout] | [INFO] [stdout] 272 | Ok(parts) [INFO] [stdout] | ^^^^^^^^^ lifetime `'a` required [INFO] [stdout] | [INFO] [stdout] help: add explicit lifetime `'a` to the type of `boundary` [INFO] [stdout] | [INFO] [stdout] 263 | pub fn parse_form_data<'a>(buf: &'a [u8], boundary: &'a str) -> Result>, FormDataError> { [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0621`. [INFO] [stdout] [INFO] [stderr] error: could not compile `loony-httparse` (lib test) due to 3 previous errors; 9 warnings emitted [INFO] running `Command { std: "docker" "inspect" "c86df477338bd425c14343250a516a7994c17b17513a643b5e5263ff516c8548", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c86df477338bd425c14343250a516a7994c17b17513a643b5e5263ff516c8548", kill_on_drop: false }` [INFO] [stdout] c86df477338bd425c14343250a516a7994c17b17513a643b5e5263ff516c8548