[INFO] cloning repository https://github.com/AntoniDevm/Netro [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/AntoniDevm/Netro" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAntoniDevm%2FNetro", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAntoniDevm%2FNetro'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 779fdf4e3f948c343d05b0e5307d562746a5f5fd [INFO] checking AntoniDevm/Netro/779fdf4e3f948c343d05b0e5307d562746a5f5fd against try#c387b04bf028733cd561d62128c8a5eee4bc1458+rustflags=-Dtail_expr_drop_order for pr-130930 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAntoniDevm%2FNetro" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/AntoniDevm/Netro on toolchain c387b04bf028733cd561d62128c8a5eee4bc1458 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/AntoniDevm/Netro [INFO] finished tweaking git repo https://github.com/AntoniDevm/Netro [INFO] tweaked toml for git repo https://github.com/AntoniDevm/Netro written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/AntoniDevm/Netro 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" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] daf69958d6db61366c736a3824189fc76484082456d49e8b6c9e0217c0f89732 [INFO] running `Command { std: "docker" "start" "-a" "daf69958d6db61366c736a3824189fc76484082456d49e8b6c9e0217c0f89732", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "daf69958d6db61366c736a3824189fc76484082456d49e8b6c9e0217c0f89732", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "daf69958d6db61366c736a3824189fc76484082456d49e8b6c9e0217c0f89732", kill_on_drop: false }` [INFO] [stdout] daf69958d6db61366c736a3824189fc76484082456d49e8b6c9e0217c0f89732 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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 -Dtail_expr_drop_order" "-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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 047e0211386fef1a2cc748726ff09ba7155f8c463f35dccf7f965d0a1d944fe3 [INFO] running `Command { std: "docker" "start" "-a" "047e0211386fef1a2cc748726ff09ba7155f8c463f35dccf7f965d0a1d944fe3", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.154 [INFO] [stderr] Compiling proc-macro2 v1.0.83 [INFO] [stderr] Compiling memchr v2.7.2 [INFO] [stderr] Checking no-std-net v0.6.0 [INFO] [stderr] Compiling regex-syntax v0.8.3 [INFO] [stderr] Compiling serde v1.0.202 [INFO] [stderr] Compiling cfg_aliases v0.1.1 [INFO] [stderr] Compiling anyhow v1.0.83 [INFO] [stderr] Checking bitflags v2.5.0 [INFO] [stderr] Compiling memoffset v0.9.1 [INFO] [stderr] Compiling pnet v0.34.0 [INFO] [stderr] Compiling nix v0.28.0 [INFO] [stderr] Checking pnet_base v0.34.0 [INFO] [stderr] Checking pnet_macros_support v0.34.0 [INFO] [stderr] Checking nom v7.1.3 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling syn v2.0.65 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Checking parking_lot_core v0.9.10 [INFO] [stderr] Checking pnet_sys v0.34.0 [INFO] [stderr] Checking signal-hook-registry v1.4.2 [INFO] [stderr] Checking mio v0.8.11 [INFO] [stderr] Checking socket2 v0.5.7 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking parking_lot v0.12.2 [INFO] [stderr] Compiling regex-automata v0.4.6 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking ipnetwork v0.20.0 [INFO] [stderr] Checking pnet_datalink v0.34.0 [INFO] [stderr] Compiling tokio-macros v2.2.0 [INFO] [stderr] Checking tokio v1.37.0 [INFO] [stderr] Compiling regex v1.10.4 [INFO] [stderr] Compiling pnet_macros v0.34.0 [INFO] [stderr] Checking pnet_packet v0.34.0 [INFO] [stderr] Checking netro v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `map` [INFO] [stdout] --> src/packets/network/ip/ipv4.rs:6:18 [INFO] [stdout] | [INFO] [stdout] 6 | combinator::{map, value, verify}, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/packets/network/ip/ipv4.rs:75:50 [INFO] [stdout] | [INFO] [stdout] 75 | fn ipv4<'a>() -> impl FnMut(&'a [u8]) -> Result<(&[u8], (u8,u8,u8,u8)), Err>> { [INFO] [stdout] | -- lifetime `'a` declared here ^ this elided lifetime gets resolved as `'a` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(elided_named_lifetimes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/packets/network/ip/ipv4.rs:75:83 [INFO] [stdout] | [INFO] [stdout] 75 | fn ipv4<'a>() -> impl FnMut(&'a [u8]) -> Result<(&[u8], (u8,u8,u8,u8)), Err>> { [INFO] [stdout] | -- lifetime `'a` declared here ^ this elided lifetime gets resolved as `'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/packets/network/ip/ipv4.rs:79:54 [INFO] [stdout] | [INFO] [stdout] 79 | fn checksum<'a>() -> impl FnMut(&'a [u8]) -> Result<(&[u8], u16), Err>> { [INFO] [stdout] | -- lifetime `'a` declared here ^ this elided lifetime gets resolved as `'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/packets/network/ip/ipv4.rs:79:77 [INFO] [stdout] | [INFO] [stdout] 79 | fn checksum<'a>() -> impl FnMut(&'a [u8]) -> Result<(&[u8], u16), Err>> { [INFO] [stdout] | -- lifetime `'a` declared here ^ this elided lifetime gets resolved as `'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/packets/network/ip/ipv4.rs:83:54 [INFO] [stdout] | [INFO] [stdout] 83 | fn protocol<'a>() -> impl FnMut(&'a [u8]) -> Result<(&[u8], u8), Err>> { [INFO] [stdout] | -- lifetime `'a` declared here ^ this elided lifetime gets resolved as `'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/packets/network/ip/ipv4.rs:83:76 [INFO] [stdout] | [INFO] [stdout] 83 | fn protocol<'a>() -> impl FnMut(&'a [u8]) -> Result<(&[u8], u8), Err>> { [INFO] [stdout] | -- lifetime `'a` declared here ^ this elided lifetime gets resolved as `'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/packets/network/ip/ipv4.rs:87:49 [INFO] [stdout] | [INFO] [stdout] 87 | fn ttl<'a>() -> impl FnMut(&'a [u8]) -> Result<(&[u8], u8), Err>> { [INFO] [stdout] | -- lifetime `'a` declared here ^ this elided lifetime gets resolved as `'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/packets/network/ip/ipv4.rs:87:71 [INFO] [stdout] | [INFO] [stdout] 87 | fn ttl<'a>() -> impl FnMut(&'a [u8]) -> Result<(&[u8], u8), Err>> { [INFO] [stdout] | -- lifetime `'a` declared here ^ this elided lifetime gets resolved as `'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/packets/network/ip/ipv4.rs:91:60 [INFO] [stdout] | [INFO] [stdout] 91 | fn identification<'a>() -> impl FnMut(&'a [u8]) -> Result<(&[u8], u16), Err>> { [INFO] [stdout] | -- lifetime `'a` declared here ^ this elided lifetime gets resolved as `'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/packets/network/ip/ipv4.rs:91:83 [INFO] [stdout] | [INFO] [stdout] 91 | fn identification<'a>() -> impl FnMut(&'a [u8]) -> Result<(&[u8], u16), Err>> { [INFO] [stdout] | -- lifetime `'a` declared here ^ this elided lifetime gets resolved as `'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/packets/network/ip/ipv4.rs:95:57 [INFO] [stdout] | [INFO] [stdout] 95 | fn version_ihl<'a>() -> impl FnMut(&'a [u8]) -> Result<(&[u8], (Version, u8)), Err>> { [INFO] [stdout] | -- lifetime `'a` declared here ^ this elided lifetime gets resolved as `'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/packets/network/ip/ipv4.rs:95:90 [INFO] [stdout] | [INFO] [stdout] 95 | fn version_ihl<'a>() -> impl FnMut(&'a [u8]) -> Result<(&[u8], (Version, u8)), Err>> { [INFO] [stdout] | -- lifetime `'a` declared here ^ this elided lifetime gets resolved as `'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/packets/network/ip/ipv4.rs:106:54 [INFO] [stdout] | [INFO] [stdout] 106 | fn hscp_enc<'a>() -> impl FnMut(&'a [u8]) -> Result<(&[u8], (u8, u8)), Err>> { [INFO] [stdout] | -- lifetime `'a` declared here ^ this elided lifetime gets resolved as `'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/packets/network/ip/ipv4.rs:106:82 [INFO] [stdout] | [INFO] [stdout] 106 | fn hscp_enc<'a>() -> impl FnMut(&'a [u8]) -> Result<(&[u8], (u8, u8)), Err>> { [INFO] [stdout] | -- lifetime `'a` declared here ^ this elided lifetime gets resolved as `'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/packets/network/ip/ipv4.rs:112:58 [INFO] [stdout] | [INFO] [stdout] 112 | fn total_length<'a>() -> impl FnMut(&'a [u8]) -> Result<(&[u8], u16), Err>> { [INFO] [stdout] | -- lifetime `'a` declared here ^ this elided lifetime gets resolved as `'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/packets/network/ip/ipv4.rs:112:81 [INFO] [stdout] | [INFO] [stdout] 112 | fn total_length<'a>() -> impl FnMut(&'a [u8]) -> Result<(&[u8], u16), Err>> { [INFO] [stdout] | -- lifetime `'a` declared here ^ this elided lifetime gets resolved as `'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/packets/network/ip/ipv4.rs:117:38 [INFO] [stdout] | [INFO] [stdout] 116 | fn flags_offset<'a>( [INFO] [stdout] | -- lifetime `'a` declared here [INFO] [stdout] 117 | ) -> impl FnMut(&'a [u8]) -> Result<(&[u8], ((bool, bool, bool), u16)), Err>> { [INFO] [stdout] | ^ this elided lifetime gets resolved as `'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/packets/network/ip/ipv4.rs:117:90 [INFO] [stdout] | [INFO] [stdout] 116 | fn flags_offset<'a>( [INFO] [stdout] | -- lifetime `'a` declared here [INFO] [stdout] 117 | ) -> impl FnMut(&'a [u8]) -> Result<(&[u8], ((bool, bool, bool), u16)), Err>> { [INFO] [stdout] | ^ this elided lifetime gets resolved as `'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking pnet_transport v0.34.0 [INFO] [stdout] warning: unused variable: `source` [INFO] [stdout] --> src/packets/network/ip.rs:12:14 [INFO] [stdout] | [INFO] [stdout] 12 | fn parse(source: &[u8]) -> anyhow::Result<(&[u8], Self)> [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_source` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 20 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `map` [INFO] [stdout] --> src/packets/network/ip/ipv4.rs:6:18 [INFO] [stdout] | [INFO] [stdout] 6 | combinator::{map, value, verify}, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/packets/network/ip/ipv4.rs:75:50 [INFO] [stdout] | [INFO] [stdout] 75 | fn ipv4<'a>() -> impl FnMut(&'a [u8]) -> Result<(&[u8], (u8,u8,u8,u8)), Err>> { [INFO] [stdout] | -- lifetime `'a` declared here ^ this elided lifetime gets resolved as `'a` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(elided_named_lifetimes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/packets/network/ip/ipv4.rs:75:83 [INFO] [stdout] | [INFO] [stdout] 75 | fn ipv4<'a>() -> impl FnMut(&'a [u8]) -> Result<(&[u8], (u8,u8,u8,u8)), Err>> { [INFO] [stdout] | -- lifetime `'a` declared here ^ this elided lifetime gets resolved as `'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/packets/network/ip/ipv4.rs:79:54 [INFO] [stdout] | [INFO] [stdout] 79 | fn checksum<'a>() -> impl FnMut(&'a [u8]) -> Result<(&[u8], u16), Err>> { [INFO] [stdout] | -- lifetime `'a` declared here ^ this elided lifetime gets resolved as `'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/packets/network/ip/ipv4.rs:79:77 [INFO] [stdout] | [INFO] [stdout] 79 | fn checksum<'a>() -> impl FnMut(&'a [u8]) -> Result<(&[u8], u16), Err>> { [INFO] [stdout] | -- lifetime `'a` declared here ^ this elided lifetime gets resolved as `'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/packets/network/ip/ipv4.rs:83:54 [INFO] [stdout] | [INFO] [stdout] 83 | fn protocol<'a>() -> impl FnMut(&'a [u8]) -> Result<(&[u8], u8), Err>> { [INFO] [stdout] | -- lifetime `'a` declared here ^ this elided lifetime gets resolved as `'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/packets/network/ip/ipv4.rs:83:76 [INFO] [stdout] | [INFO] [stdout] 83 | fn protocol<'a>() -> impl FnMut(&'a [u8]) -> Result<(&[u8], u8), Err>> { [INFO] [stdout] | -- lifetime `'a` declared here ^ this elided lifetime gets resolved as `'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/packets/network/ip/ipv4.rs:87:49 [INFO] [stdout] | [INFO] [stdout] 87 | fn ttl<'a>() -> impl FnMut(&'a [u8]) -> Result<(&[u8], u8), Err>> { [INFO] [stdout] | -- lifetime `'a` declared here ^ this elided lifetime gets resolved as `'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/packets/network/ip/ipv4.rs:87:71 [INFO] [stdout] | [INFO] [stdout] 87 | fn ttl<'a>() -> impl FnMut(&'a [u8]) -> Result<(&[u8], u8), Err>> { [INFO] [stdout] | -- lifetime `'a` declared here ^ this elided lifetime gets resolved as `'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/packets/network/ip/ipv4.rs:91:60 [INFO] [stdout] | [INFO] [stdout] 91 | fn identification<'a>() -> impl FnMut(&'a [u8]) -> Result<(&[u8], u16), Err>> { [INFO] [stdout] | -- lifetime `'a` declared here ^ this elided lifetime gets resolved as `'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/packets/network/ip/ipv4.rs:91:83 [INFO] [stdout] | [INFO] [stdout] 91 | fn identification<'a>() -> impl FnMut(&'a [u8]) -> Result<(&[u8], u16), Err>> { [INFO] [stdout] | -- lifetime `'a` declared here ^ this elided lifetime gets resolved as `'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/packets/network/ip/ipv4.rs:95:57 [INFO] [stdout] | [INFO] [stdout] 95 | fn version_ihl<'a>() -> impl FnMut(&'a [u8]) -> Result<(&[u8], (Version, u8)), Err>> { [INFO] [stdout] | -- lifetime `'a` declared here ^ this elided lifetime gets resolved as `'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/packets/network/ip/ipv4.rs:95:90 [INFO] [stdout] | [INFO] [stdout] 95 | fn version_ihl<'a>() -> impl FnMut(&'a [u8]) -> Result<(&[u8], (Version, u8)), Err>> { [INFO] [stdout] | -- lifetime `'a` declared here ^ this elided lifetime gets resolved as `'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/packets/network/ip/ipv4.rs:106:54 [INFO] [stdout] | [INFO] [stdout] 106 | fn hscp_enc<'a>() -> impl FnMut(&'a [u8]) -> Result<(&[u8], (u8, u8)), Err>> { [INFO] [stdout] | -- lifetime `'a` declared here ^ this elided lifetime gets resolved as `'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/packets/network/ip/ipv4.rs:106:82 [INFO] [stdout] | [INFO] [stdout] 106 | fn hscp_enc<'a>() -> impl FnMut(&'a [u8]) -> Result<(&[u8], (u8, u8)), Err>> { [INFO] [stdout] | -- lifetime `'a` declared here ^ this elided lifetime gets resolved as `'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/packets/network/ip/ipv4.rs:112:58 [INFO] [stdout] | [INFO] [stdout] 112 | fn total_length<'a>() -> impl FnMut(&'a [u8]) -> Result<(&[u8], u16), Err>> { [INFO] [stdout] | -- lifetime `'a` declared here ^ this elided lifetime gets resolved as `'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/packets/network/ip/ipv4.rs:112:81 [INFO] [stdout] | [INFO] [stdout] 112 | fn total_length<'a>() -> impl FnMut(&'a [u8]) -> Result<(&[u8], u16), Err>> { [INFO] [stdout] | -- lifetime `'a` declared here ^ this elided lifetime gets resolved as `'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/packets/network/ip/ipv4.rs:117:38 [INFO] [stdout] | [INFO] [stdout] 116 | fn flags_offset<'a>( [INFO] [stdout] | -- lifetime `'a` declared here [INFO] [stdout] 117 | ) -> impl FnMut(&'a [u8]) -> Result<(&[u8], ((bool, bool, bool), u16)), Err>> { [INFO] [stdout] | ^ this elided lifetime gets resolved as `'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/packets/network/ip/ipv4.rs:117:90 [INFO] [stdout] | [INFO] [stdout] 116 | fn flags_offset<'a>( [INFO] [stdout] | -- lifetime `'a` declared here [INFO] [stdout] 117 | ) -> impl FnMut(&'a [u8]) -> Result<(&[u8], ((bool, bool, bool), u16)), Err>> { [INFO] [stdout] | ^ this elided lifetime gets resolved as `'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `source` [INFO] [stdout] --> src/packets/network/ip.rs:12:14 [INFO] [stdout] | [INFO] [stdout] 12 | fn parse(source: &[u8]) -> anyhow::Result<(&[u8], Self)> [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_source` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 20 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 16.22s [INFO] running `Command { std: "docker" "inspect" "047e0211386fef1a2cc748726ff09ba7155f8c463f35dccf7f965d0a1d944fe3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "047e0211386fef1a2cc748726ff09ba7155f8c463f35dccf7f965d0a1d944fe3", kill_on_drop: false }` [INFO] [stdout] 047e0211386fef1a2cc748726ff09ba7155f8c463f35dccf7f965d0a1d944fe3