[INFO] cloning repository https://github.com/AddrMiner/Pmap [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/AddrMiner/Pmap" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAddrMiner%2FPmap", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAddrMiner%2FPmap'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] fea7264fd14a1e96e222eaa64fc91c70d1f91413 [INFO] building AddrMiner/Pmap against master#ad85bc524b1ad696e42061ad8338d382dffbdbe5 for pr-146237-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAddrMiner%2FPmap" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/AddrMiner/Pmap [INFO] finished tweaking git repo https://github.com/AddrMiner/Pmap [INFO] tweaked toml for git repo https://github.com/AddrMiner/Pmap written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/AddrMiner/Pmap on toolchain ad85bc524b1ad696e42061ad8338d382dffbdbe5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/AddrMiner/Pmap 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" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded configparser v3.0.4 [INFO] [stderr] Downloaded memalloc v0.1.0 [INFO] [stderr] Downloaded default-net v0.18.0 [INFO] [stderr] Downloaded netlink-sys v0.8.6 [INFO] [stderr] Downloaded enum-as-inner v0.6.0 [INFO] [stderr] Downloaded pcap v2.0.0 [INFO] [stderr] Downloaded syn v2.0.61 [INFO] [stderr] Downloaded trust-dns-resolver v0.23.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e0d649d889a3662f25eea5e1022c86cbedf6f4f4030fc767e2f72cb96d65486e [INFO] running `Command { std: "docker" "start" "-a" "e0d649d889a3662f25eea5e1022c86cbedf6f4f4030fc767e2f72cb96d65486e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e0d649d889a3662f25eea5e1022c86cbedf6f4f4030fc767e2f72cb96d65486e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e0d649d889a3662f25eea5e1022c86cbedf6f4f4030fc767e2f72cb96d65486e", kill_on_drop: false }` [INFO] [stdout] e0d649d889a3662f25eea5e1022c86cbedf6f4f4030fc767e2f72cb96d65486e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3d221b222833451d8482e0d713848fa3e54d8725868084612099eaa0696d7124 [INFO] running `Command { std: "docker" "start" "-a" "3d221b222833451d8482e0d713848fa3e54d8725868084612099eaa0696d7124", kill_on_drop: false }` [INFO] [stderr] Compiling memchr v2.7.2 [INFO] [stderr] Compiling serde v1.0.201 [INFO] [stderr] Compiling regex-syntax v0.8.3 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling utf8parse v0.2.1 [INFO] [stderr] Compiling syn v2.0.61 [INFO] [stderr] Compiling libloading v0.8.3 [INFO] [stderr] Compiling is_terminal_polyfill v1.70.0 [INFO] [stderr] Compiling match_cfg v0.1.0 [INFO] [stderr] Compiling anstyle-query v1.0.3 [INFO] [stderr] Compiling destructure_traitobject v0.2.0 [INFO] [stderr] Compiling anstyle v1.0.7 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling colorchoice v1.0.1 [INFO] [stderr] Compiling tokio v1.37.0 [INFO] [stderr] Compiling parking_lot v0.12.2 [INFO] [stderr] Compiling hostname v0.3.1 [INFO] [stderr] Compiling unsafe-any-ors v1.0.0 [INFO] [stderr] Compiling futures-util v0.3.30 [INFO] [stderr] Compiling inout v0.1.3 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling anstyle-parse v0.2.4 [INFO] [stderr] Compiling ordered-float v2.10.1 [INFO] [stderr] Compiling futures-channel v0.3.30 [INFO] [stderr] Compiling idna v0.4.0 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling quick-error v1.2.3 [INFO] [stderr] Compiling anstream v0.6.14 [INFO] [stderr] Compiling linked-hash-map v0.5.6 [INFO] [stderr] Compiling clap_lex v0.7.0 [INFO] [stderr] Compiling unsafe-libyaml v0.2.11 [INFO] [stderr] Compiling chrono v0.4.38 [INFO] [stderr] Compiling resolv-conf v0.7.0 [INFO] [stderr] Compiling lru-cache v0.1.2 [INFO] [stderr] Compiling cipher v0.4.4 [INFO] [stderr] Compiling typemap-ors v1.0.0 [INFO] [stderr] Compiling clap_builder v4.5.2 [INFO] [stderr] Compiling errno v0.2.8 [INFO] [stderr] Compiling thread-id v4.2.1 [INFO] [stderr] Compiling log-mdc v0.1.0 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling csv-core v0.1.11 [INFO] [stderr] Compiling aes v0.8.4 [INFO] [stderr] Compiling num-bigint v0.4.5 [INFO] [stderr] Compiling default-net v0.18.0 [INFO] [stderr] Compiling configparser v3.0.4 [INFO] [stderr] Compiling regex-automata v0.4.6 [INFO] [stderr] Compiling derivative v2.2.0 [INFO] [stderr] Compiling serde_derive v1.0.201 [INFO] [stderr] Compiling thiserror-impl v1.0.60 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling enum-as-inner v0.6.0 [INFO] [stderr] Compiling async-trait v0.1.80 [INFO] [stderr] Compiling clap_derive v4.5.4 [INFO] [stderr] Compiling regex v1.10.4 [INFO] [stderr] Compiling pcap v2.0.0 [INFO] [stderr] Compiling thiserror v1.0.60 [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Compiling trust-dns-proto v0.23.2 [INFO] [stderr] Compiling clap v4.5.4 [INFO] [stderr] Compiling trust-dns-resolver v0.23.2 [INFO] [stderr] Compiling log v0.4.21 [INFO] [stderr] Compiling serde_json v1.0.117 [INFO] [stderr] Compiling serde_yaml v0.9.34+deprecated [INFO] [stderr] Compiling serde-value v0.7.0 [INFO] [stderr] Compiling csv v1.3.0 [INFO] [stderr] Compiling log4rs v1.3.0 [INFO] [stderr] Compiling smap v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: fields `source_interface_v4` and `source_interface_v6` are never read [INFO] [stdout] --> src/core/conf/set_conf/sender_conf.rs:29:9 [INFO] [stdout] | [INFO] [stdout] 25 | pub struct SenderBaseConf { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 29 | pub source_interface_v4:Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 30 | pub source_addrs_v4:Vec>, [INFO] [stdout] 31 | pub source_interface_v6:Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `local_ipv4_net`, `local_ipv6_net`, `receive_speed`, and `transmit_speed` are never read [INFO] [stdout] --> src/core/conf/tools/net/interface.rs:26:9 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct InterfaceConf { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 26 | pub local_ipv4_net:Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 29 | pub local_ipv6_net:Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 32 | pub receive_speed:Option, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 33 | pub transmit_speed:Option [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `conf` is never read [INFO] [stdout] --> src/modules/output_modules/mod.rs:78:9 [INFO] [stdout] | [INFO] [stdout] 72 | pub struct OutputMod { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 78 | pub conf:Option, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `conf` is never read [INFO] [stdout] --> src/modules/probe_modules/active_probe_ipv6_code/mod.rs:81:9 [INFO] [stdout] | [INFO] [stdout] 71 | pub struct CodeProbeModV6 { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 81 | pub conf:Option, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/tools/net_handle/packet/v6/packet_v6.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct Ipv6Packet { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 5 | [INFO] [stdout] 6 | pub traffic_class:u8, // 通信类型 [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 7 | pub flow_label:u32, // 流标签 [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 8 | pub payload_len:u16, // 载荷长度 [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 9 | pub next_header:u8, // 下一头部 [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 10 | pub hop_limit:u8, // 跳数限制 [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 11 | [INFO] [stdout] 12 | pub source_addr:Ipv6Addr, // 源地址 [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 13 | pub dest_addr:Ipv6Addr, // 目的地址 [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Ipv6Packet` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `sequence_number` is never read [INFO] [stdout] --> src/tools/net_handle/packet/v6/icmp_v6/mod.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct IcmpV6Packet { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 19 | pub sequence_number:u16, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `IcmpV6Packet` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `sport`, `dport`, `len`, and `check_sum` are never read [INFO] [stdout] --> src/tools/net_handle/packet/udp/mod.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct UdpPacket { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 7 | [INFO] [stdout] 8 | pub sport:u16, // 源端口 [INFO] [stdout] | ^^^^^ [INFO] [stdout] 9 | pub dport:u16, // 目的端口 [INFO] [stdout] | ^^^^^ [INFO] [stdout] 10 | pub len:u16, // UDP用户数据报的长度,其最小值是8(仅有首部) [INFO] [stdout] | ^^^ [INFO] [stdout] 11 | pub check_sum:u16, // 校验和 [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 47.63s [INFO] running `Command { std: "docker" "inspect" "3d221b222833451d8482e0d713848fa3e54d8725868084612099eaa0696d7124", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3d221b222833451d8482e0d713848fa3e54d8725868084612099eaa0696d7124", kill_on_drop: false }` [INFO] [stdout] 3d221b222833451d8482e0d713848fa3e54d8725868084612099eaa0696d7124 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5202a407061e70659e88cb9319c5b9bbf66ec36b4e231a58a740ab9f4942bd95 [INFO] running `Command { std: "docker" "start" "-a" "5202a407061e70659e88cb9319c5b9bbf66ec36b4e231a58a740ab9f4942bd95", kill_on_drop: false }` [INFO] [stderr] Compiling smap v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: fields `source_interface_v4` and `source_interface_v6` are never read [INFO] [stdout] --> src/core/conf/set_conf/sender_conf.rs:29:9 [INFO] [stdout] | [INFO] [stdout] 25 | pub struct SenderBaseConf { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 29 | pub source_interface_v4:Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 30 | pub source_addrs_v4:Vec>, [INFO] [stdout] 31 | pub source_interface_v6:Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `local_ipv4_net`, `local_ipv6_net`, `receive_speed`, and `transmit_speed` are never read [INFO] [stdout] --> src/core/conf/tools/net/interface.rs:26:9 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct InterfaceConf { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 26 | pub local_ipv4_net:Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 29 | pub local_ipv6_net:Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 32 | pub receive_speed:Option, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 33 | pub transmit_speed:Option [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `conf` is never read [INFO] [stdout] --> src/modules/output_modules/mod.rs:78:9 [INFO] [stdout] | [INFO] [stdout] 72 | pub struct OutputMod { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 78 | pub conf:Option, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `conf` is never read [INFO] [stdout] --> src/modules/probe_modules/active_probe_ipv6_code/mod.rs:81:9 [INFO] [stdout] | [INFO] [stdout] 71 | pub struct CodeProbeModV6 { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 81 | pub conf:Option, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/tools/net_handle/packet/v6/packet_v6.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct Ipv6Packet { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 5 | [INFO] [stdout] 6 | pub traffic_class:u8, // 通信类型 [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 7 | pub flow_label:u32, // 流标签 [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 8 | pub payload_len:u16, // 载荷长度 [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 9 | pub next_header:u8, // 下一头部 [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 10 | pub hop_limit:u8, // 跳数限制 [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 11 | [INFO] [stdout] 12 | pub source_addr:Ipv6Addr, // 源地址 [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 13 | pub dest_addr:Ipv6Addr, // 目的地址 [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Ipv6Packet` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `sequence_number` is never read [INFO] [stdout] --> src/tools/net_handle/packet/v6/icmp_v6/mod.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct IcmpV6Packet { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 19 | pub sequence_number:u16, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `IcmpV6Packet` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `sport`, `dport`, `len`, and `check_sum` are never read [INFO] [stdout] --> src/tools/net_handle/packet/udp/mod.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct UdpPacket { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 7 | [INFO] [stdout] 8 | pub sport:u16, // 源端口 [INFO] [stdout] | ^^^^^ [INFO] [stdout] 9 | pub dport:u16, // 目的端口 [INFO] [stdout] | ^^^^^ [INFO] [stdout] 10 | pub len:u16, // UDP用户数据报的长度,其最小值是8(仅有首部) [INFO] [stdout] | ^^^ [INFO] [stdout] 11 | pub check_sum:u16, // 校验和 [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 3.66s [INFO] running `Command { std: "docker" "inspect" "5202a407061e70659e88cb9319c5b9bbf66ec36b4e231a58a740ab9f4942bd95", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5202a407061e70659e88cb9319c5b9bbf66ec36b4e231a58a740ab9f4942bd95", kill_on_drop: false }` [INFO] [stdout] 5202a407061e70659e88cb9319c5b9bbf66ec36b4e231a58a740ab9f4942bd95