[INFO] fetching crate yanp 0.1.1... [INFO] testing yanp-0.1.1 against try#2440211fe03bc45c89b6dc1a3df18382ce91e32b for pr-146098-1 [INFO] extracting crate yanp 0.1.1 into /workspace/builds/worker-2-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-2-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate yanp 0.1.1 on toolchain 2440211fe03bc45c89b6dc1a3df18382ce91e32b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "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" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 69f1ffd78962712ed3bbaf07c77df1b08cb4f741a571362b0adb17e358583133 [INFO] running `Command { std: "docker" "start" "-a" "69f1ffd78962712ed3bbaf07c77df1b08cb4f741a571362b0adb17e358583133", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "69f1ffd78962712ed3bbaf07c77df1b08cb4f741a571362b0adb17e358583133", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "69f1ffd78962712ed3bbaf07c77df1b08cb4f741a571362b0adb17e358583133", kill_on_drop: false }` [INFO] [stdout] 69f1ffd78962712ed3bbaf07c77df1b08cb4f741a571362b0adb17e358583133 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 840e1fb519cafb60bbe526eeec896d2c722bf0e23e329c41cde5401e83ba495e [INFO] running `Command { std: "docker" "start" "-a" "840e1fb519cafb60bbe526eeec896d2c722bf0e23e329c41cde5401e83ba495e", 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] 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: 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:488:13 [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:82:26 [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:14:22 [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:59 [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] running `Command { std: "docker" "inspect" "840e1fb519cafb60bbe526eeec896d2c722bf0e23e329c41cde5401e83ba495e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "840e1fb519cafb60bbe526eeec896d2c722bf0e23e329c41cde5401e83ba495e", kill_on_drop: false }` [INFO] [stdout] 840e1fb519cafb60bbe526eeec896d2c722bf0e23e329c41cde5401e83ba495e