[INFO] fetching crate yanp 0.1.1... [INFO] testing yanp-0.1.1 against 1.90.0 for beta-1.91-3 [INFO] extracting crate yanp 0.1.1 into /workspace/builds/worker-2-tc1/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-2-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate yanp 0.1.1 on toolchain 1.90.0 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.90.0" "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" "+1.90.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded nom v5.0.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+1.90.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] fdbc6a80142006da3cf3cff1beb89a89f05c1b732ef0c85e4411bdbda2e20974 [INFO] running `Command { std: "docker" "start" "-a" "fdbc6a80142006da3cf3cff1beb89a89f05c1b732ef0c85e4411bdbda2e20974", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "fdbc6a80142006da3cf3cff1beb89a89f05c1b732ef0c85e4411bdbda2e20974", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fdbc6a80142006da3cf3cff1beb89a89f05c1b732ef0c85e4411bdbda2e20974", kill_on_drop: false }` [INFO] [stdout] fdbc6a80142006da3cf3cff1beb89a89f05c1b732ef0c85e4411bdbda2e20974 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+1.90.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7e8f51c41f667297915d3f81007bc90a2aa3c411be3fe405a4b74c02324576ce [INFO] running `Command { std: "docker" "start" "-a" "7e8f51c41f667297915d3f81007bc90a2aa3c411be3fe405a4b74c02324576ce", kill_on_drop: false }` [INFO] [stderr] Compiling version_check v0.1.5 [INFO] [stderr] Compiling memchr v2.2.1 [INFO] [stderr] Compiling nom v5.0.0 [INFO] [stderr] Compiling yanp v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: 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: `#[warn(unused_parens)]` implied by `#[warn(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] warning: 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] warning: 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] warning: 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: `#[warn(mismatched_lifetime_syntaxes)]` implied by `#[warn(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] warning: 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] warning: 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] warning: 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] warning: 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] warning: 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 warning 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] warning: 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] warning: 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] Finished `dev` profile [unoptimized + debuginfo] target(s) in 3.92s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: nom v5.0.0 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 4` [INFO] running `Command { std: "docker" "inspect" "7e8f51c41f667297915d3f81007bc90a2aa3c411be3fe405a4b74c02324576ce", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7e8f51c41f667297915d3f81007bc90a2aa3c411be3fe405a4b74c02324576ce", kill_on_drop: false }` [INFO] [stdout] 7e8f51c41f667297915d3f81007bc90a2aa3c411be3fe405a4b74c02324576ce [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+1.90.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e9f955724842b55555ced9934d3af21c34991da56b47fdaf8efca0be84dcbb68 [INFO] running `Command { std: "docker" "start" "-a" "e9f955724842b55555ced9934d3af21c34991da56b47fdaf8efca0be84dcbb68", kill_on_drop: false }` [INFO] [stdout] warning: 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: `#[warn(unused_parens)]` implied by `#[warn(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] warning: 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] warning: 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] warning: 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: `#[warn(mismatched_lifetime_syntaxes)]` implied by `#[warn(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] warning: 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] warning: 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] warning: 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] warning: 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] warning: 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 warning 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] warning: 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] warning: 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] Compiling yanp v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: 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: `#[warn(unused_parens)]` implied by `#[warn(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] warning: 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] warning: 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] warning: 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: `#[warn(mismatched_lifetime_syntaxes)]` implied by `#[warn(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] warning: 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] warning: 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] warning: 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] warning: 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] warning: 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 warning 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] warning: 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] warning: 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] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.16s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: nom v5.0.0 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 4` [INFO] running `Command { std: "docker" "inspect" "e9f955724842b55555ced9934d3af21c34991da56b47fdaf8efca0be84dcbb68", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e9f955724842b55555ced9934d3af21c34991da56b47fdaf8efca0be84dcbb68", kill_on_drop: false }` [INFO] [stdout] e9f955724842b55555ced9934d3af21c34991da56b47fdaf8efca0be84dcbb68 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+1.90.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 579ba299743dcf99a5ec049e64494df5e2dde9740a941b69e87fbb494c1cffa6 [INFO] running `Command { std: "docker" "start" "-a" "579ba299743dcf99a5ec049e64494df5e2dde9740a941b69e87fbb494c1cffa6", kill_on_drop: false }` [INFO] [stderr] warning: unnecessary parentheses around type [INFO] [stderr] --> src/parsers/gsa.rs:53:20 [INFO] [stderr] | [INFO] [stderr] 53 | |sentence: (Option)| -> Result, NmeaSentenceError> { Ok(sentence) } [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] note: the lint level is defined here [INFO] [stderr] --> src/lib.rs:1:9 [INFO] [stderr] | [INFO] [stderr] 1 | #![deny(warnings)] [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] = note: `#[warn(unused_parens)]` implied by `#[warn(warnings)]` [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 53 - |sentence: (Option)| -> Result, NmeaSentenceError> { Ok(sentence) } [INFO] [stderr] 53 + |sentence: Option| -> Result, NmeaSentenceError> { Ok(sentence) } [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around type [INFO] [stderr] --> src/parsers/hdt.rs:12:21 [INFO] [stderr] | [INFO] [stderr] 12 | | sentence: (Option) | -> Result { [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 12 - | sentence: (Option) | -> Result { [INFO] [stderr] 12 + | sentence: Option | -> Result { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around type [INFO] [stderr] --> src/parsers/stn.rs:12:19 [INFO] [stderr] | [INFO] [stderr] 12 | |sentence:(u8) | -> Result { [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 12 - |sentence:(u8) | -> Result { [INFO] [stderr] 12 + |sentence:u8 | -> Result { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/lib.rs:19:38 [INFO] [stderr] | [INFO] [stderr] 19 | pub fn parse_nmea_sentence(sentence: &[u8]) -> Result { [INFO] [stderr] | ^^^^^ ------------ ----------------- the same lifetime is hidden here [INFO] [stderr] | | | [INFO] [stderr] | | the same lifetime is hidden here [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] = note: `#[warn(mismatched_lifetime_syntaxes)]` implied by `#[warn(warnings)]` [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 19 | pub fn parse_nmea_sentence(sentence: &[u8]) -> Result, NmeaSentenceError<'_>> { [INFO] [stderr] | ++++ ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stderr] --> src/parse.rs:487:39 [INFO] [stderr] | [INFO] [stderr] 487 | general_sentence: GeneralSentence<'a>, [INFO] [stderr] | ^^ the lifetime is named here [INFO] [stderr] 488 | ) -> Result> { [INFO] [stderr] | ------------ -- the same lifetime is named here [INFO] [stderr] | | [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: consistently use `'a` [INFO] [stderr] | [INFO] [stderr] 488 | ) -> Result, NmeaSentenceError<'a>> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/parsers/utils.rs:5:54 [INFO] [stderr] | [INFO] [stderr] 5 | pub(crate) fn parse_num(data: &[u8]) -> Result { [INFO] [stderr] | ^^^^^ ----------------- the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 5 | pub(crate) fn parse_num(data: &[u8]) -> Result> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stderr] --> src/parsers/utils.rs:81:21 [INFO] [stderr] | [INFO] [stderr] 81 | height: Option<&'a [u8]>, [INFO] [stderr] | ^^ the lifetime is named here [INFO] [stderr] 82 | ) -> Result, NmeaSentenceError> { [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: consistently use `'a` [INFO] [stderr] | [INFO] [stderr] 82 | ) -> Result, NmeaSentenceError<'a>> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stderr] --> src/parsers/vbw.rs:7:17 [INFO] [stderr] | [INFO] [stderr] 7 | Option<&'a [u8]>, [INFO] [stderr] | ^^ the lifetime is named here [INFO] [stderr] 8 | Option<&'a [u8]>, [INFO] [stderr] | ^^ the lifetime is named here [INFO] [stderr] 9 | Option, [INFO] [stderr] 10 | Option<&'a [u8]>, [INFO] [stderr] | ^^ the lifetime is named here [INFO] [stderr] 11 | Option<&'a [u8]>, [INFO] [stderr] | ^^ the lifetime is named here [INFO] [stderr] ... [INFO] [stderr] 14 | ) -> Result { [INFO] [stderr] | ----------------- the same lifetime is hidden here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: consistently use `'a` [INFO] [stderr] | [INFO] [stderr] 14 | ) -> Result> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/sentences.rs:5:57 [INFO] [stderr] | [INFO] [stderr] 5 | pub (crate) fn parse_general_sentence(sentence: &[u8]) -> Result { [INFO] [stderr] | ^^^^^ --------------- ----------------- the same lifetime is hidden here [INFO] [stderr] | | | [INFO] [stderr] | | the same lifetime is hidden here [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] ... [INFO] [stderr] 35 | / general_sentences!( [INFO] [stderr] 36 | | b"AAM" => AAM, [INFO] [stderr] 37 | | b"ABK" => ABK, [INFO] [stderr] 38 | | b"ACK" => ACK, [INFO] [stderr] ... | [INFO] [stderr] 103 | | b"ZTG" => ZTG [INFO] [stderr] 104 | | ); [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] = note: this warning originates in the macro `general_sentences` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 5 | pub (crate) fn parse_general_sentence(sentence: &[u8]) -> Result, NmeaSentenceError<'_>> { [INFO] [stderr] | ++++ ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/sentences.rs:106:20 [INFO] [stderr] | [INFO] [stderr] 106 | fn parse_hex(data: &[u8]) -> Result { [INFO] [stderr] | ^^^^^ ----------------- the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 106 | fn parse_hex(data: &[u8]) -> Result> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stderr] --> src/sentences.rs:121:34 [INFO] [stderr] | [INFO] [stderr] 121 | pub(crate) fn new(sentence: &'a [u8]) -> Result { [INFO] [stderr] | ^^ ----------------- the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is named here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: consistently use `'a` [INFO] [stderr] | [INFO] [stderr] 121 | pub(crate) fn new(sentence: &'a [u8]) -> Result> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: `yanp` (lib) generated 11 warnings (run `cargo fix --lib -p yanp` to apply 3 suggestions) [INFO] [stderr] warning: `yanp` (lib test) generated 11 warnings (11 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.09s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: nom v5.0.0 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 4` [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/yanp-2a788e9377252508) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests yanp [INFO] [stderr] warning: unnecessary parentheses around type [INFO] [stderr] --> src/parsers/gsa.rs:53:20 [INFO] [stderr] | [INFO] [stderr] 53 | |sentence: (Option)| -> Result, NmeaSentenceError> { Ok(sentence) } [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] note: the lint level is defined here [INFO] [stderr] --> src/lib.rs:1:9 [INFO] [stderr] | [INFO] [stderr] 1 | #![deny(warnings)] [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] = note: `#[warn(unused_parens)]` implied by `#[warn(warnings)]` [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 53 - |sentence: (Option)| -> Result, NmeaSentenceError> { Ok(sentence) } [INFO] [stderr] 53 + |sentence: Option| -> Result, NmeaSentenceError> { Ok(sentence) } [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around type [INFO] [stderr] --> src/parsers/hdt.rs:12:21 [INFO] [stderr] | [INFO] [stderr] 12 | | sentence: (Option) | -> Result { [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 12 - | sentence: (Option) | -> Result { [INFO] [stderr] 12 + | sentence: Option | -> Result { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around type [INFO] [stderr] --> src/parsers/stn.rs:12:19 [INFO] [stderr] | [INFO] [stderr] 12 | |sentence:(u8) | -> Result { [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 12 - |sentence:(u8) | -> Result { [INFO] [stderr] 12 + |sentence:u8 | -> Result { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: 3 warnings emitted [INFO] [stderr] [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "579ba299743dcf99a5ec049e64494df5e2dde9740a941b69e87fbb494c1cffa6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "579ba299743dcf99a5ec049e64494df5e2dde9740a941b69e87fbb494c1cffa6", kill_on_drop: false }` [INFO] [stdout] 579ba299743dcf99a5ec049e64494df5e2dde9740a941b69e87fbb494c1cffa6