[INFO] cloning repository https://github.com/zeniho-dev/weather-aqi-cli [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/zeniho-dev/weather-aqi-cli" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzeniho-dev%2Fweather-aqi-cli", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzeniho-dev%2Fweather-aqi-cli'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] c29a419b402776413b4502ce35aa46e47d684c14 [INFO] checking zeniho-dev/weather-aqi-cli against master#be181dd75c83d72fcc95538e235768bc367b76b9 for pr-140208 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzeniho-dev%2Fweather-aqi-cli" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/zeniho-dev/weather-aqi-cli on toolchain be181dd75c83d72fcc95538e235768bc367b76b9 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+be181dd75c83d72fcc95538e235768bc367b76b9" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/zeniho-dev/weather-aqi-cli [INFO] finished tweaking git repo https://github.com/zeniho-dev/weather-aqi-cli [INFO] tweaked toml for git repo https://github.com/zeniho-dev/weather-aqi-cli written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/zeniho-dev/weather-aqi-cli 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" "+be181dd75c83d72fcc95538e235768bc367b76b9" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+be181dd75c83d72fcc95538e235768bc367b76b9" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7feb75f12b785752a5aeedd473c8f373d579126dc4a694a60cf82fe1ee97b741 [INFO] running `Command { std: "docker" "start" "-a" "7feb75f12b785752a5aeedd473c8f373d579126dc4a694a60cf82fe1ee97b741", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7feb75f12b785752a5aeedd473c8f373d579126dc4a694a60cf82fe1ee97b741", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7feb75f12b785752a5aeedd473c8f373d579126dc4a694a60cf82fe1ee97b741", kill_on_drop: false }` [INFO] [stdout] 7feb75f12b785752a5aeedd473c8f373d579126dc4a694a60cf82fe1ee97b741 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+be181dd75c83d72fcc95538e235768bc367b76b9" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 86b8e5a37ab91b4a215a701bc9b4434aeba03bf30e7d0ca8967eb81b6139d4eb [INFO] running `Command { std: "docker" "start" "-a" "86b8e5a37ab91b4a215a701bc9b4434aeba03bf30e7d0ca8967eb81b6139d4eb", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling libc v0.2.155 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Checking pin-project-lite v0.2.14 [INFO] [stderr] Checking bytes v1.7.1 [INFO] [stderr] Compiling autocfg v1.3.0 [INFO] [stderr] Compiling pkg-config v0.3.30 [INFO] [stderr] Checking itoa v1.0.11 [INFO] [stderr] Checking futures-core v0.3.30 [INFO] [stderr] Checking futures-sink v0.3.30 [INFO] [stderr] Checking once_cell v1.19.0 [INFO] [stderr] Compiling vcpkg v0.2.15 [INFO] [stderr] Compiling cc v1.1.7 [INFO] [stderr] Checking memchr v2.7.4 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Checking futures-task v0.3.30 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Checking futures-io v0.3.30 [INFO] [stderr] Compiling httparse v1.9.4 [INFO] [stderr] Compiling openssl v0.10.66 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Checking foreign-types-shared v0.1.1 [INFO] [stderr] Checking equivalent v1.0.1 [INFO] [stderr] Checking tracing-core v0.1.32 [INFO] [stderr] Checking foreign-types v0.3.2 [INFO] [stderr] Compiling serde v1.0.205 [INFO] [stderr] Checking atomic-waker v1.1.2 [INFO] [stderr] Checking try-lock v0.2.5 [INFO] [stderr] Compiling native-tls v0.2.12 [INFO] [stderr] Checking bitflags v2.6.0 [INFO] [stderr] Checking tinyvec_macros v0.1.1 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Checking want v0.3.1 [INFO] [stderr] Checking tinyvec v1.8.0 [INFO] [stderr] Checking futures-channel v0.3.30 [INFO] [stderr] Checking smallvec v1.13.2 [INFO] [stderr] Checking tower-service v0.3.2 [INFO] [stderr] Checking utf8parse v0.2.2 [INFO] [stderr] Checking http v1.1.0 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Checking percent-encoding v2.3.1 [INFO] [stderr] Checking log v0.4.22 [INFO] [stderr] Checking tower-layer v0.3.2 [INFO] [stderr] Checking openssl-probe v0.1.5 [INFO] [stderr] Checking anstyle-parse v0.2.5 [INFO] [stderr] Checking form_urlencoded v1.2.1 [INFO] [stderr] Checking ryu v1.0.18 [INFO] [stderr] Checking is_terminal_polyfill v1.70.1 [INFO] [stderr] Checking unicode-bidi v0.3.15 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Checking indexmap v2.3.0 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Compiling serde_json v1.0.122 [INFO] [stderr] Checking anstyle v1.0.8 [INFO] [stderr] Checking colorchoice v1.0.2 [INFO] [stderr] Checking anstyle-query v1.1.1 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Checking clap_lex v0.7.2 [INFO] [stderr] Checking base64 v0.22.1 [INFO] [stderr] Checking anstream v0.6.15 [INFO] [stderr] Checking rustls-pki-types v1.7.0 [INFO] [stderr] Compiling syn v2.0.72 [INFO] [stderr] Checking strsim v0.11.1 [INFO] [stderr] Checking encoding_rs v0.8.34 [INFO] [stderr] Checking mime v0.3.17 [INFO] [stderr] Checking mio v1.0.1 [INFO] [stderr] Checking socket2 v0.5.7 [INFO] [stderr] Checking sync_wrapper v1.0.1 [INFO] [stderr] Checking unicode-normalization v0.1.23 [INFO] [stderr] Checking ipnet v2.9.0 [INFO] [stderr] Checking http-body v1.0.1 [INFO] [stderr] Checking dotenv v0.15.0 [INFO] [stderr] Checking clap_builder v4.5.13 [INFO] [stderr] Checking rustls-pemfile v2.1.3 [INFO] [stderr] Compiling openssl-sys v0.9.103 [INFO] [stderr] Checking tokio v1.39.2 [INFO] [stderr] Checking idna v0.5.0 [INFO] [stderr] Checking url v2.5.2 [INFO] [stderr] Checking http-body-util v0.1.2 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling pin-project-internal v1.1.5 [INFO] [stderr] Compiling clap_derive v4.5.13 [INFO] [stderr] Compiling serde_derive v1.0.205 [INFO] [stderr] Checking tokio-util v0.7.11 [INFO] [stderr] Checking h2 v0.4.5 [INFO] [stderr] Checking pin-project v1.1.5 [INFO] [stderr] Checking tower v0.4.13 [INFO] [stderr] Checking clap v4.5.13 [INFO] [stderr] Checking hyper v1.4.1 [INFO] [stderr] Checking tokio-native-tls v0.3.1 [INFO] [stderr] Checking hyper-util v0.1.6 [INFO] [stderr] Checking hyper-tls v0.6.0 [INFO] [stderr] Checking reqwest v0.12.5 [INFO] [stderr] Checking weather-cli v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: field `status` is never read [INFO] [stdout] --> src/models/mod.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct ApiResponse { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] 5 | pub data: Vec, [INFO] [stdout] 6 | pub status: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ApiResponse` 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 `time` is never read [INFO] [stdout] --> src/models/mod.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct StationData { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 13 | pub time: TimeInfo, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `StationData` 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 `country`, `geo`, and `url` are never read [INFO] [stdout] --> src/models/mod.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 18 | pub struct StationInfo { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 19 | pub country: Option, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 20 | pub geo: Vec, [INFO] [stdout] | ^^^ [INFO] [stdout] 21 | pub name: String, [INFO] [stdout] 22 | pub url: String, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `StationInfo` 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 `stime`, `tz`, and `vtime` are never read [INFO] [stdout] --> src/models/mod.rs:27:9 [INFO] [stdout] | [INFO] [stdout] 26 | pub struct TimeInfo { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 27 | pub stime: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 28 | pub tz: String, [INFO] [stdout] | ^^ [INFO] [stdout] 29 | pub vtime: i64, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TimeInfo` 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/models/mod.rs:35:9 [INFO] [stdout] | [INFO] [stdout] 35 | Dew(IaqiValue), [INFO] [stdout] | --- ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `IaqiType` 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] 35 - Dew(IaqiValue), [INFO] [stdout] 35 + Dew(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/models/mod.rs:36:7 [INFO] [stdout] | [INFO] [stdout] 36 | H(IaqiValue), [INFO] [stdout] | - ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `IaqiType` 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] 36 - H(IaqiValue), [INFO] [stdout] 36 + H(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/models/mod.rs:37:9 [INFO] [stdout] | [INFO] [stdout] 37 | No2(IaqiValue), [INFO] [stdout] | --- ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `IaqiType` 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] 37 - No2(IaqiValue), [INFO] [stdout] 37 + No2(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/models/mod.rs:38:8 [INFO] [stdout] | [INFO] [stdout] 38 | O3(IaqiValue), [INFO] [stdout] | -- ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `IaqiType` 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] 38 - O3(IaqiValue), [INFO] [stdout] 38 + O3(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/models/mod.rs:39:7 [INFO] [stdout] | [INFO] [stdout] 39 | P(IaqiValue), [INFO] [stdout] | - ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `IaqiType` 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] 39 - P(IaqiValue), [INFO] [stdout] 39 + P(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/models/mod.rs:40:10 [INFO] [stdout] | [INFO] [stdout] 40 | Pm10(IaqiValue), [INFO] [stdout] | ---- ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `IaqiType` 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] 40 - Pm10(IaqiValue), [INFO] [stdout] 40 + Pm10(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/models/mod.rs:41:10 [INFO] [stdout] | [INFO] [stdout] 41 | Pm25(IaqiValue), [INFO] [stdout] | ---- ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `IaqiType` 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] 41 - Pm25(IaqiValue), [INFO] [stdout] 41 + Pm25(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/models/mod.rs:42:7 [INFO] [stdout] | [INFO] [stdout] 42 | T(IaqiValue), [INFO] [stdout] | - ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `IaqiType` 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] 42 - T(IaqiValue), [INFO] [stdout] 42 + T(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/models/mod.rs:43:7 [INFO] [stdout] | [INFO] [stdout] 43 | W(IaqiValue), [INFO] [stdout] | - ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `IaqiType` 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] 43 - W(IaqiValue), [INFO] [stdout] 43 + W(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `v` is never read [INFO] [stdout] --> src/models/mod.rs:48:9 [INFO] [stdout] | [INFO] [stdout] 47 | pub struct IaqiValue { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] 48 | pub v: f64, [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `IaqiValue` 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 `data` is never read [INFO] [stdout] --> src/models/mod.rs:54:9 [INFO] [stdout] | [INFO] [stdout] 52 | pub struct Iaqi { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] 53 | #[serde(flatten)] [INFO] [stdout] 54 | pub data: std::collections::HashMap, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Iaqi` 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 `status` and `data` are never read [INFO] [stdout] --> src/models/mod.rs:59:9 [INFO] [stdout] | [INFO] [stdout] 58 | pub struct StationFeed { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 59 | pub status: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 60 | pub data: StationFeedData, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `StationFeed` 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 `sync` is never read [INFO] [stdout] --> src/models/mod.rs:65:9 [INFO] [stdout] | [INFO] [stdout] 64 | pub struct DebugInfo { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] 65 | pub sync: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DebugInfo` 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/models/mod.rs:70:9 [INFO] [stdout] | [INFO] [stdout] 69 | pub struct StationFeedData { [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] 70 | pub idx: i32, [INFO] [stdout] | ^^^ [INFO] [stdout] 71 | pub aqi: i32, [INFO] [stdout] | ^^^ [INFO] [stdout] 72 | pub time: TimeInfo, [INFO] [stdout] | ^^^^ [INFO] [stdout] 73 | pub city: StationInfo, [INFO] [stdout] | ^^^^ [INFO] [stdout] 74 | pub debug: DebugInfo, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 75 | pub dominentpol: String, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 76 | //pub forecast: Forecast, [INFO] [stdout] 77 | pub iaqi: Iaqi, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `StationFeedData` 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 `status` is never read [INFO] [stdout] --> src/models/mod.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct ApiResponse { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] 5 | pub data: Vec, [INFO] [stdout] 6 | pub status: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ApiResponse` 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 `time` is never read [INFO] [stdout] --> src/models/mod.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct StationData { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 13 | pub time: TimeInfo, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `StationData` 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 `country`, `geo`, and `url` are never read [INFO] [stdout] --> src/models/mod.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 18 | pub struct StationInfo { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 19 | pub country: Option, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 20 | pub geo: Vec, [INFO] [stdout] | ^^^ [INFO] [stdout] 21 | pub name: String, [INFO] [stdout] 22 | pub url: String, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `StationInfo` 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 `stime`, `tz`, and `vtime` are never read [INFO] [stdout] --> src/models/mod.rs:27:9 [INFO] [stdout] | [INFO] [stdout] 26 | pub struct TimeInfo { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 27 | pub stime: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 28 | pub tz: String, [INFO] [stdout] | ^^ [INFO] [stdout] 29 | pub vtime: i64, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TimeInfo` 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/models/mod.rs:35:9 [INFO] [stdout] | [INFO] [stdout] 35 | Dew(IaqiValue), [INFO] [stdout] | --- ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `IaqiType` 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] 35 - Dew(IaqiValue), [INFO] [stdout] 35 + Dew(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/models/mod.rs:36:7 [INFO] [stdout] | [INFO] [stdout] 36 | H(IaqiValue), [INFO] [stdout] | - ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `IaqiType` 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] 36 - H(IaqiValue), [INFO] [stdout] 36 + H(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/models/mod.rs:37:9 [INFO] [stdout] | [INFO] [stdout] 37 | No2(IaqiValue), [INFO] [stdout] | --- ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `IaqiType` 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] 37 - No2(IaqiValue), [INFO] [stdout] 37 + No2(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/models/mod.rs:38:8 [INFO] [stdout] | [INFO] [stdout] 38 | O3(IaqiValue), [INFO] [stdout] | -- ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `IaqiType` 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] 38 - O3(IaqiValue), [INFO] [stdout] 38 + O3(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/models/mod.rs:39:7 [INFO] [stdout] | [INFO] [stdout] 39 | P(IaqiValue), [INFO] [stdout] | - ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `IaqiType` 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] 39 - P(IaqiValue), [INFO] [stdout] 39 + P(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/models/mod.rs:40:10 [INFO] [stdout] | [INFO] [stdout] 40 | Pm10(IaqiValue), [INFO] [stdout] | ---- ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `IaqiType` 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] 40 - Pm10(IaqiValue), [INFO] [stdout] 40 + Pm10(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/models/mod.rs:41:10 [INFO] [stdout] | [INFO] [stdout] 41 | Pm25(IaqiValue), [INFO] [stdout] | ---- ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `IaqiType` 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] 41 - Pm25(IaqiValue), [INFO] [stdout] 41 + Pm25(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/models/mod.rs:42:7 [INFO] [stdout] | [INFO] [stdout] 42 | T(IaqiValue), [INFO] [stdout] | - ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `IaqiType` 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] 42 - T(IaqiValue), [INFO] [stdout] 42 + T(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/models/mod.rs:43:7 [INFO] [stdout] | [INFO] [stdout] 43 | W(IaqiValue), [INFO] [stdout] | - ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `IaqiType` 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] 43 - W(IaqiValue), [INFO] [stdout] 43 + W(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `v` is never read [INFO] [stdout] --> src/models/mod.rs:48:9 [INFO] [stdout] | [INFO] [stdout] 47 | pub struct IaqiValue { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] 48 | pub v: f64, [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `IaqiValue` 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 `data` is never read [INFO] [stdout] --> src/models/mod.rs:54:9 [INFO] [stdout] | [INFO] [stdout] 52 | pub struct Iaqi { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] 53 | #[serde(flatten)] [INFO] [stdout] 54 | pub data: std::collections::HashMap, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Iaqi` 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 `status` and `data` are never read [INFO] [stdout] --> src/models/mod.rs:59:9 [INFO] [stdout] | [INFO] [stdout] 58 | pub struct StationFeed { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 59 | pub status: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 60 | pub data: StationFeedData, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `StationFeed` 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 `sync` is never read [INFO] [stdout] --> src/models/mod.rs:65:9 [INFO] [stdout] | [INFO] [stdout] 64 | pub struct DebugInfo { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] 65 | pub sync: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DebugInfo` 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/models/mod.rs:70:9 [INFO] [stdout] | [INFO] [stdout] 69 | pub struct StationFeedData { [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] 70 | pub idx: i32, [INFO] [stdout] | ^^^ [INFO] [stdout] 71 | pub aqi: i32, [INFO] [stdout] | ^^^ [INFO] [stdout] 72 | pub time: TimeInfo, [INFO] [stdout] | ^^^^ [INFO] [stdout] 73 | pub city: StationInfo, [INFO] [stdout] | ^^^^ [INFO] [stdout] 74 | pub debug: DebugInfo, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 75 | pub dominentpol: String, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 76 | //pub forecast: Forecast, [INFO] [stdout] 77 | pub iaqi: Iaqi, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `StationFeedData` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 14.92s [INFO] running `Command { std: "docker" "inspect" "86b8e5a37ab91b4a215a701bc9b4434aeba03bf30e7d0ca8967eb81b6139d4eb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "86b8e5a37ab91b4a215a701bc9b4434aeba03bf30e7d0ca8967eb81b6139d4eb", kill_on_drop: false }` [INFO] [stdout] 86b8e5a37ab91b4a215a701bc9b4434aeba03bf30e7d0ca8967eb81b6139d4eb