[INFO] fetching crate thhp 0.2.0... [INFO] testing thhp-0.2.0 against try#b83b707f97d809763b7861afa7638871f3339a33 for pr-145838-1 [INFO] extracting crate thhp 0.2.0 into /workspace/builds/worker-2-tc2/source [INFO] started tweaking crates.io crate thhp 0.2.0 [INFO] finished tweaking crates.io crate thhp 0.2.0 [INFO] tweaked toml for crates.io crate thhp 0.2.0 written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate thhp 0.2.0 on toolchain b83b707f97d809763b7861afa7638871f3339a33 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "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" "+b83b707f97d809763b7861afa7638871f3339a33" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 9 packages to latest compatible versions [INFO] [stderr] Adding arrayvec v0.4.12 (available: v0.7.6) [INFO] [stderr] Adding version_check v0.1.5 (available: v0.9.5) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c105901b64e1bbfde6326beed67401101dec819c0195638a6bb24933d7008a9d [INFO] running `Command { std: "docker" "start" "-a" "c105901b64e1bbfde6326beed67401101dec819c0195638a6bb24933d7008a9d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c105901b64e1bbfde6326beed67401101dec819c0195638a6bb24933d7008a9d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c105901b64e1bbfde6326beed67401101dec819c0195638a6bb24933d7008a9d", kill_on_drop: false }` [INFO] [stdout] c105901b64e1bbfde6326beed67401101dec819c0195638a6bb24933d7008a9d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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" "+b83b707f97d809763b7861afa7638871f3339a33" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2f7cc0ff984c039e94fd495ba298233d77759bd95cfd4113747c63947e0001f8 [INFO] running `Command { std: "docker" "start" "-a" "2f7cc0ff984c039e94fd495ba298233d77759bd95cfd4113747c63947e0001f8", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling version_check v0.1.5 [INFO] [stderr] Compiling thhp v0.2.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition name: `thhp_enable_sse42` [INFO] [stdout] --> src/simd.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![cfg(all(thhp_enable_sse42, any(target_arch = "x86", target_arch = "x86_64")))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `docsrs`, `feature`, and `test` and 31 more [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(thhp_enable_sse42)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(thhp_enable_sse42)");` to the top of the `build.rs` [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: unexpected `cfg` condition name: `thhp_enable_sse42` [INFO] [stdout] --> src/lib.rs:326:7 [INFO] [stdout] | [INFO] [stdout] 326 | #[cfg(thhp_enable_sse42)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(thhp_enable_sse42)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(thhp_enable_sse42)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `thhp_enable_sse42` [INFO] [stdout] --> src/scanner.rs:1:7 [INFO] [stdout] | [INFO] [stdout] 1 | #[cfg(thhp_enable_sse42)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(thhp_enable_sse42)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(thhp_enable_sse42)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `thhp_enable_sse42` [INFO] [stdout] --> src/scanner.rs:4:7 [INFO] [stdout] | [INFO] [stdout] 4 | #[cfg(thhp_enable_sse42)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(thhp_enable_sse42)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(thhp_enable_sse42)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `thhp_enable_sse42` [INFO] [stdout] --> src/scanner.rs:77:11 [INFO] [stdout] | [INFO] [stdout] 77 | #[cfg(thhp_enable_sse42)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(thhp_enable_sse42)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(thhp_enable_sse42)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/lib.rs:520:24 [INFO] [stdout] | [INFO] [stdout] 520 | ) -> Result])>> [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 520 - ) -> Result])>> [INFO] [stdout] 520 + ) -> Result]>> [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `thhp_enable_sse42` [INFO] [stdout] --> src/lib.rs:574:15 [INFO] [stdout] | [INFO] [stdout] 574 | #[cfg(thhp_enable_sse42)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(thhp_enable_sse42)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(thhp_enable_sse42)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `thhp_enable_sse42` [INFO] [stdout] --> src/lib.rs:585:19 [INFO] [stdout] | [INFO] [stdout] 585 | #[cfg(not(thhp_enable_sse42))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(thhp_enable_sse42)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(thhp_enable_sse42)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/lib.rs:341:35 [INFO] [stdout] | [INFO] [stdout] 341 | fn new(buf: &'buffer [u8]) -> HttpPartParser { [INFO] [stdout] | ------- ^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is named 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: consistently use `'buffer` [INFO] [stdout] | [INFO] [stdout] 341 | fn new(buf: &'buffer [u8]) -> HttpPartParser<'buffer> { [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/scanner.rs:13:34 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn new(buf: &'a [u8]) -> Scanner { [INFO] [stdout] | -- ^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 13 | pub fn new(buf: &'a [u8]) -> Scanner<'a> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.88s [INFO] running `Command { std: "docker" "inspect" "2f7cc0ff984c039e94fd495ba298233d77759bd95cfd4113747c63947e0001f8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2f7cc0ff984c039e94fd495ba298233d77759bd95cfd4113747c63947e0001f8", kill_on_drop: false }` [INFO] [stdout] 2f7cc0ff984c039e94fd495ba298233d77759bd95cfd4113747c63947e0001f8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4491bee3b350db98a955a6ec914cce7768ad8c3b70a67498a20cda9bca6203ea [INFO] running `Command { std: "docker" "start" "-a" "4491bee3b350db98a955a6ec914cce7768ad8c3b70a67498a20cda9bca6203ea", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling libc v0.2.175 [INFO] [stderr] Compiling picohttpparser-sys v1.0.0 [INFO] [stdout] warning: unexpected `cfg` condition name: `thhp_enable_sse42` [INFO] [stdout] --> src/simd.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![cfg(all(thhp_enable_sse42, any(target_arch = "x86", target_arch = "x86_64")))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `docsrs`, `feature`, and `test` and 31 more [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(thhp_enable_sse42)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(thhp_enable_sse42)");` to the top of the `build.rs` [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: unexpected `cfg` condition name: `thhp_enable_sse42` [INFO] [stdout] --> src/lib.rs:326:7 [INFO] [stdout] | [INFO] [stdout] 326 | #[cfg(thhp_enable_sse42)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(thhp_enable_sse42)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(thhp_enable_sse42)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `thhp_enable_sse42` [INFO] [stdout] --> src/scanner.rs:1:7 [INFO] [stdout] | [INFO] [stdout] 1 | #[cfg(thhp_enable_sse42)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(thhp_enable_sse42)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(thhp_enable_sse42)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `thhp_enable_sse42` [INFO] [stdout] --> src/scanner.rs:4:7 [INFO] [stdout] | [INFO] [stdout] 4 | #[cfg(thhp_enable_sse42)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(thhp_enable_sse42)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(thhp_enable_sse42)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `thhp_enable_sse42` [INFO] [stdout] --> src/scanner.rs:77:11 [INFO] [stdout] | [INFO] [stdout] 77 | #[cfg(thhp_enable_sse42)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(thhp_enable_sse42)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(thhp_enable_sse42)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/lib.rs:520:24 [INFO] [stdout] | [INFO] [stdout] 520 | ) -> Result])>> [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 520 - ) -> Result])>> [INFO] [stdout] 520 + ) -> Result]>> [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `thhp_enable_sse42` [INFO] [stdout] --> src/lib.rs:574:15 [INFO] [stdout] | [INFO] [stdout] 574 | #[cfg(thhp_enable_sse42)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(thhp_enable_sse42)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(thhp_enable_sse42)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `thhp_enable_sse42` [INFO] [stdout] --> src/lib.rs:585:19 [INFO] [stdout] | [INFO] [stdout] 585 | #[cfg(not(thhp_enable_sse42))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(thhp_enable_sse42)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(thhp_enable_sse42)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/lib.rs:341:35 [INFO] [stdout] | [INFO] [stdout] 341 | fn new(buf: &'buffer [u8]) -> HttpPartParser { [INFO] [stdout] | ------- ^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is named 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: consistently use `'buffer` [INFO] [stdout] | [INFO] [stdout] 341 | fn new(buf: &'buffer [u8]) -> HttpPartParser<'buffer> { [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/scanner.rs:13:34 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn new(buf: &'a [u8]) -> Scanner { [INFO] [stdout] | -- ^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 13 | pub fn new(buf: &'a [u8]) -> Scanner<'a> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling thhp v0.2.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition name: `thhp_enable_sse42` [INFO] [stdout] --> src/simd.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![cfg(all(thhp_enable_sse42, any(target_arch = "x86", target_arch = "x86_64")))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `docsrs`, `feature`, and `test` and 31 more [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(thhp_enable_sse42)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(thhp_enable_sse42)");` to the top of the `build.rs` [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: unexpected `cfg` condition name: `thhp_enable_sse42` [INFO] [stdout] --> src/lib.rs:326:7 [INFO] [stdout] | [INFO] [stdout] 326 | #[cfg(thhp_enable_sse42)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(thhp_enable_sse42)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(thhp_enable_sse42)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `thhp_enable_sse42` [INFO] [stdout] --> src/scanner.rs:1:7 [INFO] [stdout] | [INFO] [stdout] 1 | #[cfg(thhp_enable_sse42)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(thhp_enable_sse42)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(thhp_enable_sse42)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `thhp_enable_sse42` [INFO] [stdout] --> src/scanner.rs:4:7 [INFO] [stdout] | [INFO] [stdout] 4 | #[cfg(thhp_enable_sse42)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(thhp_enable_sse42)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(thhp_enable_sse42)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `thhp_enable_sse42` [INFO] [stdout] --> src/scanner.rs:77:11 [INFO] [stdout] | [INFO] [stdout] 77 | #[cfg(thhp_enable_sse42)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(thhp_enable_sse42)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(thhp_enable_sse42)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `thhp_enable_sse42` [INFO] [stdout] --> src/scanner.rs:218:16 [INFO] [stdout] | [INFO] [stdout] 218 | #![cfg(thhp_enable_sse42)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(thhp_enable_sse42)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(thhp_enable_sse42)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/lib.rs:520:24 [INFO] [stdout] | [INFO] [stdout] 520 | ) -> Result])>> [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 520 - ) -> Result])>> [INFO] [stdout] 520 + ) -> Result]>> [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `thhp_enable_sse42` [INFO] [stdout] --> src/lib.rs:574:15 [INFO] [stdout] | [INFO] [stdout] 574 | #[cfg(thhp_enable_sse42)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(thhp_enable_sse42)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(thhp_enable_sse42)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `thhp_enable_sse42` [INFO] [stdout] --> src/lib.rs:585:19 [INFO] [stdout] | [INFO] [stdout] 585 | #[cfg(not(thhp_enable_sse42))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(thhp_enable_sse42)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(thhp_enable_sse42)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/lib.rs:341:35 [INFO] [stdout] | [INFO] [stdout] 341 | fn new(buf: &'buffer [u8]) -> HttpPartParser { [INFO] [stdout] | ------- ^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is named 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: consistently use `'buffer` [INFO] [stdout] | [INFO] [stdout] 341 | fn new(buf: &'buffer [u8]) -> HttpPartParser<'buffer> { [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/scanner.rs:13:34 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn new(buf: &'a [u8]) -> Scanner { [INFO] [stdout] | -- ^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 13 | pub fn new(buf: &'a [u8]) -> Scanner<'a> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 2.45s [INFO] running `Command { std: "docker" "inspect" "4491bee3b350db98a955a6ec914cce7768ad8c3b70a67498a20cda9bca6203ea", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4491bee3b350db98a955a6ec914cce7768ad8c3b70a67498a20cda9bca6203ea", kill_on_drop: false }` [INFO] [stdout] 4491bee3b350db98a955a6ec914cce7768ad8c3b70a67498a20cda9bca6203ea [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 5e1179b7808554d28fa8eadbd64b1226f9510a5d9e9b8a8563438391a50587ff [INFO] running `Command { std: "docker" "start" "-a" "5e1179b7808554d28fa8eadbd64b1226f9510a5d9e9b8a8563438391a50587ff", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] warning: unexpected `cfg` condition name: `thhp_enable_sse42` [INFO] [stderr] --> src/simd.rs:1:12 [INFO] [stderr] | [INFO] [stderr] 1 | #![cfg(all(thhp_enable_sse42, any(target_arch = "x86", target_arch = "x86_64")))] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: expected names are: `docsrs`, `feature`, and `test` and 31 more [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(thhp_enable_sse42)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(thhp_enable_sse42)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `thhp_enable_sse42` [INFO] [stderr] --> src/lib.rs:326:7 [INFO] [stderr] | [INFO] [stderr] 326 | #[cfg(thhp_enable_sse42)] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(thhp_enable_sse42)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(thhp_enable_sse42)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `thhp_enable_sse42` [INFO] [stderr] --> src/scanner.rs:1:7 [INFO] [stderr] | [INFO] [stderr] 1 | #[cfg(thhp_enable_sse42)] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(thhp_enable_sse42)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(thhp_enable_sse42)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `thhp_enable_sse42` [INFO] [stderr] --> src/scanner.rs:4:7 [INFO] [stderr] | [INFO] [stderr] 4 | #[cfg(thhp_enable_sse42)] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(thhp_enable_sse42)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(thhp_enable_sse42)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `thhp_enable_sse42` [INFO] [stderr] --> src/scanner.rs:77:11 [INFO] [stderr] | [INFO] [stderr] 77 | #[cfg(thhp_enable_sse42)] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(thhp_enable_sse42)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(thhp_enable_sse42)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around type [INFO] [stderr] --> src/lib.rs:520:24 [INFO] [stderr] | [INFO] [stderr] 520 | ) -> Result])>> [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 520 - ) -> Result])>> [INFO] [stderr] 520 + ) -> Result]>> [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `thhp_enable_sse42` [INFO] [stderr] --> src/lib.rs:574:15 [INFO] [stderr] | [INFO] [stderr] 574 | #[cfg(thhp_enable_sse42)] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(thhp_enable_sse42)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(thhp_enable_sse42)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `thhp_enable_sse42` [INFO] [stderr] --> src/lib.rs:585:19 [INFO] [stderr] | [INFO] [stderr] 585 | #[cfg(not(thhp_enable_sse42))] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(thhp_enable_sse42)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(thhp_enable_sse42)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stderr] --> src/lib.rs:341:35 [INFO] [stderr] | [INFO] [stderr] 341 | fn new(buf: &'buffer [u8]) -> HttpPartParser { [INFO] [stderr] | ------- ^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is named here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stderr] help: consistently use `'buffer` [INFO] [stderr] | [INFO] [stderr] 341 | fn new(buf: &'buffer [u8]) -> HttpPartParser<'buffer> { [INFO] [stderr] | +++++++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stderr] --> src/scanner.rs:13:34 [INFO] [stderr] | [INFO] [stderr] 13 | pub fn new(buf: &'a [u8]) -> Scanner { [INFO] [stderr] | -- ^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is named here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: consistently use `'a` [INFO] [stderr] | [INFO] [stderr] 13 | pub fn new(buf: &'a [u8]) -> Scanner<'a> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: `thhp` (lib) generated 10 warnings (run `cargo fix --lib -p thhp` to apply 3 suggestions) [INFO] [stderr] warning: unexpected `cfg` condition name: `thhp_enable_sse42` [INFO] [stderr] --> src/scanner.rs:218:16 [INFO] [stderr] | [INFO] [stderr] 218 | #![cfg(thhp_enable_sse42)] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(thhp_enable_sse42)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(thhp_enable_sse42)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: `thhp` (lib test) generated 11 warnings (10 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.04s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/thhp-ab09a683754005af) [INFO] [stdout] [INFO] [stdout] running 16 tests [INFO] [stdout] test scanner::tests::test_read_10_chars_by_read_while ... ok [INFO] [stdout] test scanner::tests::test_read_3_chars_by_read_while ... ok [INFO] [stdout] test scanner::tests::test_read_fail ... ok [INFO] [stdout] test scanner::tests::test_read_while ... ok [INFO] [stdout] test scanner::tests::test_skip_if ... ok [INFO] [stdout] test simd::tests::test_index_of_range_or_last_16bytes_boundary_not_found ... ok [INFO] [stdout] test tests::http_part_parser_request_test ... ok [INFO] [stdout] test tests::http_part_parser_response_test ... ok [INFO] [stdout] test tests::parse_a_header_field ... ok [INFO] [stdout] test tests::check_complete_or_incomplete ... ok [INFO] [stdout] test simd::tests::test_index_of_range_or_last_16bytes_boundary_returns_last_16bytes_boundary ... ok [INFO] [stdout] test simd::tests::test_index_of_range_or_last_16bytes_boundary_found ... ok [INFO] [stdout] test tests::parse_2_header_fields ... ok [INFO] [stdout] test scanner::tests::simd::test_read_while_fast ... ok [INFO] [stdout] test scanner::tests::test_read ... ok [INFO] [stdout] test tests::unwrap_incomplete_status_causes_panic - should panic ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 16 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.03s [INFO] [stdout] [INFO] [stderr] Running tests/tests.rs (/opt/rustwide/target/debug/deps/tests-5a3563d3f484ed7e) [INFO] [stdout] [INFO] [stdout] running 12 tests [INFO] [stdout] test request::simple_request ... ok [INFO] [stdout] test response::accept_various_new_lines ... ok [INFO] [stdout] test request::simple_request_with_headers ... ok [INFO] [stdout] test response::simple_response ... ok [INFO] [stdout] test response::simple_response_with_headers ... ok [INFO] [stdout] test request::skip_front_new_lines ... ok [INFO] [stdout] test request::incomplete_request ... ok [INFO] [stdout] test request::accept_various_new_lines ... ok [INFO] [stdout] test response::bad_response ... ok [INFO] [stdout] test response::incomplete_response ... ok [INFO] [stdout] test response::skip_front_new_lines ... ok [INFO] [stdout] test request::bad_request ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 12 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.03s [INFO] [stdout] [INFO] [stderr] Doc-tests thhp [INFO] [stderr] warning: unnecessary parentheses around type [INFO] [stderr] --> src/lib.rs:520:24 [INFO] [stderr] | [INFO] [stderr] 520 | ) -> Result])>> [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 520 - ) -> Result])>> [INFO] [stderr] 520 + ) -> Result]>> [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: 1 warning emitted [INFO] [stderr] [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] test src/lib.rs - Response (line 129) - compile ... ok [INFO] [stdout] test src/lib.rs - Request (line 81) - compile ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.12s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "5e1179b7808554d28fa8eadbd64b1226f9510a5d9e9b8a8563438391a50587ff", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5e1179b7808554d28fa8eadbd64b1226f9510a5d9e9b8a8563438391a50587ff", kill_on_drop: false }` [INFO] [stdout] 5e1179b7808554d28fa8eadbd64b1226f9510a5d9e9b8a8563438391a50587ff