[INFO] cloning repository https://github.com/neoeinstein/plusendi [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/neoeinstein/plusendi" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fneoeinstein%2Fplusendi", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fneoeinstein%2Fplusendi'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] efc55708ec1d7e78a410b4dedf119d2b6ad2dc9e [INFO] checking neoeinstein/plusendi against master#e9182f195b8505c87c4bd055b9f6e114ccda0981 for pr-144098 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fneoeinstein%2Fplusendi" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/neoeinstein/plusendi [INFO] finished tweaking git repo https://github.com/neoeinstein/plusendi [INFO] tweaked toml for git repo https://github.com/neoeinstein/plusendi written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/neoeinstein/plusendi on toolchain e9182f195b8505c87c4bd055b9f6e114ccda0981 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+e9182f195b8505c87c4bd055b9f6e114ccda0981" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/neoeinstein/plusendi 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" "+e9182f195b8505c87c4bd055b9f6e114ccda0981" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded IOKit-sys v0.1.5 [INFO] [stderr] Downloaded lazy-regex-proc_macros v2.2.2 [INFO] [stderr] Downloaded lazy-regex v2.2.2 [INFO] [stderr] Downloaded futures-io v0.3.18 [INFO] [stderr] Downloaded mach v0.1.2 [INFO] [stderr] Downloaded aliri_braid_impl v0.1.9 [INFO] [stderr] Downloaded aliri_braid v0.1.9 [INFO] [stderr] Downloaded futures-executor v0.3.18 [INFO] [stderr] Downloaded serialport v4.0.1 [INFO] [stderr] Downloaded CoreFoundation-sys v0.1.4 [INFO] [stderr] Downloaded tokio-serial v5.4.1 [INFO] [stderr] Downloaded futures v0.3.18 [INFO] [stderr] Downloaded nix v0.22.2 [INFO] [stderr] Downloaded mio-serial v5.0.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:cf8efcab8866f2cf4285301c7418e2f4f2a9b088c91ba69c40d5b659f81557f7" "/opt/rustwide/cargo-home/bin/cargo" "+e9182f195b8505c87c4bd055b9f6e114ccda0981" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d3b5ad774f0c2e944745362b46980e969dea96a4752cfdd63ae9d4b4760f6106 [INFO] running `Command { std: "docker" "start" "-a" "d3b5ad774f0c2e944745362b46980e969dea96a4752cfdd63ae9d4b4760f6106", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d3b5ad774f0c2e944745362b46980e969dea96a4752cfdd63ae9d4b4760f6106", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d3b5ad774f0c2e944745362b46980e969dea96a4752cfdd63ae9d4b4760f6106", kill_on_drop: false }` [INFO] [stdout] d3b5ad774f0c2e944745362b46980e969dea96a4752cfdd63ae9d4b4760f6106 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:cf8efcab8866f2cf4285301c7418e2f4f2a9b088c91ba69c40d5b659f81557f7" "/opt/rustwide/cargo-home/bin/cargo" "+e9182f195b8505c87c4bd055b9f6e114ccda0981" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7e96ddb2e4655669206109c448115d6f2a95bff5e6c4c270756ef64b9a45c30e [INFO] running `Command { std: "docker" "start" "-a" "7e96ddb2e4655669206109c448115d6f2a95bff5e6c4c270756ef64b9a45c30e", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.32 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.82 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling libc v0.2.108 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking pin-project-lite v0.2.7 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Checking once_cell v1.8.0 [INFO] [stderr] Checking smallvec v1.7.0 [INFO] [stderr] Compiling serde v1.0.130 [INFO] [stderr] Checking regex-syntax v0.6.25 [INFO] [stderr] Checking tracing-core v0.1.21 [INFO] [stderr] Compiling futures-core v0.3.18 [INFO] [stderr] Compiling ryu v1.0.6 [INFO] [stderr] Compiling serde_json v1.0.72 [INFO] [stderr] Checking ansi_term v0.12.1 [INFO] [stderr] Compiling futures-channel v0.3.18 [INFO] [stderr] Compiling futures-task v0.3.18 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Checking futures-sink v0.3.18 [INFO] [stderr] Compiling futures-util v0.3.18 [INFO] [stderr] Compiling parking_lot_core v0.8.5 [INFO] [stderr] Checking itoa v0.4.8 [INFO] [stderr] Compiling nix v0.16.1 [INFO] [stderr] Checking tracing-log v0.1.2 [INFO] [stderr] Checking aho-corasick v0.7.18 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Checking thread_local v1.1.3 [INFO] [stderr] Checking instant v0.1.12 [INFO] [stderr] Checking sharded-slab v0.1.4 [INFO] [stderr] Compiling cc v1.0.72 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Checking slab v0.4.5 [INFO] [stderr] Checking futures-io v0.3.18 [INFO] [stderr] Compiling tokio v1.14.0 [INFO] [stderr] Compiling unicode-segmentation v1.8.0 [INFO] [stderr] Checking lock_api v0.4.5 [INFO] [stderr] Checking gimli v0.26.1 [INFO] [stderr] Compiling eyre v0.6.5 [INFO] [stderr] Checking adler v1.0.2 [INFO] [stderr] Checking unicode-width v0.1.9 [INFO] [stderr] Compiling quote v1.0.10 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking object v0.27.1 [INFO] [stderr] Checking regex-automata v0.1.10 [INFO] [stderr] Checking regex v1.5.4 [INFO] [stderr] Compiling nom v7.1.0 [INFO] [stderr] Checking mio v0.7.14 [INFO] [stderr] Checking parking_lot v0.11.2 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Checking nix v0.22.2 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking signal-hook-registry v1.4.0 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking rustc-demangle v0.1.21 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Checking owo-colors v1.3.0 [INFO] [stderr] Checking matchers v0.0.1 [INFO] [stderr] Checking bytes v1.1.0 [INFO] [stderr] Compiling backtrace v0.3.63 [INFO] [stderr] Checking indenter v0.3.3 [INFO] [stderr] Checking strsim v0.8.0 [INFO] [stderr] Checking vec_map v0.8.2 [INFO] [stderr] Checking minimal-lexical v0.2.1 [INFO] [stderr] Checking dotenv v0.15.0 [INFO] [stderr] Checking clap v2.34.0 [INFO] [stderr] Checking addr2line v0.17.0 [INFO] [stderr] Checking tracing-serde v0.1.2 [INFO] [stderr] Checking serialport v4.0.1 [INFO] [stderr] Checking mio-serial v5.0.1 [INFO] [stderr] Compiling tracing-attributes v0.1.18 [INFO] [stderr] Compiling futures-macro v0.3.18 [INFO] [stderr] Compiling tokio-macros v1.6.0 [INFO] [stderr] Compiling lazy-regex-proc_macros v2.2.2 [INFO] [stderr] Compiling pin-project-internal v1.0.8 [INFO] [stderr] Compiling structopt-derive v0.4.18 [INFO] [stderr] Compiling aliri_braid_impl v0.1.9 [INFO] [stderr] Compiling thiserror-impl v1.0.30 [INFO] [stderr] Compiling test-log v0.2.8 [INFO] [stderr] Checking lazy-regex v2.2.2 [INFO] [stderr] Checking tracing v0.1.29 [INFO] [stderr] Checking thiserror v1.0.30 [INFO] [stderr] Checking aliri_braid v0.1.9 [INFO] [stderr] Checking pin-project v1.0.8 [INFO] [stderr] Checking structopt v0.3.25 [INFO] [stderr] Checking tracing-subscriber v0.2.25 [INFO] [stderr] Checking tracing-error v0.1.2 [INFO] [stderr] Checking color-spantrace v0.1.6 [INFO] [stderr] Checking color-eyre v0.5.11 [INFO] [stderr] Checking futures-executor v0.3.18 [INFO] [stderr] Checking futures v0.3.18 [INFO] [stderr] Checking tokio-serial v5.4.1 [INFO] [stderr] Checking plusendi v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::fmt` [INFO] [stdout] --> src/fbb.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::fmt; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fmt::Formatter` [INFO] [stdout] --> src/fbb.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::fmt::Formatter; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `nom::bytes::complete::take_while1` [INFO] [stdout] --> src/fbb.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use nom::bytes::complete::take_while1; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `take_until1` [INFO] [stdout] --> src/fbb.rs:7:40 [INFO] [stdout] | [INFO] [stdout] 7 | use nom::bytes::streaming::{tag, take, take_until1, take_while_m_n}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `not` [INFO] [stdout] --> src/fbb.rs:9:52 [INFO] [stdout] | [INFO] [stdout] 9 | use nom::combinator::{all_consuming, map, map_res, not, opt, value, verify}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `StationIdRef` and `StationId` [INFO] [stdout] --> src/fbb.rs:15:13 [INFO] [stdout] | [INFO] [stdout] 15 | use crate::{StationId, StationIdRef}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `fmt::Write` [INFO] [stdout] --> src/parser.rs:13:13 [INFO] [stdout] | [INFO] [stdout] 13 | use fmt::Write; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `fmt::Write` [INFO] [stdout] --> src/parser.rs:27:13 [INFO] [stdout] | [INFO] [stdout] 27 | use fmt::Write; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fmt` [INFO] [stdout] --> src/fbb.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::fmt; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fmt::Formatter` [INFO] [stdout] --> src/fbb.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::fmt::Formatter; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `nom::bytes::complete::take_while1` [INFO] [stdout] --> src/fbb.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use nom::bytes::complete::take_while1; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `take_until1` [INFO] [stdout] --> src/fbb.rs:7:40 [INFO] [stdout] | [INFO] [stdout] 7 | use nom::bytes::streaming::{tag, take, take_until1, take_while_m_n}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `not` [INFO] [stdout] --> src/fbb.rs:9:52 [INFO] [stdout] | [INFO] [stdout] 9 | use nom::combinator::{all_consuming, map, map_res, not, opt, value, verify}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `StationIdRef` and `StationId` [INFO] [stdout] --> src/fbb.rs:15:13 [INFO] [stdout] | [INFO] [stdout] 15 | use crate::{StationId, StationIdRef}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `fmt::Write` [INFO] [stdout] --> src/parser.rs:13:13 [INFO] [stdout] | [INFO] [stdout] 13 | use fmt::Write; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `fmt::Write` [INFO] [stdout] --> src/parser.rs:27:13 [INFO] [stdout] | [INFO] [stdout] 27 | use fmt::Write; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `wat` [INFO] [stdout] --> src/fbb.rs:386:16 [INFO] [stdout] | [INFO] [stdout] 386 | Ok(wat) => panic!("this should not have succeeded"), [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_wat` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `wat` [INFO] [stdout] --> src/fbb.rs:402:16 [INFO] [stdout] | [INFO] [stdout] 402 | Ok(wat) => panic!("this should not have succeeded"), [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_wat` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `with_directives` is never used [INFO] [stdout] --> src/lib.rs:78:8 [INFO] [stdout] | [INFO] [stdout] 77 | impl Handling { [INFO] [stdout] | ------------- associated function in this implementation [INFO] [stdout] 78 | fn with_directives, J: Iterator>(directives: I) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test` is never used [INFO] [stdout] --> src/lib.rs:114:4 [INFO] [stdout] | [INFO] [stdout] 114 | fn test() -> Traffic { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `soh` is never used [INFO] [stdout] --> src/fbb.rs:17:4 [INFO] [stdout] | [INFO] [stdout] 17 | fn soh(data: &[u8]) -> IResult<&[u8], &[u8], VerboseError<&[u8]>> { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `nul` is never used [INFO] [stdout] --> src/fbb.rs:21:4 [INFO] [stdout] | [INFO] [stdout] 21 | fn nul(data: &[u8]) -> IResult<&[u8], &[u8], VerboseError<&[u8]>> { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `stx` is never used [INFO] [stdout] --> src/fbb.rs:25:4 [INFO] [stdout] | [INFO] [stdout] 25 | fn stx(data: &[u8]) -> IResult<&[u8], &[u8], VerboseError<&[u8]>> { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `eot` is never used [INFO] [stdout] --> src/fbb.rs:29:4 [INFO] [stdout] | [INFO] [stdout] 29 | fn eot(data: &[u8]) -> IResult<&[u8], &[u8], VerboseError<&[u8]>> { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CompressedMessage` is never constructed [INFO] [stdout] --> src/fbb.rs:34:8 [INFO] [stdout] | [INFO] [stdout] 34 | struct CompressedMessage<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `decompress` is never used [INFO] [stdout] --> src/fbb.rs:43:8 [INFO] [stdout] | [INFO] [stdout] 42 | impl<'a> CompressedMessage<'a> { [INFO] [stdout] | ------------------------------ method in this implementation [INFO] [stdout] 43 | fn decompress(self) -> Result, crate::lzhuf::UnexpectedEof> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `b2_message_block` is never used [INFO] [stdout] --> src/fbb.rs:51:4 [INFO] [stdout] | [INFO] [stdout] 51 | fn b2_message_block(data: &[u8]) -> IResult<&[u8], CompressedMessage, VerboseError<&[u8]>> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `header` is never used [INFO] [stdout] --> src/fbb.rs:100:4 [INFO] [stdout] | [INFO] [stdout] 100 | fn header(data: &[u8]) -> IResult<&[u8], (&str, u32), VerboseError<&[u8]>> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `checksum` is never used [INFO] [stdout] --> src/fbb.rs:121:4 [INFO] [stdout] | [INFO] [stdout] 121 | fn checksum(data: &[u8]) -> IResult<&[u8], u8, VerboseError<&[u8]>> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `data_blocks` is never used [INFO] [stdout] --> src/fbb.rs:125:4 [INFO] [stdout] | [INFO] [stdout] 125 | fn data_blocks(data: &[u8]) -> IResult<&[u8], (u16, u32, Vec<&[u8]>, u8), VerboseError<&[u8]>> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `first_data_block` is never used [INFO] [stdout] --> src/fbb.rs:142:4 [INFO] [stdout] | [INFO] [stdout] 142 | fn first_data_block(data: &[u8]) -> IResult<&[u8], (u16, u32), VerboseError<&[u8]>> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `data_block` is never used [INFO] [stdout] --> src/fbb.rs:149:4 [INFO] [stdout] | [INFO] [stdout] 149 | fn data_block(data: &[u8]) -> IResult<&[u8], &[u8], VerboseError<&[u8]>> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `fa_tag` is never used [INFO] [stdout] --> src/fbb.rs:155:4 [INFO] [stdout] | [INFO] [stdout] 155 | fn fa_tag(data: &[u8]) -> IResult<&[u8], &[u8], VerboseError<&[u8]>> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `fb_tag` is never used [INFO] [stdout] --> src/fbb.rs:159:4 [INFO] [stdout] | [INFO] [stdout] 159 | fn fb_tag(data: &[u8]) -> IResult<&[u8], &[u8], VerboseError<&[u8]>> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `fc_tag` is never used [INFO] [stdout] --> src/fbb.rs:163:4 [INFO] [stdout] | [INFO] [stdout] 163 | fn fc_tag(data: &[u8]) -> IResult<&[u8], &[u8], VerboseError<&[u8]>> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `end_of_proposal_tag` is never used [INFO] [stdout] --> src/fbb.rs:167:4 [INFO] [stdout] | [INFO] [stdout] 167 | fn end_of_proposal_tag(data: &[u8]) -> IResult<&[u8], &[u8], VerboseError<&[u8]>> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `select_tag` is never used [INFO] [stdout] --> src/fbb.rs:171:4 [INFO] [stdout] | [INFO] [stdout] 171 | fn select_tag(data: &[u8]) -> IResult<&[u8], &[u8], VerboseError<&[u8]>> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `delimiter` is never used [INFO] [stdout] --> src/fbb.rs:182:4 [INFO] [stdout] | [INFO] [stdout] 182 | fn delimiter(c: u8) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `selection_element` is never used [INFO] [stdout] --> src/fbb.rs:186:4 [INFO] [stdout] | [INFO] [stdout] 186 | fn selection_element(data: &[u8]) -> IResult<&[u8], MessageChoice, VerboseError<&[u8]>> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `selection` is never used [INFO] [stdout] --> src/fbb.rs:198:4 [INFO] [stdout] | [INFO] [stdout] 198 | fn selection(data: &[u8]) -> IResult<&[u8], [MessageChoice; P], VerboseError<&[u8]>> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `no_more` is never used [INFO] [stdout] --> src/fbb.rs:209:4 [INFO] [stdout] | [INFO] [stdout] 209 | fn no_more(data: &[u8]) -> IResult<&[u8], &[u8], VerboseError<&[u8]>> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `all_done` is never used [INFO] [stdout] --> src/fbb.rs:213:4 [INFO] [stdout] | [INFO] [stdout] 213 | fn all_done(data: &[u8]) -> IResult<&[u8], &[u8], VerboseError<&[u8]>> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `message_type` is never used [INFO] [stdout] --> src/fbb.rs:224:4 [INFO] [stdout] | [INFO] [stdout] 224 | fn message_type(data: &[u8]) -> IResult<&[u8], MessageType, VerboseError<&[u8]>> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `sender` is never used [INFO] [stdout] --> src/fbb.rs:235:4 [INFO] [stdout] | [INFO] [stdout] 235 | fn sender(data: &[u8]) -> IResult<&[u8], &SenderRef, VerboseError<&[u8]>> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Addressee` is never constructed [INFO] [stdout] --> src/fbb.rs:245:8 [INFO] [stdout] | [INFO] [stdout] 245 | struct Addressee<'a> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `recipient` is never used [INFO] [stdout] --> src/fbb.rs:250:4 [INFO] [stdout] | [INFO] [stdout] 250 | fn recipient(data: &[u8]) -> IResult<&[u8], Addressee, VerboseError<&[u8]>> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `message_id` is never used [INFO] [stdout] --> src/fbb.rs:261:4 [INFO] [stdout] | [INFO] [stdout] 261 | fn message_id(data: &[u8]) -> IResult<&[u8], &MessageIdRef, VerboseError<&[u8]>> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `message_size` is never used [INFO] [stdout] --> src/fbb.rs:265:4 [INFO] [stdout] | [INFO] [stdout] 265 | fn message_size(data: &[u8]) -> IResult<&[u8], u16, VerboseError<&[u8]>> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `fbb_proposal` is never used [INFO] [stdout] --> src/fbb.rs:269:4 [INFO] [stdout] | [INFO] [stdout] 269 | fn fbb_proposal(data: &[u8]) -> IResult<&[u8], Proposal, VerboseError<&[u8]>> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Proposal` is never constructed [INFO] [stdout] --> src/fbb.rs:283:8 [INFO] [stdout] | [INFO] [stdout] 283 | struct Proposal<'a> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `from_parts` is never used [INFO] [stdout] --> src/fbb.rs:292:8 [INFO] [stdout] | [INFO] [stdout] 291 | impl<'a> Proposal<'a> { [INFO] [stdout] | --------------------- associated function in this implementation [INFO] [stdout] 292 | fn from_parts((message_type, sender, addressee, message_id, message_size): (MessageType, &'a SenderRef, Addressee<'a>, &'a MessageIdR... [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `winlink_proposal` is never used [INFO] [stdout] --> src/fbb.rs:303:4 [INFO] [stdout] | [INFO] [stdout] 303 | fn winlink_proposal(data: &[u8]) -> IResult<&[u8], WinlinkProposal, VerboseError<&[u8]>> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `WinlinkProposal` is never constructed [INFO] [stdout] --> src/fbb.rs:322:8 [INFO] [stdout] | [INFO] [stdout] 322 | struct WinlinkProposal<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `from_parts` is never used [INFO] [stdout] --> src/fbb.rs:330:8 [INFO] [stdout] | [INFO] [stdout] 329 | impl<'a> WinlinkProposal<'a> { [INFO] [stdout] | ---------------------------- associated function in this implementation [INFO] [stdout] 330 | fn from_parts((_, message_id, uncompressed_message_size, compressed_message_size, bqp_extension): (&[u8], &'a MessageIdRef, u16, u16,... [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `BqpProposalExtension` is never constructed [INFO] [stdout] --> src/fbb.rs:340:8 [INFO] [stdout] | [INFO] [stdout] 340 | struct BqpProposalExtension<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `from_parts` is never used [INFO] [stdout] --> src/fbb.rs:346:8 [INFO] [stdout] | [INFO] [stdout] 345 | impl<'a> BqpProposalExtension<'a> { [INFO] [stdout] | --------------------------------- associated function in this implementation [INFO] [stdout] 346 | fn from_parts((sender, addressee): (&'a SenderRef, Addressee<'a>)) -> Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Crc16` is never constructed [INFO] [stdout] --> src/crc16.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct Crc16 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `update`, and `finish` are never used [INFO] [stdout] --> src/crc16.rs:16:18 [INFO] [stdout] | [INFO] [stdout] 15 | impl Crc16 { [INFO] [stdout] | ---------- associated items in this implementation [INFO] [stdout] 16 | pub const fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 20 | pub fn update(&mut self, c: u8) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 24 | pub fn finish(self) -> u16 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `CRC_TABLE` is never used [INFO] [stdout] --> src/crc16.rs:29:7 [INFO] [stdout] | [INFO] [stdout] 29 | const CRC_TABLE: [u16; 256] = [ [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `N` is never used [INFO] [stdout] --> src/lzhuf.rs:3:7 [INFO] [stdout] | [INFO] [stdout] 3 | const N: u16 = 2048; [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `F` is never used [INFO] [stdout] --> src/lzhuf.rs:4:7 [INFO] [stdout] | [INFO] [stdout] 4 | const F: u16 = 60; [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `THRESHOLD` is never used [INFO] [stdout] --> src/lzhuf.rs:5:7 [INFO] [stdout] | [INFO] [stdout] 5 | const THRESHOLD: u16 = 2; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `NIL` is never used [INFO] [stdout] --> src/lzhuf.rs:6:7 [INFO] [stdout] | [INFO] [stdout] 6 | const NIL: u16 = N; // 2048 [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `N_CHAR` is never used [INFO] [stdout] --> src/lzhuf.rs:7:7 [INFO] [stdout] | [INFO] [stdout] 7 | const N_CHAR: u16 = 256 - THRESHOLD + F; // 314 [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `T` is never used [INFO] [stdout] --> src/lzhuf.rs:8:7 [INFO] [stdout] | [INFO] [stdout] 8 | const T: u16 = N_CHAR * 2 - 1; // 627 [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `R` is never used [INFO] [stdout] --> src/lzhuf.rs:9:7 [INFO] [stdout] | [INFO] [stdout] 9 | const R: u16 = T - 1; // 313 [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MAX_FREQ` is never used [INFO] [stdout] --> src/lzhuf.rs:10:7 [INFO] [stdout] | [INFO] [stdout] 10 | const MAX_FREQ: u16 = 0x8000; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `LzHufState` is never constructed [INFO] [stdout] --> src/lzhuf.rs:13:8 [INFO] [stdout] | [INFO] [stdout] 13 | struct LzHufState { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Bitbuffer` is never constructed [INFO] [stdout] --> src/lzhuf.rs:154:8 [INFO] [stdout] | [INFO] [stdout] 154 | struct Bitbuffer<'a> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `put_code`, and `finish` are never used [INFO] [stdout] --> src/lzhuf.rs:161:8 [INFO] [stdout] | [INFO] [stdout] 160 | impl<'a> Bitbuffer<'a> { [INFO] [stdout] | ---------------------- associated items in this implementation [INFO] [stdout] 161 | fn new(output: &'a mut Vec) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 169 | fn put_code(&mut self, l: u8, c: u16) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 187 | fn finish(self) {} [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Biterator` is never constructed [INFO] [stdout] --> src/lzhuf.rs:198:8 [INFO] [stdout] | [INFO] [stdout] 198 | struct Biterator { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/lzhuf.rs:205:8 [INFO] [stdout] | [INFO] [stdout] 204 | impl Biterator { [INFO] [stdout] | -------------------- associated function in this implementation [INFO] [stdout] 205 | fn new>(input: X) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Encoder` is never constructed [INFO] [stdout] --> src/lzhuf.rs:361:12 [INFO] [stdout] | [INFO] [stdout] 361 | pub struct Encoder<'a> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/lzhuf.rs:372:8 [INFO] [stdout] | [INFO] [stdout] 371 | impl<'a> Encoder<'a> { [INFO] [stdout] | -------------------- associated items in this implementation [INFO] [stdout] 372 | fn new(output: &'a mut Vec) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 391 | fn insert_node(&mut self, r: u16) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 458 | fn delete_node(&mut self, p: u16) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 499 | fn encode_char(&mut self, c: u16) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 520 | fn encode_position(&mut self, c: u16) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 526 | fn encode, Y: Iterator>(&mut self, input: I) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 590 | fn finish(self) {} [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Decoder` is never constructed [INFO] [stdout] --> src/lzhuf.rs:593:12 [INFO] [stdout] | [INFO] [stdout] 593 | pub struct Decoder { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `UnexpectedEof` is never constructed [INFO] [stdout] --> src/lzhuf.rs:609:12 [INFO] [stdout] | [INFO] [stdout] 609 | pub struct UnexpectedEof; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `p_len` is never used [INFO] [stdout] --> src/lzhuf.rs:669:7 [INFO] [stdout] | [INFO] [stdout] 669 | const p_len: [u8; 64] = [ [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `p_code` is never used [INFO] [stdout] --> src/lzhuf.rs:680:7 [INFO] [stdout] | [INFO] [stdout] 680 | const p_code: [u8; 64] = [ [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `DECODE_CODE` is never used [INFO] [stdout] --> src/lzhuf.rs:691:7 [INFO] [stdout] | [INFO] [stdout] 691 | const DECODE_CODE: [u8; 256] = [ [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `DECODE_LEN` is never used [INFO] [stdout] --> src/lzhuf.rs:726:7 [INFO] [stdout] | [INFO] [stdout] 726 | const DECODE_LEN: [u8; 256] = [ [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/fbb.rs:51:27 [INFO] [stdout] | [INFO] [stdout] 51 | fn b2_message_block(data: &[u8]) -> IResult<&[u8], CompressedMessage, VerboseError<&[u8]>> { [INFO] [stdout] | ^^^^^ ----- ----------------- ----- the lifetimes get resolved as `'_` [INFO] [stdout] | | | | [INFO] [stdout] | | | the lifetimes get resolved as `'_` [INFO] [stdout] | | the lifetimes get resolved as `'_` [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 51 | fn b2_message_block(data: &[u8]) -> IResult<&[u8], CompressedMessage<'_>, VerboseError<&[u8]>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/fbb.rs:250:20 [INFO] [stdout] | [INFO] [stdout] 250 | fn recipient(data: &[u8]) -> IResult<&[u8], Addressee, VerboseError<&[u8]>> { [INFO] [stdout] | ^^^^^ ----- --------- ----- the lifetimes get resolved as `'_` [INFO] [stdout] | | | | [INFO] [stdout] | | | the lifetimes get resolved as `'_` [INFO] [stdout] | | the lifetimes get resolved as `'_` [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 250 | fn recipient(data: &[u8]) -> IResult<&[u8], Addressee<'_>, VerboseError<&[u8]>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/fbb.rs:269:23 [INFO] [stdout] | [INFO] [stdout] 269 | fn fbb_proposal(data: &[u8]) -> IResult<&[u8], Proposal, VerboseError<&[u8]>> { [INFO] [stdout] | ^^^^^ ----- -------- ----- the lifetimes get resolved as `'_` [INFO] [stdout] | | | | [INFO] [stdout] | | | the lifetimes get resolved as `'_` [INFO] [stdout] | | the lifetimes get resolved as `'_` [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 269 | fn fbb_proposal(data: &[u8]) -> IResult<&[u8], Proposal<'_>, VerboseError<&[u8]>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/fbb.rs:303:27 [INFO] [stdout] | [INFO] [stdout] 303 | fn winlink_proposal(data: &[u8]) -> IResult<&[u8], WinlinkProposal, VerboseError<&[u8]>> { [INFO] [stdout] | ^^^^^ ----- --------------- ----- the lifetimes get resolved as `'_` [INFO] [stdout] | | | | [INFO] [stdout] | | | the lifetimes get resolved as `'_` [INFO] [stdout] | | the lifetimes get resolved as `'_` [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 303 | fn winlink_proposal(data: &[u8]) -> IResult<&[u8], WinlinkProposal<'_>, VerboseError<&[u8]>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/modem/vara.rs:129:23 [INFO] [stdout] | [INFO] [stdout] 129 | fn tnc_response(data: &[u8]) -> IResult<&[u8], TncResponse, VerboseError<&[u8]>> { [INFO] [stdout] | ^^^^^ ----- ----------- ----- the lifetimes get resolved as `'_` [INFO] [stdout] | | | | [INFO] [stdout] | | | the lifetimes get resolved as `'_` [INFO] [stdout] | | the lifetimes get resolved as `'_` [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 129 | fn tnc_response(data: &[u8]) -> IResult<&[u8], TncResponse<'_>, VerboseError<&[u8]>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/modem/vara.rs:148:17 [INFO] [stdout] | [INFO] [stdout] 148 | fn update(data: &[u8]) -> IResult<&[u8], Update, VerboseError<&[u8]>> { [INFO] [stdout] | ^^^^^ ----- ------ ----- the lifetimes get resolved as `'_` [INFO] [stdout] | | | | [INFO] [stdout] | | | the lifetimes get resolved as `'_` [INFO] [stdout] | | the lifetimes get resolved as `'_` [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 148 | fn update(data: &[u8]) -> IResult<&[u8], Update<'_>, VerboseError<&[u8]>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/modem/vara.rs:160:17 [INFO] [stdout] | [INFO] [stdout] 160 | fn buffer(data: &[u8]) -> IResult<&[u8], Update, VerboseError<&[u8]>> { [INFO] [stdout] | ^^^^^ ----- ------ ----- the lifetimes get resolved as `'_` [INFO] [stdout] | | | | [INFO] [stdout] | | | the lifetimes get resolved as `'_` [INFO] [stdout] | | the lifetimes get resolved as `'_` [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 160 | fn buffer(data: &[u8]) -> IResult<&[u8], Update<'_>, VerboseError<&[u8]>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/modem/vara.rs:168:21 [INFO] [stdout] | [INFO] [stdout] 168 | fn registered(data: &[u8]) -> IResult<&[u8], Update, VerboseError<&[u8]>> { [INFO] [stdout] | ^^^^^ ----- ------ ----- the lifetimes get resolved as `'_` [INFO] [stdout] | | | | [INFO] [stdout] | | | the lifetimes get resolved as `'_` [INFO] [stdout] | | the lifetimes get resolved as `'_` [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 168 | fn registered(data: &[u8]) -> IResult<&[u8], Update<'_>, VerboseError<&[u8]>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/modem/vara.rs:319:23 [INFO] [stdout] | [INFO] [stdout] 319 | fn disconnected(data: &[u8]) -> IResult<&[u8], ConnectionState, VerboseError<&[u8]>> { [INFO] [stdout] | ^^^^^ ----- --------------- ----- the lifetimes get resolved as `'_` [INFO] [stdout] | | | | [INFO] [stdout] | | | the lifetimes get resolved as `'_` [INFO] [stdout] | | the lifetimes get resolved as `'_` [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 319 | fn disconnected(data: &[u8]) -> IResult<&[u8], ConnectionState<'_>, VerboseError<&[u8]>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/modem/vara.rs:323:18 [INFO] [stdout] | [INFO] [stdout] 323 | fn pending(data: &[u8]) -> IResult<&[u8], ConnectionState, VerboseError<&[u8]>> { [INFO] [stdout] | ^^^^^ ----- --------------- ----- the lifetimes get resolved as `'_` [INFO] [stdout] | | | | [INFO] [stdout] | | | the lifetimes get resolved as `'_` [INFO] [stdout] | | the lifetimes get resolved as `'_` [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 323 | fn pending(data: &[u8]) -> IResult<&[u8], ConnectionState<'_>, VerboseError<&[u8]>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/modem/vara.rs:327:19 [INFO] [stdout] | [INFO] [stdout] 327 | fn canceled(data: &[u8]) -> IResult<&[u8], ConnectionState, VerboseError<&[u8]>> { [INFO] [stdout] | ^^^^^ ----- --------------- ----- the lifetimes get resolved as `'_` [INFO] [stdout] | | | | [INFO] [stdout] | | | the lifetimes get resolved as `'_` [INFO] [stdout] | | the lifetimes get resolved as `'_` [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 327 | fn canceled(data: &[u8]) -> IResult<&[u8], ConnectionState<'_>, VerboseError<&[u8]>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/modem/vara.rs:331:20 [INFO] [stdout] | [INFO] [stdout] 331 | fn connected(data: &[u8]) -> IResult<&[u8], ConnectionState, VerboseError<&[u8]>> { [INFO] [stdout] | ^^^^^ ----- --------------- ----- the lifetimes get resolved as `'_` [INFO] [stdout] | | | | [INFO] [stdout] | | | the lifetimes get resolved as `'_` [INFO] [stdout] | | the lifetimes get resolved as `'_` [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 331 | fn connected(data: &[u8]) -> IResult<&[u8], ConnectionState<'_>, VerboseError<&[u8]>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/modem/vara.rs:343:27 [INFO] [stdout] | [INFO] [stdout] 343 | fn connection_state(data: &[u8]) -> IResult<&[u8], ConnectionState, VerboseError<&[u8]>> { [INFO] [stdout] | ^^^^^ ----- --------------- ----- the lifetimes get resolved as `'_` [INFO] [stdout] | | | | [INFO] [stdout] | | | the lifetimes get resolved as `'_` [INFO] [stdout] | | the lifetimes get resolved as `'_` [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 343 | fn connection_state(data: &[u8]) -> IResult<&[u8], ConnectionState<'_>, VerboseError<&[u8]>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: comparison is useless due to type limits [INFO] [stdout] --> src/lzhuf.rs:399:16 [INFO] [stdout] | [INFO] [stdout] 399 | if cmp >= 0 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_comparisons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `p_len` should have an upper case name [INFO] [stdout] --> src/lzhuf.rs:669:7 [INFO] [stdout] | [INFO] [stdout] 669 | const p_len: [u8; 64] = [ [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_upper_case_globals)]` on by default [INFO] [stdout] help: convert the identifier to upper case [INFO] [stdout] | [INFO] [stdout] 669 - const p_len: [u8; 64] = [ [INFO] [stdout] 669 + const P_LEN: [u8; 64] = [ [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `p_code` should have an upper case name [INFO] [stdout] --> src/lzhuf.rs:680:7 [INFO] [stdout] | [INFO] [stdout] 680 | const p_code: [u8; 64] = [ [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: convert the identifier to upper case [INFO] [stdout] | [INFO] [stdout] 680 - const p_code: [u8; 64] = [ [INFO] [stdout] 680 + const P_CODE: [u8; 64] = [ [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/types.rs:20:21 [INFO] [stdout] | [INFO] [stdout] 20 | fn normalize(s: &str) -> Result, Self::Error> { [INFO] [stdout] | ^^^^ -------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 20 | fn normalize(s: &str) -> Result, Self::Error> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `with_directives` is never used [INFO] [stdout] --> src/lib.rs:78:8 [INFO] [stdout] | [INFO] [stdout] 77 | impl Handling { [INFO] [stdout] | ------------- associated function in this implementation [INFO] [stdout] 78 | fn with_directives, J: Iterator>(directives: I) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test` is never used [INFO] [stdout] --> src/lib.rs:114:4 [INFO] [stdout] | [INFO] [stdout] 114 | fn test() -> Traffic { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `fa_tag` is never used [INFO] [stdout] --> src/fbb.rs:155:4 [INFO] [stdout] | [INFO] [stdout] 155 | fn fa_tag(data: &[u8]) -> IResult<&[u8], &[u8], VerboseError<&[u8]>> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `fb_tag` is never used [INFO] [stdout] --> src/fbb.rs:159:4 [INFO] [stdout] | [INFO] [stdout] 159 | fn fb_tag(data: &[u8]) -> IResult<&[u8], &[u8], VerboseError<&[u8]>> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `fc_tag` is never used [INFO] [stdout] --> src/fbb.rs:163:4 [INFO] [stdout] | [INFO] [stdout] 163 | fn fc_tag(data: &[u8]) -> IResult<&[u8], &[u8], VerboseError<&[u8]>> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `end_of_proposal_tag` is never used [INFO] [stdout] --> src/fbb.rs:167:4 [INFO] [stdout] | [INFO] [stdout] 167 | fn end_of_proposal_tag(data: &[u8]) -> IResult<&[u8], &[u8], VerboseError<&[u8]>> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `select_tag` is never used [INFO] [stdout] --> src/fbb.rs:171:4 [INFO] [stdout] | [INFO] [stdout] 171 | fn select_tag(data: &[u8]) -> IResult<&[u8], &[u8], VerboseError<&[u8]>> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `delimiter` is never used [INFO] [stdout] --> src/fbb.rs:182:4 [INFO] [stdout] | [INFO] [stdout] 182 | fn delimiter(c: u8) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `selection_element` is never used [INFO] [stdout] --> src/fbb.rs:186:4 [INFO] [stdout] | [INFO] [stdout] 186 | fn selection_element(data: &[u8]) -> IResult<&[u8], MessageChoice, VerboseError<&[u8]>> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `selection` is never used [INFO] [stdout] --> src/fbb.rs:198:4 [INFO] [stdout] | [INFO] [stdout] 198 | fn selection(data: &[u8]) -> IResult<&[u8], [MessageChoice; P], VerboseError<&[u8]>> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `no_more` is never used [INFO] [stdout] --> src/fbb.rs:209:4 [INFO] [stdout] | [INFO] [stdout] 209 | fn no_more(data: &[u8]) -> IResult<&[u8], &[u8], VerboseError<&[u8]>> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `all_done` is never used [INFO] [stdout] --> src/fbb.rs:213:4 [INFO] [stdout] | [INFO] [stdout] 213 | fn all_done(data: &[u8]) -> IResult<&[u8], &[u8], VerboseError<&[u8]>> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `message_type` is never used [INFO] [stdout] --> src/fbb.rs:224:4 [INFO] [stdout] | [INFO] [stdout] 224 | fn message_type(data: &[u8]) -> IResult<&[u8], MessageType, VerboseError<&[u8]>> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `sender` is never used [INFO] [stdout] --> src/fbb.rs:235:4 [INFO] [stdout] | [INFO] [stdout] 235 | fn sender(data: &[u8]) -> IResult<&[u8], &SenderRef, VerboseError<&[u8]>> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Addressee` is never constructed [INFO] [stdout] --> src/fbb.rs:245:8 [INFO] [stdout] | [INFO] [stdout] 245 | struct Addressee<'a> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `recipient` is never used [INFO] [stdout] --> src/fbb.rs:250:4 [INFO] [stdout] | [INFO] [stdout] 250 | fn recipient(data: &[u8]) -> IResult<&[u8], Addressee, VerboseError<&[u8]>> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `message_id` is never used [INFO] [stdout] --> src/fbb.rs:261:4 [INFO] [stdout] | [INFO] [stdout] 261 | fn message_id(data: &[u8]) -> IResult<&[u8], &MessageIdRef, VerboseError<&[u8]>> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `message_size` is never used [INFO] [stdout] --> src/fbb.rs:265:4 [INFO] [stdout] | [INFO] [stdout] 265 | fn message_size(data: &[u8]) -> IResult<&[u8], u16, VerboseError<&[u8]>> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `fbb_proposal` is never used [INFO] [stdout] --> src/fbb.rs:269:4 [INFO] [stdout] | [INFO] [stdout] 269 | fn fbb_proposal(data: &[u8]) -> IResult<&[u8], Proposal, VerboseError<&[u8]>> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Proposal` is never constructed [INFO] [stdout] --> src/fbb.rs:283:8 [INFO] [stdout] | [INFO] [stdout] 283 | struct Proposal<'a> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `from_parts` is never used [INFO] [stdout] --> src/fbb.rs:292:8 [INFO] [stdout] | [INFO] [stdout] 291 | impl<'a> Proposal<'a> { [INFO] [stdout] | --------------------- associated function in this implementation [INFO] [stdout] 292 | fn from_parts((message_type, sender, addressee, message_id, message_size): (MessageType, &'a SenderRef, Addressee<'a>, &'a MessageIdR... [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `winlink_proposal` is never used [INFO] [stdout] --> src/fbb.rs:303:4 [INFO] [stdout] | [INFO] [stdout] 303 | fn winlink_proposal(data: &[u8]) -> IResult<&[u8], WinlinkProposal, VerboseError<&[u8]>> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `WinlinkProposal` is never constructed [INFO] [stdout] --> src/fbb.rs:322:8 [INFO] [stdout] | [INFO] [stdout] 322 | struct WinlinkProposal<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `from_parts` is never used [INFO] [stdout] --> src/fbb.rs:330:8 [INFO] [stdout] | [INFO] [stdout] 329 | impl<'a> WinlinkProposal<'a> { [INFO] [stdout] | ---------------------------- associated function in this implementation [INFO] [stdout] 330 | fn from_parts((_, message_id, uncompressed_message_size, compressed_message_size, bqp_extension): (&[u8], &'a MessageIdRef, u16, u16,... [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `BqpProposalExtension` is never constructed [INFO] [stdout] --> src/fbb.rs:340:8 [INFO] [stdout] | [INFO] [stdout] 340 | struct BqpProposalExtension<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `from_parts` is never used [INFO] [stdout] --> src/fbb.rs:346:8 [INFO] [stdout] | [INFO] [stdout] 345 | impl<'a> BqpProposalExtension<'a> { [INFO] [stdout] | --------------------------------- associated function in this implementation [INFO] [stdout] 346 | fn from_parts((sender, addressee): (&'a SenderRef, Addressee<'a>)) -> Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `finish` is never used [INFO] [stdout] --> src/lzhuf.rs:187:8 [INFO] [stdout] | [INFO] [stdout] 160 | impl<'a> Bitbuffer<'a> { [INFO] [stdout] | ---------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 187 | fn finish(self) {} [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/fbb.rs:51:27 [INFO] [stdout] | [INFO] [stdout] 51 | fn b2_message_block(data: &[u8]) -> IResult<&[u8], CompressedMessage, VerboseError<&[u8]>> { [INFO] [stdout] | ^^^^^ ----- ----------------- ----- the lifetimes get resolved as `'_` [INFO] [stdout] | | | | [INFO] [stdout] | | | the lifetimes get resolved as `'_` [INFO] [stdout] | | the lifetimes get resolved as `'_` [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 51 | fn b2_message_block(data: &[u8]) -> IResult<&[u8], CompressedMessage<'_>, VerboseError<&[u8]>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/fbb.rs:250:20 [INFO] [stdout] | [INFO] [stdout] 250 | fn recipient(data: &[u8]) -> IResult<&[u8], Addressee, VerboseError<&[u8]>> { [INFO] [stdout] | ^^^^^ ----- --------- ----- the lifetimes get resolved as `'_` [INFO] [stdout] | | | | [INFO] [stdout] | | | the lifetimes get resolved as `'_` [INFO] [stdout] | | the lifetimes get resolved as `'_` [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 250 | fn recipient(data: &[u8]) -> IResult<&[u8], Addressee<'_>, VerboseError<&[u8]>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/fbb.rs:269:23 [INFO] [stdout] | [INFO] [stdout] 269 | fn fbb_proposal(data: &[u8]) -> IResult<&[u8], Proposal, VerboseError<&[u8]>> { [INFO] [stdout] | ^^^^^ ----- -------- ----- the lifetimes get resolved as `'_` [INFO] [stdout] | | | | [INFO] [stdout] | | | the lifetimes get resolved as `'_` [INFO] [stdout] | | the lifetimes get resolved as `'_` [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 269 | fn fbb_proposal(data: &[u8]) -> IResult<&[u8], Proposal<'_>, VerboseError<&[u8]>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/fbb.rs:303:27 [INFO] [stdout] | [INFO] [stdout] 303 | fn winlink_proposal(data: &[u8]) -> IResult<&[u8], WinlinkProposal, VerboseError<&[u8]>> { [INFO] [stdout] | ^^^^^ ----- --------------- ----- the lifetimes get resolved as `'_` [INFO] [stdout] | | | | [INFO] [stdout] | | | the lifetimes get resolved as `'_` [INFO] [stdout] | | the lifetimes get resolved as `'_` [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 303 | fn winlink_proposal(data: &[u8]) -> IResult<&[u8], WinlinkProposal<'_>, VerboseError<&[u8]>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/fbb.rs:363:9 [INFO] [stdout] | [INFO] [stdout] 363 | data.decompress(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 363 | let _ = data.decompress(); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/modem/vara.rs:129:23 [INFO] [stdout] | [INFO] [stdout] 129 | fn tnc_response(data: &[u8]) -> IResult<&[u8], TncResponse, VerboseError<&[u8]>> { [INFO] [stdout] | ^^^^^ ----- ----------- ----- the lifetimes get resolved as `'_` [INFO] [stdout] | | | | [INFO] [stdout] | | | the lifetimes get resolved as `'_` [INFO] [stdout] | | the lifetimes get resolved as `'_` [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 129 | fn tnc_response(data: &[u8]) -> IResult<&[u8], TncResponse<'_>, VerboseError<&[u8]>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/modem/vara.rs:148:17 [INFO] [stdout] | [INFO] [stdout] 148 | fn update(data: &[u8]) -> IResult<&[u8], Update, VerboseError<&[u8]>> { [INFO] [stdout] | ^^^^^ ----- ------ ----- the lifetimes get resolved as `'_` [INFO] [stdout] | | | | [INFO] [stdout] | | | the lifetimes get resolved as `'_` [INFO] [stdout] | | the lifetimes get resolved as `'_` [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 148 | fn update(data: &[u8]) -> IResult<&[u8], Update<'_>, VerboseError<&[u8]>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/modem/vara.rs:160:17 [INFO] [stdout] | [INFO] [stdout] 160 | fn buffer(data: &[u8]) -> IResult<&[u8], Update, VerboseError<&[u8]>> { [INFO] [stdout] | ^^^^^ ----- ------ ----- the lifetimes get resolved as `'_` [INFO] [stdout] | | | | [INFO] [stdout] | | | the lifetimes get resolved as `'_` [INFO] [stdout] | | the lifetimes get resolved as `'_` [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 160 | fn buffer(data: &[u8]) -> IResult<&[u8], Update<'_>, VerboseError<&[u8]>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/modem/vara.rs:168:21 [INFO] [stdout] | [INFO] [stdout] 168 | fn registered(data: &[u8]) -> IResult<&[u8], Update, VerboseError<&[u8]>> { [INFO] [stdout] | ^^^^^ ----- ------ ----- the lifetimes get resolved as `'_` [INFO] [stdout] | | | | [INFO] [stdout] | | | the lifetimes get resolved as `'_` [INFO] [stdout] | | the lifetimes get resolved as `'_` [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 168 | fn registered(data: &[u8]) -> IResult<&[u8], Update<'_>, VerboseError<&[u8]>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/modem/vara.rs:319:23 [INFO] [stdout] | [INFO] [stdout] 319 | fn disconnected(data: &[u8]) -> IResult<&[u8], ConnectionState, VerboseError<&[u8]>> { [INFO] [stdout] | ^^^^^ ----- --------------- ----- the lifetimes get resolved as `'_` [INFO] [stdout] | | | | [INFO] [stdout] | | | the lifetimes get resolved as `'_` [INFO] [stdout] | | the lifetimes get resolved as `'_` [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 319 | fn disconnected(data: &[u8]) -> IResult<&[u8], ConnectionState<'_>, VerboseError<&[u8]>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/modem/vara.rs:323:18 [INFO] [stdout] | [INFO] [stdout] 323 | fn pending(data: &[u8]) -> IResult<&[u8], ConnectionState, VerboseError<&[u8]>> { [INFO] [stdout] | ^^^^^ ----- --------------- ----- the lifetimes get resolved as `'_` [INFO] [stdout] | | | | [INFO] [stdout] | | | the lifetimes get resolved as `'_` [INFO] [stdout] | | the lifetimes get resolved as `'_` [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 323 | fn pending(data: &[u8]) -> IResult<&[u8], ConnectionState<'_>, VerboseError<&[u8]>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/modem/vara.rs:327:19 [INFO] [stdout] | [INFO] [stdout] 327 | fn canceled(data: &[u8]) -> IResult<&[u8], ConnectionState, VerboseError<&[u8]>> { [INFO] [stdout] | ^^^^^ ----- --------------- ----- the lifetimes get resolved as `'_` [INFO] [stdout] | | | | [INFO] [stdout] | | | the lifetimes get resolved as `'_` [INFO] [stdout] | | the lifetimes get resolved as `'_` [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 327 | fn canceled(data: &[u8]) -> IResult<&[u8], ConnectionState<'_>, VerboseError<&[u8]>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/modem/vara.rs:331:20 [INFO] [stdout] | [INFO] [stdout] 331 | fn connected(data: &[u8]) -> IResult<&[u8], ConnectionState, VerboseError<&[u8]>> { [INFO] [stdout] | ^^^^^ ----- --------------- ----- the lifetimes get resolved as `'_` [INFO] [stdout] | | | | [INFO] [stdout] | | | the lifetimes get resolved as `'_` [INFO] [stdout] | | the lifetimes get resolved as `'_` [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 331 | fn connected(data: &[u8]) -> IResult<&[u8], ConnectionState<'_>, VerboseError<&[u8]>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/modem/vara.rs:343:27 [INFO] [stdout] | [INFO] [stdout] 343 | fn connection_state(data: &[u8]) -> IResult<&[u8], ConnectionState, VerboseError<&[u8]>> { [INFO] [stdout] | ^^^^^ ----- --------------- ----- the lifetimes get resolved as `'_` [INFO] [stdout] | | | | [INFO] [stdout] | | | the lifetimes get resolved as `'_` [INFO] [stdout] | | the lifetimes get resolved as `'_` [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 343 | fn connection_state(data: &[u8]) -> IResult<&[u8], ConnectionState<'_>, VerboseError<&[u8]>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: comparison is useless due to type limits [INFO] [stdout] --> src/lzhuf.rs:399:16 [INFO] [stdout] | [INFO] [stdout] 399 | if cmp >= 0 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_comparisons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `p_len` should have an upper case name [INFO] [stdout] --> src/lzhuf.rs:669:7 [INFO] [stdout] | [INFO] [stdout] 669 | const p_len: [u8; 64] = [ [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_upper_case_globals)]` on by default [INFO] [stdout] help: convert the identifier to upper case [INFO] [stdout] | [INFO] [stdout] 669 - const p_len: [u8; 64] = [ [INFO] [stdout] 669 + const P_LEN: [u8; 64] = [ [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `p_code` should have an upper case name [INFO] [stdout] --> src/lzhuf.rs:680:7 [INFO] [stdout] | [INFO] [stdout] 680 | const p_code: [u8; 64] = [ [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: convert the identifier to upper case [INFO] [stdout] | [INFO] [stdout] 680 - const p_code: [u8; 64] = [ [INFO] [stdout] 680 + const P_CODE: [u8; 64] = [ [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/types.rs:20:21 [INFO] [stdout] | [INFO] [stdout] 20 | fn normalize(s: &str) -> Result, Self::Error> { [INFO] [stdout] | ^^^^ -------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 20 | fn normalize(s: &str) -> Result, Self::Error> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 21.21s [INFO] running `Command { std: "docker" "inspect" "7e96ddb2e4655669206109c448115d6f2a95bff5e6c4c270756ef64b9a45c30e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7e96ddb2e4655669206109c448115d6f2a95bff5e6c4c270756ef64b9a45c30e", kill_on_drop: false }` [INFO] [stdout] 7e96ddb2e4655669206109c448115d6f2a95bff5e6c4c270756ef64b9a45c30e