[INFO] fetching crate thhp 0.2.0... [INFO] checking thhp-0.2.0 against master#cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c for pr-143170 [INFO] extracting crate thhp 0.2.0 into /workspace/builds/worker-7-tc1/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-7-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate thhp 0.2.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] Locking 8 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" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "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] [stderr] Downloading crates ... [INFO] [stderr] Downloaded picohttpparser-sys v1.0.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] 8e7404b767e7139d65ec9933740e73a00ffcb42d5709d735ecd91754b1e5ab32 [INFO] running `Command { std: "docker" "start" "-a" "8e7404b767e7139d65ec9933740e73a00ffcb42d5709d735ecd91754b1e5ab32", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8e7404b767e7139d65ec9933740e73a00ffcb42d5709d735ecd91754b1e5ab32", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8e7404b767e7139d65ec9933740e73a00ffcb42d5709d735ecd91754b1e5ab32", kill_on_drop: false }` [INFO] [stdout] 8e7404b767e7139d65ec9933740e73a00ffcb42d5709d735ecd91754b1e5ab32 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] fb6d2082d3652ad0cec38b0a11f384413d4613456c3494985749d664dc6920d0 [INFO] running `Command { std: "docker" "start" "-a" "fb6d2082d3652ad0cec38b0a11f384413d4613456c3494985749d664dc6920d0", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Compiling version_check v0.1.5 [INFO] [stderr] Compiling libc v0.2.174 [INFO] [stderr] Compiling httparse v1.10.1 [INFO] [stderr] Compiling cc v1.2.27 [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)]` 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: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/lib.rs:341:18 [INFO] [stdout] | [INFO] [stdout] 341 | fn new(buf: &'buffer [u8]) -> HttpPartParser { [INFO] [stdout] | ^^^^^^^ -------------- the lifetime gets resolved as `'buffer` [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 consistently use `'buffer` [INFO] [stdout] | [INFO] [stdout] 341 | fn new(buf: &'buffer [u8]) -> HttpPartParser<'buffer> { [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/scanner.rs:13:22 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn new(buf: &'a [u8]) -> Scanner { [INFO] [stdout] | ^^ ------- the lifetime gets resolved as `'a` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to 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 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: 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)]` 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: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/lib.rs:341:18 [INFO] [stdout] | [INFO] [stdout] 341 | fn new(buf: &'buffer [u8]) -> HttpPartParser { [INFO] [stdout] | ^^^^^^^ -------------- the lifetime gets resolved as `'buffer` [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 consistently use `'buffer` [INFO] [stdout] | [INFO] [stdout] 341 | fn new(buf: &'buffer [u8]) -> HttpPartParser<'buffer> { [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/scanner.rs:13:22 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn new(buf: &'a [u8]) -> Scanner { [INFO] [stdout] | ^^ ------- the lifetime gets resolved as `'a` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to 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 5.38s [INFO] running `Command { std: "docker" "inspect" "fb6d2082d3652ad0cec38b0a11f384413d4613456c3494985749d664dc6920d0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fb6d2082d3652ad0cec38b0a11f384413d4613456c3494985749d664dc6920d0", kill_on_drop: false }` [INFO] [stdout] fb6d2082d3652ad0cec38b0a11f384413d4613456c3494985749d664dc6920d0