[INFO] cloning repository https://github.com/bachp/bacnet-rs
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/bachp/bacnet-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbachp%2Fbacnet-rs", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbachp%2Fbacnet-rs'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 6739c70df2bf2c4d397677cc92009c2170e0c957
[INFO] checking bachp/bacnet-rs against 1.95.0 for pr-155915
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbachp%2Fbacnet-rs" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/bachp/bacnet-rs
[INFO] finished tweaking git repo https://github.com/bachp/bacnet-rs
[INFO] tweaked toml for git repo https://github.com/bachp/bacnet-rs written to /workspace/builds/worker-6-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/bachp/bacnet-rs on toolchain 1.95.0
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.95.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/bachp/bacnet-rs 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.95.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded serde_derive v1.0.149
[INFO] [stderr]   Downloaded picky-asn1-der v0.4.0
[INFO] [stderr]   Downloaded oid v0.2.1
[INFO] [stderr]   Downloaded gloo-timers v0.2.5
[INFO] [stderr]   Downloaded picky-asn1 v0.7.0
[INFO] [stderr]   Downloaded polling v2.5.1
[INFO] [stderr]   Downloaded serde v1.0.149
[INFO] [stderr]   Downloaded tracing-subscriber v0.3.16
[INFO] [stderr]   Downloaded syn v1.0.105
[INFO] [stderr]   Downloaded libc v0.2.138
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1.95.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 24578c02d94d9dd5674a55f5127acef16b60276b534847490093a3cbf190f942
[INFO] running `Command { std: "docker" "start" "-a" "24578c02d94d9dd5674a55f5127acef16b60276b534847490093a3cbf190f942", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "24578c02d94d9dd5674a55f5127acef16b60276b534847490093a3cbf190f942", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "24578c02d94d9dd5674a55f5127acef16b60276b534847490093a3cbf190f942", kill_on_drop: false }`
[INFO] [stdout] 24578c02d94d9dd5674a55f5127acef16b60276b534847490093a3cbf190f942
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1.95.0" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] a9b58119ec4632a3ad82c1f2a9e564b67a741a60f1fbc96d625ab82c21b524a6
[INFO] running `Command { std: "docker" "start" "-a" "a9b58119ec4632a3ad82c1f2a9e564b67a741a60f1fbc96d625ab82c21b524a6", kill_on_drop: false }`
[INFO] [stderr]    Compiling quote v1.0.21
[INFO] [stderr]    Compiling syn v1.0.105
[INFO] [stderr]    Compiling crossbeam-utils v0.8.14
[INFO] [stderr]    Compiling log v0.4.17
[INFO] [stderr]     Checking waker-fn v1.1.0
[INFO] [stderr]    Compiling libc v0.2.138
[INFO] [stderr]    Compiling value-bag v1.0.0-alpha.9
[INFO] [stderr]     Checking parking v2.0.0
[INFO] [stderr]    Compiling serde_derive v1.0.149
[INFO] [stderr]     Checking once_cell v1.16.0
[INFO] [stderr]    Compiling serde v1.0.149
[INFO] [stderr]    Compiling polling v2.5.1
[INFO] [stderr]    Compiling async-io v1.12.0
[INFO] [stderr]     Checking async-task v4.3.0
[INFO] [stderr]     Checking atomic-waker v1.0.0
[INFO] [stderr]    Compiling num-traits v0.2.15
[INFO] [stderr]     Checking nom v7.1.1
[INFO] [stderr]     Checking tracing-core v0.1.30
[INFO] [stderr]     Checking thread_local v1.1.4
[INFO] [stderr]     Checking futures-lite v1.12.0
[INFO] [stderr]     Checking async-lock v2.6.0
[INFO] [stderr]     Checking socket2 v0.4.7
[INFO] [stderr]     Checking concurrent-queue v2.0.0
[INFO] [stderr]     Checking async-channel v1.8.0
[INFO] [stderr]     Checking async-executor v1.5.0
[INFO] [stderr]     Checking blocking v1.3.0
[INFO] [stderr]    Compiling ctor v0.1.26
[INFO] [stderr]    Compiling tracing-attributes v0.1.23
[INFO] [stderr]    Compiling num-derive v0.3.3
[INFO] [stderr]     Checking tracing v0.1.37
[INFO] [stderr]     Checking kv-log-macro v1.0.7
[INFO] [stderr]     Checking tracing-log v0.1.3
[INFO] [stderr]     Checking tracing-subscriber v0.3.16
[INFO] [stderr]     Checking async-global-executor v2.3.1
[INFO] [stderr]     Checking async-std v1.12.0
[INFO] [stderr]     Checking serde_bytes v0.11.7
[INFO] [stderr]     Checking oid v0.2.1
[INFO] [stderr]     Checking picky-asn1 v0.7.0
[INFO] [stderr]     Checking picky-asn1-der v0.4.0
[INFO] [stderr]     Checking bacnet v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `BigEndian`
[INFO] [stdout]  --> src/application.rs:3:17
[INFO] [stdout]   |
[INFO] [stdout] 3 | use byteorder::{BigEndian, ReadBytesExt, WriteBytesExt};
[INFO] [stdout]   |                 ^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `BigEndian` and `WriteBytesExt`
[INFO] [stdout]  --> src/application/service.rs:2:17
[INFO] [stdout]   |
[INFO] [stdout] 2 | use byteorder::{BigEndian, ReadBytesExt, WriteBytesExt};
[INFO] [stdout]   |                 ^^^^^^^^^                ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `be_f64`, `be_i16`, `be_i24`, `be_u16`, `be_u24`, `be_u32`, and `be_u8`
[INFO] [stdout]  --> src/encoding/parse.rs:1:30
[INFO] [stdout]   |
[INFO] [stdout] 1 | use nom::number::streaming::{be_f64, be_i16, be_i24, be_u16, be_u24, be_u32, be_u8};
[INFO] [stdout]   |                              ^^^^^^  ^^^^^^  ^^^^^^  ^^^^^^  ^^^^^^  ^^^^^^  ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Err` and `Needed`
[INFO] [stdout]  --> src/encoding/parse.rs:2:11
[INFO] [stdout]   |
[INFO] [stdout] 2 | use nom::{Err, IResult, Needed};
[INFO] [stdout]   |           ^^^           ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `nom::IResult`
[INFO] [stdout]  --> src/encoding.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use nom::IResult;
[INFO] [stdout]   |     ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `bytes::BufMut`
[INFO] [stdout]  --> src/network.rs:9:5
[INFO] [stdout]   |
[INFO] [stdout] 9 | use bytes::BufMut;
[INFO] [stdout]   |     ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `bytes::BufMut`
[INFO] [stdout]  --> src/transport/bacnetip.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use bytes::BufMut;
[INFO] [stdout]   |     ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::network::*`
[INFO] [stdout]  --> src/transport/bacnetsc.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use crate::network::*;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Decode` and `Encode`
[INFO] [stdout]  --> src/transport/bacnetsc.rs:3:13
[INFO] [stdout]   |
[INFO] [stdout] 3 | use crate::{Decode, Encode};
[INFO] [stdout]   |             ^^^^^^  ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `BigEndian`, `ReadBytesExt`, and `WriteBytesExt`
[INFO] [stdout]  --> src/transport/bacnetsc.rs:5:17
[INFO] [stdout]   |
[INFO] [stdout] 5 | use byteorder::{BigEndian, ReadBytesExt, WriteBytesExt};
[INFO] [stdout]   |                 ^^^^^^^^^  ^^^^^^^^^^^^  ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `BigEndian`
[INFO] [stdout]  --> src/application.rs:3:17
[INFO] [stdout]   |
[INFO] [stdout] 3 | use byteorder::{BigEndian, ReadBytesExt, WriteBytesExt};
[INFO] [stdout]   |                 ^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `BigEndian` and `WriteBytesExt`
[INFO] [stdout]  --> src/application/service.rs:2:17
[INFO] [stdout]   |
[INFO] [stdout] 2 | use byteorder::{BigEndian, ReadBytesExt, WriteBytesExt};
[INFO] [stdout]   |                 ^^^^^^^^^                ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::tests::*`
[INFO] [stdout]    --> src/application.rs:108:9
[INFO] [stdout]     |
[INFO] [stdout] 108 |     use crate::tests::*;
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `be_f64`, `be_i16`, `be_i24`, `be_u16`, `be_u24`, `be_u32`, and `be_u8`
[INFO] [stdout]  --> src/encoding/parse.rs:1:30
[INFO] [stdout]   |
[INFO] [stdout] 1 | use nom::number::streaming::{be_f64, be_i16, be_i24, be_u16, be_u24, be_u32, be_u8};
[INFO] [stdout]   |                              ^^^^^^  ^^^^^^  ^^^^^^  ^^^^^^  ^^^^^^  ^^^^^^  ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Err` and `Needed`
[INFO] [stdout]  --> src/encoding/parse.rs:2:11
[INFO] [stdout]   |
[INFO] [stdout] 2 | use nom::{Err, IResult, Needed};
[INFO] [stdout]   |           ^^^           ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `bytes::BufMut`
[INFO] [stdout]    --> src/encoding/parse.rs:149:9
[INFO] [stdout]     |
[INFO] [stdout] 149 |     use bytes::BufMut;
[INFO] [stdout]     |         ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Bytes`
[INFO] [stdout]    --> src/encoding/parse.rs:150:17
[INFO] [stdout]     |
[INFO] [stdout] 150 |     use bytes::{Bytes, BytesMut};
[INFO] [stdout]     |                 ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `nom::IResult`
[INFO] [stdout]  --> src/encoding.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use nom::IResult;
[INFO] [stdout]   |     ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `bytes::BufMut`
[INFO] [stdout]  --> src/network.rs:9:5
[INFO] [stdout]   |
[INFO] [stdout] 9 | use bytes::BufMut;
[INFO] [stdout]   |     ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Decode`
[INFO] [stdout]    --> src/network.rs:296:17
[INFO] [stdout]     |
[INFO] [stdout] 296 |     use crate::{Decode, Encode};
[INFO] [stdout]     |                 ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `bytes::BufMut`
[INFO] [stdout]  --> src/transport/bacnetip.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use bytes::BufMut;
[INFO] [stdout]   |     ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::network::*`
[INFO] [stdout]  --> src/transport/bacnetsc.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use crate::network::*;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Decode` and `Encode`
[INFO] [stdout]  --> src/transport/bacnetsc.rs:3:13
[INFO] [stdout]   |
[INFO] [stdout] 3 | use crate::{Decode, Encode};
[INFO] [stdout]   |             ^^^^^^  ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `BigEndian`, `ReadBytesExt`, and `WriteBytesExt`
[INFO] [stdout]  --> src/transport/bacnetsc.rs:5:17
[INFO] [stdout]   |
[INFO] [stdout] 5 | use byteorder::{BigEndian, ReadBytesExt, WriteBytesExt};
[INFO] [stdout]   |                 ^^^^^^^^^  ^^^^^^^^^^^^  ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `ToPrimitive`
[INFO] [stdout]  --> src/network.rs:5:33
[INFO] [stdout]   |
[INFO] [stdout] 5 | use num_traits::{FromPrimitive, ToPrimitive};
[INFO] [stdout]   |                                 ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `t`
[INFO] [stdout]   --> src/application/service.rs:31:13
[INFO] [stdout]    |
[INFO] [stdout] 31 |             t => unimplemented!(),
[INFO] [stdout]    |             ^ help: if this is intentional, prefix it with an underscore: `_t`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `writer`
[INFO] [stdout]   --> src/network.rs:80:49
[INFO] [stdout]    |
[INFO] [stdout] 80 |     fn encode<T: std::io::Write + Sized>(&self, writer: &mut T) -> std::io::Result<()> {
[INFO] [stdout]    |                                                 ^^^^^^ help: if this is intentional, prefix it with an underscore: `_writer`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `lenght`
[INFO] [stdout]   --> src/transport/bacnetip.rs:94:13
[INFO] [stdout]    |
[INFO] [stdout] 94 |         let lenght = reader.read_u16::<BigEndian>()?; // TODO: Check lenght
[INFO] [stdout]    |             ^^^^^^ help: if this is intentional, prefix it with an underscore: `_lenght`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `as_u8` is never used
[INFO] [stdout]   --> src/application.rs:38:8
[INFO] [stdout]    |
[INFO] [stdout] 37 | impl BACnetPDU {
[INFO] [stdout]    | -------------- method in this implementation
[INFO] [stdout] 38 |     fn as_u8(&self) -> u8 {
[INFO] [stdout]    |        ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `tag_number`, `lvt`, and `data` are never read
[INFO] [stdout]  --> src/encoding.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub struct Tag<'a> {
[INFO] [stdout]   |            --- fields in this struct
[INFO] [stdout] 6 |     tag_number: TagNumber,
[INFO] [stdout]   |     ^^^^^^^^^^
[INFO] [stdout] 7 |     lvt: LengthValueType,
[INFO] [stdout]   |     ^^^
[INFO] [stdout] 8 |     data: &'a [u8],
[INFO] [stdout]   |     ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `parse_bacnet_tag` is never used
[INFO] [stdout]  --> src/encoding/parse.rs:7:8
[INFO] [stdout]   |
[INFO] [stdout] 7 | pub fn parse_bacnet_tag<'a>(input: &'a [u8]) -> IResult<&'a [u8], Tag> {
[INFO] [stdout]   |        ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `decode_buf` is never used
[INFO] [stdout]   --> src/encoding/parse.rs:69:8
[INFO] [stdout]    |
[INFO] [stdout] 69 | pub fn decode_buf<'a>(buf: &'a [u8]) -> Result<(u8, bool, u32, &'a [u8]), String> {
[INFO] [stdout]    |        ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `encode_buf` is never used
[INFO] [stdout]    --> src/encoding/parse.rs:107:8
[INFO] [stdout]     |
[INFO] [stdout] 107 | pub fn encode_buf(tag_number: u8, class: bool, length: u32) -> Result<Vec<u8>, String> {
[INFO] [stdout]     |        ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `BACNETSC` is never used
[INFO] [stdout]  --> src/transport/bacnetsc.rs:7:7
[INFO] [stdout]   |
[INFO] [stdout] 7 | const BACNETSC: u8 = 0x81;
[INFO] [stdout]   |       ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing
[INFO] [stdout]  --> src/encoding/parse.rs:7:67
[INFO] [stdout]   |
[INFO] [stdout] 7 | pub fn parse_bacnet_tag<'a>(input: &'a [u8]) -> IResult<&'a [u8], Tag> {
[INFO] [stdout]   |                                     --                   --       ^^^ the same lifetime is hidden here
[INFO] [stdout]   |                                     |                    |
[INFO] [stdout]   |                                     |                    the same lifetime is named here
[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]   = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stdout] help: consistently use `'a`
[INFO] [stdout]   |
[INFO] [stdout] 7 | pub fn parse_bacnet_tag<'a>(input: &'a [u8]) -> IResult<&'a [u8], Tag<'a>> {
[INFO] [stdout]   |                                                                      ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/network.rs:14:45
[INFO] [stdout]    |
[INFO] [stdout] 14 | #[derive(Copy, Clone, Debug, Eq, PartialEq, FromPrimitive, ToPrimitive)]
[INFO] [stdout]    |                                             ^------------
[INFO] [stdout]    |                                             |
[INFO] [stdout]    |                                             `FromPrimitive` is not local
[INFO] [stdout]    |                                             move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_NPDUPriority`
[INFO] [stdout] 15 | pub enum NPDUPriority {
[INFO] [stdout]    |          ------------ `NPDUPriority` is not local
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]    = note: `#[warn(non_local_definitions)]` on by default
[INFO] [stdout]    = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/network.rs:14:60
[INFO] [stdout]    |
[INFO] [stdout] 14 | #[derive(Copy, Clone, Debug, Eq, PartialEq, FromPrimitive, ToPrimitive)]
[INFO] [stdout]    |                                                            ^----------
[INFO] [stdout]    |                                                            |
[INFO] [stdout]    |                                                            `ToPrimitive` is not local
[INFO] [stdout]    |                                                            move the `impl` block outside of this constant `_IMPL_NUM_ToPrimitive_FOR_NPDUPriority`
[INFO] [stdout] 15 | pub enum NPDUPriority {
[INFO] [stdout]    |          ------------ `NPDUPriority` is not local
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `ToPrimitive` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `ToPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]    = note: this warning originates in the derive macro `ToPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: comparison is useless due to type limits
[INFO] [stdout]   --> src/network.rs:73:32
[INFO] [stdout]    |
[INFO] [stdout] 73 |             v if (v >= 0x80 && v <= 0xFF) => Ok(Self::Proprietary(v)),
[INFO] [stdout]    |                                ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_comparisons)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `ToPrimitive`
[INFO] [stdout]  --> src/network.rs:5:33
[INFO] [stdout]   |
[INFO] [stdout] 5 | use num_traits::{FromPrimitive, ToPrimitive};
[INFO] [stdout]   |                                 ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `t`
[INFO] [stdout]   --> src/application/service.rs:31:13
[INFO] [stdout]    |
[INFO] [stdout] 31 |             t => unimplemented!(),
[INFO] [stdout]    |             ^ help: if this is intentional, prefix it with an underscore: `_t`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `writer`
[INFO] [stdout]   --> src/network.rs:80:49
[INFO] [stdout]    |
[INFO] [stdout] 80 |     fn encode<T: std::io::Write + Sized>(&self, writer: &mut T) -> std::io::Result<()> {
[INFO] [stdout]    |                                                 ^^^^^^ help: if this is intentional, prefix it with an underscore: `_writer`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `lenght`
[INFO] [stdout]   --> src/transport/bacnetip.rs:94:13
[INFO] [stdout]    |
[INFO] [stdout] 94 |         let lenght = reader.read_u16::<BigEndian>()?; // TODO: Check lenght
[INFO] [stdout]    |             ^^^^^^ help: if this is intentional, prefix it with an underscore: `_lenght`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `as_u8` is never used
[INFO] [stdout]   --> src/application.rs:38:8
[INFO] [stdout]    |
[INFO] [stdout] 37 | impl BACnetPDU {
[INFO] [stdout]    | -------------- method in this implementation
[INFO] [stdout] 38 |     fn as_u8(&self) -> u8 {
[INFO] [stdout]    |        ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `decode_buf` is never used
[INFO] [stdout]   --> src/encoding/parse.rs:69:8
[INFO] [stdout]    |
[INFO] [stdout] 69 | pub fn decode_buf<'a>(buf: &'a [u8]) -> Result<(u8, bool, u32, &'a [u8]), String> {
[INFO] [stdout]    |        ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `encode_buf` is never used
[INFO] [stdout]    --> src/encoding/parse.rs:107:8
[INFO] [stdout]     |
[INFO] [stdout] 107 | pub fn encode_buf(tag_number: u8, class: bool, length: u32) -> Result<Vec<u8>, String> {
[INFO] [stdout]     |        ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `BACNETSC` is never used
[INFO] [stdout]  --> src/transport/bacnetsc.rs:7:7
[INFO] [stdout]   |
[INFO] [stdout] 7 | const BACNETSC: u8 = 0x81;
[INFO] [stdout]   |       ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing
[INFO] [stdout]  --> src/encoding/parse.rs:7:67
[INFO] [stdout]   |
[INFO] [stdout] 7 | pub fn parse_bacnet_tag<'a>(input: &'a [u8]) -> IResult<&'a [u8], Tag> {
[INFO] [stdout]   |                                     --                   --       ^^^ the same lifetime is hidden here
[INFO] [stdout]   |                                     |                    |
[INFO] [stdout]   |                                     |                    the same lifetime is named here
[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]   = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stdout] help: consistently use `'a`
[INFO] [stdout]   |
[INFO] [stdout] 7 | pub fn parse_bacnet_tag<'a>(input: &'a [u8]) -> IResult<&'a [u8], Tag<'a>> {
[INFO] [stdout]   |                                                                      ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/network.rs:14:45
[INFO] [stdout]    |
[INFO] [stdout] 14 | #[derive(Copy, Clone, Debug, Eq, PartialEq, FromPrimitive, ToPrimitive)]
[INFO] [stdout]    |                                             ^------------
[INFO] [stdout]    |                                             |
[INFO] [stdout]    |                                             `FromPrimitive` is not local
[INFO] [stdout]    |                                             move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_NPDUPriority`
[INFO] [stdout] 15 | pub enum NPDUPriority {
[INFO] [stdout]    |          ------------ `NPDUPriority` is not local
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]    = note: `#[warn(non_local_definitions)]` on by default
[INFO] [stdout]    = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/network.rs:14:60
[INFO] [stdout]    |
[INFO] [stdout] 14 | #[derive(Copy, Clone, Debug, Eq, PartialEq, FromPrimitive, ToPrimitive)]
[INFO] [stdout]    |                                                            ^----------
[INFO] [stdout]    |                                                            |
[INFO] [stdout]    |                                                            `ToPrimitive` is not local
[INFO] [stdout]    |                                                            move the `impl` block outside of this constant `_IMPL_NUM_ToPrimitive_FOR_NPDUPriority`
[INFO] [stdout] 15 | pub enum NPDUPriority {
[INFO] [stdout]    |          ------------ `NPDUPriority` is not local
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `ToPrimitive` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `ToPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]    = note: this warning originates in the derive macro `ToPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: comparison is useless due to type limits
[INFO] [stdout]   --> src/network.rs:73:32
[INFO] [stdout]    |
[INFO] [stdout] 73 |             v if (v >= 0x80 && v <= 0xFF) => Ok(Self::Proprietary(v)),
[INFO] [stdout]    |                                ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_comparisons)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `n`
[INFO] [stdout]   --> src/main.rs:38:18
[INFO] [stdout]    |
[INFO] [stdout] 38 |             let (n, peer) = socket.recv_from(&mut buf).await.unwrap();
[INFO] [stdout]    |                  ^ help: if this is intentional, prefix it with an underscore: `_n`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `peer`
[INFO] [stdout]   --> src/main.rs:38:21
[INFO] [stdout]    |
[INFO] [stdout] 38 |             let (n, peer) = socket.recv_from(&mut buf).await.unwrap();
[INFO] [stdout]    |                     ^^^^ help: if this is intentional, prefix it with an underscore: `_peer`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `n`
[INFO] [stdout]   --> src/main.rs:38:18
[INFO] [stdout]    |
[INFO] [stdout] 38 |             let (n, peer) = socket.recv_from(&mut buf).await.unwrap();
[INFO] [stdout]    |                  ^ help: if this is intentional, prefix it with an underscore: `_n`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `peer`
[INFO] [stdout]   --> src/main.rs:38:21
[INFO] [stdout]    |
[INFO] [stdout] 38 |             let (n, peer) = socket.recv_from(&mut buf).await.unwrap();
[INFO] [stdout]    |                     ^^^^ help: if this is intentional, prefix it with an underscore: `_peer`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 18.11s
[INFO] running `Command { std: "docker" "inspect" "a9b58119ec4632a3ad82c1f2a9e564b67a741a60f1fbc96d625ab82c21b524a6", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "a9b58119ec4632a3ad82c1f2a9e564b67a741a60f1fbc96d625ab82c21b524a6", kill_on_drop: false }`
[INFO] [stdout] a9b58119ec4632a3ad82c1f2a9e564b67a741a60f1fbc96d625ab82c21b524a6
