[INFO] fetching crate netscan 0.28.0... [INFO] checking netscan-0.28.0 against master#ab869e094a907cc5d19b4080f22eccaf347f1f95 for pr-129604 [INFO] extracting crate netscan 0.28.0 into /workspace/builds/worker-6-tc1/source [INFO] validating manifest of crates.io crate netscan 0.28.0 on toolchain ab869e094a907cc5d19b4080f22eccaf347f1f95 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate netscan 0.28.0 [INFO] removed 0 missing examples [INFO] finished tweaking crates.io crate netscan 0.28.0 [INFO] tweaked toml for crates.io crate netscan 0.28.0 written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] crate crates.io crate netscan 0.28.0 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" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded netdev v0.26.0 [INFO] [stderr] Downloaded nex v0.10.0 [INFO] [stderr] Downloaded nex-core v0.10.0 [INFO] [stderr] Downloaded nex-macro v0.10.0 [INFO] [stderr] Downloaded nex-datalink v0.10.0 [INFO] [stderr] Downloaded nex-packet-builder v0.10.0 [INFO] [stderr] Downloaded nex-packet v0.10.0 [INFO] [stderr] Downloaded nex-socket v0.10.0 [INFO] [stderr] Downloaded nex-sys v0.10.0 [INFO] [stderr] Downloaded nex-macro-helper v0.10.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 560fa62440e97df9c85d24ac810666302e20fa2f8b86dbe1abf5dcd6b97a752d [INFO] running `Command { std: "docker" "start" "-a" "560fa62440e97df9c85d24ac810666302e20fa2f8b86dbe1abf5dcd6b97a752d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "560fa62440e97df9c85d24ac810666302e20fa2f8b86dbe1abf5dcd6b97a752d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "560fa62440e97df9c85d24ac810666302e20fa2f8b86dbe1abf5dcd6b97a752d", kill_on_drop: false }` [INFO] [stdout] 560fa62440e97df9c85d24ac810666302e20fa2f8b86dbe1abf5dcd6b97a752d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6ccb0b45db6dd1ed4049353f833e05f6ce336bb608588bd2ab01be4691839c7a [INFO] running `Command { std: "docker" "start" "-a" "6ccb0b45db6dd1ed4049353f833e05f6ce336bb608588bd2ab01be4691839c7a", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.82 [INFO] [stderr] Compiling dunce v1.0.4 [INFO] [stderr] Compiling fs_extra v1.3.0 [INFO] [stderr] Checking futures-io v0.3.30 [INFO] [stderr] Compiling crossbeam-utils v0.8.19 [INFO] [stderr] Compiling memchr v2.7.2 [INFO] [stderr] Compiling libc v0.2.155 [INFO] [stderr] Compiling aws-lc-rs v1.7.1 [INFO] [stderr] Compiling regex-syntax v0.8.3 [INFO] [stderr] Compiling rustix v0.38.34 [INFO] [stderr] Checking netdev v0.26.0 [INFO] [stderr] Checking unicode-normalization v0.1.23 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking socket2 v0.5.7 [INFO] [stderr] Checking zeroize v1.7.0 [INFO] [stderr] Checking mirai-annotations v1.12.0 [INFO] [stderr] Checking bitflags v2.5.0 [INFO] [stderr] Checking linux-raw-sys v0.4.14 [INFO] [stderr] Checking base64 v0.22.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Compiling thiserror v1.0.61 [INFO] [stderr] Checking nex-core v0.10.0 [INFO] [stderr] Compiling rustls v0.23.7 [INFO] [stderr] Checking fastrand v2.1.0 [INFO] [stderr] Checking nex-macro-helper v0.10.0 [INFO] [stderr] Checking mio v0.8.11 [INFO] [stderr] Checking openssl-probe v0.1.5 [INFO] [stderr] Checking bytes v1.6.0 [INFO] [stderr] Checking rustls-pemfile v2.1.2 [INFO] [stderr] Checking futures-lite v2.3.0 [INFO] [stderr] Checking match_cfg v0.1.0 [INFO] [stderr] Checking log v0.4.21 [INFO] [stderr] Checking concurrent-queue v2.5.0 [INFO] [stderr] Checking subtle v2.5.0 [INFO] [stderr] Checking rustls-native-certs v0.7.0 [INFO] [stderr] Checking parking_lot_core v0.9.10 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Checking hostname v0.3.1 [INFO] [stderr] Checking nex-sys v0.10.0 [INFO] [stderr] Checking event-listener v4.0.3 [INFO] [stderr] Checking data-encoding v2.6.0 [INFO] [stderr] Checking quick-error v1.2.3 [INFO] [stderr] Compiling jobserver v0.1.31 [INFO] [stderr] Checking idna v0.5.0 [INFO] [stderr] Checking idna v0.4.0 [INFO] [stderr] Checking linked-hash-map v0.5.6 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Checking resolv-conf v0.7.0 [INFO] [stderr] Checking tokio v1.37.0 [INFO] [stderr] Checking nex-datalink v0.10.0 [INFO] [stderr] Checking parking_lot v0.12.2 [INFO] [stderr] Checking event-listener-strategy v0.4.0 [INFO] [stderr] Checking lru-cache v0.1.2 [INFO] [stderr] Compiling syn v2.0.64 [INFO] [stderr] Checking async-lock v3.3.0 [INFO] [stderr] Compiling cc v1.0.98 [INFO] [stderr] Checking url v2.5.0 [INFO] [stderr] Compiling cmake v0.1.50 [INFO] [stderr] Compiling aws-lc-sys v0.16.0 [INFO] [stderr] Compiling regex-automata v0.4.6 [INFO] [stderr] Compiling regex v1.10.4 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Compiling nex-macro v0.10.0 [INFO] [stderr] Compiling thiserror-impl v1.0.61 [INFO] [stderr] Compiling enum-as-inner v0.6.0 [INFO] [stderr] Compiling async-trait v0.1.80 [INFO] [stderr] Compiling phf_macros v0.11.2 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Checking phf v0.11.2 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Checking nex-packet v0.10.0 [INFO] [stderr] Checking polling v3.7.0 [INFO] [stderr] Checking async-io v2.3.2 [INFO] [stderr] Checking futures-executor v0.3.30 [INFO] [stderr] Checking hickory-proto v0.24.1 [INFO] [stderr] Checking futures v0.3.30 [INFO] [stderr] Checking nex-packet-builder v0.10.0 [INFO] [stderr] Checking rustls-webpki v0.102.4 [INFO] [stderr] Checking hickory-resolver v0.24.1 [INFO] [stderr] Checking nex-socket v0.10.0 [INFO] [stderr] Checking nex v0.10.0 [INFO] [stderr] Checking netscan v0.28.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: field `payload` is never read [INFO] [stdout] --> src/packet/setting.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct PacketBuildSetting { [INFO] [stdout] | ------------------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 13 | pub payload: Vec, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PacketBuildSetting` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `interface_index`, `read_timeout`, `promiscuous`, and `receive_undefined` are never read [INFO] [stdout] --> src/pcap/mod.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 16 | pub struct PacketCaptureOptions { [INFO] [stdout] | -------------------- fields in this struct [INFO] [stdout] 17 | /// Interface index [INFO] [stdout] 18 | pub interface_index: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 34 | pub read_timeout: Duration, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 35 | /// Capture in promiscuous mode [INFO] [stdout] 36 | pub promiscuous: bool, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 37 | /// Receive undefined packets [INFO] [stdout] 38 | pub receive_undefined: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PacketCaptureOptions` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/pcap/setting.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct PacketCaptureSetting { [INFO] [stdout] | -------------------- fields in this struct [INFO] [stdout] 10 | /// Interface index [INFO] [stdout] 11 | pub interface_index: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 12 | /// Source IP addresses to filter. If empty, all source IP addresses will be captured [INFO] [stdout] 13 | pub src_ips: HashSet, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 14 | /// Destination IP addresses to filter. If empty, all destination IP addresses will be captured [INFO] [stdout] 15 | pub dst_ips: HashSet, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 16 | /// Source ports to filter. If empty, all source ports will be captured [INFO] [stdout] 17 | pub src_ports: HashSet, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 18 | /// Destination ports to filter. If empty, all destination ports will be captured [INFO] [stdout] 19 | pub dst_ports: HashSet, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 20 | /// Ether types to filter. If empty, all ether types will be captured [INFO] [stdout] 21 | pub ether_types: HashSet, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 22 | /// IP protocols to filter. If empty, all IP protocols will be captured [INFO] [stdout] 23 | pub ip_protocols: HashSet, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 24 | /// Capture duration limit [INFO] [stdout] 25 | pub capture_timeout: Duration, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 26 | /// Read Timeout for read next packet (Linux, BPF only) [INFO] [stdout] 27 | pub read_timeout: Duration, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 28 | /// Capture in promiscuous mode [INFO] [stdout] 29 | pub promiscuous: bool, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 30 | /// Receive undefined packets [INFO] [stdout] 31 | pub receive_undefined: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 32 | /// Use TUN interface [INFO] [stdout] 33 | pub tunnel: bool, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 34 | /// Use Loopback interface [INFO] [stdout] 35 | pub loopback: bool, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PacketCaptureSetting` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `payload` is never read [INFO] [stdout] --> src/packet/setting.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct PacketBuildSetting { [INFO] [stdout] | ------------------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 13 | pub payload: Vec, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PacketBuildSetting` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `interface_index`, `read_timeout`, `promiscuous`, and `receive_undefined` are never read [INFO] [stdout] --> src/pcap/mod.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 16 | pub struct PacketCaptureOptions { [INFO] [stdout] | -------------------- fields in this struct [INFO] [stdout] 17 | /// Interface index [INFO] [stdout] 18 | pub interface_index: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 34 | pub read_timeout: Duration, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 35 | /// Capture in promiscuous mode [INFO] [stdout] 36 | pub promiscuous: bool, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 37 | /// Receive undefined packets [INFO] [stdout] 38 | pub receive_undefined: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PacketCaptureOptions` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/pcap/setting.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct PacketCaptureSetting { [INFO] [stdout] | -------------------- fields in this struct [INFO] [stdout] 10 | /// Interface index [INFO] [stdout] 11 | pub interface_index: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 12 | /// Source IP addresses to filter. If empty, all source IP addresses will be captured [INFO] [stdout] 13 | pub src_ips: HashSet, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 14 | /// Destination IP addresses to filter. If empty, all destination IP addresses will be captured [INFO] [stdout] 15 | pub dst_ips: HashSet, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 16 | /// Source ports to filter. If empty, all source ports will be captured [INFO] [stdout] 17 | pub src_ports: HashSet, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 18 | /// Destination ports to filter. If empty, all destination ports will be captured [INFO] [stdout] 19 | pub dst_ports: HashSet, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 20 | /// Ether types to filter. If empty, all ether types will be captured [INFO] [stdout] 21 | pub ether_types: HashSet, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 22 | /// IP protocols to filter. If empty, all IP protocols will be captured [INFO] [stdout] 23 | pub ip_protocols: HashSet, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 24 | /// Capture duration limit [INFO] [stdout] 25 | pub capture_timeout: Duration, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 26 | /// Read Timeout for read next packet (Linux, BPF only) [INFO] [stdout] 27 | pub read_timeout: Duration, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 28 | /// Capture in promiscuous mode [INFO] [stdout] 29 | pub promiscuous: bool, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 30 | /// Receive undefined packets [INFO] [stdout] 31 | pub receive_undefined: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 32 | /// Use TUN interface [INFO] [stdout] 33 | pub tunnel: bool, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 34 | /// Use Loopback interface [INFO] [stdout] 35 | pub loopback: bool, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PacketCaptureSetting` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 25.17s [INFO] running `Command { std: "docker" "inspect" "6ccb0b45db6dd1ed4049353f833e05f6ce336bb608588bd2ab01be4691839c7a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6ccb0b45db6dd1ed4049353f833e05f6ce336bb608588bd2ab01be4691839c7a", kill_on_drop: false }` [INFO] [stdout] 6ccb0b45db6dd1ed4049353f833e05f6ce336bb608588bd2ab01be4691839c7a