[INFO] fetching crate human_name 2.0.4... [INFO] testing human_name-2.0.4 against try#b83b707f97d809763b7861afa7638871f3339a33 for pr-145838-1 [INFO] extracting crate human_name 2.0.4 into /workspace/builds/worker-4-tc2/source [INFO] started tweaking crates.io crate human_name 2.0.4 [INFO] finished tweaking crates.io crate human_name 2.0.4 [INFO] tweaked toml for crates.io crate human_name 2.0.4 written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate human_name 2.0.4 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] crate crates.io crate human_name 2.0.4 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" "+b83b707f97d809763b7861afa7638871f3339a33" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7c8b7f334b6c0b7ad34b120f26e9cecffc2738652ccf0aee362f7632bf855490 [INFO] running `Command { std: "docker" "start" "-a" "7c8b7f334b6c0b7ad34b120f26e9cecffc2738652ccf0aee362f7632bf855490", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7c8b7f334b6c0b7ad34b120f26e9cecffc2738652ccf0aee362f7632bf855490", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7c8b7f334b6c0b7ad34b120f26e9cecffc2738652ccf0aee362f7632bf855490", kill_on_drop: false }` [INFO] [stdout] 7c8b7f334b6c0b7ad34b120f26e9cecffc2738652ccf0aee362f7632bf855490 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4a371a3962dc338808a977aa14f05b404babc614e7ac54e97bc68f436c1c53f7 [INFO] running `Command { std: "docker" "start" "-a" "4a371a3962dc338808a977aa14f05b404babc614e7ac54e97bc68f436c1c53f7", kill_on_drop: false }` [INFO] [stderr] Compiling siphasher v0.3.11 [INFO] [stderr] Compiling serde v1.0.210 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling rustversion v1.0.17 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling unicode-case-mapping v0.4.0 [INFO] [stderr] Compiling serde_json v1.0.128 [INFO] [stderr] Compiling unidecode v0.3.0 [INFO] [stderr] Compiling smallvec v1.13.2 [INFO] [stderr] Compiling unicode-normalization v0.1.24 [INFO] [stderr] Compiling syn v2.0.79 [INFO] [stderr] Compiling phf_shared v0.11.2 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling phf v0.11.2 [INFO] [stderr] Compiling phf_generator v0.11.2 [INFO] [stderr] Compiling castaway v0.2.3 [INFO] [stderr] Compiling phf_codegen v0.11.2 [INFO] [stderr] Compiling serde_derive v1.0.210 [INFO] [stderr] Compiling compact_str v0.7.1 [INFO] [stderr] Compiling human_name v2.0.4 (/opt/rustwide/workdir) [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:356:24 [INFO] [stdout] | [INFO] [stdout] 356 | pub fn middle_name(&self) -> Option> { [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] 356 | pub fn middle_name(&self) -> Option> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:462:36 [INFO] [stdout] | [INFO] [stdout] 462 | pub fn display_initial_surname(&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] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 462 | pub fn display_initial_surname(&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:488:31 [INFO] [stdout] | [INFO] [stdout] 488 | pub fn display_first_last(&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] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 488 | pub fn display_first_last(&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:540:25 [INFO] [stdout] | [INFO] [stdout] 540 | pub fn display_full(&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] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 540 | pub fn display_full(&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:565:41 [INFO] [stdout] | [INFO] [stdout] 565 | pub fn display_full_with_honorifics(&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] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 565 | pub fn display_full_with_honorifics(&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:648:9 [INFO] [stdout] | [INFO] [stdout] 648 | &self, [INFO] [stdout] | ^^^^^ the lifetime is elided here [INFO] [stdout] 649 | ) -> Words + DoubleEndedIterator + ExactSizeIterator + '_> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is elided here [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] 649 | ) -> Words<'_, impl Iterator + DoubleEndedIterator + ExactSizeIterator + '_> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:655:9 [INFO] [stdout] | [INFO] [stdout] 655 | &self, [INFO] [stdout] | ^^^^^ the lifetime is elided here [INFO] [stdout] 656 | ) -> Option + DoubleEndedIterator + ExactSizeIterator + '_>> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is elided here [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] 656 | ) -> Option + DoubleEndedIterator + ExactSizeIterator + '_>> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:667:9 [INFO] [stdout] | [INFO] [stdout] 667 | &self, [INFO] [stdout] | ^^^^^ the lifetime is elided here [INFO] [stdout] 668 | ) -> Words + DoubleEndedIterator + ExactSizeIterator + '_> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is elided here [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] 668 | ) -> Words<'_, impl Iterator + DoubleEndedIterator + ExactSizeIterator + '_> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/lib.rs:676:16 [INFO] [stdout] | [INFO] [stdout] 674 | &'a self, [INFO] [stdout] | -- the lifetime is named here [INFO] [stdout] 675 | locations: &'a [Location], [INFO] [stdout] | -- the lifetime is named here [INFO] [stdout] 676 | ) -> Words<'_, impl Iterator + DoubleEndedIterator + ExactSizeIterator + '_> [INFO] [stdout] | ^^ the same lifetime is elided here ^^ the same 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: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 676 - ) -> Words<'_, impl Iterator + DoubleEndedIterator + ExactSizeIterator + '_> [INFO] [stdout] 676 + ) -> Words<'a, impl Iterator + DoubleEndedIterator + ExactSizeIterator + 'a> [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/comparison.rs:115:9 [INFO] [stdout] | [INFO] [stdout] 115 | &self, [INFO] [stdout] | ^^^^^ the lifetime is elided here [INFO] [stdout] 116 | ) -> GivenNamesOrInitials< [INFO] [stdout] | __________^ [INFO] [stdout] 117 | | impl Iterator + '_, [INFO] [stdout] | | ^^ the same lifetime is elided here [INFO] [stdout] 118 | | impl Iterator + '_, [INFO] [stdout] | | ^^^^ ^^ the same lifetime is elided here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is elided here [INFO] [stdout] 119 | | > { [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] 116 | ) -> GivenNamesOrInitials<'_, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/comparison.rs:269:32 [INFO] [stdout] | [INFO] [stdout] 269 | fn transliterated_initials(&self) -> (char, 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] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 269 | fn transliterated_initials(&self) -> (char, Cow<'_, str>) { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/decomposition.rs:24:42 [INFO] [stdout] | [INFO] [stdout] 24 | pub fn normalize_nfkd_whitespace(string: &str) -> 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] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 24 | pub fn normalize_nfkd_whitespace(string: &str) -> Cow<'_, str> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/namepart.rs:77:28 [INFO] [stdout] | [INFO] [stdout] 77 | pub fn from_word(word: &str, trust_capitalization: bool, location: Location) -> NamePart { [INFO] [stdout] | ^^^^ the lifetime is elided here ^^^^^^^^ 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] 77 | pub fn from_word(word: &str, trust_capitalization: bool, location: Location) -> NamePart<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/namepart.rs:83:15 [INFO] [stdout] | [INFO] [stdout] 83 | word: &str, [INFO] [stdout] | ^^^^ the lifetime is elided here [INFO] [stdout] ... [INFO] [stdout] 87 | ) -> NamePart { [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] 87 | ) -> NamePart<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/nickname.rs:90:32 [INFO] [stdout] | [INFO] [stdout] 90 | fn find_close_and_strip(input: &str, open: NickOpen) -> 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] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 90 | fn find_close_and_strip(input: &str, open: NickOpen) -> Cow<'_, str> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/nickname.rs:139:30 [INFO] [stdout] | [INFO] [stdout] 139 | pub fn strip_nickname(input: &str) -> 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] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 139 | pub fn strip_nickname(input: &str) -> Cow<'_, str> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/nickname.rs:170:31 [INFO] [stdout] | [INFO] [stdout] 170 | pub fn iter_with_original(&self) -> NameVariantIter { [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] 170 | pub fn iter_with_original(&self) -> NameVariantIter<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/nickname.rs:226:34 [INFO] [stdout] | [INFO] [stdout] 226 | fn transliterate_if_non_ascii(s: &str) -> 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] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 226 | fn transliterate_if_non_ascii(s: &str) -> Cow<'_, str> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/parse.rs:23:29 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn honorific_prefix(&self) -> Option> { [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] 23 | pub fn honorific_prefix(&self) -> Option> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/parse.rs:41:29 [INFO] [stdout] | [INFO] [stdout] 41 | pub fn honorific_suffix(&self) -> Option> { [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] 41 | pub fn honorific_suffix(&self) -> Option> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/parse.rs:74:20 [INFO] [stdout] | [INFO] [stdout] 74 | pub fn parse(name: &str) -> Option { [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] 74 | pub fn parse(name: &str) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 16.07s [INFO] running `Command { std: "docker" "inspect" "4a371a3962dc338808a977aa14f05b404babc614e7ac54e97bc68f436c1c53f7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4a371a3962dc338808a977aa14f05b404babc614e7ac54e97bc68f436c1c53f7", kill_on_drop: false }` [INFO] [stdout] 4a371a3962dc338808a977aa14f05b404babc614e7ac54e97bc68f436c1c53f7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2b8738feba47353d454c665e18871e50d6ca5532a0a3d0348333ba673d8c58dc [INFO] running `Command { std: "docker" "start" "-a" "2b8738feba47353d454c665e18871e50d6ca5532a0a3d0348333ba673d8c58dc", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:356:24 [INFO] [stdout] | [INFO] [stdout] 356 | pub fn middle_name(&self) -> Option> { [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] 356 | pub fn middle_name(&self) -> Option> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:462:36 [INFO] [stdout] | [INFO] [stdout] 462 | pub fn display_initial_surname(&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] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 462 | pub fn display_initial_surname(&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:488:31 [INFO] [stdout] | [INFO] [stdout] 488 | pub fn display_first_last(&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] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 488 | pub fn display_first_last(&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:540:25 [INFO] [stdout] | [INFO] [stdout] 540 | pub fn display_full(&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] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 540 | pub fn display_full(&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:565:41 [INFO] [stdout] | [INFO] [stdout] 565 | pub fn display_full_with_honorifics(&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] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 565 | pub fn display_full_with_honorifics(&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:648:9 [INFO] [stdout] | [INFO] [stdout] 648 | &self, [INFO] [stdout] | ^^^^^ the lifetime is elided here [INFO] [stdout] 649 | ) -> Words + DoubleEndedIterator + ExactSizeIterator + '_> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is elided here [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] 649 | ) -> Words<'_, impl Iterator + DoubleEndedIterator + ExactSizeIterator + '_> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:655:9 [INFO] [stdout] | [INFO] [stdout] 655 | &self, [INFO] [stdout] | ^^^^^ the lifetime is elided here [INFO] [stdout] 656 | ) -> Option + DoubleEndedIterator + ExactSizeIterator + '_>> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is elided here [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] 656 | ) -> Option + DoubleEndedIterator + ExactSizeIterator + '_>> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:667:9 [INFO] [stdout] | [INFO] [stdout] 667 | &self, [INFO] [stdout] | ^^^^^ the lifetime is elided here [INFO] [stdout] 668 | ) -> Words + DoubleEndedIterator + ExactSizeIterator + '_> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is elided here [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] 668 | ) -> Words<'_, impl Iterator + DoubleEndedIterator + ExactSizeIterator + '_> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/lib.rs:676:16 [INFO] [stdout] | [INFO] [stdout] 674 | &'a self, [INFO] [stdout] | -- the lifetime is named here [INFO] [stdout] 675 | locations: &'a [Location], [INFO] [stdout] | -- the lifetime is named here [INFO] [stdout] 676 | ) -> Words<'_, impl Iterator + DoubleEndedIterator + ExactSizeIterator + '_> [INFO] [stdout] | ^^ the same lifetime is elided here ^^ the same 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: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 676 - ) -> Words<'_, impl Iterator + DoubleEndedIterator + ExactSizeIterator + '_> [INFO] [stdout] 676 + ) -> Words<'a, impl Iterator + DoubleEndedIterator + ExactSizeIterator + 'a> [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/comparison.rs:115:9 [INFO] [stdout] | [INFO] [stdout] 115 | &self, [INFO] [stdout] | ^^^^^ the lifetime is elided here [INFO] [stdout] 116 | ) -> GivenNamesOrInitials< [INFO] [stdout] | __________^ [INFO] [stdout] 117 | | impl Iterator + '_, [INFO] [stdout] | | ^^ the same lifetime is elided here [INFO] [stdout] 118 | | impl Iterator + '_, [INFO] [stdout] | | ^^^^ ^^ the same lifetime is elided here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is elided here [INFO] [stdout] 119 | | > { [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] 116 | ) -> GivenNamesOrInitials<'_, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/comparison.rs:269:32 [INFO] [stdout] | [INFO] [stdout] 269 | fn transliterated_initials(&self) -> (char, 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] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 269 | fn transliterated_initials(&self) -> (char, Cow<'_, str>) { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/decomposition.rs:24:42 [INFO] [stdout] | [INFO] [stdout] 24 | pub fn normalize_nfkd_whitespace(string: &str) -> 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] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 24 | pub fn normalize_nfkd_whitespace(string: &str) -> Cow<'_, str> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/namepart.rs:77:28 [INFO] [stdout] | [INFO] [stdout] 77 | pub fn from_word(word: &str, trust_capitalization: bool, location: Location) -> NamePart { [INFO] [stdout] | ^^^^ the lifetime is elided here ^^^^^^^^ 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] 77 | pub fn from_word(word: &str, trust_capitalization: bool, location: Location) -> NamePart<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/namepart.rs:83:15 [INFO] [stdout] | [INFO] [stdout] 83 | word: &str, [INFO] [stdout] | ^^^^ the lifetime is elided here [INFO] [stdout] ... [INFO] [stdout] 87 | ) -> NamePart { [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] 87 | ) -> NamePart<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/nickname.rs:90:32 [INFO] [stdout] | [INFO] [stdout] 90 | fn find_close_and_strip(input: &str, open: NickOpen) -> 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] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 90 | fn find_close_and_strip(input: &str, open: NickOpen) -> Cow<'_, str> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/nickname.rs:139:30 [INFO] [stdout] | [INFO] [stdout] 139 | pub fn strip_nickname(input: &str) -> 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] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 139 | pub fn strip_nickname(input: &str) -> Cow<'_, str> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/nickname.rs:170:31 [INFO] [stdout] | [INFO] [stdout] 170 | pub fn iter_with_original(&self) -> NameVariantIter { [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] 170 | pub fn iter_with_original(&self) -> NameVariantIter<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/nickname.rs:226:34 [INFO] [stdout] | [INFO] [stdout] 226 | fn transliterate_if_non_ascii(s: &str) -> 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] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 226 | fn transliterate_if_non_ascii(s: &str) -> Cow<'_, str> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/parse.rs:23:29 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn honorific_prefix(&self) -> Option> { [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] 23 | pub fn honorific_prefix(&self) -> Option> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/parse.rs:41:29 [INFO] [stdout] | [INFO] [stdout] 41 | pub fn honorific_suffix(&self) -> Option> { [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] 41 | pub fn honorific_suffix(&self) -> Option> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/parse.rs:74:20 [INFO] [stdout] | [INFO] [stdout] 74 | pub fn parse(name: &str) -> Option { [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] 74 | pub fn parse(name: &str) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling alloc_counter_macro v0.0.2 [INFO] [stderr] Compiling alloc_counter v0.0.4 [INFO] [stderr] Compiling human_name v2.0.4 (/opt/rustwide/workdir) [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:356:24 [INFO] [stdout] | [INFO] [stdout] 356 | pub fn middle_name(&self) -> Option> { [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] 356 | pub fn middle_name(&self) -> Option> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:462:36 [INFO] [stdout] | [INFO] [stdout] 462 | pub fn display_initial_surname(&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] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 462 | pub fn display_initial_surname(&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:488:31 [INFO] [stdout] | [INFO] [stdout] 488 | pub fn display_first_last(&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] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 488 | pub fn display_first_last(&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:540:25 [INFO] [stdout] | [INFO] [stdout] 540 | pub fn display_full(&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] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 540 | pub fn display_full(&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:565:41 [INFO] [stdout] | [INFO] [stdout] 565 | pub fn display_full_with_honorifics(&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] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 565 | pub fn display_full_with_honorifics(&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:648:9 [INFO] [stdout] | [INFO] [stdout] 648 | &self, [INFO] [stdout] | ^^^^^ the lifetime is elided here [INFO] [stdout] 649 | ) -> Words + DoubleEndedIterator + ExactSizeIterator + '_> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is elided here [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] 649 | ) -> Words<'_, impl Iterator + DoubleEndedIterator + ExactSizeIterator + '_> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:655:9 [INFO] [stdout] | [INFO] [stdout] 655 | &self, [INFO] [stdout] | ^^^^^ the lifetime is elided here [INFO] [stdout] 656 | ) -> Option + DoubleEndedIterator + ExactSizeIterator + '_>> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is elided here [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] 656 | ) -> Option + DoubleEndedIterator + ExactSizeIterator + '_>> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:667:9 [INFO] [stdout] | [INFO] [stdout] 667 | &self, [INFO] [stdout] | ^^^^^ the lifetime is elided here [INFO] [stdout] 668 | ) -> Words + DoubleEndedIterator + ExactSizeIterator + '_> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is elided here [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] 668 | ) -> Words<'_, impl Iterator + DoubleEndedIterator + ExactSizeIterator + '_> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/lib.rs:676:16 [INFO] [stdout] | [INFO] [stdout] 674 | &'a self, [INFO] [stdout] | -- the lifetime is named here [INFO] [stdout] 675 | locations: &'a [Location], [INFO] [stdout] | -- the lifetime is named here [INFO] [stdout] 676 | ) -> Words<'_, impl Iterator + DoubleEndedIterator + ExactSizeIterator + '_> [INFO] [stdout] | ^^ the same lifetime is elided here ^^ the same 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: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 676 - ) -> Words<'_, impl Iterator + DoubleEndedIterator + ExactSizeIterator + '_> [INFO] [stdout] 676 + ) -> Words<'a, impl Iterator + DoubleEndedIterator + ExactSizeIterator + 'a> [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/comparison.rs:115:9 [INFO] [stdout] | [INFO] [stdout] 115 | &self, [INFO] [stdout] | ^^^^^ the lifetime is elided here [INFO] [stdout] 116 | ) -> GivenNamesOrInitials< [INFO] [stdout] | __________^ [INFO] [stdout] 117 | | impl Iterator + '_, [INFO] [stdout] | | ^^ the same lifetime is elided here [INFO] [stdout] 118 | | impl Iterator + '_, [INFO] [stdout] | | ^^^^ ^^ the same lifetime is elided here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is elided here [INFO] [stdout] 119 | | > { [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] 116 | ) -> GivenNamesOrInitials<'_, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/comparison.rs:269:32 [INFO] [stdout] | [INFO] [stdout] 269 | fn transliterated_initials(&self) -> (char, 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] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 269 | fn transliterated_initials(&self) -> (char, Cow<'_, str>) { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/decomposition.rs:24:42 [INFO] [stdout] | [INFO] [stdout] 24 | pub fn normalize_nfkd_whitespace(string: &str) -> 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] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 24 | pub fn normalize_nfkd_whitespace(string: &str) -> Cow<'_, str> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/namepart.rs:77:28 [INFO] [stdout] | [INFO] [stdout] 77 | pub fn from_word(word: &str, trust_capitalization: bool, location: Location) -> NamePart { [INFO] [stdout] | ^^^^ the lifetime is elided here ^^^^^^^^ 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] 77 | pub fn from_word(word: &str, trust_capitalization: bool, location: Location) -> NamePart<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/namepart.rs:83:15 [INFO] [stdout] | [INFO] [stdout] 83 | word: &str, [INFO] [stdout] | ^^^^ the lifetime is elided here [INFO] [stdout] ... [INFO] [stdout] 87 | ) -> NamePart { [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] 87 | ) -> NamePart<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/nickname.rs:90:32 [INFO] [stdout] | [INFO] [stdout] 90 | fn find_close_and_strip(input: &str, open: NickOpen) -> 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] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 90 | fn find_close_and_strip(input: &str, open: NickOpen) -> Cow<'_, str> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/nickname.rs:139:30 [INFO] [stdout] | [INFO] [stdout] 139 | pub fn strip_nickname(input: &str) -> 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] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 139 | pub fn strip_nickname(input: &str) -> Cow<'_, str> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/nickname.rs:170:31 [INFO] [stdout] | [INFO] [stdout] 170 | pub fn iter_with_original(&self) -> NameVariantIter { [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] 170 | pub fn iter_with_original(&self) -> NameVariantIter<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/nickname.rs:226:34 [INFO] [stdout] | [INFO] [stdout] 226 | fn transliterate_if_non_ascii(s: &str) -> 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] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 226 | fn transliterate_if_non_ascii(s: &str) -> Cow<'_, str> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/parse.rs:23:29 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn honorific_prefix(&self) -> Option> { [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] 23 | pub fn honorific_prefix(&self) -> Option> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/parse.rs:41:29 [INFO] [stdout] | [INFO] [stdout] 41 | pub fn honorific_suffix(&self) -> Option> { [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] 41 | pub fn honorific_suffix(&self) -> Option> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/parse.rs:74:20 [INFO] [stdout] | [INFO] [stdout] 74 | pub fn parse(name: &str) -> Option { [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] 74 | pub fn parse(name: &str) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 7.39s [INFO] running `Command { std: "docker" "inspect" "2b8738feba47353d454c665e18871e50d6ca5532a0a3d0348333ba673d8c58dc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2b8738feba47353d454c665e18871e50d6ca5532a0a3d0348333ba673d8c58dc", kill_on_drop: false }` [INFO] [stdout] 2b8738feba47353d454c665e18871e50d6ca5532a0a3d0348333ba673d8c58dc [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] eee986c3eaf277ef60304513d269dfb895d88da150977b1abee7a2dfbab7b768 [INFO] running `Command { std: "docker" "start" "-a" "eee986c3eaf277ef60304513d269dfb895d88da150977b1abee7a2dfbab7b768", kill_on_drop: false }` [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/lib.rs:356:24 [INFO] [stderr] | [INFO] [stderr] 356 | pub fn middle_name(&self) -> Option> { [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] 356 | pub fn middle_name(&self) -> Option> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/lib.rs:462:36 [INFO] [stderr] | [INFO] [stderr] 462 | pub fn display_initial_surname(&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] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 462 | pub fn display_initial_surname(&self) -> Cow<'_, str> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/lib.rs:488:31 [INFO] [stderr] | [INFO] [stderr] 488 | pub fn display_first_last(&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] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 488 | pub fn display_first_last(&self) -> Cow<'_, str> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/lib.rs:540:25 [INFO] [stderr] | [INFO] [stderr] 540 | pub fn display_full(&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] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 540 | pub fn display_full(&self) -> Cow<'_, str> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/lib.rs:565:41 [INFO] [stderr] | [INFO] [stderr] 565 | pub fn display_full_with_honorifics(&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] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 565 | pub fn display_full_with_honorifics(&self) -> Cow<'_, str> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/lib.rs:648:9 [INFO] [stderr] | [INFO] [stderr] 648 | &self, [INFO] [stderr] | ^^^^^ the lifetime is elided here [INFO] [stderr] 649 | ) -> Words + DoubleEndedIterator + ExactSizeIterator + '_> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | | | [INFO] [stderr] | | the same lifetime is elided here [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] 649 | ) -> Words<'_, impl Iterator + DoubleEndedIterator + ExactSizeIterator + '_> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/lib.rs:655:9 [INFO] [stderr] | [INFO] [stderr] 655 | &self, [INFO] [stderr] | ^^^^^ the lifetime is elided here [INFO] [stderr] 656 | ) -> Option + DoubleEndedIterator + ExactSizeIterator + '_>> [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | | | [INFO] [stderr] | | the same lifetime is elided here [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] 656 | ) -> Option + DoubleEndedIterator + ExactSizeIterator + '_>> [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/lib.rs:667:9 [INFO] [stderr] | [INFO] [stderr] 667 | &self, [INFO] [stderr] | ^^^^^ the lifetime is elided here [INFO] [stderr] 668 | ) -> Words + DoubleEndedIterator + ExactSizeIterator + '_> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | | | [INFO] [stderr] | | the same lifetime is elided here [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] 668 | ) -> Words<'_, impl Iterator + DoubleEndedIterator + ExactSizeIterator + '_> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stderr] --> src/lib.rs:676:16 [INFO] [stderr] | [INFO] [stderr] 674 | &'a self, [INFO] [stderr] | -- the lifetime is named here [INFO] [stderr] 675 | locations: &'a [Location], [INFO] [stderr] | -- the lifetime is named here [INFO] [stderr] 676 | ) -> Words<'_, impl Iterator + DoubleEndedIterator + ExactSizeIterator + '_> [INFO] [stderr] | ^^ the same lifetime is elided here ^^ the same 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: consistently use `'a` [INFO] [stderr] | [INFO] [stderr] 676 - ) -> Words<'_, impl Iterator + DoubleEndedIterator + ExactSizeIterator + '_> [INFO] [stderr] 676 + ) -> Words<'a, impl Iterator + DoubleEndedIterator + ExactSizeIterator + 'a> [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/comparison.rs:115:9 [INFO] [stderr] | [INFO] [stderr] 115 | &self, [INFO] [stderr] | ^^^^^ the lifetime is elided here [INFO] [stderr] 116 | ) -> GivenNamesOrInitials< [INFO] [stderr] | __________^ [INFO] [stderr] 117 | | impl Iterator + '_, [INFO] [stderr] | | ^^ the same lifetime is elided here [INFO] [stderr] 118 | | impl Iterator + '_, [INFO] [stderr] | | ^^^^ ^^ the same lifetime is elided here [INFO] [stderr] | | | [INFO] [stderr] | | the same lifetime is elided here [INFO] [stderr] 119 | | > { [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] 116 | ) -> GivenNamesOrInitials<'_, [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/comparison.rs:269:32 [INFO] [stderr] | [INFO] [stderr] 269 | fn transliterated_initials(&self) -> (char, 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] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 269 | fn transliterated_initials(&self) -> (char, Cow<'_, str>) { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/decomposition.rs:24:42 [INFO] [stderr] | [INFO] [stderr] 24 | pub fn normalize_nfkd_whitespace(string: &str) -> 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] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 24 | pub fn normalize_nfkd_whitespace(string: &str) -> Cow<'_, str> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/namepart.rs:77:28 [INFO] [stderr] | [INFO] [stderr] 77 | pub fn from_word(word: &str, trust_capitalization: bool, location: Location) -> NamePart { [INFO] [stderr] | ^^^^ the lifetime is elided here ^^^^^^^^ 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] 77 | pub fn from_word(word: &str, trust_capitalization: bool, location: Location) -> NamePart<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/namepart.rs:83:15 [INFO] [stderr] | [INFO] [stderr] 83 | word: &str, [INFO] [stderr] | ^^^^ the lifetime is elided here [INFO] [stderr] ... [INFO] [stderr] 87 | ) -> NamePart { [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] 87 | ) -> NamePart<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/nickname.rs:90:32 [INFO] [stderr] | [INFO] [stderr] 90 | fn find_close_and_strip(input: &str, open: NickOpen) -> 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] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 90 | fn find_close_and_strip(input: &str, open: NickOpen) -> Cow<'_, str> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/nickname.rs:139:30 [INFO] [stderr] | [INFO] [stderr] 139 | pub fn strip_nickname(input: &str) -> 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] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 139 | pub fn strip_nickname(input: &str) -> Cow<'_, str> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/nickname.rs:170:31 [INFO] [stderr] | [INFO] [stderr] 170 | pub fn iter_with_original(&self) -> NameVariantIter { [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] 170 | pub fn iter_with_original(&self) -> NameVariantIter<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/nickname.rs:226:34 [INFO] [stderr] | [INFO] [stderr] 226 | fn transliterate_if_non_ascii(s: &str) -> 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] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 226 | fn transliterate_if_non_ascii(s: &str) -> Cow<'_, str> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/parse.rs:23:29 [INFO] [stderr] | [INFO] [stderr] 23 | pub fn honorific_prefix(&self) -> Option> { [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] 23 | pub fn honorific_prefix(&self) -> Option> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/parse.rs:41:29 [INFO] [stderr] | [INFO] [stderr] 41 | pub fn honorific_suffix(&self) -> Option> { [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] 41 | pub fn honorific_suffix(&self) -> Option> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/parse.rs:74:20 [INFO] [stderr] | [INFO] [stderr] 74 | pub fn parse(name: &str) -> Option { [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] 74 | pub fn parse(name: &str) -> Option> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: `human_name` (lib) generated 21 warnings (run `cargo fix --lib -p human_name` to apply 21 suggestions) [INFO] [stderr] warning: `human_name` (lib test) generated 21 warnings (21 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.09s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/human_name-c1aca111d667ac2a) [INFO] [stdout] [INFO] [stdout] running 97 tests [INFO] [stdout] test case::tests::prefix ... ok [INFO] [stdout] test case::tests::capitalization ... ok [INFO] [stdout] test case::tests::suffix ... ok [INFO] [stdout] test comparison::tests::non_bmp_alphas_simple ... ok [INFO] [stdout] test features::tests::sequential_alphas ... ok [INFO] [stdout] test comparison::tests::bug ... ok [INFO] [stdout] test namecase::tests::macmurdo ... ok [INFO] [stdout] test namecase::tests::mcallen ... ok [INFO] [stdout] test namecase::tests::maciej ... ok [INFO] [stdout] test namecase::tests::al_amir ... ok [INFO] [stdout] test namecase::tests::conjunction ... ok [INFO] [stdout] test namecase::tests::simple ... ok [INFO] [stdout] test namecase::tests::mach ... ok [INFO] [stdout] test comparison::tests::non_bmp_alphas_with_middle_initial ... ok [INFO] [stdout] test namecase::tests::particle ... ok [INFO] [stdout] test namepart::tests::one_word ... ok [INFO] [stdout] test namepart::tests::two_letters ... ok [INFO] [stdout] test namepart::tests::abbreviated_ascii ... ok [INFO] [stdout] test namepart::tests::single_ascii ... ok [INFO] [stdout] test namepart::tests::abbreviated_double_ascii ... ok [INFO] [stdout] test namepart::tests::vowelless_surname ... ok [INFO] [stdout] test namepart::tests::junk ... ok [INFO] [stdout] test namepart::tests::no_vowels ... ok [INFO] [stdout] test namepart::tests::only_junk ... ok [INFO] [stdout] test namepart::tests::word ... ok [INFO] [stdout] test nickname::tests::matching_nicks ... ok [INFO] [stdout] test nickname::tests::nonmatching_names ... ok [INFO] [stdout] test namepart::tests::two_words ... ok [INFO] [stdout] test nickname::tests::strip_nothing ... ok [INFO] [stdout] test nickname::tests::strip_parens ... ok [INFO] [stdout] test nickname::tests::strip_quotes ... ok [INFO] [stdout] test nickname::tests::unmatched_parens ... ok [INFO] [stdout] test nickname::tests::unmatched_quote ... ok [INFO] [stdout] test nickname::tests::unspaced_quotes ... ok [INFO] [stdout] test nickname::tests::variants ... ok [INFO] [stdout] test nickname::tests::non_bmp_alphas ... ok [INFO] [stdout] test nickname::tests::nick_and_name ... ok [INFO] [stdout] test namepart::tests::single_han ... ok [INFO] [stdout] test nickname::tests::nonmatching_nicks ... ok [INFO] [stdout] test parse::tests::et_al ... ok [INFO] [stdout] test parse::tests::initial_last ... ok [INFO] [stdout] test parse::tests::first_last ... ok [INFO] [stdout] test parse::tests::intermediate_suffix ... ok [INFO] [stdout] test parse::tests::suffix ... ok [INFO] [stdout] test suffix::tests::i ... ok [INFO] [stdout] test parse::tests::suffix_comma ... ok [INFO] [stdout] test parse::tests::honorifics ... ok [INFO] [stdout] test suffix::tests::jr ... ok [INFO] [stdout] test parse::tests::last_initial ... ok [INFO] [stdout] test suffix::tests::jr_dot ... ok [INFO] [stdout] test parse::tests::last_first ... ok [INFO] [stdout] test surname::tests::conjunction_after_nothing ... ok [INFO] [stdout] test surname::tests::conjunction_after_two ... ok [INFO] [stdout] test surname::tests::conjunction_and_particle ... ok [INFO] [stdout] test surname::tests::one_word ... ok [INFO] [stdout] test suffix::tests::iv ... ok [INFO] [stdout] test surname::tests::particle_after_nothing ... ok [INFO] [stdout] test surname::tests::particle_after_one ... ok [INFO] [stdout] test surname::tests::particle_and_conjunction ... ok [INFO] [stdout] test surname::tests::three_words ... ok [INFO] [stdout] test surname::tests::two_words ... ok [INFO] [stdout] test tests::eq_non_alphanumeric_initials ... ok [INFO] [stdout] test tests::fast_path_eq_does_not_allocate ... ok [INFO] [stdout] test tests::digits ... ok [INFO] [stdout] test tests::emojis ... ok [INFO] [stdout] test suffix::tests::doe ... ok [INFO] [stdout] test tests::eq_empty_transliterated_initials ... ok [INFO] [stdout] test tests::fast_path_parse_does_not_allocate ... ok [INFO] [stdout] test tests::struct_size ... ok [INFO] [stdout] test title::tests::canonicalize_doctor_prefix ... ok [INFO] [stdout] test title::tests::canonicalize_md_suffix ... ok [INFO] [stdout] test title::tests::canonicalize_esq_suffix ... ok [INFO] [stdout] test tests::stops_being_nfkd ... ok [INFO] [stdout] test title::tests::canonicalize_prof_prefix ... ok [INFO] [stdout] test title::tests::canonicalize_phd_suffix ... ok [INFO] [stdout] test title::tests::canonicalize_sir_prefix ... ok [INFO] [stdout] test title::tests::find_prefix_len_abbr ... ok [INFO] [stdout] test title::tests::find_prefix_len_multi_word ... ok [INFO] [stdout] test title::tests::canonicalize_unrecognized_prefix ... ok [INFO] [stdout] test tests::non_bmp_alphas ... ok [INFO] [stdout] test tests::parse_high_proportion_of_combining_chars ... ok [INFO] [stdout] test title::tests::canonicalize_mrs_prefix ... ok [INFO] [stdout] test title::tests::canonicalize_mister_prefix ... ok [INFO] [stdout] test tests::parse_very_long_honorific_prefix ... ok [INFO] [stdout] test title::tests::canonicalize_unrecognized_suffix ... ok [INFO] [stdout] test title::tests::find_prefix_len_none ... ok [INFO] [stdout] test title::tests::find_prefix_len_short ... ok [INFO] [stdout] test title::tests::is_postfix_title_abbr ... ok [INFO] [stdout] test title::tests::find_prefix_len_word ... ok [INFO] [stdout] test title::tests::is_postfix_title_et_al ... ok [INFO] [stdout] test title::tests::is_postfix_title_esq ... ok [INFO] [stdout] test title::tests::is_postfix_title_initialism ... ok [INFO] [stdout] test title::tests::find_prefix_len_multi_abbr ... ok [INFO] [stdout] test surname::tests::conjunction_after_one ... ok [INFO] [stdout] test namepart::tests::double_abbreviated_double_ascii ... ok [INFO] [stdout] test namecase::tests::machlin ... ok [INFO] [stdout] test namecase::tests::macadaidh ... ok [INFO] [stderr] Running tests/lib.rs (/opt/rustwide/target/debug/deps/lib-cfa494f7e2fbf9a8) [INFO] [stdout] [INFO] [stdout] test result: ok. 97 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.09s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 3 tests [INFO] [stdout] test unparseable ... ok [INFO] [stdout] test equality ... ok [INFO] [stdout] test parsing ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 3 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.04s [INFO] [stdout] [INFO] [stderr] Doc-tests human_name [INFO] [stdout] [INFO] [stdout] running 17 tests [INFO] [stdout] test src/lib.rs - Name::display_first_last (line 473) ... ok [INFO] [stdout] test src/lib.rs - Name::byte_len (line 503) ... ok [INFO] [stdout] test src/lib.rs - Name::given_name (line 283) ... ok [INFO] [stdout] test src/lib.rs - Name::display_initial_surname (line 450) ... ok [INFO] [stdout] test src/lib.rs - Name::generational_suffix (line 408) ... ok [INFO] [stdout] test src/lib.rs - Name (line 75) ... ok [INFO] [stdout] test src/lib.rs - Name::initials (line 320) ... ok [INFO] [stdout] test src/lib.rs - Name::middle_initials (line 362) ... ok [INFO] [stdout] test src/lib.rs - Name::honorific_prefix (line 420) ... ok [INFO] [stdout] test src/lib.rs - Name::parse (line 122) ... ok [INFO] [stdout] test src/lib.rs - Name::honorific_suffix (line 435) ... ok [INFO] [stdout] test src/lib.rs - Name::display_full (line 530) ... ok [INFO] [stdout] test src/lib.rs - Name::display_full_with_honorifics (line 556) ... ok [INFO] [stdout] test src/lib.rs - Name::surname (line 391) ... ok [INFO] [stdout] test src/lib.rs - Name::goes_by_middle_name (line 298) ... ok [INFO] [stdout] test src/comparison.rs - comparison::Name::consistent_with (line 18) ... ok [INFO] [stdout] test src/lib.rs - Name::middle_name (line 341) ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 17 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 1.26s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "eee986c3eaf277ef60304513d269dfb895d88da150977b1abee7a2dfbab7b768", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "eee986c3eaf277ef60304513d269dfb895d88da150977b1abee7a2dfbab7b768", kill_on_drop: false }` [INFO] [stdout] eee986c3eaf277ef60304513d269dfb895d88da150977b1abee7a2dfbab7b768