[INFO] fetching crate ethox 0.0.2... [INFO] testing ethox-0.0.2 against try#dec9417b8611e34e787a3e4c37686b5131f9e5c5 for pr-154210-1 [INFO] extracting crate ethox 0.0.2 into /workspace/builds/worker-6-tc2/source [INFO] started tweaking crates.io crate ethox 0.0.2 [INFO] removed 0 missing examples [INFO] finished tweaking crates.io crate ethox 0.0.2 [INFO] tweaked toml for crates.io crate ethox 0.0.2 written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate ethox 0.0.2 on toolchain dec9417b8611e34e787a3e4c37686b5131f9e5c5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate ethox 0.0.2 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" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 41b3ea3649f9d29cbf85b90a523a1352c0ddbc95c74c7cf822a1084dbe5a3043 [INFO] running `Command { std: "docker" "start" "-a" "41b3ea3649f9d29cbf85b90a523a1352c0ddbc95c74c7cf822a1084dbe5a3043", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "41b3ea3649f9d29cbf85b90a523a1352c0ddbc95c74c7cf822a1084dbe5a3043", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "41b3ea3649f9d29cbf85b90a523a1352c0ddbc95c74c7cf822a1084dbe5a3043", kill_on_drop: false }` [INFO] [stdout] 41b3ea3649f9d29cbf85b90a523a1352c0ddbc95c74c7cf822a1084dbe5a3043 [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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 41c5c2115b3e90009116d754437c8c9d813107b48d617427528130cd8247e8bb [INFO] running `Command { std: "docker" "start" "-a" "41c5c2115b3e90009116d754437c8c9d813107b48d617427528130cd8247e8bb", kill_on_drop: false }` [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling ethox v0.0.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition value: `log` [INFO] [stdout] --> src/macros.rs:154:11 [INFO] [stdout] | [INFO] [stdout] 154 | #[cfg(all(feature = "log", DISABLED))] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `alloc`, `default`, `libc`, `std`, and `sys` [INFO] [stdout] = help: consider adding `log` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `DISABLED` [INFO] [stdout] --> src/macros.rs:154:28 [INFO] [stdout] | [INFO] [stdout] 154 | #[cfg(all(feature = "log", DISABLED))] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `docsrs`, `feature`, and `test` and 31 more [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(DISABLED)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(DISABLED)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `log` [INFO] [stdout] --> src/macros.rs:163:15 [INFO] [stdout] | [INFO] [stdout] 163 | #[cfg(not(all(feature = "log", DISABLED)))] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `alloc`, `default`, `libc`, `std`, and `sys` [INFO] [stdout] = help: consider adding `log` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `DISABLED` [INFO] [stdout] --> src/macros.rs:163:32 [INFO] [stdout] | [INFO] [stdout] 163 | #[cfg(not(all(feature = "log", DISABLED)))] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(DISABLED)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(DISABLED)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `proto-dhcpv4` [INFO] [stdout] --> src/wire/mod.rs:353:7 [INFO] [stdout] | [INFO] [stdout] 353 | #[cfg(feature = "proto-dhcpv4")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `alloc`, `default`, `libc`, `std`, and `sys` [INFO] [stdout] = help: consider adding `proto-dhcpv4` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `fuzzing` [INFO] [stdout] --> src/wire/./ipv4.rs:622:17 [INFO] [stdout] | [INFO] [stdout] 622 | if cfg!(fuzzing) { return true } [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(fuzzing)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(fuzzing)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `fuzzing` [INFO] [stdout] --> src/wire/./icmpv4.rs:298:17 [INFO] [stdout] | [INFO] [stdout] 298 | if cfg!(fuzzing) { return true } [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(fuzzing)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(fuzzing)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `fuzzing` [INFO] [stdout] --> src/wire/./udp.rs:168:17 [INFO] [stdout] | [INFO] [stdout] 168 | if cfg!(fuzzing) { return true } [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(fuzzing)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(fuzzing)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `fuzzing` [INFO] [stdout] --> src/wire/./tcp.rs:286:17 [INFO] [stdout] | [INFO] [stdout] 286 | if cfg!(fuzzing) { return true } [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(fuzzing)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(fuzzing)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> src/wire/./tcp.rs:1013:13 [INFO] [stdout] | [INFO] [stdout] 1013 | (self.flags.syn() | self.flags.fin() | self.flags.rst()) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 1013 - (self.flags.syn() | self.flags.fin() | self.flags.rst()) [INFO] [stdout] 1013 + self.flags.syn() | self.flags.fin() | self.flags.rst() [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unknown `doc` attribute `shown` [INFO] [stdout] --> src/macros.rs:32:42 [INFO] [stdout] | [INFO] [stdout] 32 | $($(#[$val_attr])* #[doc(shown)] $variant = $value ),+ [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/wire/./ethernet.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | / enum_with_unknown! { [INFO] [stdout] 9 | | /// Ethernet protocol type. [INFO] [stdout] 10 | | pub enum EtherType(u16) { [INFO] [stdout] 11 | | Ipv4 = 0x0800, [INFO] [stdout] ... | [INFO] [stdout] 16 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(invalid_doc_attributes)]` on by default [INFO] [stdout] = note: this warning originates in the macro `enum_with_unknown` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unknown `doc` attribute `shown` [INFO] [stdout] --> src/macros.rs:32:42 [INFO] [stdout] | [INFO] [stdout] 32 | $($(#[$val_attr])* #[doc(shown)] $variant = $value ),+ [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/wire/./arp.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | / enum_with_unknown! { [INFO] [stdout] 12 | | /// ARP hardware type. [INFO] [stdout] 13 | | pub enum Hardware(u16) { [INFO] [stdout] 14 | | Ethernet = 1 [INFO] [stdout] 15 | | } [INFO] [stdout] 16 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `enum_with_unknown` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unknown `doc` attribute `shown` [INFO] [stdout] --> src/macros.rs:32:42 [INFO] [stdout] | [INFO] [stdout] 32 | $($(#[$val_attr])* #[doc(shown)] $variant = $value ),+ [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/wire/./arp.rs:18:1 [INFO] [stdout] | [INFO] [stdout] 18 | / enum_with_unknown! { [INFO] [stdout] 19 | | /// ARP operation type. [INFO] [stdout] 20 | | pub enum Operation(u16) { [INFO] [stdout] 21 | | Request = 1, [INFO] [stdout] ... | [INFO] [stdout] 24 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `enum_with_unknown` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unknown `doc` attribute `shown` [INFO] [stdout] --> src/macros.rs:32:42 [INFO] [stdout] | [INFO] [stdout] 32 | $($(#[$val_attr])* #[doc(shown)] $variant = $value ),+ [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/wire/./ip.rs:57:1 [INFO] [stdout] | [INFO] [stdout] 57 | / enum_with_unknown! { [INFO] [stdout] 58 | | /// IP datagram encapsulated protocol. [INFO] [stdout] 59 | | pub enum Protocol(u8) { [INFO] [stdout] 60 | | HopByHop = 0x00, [INFO] [stdout] ... | [INFO] [stdout] 71 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `enum_with_unknown` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unknown `doc` attribute `shown` [INFO] [stdout] --> src/macros.rs:32:42 [INFO] [stdout] | [INFO] [stdout] 32 | $($(#[$val_attr])* #[doc(shown)] $variant = $value ),+ [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/wire/./ipv6.rs:31:1 [INFO] [stdout] | [INFO] [stdout] 31 | / enum_with_unknown! { [INFO] [stdout] 32 | | /// IPv6 multicast scope. [INFO] [stdout] 33 | | pub enum Scope(u8) { [INFO] [stdout] 34 | | /// The address is valid for the interface alone. [INFO] [stdout] ... | [INFO] [stdout] 49 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `enum_with_unknown` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `silent_until` is never read [INFO] [stdout] --> src/layer/arp/neighbor.rs:109:5 [INFO] [stdout] | [INFO] [stdout] 107 | pub struct Cache<'a> { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 108 | storage: Ordered<'a, Neighbor>, [INFO] [stdout] 109 | silent_until: Instant, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Cache` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/nic/loopback.rs:51:18 [INFO] [stdout] | [INFO] [stdout] 51 | fn next_recv(&mut self) -> Option<(AckRecv, &mut C)> { [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^ ^^^^^^ the same lifetime is elided here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is hidden here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 51 | fn next_recv(&mut self) -> Option<(AckRecv<'_>, &mut C)> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/nic/loopback.rs:62:18 [INFO] [stdout] | [INFO] [stdout] 62 | fn next_send(&mut self) -> Option<(AckSend, &mut C)> { [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^ ^^^^^^ the same lifetime is elided here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is hidden here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 62 | fn next_send(&mut self) -> Option<(AckSend<'_>, &mut C)> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/layer/arp/neighbor.rs:311:20 [INFO] [stdout] | [INFO] [stdout] 311 | pub fn missing(&self) -> Missing { [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] 311 | pub fn missing(&self) -> Missing<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/layer/arp/packet.rs:64:23 [INFO] [stdout] | [INFO] [stdout] 64 | pub fn borrow_mut(&mut self) -> Controller { [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] 64 | pub fn borrow_mut(&mut self) -> Controller<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/layer/eth/packet.rs:78:23 [INFO] [stdout] | [INFO] [stdout] 78 | pub fn borrow_mut(&mut self) -> Controller { [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] 78 | pub fn borrow_mut(&mut self) -> Controller<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/layer/icmp/endpoint.rs:104:19 [INFO] [stdout] | [INFO] [stdout] 104 | pub fn answer(&mut self) -> Receiver { [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] 104 | pub fn answer(&mut self) -> Receiver<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/layer/icmp/endpoint.rs:109:20 [INFO] [stdout] | [INFO] [stdout] 109 | pub fn recv(&mut self, handler: H) -> Receiver { [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] 109 | pub fn recv(&mut self, handler: H) -> Receiver<'_, H> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/layer/icmp/endpoint.rs:114:25 [INFO] [stdout] | [INFO] [stdout] 114 | pub fn recv_with(&mut self, handler: H) -> Receiver> { [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] 114 | pub fn recv_with(&mut self, handler: H) -> Receiver<'_, FnHandler> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/layer/icmp/endpoint.rs:119:20 [INFO] [stdout] | [INFO] [stdout] 119 | pub fn send(&mut self, handler: H) -> Sender { [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] 119 | pub fn send(&mut self, handler: H) -> Sender<'_, H> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/layer/icmp/endpoint.rs:124:25 [INFO] [stdout] | [INFO] [stdout] 124 | pub fn send_with(&mut self, handler: H) -> Sender> { [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] 124 | pub fn send_with(&mut self, handler: H) -> Sender<'_, FnHandler> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/layer/icmp/endpoint.rs:130:16 [INFO] [stdout] | [INFO] [stdout] 130 | fn get_mut(&mut self) -> EndpointRef { [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] 130 | fn get_mut(&mut self) -> EndpointRef<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/layer/icmp/packet.rs:80:23 [INFO] [stdout] | [INFO] [stdout] 80 | pub fn borrow_mut(&mut self) -> Controller { [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] 80 | pub fn borrow_mut(&mut self) -> Controller<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/layer/ip/packet.rs:130:23 [INFO] [stdout] | [INFO] [stdout] 130 | pub fn borrow_mut(&mut self) -> Controller { [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] 130 | pub fn borrow_mut(&mut self) -> Controller<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a method [INFO] [stdout] --> src/layer/ip/packet.rs:267:5 [INFO] [stdout] | [INFO] [stdout] 267 | pub fn control(&self) -> &Controller<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/lib.rs:59:9 [INFO] [stdout] | [INFO] [stdout] 59 | #![warn(missing_docs)] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/layer/loss/mod.rs:77:21 [INFO] [stdout] | [INFO] [stdout] 77 | pub fn lossy(&mut self, layer: I) -> Lossy { [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] 77 | pub fn lossy(&mut self, layer: I) -> Lossy<'_, I> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/layer/udp/packet.rs:86:23 [INFO] [stdout] | [INFO] [stdout] 86 | pub fn borrow_mut(&mut self) -> Controller { [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] 86 | pub fn borrow_mut(&mut self) -> Controller<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/layer/tcp/connection.rs:362:14 [INFO] [stdout] | [INFO] [stdout] 362 | fn entry(&mut self, index: SlotKey) -> Option; [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] 362 | fn entry(&mut self, index: SlotKey) -> Option>; [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/layer/tcp/connection.rs:366:19 [INFO] [stdout] | [INFO] [stdout] 366 | fn find_tuple(&mut self, tuple: FourTuple) -> Option; [INFO] [stdout] | ^^^^^^^^^ the lifetime is elided here ^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 366 | fn find_tuple(&mut self, tuple: FourTuple) -> Option>; [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/layer/tcp/connection.rs:1325:14 [INFO] [stdout] | [INFO] [stdout] 1325 | fn entry(&mut self) -> Entry { [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] 1325 | fn entry(&mut self) -> Entry<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/layer/tcp/endpoint.rs:163:25 [INFO] [stdout] | [INFO] [stdout] 163 | pub(crate) fn entry(&mut self, index: SlotKey) [INFO] [stdout] | ^^^^^^^^^ the lifetime is elided here [INFO] [stdout] 164 | -> Option [INFO] [stdout] | ^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 164 | -> Option> [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/layer/tcp/endpoint.rs:185:36 [INFO] [stdout] | [INFO] [stdout] 185 | pub(crate) fn entry_from_tuple(&mut self, tuple: FourTuple) [INFO] [stdout] | ^^^^^^^^^ the lifetime is elided here [INFO] [stdout] 186 | -> Option [INFO] [stdout] | ^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 186 | -> Option> [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/layer/tcp/endpoint.rs:440:14 [INFO] [stdout] | [INFO] [stdout] 440 | fn entry(&mut self, index: SlotKey) -> Option { [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] 440 | fn entry(&mut self, index: SlotKey) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/layer/tcp/endpoint.rs:444:19 [INFO] [stdout] | [INFO] [stdout] 444 | fn find_tuple(&mut self, tuple: FourTuple) -> Option { [INFO] [stdout] | ^^^^^^^^^ the lifetime is elided here ^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 444 | fn find_tuple(&mut self, tuple: FourTuple) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/managed/phantom_alloc/phantom_btree.rs:84:18 [INFO] [stdout] | [INFO] [stdout] 84 | pub fn entry(&mut self, key: K) -> Entry { [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] 84 | pub fn entry(&mut self, key: K) -> Entry<'_, K, V> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/wire/./ipv6hopbyhop.rs:193:20 [INFO] [stdout] | [INFO] [stdout] 193 | pub fn options(&self) -> Ipv6OptionsIterator { [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] 193 | pub fn options(&self) -> Ipv6OptionsIterator<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `core::mem::replace` that must be used [INFO] [stdout] --> src/wire/payload.rs:276:9 [INFO] [stdout] | [INFO] [stdout] 276 | core::mem::replace(self, inner); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: if you don't need the old value, you can just assign the new value directly [INFO] [stdout] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 276 | let _ = core::mem::replace(self, inner); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 3.43s [INFO] running `Command { std: "docker" "inspect" "41c5c2115b3e90009116d754437c8c9d813107b48d617427528130cd8247e8bb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "41c5c2115b3e90009116d754437c8c9d813107b48d617427528130cd8247e8bb", kill_on_drop: false }` [INFO] [stdout] 41c5c2115b3e90009116d754437c8c9d813107b48d617427528130cd8247e8bb [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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5240ca1602611f2d9afd6e83228164582e5164f4e3f525bd9b3d719ab47b580f [INFO] running `Command { std: "docker" "start" "-a" "5240ca1602611f2d9afd6e83228164582e5164f4e3f525bd9b3d719ab47b580f", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stdout] warning: unexpected `cfg` condition value: `log` [INFO] [stdout] --> src/macros.rs:154:11 [INFO] [stdout] | [INFO] [stdout] 154 | #[cfg(all(feature = "log", DISABLED))] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `alloc`, `default`, `libc`, `std`, and `sys` [INFO] [stdout] = help: consider adding `log` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `DISABLED` [INFO] [stdout] --> src/macros.rs:154:28 [INFO] [stdout] | [INFO] [stdout] 154 | #[cfg(all(feature = "log", DISABLED))] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `docsrs`, `feature`, and `test` and 31 more [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(DISABLED)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(DISABLED)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `log` [INFO] [stdout] --> src/macros.rs:163:15 [INFO] [stdout] | [INFO] [stdout] 163 | #[cfg(not(all(feature = "log", DISABLED)))] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `alloc`, `default`, `libc`, `std`, and `sys` [INFO] [stdout] = help: consider adding `log` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `DISABLED` [INFO] [stdout] --> src/macros.rs:163:32 [INFO] [stdout] | [INFO] [stdout] 163 | #[cfg(not(all(feature = "log", DISABLED)))] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(DISABLED)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(DISABLED)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `proto-dhcpv4` [INFO] [stdout] --> src/wire/mod.rs:353:7 [INFO] [stdout] | [INFO] [stdout] 353 | #[cfg(feature = "proto-dhcpv4")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `alloc`, `default`, `libc`, `std`, and `sys` [INFO] [stdout] = help: consider adding `proto-dhcpv4` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `fuzzing` [INFO] [stdout] --> src/wire/./ipv4.rs:622:17 [INFO] [stdout] | [INFO] [stdout] 622 | if cfg!(fuzzing) { return true } [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(fuzzing)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(fuzzing)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `fuzzing` [INFO] [stdout] --> src/wire/./icmpv4.rs:298:17 [INFO] [stdout] | [INFO] [stdout] 298 | if cfg!(fuzzing) { return true } [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(fuzzing)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(fuzzing)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `fuzzing` [INFO] [stdout] --> src/wire/./udp.rs:168:17 [INFO] [stdout] | [INFO] [stdout] 168 | if cfg!(fuzzing) { return true } [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(fuzzing)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(fuzzing)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `fuzzing` [INFO] [stdout] --> src/wire/./tcp.rs:286:17 [INFO] [stdout] | [INFO] [stdout] 286 | if cfg!(fuzzing) { return true } [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(fuzzing)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(fuzzing)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> src/wire/./tcp.rs:1013:13 [INFO] [stdout] | [INFO] [stdout] 1013 | (self.flags.syn() | self.flags.fin() | self.flags.rst()) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 1013 - (self.flags.syn() | self.flags.fin() | self.flags.rst()) [INFO] [stdout] 1013 + self.flags.syn() | self.flags.fin() | self.flags.rst() [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unknown `doc` attribute `shown` [INFO] [stdout] --> src/macros.rs:32:42 [INFO] [stdout] | [INFO] [stdout] 32 | $($(#[$val_attr])* #[doc(shown)] $variant = $value ),+ [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/wire/./ethernet.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | / enum_with_unknown! { [INFO] [stdout] 9 | | /// Ethernet protocol type. [INFO] [stdout] 10 | | pub enum EtherType(u16) { [INFO] [stdout] 11 | | Ipv4 = 0x0800, [INFO] [stdout] ... | [INFO] [stdout] 16 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(invalid_doc_attributes)]` on by default [INFO] [stdout] = note: this warning originates in the macro `enum_with_unknown` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unknown `doc` attribute `shown` [INFO] [stdout] --> src/macros.rs:32:42 [INFO] [stdout] | [INFO] [stdout] 32 | $($(#[$val_attr])* #[doc(shown)] $variant = $value ),+ [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/wire/./arp.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | / enum_with_unknown! { [INFO] [stdout] 12 | | /// ARP hardware type. [INFO] [stdout] 13 | | pub enum Hardware(u16) { [INFO] [stdout] 14 | | Ethernet = 1 [INFO] [stdout] 15 | | } [INFO] [stdout] 16 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `enum_with_unknown` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unknown `doc` attribute `shown` [INFO] [stdout] --> src/macros.rs:32:42 [INFO] [stdout] | [INFO] [stdout] 32 | $($(#[$val_attr])* #[doc(shown)] $variant = $value ),+ [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/wire/./arp.rs:18:1 [INFO] [stdout] | [INFO] [stdout] 18 | / enum_with_unknown! { [INFO] [stdout] 19 | | /// ARP operation type. [INFO] [stdout] 20 | | pub enum Operation(u16) { [INFO] [stdout] 21 | | Request = 1, [INFO] [stdout] ... | [INFO] [stdout] 24 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `enum_with_unknown` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unknown `doc` attribute `shown` [INFO] [stdout] --> src/macros.rs:32:42 [INFO] [stdout] | [INFO] [stdout] 32 | $($(#[$val_attr])* #[doc(shown)] $variant = $value ),+ [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/wire/./ip.rs:57:1 [INFO] [stdout] | [INFO] [stdout] 57 | / enum_with_unknown! { [INFO] [stdout] 58 | | /// IP datagram encapsulated protocol. [INFO] [stdout] 59 | | pub enum Protocol(u8) { [INFO] [stdout] 60 | | HopByHop = 0x00, [INFO] [stdout] ... | [INFO] [stdout] 71 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `enum_with_unknown` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unknown `doc` attribute `shown` [INFO] [stdout] --> src/macros.rs:32:42 [INFO] [stdout] | [INFO] [stdout] 32 | $($(#[$val_attr])* #[doc(shown)] $variant = $value ),+ [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/wire/./ipv6.rs:31:1 [INFO] [stdout] | [INFO] [stdout] 31 | / enum_with_unknown! { [INFO] [stdout] 32 | | /// IPv6 multicast scope. [INFO] [stdout] 33 | | pub enum Scope(u8) { [INFO] [stdout] 34 | | /// The address is valid for the interface alone. [INFO] [stdout] ... | [INFO] [stdout] 49 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `enum_with_unknown` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `silent_until` is never read [INFO] [stdout] --> src/layer/arp/neighbor.rs:109:5 [INFO] [stdout] | [INFO] [stdout] 107 | pub struct Cache<'a> { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 108 | storage: Ordered<'a, Neighbor>, [INFO] [stdout] 109 | silent_until: Instant, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Cache` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/nic/loopback.rs:51:18 [INFO] [stdout] | [INFO] [stdout] 51 | fn next_recv(&mut self) -> Option<(AckRecv, &mut C)> { [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^ ^^^^^^ the same lifetime is elided here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is hidden here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 51 | fn next_recv(&mut self) -> Option<(AckRecv<'_>, &mut C)> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/nic/loopback.rs:62:18 [INFO] [stdout] | [INFO] [stdout] 62 | fn next_send(&mut self) -> Option<(AckSend, &mut C)> { [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^ ^^^^^^ the same lifetime is elided here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is hidden here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 62 | fn next_send(&mut self) -> Option<(AckSend<'_>, &mut C)> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/layer/arp/neighbor.rs:311:20 [INFO] [stdout] | [INFO] [stdout] 311 | pub fn missing(&self) -> Missing { [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] 311 | pub fn missing(&self) -> Missing<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/layer/arp/packet.rs:64:23 [INFO] [stdout] | [INFO] [stdout] 64 | pub fn borrow_mut(&mut self) -> Controller { [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] 64 | pub fn borrow_mut(&mut self) -> Controller<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling unicode-segmentation v1.6.0 [INFO] [stderr] Compiling unicode-width v0.1.7 [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/layer/eth/packet.rs:78:23 [INFO] [stdout] | [INFO] [stdout] 78 | pub fn borrow_mut(&mut self) -> Controller { [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] 78 | pub fn borrow_mut(&mut self) -> Controller<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/layer/icmp/endpoint.rs:104:19 [INFO] [stdout] | [INFO] [stdout] 104 | pub fn answer(&mut self) -> Receiver { [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] 104 | pub fn answer(&mut self) -> Receiver<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/layer/icmp/endpoint.rs:109:20 [INFO] [stdout] | [INFO] [stdout] 109 | pub fn recv(&mut self, handler: H) -> Receiver { [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] 109 | pub fn recv(&mut self, handler: H) -> Receiver<'_, H> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/layer/icmp/endpoint.rs:114:25 [INFO] [stdout] | [INFO] [stdout] 114 | pub fn recv_with(&mut self, handler: H) -> Receiver> { [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] 114 | pub fn recv_with(&mut self, handler: H) -> Receiver<'_, FnHandler> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/layer/icmp/endpoint.rs:119:20 [INFO] [stdout] | [INFO] [stdout] 119 | pub fn send(&mut self, handler: H) -> Sender { [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] 119 | pub fn send(&mut self, handler: H) -> Sender<'_, H> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/layer/icmp/endpoint.rs:124:25 [INFO] [stdout] | [INFO] [stdout] 124 | pub fn send_with(&mut self, handler: H) -> Sender> { [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] 124 | pub fn send_with(&mut self, handler: H) -> Sender<'_, FnHandler> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/layer/icmp/endpoint.rs:130:16 [INFO] [stdout] | [INFO] [stdout] 130 | fn get_mut(&mut self) -> EndpointRef { [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] 130 | fn get_mut(&mut self) -> EndpointRef<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/layer/icmp/packet.rs:80:23 [INFO] [stdout] | [INFO] [stdout] 80 | pub fn borrow_mut(&mut self) -> Controller { [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] 80 | pub fn borrow_mut(&mut self) -> Controller<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/layer/ip/packet.rs:130:23 [INFO] [stdout] | [INFO] [stdout] 130 | pub fn borrow_mut(&mut self) -> Controller { [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] 130 | pub fn borrow_mut(&mut self) -> Controller<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a method [INFO] [stdout] --> src/layer/ip/packet.rs:267:5 [INFO] [stdout] | [INFO] [stdout] 267 | pub fn control(&self) -> &Controller<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/lib.rs:59:9 [INFO] [stdout] | [INFO] [stdout] 59 | #![warn(missing_docs)] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/layer/loss/mod.rs:77:21 [INFO] [stdout] | [INFO] [stdout] 77 | pub fn lossy(&mut self, layer: I) -> Lossy { [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] 77 | pub fn lossy(&mut self, layer: I) -> Lossy<'_, I> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/layer/udp/packet.rs:86:23 [INFO] [stdout] | [INFO] [stdout] 86 | pub fn borrow_mut(&mut self) -> Controller { [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] 86 | pub fn borrow_mut(&mut self) -> Controller<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/layer/tcp/connection.rs:362:14 [INFO] [stdout] | [INFO] [stdout] 362 | fn entry(&mut self, index: SlotKey) -> Option; [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] 362 | fn entry(&mut self, index: SlotKey) -> Option>; [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/layer/tcp/connection.rs:366:19 [INFO] [stdout] | [INFO] [stdout] 366 | fn find_tuple(&mut self, tuple: FourTuple) -> Option; [INFO] [stdout] | ^^^^^^^^^ the lifetime is elided here ^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 366 | fn find_tuple(&mut self, tuple: FourTuple) -> Option>; [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/layer/tcp/connection.rs:1325:14 [INFO] [stdout] | [INFO] [stdout] 1325 | fn entry(&mut self) -> Entry { [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] 1325 | fn entry(&mut self) -> Entry<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/layer/tcp/endpoint.rs:163:25 [INFO] [stdout] | [INFO] [stdout] 163 | pub(crate) fn entry(&mut self, index: SlotKey) [INFO] [stdout] | ^^^^^^^^^ the lifetime is elided here [INFO] [stdout] 164 | -> Option [INFO] [stdout] | ^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 164 | -> Option> [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/layer/tcp/endpoint.rs:185:36 [INFO] [stdout] | [INFO] [stdout] 185 | pub(crate) fn entry_from_tuple(&mut self, tuple: FourTuple) [INFO] [stdout] | ^^^^^^^^^ the lifetime is elided here [INFO] [stdout] 186 | -> Option [INFO] [stdout] | ^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 186 | -> Option> [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/layer/tcp/endpoint.rs:440:14 [INFO] [stdout] | [INFO] [stdout] 440 | fn entry(&mut self, index: SlotKey) -> Option { [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] 440 | fn entry(&mut self, index: SlotKey) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/layer/tcp/endpoint.rs:444:19 [INFO] [stdout] | [INFO] [stdout] 444 | fn find_tuple(&mut self, tuple: FourTuple) -> Option { [INFO] [stdout] | ^^^^^^^^^ the lifetime is elided here ^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 444 | fn find_tuple(&mut self, tuple: FourTuple) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/managed/phantom_alloc/phantom_btree.rs:84:18 [INFO] [stdout] | [INFO] [stdout] 84 | pub fn entry(&mut self, key: K) -> Entry { [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] 84 | pub fn entry(&mut self, key: K) -> Entry<'_, K, V> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/wire/./ipv6hopbyhop.rs:193:20 [INFO] [stdout] | [INFO] [stdout] 193 | pub fn options(&self) -> Ipv6OptionsIterator { [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] 193 | pub fn options(&self) -> Ipv6OptionsIterator<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `core::mem::replace` that must be used [INFO] [stdout] --> src/wire/payload.rs:276:9 [INFO] [stdout] | [INFO] [stdout] 276 | core::mem::replace(self, inner); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: if you don't need the old value, you can just assign the new value directly [INFO] [stdout] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 276 | let _ = core::mem::replace(self, inner); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling clap v2.33.0 [INFO] [stderr] Compiling heck v0.3.1 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Compiling structopt-derive v0.2.18 [INFO] [stderr] Compiling structopt v0.2.18 [INFO] [stderr] Compiling ethox v0.0.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition value: `log` [INFO] [stdout] --> src/macros.rs:154:11 [INFO] [stdout] | [INFO] [stdout] 154 | #[cfg(all(feature = "log", DISABLED))] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `alloc`, `default`, `libc`, `std`, and `sys` [INFO] [stdout] = help: consider adding `log` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `DISABLED` [INFO] [stdout] --> src/macros.rs:154:28 [INFO] [stdout] | [INFO] [stdout] 154 | #[cfg(all(feature = "log", DISABLED))] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `docsrs`, `feature`, and `test` and 31 more [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(DISABLED)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(DISABLED)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `log` [INFO] [stdout] --> src/macros.rs:163:15 [INFO] [stdout] | [INFO] [stdout] 163 | #[cfg(not(all(feature = "log", DISABLED)))] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `alloc`, `default`, `libc`, `std`, and `sys` [INFO] [stdout] = help: consider adding `log` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `DISABLED` [INFO] [stdout] --> src/macros.rs:163:32 [INFO] [stdout] | [INFO] [stdout] 163 | #[cfg(not(all(feature = "log", DISABLED)))] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(DISABLED)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(DISABLED)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `proto-dhcpv4` [INFO] [stdout] --> src/wire/mod.rs:353:7 [INFO] [stdout] | [INFO] [stdout] 353 | #[cfg(feature = "proto-dhcpv4")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `alloc`, `default`, `libc`, `std`, and `sys` [INFO] [stdout] = help: consider adding `proto-dhcpv4` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `fuzzing` [INFO] [stdout] --> src/wire/./ipv4.rs:622:17 [INFO] [stdout] | [INFO] [stdout] 622 | if cfg!(fuzzing) { return true } [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(fuzzing)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(fuzzing)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `proto-ipv4` [INFO] [stdout] --> src/wire/./ipv6.rs:999:15 [INFO] [stdout] | [INFO] [stdout] 999 | #[cfg(feature = "proto-ipv4")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `alloc`, `default`, `libc`, `std`, and `sys` [INFO] [stdout] = help: consider adding `proto-ipv4` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `fuzzing` [INFO] [stdout] --> src/wire/./icmpv4.rs:298:17 [INFO] [stdout] | [INFO] [stdout] 298 | if cfg!(fuzzing) { return true } [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(fuzzing)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(fuzzing)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `fuzzing` [INFO] [stdout] --> src/wire/./udp.rs:168:17 [INFO] [stdout] | [INFO] [stdout] 168 | if cfg!(fuzzing) { return true } [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(fuzzing)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(fuzzing)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `fuzzing` [INFO] [stdout] --> src/wire/./tcp.rs:286:17 [INFO] [stdout] | [INFO] [stdout] 286 | if cfg!(fuzzing) { return true } [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(fuzzing)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(fuzzing)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> src/wire/./tcp.rs:1013:13 [INFO] [stdout] | [INFO] [stdout] 1013 | (self.flags.syn() | self.flags.fin() | self.flags.rst()) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 1013 - (self.flags.syn() | self.flags.fin() | self.flags.rst()) [INFO] [stdout] 1013 + self.flags.syn() | self.flags.fin() | self.flags.rst() [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unknown `doc` attribute `shown` [INFO] [stdout] --> src/macros.rs:32:42 [INFO] [stdout] | [INFO] [stdout] 32 | $($(#[$val_attr])* #[doc(shown)] $variant = $value ),+ [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/wire/./ethernet.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | / enum_with_unknown! { [INFO] [stdout] 9 | | /// Ethernet protocol type. [INFO] [stdout] 10 | | pub enum EtherType(u16) { [INFO] [stdout] 11 | | Ipv4 = 0x0800, [INFO] [stdout] ... | [INFO] [stdout] 16 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(invalid_doc_attributes)]` on by default [INFO] [stdout] = note: this warning originates in the macro `enum_with_unknown` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unknown `doc` attribute `shown` [INFO] [stdout] --> src/macros.rs:32:42 [INFO] [stdout] | [INFO] [stdout] 32 | $($(#[$val_attr])* #[doc(shown)] $variant = $value ),+ [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/wire/./arp.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | / enum_with_unknown! { [INFO] [stdout] 12 | | /// ARP hardware type. [INFO] [stdout] 13 | | pub enum Hardware(u16) { [INFO] [stdout] 14 | | Ethernet = 1 [INFO] [stdout] 15 | | } [INFO] [stdout] 16 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `enum_with_unknown` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unknown `doc` attribute `shown` [INFO] [stdout] --> src/macros.rs:32:42 [INFO] [stdout] | [INFO] [stdout] 32 | $($(#[$val_attr])* #[doc(shown)] $variant = $value ),+ [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/wire/./arp.rs:18:1 [INFO] [stdout] | [INFO] [stdout] 18 | / enum_with_unknown! { [INFO] [stdout] 19 | | /// ARP operation type. [INFO] [stdout] 20 | | pub enum Operation(u16) { [INFO] [stdout] 21 | | Request = 1, [INFO] [stdout] ... | [INFO] [stdout] 24 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `enum_with_unknown` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unknown `doc` attribute `shown` [INFO] [stdout] --> src/macros.rs:32:42 [INFO] [stdout] | [INFO] [stdout] 32 | $($(#[$val_attr])* #[doc(shown)] $variant = $value ),+ [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/wire/./ip.rs:57:1 [INFO] [stdout] | [INFO] [stdout] 57 | / enum_with_unknown! { [INFO] [stdout] 58 | | /// IP datagram encapsulated protocol. [INFO] [stdout] 59 | | pub enum Protocol(u8) { [INFO] [stdout] 60 | | HopByHop = 0x00, [INFO] [stdout] ... | [INFO] [stdout] 71 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `enum_with_unknown` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unknown `doc` attribute `shown` [INFO] [stdout] --> src/macros.rs:32:42 [INFO] [stdout] | [INFO] [stdout] 32 | $($(#[$val_attr])* #[doc(shown)] $variant = $value ),+ [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/wire/./ipv6.rs:31:1 [INFO] [stdout] | [INFO] [stdout] 31 | / enum_with_unknown! { [INFO] [stdout] 32 | | /// IPv6 multicast scope. [INFO] [stdout] 33 | | pub enum Scope(u8) { [INFO] [stdout] 34 | | /// The address is valid for the interface alone. [INFO] [stdout] ... | [INFO] [stdout] 49 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `enum_with_unknown` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `silent_until` is never read [INFO] [stdout] --> src/layer/arp/neighbor.rs:109:5 [INFO] [stdout] | [INFO] [stdout] 107 | pub struct Cache<'a> { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 108 | storage: Ordered<'a, Neighbor>, [INFO] [stdout] 109 | silent_until: Instant, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Cache` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/nic/loopback.rs:51:18 [INFO] [stdout] | [INFO] [stdout] 51 | fn next_recv(&mut self) -> Option<(AckRecv, &mut C)> { [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^ ^^^^^^ the same lifetime is elided here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is hidden here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 51 | fn next_recv(&mut self) -> Option<(AckRecv<'_>, &mut C)> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/nic/loopback.rs:62:18 [INFO] [stdout] | [INFO] [stdout] 62 | fn next_send(&mut self) -> Option<(AckSend, &mut C)> { [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^ ^^^^^^ the same lifetime is elided here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is hidden here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 62 | fn next_send(&mut self) -> Option<(AckSend<'_>, &mut C)> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/layer/arp/neighbor.rs:311:20 [INFO] [stdout] | [INFO] [stdout] 311 | pub fn missing(&self) -> Missing { [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] 311 | pub fn missing(&self) -> Missing<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/layer/arp/packet.rs:64:23 [INFO] [stdout] | [INFO] [stdout] 64 | pub fn borrow_mut(&mut self) -> Controller { [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] 64 | pub fn borrow_mut(&mut self) -> Controller<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/layer/eth/packet.rs:78:23 [INFO] [stdout] | [INFO] [stdout] 78 | pub fn borrow_mut(&mut self) -> Controller { [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] 78 | pub fn borrow_mut(&mut self) -> Controller<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/layer/icmp/endpoint.rs:104:19 [INFO] [stdout] | [INFO] [stdout] 104 | pub fn answer(&mut self) -> Receiver { [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] 104 | pub fn answer(&mut self) -> Receiver<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/layer/icmp/endpoint.rs:109:20 [INFO] [stdout] | [INFO] [stdout] 109 | pub fn recv(&mut self, handler: H) -> Receiver { [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] 109 | pub fn recv(&mut self, handler: H) -> Receiver<'_, H> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/layer/icmp/endpoint.rs:114:25 [INFO] [stdout] | [INFO] [stdout] 114 | pub fn recv_with(&mut self, handler: H) -> Receiver> { [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] 114 | pub fn recv_with(&mut self, handler: H) -> Receiver<'_, FnHandler> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/layer/icmp/endpoint.rs:119:20 [INFO] [stdout] | [INFO] [stdout] 119 | pub fn send(&mut self, handler: H) -> Sender { [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] 119 | pub fn send(&mut self, handler: H) -> Sender<'_, H> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/layer/icmp/endpoint.rs:124:25 [INFO] [stdout] | [INFO] [stdout] 124 | pub fn send_with(&mut self, handler: H) -> Sender> { [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] 124 | pub fn send_with(&mut self, handler: H) -> Sender<'_, FnHandler> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/layer/icmp/endpoint.rs:130:16 [INFO] [stdout] | [INFO] [stdout] 130 | fn get_mut(&mut self) -> EndpointRef { [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] 130 | fn get_mut(&mut self) -> EndpointRef<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/layer/icmp/packet.rs:80:23 [INFO] [stdout] | [INFO] [stdout] 80 | pub fn borrow_mut(&mut self) -> Controller { [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] 80 | pub fn borrow_mut(&mut self) -> Controller<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/layer/ip/packet.rs:130:23 [INFO] [stdout] | [INFO] [stdout] 130 | pub fn borrow_mut(&mut self) -> Controller { [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] 130 | pub fn borrow_mut(&mut self) -> Controller<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a method [INFO] [stdout] --> src/layer/ip/packet.rs:267:5 [INFO] [stdout] | [INFO] [stdout] 267 | pub fn control(&self) -> &Controller<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/lib.rs:59:9 [INFO] [stdout] | [INFO] [stdout] 59 | #![warn(missing_docs)] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/layer/loss/mod.rs:77:21 [INFO] [stdout] | [INFO] [stdout] 77 | pub fn lossy(&mut self, layer: I) -> Lossy { [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] 77 | pub fn lossy(&mut self, layer: I) -> Lossy<'_, I> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/layer/udp/packet.rs:86:23 [INFO] [stdout] | [INFO] [stdout] 86 | pub fn borrow_mut(&mut self) -> Controller { [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] 86 | pub fn borrow_mut(&mut self) -> Controller<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/layer/tcp/connection.rs:362:14 [INFO] [stdout] | [INFO] [stdout] 362 | fn entry(&mut self, index: SlotKey) -> Option; [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] 362 | fn entry(&mut self, index: SlotKey) -> Option>; [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/layer/tcp/connection.rs:366:19 [INFO] [stdout] | [INFO] [stdout] 366 | fn find_tuple(&mut self, tuple: FourTuple) -> Option; [INFO] [stdout] | ^^^^^^^^^ the lifetime is elided here ^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 366 | fn find_tuple(&mut self, tuple: FourTuple) -> Option>; [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/layer/tcp/connection.rs:1325:14 [INFO] [stdout] | [INFO] [stdout] 1325 | fn entry(&mut self) -> Entry { [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] 1325 | fn entry(&mut self) -> Entry<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/layer/tcp/endpoint.rs:163:25 [INFO] [stdout] | [INFO] [stdout] 163 | pub(crate) fn entry(&mut self, index: SlotKey) [INFO] [stdout] | ^^^^^^^^^ the lifetime is elided here [INFO] [stdout] 164 | -> Option [INFO] [stdout] | ^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 164 | -> Option> [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/layer/tcp/endpoint.rs:185:36 [INFO] [stdout] | [INFO] [stdout] 185 | pub(crate) fn entry_from_tuple(&mut self, tuple: FourTuple) [INFO] [stdout] | ^^^^^^^^^ the lifetime is elided here [INFO] [stdout] 186 | -> Option [INFO] [stdout] | ^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 186 | -> Option> [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/layer/tcp/endpoint.rs:440:14 [INFO] [stdout] | [INFO] [stdout] 440 | fn entry(&mut self, index: SlotKey) -> Option { [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] 440 | fn entry(&mut self, index: SlotKey) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/layer/tcp/endpoint.rs:444:19 [INFO] [stdout] | [INFO] [stdout] 444 | fn find_tuple(&mut self, tuple: FourTuple) -> Option { [INFO] [stdout] | ^^^^^^^^^ the lifetime is elided here ^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 444 | fn find_tuple(&mut self, tuple: FourTuple) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/layer/tcp/siphash.rs:238:18 [INFO] [stdout] | [INFO] [stdout] 238 | fn debug(&self) -> DebugState { [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] 238 | fn debug(&self) -> DebugState<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/wire/./ipv6hopbyhop.rs:193:20 [INFO] [stdout] | [INFO] [stdout] 193 | pub fn options(&self) -> Ipv6OptionsIterator { [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] 193 | pub fn options(&self) -> Ipv6OptionsIterator<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `std::mem::replace` that must be used [INFO] [stdout] --> src/wire/payload.rs:276:9 [INFO] [stdout] | [INFO] [stdout] 276 | core::mem::replace(self, inner); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: if you don't need the old value, you can just assign the new value directly [INFO] [stdout] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 276 | let _ = core::mem::replace(self, inner); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 15.77s [INFO] running `Command { std: "docker" "inspect" "5240ca1602611f2d9afd6e83228164582e5164f4e3f525bd9b3d719ab47b580f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5240ca1602611f2d9afd6e83228164582e5164f4e3f525bd9b3d719ab47b580f", kill_on_drop: false }` [INFO] [stdout] 5240ca1602611f2d9afd6e83228164582e5164f4e3f525bd9b3d719ab47b580f [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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] b2e77958afabe834d7c4b9fe74516736f1cad6659bcd1a36867fbfef0212a81a [INFO] running `Command { std: "docker" "start" "-a" "b2e77958afabe834d7c4b9fe74516736f1cad6659bcd1a36867fbfef0212a81a", kill_on_drop: false }` [INFO] [stderr] warning: unexpected `cfg` condition value: `log` [INFO] [stderr] --> src/macros.rs:154:11 [INFO] [stderr] | [INFO] [stderr] 154 | #[cfg(all(feature = "log", DISABLED))] [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: expected values for `feature` are: `alloc`, `default`, `libc`, `std`, and `sys` [INFO] [stderr] = help: consider adding `log` as a feature in `Cargo.toml` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `DISABLED` [INFO] [stderr] --> src/macros.rs:154:28 [INFO] [stderr] | [INFO] [stderr] 154 | #[cfg(all(feature = "log", DISABLED))] [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: expected names are: `docsrs`, `feature`, and `test` and 31 more [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(DISABLED)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(DISABLED)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `log` [INFO] [stderr] --> src/macros.rs:163:15 [INFO] [stderr] | [INFO] [stderr] 163 | #[cfg(not(all(feature = "log", DISABLED)))] [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: expected values for `feature` are: `alloc`, `default`, `libc`, `std`, and `sys` [INFO] [stderr] = help: consider adding `log` as a feature in `Cargo.toml` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `DISABLED` [INFO] [stderr] --> src/macros.rs:163:32 [INFO] [stderr] | [INFO] [stderr] 163 | #[cfg(not(all(feature = "log", DISABLED)))] [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(DISABLED)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(DISABLED)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `proto-dhcpv4` [INFO] [stderr] --> src/wire/mod.rs:353:7 [INFO] [stderr] | [INFO] [stderr] 353 | #[cfg(feature = "proto-dhcpv4")] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: expected values for `feature` are: `alloc`, `default`, `libc`, `std`, and `sys` [INFO] [stderr] = help: consider adding `proto-dhcpv4` as a feature in `Cargo.toml` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `fuzzing` [INFO] [stderr] --> src/wire/./ipv4.rs:622:17 [INFO] [stderr] | [INFO] [stderr] 622 | if cfg!(fuzzing) { return true } [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(fuzzing)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(fuzzing)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `fuzzing` [INFO] [stderr] --> src/wire/./icmpv4.rs:298:17 [INFO] [stderr] | [INFO] [stderr] 298 | if cfg!(fuzzing) { return true } [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(fuzzing)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(fuzzing)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `fuzzing` [INFO] [stderr] --> src/wire/./udp.rs:168:17 [INFO] [stderr] | [INFO] [stderr] 168 | if cfg!(fuzzing) { return true } [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(fuzzing)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(fuzzing)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `fuzzing` [INFO] [stderr] --> src/wire/./tcp.rs:286:17 [INFO] [stderr] | [INFO] [stderr] 286 | if cfg!(fuzzing) { return true } [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(fuzzing)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(fuzzing)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around block return value [INFO] [stderr] --> src/wire/./tcp.rs:1013:13 [INFO] [stderr] | [INFO] [stderr] 1013 | (self.flags.syn() | self.flags.fin() | self.flags.rst()) [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 1013 - (self.flags.syn() | self.flags.fin() | self.flags.rst()) [INFO] [stderr] 1013 + self.flags.syn() | self.flags.fin() | self.flags.rst() [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unknown `doc` attribute `shown` [INFO] [stderr] --> src/macros.rs:32:42 [INFO] [stderr] | [INFO] [stderr] 32 | $($(#[$val_attr])* #[doc(shown)] $variant = $value ),+ [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/wire/./ethernet.rs:8:1 [INFO] [stderr] | [INFO] [stderr] 8 | / enum_with_unknown! { [INFO] [stderr] 9 | | /// Ethernet protocol type. [INFO] [stderr] 10 | | pub enum EtherType(u16) { [INFO] [stderr] 11 | | Ipv4 = 0x0800, [INFO] [stderr] ... | [INFO] [stderr] 16 | | } [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(invalid_doc_attributes)]` on by default [INFO] [stderr] = note: this warning originates in the macro `enum_with_unknown` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unknown `doc` attribute `shown` [INFO] [stderr] --> src/macros.rs:32:42 [INFO] [stderr] | [INFO] [stderr] 32 | $($(#[$val_attr])* #[doc(shown)] $variant = $value ),+ [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/wire/./arp.rs:11:1 [INFO] [stderr] | [INFO] [stderr] 11 | / enum_with_unknown! { [INFO] [stderr] 12 | | /// ARP hardware type. [INFO] [stderr] 13 | | pub enum Hardware(u16) { [INFO] [stderr] 14 | | Ethernet = 1 [INFO] [stderr] 15 | | } [INFO] [stderr] 16 | | } [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `enum_with_unknown` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unknown `doc` attribute `shown` [INFO] [stderr] --> src/macros.rs:32:42 [INFO] [stderr] | [INFO] [stderr] 32 | $($(#[$val_attr])* #[doc(shown)] $variant = $value ),+ [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/wire/./arp.rs:18:1 [INFO] [stderr] | [INFO] [stderr] 18 | / enum_with_unknown! { [INFO] [stderr] 19 | | /// ARP operation type. [INFO] [stderr] 20 | | pub enum Operation(u16) { [INFO] [stderr] 21 | | Request = 1, [INFO] [stderr] ... | [INFO] [stderr] 24 | | } [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `enum_with_unknown` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unknown `doc` attribute `shown` [INFO] [stderr] --> src/macros.rs:32:42 [INFO] [stderr] | [INFO] [stderr] 32 | $($(#[$val_attr])* #[doc(shown)] $variant = $value ),+ [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/wire/./ip.rs:57:1 [INFO] [stderr] | [INFO] [stderr] 57 | / enum_with_unknown! { [INFO] [stderr] 58 | | /// IP datagram encapsulated protocol. [INFO] [stderr] 59 | | pub enum Protocol(u8) { [INFO] [stderr] 60 | | HopByHop = 0x00, [INFO] [stderr] ... | [INFO] [stderr] 71 | | } [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `enum_with_unknown` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unknown `doc` attribute `shown` [INFO] [stderr] --> src/macros.rs:32:42 [INFO] [stderr] | [INFO] [stderr] 32 | $($(#[$val_attr])* #[doc(shown)] $variant = $value ),+ [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/wire/./ipv6.rs:31:1 [INFO] [stderr] | [INFO] [stderr] 31 | / enum_with_unknown! { [INFO] [stderr] 32 | | /// IPv6 multicast scope. [INFO] [stderr] 33 | | pub enum Scope(u8) { [INFO] [stderr] 34 | | /// The address is valid for the interface alone. [INFO] [stderr] ... | [INFO] [stderr] 49 | | } [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `enum_with_unknown` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field `silent_until` is never read [INFO] [stderr] --> src/layer/arp/neighbor.rs:109:5 [INFO] [stderr] | [INFO] [stderr] 107 | pub struct Cache<'a> { [INFO] [stderr] | ----- field in this struct [INFO] [stderr] 108 | storage: Ordered<'a, Neighbor>, [INFO] [stderr] 109 | silent_until: Instant, [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `Cache` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/nic/loopback.rs:51:18 [INFO] [stderr] | [INFO] [stderr] 51 | fn next_recv(&mut self) -> Option<(AckRecv, &mut C)> { [INFO] [stderr] | ^^^^^^^^^ ^^^^^^^ ^^^^^^ the same lifetime is elided here [INFO] [stderr] | | | [INFO] [stderr] | | the same lifetime is hidden here [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 51 | fn next_recv(&mut self) -> Option<(AckRecv<'_>, &mut C)> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/nic/loopback.rs:62:18 [INFO] [stderr] | [INFO] [stderr] 62 | fn next_send(&mut self) -> Option<(AckSend, &mut C)> { [INFO] [stderr] | ^^^^^^^^^ ^^^^^^^ ^^^^^^ the same lifetime is elided here [INFO] [stderr] | | | [INFO] [stderr] | | the same lifetime is hidden here [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 62 | fn next_send(&mut self) -> Option<(AckSend<'_>, &mut C)> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/layer/arp/neighbor.rs:311:20 [INFO] [stderr] | [INFO] [stderr] 311 | pub fn missing(&self) -> Missing { [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] 311 | pub fn missing(&self) -> Missing<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/layer/arp/packet.rs:64:23 [INFO] [stderr] | [INFO] [stderr] 64 | pub fn borrow_mut(&mut self) -> Controller { [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] 64 | pub fn borrow_mut(&mut self) -> Controller<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/layer/eth/packet.rs:78:23 [INFO] [stderr] | [INFO] [stderr] 78 | pub fn borrow_mut(&mut self) -> Controller { [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] 78 | pub fn borrow_mut(&mut self) -> Controller<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/layer/icmp/endpoint.rs:104:19 [INFO] [stderr] | [INFO] [stderr] 104 | pub fn answer(&mut self) -> Receiver { [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] 104 | pub fn answer(&mut self) -> Receiver<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/layer/icmp/endpoint.rs:109:20 [INFO] [stderr] | [INFO] [stderr] 109 | pub fn recv(&mut self, handler: H) -> Receiver { [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] 109 | pub fn recv(&mut self, handler: H) -> Receiver<'_, H> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/layer/icmp/endpoint.rs:114:25 [INFO] [stderr] | [INFO] [stderr] 114 | pub fn recv_with(&mut self, handler: H) -> Receiver> { [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] 114 | pub fn recv_with(&mut self, handler: H) -> Receiver<'_, FnHandler> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/layer/icmp/endpoint.rs:119:20 [INFO] [stderr] | [INFO] [stderr] 119 | pub fn send(&mut self, handler: H) -> Sender { [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] 119 | pub fn send(&mut self, handler: H) -> Sender<'_, H> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/layer/icmp/endpoint.rs:124:25 [INFO] [stderr] | [INFO] [stderr] 124 | pub fn send_with(&mut self, handler: H) -> Sender> { [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] 124 | pub fn send_with(&mut self, handler: H) -> Sender<'_, FnHandler> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/layer/icmp/endpoint.rs:130:16 [INFO] [stderr] | [INFO] [stderr] 130 | fn get_mut(&mut self) -> EndpointRef { [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] 130 | fn get_mut(&mut self) -> EndpointRef<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/layer/icmp/packet.rs:80:23 [INFO] [stderr] | [INFO] [stderr] 80 | pub fn borrow_mut(&mut self) -> Controller { [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] 80 | pub fn borrow_mut(&mut self) -> Controller<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/layer/ip/packet.rs:130:23 [INFO] [stderr] | [INFO] [stderr] 130 | pub fn borrow_mut(&mut self) -> Controller { [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] 130 | pub fn borrow_mut(&mut self) -> Controller<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: missing documentation for a method [INFO] [stderr] --> src/layer/ip/packet.rs:267:5 [INFO] [stderr] | [INFO] [stderr] 267 | pub fn control(&self) -> &Controller<'a> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: the lint level is defined here [INFO] [stderr] --> src/lib.rs:59:9 [INFO] [stderr] | [INFO] [stderr] 59 | #![warn(missing_docs)] [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/layer/loss/mod.rs:77:21 [INFO] [stderr] | [INFO] [stderr] 77 | pub fn lossy(&mut self, layer: I) -> Lossy { [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] 77 | pub fn lossy(&mut self, layer: I) -> Lossy<'_, I> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/layer/udp/packet.rs:86:23 [INFO] [stderr] | [INFO] [stderr] 86 | pub fn borrow_mut(&mut self) -> Controller { [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] 86 | pub fn borrow_mut(&mut self) -> Controller<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/layer/tcp/connection.rs:362:14 [INFO] [stderr] | [INFO] [stderr] 362 | fn entry(&mut self, index: SlotKey) -> Option; [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] 362 | fn entry(&mut self, index: SlotKey) -> Option>; [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/layer/tcp/connection.rs:366:19 [INFO] [stderr] | [INFO] [stderr] 366 | fn find_tuple(&mut self, tuple: FourTuple) -> Option; [INFO] [stderr] | ^^^^^^^^^ the lifetime is elided here ^^^^^ the same lifetime is hidden here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 366 | fn find_tuple(&mut self, tuple: FourTuple) -> Option>; [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/layer/tcp/connection.rs:1325:14 [INFO] [stderr] | [INFO] [stderr] 1325 | fn entry(&mut self) -> Entry { [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] 1325 | fn entry(&mut self) -> Entry<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/layer/tcp/endpoint.rs:163:25 [INFO] [stderr] | [INFO] [stderr] 163 | pub(crate) fn entry(&mut self, index: SlotKey) [INFO] [stderr] | ^^^^^^^^^ the lifetime is elided here [INFO] [stderr] 164 | -> Option [INFO] [stderr] | ^^^^^ the same lifetime is hidden here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 164 | -> Option> [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/layer/tcp/endpoint.rs:185:36 [INFO] [stderr] | [INFO] [stderr] 185 | pub(crate) fn entry_from_tuple(&mut self, tuple: FourTuple) [INFO] [stderr] | ^^^^^^^^^ the lifetime is elided here [INFO] [stderr] 186 | -> Option [INFO] [stderr] | ^^^^^ the same lifetime is hidden here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 186 | -> Option> [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/layer/tcp/endpoint.rs:440:14 [INFO] [stderr] | [INFO] [stderr] 440 | fn entry(&mut self, index: SlotKey) -> Option { [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] 440 | fn entry(&mut self, index: SlotKey) -> Option> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/layer/tcp/endpoint.rs:444:19 [INFO] [stderr] | [INFO] [stderr] 444 | fn find_tuple(&mut self, tuple: FourTuple) -> Option { [INFO] [stderr] | ^^^^^^^^^ the lifetime is elided here ^^^^^ the same lifetime is hidden here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 444 | fn find_tuple(&mut self, tuple: FourTuple) -> Option> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/managed/phantom_alloc/phantom_btree.rs:84:18 [INFO] [stderr] | [INFO] [stderr] 84 | pub fn entry(&mut self, key: K) -> Entry { [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] 84 | pub fn entry(&mut self, key: K) -> Entry<'_, K, V> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/wire/./ipv6hopbyhop.rs:193:20 [INFO] [stderr] | [INFO] [stderr] 193 | pub fn options(&self) -> Ipv6OptionsIterator { [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] 193 | pub fn options(&self) -> Ipv6OptionsIterator<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: unused return value of `core::mem::replace` that must be used [INFO] [stderr] --> src/wire/payload.rs:276:9 [INFO] [stderr] | [INFO] [stderr] 276 | core::mem::replace(self, inner); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: if you don't need the old value, you can just assign the new value directly [INFO] [stderr] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] help: use `let _ = ...` to ignore the resulting value [INFO] [stderr] | [INFO] [stderr] 276 | let _ = core::mem::replace(self, inner); [INFO] [stderr] | +++++++ [INFO] [stderr] [INFO] [stderr] warning: `ethox` (lib) generated 42 warnings (run `cargo fix --lib -p ethox` to apply 25 suggestions) [INFO] [stderr] warning: unexpected `cfg` condition value: `proto-ipv4` [INFO] [stderr] --> src/wire/./ipv6.rs:999:15 [INFO] [stderr] | [INFO] [stderr] 999 | #[cfg(feature = "proto-ipv4")] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: expected values for `feature` are: `alloc`, `default`, `libc`, `std`, and `sys` [INFO] [stderr] = help: consider adding `proto-ipv4` as a feature in `Cargo.toml` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/layer/tcp/siphash.rs:238:18 [INFO] [stderr] | [INFO] [stderr] 238 | fn debug(&self) -> DebugState { [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] 238 | fn debug(&self) -> DebugState<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: unused return value of `std::mem::replace` that must be used [INFO] [stderr] --> src/wire/payload.rs:276:9 [INFO] [stderr] | [INFO] [stderr] 276 | core::mem::replace(self, inner); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: if you don't need the old value, you can just assign the new value directly [INFO] [stderr] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] help: use `let _ = ...` to ignore the resulting value [INFO] [stderr] | [INFO] [stderr] 276 | let _ = core::mem::replace(self, inner); [INFO] [stderr] | +++++++ [INFO] [stderr] [INFO] [stderr] warning: `ethox` (lib test) generated 43 warnings (40 duplicates) (run `cargo fix --lib -p ethox --tests` to apply 1 suggestion) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.06s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/ethox-2971e4f2cacd4e5c) [INFO] [stdout] [INFO] [stdout] running 182 tests [INFO] [stdout] test layer::arp::neighbor::test::evict ... ok [INFO] [stdout] test layer::arp::neighbor::test::expire ... ok [INFO] [stdout] test layer::arp::neighbor::test::fill ... ok [INFO] [stdout] test layer::arp::neighbor::test::replace ... ok [INFO] [stdout] test layer::arp::neighbor::test::full ... ok [INFO] [stdout] test layer::ip::route::test::test_fill ... ok [INFO] [stdout] test layer::arp::tests::simple_arp ... ok [INFO] [stdout] test layer::icmp::tests::answer_ping ... ok [INFO] [stdout] test layer::ip::tests::simple_ipv6 ... ok [INFO] [stdout] test layer::tcp::siphash::tests::manual_test_vectors ... ok [INFO] [stdout] test layer::ip::tests::simple_ipv4 ... ok [INFO] [stdout] test layer::udp::tests::simple ... ok [INFO] [stdout] test layer::loss::tests::pulsed ... ok [INFO] [stdout] test layer::tcp::connection::tests::resent_syn ... ok [INFO] [stdout] test layer::eth::endpoint::tests::simple ... ok [INFO] [stdout] test managed::partial::tests::inserts ... ok [INFO] [stdout] test managed::slotmap::tests::non_simple_free_list ... ok [INFO] [stdout] test managed::partial::tests::normal_operation ... ok [INFO] [stdout] test storage::assembler::test::advancing_partial_progress ... ok [INFO] [stdout] test managed::slotmap::tests::retained ... ok [INFO] [stdout] test storage::assembler::test::max_forward_progress ... ok [INFO] [stdout] test managed::slotmap::tests::simple ... ok [INFO] [stdout] test storage::assembler::test::overlapping_partial_progress ... ok [INFO] [stdout] test nic::loopback::tests::simple_loopback ... ok [INFO] [stdout] test storage::assembler::test::always_initial_progress ... ok [INFO] [stdout] test storage::assembler::test::test_empty_add_back ... ok [INFO] [stdout] test storage::assembler::test::test_empty_add_front ... ok [INFO] [stdout] test storage::assembler::test::test_empty_remove_front ... ok [INFO] [stdout] test storage::assembler::test::test_empty_add_full ... ok [INFO] [stdout] test storage::assembler::test::test_forward_progress ... ok [INFO] [stdout] test storage::assembler::test::test_empty_add_mid ... ok [INFO] [stdout] test storage::assembler::test::test_iter_full ... ok [INFO] [stdout] test storage::assembler::test::test_iter_empty ... ok [INFO] [stdout] test storage::assembler::test::test_iter_one_back ... ok [INFO] [stdout] test storage::assembler::test::record_forgotten_partial_progress ... ok [INFO] [stdout] test storage::assembler::test::test_iter_one_front ... ok [INFO] [stdout] test storage::assembler::test::test_iter_two_split ... ok [INFO] [stdout] test storage::assembler::test::test_partial_add_back ... ok [INFO] [stdout] test storage::assembler::test::test_iter_three_split ... ok [INFO] [stdout] test storage::assembler::test::test_partial_add_both_overlap ... ok [INFO] [stdout] test storage::assembler::test::stored_partial_progress ... ok [INFO] [stdout] test storage::assembler::test::test_iter_one_trailing_gap ... ok [INFO] [stdout] test storage::assembler::test::test_partial_add_front_overlap ... ok [INFO] [stdout] test storage::assembler::test::test_partial_add_front_overlap_split ... ok [INFO] [stdout] test storage::assembler::test::test_iter_one_mid ... ok [INFO] [stdout] test storage::assembler::test::test_partial_add_back_overlap_split ... ok [INFO] [stdout] test storage::assembler::test::test_partial_add_both_overlap_split ... ok [INFO] [stdout] test storage::assembler::test::test_partial_add_back_overlap ... ok [INFO] [stdout] test storage::assembler::test::test_trailing_data_remove_front ... ok [INFO] [stdout] test storage::ring_buffer::test::test_buffer_dequeue_many ... ok [INFO] [stdout] test storage::ring_buffer::test::test_buffer_dequeue_slice ... ok [INFO] [stdout] test storage::ring_buffer::test::test_buffer_dequeue_many_with ... ok [INFO] [stdout] test storage::ring_buffer::test::test_buffer_enqueue_dequeue_one ... ok [INFO] [stdout] test storage::assembler::test::test_trailing_hole_remove_front ... ok [INFO] [stdout] test storage::ring_buffer::test::test_buffer_enqueue_dequeue_one_with ... ok [INFO] [stdout] test storage::ring_buffer::test::test_buffer_enqueue_many ... ok [INFO] [stdout] test storage::ring_buffer::test::test_buffer_enqueue_many_with ... ok [INFO] [stdout] test storage::ring_buffer::test::test_buffer_enqueue_slice ... ok [INFO] [stdout] test storage::ring_buffer::test::test_buffer_get_allocated ... ok [INFO] [stdout] test storage::ring_buffer::test::test_buffer_get_unallocated ... ok [INFO] [stdout] test storage::ring_buffer::test::test_buffer_length_changes ... ok [INFO] [stdout] test storage::ring_buffer::test::test_buffer_read_allocated ... ok [INFO] [stdout] test storage::ring_buffer::test::test_buffer_write_unallocated ... ok [INFO] [stdout] test storage::ring_buffer::test::test_buffer_write_wholly ... ok [INFO] [stdout] test time::test::test_duration_assign_ops ... ok [INFO] [stdout] test storage::ring_buffer::test::test_buffer_with_no_capacity ... ok [INFO] [stdout] test time::test::test_duration_conversions ... ok [INFO] [stdout] test time::test::test_duration_getters ... ok [INFO] [stdout] test time::test::test_instant_display ... ok [INFO] [stdout] test time::test::test_instant_getters ... ok [INFO] [stdout] test time::test::test_duration_ops ... ok [INFO] [stdout] test time::test::test_instant_ops ... ok [INFO] [stdout] test wire::payload_ext::tests::reframe_extend ... ok [INFO] [stdout] test wire::payload_ext::tests::reframe_move ... ok [INFO] [stdout] test wire::raw::arp::test::test_construct ... ok [INFO] [stdout] test wire::raw::arp::test::test_deconstruct ... ok [INFO] [stdout] test wire::raw::arp::test::test_emit ... ok [INFO] [stdout] test wire::payload_ext::tests::reframe_retract ... ok [INFO] [stdout] test wire::raw::arp::test::test_parse ... ok [INFO] [stdout] test wire::raw::ethernet::test::test_broadcast ... ok [INFO] [stdout] test wire::raw::ethernet::test_ipv4::test_construct ... ok [INFO] [stdout] test wire::raw::ethernet::test_ipv4::test_deconstruct ... ok [INFO] [stdout] test wire::raw::ethernet::test_ipv6::test_construct ... ok [INFO] [stdout] test wire::raw::ethernet::test_ipv6::test_deconstruct ... ok [INFO] [stdout] test wire::raw::icmpv4::test::test_check_len ... ok [INFO] [stdout] test wire::raw::icmpv4::test::test_echo_construct ... ok [INFO] [stdout] test wire::raw::icmpv4::test::test_echo_deconstruct ... ok [INFO] [stdout] test wire::raw::icmpv4::test::test_echo_emit ... ok [INFO] [stdout] test wire::raw::icmpv4::test::test_echo_parse ... ok [INFO] [stdout] test wire::raw::ip::test::endpoint_unspecified ... ok [INFO] [stdout] test wire::raw::ip::test::ipv4::test_ip_repr_lower ... ok [INFO] [stdout] test wire::raw::ip::test::ipv6::test_ip_repr_lower ... ok [INFO] [stdout] test wire::raw::ip::test::to_prefix_len_ipv4 ... ok [INFO] [stdout] test wire::raw::ip::test::to_prefix_len_ipv4_error ... ok [INFO] [stdout] test wire::raw::ip::test::to_prefix_len_ipv6 ... ok [INFO] [stdout] test wire::raw::ip::test::to_prefix_len_ipv6_error ... ok [INFO] [stdout] test storage::assembler::test::test_partial_add_front ... ok [INFO] [stdout] test storage::assembler::test::test_rejected_add_keeps_state ... ok [INFO] [stdout] test wire::raw::ipv4::test::test_broadcast ... ok [INFO] [stdout] test wire::raw::ipv4::test::test_cidr_broadcast ... ok [INFO] [stdout] test wire::raw::ipv4::test::test_cidr_from_netmask ... ok [INFO] [stdout] test wire::raw::ipv4::test::test_cidr_network ... ok [INFO] [stdout] test wire::raw::ipv4::test::test_construct ... ok [INFO] [stdout] test wire::raw::ipv4::test::test_deconstruct ... ok [INFO] [stdout] test wire::raw::ipv4::test::test_emit ... ok [INFO] [stdout] test wire::raw::ipv4::test::test_overlong ... ok [INFO] [stdout] test wire::raw::ipv4::test::test_parse ... ok [INFO] [stdout] test wire::raw::ipv4::test::test_cidr ... ok [INFO] [stdout] test wire::raw::ipv4::test::test_parse_bad_version ... ok [INFO] [stdout] test wire::raw::ipv4::test::test_cidr_netmask ... ok [INFO] [stdout] test wire::raw::ipv4::test::test_parse_total_len_less_than_header_len ... ok [INFO] [stdout] test wire::raw::ipv6::test::test_address_format ... ok [INFO] [stdout] test wire::raw::ipv6::test::test_as_ipv4 ... ok [INFO] [stdout] test wire::raw::ipv6::test::test_basic_link_local ... ok [INFO] [stdout] test wire::raw::ipv6::test::test_basic_loopback ... ok [INFO] [stdout] test wire::raw::ipv6::test::test_basic_multicast ... ok [INFO] [stdout] test wire::raw::ipv6::test::test_basic_repr_emit ... ok [INFO] [stdout] test wire::raw::ipv6::test::test_cidr ... ok [INFO] [stdout] test wire::raw::ipv4::test::test_total_len_overflow ... ok [INFO] [stdout] test wire::raw::ipv4::test::test_unspecified ... ok [INFO] [stdout] test managed::partial::tests::insert_at_invalid - should panic ... ok [INFO] [stdout] test wire::raw::ipv6::test::test_from_ipv4_address ... ok [INFO] [stdout] test wire::raw::ipv6::test::test_from_parts ... ok [INFO] [stdout] test wire::raw::ipv6::test::test_from_parts_too_long - should panic ... ok [INFO] [stdout] test wire::raw::ipv6::test::test_is_ipv4_mapped ... ok [INFO] [stdout] test wire::raw::ipv6::test::test_mask ... ok [INFO] [stdout] test time::test::test_sub_from_zero_overflow - should panic ... ok [INFO] [stdout] test wire::raw::ipv6::test::test_new ... ok [INFO] [stdout] test wire::raw::ipv6::test::test_packet_construction ... ok [INFO] [stdout] test wire::raw::ipv6::test::test_overlong ... ok [INFO] [stdout] test wire::raw::ip::test::test_lower_between_families - should panic ... ok [INFO] [stdout] test wire::raw::ipv6::test::test_packet_deconstruction ... ok [INFO] [stdout] test wire::raw::ipv6::test::test_repr_parse_smaller_than_header ... ok [INFO] [stdout] test wire::raw::ipv6::test::test_pretty_print ... ok [INFO] [stdout] test wire::raw::ipv6::test::test_repr_parse_valid ... ok [INFO] [stdout] test wire::raw::ipv6::test::test_repr_parse_bad_version ... ok [INFO] [stdout] test wire::raw::ipv6::test::test_repr_parse_smaller_than_payload ... ok [INFO] [stdout] test wire::raw::ipv6fragment::test::test_buffer_len ... ok [INFO] [stdout] test wire::raw::ipv6::test::test_total_len_overflow ... ok [INFO] [stdout] test wire::raw::ipv6::test::test_write_parts ... ok [INFO] [stdout] test wire::raw::ipv6fragment::test::test_check_len ... ok [INFO] [stdout] test wire::raw::ipv6fragment::test::test_header_deconstruct ... ok [INFO] [stdout] test wire::raw::ipv6fragment::test::test_repr_parse_valid ... ok [INFO] [stdout] test wire::raw::ipv6hopbyhop::test::test_check_len ... ok [INFO] [stdout] test wire::raw::ipv6hopbyhop::test::test_header_deconstruct ... ok [INFO] [stdout] test wire::raw::ipv6hopbyhop::test::test_header_len_overflow ... ok [INFO] [stdout] test wire::raw::ipv6hopbyhop::test::test_overlong ... ok [INFO] [stdout] test wire::raw::ipv6hopbyhop::test::test_repr_emit ... ok [INFO] [stdout] test wire::raw::ipv6hopbyhop::test::test_repr_parse_valid ... ok [INFO] [stdout] test wire::raw::ipv6::test::test_from_bytes_too_long - should panic ... FAILED [INFO] [stdout] test wire::raw::ipv6fragment::test::test_repr_emit ... ok [INFO] [stdout] test wire::raw::ipv6option::test::test_failure_type ... ok [INFO] [stdout] test wire::raw::ipv6option::test::test_check_len ... ok [INFO] [stdout] test wire::raw::ipv6option::test::test_option_emit ... ok [INFO] [stdout] test wire::raw::ipv6option::test::test_option_deconstruct ... ok [INFO] [stdout] test wire::raw::ipv6option::test::test_data_len - should panic ... ok [INFO] [stdout] test wire::raw::ipv6option::test::test_option_parse ... ok [INFO] [stdout] test wire::raw::ipv6option::test::test_options_iter ... ok [INFO] [stdout] test wire::raw::ipv6routing::test::test_header_deconstruct ... ok [INFO] [stdout] test wire::raw::ipv6option::test::test_options_iter_truncated - should panic ... ok [INFO] [stdout] test wire::raw::ipv6routing::test::test_buffer_len ... ok [INFO] [stdout] test wire::raw::ipv6routing::test::test_check_len ... ok [INFO] [stdout] test wire::raw::ipv6routing::test::test_repr_parse_valid ... ok [INFO] [stdout] test wire::raw::tcp::test::test_construct ... ok [INFO] [stdout] test wire::raw::tcp::test::test_deconstruct ... ok [INFO] [stdout] test wire::raw::tcp::test::test_emit ... ok [INFO] [stdout] test wire::raw::tcp::test::test_header_len_multiple_of_4 ... ok [INFO] [stdout] test wire::raw::tcp::test::test_impossible_len ... ok [INFO] [stdout] test wire::raw::tcp::test::test_malformed_tcp_options ... ok [INFO] [stdout] test wire::raw::tcp::test::test_tcp_options ... ok [INFO] [stdout] test wire::raw::udp::test::test_construct ... ok [INFO] [stdout] test wire::raw::ipv6routing::test::test_repr_emit ... ok [INFO] [stdout] test wire::raw::tcp::test::test_parse ... ok [INFO] [stdout] test wire::raw::tcp::test::test_truncated ... ok [INFO] [stdout] test wire::raw::udp::test::test_deconstruct ... ok [INFO] [stdout] test wire::raw::udp::test::test_impossible_len ... ok [INFO] [stdout] test wire::raw::udp::test::test_emit ... ok [INFO] [stdout] test wire::raw::udp::test::test_parse ... ok [INFO] [stdout] test wire::raw::udp::test::test_zero_checksum ... ok [INFO] [stdout] test wire::raw::ipv6hopbyhop::test::test_buffer_len ... ok [INFO] [stdout] test time::test::test_div_by_zero - should panic ... ok [INFO] [stdout] test managed::partial::tests::insert_at_oob - should panic ... ok [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- wire::raw::ipv6::test::test_from_bytes_too_long stdout ---- [INFO] [stdout] [INFO] [stdout] thread 'wire::raw::ipv6::test::test_from_bytes_too_long' (141) panicked at src/wire/./ipv6.rs:101:15: [INFO] [stdout] copy_from_slice: source slice length (15) does not match destination slice length (16) [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x6011fb5519fa - std[e72de78501789eb0]::backtrace_rs::backtrace::libunwind::trace [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x6011fb5519fa - std[e72de78501789eb0]::backtrace_rs::backtrace::trace_unsynchronized:: [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x6011fb5519fa - std[e72de78501789eb0]::sys::backtrace::_print_fmt [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/std/src/sys/backtrace.rs:74:9 [INFO] [stdout] 3: 0x6011fb5519fa - <::print::DisplayBacktrace as core[6aaeda2c7ad07a48]::fmt::Display>::fmt [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/std/src/sys/backtrace.rs:44:26 [INFO] [stdout] 4: 0x6011fb5661ba - ::fmt [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/core/src/fmt/rt.rs:152:76 [INFO] [stdout] 5: 0x6011fb5661ba - core[6aaeda2c7ad07a48]::fmt::write [INFO] [stdout] 6: 0x6011fb556332 - std[e72de78501789eb0]::io::default_write_fmt::> [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x6011fb556332 - as std[e72de78501789eb0]::io::Write>::write_fmt [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/std/src/io/mod.rs:1994:13 [INFO] [stdout] 8: 0x6011fb530c1f - ::print [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/std/src/sys/backtrace.rs:47:9 [INFO] [stdout] 9: 0x6011fb530c1f - std[e72de78501789eb0]::panicking::default_hook::{closure#0} [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/std/src/panicking.rs:292:27 [INFO] [stdout] 10: 0x6011fb549fb9 - std[e72de78501789eb0]::panicking::default_hook [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/std/src/panicking.rs:316:9 [INFO] [stdout] 11: 0x6011fb4e711c - core[6aaeda2c7ad07a48]::ops::function::Fn<(&'a std[e72de78501789eb0]::panic::PanicHookInfo<'b>,), Output = ()> + core[6aaeda2c7ad07a48]::marker::Sync + core[6aaeda2c7ad07a48]::marker::Send> as core[6aaeda2c7ad07a48]::ops::function::Fn<(&std[e72de78501789eb0]::panic::PanicHookInfo,)>>::call [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/alloc/src/boxed.rs:2254:9 [INFO] [stdout] 12: 0x6011fb4e711c - test[4f12b380f1fb68c5]::test_main_with_exit_callback::::{closure#0} [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x6011fb54a172 - core[6aaeda2c7ad07a48]::ops::function::Fn<(&'a std[e72de78501789eb0]::panic::PanicHookInfo<'b>,), Output = ()> + core[6aaeda2c7ad07a48]::marker::Sync + core[6aaeda2c7ad07a48]::marker::Send> as core[6aaeda2c7ad07a48]::ops::function::Fn<(&std[e72de78501789eb0]::panic::PanicHookInfo,)>>::call [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/alloc/src/boxed.rs:2254:9 [INFO] [stdout] 14: 0x6011fb54a172 - std[e72de78501789eb0]::panicking::panic_with_hook [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/std/src/panicking.rs:833:13 [INFO] [stdout] 15: 0x6011fb530cd8 - std[e72de78501789eb0]::panicking::panic_handler::{closure#0} [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/std/src/panicking.rs:698:13 [INFO] [stdout] 16: 0x6011fb528649 - std[e72de78501789eb0]::sys::backtrace::__rust_end_short_backtrace:: [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/std/src/sys/backtrace.rs:182:18 [INFO] [stdout] 17: 0x6011fb5319ed - __rustc[78a4cf188af856fc]::rust_begin_unwind [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/std/src/panicking.rs:689:5 [INFO] [stdout] 18: 0x6011fb56690c - core[6aaeda2c7ad07a48]::panicking::panic_fmt [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/core/src/panicking.rs:80:14 [INFO] [stdout] 19: 0x6011fb56ad00 - core[6aaeda2c7ad07a48]::slice::copy_from_slice_impl::len_mismatch_fail::do_panic::runtime [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/core/src/panic.rs:172:21 [INFO] [stdout] 20: 0x6011fb56ad00 - core[6aaeda2c7ad07a48]::slice::copy_from_slice_impl::len_mismatch_fail::do_panic [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/core/src/intrinsics/mod.rs:2447:9 [INFO] [stdout] 21: 0x6011fb56ad00 - core[6aaeda2c7ad07a48]::slice::copy_from_slice_impl::len_mismatch_fail [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/core/src/panic.rs:177:9 [INFO] [stdout] 22: 0x6011fb55efa9 - core[6aaeda2c7ad07a48]::slice::copy_from_slice_impl:: [INFO] [stdout] 23: 0x6011fb46918e - <[u8]>::copy_from_slice [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/core/src/slice/mod.rs:4325:18 [INFO] [stderr] error: test failed, to rerun pass `--lib` [INFO] [stdout] 24: 0x6011fb488a83 - ::from_bytes [INFO] [stdout] at /opt/rustwide/workdir/src/wire/./ipv6.rs:101:15 [INFO] [stdout] 25: 0x6011fb46170a - ethox[3eb67f389f1fedf8]::wire::raw::ipv6::test::test_from_bytes_too_long [INFO] [stdout] at /opt/rustwide/workdir/src/wire/./ipv6.rs:1159:17 [INFO] [stdout] 26: 0x6011fb45b897 - ethox[3eb67f389f1fedf8]::wire::raw::ipv6::test::test_from_bytes_too_long::{closure#0} [INFO] [stdout] at /opt/rustwide/workdir/src/wire/./ipv6.rs:1158:34 [INFO] [stdout] 27: 0x6011fb4851f6 - >::call_once [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 28: 0x6011fb4db1fb - core[6aaeda2c7ad07a48]::result::Result<(), alloc[28d2dab30c1dc666]::string::String> as core[6aaeda2c7ad07a48]::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 29: 0x6011fb4db1fb - test[4f12b380f1fb68c5]::__rust_begin_short_backtrace::, fn() -> core[6aaeda2c7ad07a48]::result::Result<(), alloc[28d2dab30c1dc666]::string::String>> [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/test/src/lib.rs:663:18 [INFO] [stdout] 30: 0x6011fb4e7beb - test[4f12b380f1fb68c5]::run_test_in_process::{closure#0} [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/test/src/lib.rs:686:74 [INFO] [stdout] 31: 0x6011fb4e7beb - as core[6aaeda2c7ad07a48]::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/core/src/panic/unwind_safe.rs:275:9 [INFO] [stdout] 32: 0x6011fb4e7beb - std[e72de78501789eb0]::panicking::catch_unwind::do_call::, core[6aaeda2c7ad07a48]::result::Result<(), alloc[28d2dab30c1dc666]::string::String>> [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/std/src/panicking.rs:581:40 [INFO] [stdout] 33: 0x6011fb4e7beb - std[e72de78501789eb0]::panicking::catch_unwind::, core[6aaeda2c7ad07a48]::panic::unwind_safe::AssertUnwindSafe> [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/std/src/panicking.rs:544:19 [INFO] [stdout] 34: 0x6011fb4e7beb - std[e72de78501789eb0]::panic::catch_unwind::, core[6aaeda2c7ad07a48]::result::Result<(), alloc[28d2dab30c1dc666]::string::String>> [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/std/src/panic.rs:359:14 [INFO] [stdout] 35: 0x6011fb4e7beb - test[4f12b380f1fb68c5]::run_test_in_process [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/test/src/lib.rs:686:27 [INFO] [stdout] 36: 0x6011fb4e7beb - test[4f12b380f1fb68c5]::run_test::{closure#0} [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/test/src/lib.rs:607:43 [INFO] [stdout] 37: 0x6011fb4e3304 - test[4f12b380f1fb68c5]::run_test::{closure#1} [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/test/src/lib.rs:637:41 [INFO] [stdout] 38: 0x6011fb4e3304 - std[e72de78501789eb0]::sys::backtrace::__rust_begin_short_backtrace:: [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/std/src/sys/backtrace.rs:166:18 [INFO] [stdout] 39: 0x6011fb4ea7f2 - std[e72de78501789eb0]::thread::lifecycle::spawn_unchecked::::{closure#1}::{closure#0} [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/std/src/thread/lifecycle.rs:91:13 [INFO] [stdout] 40: 0x6011fb4ea7f2 - ::{closure#1}::{closure#0}> as core[6aaeda2c7ad07a48]::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/core/src/panic/unwind_safe.rs:275:9 [INFO] [stdout] 41: 0x6011fb4ea7f2 - std[e72de78501789eb0]::panicking::catch_unwind::do_call::::{closure#1}::{closure#0}>, ()> [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/std/src/panicking.rs:581:40 [INFO] [stdout] 42: 0x6011fb4ea7f2 - std[e72de78501789eb0]::panicking::catch_unwind::<(), core[6aaeda2c7ad07a48]::panic::unwind_safe::AssertUnwindSafe::{closure#1}::{closure#0}>> [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/std/src/panicking.rs:544:19 [INFO] [stdout] 43: 0x6011fb4ea7f2 - std[e72de78501789eb0]::panic::catch_unwind::::{closure#1}::{closure#0}>, ()> [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/std/src/panic.rs:359:14 [INFO] [stdout] 44: 0x6011fb4ea7f2 - std[e72de78501789eb0]::thread::lifecycle::spawn_unchecked::::{closure#1} [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/std/src/thread/lifecycle.rs:89:26 [INFO] [stdout] 45: 0x6011fb4ea7f2 - ::{closure#1} as core[6aaeda2c7ad07a48]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0} [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 46: 0x6011fb55130f - + core[6aaeda2c7ad07a48]::marker::Send> as core[6aaeda2c7ad07a48]::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/alloc/src/boxed.rs:2240:9 [INFO] [stdout] 47: 0x6011fb55130f - ::new::thread_start [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/std/src/sys/thread/unix.rs:118:17 [INFO] [stdout] 48: 0x7c8b677f4aa4 - [INFO] [stdout] 49: 0x7c8b67881a64 - clone [INFO] [stdout] 50: 0x0 - [INFO] [stdout] note: panic did not contain expected string [INFO] [stdout] panic message: "copy_from_slice: source slice length (15) does not match destination slice length (16)" [INFO] [stdout] expected substring: "destination and source slices have different lengths" [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] wire::raw::ipv6::test::test_from_bytes_too_long [INFO] [stdout] [INFO] [stdout] test result: FAILED. 181 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.04s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "b2e77958afabe834d7c4b9fe74516736f1cad6659bcd1a36867fbfef0212a81a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b2e77958afabe834d7c4b9fe74516736f1cad6659bcd1a36867fbfef0212a81a", kill_on_drop: false }` [INFO] [stdout] b2e77958afabe834d7c4b9fe74516736f1cad6659bcd1a36867fbfef0212a81a