[INFO] cloning repository https://github.com/gmsoft-tuxicoman/rustcpdump [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/gmsoft-tuxicoman/rustcpdump" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgmsoft-tuxicoman%2Frustcpdump", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgmsoft-tuxicoman%2Frustcpdump'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 53fcadf7c7f3a5d2a19a6b34fcff686a64658d70 [INFO] checking gmsoft-tuxicoman/rustcpdump against master#f7b43542838f0a4a6cfdb17fbeadf45002042a77 for pr-138499 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgmsoft-tuxicoman%2Frustcpdump" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/gmsoft-tuxicoman/rustcpdump on toolchain f7b43542838f0a4a6cfdb17fbeadf45002042a77 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f7b43542838f0a4a6cfdb17fbeadf45002042a77" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/gmsoft-tuxicoman/rustcpdump [INFO] finished tweaking git repo https://github.com/gmsoft-tuxicoman/rustcpdump [INFO] tweaked toml for git repo https://github.com/gmsoft-tuxicoman/rustcpdump written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/gmsoft-tuxicoman/rustcpdump 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" "+f7b43542838f0a4a6cfdb17fbeadf45002042a77" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded pcap v2.0.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:1680c8fbd8dfb46fcd6d22e546df16ab0e007457dc29fcd9e987cdd5077fd1af" "/opt/rustwide/cargo-home/bin/cargo" "+f7b43542838f0a4a6cfdb17fbeadf45002042a77" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b35dc1bbd16161369bf2f53514e2d1f5a11061dff0ee37fc694dc3691f5a6542 [INFO] running `Command { std: "docker" "start" "-a" "b35dc1bbd16161369bf2f53514e2d1f5a11061dff0ee37fc694dc3691f5a6542", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b35dc1bbd16161369bf2f53514e2d1f5a11061dff0ee37fc694dc3691f5a6542", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b35dc1bbd16161369bf2f53514e2d1f5a11061dff0ee37fc694dc3691f5a6542", kill_on_drop: false }` [INFO] [stdout] b35dc1bbd16161369bf2f53514e2d1f5a11061dff0ee37fc694dc3691f5a6542 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:1680c8fbd8dfb46fcd6d22e546df16ab0e007457dc29fcd9e987cdd5077fd1af" "/opt/rustwide/cargo-home/bin/cargo" "+f7b43542838f0a4a6cfdb17fbeadf45002042a77" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e915eceb965e8950def77c2fd6bcc860d55c7bb0b1b97cdd7015a0aa0c7ba750 [INFO] running `Command { std: "docker" "start" "-a" "e915eceb965e8950def77c2fd6bcc860d55c7bb0b1b97cdd7015a0aa0c7ba750", kill_on_drop: false }` [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling regex-syntax v0.8.4 [INFO] [stderr] Compiling libc v0.2.155 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling pkg-config v0.3.30 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Checking unicode-width v0.1.13 [INFO] [stderr] Compiling libloading v0.8.5 [INFO] [stderr] Checking getopts v0.2.21 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Checking errno v0.2.8 [INFO] [stderr] Compiling regex-automata v0.4.7 [INFO] [stderr] Compiling regex v1.10.6 [INFO] [stderr] Compiling pcap v2.0.0 [INFO] [stderr] Checking rustcpdump v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/proto.rs:101:111 [INFO] [stdout] | [INFO] [stdout] 101 | pub fn get_next_proto<'a>(t: ProtoNumberType, num: u32, pload: &'a [u8]) -> Result, &str> { [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/proto.rs:101:111 [INFO] [stdout] | [INFO] [stdout] 101 | pub fn get_next_proto<'a>(t: ProtoNumberType, num: u32, pload: &'a [u8]) -> Result, &str> { [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: unused variable: `prev_layer` [INFO] [stdout] --> src/proto/ethernet.rs:71:25 [INFO] [stdout] | [INFO] [stdout] 71 | fn print<'b>(&self, prev_layer: Option<&'b Box>) { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_prev_layer` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `prev_layer` [INFO] [stdout] --> src/proto/ipv4.rs:57:25 [INFO] [stdout] | [INFO] [stdout] 57 | fn print<'b>(&self, prev_layer: Option<&'b Box>) { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_prev_layer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `len` [INFO] [stdout] --> src/proto/udp.rs:40:13 [INFO] [stdout] | [INFO] [stdout] 40 | let len : u16 = (self.pload[4] as u16) << 8 | (self.pload[5] as u16); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_len` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `prev_layer` [INFO] [stdout] --> src/proto/udp.rs:51:25 [INFO] [stdout] | [INFO] [stdout] 51 | fn print<'b>(&self, prev_layer: Option<&'b Box>) { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_prev_layer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `prev_layer` [INFO] [stdout] --> src/proto/ethernet.rs:71:25 [INFO] [stdout] | [INFO] [stdout] 71 | fn print<'b>(&self, prev_layer: Option<&'b Box>) { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_prev_layer` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_u32`, `get_u64`, and `get_str` are never used [INFO] [stdout] --> src/proto.rs:67:8 [INFO] [stdout] | [INFO] [stdout] 53 | impl<'a> ProtoField<'a> { [INFO] [stdout] | ----------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 67 | fn get_u32(&self) -> u32 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 73 | fn get_u64(&self) -> u64 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 79 | fn get_str(&self) -> &str { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `prev_layer` [INFO] [stdout] --> src/proto/ipv4.rs:57:25 [INFO] [stdout] | [INFO] [stdout] 57 | fn print<'b>(&self, prev_layer: Option<&'b Box>) { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_prev_layer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `len` [INFO] [stdout] --> src/proto/udp.rs:40:13 [INFO] [stdout] | [INFO] [stdout] 40 | let len : u16 = (self.pload[4] as u16) << 8 | (self.pload[5] as u16); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_len` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `prev_layer` [INFO] [stdout] --> src/proto/udp.rs:51:25 [INFO] [stdout] | [INFO] [stdout] 51 | fn print<'b>(&self, prev_layer: Option<&'b Box>) { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_prev_layer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_u32`, `get_u64`, and `get_str` are never used [INFO] [stdout] --> src/proto.rs:67:8 [INFO] [stdout] | [INFO] [stdout] 53 | impl<'a> ProtoField<'a> { [INFO] [stdout] | ----------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 67 | fn get_u32(&self) -> u32 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 73 | fn get_u64(&self) -> u64 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 79 | fn get_str(&self) -> &str { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 8.90s [INFO] running `Command { std: "docker" "inspect" "e915eceb965e8950def77c2fd6bcc860d55c7bb0b1b97cdd7015a0aa0c7ba750", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e915eceb965e8950def77c2fd6bcc860d55c7bb0b1b97cdd7015a0aa0c7ba750", kill_on_drop: false }` [INFO] [stdout] e915eceb965e8950def77c2fd6bcc860d55c7bb0b1b97cdd7015a0aa0c7ba750