[INFO] cloning repository https://github.com/edarc/tempest-exporter [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/edarc/tempest-exporter" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fedarc%2Ftempest-exporter", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fedarc%2Ftempest-exporter'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 1c5bbb84580983b1854752b1da21f916655b05bc [INFO] checking edarc/tempest-exporter against master#22572d0994593197593e2a1b7b18d720a9a349a7 for pr-126452-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fedarc%2Ftempest-exporter" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/edarc/tempest-exporter on toolchain 22572d0994593197593e2a1b7b18d720a9a349a7 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+22572d0994593197593e2a1b7b18d720a9a349a7" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/edarc/tempest-exporter [INFO] finished tweaking git repo https://github.com/edarc/tempest-exporter [INFO] tweaked toml for git repo https://github.com/edarc/tempest-exporter written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/edarc/tempest-exporter 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" "+22572d0994593197593e2a1b7b18d720a9a349a7" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded pollster v0.2.4 [INFO] [stderr] Downloaded simple_logger v1.16.0 [INFO] [stderr] Downloaded headers v0.3.5 [INFO] [stderr] Downloaded rumqttc v0.10.0 [INFO] [stderr] Downloaded mqttbytes v0.6.0 [INFO] [stderr] Downloaded warp v0.3.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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" "+22572d0994593197593e2a1b7b18d720a9a349a7" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5ab1c4b6e47597aee8066e40a4570866e7d7c2db4c1f04556f913c136704a001 [INFO] running `Command { std: "docker" "start" "-a" "5ab1c4b6e47597aee8066e40a4570866e7d7c2db4c1f04556f913c136704a001", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5ab1c4b6e47597aee8066e40a4570866e7d7c2db4c1f04556f913c136704a001", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5ab1c4b6e47597aee8066e40a4570866e7d7c2db4c1f04556f913c136704a001", kill_on_drop: false }` [INFO] [stdout] 5ab1c4b6e47597aee8066e40a4570866e7d7c2db4c1f04556f913c136704a001 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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" "+22572d0994593197593e2a1b7b18d720a9a349a7" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8ad62f99fa272ff3544f98c96cd4b0474fec5217b7d249ff90ea778bc8403d81 [INFO] running `Command { std: "docker" "start" "-a" "8ad62f99fa272ff3544f98c96cd4b0474fec5217b7d249ff90ea778bc8403d81", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.84 [INFO] [stderr] Compiling serde_derive v1.0.132 [INFO] [stderr] Compiling serde v1.0.132 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Checking getrandom v0.2.3 [INFO] [stderr] Compiling cc v1.0.72 [INFO] [stderr] Compiling futures-util v0.3.19 [INFO] [stderr] Checking rand_core v0.6.3 [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Checking tracing-core v0.1.21 [INFO] [stderr] Compiling futures-channel v0.3.19 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Compiling mime_guess v2.0.3 [INFO] [stderr] Compiling protobuf v2.25.2 [INFO] [stderr] Checking digest v0.9.0 [INFO] [stderr] Checking block-buffer v0.9.0 [INFO] [stderr] Checking sha-1 v0.9.8 [INFO] [stderr] Checking smallvec v1.7.0 [INFO] [stderr] Checking rand v0.8.4 [INFO] [stderr] Checking safemem v0.3.3 [INFO] [stderr] Checking cache-padded v1.2.0 [INFO] [stderr] Compiling serde_json v1.0.73 [INFO] [stderr] Checking buf_redux v0.8.4 [INFO] [stderr] Checking parking_lot_core v0.8.5 [INFO] [stderr] Checking concurrent-queue v1.2.2 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Checking headers-core v0.2.0 [INFO] [stderr] Checking http-body v0.4.4 [INFO] [stderr] Checking twoway v0.1.8 [INFO] [stderr] Checking event-listener v2.5.1 [INFO] [stderr] Checking tempfile v3.2.0 [INFO] [stderr] Compiling anyhow v1.0.52 [INFO] [stderr] Compiling prometheus v0.13.0 [INFO] [stderr] Checking quick-error v1.2.3 [INFO] [stderr] Compiling crossbeam-utils v0.8.7 [INFO] [stderr] Checking clap v2.34.0 [INFO] [stderr] Checking time v0.3.5 [INFO] [stderr] Checking async-channel v1.6.1 [INFO] [stderr] Checking headers v0.3.5 [INFO] [stderr] Checking parking_lot v0.11.2 [INFO] [stderr] Checking colored v1.9.3 [INFO] [stderr] Checking mqttbytes v0.6.0 [INFO] [stderr] Checking scoped-tls v1.0.0 [INFO] [stderr] Checking pollster v0.2.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling tokio-macros v1.7.0 [INFO] [stderr] Compiling thiserror-impl v1.0.30 [INFO] [stderr] Compiling pin-project-internal v1.0.10 [INFO] [stderr] Compiling structopt-derive v0.4.18 [INFO] [stderr] Checking sct v0.6.1 [INFO] [stderr] Checking webpki v0.21.4 [INFO] [stderr] Checking pin-project v1.0.10 [INFO] [stderr] Checking thiserror v1.0.30 [INFO] [stderr] Checking structopt v0.3.25 [INFO] [stderr] Checking serde_urlencoded v0.7.0 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Checking mio v0.7.14 [INFO] [stderr] Checking tracing v0.1.29 [INFO] [stderr] Checking rustls v0.19.1 [INFO] [stderr] Checking tungstenite v0.14.0 [INFO] [stderr] Checking want v0.3.0 [INFO] [stderr] Checking multipart v0.18.0 [INFO] [stderr] Checking simple_logger v1.16.0 [INFO] [stderr] Checking tokio v1.15.0 [INFO] [stderr] Checking tokio-util v0.6.9 [INFO] [stderr] Checking tokio-tungstenite v0.15.0 [INFO] [stderr] Checking tokio-stream v0.1.8 [INFO] [stderr] Checking tokio-rustls v0.22.0 [INFO] [stderr] Checking rumqttc v0.10.0 [INFO] [stderr] Checking h2 v0.3.9 [INFO] [stderr] Checking hyper v0.14.16 [INFO] [stderr] Checking warp v0.3.2 [INFO] [stderr] Checking tempest-exporter v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: field `timestamp` is never read [INFO] [stdout] --> src/decoder.rs:108:9 [INFO] [stdout] | [INFO] [stdout] 107 | pub struct RapidWind { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] 108 | pub timestamp: DateTime, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RapidWind` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `interval` is never read [INFO] [stdout] --> src/decoder.rs:134:9 [INFO] [stdout] | [INFO] [stdout] 130 | pub struct WindObservation { [INFO] [stdout] | --------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 134 | pub interval: Duration, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `WindObservation` 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 `kind` is never read [INFO] [stdout] --> src/decoder.rs:147:9 [INFO] [stdout] | [INFO] [stdout] 145 | pub struct PrecipObservation { [INFO] [stdout] | ----------------- field in this struct [INFO] [stdout] 146 | pub quantity_last_minute: f64, [INFO] [stdout] 147 | pub kind: PrecipKind, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PrecipObservation` 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 `average_distance` and `count` are never read [INFO] [stdout] --> src/decoder.rs:152:9 [INFO] [stdout] | [INFO] [stdout] 151 | pub struct LightningObservation { [INFO] [stdout] | -------------------- fields in this struct [INFO] [stdout] 152 | pub average_distance: f64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 153 | pub count: i64, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `LightningObservation` 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 `lightning` and `report_interval` are never read [INFO] [stdout] --> src/decoder.rs:165:9 [INFO] [stdout] | [INFO] [stdout] 157 | pub struct Observation { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 165 | pub lightning: Option, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 166 | pub battery_volts: f64, [INFO] [stdout] 167 | pub report_interval: Duration, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Observation` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/decoder.rs:350:9 [INFO] [stdout] | [INFO] [stdout] 349 | pub struct DeviceStatus { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 350 | pub serial_number: String, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 351 | pub hub_serial_number: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 352 | pub timestamp: DateTime, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 353 | pub uptime: Duration, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 354 | pub voltage: f64, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 355 | pub firmware_revision: i32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 356 | pub rssi: f64, [INFO] [stdout] | ^^^^ [INFO] [stdout] 357 | pub hub_rssi: f64, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 358 | pub sensor_status: SensorStatus, [INFO] [stdout] 359 | pub debug: bool, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DeviceStatus` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/decoder.rs:414:9 [INFO] [stdout] | [INFO] [stdout] 413 | pub struct HubStatus { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 414 | pub serial_number: String, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 415 | pub firmware_revision: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 416 | pub uptime: Duration, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 417 | pub rssi: f64, [INFO] [stdout] | ^^^^ [INFO] [stdout] 418 | pub timestamp: DateTime, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 419 | pub reset_flags: ResetFlags, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 420 | pub seq: i32, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `HubStatus` 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 `serial_number` and `hub_sn` are never read [INFO] [stdout] --> src/reader.rs:25:9 [INFO] [stdout] | [INFO] [stdout] 24 | pub struct RawPrecipEvent { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] 25 | pub serial_number: String, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 26 | pub hub_sn: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RawPrecipEvent` 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 `serial_number` and `hub_sn` are never read [INFO] [stdout] --> src/reader.rs:32:9 [INFO] [stdout] | [INFO] [stdout] 31 | pub struct RawStrikeEvent { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] 32 | pub serial_number: String, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 33 | pub hub_sn: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RawStrikeEvent` 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 `serial_number` and `hub_sn` are never read [INFO] [stdout] --> src/reader.rs:39:9 [INFO] [stdout] | [INFO] [stdout] 38 | pub struct RawRapidWind { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 39 | pub serial_number: String, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 40 | pub hub_sn: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RawRapidWind` 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 `serial_number`, `hub_sn`, and `firmware_revision` are never read [INFO] [stdout] --> src/reader.rs:46:9 [INFO] [stdout] | [INFO] [stdout] 45 | pub struct RawObservation { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] 46 | pub serial_number: String, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 47 | pub hub_sn: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 48 | pub obs: [[Option; 18]; 1], [INFO] [stdout] 49 | pub firmware_revision: i32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RawObservation` 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 `timestamp` and `radio_stats` are never read [INFO] [stdout] --> src/reader.rs:72:9 [INFO] [stdout] | [INFO] [stdout] 67 | pub struct RawHubStatus { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] ... [INFO] [stdout] 72 | pub timestamp: i64, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 75 | pub radio_stats: [i32; 5], [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RawHubStatus` 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 `timestamp` is never read [INFO] [stdout] --> src/decoder.rs:108:9 [INFO] [stdout] | [INFO] [stdout] 107 | pub struct RapidWind { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] 108 | pub timestamp: DateTime, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RapidWind` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `interval` is never read [INFO] [stdout] --> src/decoder.rs:134:9 [INFO] [stdout] | [INFO] [stdout] 130 | pub struct WindObservation { [INFO] [stdout] | --------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 134 | pub interval: Duration, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `WindObservation` 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 `kind` is never read [INFO] [stdout] --> src/decoder.rs:147:9 [INFO] [stdout] | [INFO] [stdout] 145 | pub struct PrecipObservation { [INFO] [stdout] | ----------------- field in this struct [INFO] [stdout] 146 | pub quantity_last_minute: f64, [INFO] [stdout] 147 | pub kind: PrecipKind, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PrecipObservation` 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 `average_distance` and `count` are never read [INFO] [stdout] --> src/decoder.rs:152:9 [INFO] [stdout] | [INFO] [stdout] 151 | pub struct LightningObservation { [INFO] [stdout] | -------------------- fields in this struct [INFO] [stdout] 152 | pub average_distance: f64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 153 | pub count: i64, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `LightningObservation` 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 `lightning` and `report_interval` are never read [INFO] [stdout] --> src/decoder.rs:165:9 [INFO] [stdout] | [INFO] [stdout] 157 | pub struct Observation { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 165 | pub lightning: Option, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 166 | pub battery_volts: f64, [INFO] [stdout] 167 | pub report_interval: Duration, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Observation` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/decoder.rs:350:9 [INFO] [stdout] | [INFO] [stdout] 349 | pub struct DeviceStatus { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 350 | pub serial_number: String, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 351 | pub hub_serial_number: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 352 | pub timestamp: DateTime, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 353 | pub uptime: Duration, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 354 | pub voltage: f64, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 355 | pub firmware_revision: i32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 356 | pub rssi: f64, [INFO] [stdout] | ^^^^ [INFO] [stdout] 357 | pub hub_rssi: f64, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 358 | pub sensor_status: SensorStatus, [INFO] [stdout] 359 | pub debug: bool, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DeviceStatus` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/decoder.rs:414:9 [INFO] [stdout] | [INFO] [stdout] 413 | pub struct HubStatus { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 414 | pub serial_number: String, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 415 | pub firmware_revision: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 416 | pub uptime: Duration, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 417 | pub rssi: f64, [INFO] [stdout] | ^^^^ [INFO] [stdout] 418 | pub timestamp: DateTime, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 419 | pub reset_flags: ResetFlags, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 420 | pub seq: i32, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `HubStatus` 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 `serial_number` and `hub_sn` are never read [INFO] [stdout] --> src/reader.rs:25:9 [INFO] [stdout] | [INFO] [stdout] 24 | pub struct RawPrecipEvent { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] 25 | pub serial_number: String, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 26 | pub hub_sn: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RawPrecipEvent` 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 `serial_number` and `hub_sn` are never read [INFO] [stdout] --> src/reader.rs:32:9 [INFO] [stdout] | [INFO] [stdout] 31 | pub struct RawStrikeEvent { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] 32 | pub serial_number: String, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 33 | pub hub_sn: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RawStrikeEvent` 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 `serial_number` and `hub_sn` are never read [INFO] [stdout] --> src/reader.rs:39:9 [INFO] [stdout] | [INFO] [stdout] 38 | pub struct RawRapidWind { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 39 | pub serial_number: String, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 40 | pub hub_sn: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RawRapidWind` 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 `serial_number`, `hub_sn`, and `firmware_revision` are never read [INFO] [stdout] --> src/reader.rs:46:9 [INFO] [stdout] | [INFO] [stdout] 45 | pub struct RawObservation { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] 46 | pub serial_number: String, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 47 | pub hub_sn: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 48 | pub obs: [[Option; 18]; 1], [INFO] [stdout] 49 | pub firmware_revision: i32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RawObservation` 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 `timestamp` and `radio_stats` are never read [INFO] [stdout] --> src/reader.rs:72:9 [INFO] [stdout] | [INFO] [stdout] 67 | pub struct RawHubStatus { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] ... [INFO] [stdout] 72 | pub timestamp: i64, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 75 | pub radio_stats: [i32; 5], [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RawHubStatus` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 35.85s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: buf_redux v0.8.4, multipart v0.18.0 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 2` [INFO] running `Command { std: "docker" "inspect" "8ad62f99fa272ff3544f98c96cd4b0474fec5217b7d249ff90ea778bc8403d81", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8ad62f99fa272ff3544f98c96cd4b0474fec5217b7d249ff90ea778bc8403d81", kill_on_drop: false }` [INFO] [stdout] 8ad62f99fa272ff3544f98c96cd4b0474fec5217b7d249ff90ea778bc8403d81 [INFO] checking edarc/tempest-exporter against try#6289438dbad80b1a0029c66dd3f6abf57c2c51be for pr-126452-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fedarc%2Ftempest-exporter" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/edarc/tempest-exporter on toolchain 6289438dbad80b1a0029c66dd3f6abf57c2c51be [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+6289438dbad80b1a0029c66dd3f6abf57c2c51be" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/edarc/tempest-exporter [INFO] finished tweaking git repo https://github.com/edarc/tempest-exporter [INFO] tweaked toml for git repo https://github.com/edarc/tempest-exporter written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/edarc/tempest-exporter 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" "+6289438dbad80b1a0029c66dd3f6abf57c2c51be" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+6289438dbad80b1a0029c66dd3f6abf57c2c51be" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 22af89de338b1b22a3c4687bc77ac0b913c463c568da62f01d1c6fce3d03e00c [INFO] running `Command { std: "docker" "start" "-a" "22af89de338b1b22a3c4687bc77ac0b913c463c568da62f01d1c6fce3d03e00c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "22af89de338b1b22a3c4687bc77ac0b913c463c568da62f01d1c6fce3d03e00c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "22af89de338b1b22a3c4687bc77ac0b913c463c568da62f01d1c6fce3d03e00c", kill_on_drop: false }` [INFO] [stdout] 22af89de338b1b22a3c4687bc77ac0b913c463c568da62f01d1c6fce3d03e00c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-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" "+6289438dbad80b1a0029c66dd3f6abf57c2c51be" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d6457fa78fb943799f1b6e374f5c5ebdb236f794ae914a32c77b5b277ba46f33 [INFO] running `Command { std: "docker" "start" "-a" "d6457fa78fb943799f1b6e374f5c5ebdb236f794ae914a32c77b5b277ba46f33", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.84 [INFO] [stderr] Compiling serde_derive v1.0.132 [INFO] [stderr] Compiling serde v1.0.132 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Checking getrandom v0.2.3 [INFO] [stderr] Compiling cc v1.0.72 [INFO] [stderr] Compiling futures-util v0.3.19 [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Checking rand_core v0.6.3 [INFO] [stderr] Checking tracing-core v0.1.21 [INFO] [stderr] Compiling futures-channel v0.3.19 [INFO] [stderr] Compiling mime_guess v2.0.3 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking smallvec v1.7.0 [INFO] [stderr] Checking block-buffer v0.9.0 [INFO] [stderr] Checking rand v0.8.4 [INFO] [stderr] Checking digest v0.9.0 [INFO] [stderr] Checking cache-padded v1.2.0 [INFO] [stderr] Compiling protobuf v2.25.2 [INFO] [stderr] Checking safemem v0.3.3 [INFO] [stderr] Checking sha-1 v0.9.8 [INFO] [stderr] Compiling serde_json v1.0.73 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Checking buf_redux v0.8.4 [INFO] [stderr] Checking concurrent-queue v1.2.2 [INFO] [stderr] Checking parking_lot_core v0.8.5 [INFO] [stderr] Checking http-body v0.4.4 [INFO] [stderr] Checking headers-core v0.2.0 [INFO] [stderr] Checking twoway v0.1.8 [INFO] [stderr] Checking quick-error v1.2.3 [INFO] [stderr] Checking event-listener v2.5.1 [INFO] [stderr] Compiling anyhow v1.0.52 [INFO] [stderr] Compiling crossbeam-utils v0.8.7 [INFO] [stderr] Compiling prometheus v0.13.0 [INFO] [stderr] Checking tempfile v3.2.0 [INFO] [stderr] Checking clap v2.34.0 [INFO] [stderr] Checking async-channel v1.6.1 [INFO] [stderr] Checking time v0.3.5 [INFO] [stderr] Checking headers v0.3.5 [INFO] [stderr] Checking parking_lot v0.11.2 [INFO] [stderr] Checking colored v1.9.3 [INFO] [stderr] Checking mqttbytes v0.6.0 [INFO] [stderr] Checking pollster v0.2.4 [INFO] [stderr] Checking scoped-tls v1.0.0 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling tokio-macros v1.7.0 [INFO] [stderr] Compiling thiserror-impl v1.0.30 [INFO] [stderr] Compiling pin-project-internal v1.0.10 [INFO] [stderr] Compiling structopt-derive v0.4.18 [INFO] [stderr] Checking webpki v0.21.4 [INFO] [stderr] Checking sct v0.6.1 [INFO] [stderr] Checking thiserror v1.0.30 [INFO] [stderr] Checking pin-project v1.0.10 [INFO] [stderr] Checking structopt v0.3.25 [INFO] [stderr] Checking serde_urlencoded v0.7.0 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Checking mio v0.7.14 [INFO] [stderr] Checking tracing v0.1.29 [INFO] [stderr] Checking rustls v0.19.1 [INFO] [stderr] Checking want v0.3.0 [INFO] [stderr] Checking tungstenite v0.14.0 [INFO] [stderr] Checking multipart v0.18.0 [INFO] [stderr] Checking simple_logger v1.16.0 [INFO] [stderr] Checking tokio v1.15.0 [INFO] [stderr] Checking tokio-util v0.6.9 [INFO] [stderr] Checking tokio-tungstenite v0.15.0 [INFO] [stderr] Checking tokio-rustls v0.22.0 [INFO] [stderr] Checking tokio-stream v0.1.8 [INFO] [stderr] Checking rumqttc v0.10.0 [INFO] [stderr] Checking h2 v0.3.9 [INFO] [stderr] Checking hyper v0.14.16 [INFO] [stderr] Checking warp v0.3.2 [INFO] [stderr] Checking tempest-exporter v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: field `timestamp` is never read [INFO] [stdout] --> src/decoder.rs:108:9 [INFO] [stdout] | [INFO] [stdout] 107 | pub struct RapidWind { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] 108 | pub timestamp: DateTime, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RapidWind` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `interval` is never read [INFO] [stdout] --> src/decoder.rs:134:9 [INFO] [stdout] | [INFO] [stdout] 130 | pub struct WindObservation { [INFO] [stdout] | --------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 134 | pub interval: Duration, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `WindObservation` 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 `kind` is never read [INFO] [stdout] --> src/decoder.rs:147:9 [INFO] [stdout] | [INFO] [stdout] 145 | pub struct PrecipObservation { [INFO] [stdout] | ----------------- field in this struct [INFO] [stdout] 146 | pub quantity_last_minute: f64, [INFO] [stdout] 147 | pub kind: PrecipKind, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PrecipObservation` 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 `average_distance` and `count` are never read [INFO] [stdout] --> src/decoder.rs:152:9 [INFO] [stdout] | [INFO] [stdout] 151 | pub struct LightningObservation { [INFO] [stdout] | -------------------- fields in this struct [INFO] [stdout] 152 | pub average_distance: f64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 153 | pub count: i64, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `LightningObservation` 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 `lightning` and `report_interval` are never read [INFO] [stdout] --> src/decoder.rs:165:9 [INFO] [stdout] | [INFO] [stdout] 157 | pub struct Observation { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 165 | pub lightning: Option, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 166 | pub battery_volts: f64, [INFO] [stdout] 167 | pub report_interval: Duration, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Observation` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/decoder.rs:350:9 [INFO] [stdout] | [INFO] [stdout] 349 | pub struct DeviceStatus { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 350 | pub serial_number: String, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 351 | pub hub_serial_number: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 352 | pub timestamp: DateTime, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 353 | pub uptime: Duration, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 354 | pub voltage: f64, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 355 | pub firmware_revision: i32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 356 | pub rssi: f64, [INFO] [stdout] | ^^^^ [INFO] [stdout] 357 | pub hub_rssi: f64, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 358 | pub sensor_status: SensorStatus, [INFO] [stdout] 359 | pub debug: bool, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DeviceStatus` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/decoder.rs:414:9 [INFO] [stdout] | [INFO] [stdout] 413 | pub struct HubStatus { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 414 | pub serial_number: String, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 415 | pub firmware_revision: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 416 | pub uptime: Duration, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 417 | pub rssi: f64, [INFO] [stdout] | ^^^^ [INFO] [stdout] 418 | pub timestamp: DateTime, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 419 | pub reset_flags: ResetFlags, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 420 | pub seq: i32, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `HubStatus` 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 `serial_number` and `hub_sn` are never read [INFO] [stdout] --> src/reader.rs:25:9 [INFO] [stdout] | [INFO] [stdout] 24 | pub struct RawPrecipEvent { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] 25 | pub serial_number: String, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 26 | pub hub_sn: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RawPrecipEvent` 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 `serial_number` and `hub_sn` are never read [INFO] [stdout] --> src/reader.rs:32:9 [INFO] [stdout] | [INFO] [stdout] 31 | pub struct RawStrikeEvent { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] 32 | pub serial_number: String, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 33 | pub hub_sn: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RawStrikeEvent` 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 `serial_number` and `hub_sn` are never read [INFO] [stdout] --> src/reader.rs:39:9 [INFO] [stdout] | [INFO] [stdout] 38 | pub struct RawRapidWind { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 39 | pub serial_number: String, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 40 | pub hub_sn: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RawRapidWind` 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 `serial_number`, `hub_sn`, and `firmware_revision` are never read [INFO] [stdout] --> src/reader.rs:46:9 [INFO] [stdout] | [INFO] [stdout] 45 | pub struct RawObservation { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] 46 | pub serial_number: String, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 47 | pub hub_sn: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 48 | pub obs: [[Option; 18]; 1], [INFO] [stdout] 49 | pub firmware_revision: i32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RawObservation` 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 `timestamp` and `radio_stats` are never read [INFO] [stdout] --> src/reader.rs:72:9 [INFO] [stdout] | [INFO] [stdout] 67 | pub struct RawHubStatus { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] ... [INFO] [stdout] 72 | pub timestamp: i64, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 75 | pub radio_stats: [i32; 5], [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RawHubStatus` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `timestamp` is never read [INFO] [stdout] --> src/decoder.rs:108:9 [INFO] [stdout] | [INFO] [stdout] 107 | pub struct RapidWind { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] 108 | pub timestamp: DateTime, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RapidWind` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `interval` is never read [INFO] [stdout] --> src/decoder.rs:134:9 [INFO] [stdout] | [INFO] [stdout] 130 | pub struct WindObservation { [INFO] [stdout] | --------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 134 | pub interval: Duration, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `WindObservation` 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 `kind` is never read [INFO] [stdout] --> src/decoder.rs:147:9 [INFO] [stdout] | [INFO] [stdout] 145 | pub struct PrecipObservation { [INFO] [stdout] | ----------------- field in this struct [INFO] [stdout] 146 | pub quantity_last_minute: f64, [INFO] [stdout] 147 | pub kind: PrecipKind, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PrecipObservation` 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 `average_distance` and `count` are never read [INFO] [stdout] --> src/decoder.rs:152:9 [INFO] [stdout] | [INFO] [stdout] 151 | pub struct LightningObservation { [INFO] [stdout] | -------------------- fields in this struct [INFO] [stdout] 152 | pub average_distance: f64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 153 | pub count: i64, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `LightningObservation` 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 `lightning` and `report_interval` are never read [INFO] [stdout] --> src/decoder.rs:165:9 [INFO] [stdout] | [INFO] [stdout] 157 | pub struct Observation { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 165 | pub lightning: Option, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 166 | pub battery_volts: f64, [INFO] [stdout] 167 | pub report_interval: Duration, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Observation` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/decoder.rs:350:9 [INFO] [stdout] | [INFO] [stdout] 349 | pub struct DeviceStatus { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 350 | pub serial_number: String, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 351 | pub hub_serial_number: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 352 | pub timestamp: DateTime, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 353 | pub uptime: Duration, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 354 | pub voltage: f64, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 355 | pub firmware_revision: i32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 356 | pub rssi: f64, [INFO] [stdout] | ^^^^ [INFO] [stdout] 357 | pub hub_rssi: f64, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 358 | pub sensor_status: SensorStatus, [INFO] [stdout] 359 | pub debug: bool, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DeviceStatus` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/decoder.rs:414:9 [INFO] [stdout] | [INFO] [stdout] 413 | pub struct HubStatus { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 414 | pub serial_number: String, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 415 | pub firmware_revision: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 416 | pub uptime: Duration, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 417 | pub rssi: f64, [INFO] [stdout] | ^^^^ [INFO] [stdout] 418 | pub timestamp: DateTime, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 419 | pub reset_flags: ResetFlags, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 420 | pub seq: i32, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `HubStatus` 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 `serial_number` and `hub_sn` are never read [INFO] [stdout] --> src/reader.rs:25:9 [INFO] [stdout] | [INFO] [stdout] 24 | pub struct RawPrecipEvent { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] 25 | pub serial_number: String, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 26 | pub hub_sn: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RawPrecipEvent` 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 `serial_number` and `hub_sn` are never read [INFO] [stdout] --> src/reader.rs:32:9 [INFO] [stdout] | [INFO] [stdout] 31 | pub struct RawStrikeEvent { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] 32 | pub serial_number: String, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 33 | pub hub_sn: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RawStrikeEvent` 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 `serial_number` and `hub_sn` are never read [INFO] [stdout] --> src/reader.rs:39:9 [INFO] [stdout] | [INFO] [stdout] 38 | pub struct RawRapidWind { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 39 | pub serial_number: String, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 40 | pub hub_sn: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RawRapidWind` 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 `serial_number`, `hub_sn`, and `firmware_revision` are never read [INFO] [stdout] --> src/reader.rs:46:9 [INFO] [stdout] | [INFO] [stdout] 45 | pub struct RawObservation { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] 46 | pub serial_number: String, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 47 | pub hub_sn: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 48 | pub obs: [[Option; 18]; 1], [INFO] [stdout] 49 | pub firmware_revision: i32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RawObservation` 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 `timestamp` and `radio_stats` are never read [INFO] [stdout] --> src/reader.rs:72:9 [INFO] [stdout] | [INFO] [stdout] 67 | pub struct RawHubStatus { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] ... [INFO] [stdout] 72 | pub timestamp: i64, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 75 | pub radio_stats: [i32; 5], [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RawHubStatus` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 35.12s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: buf_redux v0.8.4, multipart v0.18.0 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 2` [INFO] running `Command { std: "docker" "inspect" "d6457fa78fb943799f1b6e374f5c5ebdb236f794ae914a32c77b5b277ba46f33", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d6457fa78fb943799f1b6e374f5c5ebdb236f794ae914a32c77b5b277ba46f33", kill_on_drop: false }` [INFO] [stdout] d6457fa78fb943799f1b6e374f5c5ebdb236f794ae914a32c77b5b277ba46f33