[INFO] fetching crate yanp 0.1.1... [INFO] checking yanp-0.1.1 against try#c659ee110de67e82444e4b6c8407c1a9af9c2cf6 for pr-145608-1 [INFO] extracting crate yanp 0.1.1 into /workspace/builds/worker-5-tc2/source [INFO] started tweaking crates.io crate yanp 0.1.1 [INFO] finished tweaking crates.io crate yanp 0.1.1 [INFO] tweaked toml for crates.io crate yanp 0.1.1 written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate yanp 0.1.1 on toolchain c659ee110de67e82444e4b6c8407c1a9af9c2cf6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate yanp 0.1.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" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9affbe0c7ec8afb2133d47df6b0e34812651de7825c5ae263b3e2cfc60f0fca2 [INFO] running `Command { std: "docker" "start" "-a" "9affbe0c7ec8afb2133d47df6b0e34812651de7825c5ae263b3e2cfc60f0fca2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9affbe0c7ec8afb2133d47df6b0e34812651de7825c5ae263b3e2cfc60f0fca2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9affbe0c7ec8afb2133d47df6b0e34812651de7825c5ae263b3e2cfc60f0fca2", kill_on_drop: false }` [INFO] [stdout] 9affbe0c7ec8afb2133d47df6b0e34812651de7825c5ae263b3e2cfc60f0fca2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 35384c6475b677eaeb138c0edeb296dd13a4813029e8ad74e4f5ce4df3ec55ea [INFO] running `Command { std: "docker" "start" "-a" "35384c6475b677eaeb138c0edeb296dd13a4813029e8ad74e4f5ce4df3ec55ea", kill_on_drop: false }` [INFO] [stderr] Compiling memchr v2.2.1 [INFO] [stderr] Compiling nom v5.0.0 [INFO] [stderr] Checking yanp v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] error: unnecessary parentheses around type [INFO] [stdout] --> src/parsers/gsa.rs:53:20 [INFO] [stdout] | [INFO] [stdout] 53 | |sentence: (Option)| -> Result, NmeaSentenceError> { Ok(sentence) } [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/lib.rs:1:9 [INFO] [stdout] | [INFO] [stdout] 1 | #![deny(warnings)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = note: `#[deny(unused_parens)]` implied by `#[deny(warnings)]` [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 53 - |sentence: (Option)| -> Result, NmeaSentenceError> { Ok(sentence) } [INFO] [stdout] 53 + |sentence: Option| -> Result, NmeaSentenceError> { Ok(sentence) } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unnecessary parentheses around type [INFO] [stdout] --> src/parsers/gsa.rs:53:20 [INFO] [stdout] | [INFO] [stdout] 53 | |sentence: (Option)| -> Result, NmeaSentenceError> { Ok(sentence) } [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/lib.rs:1:9 [INFO] [stdout] | [INFO] [stdout] 1 | #![deny(warnings)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = note: `#[deny(unused_parens)]` implied by `#[deny(warnings)]` [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 53 - |sentence: (Option)| -> Result, NmeaSentenceError> { Ok(sentence) } [INFO] [stdout] 53 + |sentence: Option| -> Result, NmeaSentenceError> { Ok(sentence) } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unnecessary parentheses around type [INFO] [stdout] --> src/parsers/hdt.rs:12:21 [INFO] [stdout] | [INFO] [stdout] 12 | | sentence: (Option) | -> Result { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 12 - | sentence: (Option) | -> Result { [INFO] [stdout] 12 + | sentence: Option | -> Result { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unnecessary parentheses around type [INFO] [stdout] --> src/parsers/stn.rs:12:19 [INFO] [stdout] | [INFO] [stdout] 12 | |sentence:(u8) | -> Result { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 12 - |sentence:(u8) | -> Result { [INFO] [stdout] 12 + |sentence:u8 | -> Result { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unnecessary parentheses around type [INFO] [stdout] --> src/parsers/hdt.rs:12:21 [INFO] [stdout] | [INFO] [stdout] 12 | | sentence: (Option) | -> Result { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 12 - | sentence: (Option) | -> Result { [INFO] [stdout] 12 + | sentence: Option | -> Result { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unnecessary parentheses around type [INFO] [stdout] --> src/parsers/stn.rs:12:19 [INFO] [stdout] | [INFO] [stdout] 12 | |sentence:(u8) | -> Result { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 12 - |sentence:(u8) | -> Result { [INFO] [stdout] 12 + |sentence:u8 | -> Result { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:19:38 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn parse_nmea_sentence(sentence: &[u8]) -> Result { [INFO] [stdout] | ^^^^^ ------------ ----------------- the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is hidden 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] = note: `#[deny(mismatched_lifetime_syntaxes)]` implied by `#[deny(warnings)]` [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 19 | pub fn parse_nmea_sentence(sentence: &[u8]) -> Result, NmeaSentenceError<'_>> { [INFO] [stdout] | ++++ ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/parse.rs:487:39 [INFO] [stdout] | [INFO] [stdout] 487 | general_sentence: GeneralSentence<'a>, [INFO] [stdout] | ^^ the lifetime is named here [INFO] [stdout] 488 | ) -> Result> { [INFO] [stdout] | ------------ -- the same lifetime is named here [INFO] [stdout] | | [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: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 488 | ) -> Result, NmeaSentenceError<'a>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/parsers/utils.rs:5:54 [INFO] [stdout] | [INFO] [stdout] 5 | pub(crate) fn parse_num(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] 5 | pub(crate) fn parse_num(data: &[u8]) -> Result> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/parsers/utils.rs:81:21 [INFO] [stdout] | [INFO] [stdout] 81 | height: Option<&'a [u8]>, [INFO] [stdout] | ^^ the lifetime is named here [INFO] [stdout] 82 | ) -> Result, NmeaSentenceError> { [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: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 82 | ) -> Result, NmeaSentenceError<'a>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/parsers/vbw.rs:7:17 [INFO] [stdout] | [INFO] [stdout] 7 | Option<&'a [u8]>, [INFO] [stdout] | ^^ the lifetime is named here [INFO] [stdout] 8 | Option<&'a [u8]>, [INFO] [stdout] | ^^ the lifetime is named here [INFO] [stdout] 9 | Option, [INFO] [stdout] 10 | Option<&'a [u8]>, [INFO] [stdout] | ^^ the lifetime is named here [INFO] [stdout] 11 | Option<&'a [u8]>, [INFO] [stdout] | ^^ the lifetime is named here [INFO] [stdout] ... [INFO] [stdout] 14 | ) -> 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: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 14 | ) -> Result> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/sentences.rs:5:57 [INFO] [stdout] | [INFO] [stdout] 5 | pub (crate) fn parse_general_sentence(sentence: &[u8]) -> Result { [INFO] [stdout] | ^^^^^ --------------- ----------------- the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is hidden here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] ... [INFO] [stdout] 35 | / general_sentences!( [INFO] [stdout] 36 | | b"AAM" => AAM, [INFO] [stdout] 37 | | b"ABK" => ABK, [INFO] [stdout] 38 | | b"ACK" => ACK, [INFO] [stdout] ... | [INFO] [stdout] 103 | | b"ZTG" => ZTG [INFO] [stdout] 104 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: this error originates in the macro `general_sentences` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 5 | pub (crate) fn parse_general_sentence(sentence: &[u8]) -> Result, NmeaSentenceError<'_>> { [INFO] [stdout] | ++++ ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/sentences.rs:106:20 [INFO] [stdout] | [INFO] [stdout] 106 | fn parse_hex(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] 106 | fn parse_hex(data: &[u8]) -> Result> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/sentences.rs:121:34 [INFO] [stdout] | [INFO] [stdout] 121 | pub(crate) fn new(sentence: &'a [u8]) -> Result { [INFO] [stdout] | ^^ ----------------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 121 | pub(crate) fn new(sentence: &'a [u8]) -> Result> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `yanp` (lib) due to 11 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:19:38 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn parse_nmea_sentence(sentence: &[u8]) -> Result { [INFO] [stdout] | ^^^^^ ------------ ----------------- the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is hidden 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] = note: `#[deny(mismatched_lifetime_syntaxes)]` implied by `#[deny(warnings)]` [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 19 | pub fn parse_nmea_sentence(sentence: &[u8]) -> Result, NmeaSentenceError<'_>> { [INFO] [stdout] | ++++ ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/parse.rs:487:39 [INFO] [stdout] | [INFO] [stdout] 487 | general_sentence: GeneralSentence<'a>, [INFO] [stdout] | ^^ the lifetime is named here [INFO] [stdout] 488 | ) -> Result> { [INFO] [stdout] | ------------ -- the same lifetime is named here [INFO] [stdout] | | [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: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 488 | ) -> Result, NmeaSentenceError<'a>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/parsers/utils.rs:5:54 [INFO] [stdout] | [INFO] [stdout] 5 | pub(crate) fn parse_num(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] 5 | pub(crate) fn parse_num(data: &[u8]) -> Result> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/parsers/utils.rs:81:21 [INFO] [stdout] | [INFO] [stdout] 81 | height: Option<&'a [u8]>, [INFO] [stdout] | ^^ the lifetime is named here [INFO] [stdout] 82 | ) -> Result, NmeaSentenceError> { [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: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 82 | ) -> Result, NmeaSentenceError<'a>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/parsers/vbw.rs:7:17 [INFO] [stdout] | [INFO] [stdout] 7 | Option<&'a [u8]>, [INFO] [stdout] | ^^ the lifetime is named here [INFO] [stdout] 8 | Option<&'a [u8]>, [INFO] [stdout] | ^^ the lifetime is named here [INFO] [stdout] 9 | Option, [INFO] [stdout] 10 | Option<&'a [u8]>, [INFO] [stdout] | ^^ the lifetime is named here [INFO] [stdout] 11 | Option<&'a [u8]>, [INFO] [stdout] | ^^ the lifetime is named here [INFO] [stdout] ... [INFO] [stdout] 14 | ) -> 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: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 14 | ) -> Result> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/sentences.rs:5:57 [INFO] [stdout] | [INFO] [stdout] 5 | pub (crate) fn parse_general_sentence(sentence: &[u8]) -> Result { [INFO] [stdout] | ^^^^^ --------------- ----------------- the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is hidden here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] ... [INFO] [stdout] 35 | / general_sentences!( [INFO] [stdout] 36 | | b"AAM" => AAM, [INFO] [stdout] 37 | | b"ABK" => ABK, [INFO] [stdout] 38 | | b"ACK" => ACK, [INFO] [stdout] ... | [INFO] [stdout] 103 | | b"ZTG" => ZTG [INFO] [stdout] 104 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: this error originates in the macro `general_sentences` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 5 | pub (crate) fn parse_general_sentence(sentence: &[u8]) -> Result, NmeaSentenceError<'_>> { [INFO] [stdout] | ++++ ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/sentences.rs:106:20 [INFO] [stdout] | [INFO] [stdout] 106 | fn parse_hex(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] 106 | fn parse_hex(data: &[u8]) -> Result> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/sentences.rs:121:34 [INFO] [stdout] | [INFO] [stdout] 121 | pub(crate) fn new(sentence: &'a [u8]) -> Result { [INFO] [stdout] | ^^ ----------------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 121 | pub(crate) fn new(sentence: &'a [u8]) -> Result> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `yanp` (lib test) due to 11 previous errors [INFO] running `Command { std: "docker" "inspect" "35384c6475b677eaeb138c0edeb296dd13a4813029e8ad74e4f5ce4df3ec55ea", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "35384c6475b677eaeb138c0edeb296dd13a4813029e8ad74e4f5ce4df3ec55ea", kill_on_drop: false }` [INFO] [stdout] 35384c6475b677eaeb138c0edeb296dd13a4813029e8ad74e4f5ce4df3ec55ea