[INFO] fetching crate rust_lldp 0.1.1...
[INFO] testing rust_lldp-0.1.1 against try#c2e32f1c9652b13ed99608599c1e855462f421f3 for pr-146098-7
[INFO] extracting crate rust_lldp 0.1.1 into /workspace/builds/worker-6-tc2/source
[INFO] started tweaking crates.io crate rust_lldp 0.1.1
[INFO] finished tweaking crates.io crate rust_lldp 0.1.1
[INFO] tweaked toml for crates.io crate rust_lldp 0.1.1 written to /workspace/builds/worker-6-tc2/source/Cargo.toml
[INFO] validating manifest of crates.io crate rust_lldp 0.1.1 on toolchain c2e32f1c9652b13ed99608599c1e855462f421f3
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]      Locking 80 packages to latest compatible versions
[INFO] [stderr]       Adding pcap v0.9.2 (available: v2.3.0)
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 9d9ed793770932da34345c4eee6aa983d67ea1a272b3795c1218c1d619515625
[INFO] running `Command { std: "docker" "start" "-a" "9d9ed793770932da34345c4eee6aa983d67ea1a272b3795c1218c1d619515625", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "9d9ed793770932da34345c4eee6aa983d67ea1a272b3795c1218c1d619515625", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "9d9ed793770932da34345c4eee6aa983d67ea1a272b3795c1218c1d619515625", kill_on_drop: false }`
[INFO] [stdout] 9d9ed793770932da34345c4eee6aa983d67ea1a272b3795c1218c1d619515625
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 19bfd4c42ff17f3d69e6363309de7f7e5a4d0307f274e7bd8476870f3fc285f3
[INFO] running `Command { std: "docker" "start" "-a" "19bfd4c42ff17f3d69e6363309de7f7e5a4d0307f274e7bd8476870f3fc285f3", kill_on_drop: false }`
[INFO] [stderr]    Compiling winapi-build v0.1.1
[INFO] [stderr]    Compiling winapi v0.2.8
[INFO] [stderr]    Compiling regex-syntax v0.8.8
[INFO] [stderr]    Compiling memchr v0.1.11
[INFO] [stderr]    Compiling libloading v0.6.7
[INFO] [stderr]    Compiling regex-syntax v0.3.9
[INFO] [stderr]    Compiling futures-macro v0.3.31
[INFO] [stderr]    Compiling utf8-ranges v0.1.3
[INFO] [stderr]    Compiling rustc-serialize v0.3.25
[INFO] [stderr]    Compiling aho-corasick v0.5.3
[INFO] [stderr]    Compiling kernel32-sys v0.2.2
[INFO] [stderr]    Compiling libc v0.1.12
[INFO] [stderr]    Compiling lazy_static v0.2.11
[INFO] [stderr]    Compiling strsim v0.5.2
[INFO] [stderr]    Compiling mio v0.6.23
[INFO] [stderr]    Compiling thread-id v2.0.0
[INFO] [stderr]    Compiling thread_local v0.2.7
[INFO] [stderr]    Compiling pcap v0.4.2
[INFO] [stderr]    Compiling tokio v1.48.0
[INFO] [stderr]    Compiling errno v0.2.8
[INFO] [stderr]    Compiling byteorder v0.3.13
[INFO] [stderr]    Compiling futures-util v0.3.31
[INFO] [stderr]    Compiling regex v0.1.80
[INFO] [stderr]    Compiling docopt v0.6.86
[INFO] [stderr]    Compiling regex-automata v0.4.13
[INFO] [stderr]    Compiling rshark v0.0.1
[INFO] [stderr]    Compiling futures-executor v0.3.31
[INFO] [stderr]    Compiling futures v0.3.31
[INFO] [stderr]    Compiling regex v1.12.2
[INFO] [stderr]    Compiling pcap v0.9.2
[INFO] [stderr]    Compiling rust_lldp v0.1.1 (/opt/rustwide/workdir)
[INFO] [stdout] warning: associated function `get_value` is never used
[INFO] [stdout]   --> src/layer2/ethernet.rs:21:8
[INFO] [stdout]    |
[INFO] [stdout] 13 | impl EtherType {
[INFO] [stdout]    | -------------- associated function in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 21 |     fn get_value(t: EtherType) -> Result<u16, EtherType> {
[INFO] [stdout]    |        ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `vlan` is never read
[INFO] [stdout]   --> src/layer2/ethernet.rs:38:5
[INFO] [stdout]    |
[INFO] [stdout] 35 | pub struct Ethernet<'a> {
[INFO] [stdout]    |            -------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 38 |     vlan: Option<Vlan>,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `get_type` is never used
[INFO] [stdout]   --> src/tlv/mod.rs:35:8
[INFO] [stdout]    |
[INFO] [stdout] 34 | impl TlvType {
[INFO] [stdout]    | ------------ associated function in this implementation
[INFO] [stdout] 35 |     fn get_type(t: u8) -> TlvType {
[INFO] [stdout]    |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `management_string_length` is never read
[INFO] [stdout]   --> src/tlv/management_address/mod.rs:25:5
[INFO] [stdout]    |
[INFO] [stdout] 21 | pub struct ManagementAddressTLV<'a> {
[INFO] [stdout]    |            -------------------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 25 |     management_string_length: u8,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `ManagementAddressTLV` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]  --> src/tlv/system_capabilities/mod.rs:7:11
[INFO] [stdout]   |
[INFO] [stdout] 7 |     Other(bool),
[INFO] [stdout]   |     ----- ^^^^
[INFO] [stdout]   |     |
[INFO] [stdout]   |     field in this variant
[INFO] [stdout]   |
[INFO] [stdout]   = note: `Capabilities` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stdout]   |
[INFO] [stdout] 7 -     Other(bool),
[INFO] [stdout] 7 +     Other(()),
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]  --> src/tlv/system_capabilities/mod.rs:8:14
[INFO] [stdout]   |
[INFO] [stdout] 8 |     Repeater(bool),
[INFO] [stdout]   |     -------- ^^^^
[INFO] [stdout]   |     |
[INFO] [stdout]   |     field in this variant
[INFO] [stdout]   |
[INFO] [stdout]   = note: `Capabilities` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stdout]   |
[INFO] [stdout] 8 -     Repeater(bool),
[INFO] [stdout] 8 +     Repeater(()),
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]  --> src/tlv/system_capabilities/mod.rs:9:12
[INFO] [stdout]   |
[INFO] [stdout] 9 |     Bridge(bool),
[INFO] [stdout]   |     ------ ^^^^
[INFO] [stdout]   |     |
[INFO] [stdout]   |     field in this variant
[INFO] [stdout]   |
[INFO] [stdout]   = note: `Capabilities` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stdout]   |
[INFO] [stdout] 9 -     Bridge(bool),
[INFO] [stdout] 9 +     Bridge(()),
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]   --> src/tlv/system_capabilities/mod.rs:10:21
[INFO] [stdout]    |
[INFO] [stdout] 10 |     WLANAccessPoint(bool),
[INFO] [stdout]    |     --------------- ^^^^
[INFO] [stdout]    |     |
[INFO] [stdout]    |     field in this variant
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Capabilities` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stdout]    |
[INFO] [stdout] 10 -     WLANAccessPoint(bool),
[INFO] [stdout] 10 +     WLANAccessPoint(()),
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]   --> src/tlv/system_capabilities/mod.rs:11:12
[INFO] [stdout]    |
[INFO] [stdout] 11 |     Router(bool),
[INFO] [stdout]    |     ------ ^^^^
[INFO] [stdout]    |     |
[INFO] [stdout]    |     field in this variant
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Capabilities` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stdout]    |
[INFO] [stdout] 11 -     Router(bool),
[INFO] [stdout] 11 +     Router(()),
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]   --> src/tlv/system_capabilities/mod.rs:12:15
[INFO] [stdout]    |
[INFO] [stdout] 12 |     Telephone(bool),
[INFO] [stdout]    |     --------- ^^^^
[INFO] [stdout]    |     |
[INFO] [stdout]    |     field in this variant
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Capabilities` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stdout]    |
[INFO] [stdout] 12 -     Telephone(bool),
[INFO] [stdout] 12 +     Telephone(()),
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]   --> src/tlv/system_capabilities/mod.rs:13:12
[INFO] [stdout]    |
[INFO] [stdout] 13 |     DOCSIS(bool),
[INFO] [stdout]    |     ------ ^^^^
[INFO] [stdout]    |     |
[INFO] [stdout]    |     field in this variant
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Capabilities` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stdout]    |
[INFO] [stdout] 13 -     DOCSIS(bool),
[INFO] [stdout] 13 +     DOCSIS(()),
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]   --> src/tlv/system_capabilities/mod.rs:14:17
[INFO] [stdout]    |
[INFO] [stdout] 14 |     StationOnly(bool),
[INFO] [stdout]    |     ----------- ^^^^
[INFO] [stdout]    |     |
[INFO] [stdout]    |     field in this variant
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Capabilities` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stdout]    |
[INFO] [stdout] 14 -     StationOnly(bool),
[INFO] [stdout] 14 +     StationOnly(()),
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> src/layer2/ethernet.rs:44:19
[INFO] [stdout]    |
[INFO] [stdout] 44 | pub fn new(bytes: &[u8]) -> Ethernet {
[INFO] [stdout]    |                   ^^^^^     ^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]    |                   |
[INFO] [stdout]    |                   the lifetime is elided here
[INFO] [stdout]    |
[INFO] [stdout]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout]    = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]    |
[INFO] [stdout] 44 | pub fn new(bytes: &[u8]) -> Ethernet<'_> {
[INFO] [stdout]    |                                     ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing
[INFO] [stdout]   --> src/layer2/lldp.rs:15:36
[INFO] [stdout]    |
[INFO] [stdout] 15 |     pub fn new(bytes: &'a [u8]) -> LLDPU {
[INFO] [stdout]    |                        --          ^^^^^ the same lifetime is hidden here
[INFO] [stdout]    |                        |
[INFO] [stdout]    |                        the lifetime is named here
[INFO] [stdout]    |
[INFO] [stdout]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: consistently use `'a`
[INFO] [stdout]    |
[INFO] [stdout] 15 |     pub fn new(bytes: &'a [u8]) -> LLDPU<'a> {
[INFO] [stdout]    |                                         ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> src/tlv/port_id/mod.rs:15:38
[INFO] [stdout]    |
[INFO] [stdout] 15 | pub fn new(length: TlvLength, value: &TlvValue) -> PortTLV {
[INFO] [stdout]    |                                      ^^^^^^^^^     ^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]    |                                      |
[INFO] [stdout]    |                                      the lifetime is elided here
[INFO] [stdout]    |
[INFO] [stdout]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]    |
[INFO] [stdout] 15 | pub fn new(length: TlvLength, value: &TlvValue) -> PortTLV<'_> {
[INFO] [stdout]    |                                                           ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> src/tlv/ttl/mod.rs:13:38
[INFO] [stdout]    |
[INFO] [stdout] 13 | pub fn new(length: TlvLength, value: &TlvValue) -> TimeToLiveTLV {
[INFO] [stdout]    |                                      ^^^^^^^^^     ^^^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]    |                                      |
[INFO] [stdout]    |                                      the lifetime is elided here
[INFO] [stdout]    |
[INFO] [stdout]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]    |
[INFO] [stdout] 13 | pub fn new(length: TlvLength, value: &TlvValue) -> TimeToLiveTLV<'_> {
[INFO] [stdout]    |                                                                 ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> src/tlv/chassis_id/mod.rs:32:38
[INFO] [stdout]    |
[INFO] [stdout] 32 | pub fn new(length: TlvLength, value: & TlvValue) -> ChassisIdTLV {
[INFO] [stdout]    |                                      ^^^^^^^^^^     ^^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]    |                                      |
[INFO] [stdout]    |                                      the lifetime is elided here
[INFO] [stdout]    |
[INFO] [stdout]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]    |
[INFO] [stdout] 32 | pub fn new(length: TlvLength, value: & TlvValue) -> ChassisIdTLV<'_> {
[INFO] [stdout]    |                                                                 ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> src/tlv/port_description/mod.rs:12:38
[INFO] [stdout]    |
[INFO] [stdout] 12 | pub fn new(length: TlvLength, value: &TlvValue) -> PortDescriptionTLV {
[INFO] [stdout]    |                                      ^^^^^^^^^     ^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]    |                                      |
[INFO] [stdout]    |                                      the lifetime is elided here
[INFO] [stdout]    |
[INFO] [stdout]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]    |
[INFO] [stdout] 12 | pub fn new(length: TlvLength, value: &TlvValue) -> PortDescriptionTLV<'_> {
[INFO] [stdout]    |                                                                      ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> src/tlv/unknown/mod.rs:12:52
[INFO] [stdout]    |
[INFO] [stdout] 12 | pub fn new(tlv_type: u8, length: TlvLength, value: &TlvValue) -> UnknownTLV {
[INFO] [stdout]    |                                                    ^^^^^^^^^     ^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]    |                                                    |
[INFO] [stdout]    |                                                    the lifetime is elided here
[INFO] [stdout]    |
[INFO] [stdout]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]    |
[INFO] [stdout] 12 | pub fn new(tlv_type: u8, length: TlvLength, value: &TlvValue) -> UnknownTLV<'_> {
[INFO] [stdout]    |                                                                            ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> src/tlv/management_address/mod.rs:30:38
[INFO] [stdout]    |
[INFO] [stdout] 30 | pub fn new(length: TlvLength, value: &TlvValue) -> ManagementAddressTLV {
[INFO] [stdout]    |                                      ^^^^^^^^^     ^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]    |                                      |
[INFO] [stdout]    |                                      the lifetime is elided here
[INFO] [stdout]    |
[INFO] [stdout]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]    |
[INFO] [stdout] 30 | pub fn new(length: TlvLength, value: &TlvValue) -> ManagementAddressTLV<'_> {
[INFO] [stdout]    |                                                                        ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> src/tlv/system_name/mod.rs:12:38
[INFO] [stdout]    |
[INFO] [stdout] 12 | pub fn new(length: TlvLength, value: &TlvValue) -> SystemName {
[INFO] [stdout]    |                                      ^^^^^^^^^     ^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]    |                                      |
[INFO] [stdout]    |                                      the lifetime is elided here
[INFO] [stdout]    |
[INFO] [stdout]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]    |
[INFO] [stdout] 12 | pub fn new(length: TlvLength, value: &TlvValue) -> SystemName<'_> {
[INFO] [stdout]    |                                                              ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> src/tlv/system_description/mod.rs:12:38
[INFO] [stdout]    |
[INFO] [stdout] 12 | pub fn new(length: TlvLength, value: &TlvValue) -> SystemDescription {
[INFO] [stdout]    |                                      ^^^^^^^^^     ^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]    |                                      |
[INFO] [stdout]    |                                      the lifetime is elided here
[INFO] [stdout]    |
[INFO] [stdout]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]    |
[INFO] [stdout] 12 | pub fn new(length: TlvLength, value: &TlvValue) -> SystemDescription<'_> {
[INFO] [stdout]    |                                                                     ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> src/tlv/system_capabilities/mod.rs:32:38
[INFO] [stdout]    |
[INFO] [stdout] 32 | pub fn new(length: TlvLength, value: &TlvValue) -> SystemCapabilities {
[INFO] [stdout]    |                                      ^^^^^^^^^     ^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]    |                                      |
[INFO] [stdout]    |                                      the lifetime is elided here
[INFO] [stdout]    |
[INFO] [stdout]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]    |
[INFO] [stdout] 32 | pub fn new(length: TlvLength, value: &TlvValue) -> SystemCapabilities<'_> {
[INFO] [stdout]    |                                                                      ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 28.22s
[INFO] running `Command { std: "docker" "inspect" "19bfd4c42ff17f3d69e6363309de7f7e5a4d0307f274e7bd8476870f3fc285f3", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "19bfd4c42ff17f3d69e6363309de7f7e5a4d0307f274e7bd8476870f3fc285f3", kill_on_drop: false }`
[INFO] [stdout] 19bfd4c42ff17f3d69e6363309de7f7e5a4d0307f274e7bd8476870f3fc285f3
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 5bcd310189c6648c04d2c4453f331af6f27be4dd3c27d51c157e93200834a755
[INFO] running `Command { std: "docker" "start" "-a" "5bcd310189c6648c04d2c4453f331af6f27be4dd3c27d51c157e93200834a755", kill_on_drop: false }`
[INFO] [stdout] warning: associated function `get_value` is never used
[INFO] [stdout]   --> src/layer2/ethernet.rs:21:8
[INFO] [stdout]    |
[INFO] [stdout] 13 | impl EtherType {
[INFO] [stdout]    | -------------- associated function in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 21 |     fn get_value(t: EtherType) -> Result<u16, EtherType> {
[INFO] [stdout]    |        ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `vlan` is never read
[INFO] [stdout]   --> src/layer2/ethernet.rs:38:5
[INFO] [stdout]    |
[INFO] [stdout] 35 | pub struct Ethernet<'a> {
[INFO] [stdout]    |            -------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 38 |     vlan: Option<Vlan>,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `get_type` is never used
[INFO] [stdout]   --> src/tlv/mod.rs:35:8
[INFO] [stdout]    |
[INFO] [stdout] 34 | impl TlvType {
[INFO] [stdout]    | ------------ associated function in this implementation
[INFO] [stdout] 35 |     fn get_type(t: u8) -> TlvType {
[INFO] [stdout]    |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `management_string_length` is never read
[INFO] [stdout]   --> src/tlv/management_address/mod.rs:25:5
[INFO] [stdout]    |
[INFO] [stdout] 21 | pub struct ManagementAddressTLV<'a> {
[INFO] [stdout]    |            -------------------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 25 |     management_string_length: u8,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `ManagementAddressTLV` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]  --> src/tlv/system_capabilities/mod.rs:7:11
[INFO] [stdout]   |
[INFO] [stdout] 7 |     Other(bool),
[INFO] [stdout]   |     ----- ^^^^
[INFO] [stdout]   |     |
[INFO] [stdout]   |     field in this variant
[INFO] [stdout]   |
[INFO] [stdout]   = note: `Capabilities` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stdout]   |
[INFO] [stdout] 7 -     Other(bool),
[INFO] [stdout] 7 +     Other(()),
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]  --> src/tlv/system_capabilities/mod.rs:8:14
[INFO] [stdout]   |
[INFO] [stdout] 8 |     Repeater(bool),
[INFO] [stdout]   |     -------- ^^^^
[INFO] [stdout]   |     |
[INFO] [stdout]   |     field in this variant
[INFO] [stdout]   |
[INFO] [stdout]   = note: `Capabilities` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stdout]   |
[INFO] [stdout] 8 -     Repeater(bool),
[INFO] [stdout] 8 +     Repeater(()),
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]  --> src/tlv/system_capabilities/mod.rs:9:12
[INFO] [stdout]   |
[INFO] [stdout] 9 |     Bridge(bool),
[INFO] [stdout]   |     ------ ^^^^
[INFO] [stdout]   |     |
[INFO] [stdout]   |     field in this variant
[INFO] [stdout]   |
[INFO] [stdout]   = note: `Capabilities` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stdout]   |
[INFO] [stdout] 9 -     Bridge(bool),
[INFO] [stdout] 9 +     Bridge(()),
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]   --> src/tlv/system_capabilities/mod.rs:10:21
[INFO] [stdout]    |
[INFO] [stdout] 10 |     WLANAccessPoint(bool),
[INFO] [stdout]    |     --------------- ^^^^
[INFO] [stdout]    |     |
[INFO] [stdout]    |     field in this variant
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Capabilities` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stdout]    |
[INFO] [stdout] 10 -     WLANAccessPoint(bool),
[INFO] [stdout] 10 +     WLANAccessPoint(()),
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]   --> src/tlv/system_capabilities/mod.rs:11:12
[INFO] [stdout]    |
[INFO] [stdout] 11 |     Router(bool),
[INFO] [stdout]    |     ------ ^^^^
[INFO] [stdout]    |     |
[INFO] [stdout]    |     field in this variant
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Capabilities` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stdout]    |
[INFO] [stdout] 11 -     Router(bool),
[INFO] [stdout] 11 +     Router(()),
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]   --> src/tlv/system_capabilities/mod.rs:12:15
[INFO] [stdout]    |
[INFO] [stdout] 12 |     Telephone(bool),
[INFO] [stdout]    |     --------- ^^^^
[INFO] [stdout]    |     |
[INFO] [stdout]    |     field in this variant
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Capabilities` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stdout]    |
[INFO] [stdout] 12 -     Telephone(bool),
[INFO] [stdout] 12 +     Telephone(()),
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]   --> src/tlv/system_capabilities/mod.rs:13:12
[INFO] [stdout]    |
[INFO] [stdout] 13 |     DOCSIS(bool),
[INFO] [stdout]    |     ------ ^^^^
[INFO] [stdout]    |     |
[INFO] [stdout]    |     field in this variant
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Capabilities` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stdout]    |
[INFO] [stdout] 13 -     DOCSIS(bool),
[INFO] [stdout] 13 +     DOCSIS(()),
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]   --> src/tlv/system_capabilities/mod.rs:14:17
[INFO] [stdout]    |
[INFO] [stdout] 14 |     StationOnly(bool),
[INFO] [stdout]    |     ----------- ^^^^
[INFO] [stdout]    |     |
[INFO] [stdout]    |     field in this variant
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Capabilities` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stdout]    |
[INFO] [stdout] 14 -     StationOnly(bool),
[INFO] [stdout] 14 +     StationOnly(()),
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> src/layer2/ethernet.rs:44:19
[INFO] [stdout]    |
[INFO] [stdout] 44 | pub fn new(bytes: &[u8]) -> Ethernet {
[INFO] [stdout]    |                   ^^^^^     ^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]    |                   |
[INFO] [stdout]    |                   the lifetime is elided here
[INFO] [stdout]    |
[INFO] [stdout]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout]    = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]    |
[INFO] [stdout] 44 | pub fn new(bytes: &[u8]) -> Ethernet<'_> {
[INFO] [stdout]    |                                     ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing
[INFO] [stdout]   --> src/layer2/lldp.rs:15:36
[INFO] [stdout]    |
[INFO] [stdout] 15 |     pub fn new(bytes: &'a [u8]) -> LLDPU {
[INFO] [stdout]    |                        --          ^^^^^ the same lifetime is hidden here
[INFO] [stdout]    |                        |
[INFO] [stdout]    |                        the lifetime is named here
[INFO] [stdout]    |
[INFO] [stdout]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: consistently use `'a`
[INFO] [stdout]    |
[INFO] [stdout] 15 |     pub fn new(bytes: &'a [u8]) -> LLDPU<'a> {
[INFO] [stdout]    |                                         ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> src/tlv/port_id/mod.rs:15:38
[INFO] [stdout]    |
[INFO] [stdout] 15 | pub fn new(length: TlvLength, value: &TlvValue) -> PortTLV {
[INFO] [stdout]    |                                      ^^^^^^^^^     ^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]    |                                      |
[INFO] [stdout]    |                                      the lifetime is elided here
[INFO] [stdout]    |
[INFO] [stdout]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]    |
[INFO] [stdout] 15 | pub fn new(length: TlvLength, value: &TlvValue) -> PortTLV<'_> {
[INFO] [stdout]    |                                                           ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> src/tlv/ttl/mod.rs:13:38
[INFO] [stdout]    |
[INFO] [stdout] 13 | pub fn new(length: TlvLength, value: &TlvValue) -> TimeToLiveTLV {
[INFO] [stdout]    |                                      ^^^^^^^^^     ^^^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]    |                                      |
[INFO] [stdout]    |                                      the lifetime is elided here
[INFO] [stdout]    |
[INFO] [stdout]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]    |
[INFO] [stdout] 13 | pub fn new(length: TlvLength, value: &TlvValue) -> TimeToLiveTLV<'_> {
[INFO] [stdout]    |                                                                 ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> src/tlv/chassis_id/mod.rs:32:38
[INFO] [stdout]    |
[INFO] [stdout] 32 | pub fn new(length: TlvLength, value: & TlvValue) -> ChassisIdTLV {
[INFO] [stdout]    |                                      ^^^^^^^^^^     ^^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]    |                                      |
[INFO] [stdout]    |                                      the lifetime is elided here
[INFO] [stdout]    |
[INFO] [stdout]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]    |
[INFO] [stdout] 32 | pub fn new(length: TlvLength, value: & TlvValue) -> ChassisIdTLV<'_> {
[INFO] [stdout]    |                                                                 ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> src/tlv/port_description/mod.rs:12:38
[INFO] [stdout]    |
[INFO] [stdout] 12 | pub fn new(length: TlvLength, value: &TlvValue) -> PortDescriptionTLV {
[INFO] [stdout]    |                                      ^^^^^^^^^     ^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]    |                                      |
[INFO] [stdout]    |                                      the lifetime is elided here
[INFO] [stdout]    |
[INFO] [stdout]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]    |
[INFO] [stdout] 12 | pub fn new(length: TlvLength, value: &TlvValue) -> PortDescriptionTLV<'_> {
[INFO] [stdout]    |                                                                      ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> src/tlv/unknown/mod.rs:12:52
[INFO] [stdout]    |
[INFO] [stdout] 12 | pub fn new(tlv_type: u8, length: TlvLength, value: &TlvValue) -> UnknownTLV {
[INFO] [stdout]    |                                                    ^^^^^^^^^     ^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]    |                                                    |
[INFO] [stdout]    |                                                    the lifetime is elided here
[INFO] [stdout]    |
[INFO] [stdout]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]    |
[INFO] [stdout] 12 | pub fn new(tlv_type: u8, length: TlvLength, value: &TlvValue) -> UnknownTLV<'_> {
[INFO] [stdout]    |                                                                            ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Compiling rust_lldp v0.1.1 (/opt/rustwide/workdir)
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> src/tlv/management_address/mod.rs:30:38
[INFO] [stdout]    |
[INFO] [stdout] 30 | pub fn new(length: TlvLength, value: &TlvValue) -> ManagementAddressTLV {
[INFO] [stdout]    |                                      ^^^^^^^^^     ^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]    |                                      |
[INFO] [stdout]    |                                      the lifetime is elided here
[INFO] [stdout]    |
[INFO] [stdout]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]    |
[INFO] [stdout] 30 | pub fn new(length: TlvLength, value: &TlvValue) -> ManagementAddressTLV<'_> {
[INFO] [stdout]    |                                                                        ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> src/tlv/system_name/mod.rs:12:38
[INFO] [stdout]    |
[INFO] [stdout] 12 | pub fn new(length: TlvLength, value: &TlvValue) -> SystemName {
[INFO] [stdout]    |                                      ^^^^^^^^^     ^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]    |                                      |
[INFO] [stdout]    |                                      the lifetime is elided here
[INFO] [stdout]    |
[INFO] [stdout]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]    |
[INFO] [stdout] 12 | pub fn new(length: TlvLength, value: &TlvValue) -> SystemName<'_> {
[INFO] [stdout]    |                                                              ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> src/tlv/system_description/mod.rs:12:38
[INFO] [stdout]    |
[INFO] [stdout] 12 | pub fn new(length: TlvLength, value: &TlvValue) -> SystemDescription {
[INFO] [stdout]    |                                      ^^^^^^^^^     ^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]    |                                      |
[INFO] [stdout]    |                                      the lifetime is elided here
[INFO] [stdout]    |
[INFO] [stdout]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]    |
[INFO] [stdout] 12 | pub fn new(length: TlvLength, value: &TlvValue) -> SystemDescription<'_> {
[INFO] [stdout]    |                                                                     ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> src/tlv/system_capabilities/mod.rs:32:38
[INFO] [stdout]    |
[INFO] [stdout] 32 | pub fn new(length: TlvLength, value: &TlvValue) -> SystemCapabilities {
[INFO] [stdout]    |                                      ^^^^^^^^^     ^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]    |                                      |
[INFO] [stdout]    |                                      the lifetime is elided here
[INFO] [stdout]    |
[INFO] [stdout]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]    |
[INFO] [stdout] 32 | pub fn new(length: TlvLength, value: &TlvValue) -> SystemCapabilities<'_> {
[INFO] [stdout]    |                                                                      ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `get_value` is never used
[INFO] [stdout]   --> src/layer2/ethernet.rs:21:8
[INFO] [stdout]    |
[INFO] [stdout] 13 | impl EtherType {
[INFO] [stdout]    | -------------- associated function in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 21 |     fn get_value(t: EtherType) -> Result<u16, EtherType> {
[INFO] [stdout]    |        ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `vlan` is never read
[INFO] [stdout]   --> src/layer2/ethernet.rs:38:5
[INFO] [stdout]    |
[INFO] [stdout] 35 | pub struct Ethernet<'a> {
[INFO] [stdout]    |            -------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 38 |     vlan: Option<Vlan>,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `get_type` is never used
[INFO] [stdout]   --> src/tlv/mod.rs:35:8
[INFO] [stdout]    |
[INFO] [stdout] 34 | impl TlvType {
[INFO] [stdout]    | ------------ associated function in this implementation
[INFO] [stdout] 35 |     fn get_type(t: u8) -> TlvType {
[INFO] [stdout]    |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `management_string_length` is never read
[INFO] [stdout]   --> src/tlv/management_address/mod.rs:25:5
[INFO] [stdout]    |
[INFO] [stdout] 21 | pub struct ManagementAddressTLV<'a> {
[INFO] [stdout]    |            -------------------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 25 |     management_string_length: u8,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `ManagementAddressTLV` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]  --> src/tlv/system_capabilities/mod.rs:7:11
[INFO] [stdout]   |
[INFO] [stdout] 7 |     Other(bool),
[INFO] [stdout]   |     ----- ^^^^
[INFO] [stdout]   |     |
[INFO] [stdout]   |     field in this variant
[INFO] [stdout]   |
[INFO] [stdout]   = note: `Capabilities` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stdout]   |
[INFO] [stdout] 7 -     Other(bool),
[INFO] [stdout] 7 +     Other(()),
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]  --> src/tlv/system_capabilities/mod.rs:8:14
[INFO] [stdout]   |
[INFO] [stdout] 8 |     Repeater(bool),
[INFO] [stdout]   |     -------- ^^^^
[INFO] [stdout]   |     |
[INFO] [stdout]   |     field in this variant
[INFO] [stdout]   |
[INFO] [stdout]   = note: `Capabilities` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stdout]   |
[INFO] [stdout] 8 -     Repeater(bool),
[INFO] [stdout] 8 +     Repeater(()),
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]  --> src/tlv/system_capabilities/mod.rs:9:12
[INFO] [stdout]   |
[INFO] [stdout] 9 |     Bridge(bool),
[INFO] [stdout]   |     ------ ^^^^
[INFO] [stdout]   |     |
[INFO] [stdout]   |     field in this variant
[INFO] [stdout]   |
[INFO] [stdout]   = note: `Capabilities` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stdout]   |
[INFO] [stdout] 9 -     Bridge(bool),
[INFO] [stdout] 9 +     Bridge(()),
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]   --> src/tlv/system_capabilities/mod.rs:10:21
[INFO] [stdout]    |
[INFO] [stdout] 10 |     WLANAccessPoint(bool),
[INFO] [stdout]    |     --------------- ^^^^
[INFO] [stdout]    |     |
[INFO] [stdout]    |     field in this variant
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Capabilities` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stdout]    |
[INFO] [stdout] 10 -     WLANAccessPoint(bool),
[INFO] [stdout] 10 +     WLANAccessPoint(()),
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]   --> src/tlv/system_capabilities/mod.rs:11:12
[INFO] [stdout]    |
[INFO] [stdout] 11 |     Router(bool),
[INFO] [stdout]    |     ------ ^^^^
[INFO] [stdout]    |     |
[INFO] [stdout]    |     field in this variant
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Capabilities` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stdout]    |
[INFO] [stdout] 11 -     Router(bool),
[INFO] [stdout] 11 +     Router(()),
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]   --> src/tlv/system_capabilities/mod.rs:12:15
[INFO] [stdout]    |
[INFO] [stdout] 12 |     Telephone(bool),
[INFO] [stdout]    |     --------- ^^^^
[INFO] [stdout]    |     |
[INFO] [stdout]    |     field in this variant
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Capabilities` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stdout]    |
[INFO] [stdout] 12 -     Telephone(bool),
[INFO] [stdout] 12 +     Telephone(()),
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]   --> src/tlv/system_capabilities/mod.rs:13:12
[INFO] [stdout]    |
[INFO] [stdout] 13 |     DOCSIS(bool),
[INFO] [stdout]    |     ------ ^^^^
[INFO] [stdout]    |     |
[INFO] [stdout]    |     field in this variant
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Capabilities` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stdout]    |
[INFO] [stdout] 13 -     DOCSIS(bool),
[INFO] [stdout] 13 +     DOCSIS(()),
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]   --> src/tlv/system_capabilities/mod.rs:14:17
[INFO] [stdout]    |
[INFO] [stdout] 14 |     StationOnly(bool),
[INFO] [stdout]    |     ----------- ^^^^
[INFO] [stdout]    |     |
[INFO] [stdout]    |     field in this variant
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Capabilities` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stdout]    |
[INFO] [stdout] 14 -     StationOnly(bool),
[INFO] [stdout] 14 +     StationOnly(()),
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> src/layer2/ethernet.rs:44:19
[INFO] [stdout]    |
[INFO] [stdout] 44 | pub fn new(bytes: &[u8]) -> Ethernet {
[INFO] [stdout]    |                   ^^^^^     ^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]    |                   |
[INFO] [stdout]    |                   the lifetime is elided here
[INFO] [stdout]    |
[INFO] [stdout]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout]    = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]    |
[INFO] [stdout] 44 | pub fn new(bytes: &[u8]) -> Ethernet<'_> {
[INFO] [stdout]    |                                     ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing
[INFO] [stdout]   --> src/layer2/lldp.rs:15:36
[INFO] [stdout]    |
[INFO] [stdout] 15 |     pub fn new(bytes: &'a [u8]) -> LLDPU {
[INFO] [stdout]    |                        --          ^^^^^ the same lifetime is hidden here
[INFO] [stdout]    |                        |
[INFO] [stdout]    |                        the lifetime is named here
[INFO] [stdout]    |
[INFO] [stdout]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: consistently use `'a`
[INFO] [stdout]    |
[INFO] [stdout] 15 |     pub fn new(bytes: &'a [u8]) -> LLDPU<'a> {
[INFO] [stdout]    |                                         ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> src/tlv/port_id/mod.rs:15:38
[INFO] [stdout]    |
[INFO] [stdout] 15 | pub fn new(length: TlvLength, value: &TlvValue) -> PortTLV {
[INFO] [stdout]    |                                      ^^^^^^^^^     ^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]    |                                      |
[INFO] [stdout]    |                                      the lifetime is elided here
[INFO] [stdout]    |
[INFO] [stdout]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]    |
[INFO] [stdout] 15 | pub fn new(length: TlvLength, value: &TlvValue) -> PortTLV<'_> {
[INFO] [stdout]    |                                                           ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> src/tlv/ttl/mod.rs:13:38
[INFO] [stdout]    |
[INFO] [stdout] 13 | pub fn new(length: TlvLength, value: &TlvValue) -> TimeToLiveTLV {
[INFO] [stdout]    |                                      ^^^^^^^^^     ^^^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]    |                                      |
[INFO] [stdout]    |                                      the lifetime is elided here
[INFO] [stdout]    |
[INFO] [stdout]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]    |
[INFO] [stdout] 13 | pub fn new(length: TlvLength, value: &TlvValue) -> TimeToLiveTLV<'_> {
[INFO] [stdout]    |                                                                 ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> src/tlv/chassis_id/mod.rs:32:38
[INFO] [stdout]    |
[INFO] [stdout] 32 | pub fn new(length: TlvLength, value: & TlvValue) -> ChassisIdTLV {
[INFO] [stdout]    |                                      ^^^^^^^^^^     ^^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]    |                                      |
[INFO] [stdout]    |                                      the lifetime is elided here
[INFO] [stdout]    |
[INFO] [stdout]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]    |
[INFO] [stdout] 32 | pub fn new(length: TlvLength, value: & TlvValue) -> ChassisIdTLV<'_> {
[INFO] [stdout]    |                                                                 ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> src/tlv/port_description/mod.rs:12:38
[INFO] [stdout]    |
[INFO] [stdout] 12 | pub fn new(length: TlvLength, value: &TlvValue) -> PortDescriptionTLV {
[INFO] [stdout]    |                                      ^^^^^^^^^     ^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]    |                                      |
[INFO] [stdout]    |                                      the lifetime is elided here
[INFO] [stdout]    |
[INFO] [stdout]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]    |
[INFO] [stdout] 12 | pub fn new(length: TlvLength, value: &TlvValue) -> PortDescriptionTLV<'_> {
[INFO] [stdout]    |                                                                      ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> src/tlv/unknown/mod.rs:12:52
[INFO] [stdout]    |
[INFO] [stdout] 12 | pub fn new(tlv_type: u8, length: TlvLength, value: &TlvValue) -> UnknownTLV {
[INFO] [stdout]    |                                                    ^^^^^^^^^     ^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]    |                                                    |
[INFO] [stdout]    |                                                    the lifetime is elided here
[INFO] [stdout]    |
[INFO] [stdout]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]    |
[INFO] [stdout] 12 | pub fn new(tlv_type: u8, length: TlvLength, value: &TlvValue) -> UnknownTLV<'_> {
[INFO] [stdout]    |                                                                            ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> src/tlv/management_address/mod.rs:30:38
[INFO] [stdout]    |
[INFO] [stdout] 30 | pub fn new(length: TlvLength, value: &TlvValue) -> ManagementAddressTLV {
[INFO] [stdout]    |                                      ^^^^^^^^^     ^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]    |                                      |
[INFO] [stdout]    |                                      the lifetime is elided here
[INFO] [stdout]    |
[INFO] [stdout]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]    |
[INFO] [stdout] 30 | pub fn new(length: TlvLength, value: &TlvValue) -> ManagementAddressTLV<'_> {
[INFO] [stdout]    |                                                                        ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> src/tlv/system_name/mod.rs:12:38
[INFO] [stdout]    |
[INFO] [stdout] 12 | pub fn new(length: TlvLength, value: &TlvValue) -> SystemName {
[INFO] [stdout]    |                                      ^^^^^^^^^     ^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]    |                                      |
[INFO] [stdout]    |                                      the lifetime is elided here
[INFO] [stdout]    |
[INFO] [stdout]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]    |
[INFO] [stdout] 12 | pub fn new(length: TlvLength, value: &TlvValue) -> SystemName<'_> {
[INFO] [stdout]    |                                                              ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> src/tlv/system_description/mod.rs:12:38
[INFO] [stdout]    |
[INFO] [stdout] 12 | pub fn new(length: TlvLength, value: &TlvValue) -> SystemDescription {
[INFO] [stdout]    |                                      ^^^^^^^^^     ^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]    |                                      |
[INFO] [stdout]    |                                      the lifetime is elided here
[INFO] [stdout]    |
[INFO] [stdout]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]    |
[INFO] [stdout] 12 | pub fn new(length: TlvLength, value: &TlvValue) -> SystemDescription<'_> {
[INFO] [stdout]    |                                                                     ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> src/tlv/system_capabilities/mod.rs:32:38
[INFO] [stdout]    |
[INFO] [stdout] 32 | pub fn new(length: TlvLength, value: &TlvValue) -> SystemCapabilities {
[INFO] [stdout]    |                                      ^^^^^^^^^     ^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]    |                                      |
[INFO] [stdout]    |                                      the lifetime is elided here
[INFO] [stdout]    |
[INFO] [stdout]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]    |
[INFO] [stdout] 32 | pub fn new(length: TlvLength, value: &TlvValue) -> SystemCapabilities<'_> {
[INFO] [stdout]    |                                                                      ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.61s
[INFO] running `Command { std: "docker" "inspect" "5bcd310189c6648c04d2c4453f331af6f27be4dd3c27d51c157e93200834a755", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "5bcd310189c6648c04d2c4453f331af6f27be4dd3c27d51c157e93200834a755", kill_on_drop: false }`
[INFO] [stdout] 5bcd310189c6648c04d2c4453f331af6f27be4dd3c27d51c157e93200834a755
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 57c7f419927790548d5ad5f3a00bf7ada542940dbc5256c72a6b7a1d7c1e75c0
[INFO] running `Command { std: "docker" "start" "-a" "57c7f419927790548d5ad5f3a00bf7ada542940dbc5256c72a6b7a1d7c1e75c0", kill_on_drop: false }`
[INFO] [stderr] warning: associated function `get_value` is never used
[INFO] [stderr]   --> src/layer2/ethernet.rs:21:8
[INFO] [stderr]    |
[INFO] [stderr] 13 | impl EtherType {
[INFO] [stderr]    | -------------- associated function in this implementation
[INFO] [stderr] ...
[INFO] [stderr] 21 |     fn get_value(t: EtherType) -> Result<u16, EtherType> {
[INFO] [stderr]    |        ^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: field `vlan` is never read
[INFO] [stderr]   --> src/layer2/ethernet.rs:38:5
[INFO] [stderr]    |
[INFO] [stderr] 35 | pub struct Ethernet<'a> {
[INFO] [stderr]    |            -------- field in this struct
[INFO] [stderr] ...
[INFO] [stderr] 38 |     vlan: Option<Vlan>,
[INFO] [stderr]    |     ^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: associated function `get_type` is never used
[INFO] [stderr]   --> src/tlv/mod.rs:35:8
[INFO] [stderr]    |
[INFO] [stderr] 34 | impl TlvType {
[INFO] [stderr]    | ------------ associated function in this implementation
[INFO] [stderr] 35 |     fn get_type(t: u8) -> TlvType {
[INFO] [stderr]    |        ^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: field `management_string_length` is never read
[INFO] [stderr]   --> src/tlv/management_address/mod.rs:25:5
[INFO] [stderr]    |
[INFO] [stderr] 21 | pub struct ManagementAddressTLV<'a> {
[INFO] [stderr]    |            -------------------- field in this struct
[INFO] [stderr] ...
[INFO] [stderr] 25 |     management_string_length: u8,
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `ManagementAddressTLV` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stderr] 
[INFO] [stderr] warning: field `0` is never read
[INFO] [stderr]  --> src/tlv/system_capabilities/mod.rs:7:11
[INFO] [stderr]   |
[INFO] [stderr] 7 |     Other(bool),
[INFO] [stderr]   |     ----- ^^^^
[INFO] [stderr]   |     |
[INFO] [stderr]   |     field in this variant
[INFO] [stderr]   |
[INFO] [stderr]   = note: `Capabilities` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stderr] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stderr]   |
[INFO] [stderr] 7 -     Other(bool),
[INFO] [stderr] 7 +     Other(()),
[INFO] [stderr]   |
[INFO] [stderr] 
[INFO] [stderr] warning: field `0` is never read
[INFO] [stderr]  --> src/tlv/system_capabilities/mod.rs:8:14
[INFO] [stderr]   |
[INFO] [stderr] 8 |     Repeater(bool),
[INFO] [stderr]   |     -------- ^^^^
[INFO] [stderr]   |     |
[INFO] [stderr]   |     field in this variant
[INFO] [stderr]   |
[INFO] [stderr]   = note: `Capabilities` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stderr] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stderr]   |
[INFO] [stderr] 8 -     Repeater(bool),
[INFO] [stderr] 8 +     Repeater(()),
[INFO] [stderr]   |
[INFO] [stderr] 
[INFO] [stderr] warning: field `0` is never read
[INFO] [stderr]  --> src/tlv/system_capabilities/mod.rs:9:12
[INFO] [stderr]   |
[INFO] [stderr] 9 |     Bridge(bool),
[INFO] [stderr]   |     ------ ^^^^
[INFO] [stderr]   |     |
[INFO] [stderr]   |     field in this variant
[INFO] [stderr]   |
[INFO] [stderr]   = note: `Capabilities` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stderr] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stderr]   |
[INFO] [stderr] 9 -     Bridge(bool),
[INFO] [stderr] 9 +     Bridge(()),
[INFO] [stderr]   |
[INFO] [stderr] 
[INFO] [stderr] warning: field `0` is never read
[INFO] [stderr]   --> src/tlv/system_capabilities/mod.rs:10:21
[INFO] [stderr]    |
[INFO] [stderr] 10 |     WLANAccessPoint(bool),
[INFO] [stderr]    |     --------------- ^^^^
[INFO] [stderr]    |     |
[INFO] [stderr]    |     field in this variant
[INFO] [stderr]    |
[INFO] [stderr]    = note: `Capabilities` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stderr] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stderr]    |
[INFO] [stderr] 10 -     WLANAccessPoint(bool),
[INFO] [stderr] 10 +     WLANAccessPoint(()),
[INFO] [stderr]    |
[INFO] [stderr] 
[INFO] [stderr] warning: field `0` is never read
[INFO] [stderr]   --> src/tlv/system_capabilities/mod.rs:11:12
[INFO] [stderr]    |
[INFO] [stderr] 11 |     Router(bool),
[INFO] [stderr]    |     ------ ^^^^
[INFO] [stderr]    |     |
[INFO] [stderr]    |     field in this variant
[INFO] [stderr]    |
[INFO] [stderr]    = note: `Capabilities` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stderr] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stderr]    |
[INFO] [stderr] 11 -     Router(bool),
[INFO] [stderr] 11 +     Router(()),
[INFO] [stderr]    |
[INFO] [stderr] 
[INFO] [stderr] warning: field `0` is never read
[INFO] [stderr]   --> src/tlv/system_capabilities/mod.rs:12:15
[INFO] [stderr]    |
[INFO] [stderr] 12 |     Telephone(bool),
[INFO] [stderr]    |     --------- ^^^^
[INFO] [stderr]    |     |
[INFO] [stderr]    |     field in this variant
[INFO] [stderr]    |
[INFO] [stderr]    = note: `Capabilities` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stderr] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stderr]    |
[INFO] [stderr] 12 -     Telephone(bool),
[INFO] [stderr] 12 +     Telephone(()),
[INFO] [stderr]    |
[INFO] [stderr] 
[INFO] [stderr] warning: field `0` is never read
[INFO] [stderr]   --> src/tlv/system_capabilities/mod.rs:13:12
[INFO] [stderr]    |
[INFO] [stderr] 13 |     DOCSIS(bool),
[INFO] [stderr]    |     ------ ^^^^
[INFO] [stderr]    |     |
[INFO] [stderr]    |     field in this variant
[INFO] [stderr]    |
[INFO] [stderr]    = note: `Capabilities` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stderr] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stderr]    |
[INFO] [stderr] 13 -     DOCSIS(bool),
[INFO] [stderr] 13 +     DOCSIS(()),
[INFO] [stderr]    |
[INFO] [stderr] 
[INFO] [stderr] warning: field `0` is never read
[INFO] [stderr]   --> src/tlv/system_capabilities/mod.rs:14:17
[INFO] [stderr]    |
[INFO] [stderr] 14 |     StationOnly(bool),
[INFO] [stderr]    |     ----------- ^^^^
[INFO] [stderr]    |     |
[INFO] [stderr]    |     field in this variant
[INFO] [stderr]    |
[INFO] [stderr]    = note: `Capabilities` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stderr] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stderr]    |
[INFO] [stderr] 14 -     StationOnly(bool),
[INFO] [stderr] 14 +     StationOnly(()),
[INFO] [stderr]    |
[INFO] [stderr] 
[INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stderr]   --> src/layer2/ethernet.rs:44:19
[INFO] [stderr]    |
[INFO] [stderr] 44 | pub fn new(bytes: &[u8]) -> Ethernet {
[INFO] [stderr]    |                   ^^^^^     ^^^^^^^^ the same lifetime is hidden here
[INFO] [stderr]    |                   |
[INFO] [stderr]    |                   the lifetime is elided here
[INFO] [stderr]    |
[INFO] [stderr]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stderr]    = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stderr] help: use `'_` for type paths
[INFO] [stderr]    |
[INFO] [stderr] 44 | pub fn new(bytes: &[u8]) -> Ethernet<'_> {
[INFO] [stderr]    |                                     ++++
[INFO] [stderr] 
[INFO] [stderr] warning: hiding a lifetime that's named elsewhere is confusing
[INFO] [stderr]   --> src/layer2/lldp.rs:15:36
[INFO] [stderr]    |
[INFO] [stderr] 15 |     pub fn new(bytes: &'a [u8]) -> LLDPU {
[INFO] [stderr]    |                        --          ^^^^^ the same lifetime is hidden here
[INFO] [stderr]    |                        |
[INFO] [stderr]    |                        the lifetime is named here
[INFO] [stderr]    |
[INFO] [stderr]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stderr] help: consistently use `'a`
[INFO] [stderr]    |
[INFO] [stderr] 15 |     pub fn new(bytes: &'a [u8]) -> LLDPU<'a> {
[INFO] [stderr]    |                                         ++++
[INFO] [stderr] 
[INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stderr]   --> src/tlv/port_id/mod.rs:15:38
[INFO] [stderr]    |
[INFO] [stderr] 15 | pub fn new(length: TlvLength, value: &TlvValue) -> PortTLV {
[INFO] [stderr]    |                                      ^^^^^^^^^     ^^^^^^^ the same lifetime is hidden here
[INFO] [stderr]    |                                      |
[INFO] [stderr]    |                                      the lifetime is elided here
[INFO] [stderr]    |
[INFO] [stderr]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stderr] help: use `'_` for type paths
[INFO] [stderr]    |
[INFO] [stderr] 15 | pub fn new(length: TlvLength, value: &TlvValue) -> PortTLV<'_> {
[INFO] [stderr]    |                                                           ++++
[INFO] [stderr] 
[INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stderr]   --> src/tlv/ttl/mod.rs:13:38
[INFO] [stderr]    |
[INFO] [stderr] 13 | pub fn new(length: TlvLength, value: &TlvValue) -> TimeToLiveTLV {
[INFO] [stderr]    |                                      ^^^^^^^^^     ^^^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stderr]    |                                      |
[INFO] [stderr]    |                                      the lifetime is elided here
[INFO] [stderr]    |
[INFO] [stderr]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stderr] help: use `'_` for type paths
[INFO] [stderr]    |
[INFO] [stderr] 13 | pub fn new(length: TlvLength, value: &TlvValue) -> TimeToLiveTLV<'_> {
[INFO] [stderr]    |                                                                 ++++
[INFO] [stderr] 
[INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stderr]   --> src/tlv/chassis_id/mod.rs:32:38
[INFO] [stderr]    |
[INFO] [stderr] 32 | pub fn new(length: TlvLength, value: & TlvValue) -> ChassisIdTLV {
[INFO] [stderr]    |                                      ^^^^^^^^^^     ^^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stderr]    |                                      |
[INFO] [stderr]    |                                      the lifetime is elided here
[INFO] [stderr]    |
[INFO] [stderr]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stderr] help: use `'_` for type paths
[INFO] [stderr]    |
[INFO] [stderr] 32 | pub fn new(length: TlvLength, value: & TlvValue) -> ChassisIdTLV<'_> {
[INFO] [stderr]    |                                                                 ++++
[INFO] [stderr] 
[INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stderr]   --> src/tlv/port_description/mod.rs:12:38
[INFO] [stderr]    |
[INFO] [stderr] 12 | pub fn new(length: TlvLength, value: &TlvValue) -> PortDescriptionTLV {
[INFO] [stderr]    |                                      ^^^^^^^^^     ^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stderr]    |                                      |
[INFO] [stderr]    |                                      the lifetime is elided here
[INFO] [stderr]    |
[INFO] [stderr]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stderr] help: use `'_` for type paths
[INFO] [stderr]    |
[INFO] [stderr] 12 | pub fn new(length: TlvLength, value: &TlvValue) -> PortDescriptionTLV<'_> {
[INFO] [stderr]    |                                                                      ++++
[INFO] [stderr] 
[INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stderr]   --> src/tlv/unknown/mod.rs:12:52
[INFO] [stderr]    |
[INFO] [stderr] 12 | pub fn new(tlv_type: u8, length: TlvLength, value: &TlvValue) -> UnknownTLV {
[INFO] [stderr]    |                                                    ^^^^^^^^^     ^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stderr]    |                                                    |
[INFO] [stderr]    |                                                    the lifetime is elided here
[INFO] [stderr]    |
[INFO] [stderr]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stderr] help: use `'_` for type paths
[INFO] [stderr]    |
[INFO] [stderr] 12 | pub fn new(tlv_type: u8, length: TlvLength, value: &TlvValue) -> UnknownTLV<'_> {
[INFO] [stderr]    |                                                                            ++++
[INFO] [stderr] 
[INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stderr]   --> src/tlv/management_address/mod.rs:30:38
[INFO] [stderr]    |
[INFO] [stderr] 30 | pub fn new(length: TlvLength, value: &TlvValue) -> ManagementAddressTLV {
[INFO] [stderr]    |                                      ^^^^^^^^^     ^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stderr]    |                                      |
[INFO] [stderr]    |                                      the lifetime is elided here
[INFO] [stderr]    |
[INFO] [stderr]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stderr] help: use `'_` for type paths
[INFO] [stderr]    |
[INFO] [stderr] 30 | pub fn new(length: TlvLength, value: &TlvValue) -> ManagementAddressTLV<'_> {
[INFO] [stderr]    |                                                                        ++++
[INFO] [stderr] 
[INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stderr]   --> src/tlv/system_name/mod.rs:12:38
[INFO] [stderr]    |
[INFO] [stderr] 12 | pub fn new(length: TlvLength, value: &TlvValue) -> SystemName {
[INFO] [stderr]    |                                      ^^^^^^^^^     ^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stderr]    |                                      |
[INFO] [stderr]    |                                      the lifetime is elided here
[INFO] [stderr]    |
[INFO] [stderr]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stderr] help: use `'_` for type paths
[INFO] [stderr]    |
[INFO] [stderr] 12 | pub fn new(length: TlvLength, value: &TlvValue) -> SystemName<'_> {
[INFO] [stderr]    |                                                              ++++
[INFO] [stderr] 
[INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stderr]   --> src/tlv/system_description/mod.rs:12:38
[INFO] [stderr]    |
[INFO] [stderr] 12 | pub fn new(length: TlvLength, value: &TlvValue) -> SystemDescription {
[INFO] [stderr]    |                                      ^^^^^^^^^     ^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stderr]    |                                      |
[INFO] [stderr]    |                                      the lifetime is elided here
[INFO] [stderr]    |
[INFO] [stderr]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stderr] help: use `'_` for type paths
[INFO] [stderr]    |
[INFO] [stderr] 12 | pub fn new(length: TlvLength, value: &TlvValue) -> SystemDescription<'_> {
[INFO] [stderr]    |                                                                     ++++
[INFO] [stderr] 
[INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stderr]   --> src/tlv/system_capabilities/mod.rs:32:38
[INFO] [stderr]    |
[INFO] [stderr] 32 | pub fn new(length: TlvLength, value: &TlvValue) -> SystemCapabilities {
[INFO] [stderr]    |                                      ^^^^^^^^^     ^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stderr]    |                                      |
[INFO] [stderr]    |                                      the lifetime is elided here
[INFO] [stderr]    |
[INFO] [stderr]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stderr] help: use `'_` for type paths
[INFO] [stderr]    |
[INFO] [stderr] 32 | pub fn new(length: TlvLength, value: &TlvValue) -> SystemCapabilities<'_> {
[INFO] [stderr]    |                                                                      ++++
[INFO] [stderr] 
[INFO] [stderr] warning: `rust_lldp` (lib) generated 23 warnings (run `cargo fix --lib -p rust_lldp` to apply 11 suggestions)
[INFO] [stderr] warning: `rust_lldp` (lib test) generated 23 warnings (23 duplicates)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.23s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/rust_lldp-8c0bb82aab786c6d)
[INFO] [stdout] 
[INFO] [stdout] running 1 test
[INFO] [stdout] test tests::it_works ... ok
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] [stderr]    Doc-tests rust_lldp
[INFO] [stdout] 
[INFO] [stdout] running 0 tests
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] running `Command { std: "docker" "inspect" "57c7f419927790548d5ad5f3a00bf7ada542940dbc5256c72a6b7a1d7c1e75c0", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "57c7f419927790548d5ad5f3a00bf7ada542940dbc5256c72a6b7a1d7c1e75c0", kill_on_drop: false }`
[INFO] [stdout] 57c7f419927790548d5ad5f3a00bf7ada542940dbc5256c72a6b7a1d7c1e75c0
