[INFO] fetching crate mailparse 0.16.1... [INFO] testing mailparse-0.16.1 against master#cdb45c87e2cd43495379f7e867e3cc15dcee9f93 for pr-145838-1 [INFO] extracting crate mailparse 0.16.1 into /workspace/builds/worker-3-tc1/source [INFO] started tweaking crates.io crate mailparse 0.16.1 [INFO] finished tweaking crates.io crate mailparse 0.16.1 [INFO] tweaked toml for crates.io crate mailparse 0.16.1 written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate mailparse 0.16.1 on toolchain cdb45c87e2cd43495379f7e867e3cc15dcee9f93 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate mailparse 0.16.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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded quoted_printable v0.5.0 [INFO] [stderr] Downloaded charset v0.1.3 [INFO] [stderr] Downloaded syn v2.0.20 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2efbbddda89b2345c485a5891342d3ad6ed007f8c5ac73078eabec400b6549c9 [INFO] running `Command { std: "docker" "start" "-a" "2efbbddda89b2345c485a5891342d3ad6ed007f8c5ac73078eabec400b6549c9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2efbbddda89b2345c485a5891342d3ad6ed007f8c5ac73078eabec400b6549c9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2efbbddda89b2345c485a5891342d3ad6ed007f8c5ac73078eabec400b6549c9", kill_on_drop: false }` [INFO] [stdout] 2efbbddda89b2345c485a5891342d3ad6ed007f8c5ac73078eabec400b6549c9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ba434e53033a4db5bd6300e49f7c896f876c141a743469a002c1ef3e6971869d [INFO] running `Command { std: "docker" "start" "-a" "ba434e53033a4db5bd6300e49f7c896f876c141a743469a002c1ef3e6971869d", kill_on_drop: false }` [INFO] [stderr] Compiling encoding_rs v0.8.32 [INFO] [stderr] Compiling base64 v0.13.1 [INFO] [stderr] Compiling quoted_printable v0.5.0 [INFO] [stderr] Compiling data-encoding v2.7.0 [INFO] [stderr] Compiling charset v0.1.3 [INFO] [stderr] Compiling mailparse v0.16.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:195:24 [INFO] [stdout] | [INFO] [stdout] 195 | pub fn get_key_ref(&self) -> Cow { [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] 195 | pub fn get_key_ref(&self) -> Cow<'_, str> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:335:31 [INFO] [stdout] | [INFO] [stdout] 335 | pub fn parse_header(raw_data: &[u8]) -> Result<(MailHeader, usize), MailParseError> { [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] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 335 | pub fn parse_header(raw_data: &[u8]) -> Result<(MailHeader<'_>, usize), MailParseError> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:454:25 [INFO] [stdout] | [INFO] [stdout] 454 | fn get_first_header(&self, key: &str) -> Option<&MailHeader>; [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] 454 | fn get_first_header(&self, key: &str) -> Option<&MailHeader<'_>>; [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:476:24 [INFO] [stdout] | [INFO] [stdout] 476 | fn get_all_headers(&self, key: &str) -> Vec<&MailHeader>; [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] 476 | fn get_all_headers(&self, key: &str) -> Vec<&MailHeader<'_>>; [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:489:25 [INFO] [stdout] | [INFO] [stdout] 489 | fn get_first_header(&self, key: &str) -> Option<&MailHeader> { [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] 489 | fn get_first_header(&self, key: &str) -> Option<&MailHeader<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:504:24 [INFO] [stdout] | [INFO] [stdout] 504 | fn get_all_headers(&self, key: &str) -> Vec<&MailHeader> { [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] 504 | fn get_all_headers(&self, key: &str) -> Vec<&MailHeader<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:538:32 [INFO] [stdout] | [INFO] [stdout] 538 | pub fn parse_headers(raw_data: &[u8]) -> Result<(Vec, usize), MailParseError> { [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] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 538 | pub fn parse_headers(raw_data: &[u8]) -> Result<(Vec>, usize), MailParseError> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:936:29 [INFO] [stdout] | [INFO] [stdout] 936 | pub fn parse_mail(raw_data: &[u8]) -> Result { [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] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 936 | pub fn parse_mail(raw_data: &[u8]) -> Result, MailParseError> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:955:15 [INFO] [stdout] | [INFO] [stdout] 955 | raw_data: &[u8], [INFO] [stdout] | ^^^^^ the lifetime is elided here [INFO] [stdout] 956 | in_multipart_digest: bool, [INFO] [stdout] 957 | ) -> Result { [INFO] [stdout] | ^^^^^^^^^^ the same lifetime is hidden 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] 957 | ) -> Result, MailParseError> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/header.rs:75:31 [INFO] [stdout] | [INFO] [stdout] 75 | fn tokenize_header_line(line: &str) -> Vec { [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] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 75 | fn tokenize_header_line(line: &str) -> Vec> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/header.rs:76:31 [INFO] [stdout] | [INFO] [stdout] 76 | fn maybe_whitespace(text: &str) -> HeaderToken { [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] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 76 | fn maybe_whitespace(text: &str) -> HeaderToken<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/header.rs:137:27 [INFO] [stdout] | [INFO] [stdout] 137 | fn tokenize_header(value: &str) -> Vec { [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] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 137 | fn tokenize_header(value: &str) -> Vec> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/header.rs:219:37 [INFO] [stdout] | [INFO] [stdout] 219 | pub fn normalized_tokens(raw_value: &str) -> Vec { [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] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 219 | pub fn normalized_tokens(raw_value: &str) -> Vec> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/headers.rs:99:25 [INFO] [stdout] | [INFO] [stdout] 99 | fn get_first_header(&self, key: &str) -> Option<&MailHeader> { [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] 99 | fn get_first_header(&self, key: &str) -> Option<&MailHeader<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/headers.rs:117:24 [INFO] [stdout] | [INFO] [stdout] 117 | fn get_all_headers(&self, key: &str) -> Vec<&MailHeader> { [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] 117 | fn get_all_headers(&self, key: &str) -> Vec<&MailHeader<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 3.16s [INFO] running `Command { std: "docker" "inspect" "ba434e53033a4db5bd6300e49f7c896f876c141a743469a002c1ef3e6971869d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ba434e53033a4db5bd6300e49f7c896f876c141a743469a002c1ef3e6971869d", kill_on_drop: false }` [INFO] [stdout] ba434e53033a4db5bd6300e49f7c896f876c141a743469a002c1ef3e6971869d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9945abf78b35e5ffe79b90e22752cb0b5e1cd30f22369ef66967d0a6e53b034b [INFO] running `Command { std: "docker" "start" "-a" "9945abf78b35e5ffe79b90e22752cb0b5e1cd30f22369ef66967d0a6e53b034b", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.60 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling static_assertions v1.1.0 [INFO] [stderr] Compiling aliasable v0.1.3 [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:195:24 [INFO] [stdout] | [INFO] [stdout] 195 | pub fn get_key_ref(&self) -> Cow { [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] 195 | pub fn get_key_ref(&self) -> Cow<'_, str> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:335:31 [INFO] [stdout] | [INFO] [stdout] 335 | pub fn parse_header(raw_data: &[u8]) -> Result<(MailHeader, usize), MailParseError> { [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] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 335 | pub fn parse_header(raw_data: &[u8]) -> Result<(MailHeader<'_>, usize), MailParseError> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:454:25 [INFO] [stdout] | [INFO] [stdout] 454 | fn get_first_header(&self, key: &str) -> Option<&MailHeader>; [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] 454 | fn get_first_header(&self, key: &str) -> Option<&MailHeader<'_>>; [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:476:24 [INFO] [stdout] | [INFO] [stdout] 476 | fn get_all_headers(&self, key: &str) -> Vec<&MailHeader>; [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] 476 | fn get_all_headers(&self, key: &str) -> Vec<&MailHeader<'_>>; [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:489:25 [INFO] [stdout] | [INFO] [stdout] 489 | fn get_first_header(&self, key: &str) -> Option<&MailHeader> { [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] 489 | fn get_first_header(&self, key: &str) -> Option<&MailHeader<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:504:24 [INFO] [stdout] | [INFO] [stdout] 504 | fn get_all_headers(&self, key: &str) -> Vec<&MailHeader> { [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] 504 | fn get_all_headers(&self, key: &str) -> Vec<&MailHeader<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:538:32 [INFO] [stdout] | [INFO] [stdout] 538 | pub fn parse_headers(raw_data: &[u8]) -> Result<(Vec, usize), MailParseError> { [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] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 538 | pub fn parse_headers(raw_data: &[u8]) -> Result<(Vec>, usize), MailParseError> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:936:29 [INFO] [stdout] | [INFO] [stdout] 936 | pub fn parse_mail(raw_data: &[u8]) -> Result { [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] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 936 | pub fn parse_mail(raw_data: &[u8]) -> Result, MailParseError> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:955:15 [INFO] [stdout] | [INFO] [stdout] 955 | raw_data: &[u8], [INFO] [stdout] | ^^^^^ the lifetime is elided here [INFO] [stdout] 956 | in_multipart_digest: bool, [INFO] [stdout] 957 | ) -> Result { [INFO] [stdout] | ^^^^^^^^^^ the same lifetime is hidden 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] 957 | ) -> Result, MailParseError> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/header.rs:75:31 [INFO] [stdout] | [INFO] [stdout] 75 | fn tokenize_header_line(line: &str) -> Vec { [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] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 75 | fn tokenize_header_line(line: &str) -> Vec> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/header.rs:76:31 [INFO] [stdout] | [INFO] [stdout] 76 | fn maybe_whitespace(text: &str) -> HeaderToken { [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] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 76 | fn maybe_whitespace(text: &str) -> HeaderToken<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/header.rs:137:27 [INFO] [stdout] | [INFO] [stdout] 137 | fn tokenize_header(value: &str) -> Vec { [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] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 137 | fn tokenize_header(value: &str) -> Vec> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/header.rs:219:37 [INFO] [stdout] | [INFO] [stdout] 219 | pub fn normalized_tokens(raw_value: &str) -> Vec { [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] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 219 | pub fn normalized_tokens(raw_value: &str) -> Vec> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/headers.rs:99:25 [INFO] [stdout] | [INFO] [stdout] 99 | fn get_first_header(&self, key: &str) -> Option<&MailHeader> { [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] 99 | fn get_first_header(&self, key: &str) -> Option<&MailHeader<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/headers.rs:117:24 [INFO] [stdout] | [INFO] [stdout] 117 | fn get_all_headers(&self, key: &str) -> Vec<&MailHeader> { [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] 117 | fn get_all_headers(&self, key: &str) -> Vec<&MailHeader<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling quote v1.0.28 [INFO] [stderr] Compiling syn v2.0.20 [INFO] [stderr] Compiling ouroboros_macro v0.17.2 [INFO] [stderr] Compiling ouroboros v0.17.2 [INFO] [stderr] Compiling mailparse v0.16.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:195:24 [INFO] [stdout] | [INFO] [stdout] 195 | pub fn get_key_ref(&self) -> Cow { [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] 195 | pub fn get_key_ref(&self) -> Cow<'_, str> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:335:31 [INFO] [stdout] | [INFO] [stdout] 335 | pub fn parse_header(raw_data: &[u8]) -> Result<(MailHeader, usize), MailParseError> { [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] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 335 | pub fn parse_header(raw_data: &[u8]) -> Result<(MailHeader<'_>, usize), MailParseError> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:454:25 [INFO] [stdout] | [INFO] [stdout] 454 | fn get_first_header(&self, key: &str) -> Option<&MailHeader>; [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] 454 | fn get_first_header(&self, key: &str) -> Option<&MailHeader<'_>>; [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:476:24 [INFO] [stdout] | [INFO] [stdout] 476 | fn get_all_headers(&self, key: &str) -> Vec<&MailHeader>; [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] 476 | fn get_all_headers(&self, key: &str) -> Vec<&MailHeader<'_>>; [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:489:25 [INFO] [stdout] | [INFO] [stdout] 489 | fn get_first_header(&self, key: &str) -> Option<&MailHeader> { [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] 489 | fn get_first_header(&self, key: &str) -> Option<&MailHeader<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:504:24 [INFO] [stdout] | [INFO] [stdout] 504 | fn get_all_headers(&self, key: &str) -> Vec<&MailHeader> { [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] 504 | fn get_all_headers(&self, key: &str) -> Vec<&MailHeader<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:538:32 [INFO] [stdout] | [INFO] [stdout] 538 | pub fn parse_headers(raw_data: &[u8]) -> Result<(Vec, usize), MailParseError> { [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] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 538 | pub fn parse_headers(raw_data: &[u8]) -> Result<(Vec>, usize), MailParseError> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:936:29 [INFO] [stdout] | [INFO] [stdout] 936 | pub fn parse_mail(raw_data: &[u8]) -> Result { [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] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 936 | pub fn parse_mail(raw_data: &[u8]) -> Result, MailParseError> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:955:15 [INFO] [stdout] | [INFO] [stdout] 955 | raw_data: &[u8], [INFO] [stdout] | ^^^^^ the lifetime is elided here [INFO] [stdout] 956 | in_multipart_digest: bool, [INFO] [stdout] 957 | ) -> Result { [INFO] [stdout] | ^^^^^^^^^^ the same lifetime is hidden 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] 957 | ) -> Result, MailParseError> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/header.rs:75:31 [INFO] [stdout] | [INFO] [stdout] 75 | fn tokenize_header_line(line: &str) -> Vec { [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] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 75 | fn tokenize_header_line(line: &str) -> Vec> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/header.rs:76:31 [INFO] [stdout] | [INFO] [stdout] 76 | fn maybe_whitespace(text: &str) -> HeaderToken { [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] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 76 | fn maybe_whitespace(text: &str) -> HeaderToken<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/header.rs:137:27 [INFO] [stdout] | [INFO] [stdout] 137 | fn tokenize_header(value: &str) -> Vec { [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] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 137 | fn tokenize_header(value: &str) -> Vec> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/header.rs:219:37 [INFO] [stdout] | [INFO] [stdout] 219 | pub fn normalized_tokens(raw_value: &str) -> Vec { [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] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 219 | pub fn normalized_tokens(raw_value: &str) -> Vec> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/headers.rs:99:25 [INFO] [stdout] | [INFO] [stdout] 99 | fn get_first_header(&self, key: &str) -> Option<&MailHeader> { [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] 99 | fn get_first_header(&self, key: &str) -> Option<&MailHeader<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/headers.rs:117:24 [INFO] [stdout] | [INFO] [stdout] 117 | fn get_all_headers(&self, key: &str) -> Vec<&MailHeader> { [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] 117 | fn get_all_headers(&self, key: &str) -> Vec<&MailHeader<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 8.94s [INFO] running `Command { std: "docker" "inspect" "9945abf78b35e5ffe79b90e22752cb0b5e1cd30f22369ef66967d0a6e53b034b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9945abf78b35e5ffe79b90e22752cb0b5e1cd30f22369ef66967d0a6e53b034b", kill_on_drop: false }` [INFO] [stdout] 9945abf78b35e5ffe79b90e22752cb0b5e1cd30f22369ef66967d0a6e53b034b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 87a93c9ec0a68c26a47747125e815b0f8b688f22d6efeaabb394424448c5c21b [INFO] running `Command { std: "docker" "start" "-a" "87a93c9ec0a68c26a47747125e815b0f8b688f22d6efeaabb394424448c5c21b", kill_on_drop: false }` [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/lib.rs:195:24 [INFO] [stderr] | [INFO] [stderr] 195 | pub fn get_key_ref(&self) -> Cow { [INFO] [stderr] | ^^^^^ ^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided 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: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 195 | pub fn get_key_ref(&self) -> Cow<'_, str> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/lib.rs:335:31 [INFO] [stderr] | [INFO] [stderr] 335 | pub fn parse_header(raw_data: &[u8]) -> Result<(MailHeader, usize), MailParseError> { [INFO] [stderr] | ^^^^^ ^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 335 | pub fn parse_header(raw_data: &[u8]) -> Result<(MailHeader<'_>, usize), MailParseError> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/lib.rs:454:25 [INFO] [stderr] | [INFO] [stderr] 454 | fn get_first_header(&self, key: &str) -> Option<&MailHeader>; [INFO] [stderr] | ^^^^^ ^^^^^^^^^^^ [INFO] [stderr] | | || [INFO] [stderr] | | |the same lifetime is hidden here [INFO] [stderr] | | the same lifetime is elided here [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 454 | fn get_first_header(&self, key: &str) -> Option<&MailHeader<'_>>; [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/lib.rs:476:24 [INFO] [stderr] | [INFO] [stderr] 476 | fn get_all_headers(&self, key: &str) -> Vec<&MailHeader>; [INFO] [stderr] | ^^^^^ ^^^^^^^^^^^ [INFO] [stderr] | | || [INFO] [stderr] | | |the same lifetime is hidden here [INFO] [stderr] | | the same lifetime is elided here [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 476 | fn get_all_headers(&self, key: &str) -> Vec<&MailHeader<'_>>; [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/lib.rs:489:25 [INFO] [stderr] | [INFO] [stderr] 489 | fn get_first_header(&self, key: &str) -> Option<&MailHeader> { [INFO] [stderr] | ^^^^^ ^^^^^^^^^^^ [INFO] [stderr] | | || [INFO] [stderr] | | |the same lifetime is hidden here [INFO] [stderr] | | the same lifetime is elided here [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 489 | fn get_first_header(&self, key: &str) -> Option<&MailHeader<'_>> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/lib.rs:504:24 [INFO] [stderr] | [INFO] [stderr] 504 | fn get_all_headers(&self, key: &str) -> Vec<&MailHeader> { [INFO] [stderr] | ^^^^^ ^^^^^^^^^^^ [INFO] [stderr] | | || [INFO] [stderr] | | |the same lifetime is hidden here [INFO] [stderr] | | the same lifetime is elided here [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 504 | fn get_all_headers(&self, key: &str) -> Vec<&MailHeader<'_>> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/lib.rs:538:32 [INFO] [stderr] | [INFO] [stderr] 538 | pub fn parse_headers(raw_data: &[u8]) -> Result<(Vec, usize), MailParseError> { [INFO] [stderr] | ^^^^^ ^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 538 | pub fn parse_headers(raw_data: &[u8]) -> Result<(Vec>, usize), MailParseError> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/lib.rs:936:29 [INFO] [stderr] | [INFO] [stderr] 936 | pub fn parse_mail(raw_data: &[u8]) -> Result { [INFO] [stderr] | ^^^^^ ^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 936 | pub fn parse_mail(raw_data: &[u8]) -> Result, MailParseError> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/lib.rs:955:15 [INFO] [stderr] | [INFO] [stderr] 955 | raw_data: &[u8], [INFO] [stderr] | ^^^^^ the lifetime is elided here [INFO] [stderr] 956 | in_multipart_digest: bool, [INFO] [stderr] 957 | ) -> Result { [INFO] [stderr] | ^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 957 | ) -> Result, MailParseError> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/header.rs:75:31 [INFO] [stderr] | [INFO] [stderr] 75 | fn tokenize_header_line(line: &str) -> Vec { [INFO] [stderr] | ^^^^ ^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 75 | fn tokenize_header_line(line: &str) -> Vec> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/header.rs:76:31 [INFO] [stderr] | [INFO] [stderr] 76 | fn maybe_whitespace(text: &str) -> HeaderToken { [INFO] [stderr] | ^^^^ ^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] [INFO] [stderr] | | [INFO] [stdout] running 50 tests [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 76 | fn maybe_whitespace(text: &str) -> HeaderToken<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/header.rs:137:27 [INFO] [stderr] | [INFO] [stderr] 137 | fn tokenize_header(value: &str) -> Vec { [INFO] [stderr] | ^^^^ ^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 137 | fn tokenize_header(value: &str) -> Vec> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/header.rs:219:37 [INFO] [stderr] | [INFO] [stderr] 219 | pub fn normalized_tokens(raw_value: &str) -> Vec { [INFO] [stderr] | ^^^^ ^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 219 | pub fn normalized_tokens(raw_value: &str) -> Vec> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/headers.rs:99:25 [INFO] [stderr] | [INFO] [stderr] 99 | fn get_first_header(&self, key: &str) -> Option<&MailHeader> { [INFO] [stderr] | ^^^^^ ^^^^^^^^^^^ [INFO] [stderr] | | || [INFO] [stderr] | | |the same lifetime is hidden here [INFO] [stderr] | | the same lifetime is elided here [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 99 | fn get_first_header(&self, key: &str) -> Option<&MailHeader<'_>> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/headers.rs:117:24 [INFO] [stderr] | [INFO] [stderr] 117 | fn get_all_headers(&self, key: &str) -> Vec<&MailHeader> { [INFO] [stderr] | ^^^^^ ^^^^^^^^^^^ [INFO] [stderr] | | || [INFO] [stderr] | | |the same lifetime is hidden here [INFO] [stderr] | | the same lifetime is elided here [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 117 | fn get_all_headers(&self, key: &str) -> Vec<&MailHeader<'_>> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: `mailparse` (lib) generated 15 warnings (run `cargo fix --lib -p mailparse` to apply 15 suggestions) [INFO] [stderr] warning: `mailparse` (lib test) generated 15 warnings (15 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.07s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/mailparse-1b7517b54ff7435d) [INFO] [stdout] test addrparse::tests::count_addrs ... ok [INFO] [stdout] test addrparse::tests::parse_backslashes ... ok [INFO] [stdout] test addrparse::tests::parse_mixed ... ok [INFO] [stdout] test addrparse::tests::parse_multi ... ok [INFO] [stdout] test addrparse::tests::parse_basic ... ok [INFO] [stdout] test addrparse::tests::parse_quoted_encoded ... ok [INFO] [stdout] test addrparse::tests::real_world_examples ... ok [INFO] [stdout] test addrparse::tests::parse_with_encoded ... ok [INFO] [stdout] test addrparse::tests::parse_second_encoded ... ok [INFO] [stdout] test header::tests::test_is_boundary_multibyte ... ok [INFO] [stdout] test dateparse::tests::parse_dates ... ok [INFO] [stdout] test addrparse::tests::stringify_group ... ok [INFO] [stdout] test msgidparse::tests::parse_message_ids ... ok [INFO] [stdout] test test_find_from_u8 ... ok [INFO] [stdout] test tests::boundary_is_suffix_of_another_boundary ... ok [INFO] [stdout] test test_find_from_u8_line_prefix ... ok [INFO] [stdout] test addrparse::tests::stringify_single ... ok [INFO] [stdout] test tests::parse_basic_header ... ok [INFO] [stdout] test tests::parse_multiple_headers ... ok [INFO] [stdout] test addrparse::tests::parse_simple_group ... ok [INFO] [stdout] test addrparse::tests::parse_invalid ... ok [INFO] [stdout] test tests::encoded_words_and_spaces ... ok [INFO] [stdout] test addrparse::tests::stringify_list ... ok [INFO] [stdout] test tests::test_7bit_content_encoding ... ok [INFO] [stdout] test tests::test_dont_panic_for_value_with_new_lines ... ok [INFO] [stdout] test tests::test_empty ... ok [INFO] [stdout] test tests::test_missing_body ... ok [INFO] [stdout] test tests::parse_encoded_headers ... ok [INFO] [stdout] test tests::test_base64_content_encoding ... ok [INFO] [stdout] test tests::test_missing_terminating_boundary ... ok [INFO] [stdout] test tests::test_8bit_content_encoding ... ok [INFO] [stdout] test tests::test_binary_content_encoding ... ok [INFO] [stdout] test tests::test_base64_content_encoding_multiple_strings ... ok [INFO] [stdout] test tests::test_no_parts ... ok [INFO] [stdout] test tests::test_default_content_encoding ... ok [INFO] [stdout] test tests::test_parse_content_disposition ... ok [INFO] [stdout] test tests::test_no_headers_in_subpart ... ok [INFO] [stdout] test tests::test_percent_decoder ... ok [INFO] [stdout] test tests::test_quoted_printable_content_encoding ... ok [INFO] [stdout] test tests::test_parse_mail ... ok [INFO] [stdout] test tests::test_header_split ... ok [INFO] [stdout] test tests::test_default_content_type_in_multipart_digest ... ok [INFO] [stdout] test tests::test_fuzzer_testcase_2 ... ok [INFO] [stdout] test tests::test_parameter_encodings ... ok [INFO] [stdout] test tests::test_parts_iterator ... ok [INFO] [stdout] test tests::test_fuzzer_testcase ... ok [INFO] [stdout] test tests::test_parameter_value_continuations ... ok [INFO] [stdout] test tests::test_parse_content_type ... ok [INFO] [stdout] test tests::test_body_content_encoding_with_multipart ... ok [INFO] [stderr] Doc-tests mailparse [INFO] [stdout] test addrparse::tests::parse_empty_group ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 50 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.02s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 25 tests [INFO] [stdout] test src/headers.rs - headers::Headers<'a>::get_all_values (line 104) ... ok [INFO] [stdout] test src/headers.rs - headers::Headers<'a>::get_first_value (line 86) ... ok [INFO] [stdout] test src/lib.rs - ParsedMail<'a>::get_body_encoded (line 806) ... ok [INFO] [stdout] test src/headers.rs - headers::Headers<'a> (line 39) ... ok [INFO] [stdout] test src/headers.rs - headers::Headers<'a> (line 63) ... ok [INFO] [stdout] test src/addrparse.rs - addrparse::addrparse (line 255) ... ok [INFO] [stdout] test src/lib.rs - ParsedMail<'a>::get_body (line 760) ... ok [INFO] [stdout] test src/addrparse.rs - addrparse::addrparse_header (line 275) ... ok [INFO] [stdout] test src/dateparse.rs - dateparse::dateparse (line 74) ... ok [INFO] [stdout] test src/lib.rs - MailHeader<'a>::get_value (line 222) ... ok [INFO] [stdout] test src/lib.rs - MailHeader<'a>::get_value_raw (line 295) ... ok [INFO] [stdout] test src/lib.rs - MailHeaderMap::get_first_value (line 441) ... ok [INFO] [stdout] test src/headers.rs - headers::Headers<'a>::get_raw_bytes (line 22) ... ok [INFO] [stdout] test src/lib.rs - parse_content_disposition (line 707) ... ok [INFO] [stdout] test src/msgidparse.rs - msgidparse::msgidparse (line 48) ... ok [INFO] [stdout] test src/lib.rs - MailHeader<'a>::get_key_raw (line 283) ... ok [INFO] [stdout] test src/lib.rs - parse_content_type (line 608) ... ok [INFO] [stdout] test src/lib.rs - parse_content_type (line 619) ... ok [INFO] [stdout] test src/lib.rs - MailHeaderMap::get_all_values (line 463) ... ok [INFO] [stdout] test src/lib.rs - ParsedMail<'a>::get_body_raw (line 782) ... ok [INFO] [stdout] test src/lib.rs - parse_headers (line 528) ... ok [INFO] [stdout] test src/lib.rs - parse_mail (line 905) ... ok [INFO] [stdout] test src/lib.rs - parse_content_type (line 628) ... ok [INFO] [stdout] test src/lib.rs - MailHeader<'a>::get_value_utf8 (line 267) ... ok [INFO] [stdout] test src/lib.rs - parse_header (line 325) ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 25 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 1.55s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "87a93c9ec0a68c26a47747125e815b0f8b688f22d6efeaabb394424448c5c21b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "87a93c9ec0a68c26a47747125e815b0f8b688f22d6efeaabb394424448c5c21b", kill_on_drop: false }` [INFO] [stdout] 87a93c9ec0a68c26a47747125e815b0f8b688f22d6efeaabb394424448c5c21b