[INFO] cloning repository https://github.com/maxfischer2781/xrootd-streammon [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/maxfischer2781/xrootd-streammon" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmaxfischer2781%2Fxrootd-streammon", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmaxfischer2781%2Fxrootd-streammon'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] f24d2125b2374b73fa65541b84f55616d364a6d8 [INFO] checking maxfischer2781/xrootd-streammon against master#ceab6128fa48a616bfd3e3adf4bc80133b8ee223 for no-never-type-fallback [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmaxfischer2781%2Fxrootd-streammon" "/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/maxfischer2781/xrootd-streammon on toolchain ceab6128fa48a616bfd3e3adf4bc80133b8ee223 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ceab6128fa48a616bfd3e3adf4bc80133b8ee223" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/maxfischer2781/xrootd-streammon [INFO] finished tweaking git repo https://github.com/maxfischer2781/xrootd-streammon [INFO] tweaked toml for git repo https://github.com/maxfischer2781/xrootd-streammon written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/maxfischer2781/xrootd-streammon 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" "+ceab6128fa48a616bfd3e3adf4bc80133b8ee223" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded binread v1.4.1 [INFO] [stderr] Downloaded ascii v1.0.0 [INFO] [stderr] Downloaded binread_derive v1.4.3 [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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+ceab6128fa48a616bfd3e3adf4bc80133b8ee223" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8ea7b45ce8fb8f7934af0942c5bececf3a2d2751fa7c45811cf011ea1b3c2803 [INFO] running `Command { std: "docker" "start" "-a" "8ea7b45ce8fb8f7934af0942c5bececf3a2d2751fa7c45811cf011ea1b3c2803", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8ea7b45ce8fb8f7934af0942c5bececf3a2d2751fa7c45811cf011ea1b3c2803", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8ea7b45ce8fb8f7934af0942c5bececf3a2d2751fa7c45811cf011ea1b3c2803", kill_on_drop: false }` [INFO] [stdout] 8ea7b45ce8fb8f7934af0942c5bececf3a2d2751fa7c45811cf011ea1b3c2803 [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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+ceab6128fa48a616bfd3e3adf4bc80133b8ee223" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d446f634a5f85dba879ef89f97a8890d51b764ec4b56a0b6c04d954b7f9c2dc7 [INFO] running `Command { std: "docker" "start" "-a" "d446f634a5f85dba879ef89f97a8890d51b764ec4b56a0b6c04d954b7f9c2dc7", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling syn v1.0.60 [INFO] [stderr] Compiling serde v1.0.123 [INFO] [stderr] Checking ascii v1.0.0 [INFO] [stderr] Compiling quote v1.0.8 [INFO] [stderr] Compiling toml v0.5.8 [INFO] [stderr] Compiling proc-macro-crate v0.1.5 [INFO] [stderr] Compiling binread_derive v1.4.3 [INFO] [stderr] Compiling num_enum_derive v0.5.1 [INFO] [stderr] Compiling derivative v2.2.0 [INFO] [stderr] Checking num_enum v0.5.1 [INFO] [stderr] Checking binread v1.4.1 [INFO] [stderr] Checking xrdsmon v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: enum `Packet` is never used [INFO] [stdout] --> src/mon_packets/mod.rs:9:6 [INFO] [stdout] | [INFO] [stdout] 9 | enum Packet { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `from_data` is never used [INFO] [stdout] --> src/mon_packets/mod.rs:16:8 [INFO] [stdout] | [INFO] [stdout] 14 | impl Packet { [INFO] [stdout] | ----------- associated function in this implementation [INFO] [stdout] 15 | /// Load a packet from binary data provided by a `reader` [INFO] [stdout] 16 | fn from_data(reader: &mut R) -> XrdParseResult { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `pseq` and `stod` are never read [INFO] [stdout] --> src/mon_packets/mon_head.rs:33:9 [INFO] [stdout] | [INFO] [stdout] 30 | pub struct Header { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] ... [INFO] [stdout] 33 | pub pseq: u8, [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 37 | pub stod: i32, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Header` 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 `0` is never read [INFO] [stdout] --> src/mon_packets/mon_head.rs:50:9 [INFO] [stdout] | [INFO] [stdout] 48 | Generic( [INFO] [stdout] | ------- field in this variant [INFO] [stdout] 49 | /// During what parse operation the issue occurred [INFO] [stdout] 50 | String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 50 | (), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/mon_packets/mon_head.rs:52:14 [INFO] [stdout] | [INFO] [stdout] 52 | BinRead (BinError), [INFO] [stdout] | ------- ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 52 | BinRead (()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `digest_payload` is never used [INFO] [stdout] --> src/mon_packets/mon_head.rs:77:8 [INFO] [stdout] | [INFO] [stdout] 76 | pub trait PacketPayload: Sized { [INFO] [stdout] | ------------- associated function in this trait [INFO] [stdout] 77 | fn digest_payload(header: Header, data: &mut R) -> XrdParseResult; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `prot`, `user`, `pid`, `sid`, and `host` are never read [INFO] [stdout] --> src/mon_packets/mon_map.rs:65:9 [INFO] [stdout] | [INFO] [stdout] 63 | pub struct UserId { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 64 | /// The communication protocol being used by the client (e.g., xroot, http, etc). [INFO] [stdout] 65 | pub prot: Bytes, [INFO] [stdout] | ^^^^ [INFO] [stdout] 66 | /// The Unix username of the user as reported by the client (i.e. unverified). [INFO] [stdout] 67 | pub user: Bytes, [INFO] [stdout] | ^^^^ [INFO] [stdout] 68 | /// The user's process number that issued the request. [INFO] [stdout] 69 | pub pid: Bytes, [INFO] [stdout] | ^^^ [INFO] [stdout] 70 | /// The server's identification processing the connection to `user:pid` at `host`. [INFO] [stdout] 71 | pub sid: Bytes, [INFO] [stdout] | ^^^ [INFO] [stdout] 72 | /// The host name, or IP address, where the user's request originated. [INFO] [stdout] 73 | pub host: Bytes, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `UserId` 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 `pgm`, `ver`, `inst`, `port`, and `site` are never read [INFO] [stdout] --> src/mon_packets/mon_map.rs:100:9 [INFO] [stdout] | [INFO] [stdout] 98 | pub struct SrvInfo { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 99 | /// The name of the server's executable program. [INFO] [stdout] 100 | pub pgm: Bytes, [INFO] [stdout] | ^^^ [INFO] [stdout] 101 | /// The server's version identification string. [INFO] [stdout] 102 | pub ver: Bytes, [INFO] [stdout] | ^^^ [INFO] [stdout] 103 | /// The server's instance name as specified with the –n command line option or "anon". [INFO] [stdout] 104 | pub inst: Bytes, [INFO] [stdout] | ^^^^ [INFO] [stdout] 105 | /// The server's main port number. [INFO] [stdout] 106 | pub port: Bytes, [INFO] [stdout] | ^^^^ [INFO] [stdout] 107 | /// The server's designated site name. [INFO] [stdout] 108 | pub site: Bytes, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SrvInfo` 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 `0` is never read [INFO] [stdout] --> src/mon_packets/mon_map.rs:131:21 [INFO] [stdout] | [INFO] [stdout] 131 | pub struct PathInfo(Bytes); [INFO] [stdout] | -------- ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = note: `PathInfo` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 131 | pub struct PathInfo(()); [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/mon_packets/mon_map.rs:141:20 [INFO] [stdout] | [INFO] [stdout] 141 | pub struct AppInfo(Bytes); [INFO] [stdout] | ------- ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = note: `AppInfo` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 141 | pub struct AppInfo(()); [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/mon_packets/mon_map.rs:146:9 [INFO] [stdout] | [INFO] [stdout] 144 | pub struct AuthInfo { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 145 | /// The authentication protocol name used to authenticate the client. [INFO] [stdout] 146 | pub protocol: Bytes, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 147 | /// The client's distinguished name as reported by the protocol. [INFO] [stdout] 148 | pub name: Option, [INFO] [stdout] | ^^^^ [INFO] [stdout] 149 | /// The client's host’s name as reported by the protocol. [INFO] [stdout] 150 | pub host: Option, [INFO] [stdout] | ^^^^ [INFO] [stdout] 151 | /// The client's organization name as reported by the protocol. [INFO] [stdout] 152 | pub organization: Option, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 153 | /// The client's role name as reported by the protocol. [INFO] [stdout] 154 | pub role: Option, [INFO] [stdout] | ^^^^ [INFO] [stdout] 155 | /// The client's group names in a space-separated list. [INFO] [stdout] 156 | pub groups: Option, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 157 | /// ??? [INFO] [stdout] 158 | pub m: Option, [INFO] [stdout] | ^ [INFO] [stdout] 159 | /// The name of the executable program the client is running with the path removed. [INFO] [stdout] 160 | pub executable: Option, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 161 | /// The contents of the XRD_MONINFO client-side environmental variable. [INFO] [stdout] 162 | pub moninfo: Option, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 163 | /// The client's network mode: '4' for IPv4 and '6' for IPv6. [INFO] [stdout] 164 | pub ipv: Option, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AuthInfo` 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 `0` is never read [INFO] [stdout] --> src/mon_packets/mon_map.rs:170:10 [INFO] [stdout] | [INFO] [stdout] 170 | Full(AuthInfo), [INFO] [stdout] | ---- ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 170 | Full(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/mon_packets/mon_map.rs:235:9 [INFO] [stdout] | [INFO] [stdout] 233 | pub struct PrgInfo { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 234 | /// The logical or physical name of the file that was purged. [INFO] [stdout] 235 | pub xfn: Bytes, [INFO] [stdout] | ^^^ [INFO] [stdout] 236 | /// The Unix seconds, as returned by time(), when the record was produced. [INFO] [stdout] 237 | pub tod: i64, [INFO] [stdout] | ^^^ [INFO] [stdout] 238 | /// The size of the purged file in bytes. [INFO] [stdout] 239 | pub sz: i64, [INFO] [stdout] | ^^ [INFO] [stdout] 240 | /// The file's access time in Unix seconds. [INFO] [stdout] 241 | pub at: i64, [INFO] [stdout] | ^^ [INFO] [stdout] 242 | /// The file's creation time in Unix seconds. [INFO] [stdout] 243 | pub ct: i64, [INFO] [stdout] | ^^ [INFO] [stdout] 244 | /// The file's modification time in Unix seconds. [INFO] [stdout] 245 | pub mt: i64, [INFO] [stdout] | ^^ [INFO] [stdout] ... [INFO] [stdout] 248 | pub fnt: FileNameType, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PrgInfo` 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 `xfn`, `tod`, `tm`, `op`, `rc`, and `data` are never read [INFO] [stdout] --> src/mon_packets/mon_map.rs:307:9 [INFO] [stdout] | [INFO] [stdout] 305 | pub struct XfrInfo { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 306 | /// The logical name of the transferred file. [INFO] [stdout] 307 | pub xfn: Bytes, [INFO] [stdout] | ^^^ [INFO] [stdout] 308 | /// The Unix seconds, as returned by time(), when the record was produced. [INFO] [stdout] 309 | pub tod: i64, [INFO] [stdout] | ^^^ [INFO] [stdout] 310 | /// The time between the start of the request to the time the request completed [INFO] [stdout] 311 | pub tm: i64, [INFO] [stdout] | ^^ [INFO] [stdout] 312 | /// The character operation code for a file transfer event. [INFO] [stdout] 313 | pub op: XfrOpt, [INFO] [stdout] | ^^ [INFO] [stdout] 314 | /// The return code, zero on success. [INFO] [stdout] 315 | pub rc: i16, [INFO] [stdout] | ^^ [INFO] [stdout] 316 | /// optional program monitoring data returned by the transfer command. [INFO] [stdout] 317 | pub data: Option, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `XfrInfo` 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 `0` is never read [INFO] [stdout] --> src/mon_packets/mon_map.rs:340:9 [INFO] [stdout] | [INFO] [stdout] 340 | Srv(SrvInfo), [INFO] [stdout] | --- ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 340 | Srv(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/mon_packets/mon_map.rs:341:10 [INFO] [stdout] | [INFO] [stdout] 341 | Path(PathInfo), [INFO] [stdout] | ---- ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 341 | Path(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/mon_packets/mon_map.rs:342:9 [INFO] [stdout] | [INFO] [stdout] 342 | App(AppInfo), [INFO] [stdout] | --- ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 342 | App(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/mon_packets/mon_map.rs:343:10 [INFO] [stdout] | [INFO] [stdout] 343 | Auth(MaybeAuthInfo), [INFO] [stdout] | ---- ^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 343 | Auth(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/mon_packets/mon_map.rs:344:9 [INFO] [stdout] | [INFO] [stdout] 344 | Prg(PrgInfo), [INFO] [stdout] | --- ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 344 | Prg(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/mon_packets/mon_map.rs:345:9 [INFO] [stdout] | [INFO] [stdout] 345 | Xfr(XfrInfo), [INFO] [stdout] | --- ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 345 | Xfr(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `hdr`, `dict_id`, `user`, and `info` are never read [INFO] [stdout] --> src/mon_packets/mon_map.rs:351:9 [INFO] [stdout] | [INFO] [stdout] 350 | pub struct XrdXrootdMonMap { [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] 351 | pub hdr: Header, [INFO] [stdout] | ^^^ [INFO] [stdout] 352 | pub dict_id: u32, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 353 | pub user: UserId, [INFO] [stdout] | ^^^^ [INFO] [stdout] 354 | pub info: Info, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `XrdXrootdMonMap` 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 `xrd_mon` and `id` are never read [INFO] [stdout] --> src/mon_packets/mon_trace.rs:43:9 [INFO] [stdout] | [INFO] [stdout] 42 | pub struct AppId { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 43 | pub xrd_mon: XrootdMon, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 46 | pub id: [u8; 12], [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `AppId` 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 `xrd_mon`, `read_shift`, `write_shift`, `read_total`, `write_total`, and `dict_id` are never read [INFO] [stdout] --> src/mon_packets/mon_trace.rs:52:9 [INFO] [stdout] | [INFO] [stdout] 51 | pub struct Close { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 52 | pub xrd_mon: XrootdMon, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 53 | /// Number of bits `read_total` has been right shifted to fit into a 32-bit unsigned int. [INFO] [stdout] 54 | pub read_shift: u8, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 55 | /// Number of bits `write_total` has been right shifted to fit into a 32-bit unsigned int. [INFO] [stdout] 56 | pub write_shift: u8, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 59 | pub read_total: u32, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 60 | /// Scaled number of bytes written to the file. [INFO] [stdout] 61 | pub write_total: u32, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 62 | /// The file path's dictionary ID ('d' map message). [INFO] [stdout] 63 | pub dict_id: u32, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Close` 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 `xrd_mon`, `reason`, `buflen`, and `dict_id` are never read [INFO] [stdout] --> src/mon_packets/mon_trace.rs:69:9 [INFO] [stdout] | [INFO] [stdout] 68 | pub struct Disc { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 69 | pub xrd_mon: XrootdMon, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 70 | /// May contain XROOTD_MON_BOUNDP and XROOTD_MON_FORCED [INFO] [stdout] 71 | pub reason: XrootdMonDisc, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 74 | pub buflen: i32, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 75 | /// The client's dictionary ID ('u' map message). [INFO] [stdout] 76 | pub dict_id: u32, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Disc` 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 `xrd_mon`, `filesize`, and `dict_id` are never read [INFO] [stdout] --> src/mon_packets/mon_trace.rs:84:9 [INFO] [stdout] | [INFO] [stdout] 81 | pub struct Open { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 84 | pub xrd_mon: XrootdMon, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 87 | pub filesize: u64, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 90 | pub dict_id: u32, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Open` 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 `xrd_mon`, `val`, `bufflen`, and `dict_id` are never read [INFO] [stdout] --> src/mon_packets/mon_trace.rs:97:9 [INFO] [stdout] | [INFO] [stdout] 95 | pub struct ReadWrite { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 96 | #[br(calc = XrootdMon::READWRITE)] [INFO] [stdout] 97 | pub xrd_mon: XrootdMon, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 98 | /// Read or write offset [INFO] [stdout] 99 | pub val: i64, [INFO] [stdout] | ^^^ [INFO] [stdout] 100 | /// Length of the read/write when non-negative/negative. [INFO] [stdout] 101 | pub bufflen: i32, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 102 | /// The file path's dictionary ID ('d' map message). [INFO] [stdout] 103 | pub dict_id: u32, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ReadWrite` 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 `xrd_mon`, `read_id`, `count`, `bufflen`, and `dict_id` are never read [INFO] [stdout] --> src/mon_packets/mon_trace.rs:109:9 [INFO] [stdout] | [INFO] [stdout] 108 | pub struct ReadVU { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 109 | pub xrd_mon: XrootdMon, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 110 | /// readv request identifier [INFO] [stdout] 111 | pub read_id: u8, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 112 | /// Number of elements in the readv vector [INFO] [stdout] 113 | pub count: u16, [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 116 | pub bufflen: i32, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 117 | /// The file path's dictionary ID ('d' map message). [INFO] [stdout] 118 | pub dict_id: u32, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ReadVU` 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 `xrd_mon`, `server_id`, `prev_end`, and `this_start` are never read [INFO] [stdout] --> src/mon_packets/mon_trace.rs:126:9 [INFO] [stdout] | [INFO] [stdout] 123 | pub struct Window { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] ... [INFO] [stdout] 126 | pub xrd_mon: XrootdMon, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 129 | pub server_id: u64, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 130 | /// Unix time of when the previous window ended. [INFO] [stdout] 131 | pub prev_end: i32, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 132 | /// Unix time of when this window has started. [INFO] [stdout] 133 | pub this_start: i32, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Window` 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 `0` is never read [INFO] [stdout] --> src/mon_packets/mon_trace.rs:140:11 [INFO] [stdout] | [INFO] [stdout] 140 | AppId(AppId), [INFO] [stdout] | ----- ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 140 | AppId(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/mon_packets/mon_trace.rs:141:11 [INFO] [stdout] | [INFO] [stdout] 141 | Close(Close), [INFO] [stdout] | ----- ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 141 | Close(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/mon_packets/mon_trace.rs:142:10 [INFO] [stdout] | [INFO] [stdout] 142 | Disc(Disc), [INFO] [stdout] | ---- ^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 142 | Disc(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/mon_packets/mon_trace.rs:143:10 [INFO] [stdout] | [INFO] [stdout] 143 | Open(Open), [INFO] [stdout] | ---- ^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 143 | Open(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/mon_packets/mon_trace.rs:144:15 [INFO] [stdout] | [INFO] [stdout] 144 | ReadWrite(ReadWrite), [INFO] [stdout] | --------- ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 144 | ReadWrite(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/mon_packets/mon_trace.rs:145:12 [INFO] [stdout] | [INFO] [stdout] 145 | ReadVU(ReadVU), [INFO] [stdout] | ------ ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 145 | ReadVU(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/mon_packets/mon_trace.rs:146:12 [INFO] [stdout] | [INFO] [stdout] 146 | Window(Window), [INFO] [stdout] | ------ ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 146 | Window(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `hdr` and `info` are never read [INFO] [stdout] --> src/mon_packets/mon_trace.rs:152:9 [INFO] [stdout] | [INFO] [stdout] 151 | pub struct XrdXrootdMonBuff { [INFO] [stdout] | ---------------- fields in this struct [INFO] [stdout] 152 | pub hdr: Header, [INFO] [stdout] | ^^^ [INFO] [stdout] 153 | pub info: Vec, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `XrdXrootdMonBuff` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 36 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Packet` is never used [INFO] [stdout] --> src/mon_packets/mod.rs:9:6 [INFO] [stdout] | [INFO] [stdout] 9 | enum Packet { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `from_data` is never used [INFO] [stdout] --> src/mon_packets/mod.rs:16:8 [INFO] [stdout] | [INFO] [stdout] 14 | impl Packet { [INFO] [stdout] | ----------- associated function in this implementation [INFO] [stdout] 15 | /// Load a packet from binary data provided by a `reader` [INFO] [stdout] 16 | fn from_data(reader: &mut R) -> XrdParseResult { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `pseq` and `stod` are never read [INFO] [stdout] --> src/mon_packets/mon_head.rs:33:9 [INFO] [stdout] | [INFO] [stdout] 30 | pub struct Header { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] ... [INFO] [stdout] 33 | pub pseq: u8, [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 37 | pub stod: i32, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Header` 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 `0` is never read [INFO] [stdout] --> src/mon_packets/mon_head.rs:50:9 [INFO] [stdout] | [INFO] [stdout] 48 | Generic( [INFO] [stdout] | ------- field in this variant [INFO] [stdout] 49 | /// During what parse operation the issue occurred [INFO] [stdout] 50 | String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 50 | (), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/mon_packets/mon_head.rs:52:14 [INFO] [stdout] | [INFO] [stdout] 52 | BinRead (BinError), [INFO] [stdout] | ------- ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 52 | BinRead (()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `digest_payload` is never used [INFO] [stdout] --> src/mon_packets/mon_head.rs:77:8 [INFO] [stdout] | [INFO] [stdout] 76 | pub trait PacketPayload: Sized { [INFO] [stdout] | ------------- associated function in this trait [INFO] [stdout] 77 | fn digest_payload(header: Header, data: &mut R) -> XrdParseResult; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `prot`, `user`, `pid`, `sid`, and `host` are never read [INFO] [stdout] --> src/mon_packets/mon_map.rs:65:9 [INFO] [stdout] | [INFO] [stdout] 63 | pub struct UserId { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 64 | /// The communication protocol being used by the client (e.g., xroot, http, etc). [INFO] [stdout] 65 | pub prot: Bytes, [INFO] [stdout] | ^^^^ [INFO] [stdout] 66 | /// The Unix username of the user as reported by the client (i.e. unverified). [INFO] [stdout] 67 | pub user: Bytes, [INFO] [stdout] | ^^^^ [INFO] [stdout] 68 | /// The user's process number that issued the request. [INFO] [stdout] 69 | pub pid: Bytes, [INFO] [stdout] | ^^^ [INFO] [stdout] 70 | /// The server's identification processing the connection to `user:pid` at `host`. [INFO] [stdout] 71 | pub sid: Bytes, [INFO] [stdout] | ^^^ [INFO] [stdout] 72 | /// The host name, or IP address, where the user's request originated. [INFO] [stdout] 73 | pub host: Bytes, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `UserId` 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 `0` is never read [INFO] [stdout] --> src/mon_packets/mon_map.rs:131:21 [INFO] [stdout] | [INFO] [stdout] 131 | pub struct PathInfo(Bytes); [INFO] [stdout] | -------- ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = note: `PathInfo` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 131 | pub struct PathInfo(()); [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/mon_packets/mon_map.rs:141:20 [INFO] [stdout] | [INFO] [stdout] 141 | pub struct AppInfo(Bytes); [INFO] [stdout] | ------- ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = note: `AppInfo` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 141 | pub struct AppInfo(()); [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/mon_packets/mon_map.rs:148:9 [INFO] [stdout] | [INFO] [stdout] 144 | pub struct AuthInfo { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 148 | pub name: Option, [INFO] [stdout] | ^^^^ [INFO] [stdout] 149 | /// The client's host’s name as reported by the protocol. [INFO] [stdout] 150 | pub host: Option, [INFO] [stdout] | ^^^^ [INFO] [stdout] 151 | /// The client's organization name as reported by the protocol. [INFO] [stdout] 152 | pub organization: Option, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 153 | /// The client's role name as reported by the protocol. [INFO] [stdout] 154 | pub role: Option, [INFO] [stdout] | ^^^^ [INFO] [stdout] 155 | /// The client's group names in a space-separated list. [INFO] [stdout] 156 | pub groups: Option, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 157 | /// ??? [INFO] [stdout] 158 | pub m: Option, [INFO] [stdout] | ^ [INFO] [stdout] 159 | /// The name of the executable program the client is running with the path removed. [INFO] [stdout] 160 | pub executable: Option, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 161 | /// The contents of the XRD_MONINFO client-side environmental variable. [INFO] [stdout] 162 | pub moninfo: Option, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 163 | /// The client's network mode: '4' for IPv4 and '6' for IPv6. [INFO] [stdout] 164 | pub ipv: Option, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AuthInfo` 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 `xfn`, `tod`, `tm`, `op`, `rc`, and `data` are never read [INFO] [stdout] --> src/mon_packets/mon_map.rs:307:9 [INFO] [stdout] | [INFO] [stdout] 305 | pub struct XfrInfo { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 306 | /// The logical name of the transferred file. [INFO] [stdout] 307 | pub xfn: Bytes, [INFO] [stdout] | ^^^ [INFO] [stdout] 308 | /// The Unix seconds, as returned by time(), when the record was produced. [INFO] [stdout] 309 | pub tod: i64, [INFO] [stdout] | ^^^ [INFO] [stdout] 310 | /// The time between the start of the request to the time the request completed [INFO] [stdout] 311 | pub tm: i64, [INFO] [stdout] | ^^ [INFO] [stdout] 312 | /// The character operation code for a file transfer event. [INFO] [stdout] 313 | pub op: XfrOpt, [INFO] [stdout] | ^^ [INFO] [stdout] 314 | /// The return code, zero on success. [INFO] [stdout] 315 | pub rc: i16, [INFO] [stdout] | ^^ [INFO] [stdout] 316 | /// optional program monitoring data returned by the transfer command. [INFO] [stdout] 317 | pub data: Option, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `XfrInfo` 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 `0` is never read [INFO] [stdout] --> src/mon_packets/mon_map.rs:340:9 [INFO] [stdout] | [INFO] [stdout] 340 | Srv(SrvInfo), [INFO] [stdout] | --- ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 340 | Srv(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/mon_packets/mon_map.rs:341:10 [INFO] [stdout] | [INFO] [stdout] 341 | Path(PathInfo), [INFO] [stdout] | ---- ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 341 | Path(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/mon_packets/mon_map.rs:342:9 [INFO] [stdout] | [INFO] [stdout] 342 | App(AppInfo), [INFO] [stdout] | --- ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 342 | App(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/mon_packets/mon_map.rs:343:10 [INFO] [stdout] | [INFO] [stdout] 343 | Auth(MaybeAuthInfo), [INFO] [stdout] | ---- ^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 343 | Auth(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/mon_packets/mon_map.rs:344:9 [INFO] [stdout] | [INFO] [stdout] 344 | Prg(PrgInfo), [INFO] [stdout] | --- ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 344 | Prg(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/mon_packets/mon_map.rs:345:9 [INFO] [stdout] | [INFO] [stdout] 345 | Xfr(XfrInfo), [INFO] [stdout] | --- ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 345 | Xfr(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `hdr`, `dict_id`, `user`, and `info` are never read [INFO] [stdout] --> src/mon_packets/mon_map.rs:351:9 [INFO] [stdout] | [INFO] [stdout] 350 | pub struct XrdXrootdMonMap { [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] 351 | pub hdr: Header, [INFO] [stdout] | ^^^ [INFO] [stdout] 352 | pub dict_id: u32, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 353 | pub user: UserId, [INFO] [stdout] | ^^^^ [INFO] [stdout] 354 | pub info: Info, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `XrdXrootdMonMap` 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 `xrd_mon` and `id` are never read [INFO] [stdout] --> src/mon_packets/mon_trace.rs:43:9 [INFO] [stdout] | [INFO] [stdout] 42 | pub struct AppId { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 43 | pub xrd_mon: XrootdMon, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 46 | pub id: [u8; 12], [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `AppId` 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 `xrd_mon`, `read_shift`, `write_shift`, `read_total`, `write_total`, and `dict_id` are never read [INFO] [stdout] --> src/mon_packets/mon_trace.rs:52:9 [INFO] [stdout] | [INFO] [stdout] 51 | pub struct Close { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 52 | pub xrd_mon: XrootdMon, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 53 | /// Number of bits `read_total` has been right shifted to fit into a 32-bit unsigned int. [INFO] [stdout] 54 | pub read_shift: u8, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 55 | /// Number of bits `write_total` has been right shifted to fit into a 32-bit unsigned int. [INFO] [stdout] 56 | pub write_shift: u8, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 59 | pub read_total: u32, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 60 | /// Scaled number of bytes written to the file. [INFO] [stdout] 61 | pub write_total: u32, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 62 | /// The file path's dictionary ID ('d' map message). [INFO] [stdout] 63 | pub dict_id: u32, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Close` 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 `xrd_mon`, `reason`, `buflen`, and `dict_id` are never read [INFO] [stdout] --> src/mon_packets/mon_trace.rs:69:9 [INFO] [stdout] | [INFO] [stdout] 68 | pub struct Disc { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 69 | pub xrd_mon: XrootdMon, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 70 | /// May contain XROOTD_MON_BOUNDP and XROOTD_MON_FORCED [INFO] [stdout] 71 | pub reason: XrootdMonDisc, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 74 | pub buflen: i32, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 75 | /// The client's dictionary ID ('u' map message). [INFO] [stdout] 76 | pub dict_id: u32, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Disc` 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 `xrd_mon`, `filesize`, and `dict_id` are never read [INFO] [stdout] --> src/mon_packets/mon_trace.rs:84:9 [INFO] [stdout] | [INFO] [stdout] 81 | pub struct Open { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 84 | pub xrd_mon: XrootdMon, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 87 | pub filesize: u64, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 90 | pub dict_id: u32, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Open` 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 `xrd_mon`, `val`, `bufflen`, and `dict_id` are never read [INFO] [stdout] --> src/mon_packets/mon_trace.rs:97:9 [INFO] [stdout] | [INFO] [stdout] 95 | pub struct ReadWrite { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 96 | #[br(calc = XrootdMon::READWRITE)] [INFO] [stdout] 97 | pub xrd_mon: XrootdMon, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 98 | /// Read or write offset [INFO] [stdout] 99 | pub val: i64, [INFO] [stdout] | ^^^ [INFO] [stdout] 100 | /// Length of the read/write when non-negative/negative. [INFO] [stdout] 101 | pub bufflen: i32, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 102 | /// The file path's dictionary ID ('d' map message). [INFO] [stdout] 103 | pub dict_id: u32, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ReadWrite` 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 `xrd_mon`, `read_id`, `count`, `bufflen`, and `dict_id` are never read [INFO] [stdout] --> src/mon_packets/mon_trace.rs:109:9 [INFO] [stdout] | [INFO] [stdout] 108 | pub struct ReadVU { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 109 | pub xrd_mon: XrootdMon, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 110 | /// readv request identifier [INFO] [stdout] 111 | pub read_id: u8, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 112 | /// Number of elements in the readv vector [INFO] [stdout] 113 | pub count: u16, [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 116 | pub bufflen: i32, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 117 | /// The file path's dictionary ID ('d' map message). [INFO] [stdout] 118 | pub dict_id: u32, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ReadVU` 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 `xrd_mon`, `server_id`, `prev_end`, and `this_start` are never read [INFO] [stdout] --> src/mon_packets/mon_trace.rs:126:9 [INFO] [stdout] | [INFO] [stdout] 123 | pub struct Window { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] ... [INFO] [stdout] 126 | pub xrd_mon: XrootdMon, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 129 | pub server_id: u64, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 130 | /// Unix time of when the previous window ended. [INFO] [stdout] 131 | pub prev_end: i32, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 132 | /// Unix time of when this window has started. [INFO] [stdout] 133 | pub this_start: i32, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Window` 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 `0` is never read [INFO] [stdout] --> src/mon_packets/mon_trace.rs:140:11 [INFO] [stdout] | [INFO] [stdout] 140 | AppId(AppId), [INFO] [stdout] | ----- ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 140 | AppId(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/mon_packets/mon_trace.rs:141:11 [INFO] [stdout] | [INFO] [stdout] 141 | Close(Close), [INFO] [stdout] | ----- ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 141 | Close(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/mon_packets/mon_trace.rs:142:10 [INFO] [stdout] | [INFO] [stdout] 142 | Disc(Disc), [INFO] [stdout] | ---- ^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 142 | Disc(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/mon_packets/mon_trace.rs:143:10 [INFO] [stdout] | [INFO] [stdout] 143 | Open(Open), [INFO] [stdout] | ---- ^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 143 | Open(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/mon_packets/mon_trace.rs:144:15 [INFO] [stdout] | [INFO] [stdout] 144 | ReadWrite(ReadWrite), [INFO] [stdout] | --------- ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 144 | ReadWrite(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/mon_packets/mon_trace.rs:145:12 [INFO] [stdout] | [INFO] [stdout] 145 | ReadVU(ReadVU), [INFO] [stdout] | ------ ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 145 | ReadVU(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/mon_packets/mon_trace.rs:146:12 [INFO] [stdout] | [INFO] [stdout] 146 | Window(Window), [INFO] [stdout] | ------ ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 146 | Window(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `hdr` and `info` are never read [INFO] [stdout] --> src/mon_packets/mon_trace.rs:152:9 [INFO] [stdout] | [INFO] [stdout] 151 | pub struct XrdXrootdMonBuff { [INFO] [stdout] | ---------------- fields in this struct [INFO] [stdout] 152 | pub hdr: Header, [INFO] [stdout] | ^^^ [INFO] [stdout] 153 | pub info: Vec, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `XrdXrootdMonBuff` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 33 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 5.27s [INFO] running `Command { std: "docker" "inspect" "d446f634a5f85dba879ef89f97a8890d51b764ec4b56a0b6c04d954b7f9c2dc7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d446f634a5f85dba879ef89f97a8890d51b764ec4b56a0b6c04d954b7f9c2dc7", kill_on_drop: false }` [INFO] [stdout] d446f634a5f85dba879ef89f97a8890d51b764ec4b56a0b6c04d954b7f9c2dc7