[INFO] cloning repository https://github.com/itachilee/ratatui_weather
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/itachilee/ratatui_weather" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fitachilee%2Fratatui_weather", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fitachilee%2Fratatui_weather'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] a136149851e7ad27bf5682a49574bd723d7cd700
[INFO] checking itachilee/ratatui_weather against try#ad93f57d532978d6739002a21bc66b45ed22f998 for pr-155418
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fitachilee%2Fratatui_weather" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/itachilee/ratatui_weather
[INFO] finished tweaking git repo https://github.com/itachilee/ratatui_weather
[INFO] tweaked toml for git repo https://github.com/itachilee/ratatui_weather written to /workspace/builds/worker-5-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/itachilee/ratatui_weather on toolchain ad93f57d532978d6739002a21bc66b45ed22f998
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ad93f57d532978d6739002a21bc66b45ed22f998" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/itachilee/ratatui_weather 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" "+ad93f57d532978d6739002a21bc66b45ed22f998" "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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+ad93f57d532978d6739002a21bc66b45ed22f998" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] c5b6cf35934bbb76ea163da18549f121204b266d812a2ec80c32eac0b490e0d5
[INFO] running `Command { std: "docker" "start" "-a" "c5b6cf35934bbb76ea163da18549f121204b266d812a2ec80c32eac0b490e0d5", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "c5b6cf35934bbb76ea163da18549f121204b266d812a2ec80c32eac0b490e0d5", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "c5b6cf35934bbb76ea163da18549f121204b266d812a2ec80c32eac0b490e0d5", kill_on_drop: false }`
[INFO] [stdout] c5b6cf35934bbb76ea163da18549f121204b266d812a2ec80c32eac0b490e0d5
[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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+ad93f57d532978d6739002a21bc66b45ed22f998" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 84ba8208870363408258126359d4e2080d4f796ac7617e9106938306b1b7e8ba
[INFO] running `Command { std: "docker" "start" "-a" "84ba8208870363408258126359d4e2080d4f796ac7617e9106938306b1b7e8ba", kill_on_drop: false }`
[INFO] [stderr]     Checking smallvec v1.13.2
[INFO] [stderr]     Checking log v0.4.25
[INFO] [stderr]     Checking memchr v2.7.2
[INFO] [stderr]     Checking bytes v1.10.0
[INFO] [stderr]    Compiling proc-macro2 v1.0.93
[INFO] [stderr]     Checking stable_deref_trait v1.2.0
[INFO] [stderr]    Compiling serde v1.0.217
[INFO] [stderr]    Compiling ahash v0.8.11
[INFO] [stderr]    Compiling libc v0.2.169
[INFO] [stderr]    Compiling ppv-lite86 v0.2.17
[INFO] [stderr]    Compiling siphasher v0.3.11
[INFO] [stderr]     Checking bitflags v2.5.0
[INFO] [stderr]     Checking zerocopy v0.7.34
[INFO] [stderr]     Checking signal-hook-registry v1.4.2
[INFO] [stderr]     Checking getrandom v0.2.15
[INFO] [stderr]     Checking socket2 v0.5.7
[INFO] [stderr]     Checking litemap v0.7.3
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]    Compiling httparse v1.9.3
[INFO] [stderr]     Checking mio v1.0.3
[INFO] [stderr]     Checking tracing v0.1.40
[INFO] [stderr]    Compiling phf_shared v0.10.0
[INFO] [stderr]     Checking parking_lot_core v0.9.10
[INFO] [stderr]     Checking miniz_oxide v0.8.3
[INFO] [stderr]     Checking time v0.3.36
[INFO] [stderr]     Checking generic-array v0.14.7
[INFO] [stderr]    Compiling serde_json v1.0.138
[INFO] [stderr]    Compiling openssl v0.10.64
[INFO] [stderr]     Checking http v1.1.0
[INFO] [stderr]    Compiling phf_shared v0.11.2
[INFO] [stderr]    Compiling semver v1.0.25
[INFO] [stderr]     Checking http v0.2.12
[INFO] [stderr]     Checking unicode-normalization v0.1.23
[INFO] [stderr]    Compiling quote v1.0.38
[INFO] [stderr]     Checking parking_lot v0.12.3
[INFO] [stderr]     Checking rand_core v0.6.4
[INFO] [stderr]    Compiling cookie v0.18.1
[INFO] [stderr]    Compiling syn v2.0.96
[INFO] [stderr]     Checking aho-corasick v1.1.3
[INFO] [stderr]     Checking precomputed-hash v0.1.1
[INFO] [stderr]     Checking unicode-bidi v0.3.15
[INFO] [stderr]    Compiling signal-hook v0.3.17
[INFO] [stderr]     Checking mac v0.1.1
[INFO] [stderr]    Compiling getrandom v0.3.1
[INFO] [stderr]     Checking hashbrown v0.14.5
[INFO] [stderr]    Compiling zerocopy v0.8.16
[INFO] [stderr]     Checking futf v0.1.5
[INFO] [stderr]     Checking rand_chacha v0.3.1
[INFO] [stderr]     Checking flate2 v1.0.35
[INFO] [stderr]    Compiling jobserver v0.1.32
[INFO] [stderr]     Checking block-buffer v0.10.4
[INFO] [stderr]     Checking crypto-common v0.1.6
[INFO] [stderr]     Checking idna v0.3.0
[INFO] [stderr]     Checking http-body v1.0.0
[INFO] [stderr]     Checking brotli-decompressor v4.0.2
[INFO] [stderr]     Checking digest v0.10.7
[INFO] [stderr]    Compiling cc v1.2.12
[INFO] [stderr]     Checking phf v0.10.1
[INFO] [stderr]     Checking bytestring v1.4.0
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]    Compiling cookie v0.16.2
[INFO] [stderr]    Compiling litrs v0.4.1
[INFO] [stderr]     Checking unicode-width v0.1.12
[INFO] [stderr]    Compiling rand v0.8.5
[INFO] [stderr]     Checking dtoa v1.0.9
[INFO] [stderr]     Checking regex-automata v0.4.9
[INFO] [stderr]     Checking either v1.12.0
[INFO] [stderr]     Checking indexmap v2.2.6
[INFO] [stderr]     Checking utf-8 v0.7.6
[INFO] [stderr]    Compiling rustix v0.38.34
[INFO] [stderr]     Checking psl-types v2.0.11
[INFO] [stderr]     Checking publicsuffix v2.2.3
[INFO] [stderr]     Checking sha1 v0.10.6
[INFO] [stderr]     Checking dtoa-short v0.3.5
[INFO] [stderr]     Checking tendril v0.4.3
[INFO] [stderr]    Compiling rustc_version v0.4.1
[INFO] [stderr]    Compiling document-features v0.2.10
[INFO] [stderr]     Checking sync_wrapper v1.0.2
[INFO] [stderr]     Checking rustls-pki-types v1.11.0
[INFO] [stderr]    Compiling pq-sys v0.7.0
[INFO] [stderr]     Checking tower-layer v0.3.3
[INFO] [stderr]     Checking rustls-pemfile v2.1.2
[INFO] [stderr]     Checking brotli v6.0.0
[INFO] [stderr]     Checking signal-hook-mio v0.2.4
[INFO] [stderr]    Compiling elasticsearch v8.17.0-alpha.1
[INFO] [stderr]     Checking itertools v0.12.1
[INFO] [stderr]     Checking scheduled-thread-pool v0.2.7
[INFO] [stderr]     Checking castaway v0.2.3
[INFO] [stderr]     Checking servo_arc v0.3.0
[INFO] [stderr]    Compiling anyhow v1.0.95
[INFO] [stderr]    Compiling indoc v2.0.5
[INFO] [stderr]     Checking compact_str v0.8.1
[INFO] [stderr]    Compiling phf_generator v0.10.0
[INFO] [stderr]    Compiling phf_generator v0.11.2
[INFO] [stderr]    Compiling phf_codegen v0.10.0
[INFO] [stderr]    Compiling string_cache_codegen v0.5.2
[INFO] [stderr]     Checking anstream v0.6.15
[INFO] [stderr]    Compiling selectors v0.25.0
[INFO] [stderr]     Checking r2d2 v0.8.10
[INFO] [stderr]     Checking crossterm v0.28.1
[INFO] [stderr]     Checking itertools v0.13.0
[INFO] [stderr]     Checking lru v0.12.3
[INFO] [stderr]     Checking getopts v0.2.21
[INFO] [stderr]     Checking combine v4.6.7
[INFO] [stderr]    Compiling markup5ever v0.11.0
[INFO] [stderr]     Checking dyn-clone v1.0.18
[INFO] [stderr]     Checking rand_core v0.9.0
[INFO] [stderr]     Checking unicode-segmentation v1.11.0
[INFO] [stderr]     Checking unicode-width v0.2.0
[INFO] [stderr]     Checking xml-rs v0.8.25
[INFO] [stderr]     Checking cassowary v0.3.0
[INFO] [stderr]     Checking rand_chacha v0.9.0
[INFO] [stderr]     Checking ego-tree v0.6.2
[INFO] [stderr]     Checking sha1_smol v1.0.0
[INFO] [stderr]     Checking rand v0.9.0
[INFO] [stderr]     Checking uuid v1.12.1
[INFO] [stderr]    Compiling openssl-sys v0.9.102
[INFO] [stderr]    Compiling zstd-sys v2.0.13+zstd.1.5.6
[INFO] [stderr]     Checking dotenv v0.15.0
[INFO] [stderr]     Checking urlencoding v2.1.3
[INFO] [stderr]     Checking unicode-truncate v1.0.0
[INFO] [stderr]    Compiling native-tls v0.2.12
[INFO] [stderr]     Checking regex v1.11.1
[INFO] [stderr]     Checking env_filter v0.1.3
[INFO] [stderr]     Checking env_logger v0.11.6
[INFO] [stderr]    Compiling actix-router v0.5.3
[INFO] [stderr]    Compiling synstructure v0.13.1
[INFO] [stderr]    Compiling darling_core v0.20.10
[INFO] [stderr]    Compiling diesel_table_macro_syntax v0.2.0
[INFO] [stderr]    Compiling tokio-macros v2.5.0
[INFO] [stderr]    Compiling zerofrom-derive v0.1.4
[INFO] [stderr]    Compiling serde_derive v1.0.217
[INFO] [stderr]    Compiling yoke-derive v0.7.4
[INFO] [stderr]    Compiling zerovec-derive v0.10.2
[INFO] [stderr]    Compiling displaydoc v0.2.4
[INFO] [stderr]    Compiling futures-macro v0.3.30
[INFO] [stderr]    Compiling icu_provider_macros v1.5.0
[INFO] [stderr]    Compiling openssl-macros v0.1.1
[INFO] [stderr]    Compiling phf_macros v0.11.2
[INFO] [stderr]    Compiling cssparser-macros v0.6.1
[INFO] [stderr]    Compiling thiserror-impl v1.0.69
[INFO] [stderr]    Compiling actix-macros v0.2.4
[INFO] [stderr]     Checking tokio v1.43.0
[INFO] [stderr]    Compiling actix-web-codegen v4.3.0
[INFO] [stderr]    Compiling strum_macros v0.26.4
[INFO] [stderr]     Checking phf v0.11.2
[INFO] [stderr]     Checking cssparser v0.31.2
[INFO] [stderr]     Checking futures-util v0.3.30
[INFO] [stderr]     Checking zerofrom v0.1.4
[INFO] [stderr]     Checking thiserror v1.0.69
[INFO] [stderr]     Checking yoke v0.7.4
[INFO] [stderr]     Checking zerovec v0.10.2
[INFO] [stderr]    Compiling darling_macro v0.20.10
[INFO] [stderr]    Compiling darling v0.20.10
[INFO] [stderr]    Compiling derive_more v0.99.17
[INFO] [stderr]    Compiling html5ever v0.26.0
[INFO] [stderr]    Compiling dsl_auto_type v0.1.3
[INFO] [stderr]    Compiling serde_with_macros v3.12.0
[INFO] [stderr]    Compiling instability v0.3.7
[INFO] [stderr]     Checking tinystr v0.7.6
[INFO] [stderr]     Checking icu_collections v1.5.0
[INFO] [stderr]    Compiling zstd-safe v7.2.1
[INFO] [stderr]     Checking icu_locid v1.5.0
[INFO] [stderr]    Compiling diesel_derives v2.2.3
[INFO] [stderr]     Checking zstd v0.13.2
[INFO] [stderr]     Checking strum v0.26.3
[INFO] [stderr]     Checking ratatui v0.29.0
[INFO] [stderr]     Checking icu_provider v1.5.0
[INFO] [stderr]     Checking icu_locid_transform v1.5.0
[INFO] [stderr]     Checking http-body-util v0.1.2
[INFO] [stderr]     Checking futures-executor v0.3.30
[INFO] [stderr]     Checking futures v0.3.30
[INFO] [stderr]     Checking icu_properties v1.5.0
[INFO] [stderr]     Checking serde_urlencoded v0.7.1
[INFO] [stderr]     Checking string_cache v0.8.7
[INFO] [stderr]     Checking chrono v0.4.39
[INFO] [stderr]     Checking serde_with v3.12.0
[INFO] [stderr]     Checking serde-xml-rs v0.6.0
[INFO] [stderr]     Checking tokio-util v0.7.11
[INFO] [stderr]     Checking actix-rt v2.10.0
[INFO] [stderr]     Checking tokio-native-tls v0.3.1
[INFO] [stderr]     Checking tower v0.5.2
[INFO] [stderr]     Checking async-compression v0.4.18
[INFO] [stderr]     Checking actix-server v2.5.0
[INFO] [stderr]     Checking h2 v0.4.5
[INFO] [stderr]     Checking actix-codec v0.5.2
[INFO] [stderr]     Checking h2 v0.3.26
[INFO] [stderr]     Checking icu_normalizer v1.5.0
[INFO] [stderr]     Checking idna v1.0.0
[INFO] [stderr]     Checking diesel v2.2.7
[INFO] [stderr]     Checking url v2.5.1
[INFO] [stderr]     Checking scraper v0.19.0
[INFO] [stderr]     Checking cookie_store v0.21.1
[INFO] [stderr]     Checking redis v0.25.4
[INFO] [stderr]     Checking hyper v1.6.0
[INFO] [stderr]     Checking actix-http v3.9.0
[INFO] [stderr]     Checking hyper-util v0.1.10
[INFO] [stderr]     Checking hyper-tls v0.6.0
[INFO] [stderr]     Checking reqwest v0.12.12
[INFO] [stderr]     Checking actix-web v4.9.0
[INFO] [stderr]     Checking actix-cors v0.7.0
[INFO] [stderr]     Checking ratatui_weather v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `std::any::Any`
[INFO] [stdout]  --> src/constants/constant.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::any::Any;
[INFO] [stdout]   |     ^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `diesel::r2d2::ConnectionManager`
[INFO] [stdout]   --> src/constants/constant.rs:17:5
[INFO] [stdout]    |
[INFO] [stdout] 17 | use diesel::r2d2::ConnectionManager;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `diesel::r2d2::PooledConnection`
[INFO] [stdout]   --> src/constants/constant.rs:18:5
[INFO] [stdout]    |
[INFO] [stdout] 18 | use diesel::r2d2::PooledConnection;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::any::Any`
[INFO] [stdout]  --> src/constants/constant.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::any::Any;
[INFO] [stdout]   |     ^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `diesel::r2d2::ConnectionManager`
[INFO] [stdout]   --> src/constants/constant.rs:17:5
[INFO] [stdout]    |
[INFO] [stdout] 17 | use diesel::r2d2::ConnectionManager;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `diesel::r2d2::PooledConnection`
[INFO] [stdout]   --> src/constants/constant.rs:18:5
[INFO] [stdout]    |
[INFO] [stdout] 18 | use diesel::r2d2::PooledConnection;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable expression
[INFO] [stdout]    --> src/constants/constant.rs:265:23
[INFO] [stdout]     |
[INFO] [stdout] 264 |             peoper_name: todo!(),
[INFO] [stdout]     |                          ------- any code following this expression is unreachable
[INFO] [stdout] 265 |             position: todo!(),
[INFO] [stdout]     |                       ^^^^^^^ unreachable expression
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unreachable_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable expression
[INFO] [stdout]    --> src/constants/constant.rs:265:23
[INFO] [stdout]     |
[INFO] [stdout] 264 |             peoper_name: todo!(),
[INFO] [stdout]     |                          ------- any code following this expression is unreachable
[INFO] [stdout] 265 |             position: todo!(),
[INFO] [stdout]     |                       ^^^^^^^ unreachable expression
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unreachable_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable expression
[INFO] [stdout]    --> src/constants/constant.rs:296:23
[INFO] [stdout]     |
[INFO] [stdout] 295 |             peoper_name: todo!(),
[INFO] [stdout]     |                          ------- any code following this expression is unreachable
[INFO] [stdout] 296 |             position: todo!(),
[INFO] [stdout]     |                       ^^^^^^^ unreachable expression
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable expression
[INFO] [stdout]    --> src/constants/constant.rs:296:23
[INFO] [stdout]     |
[INFO] [stdout] 295 |             peoper_name: todo!(),
[INFO] [stdout]     |                          ------- any code following this expression is unreachable
[INFO] [stdout] 296 |             position: todo!(),
[INFO] [stdout]     |                       ^^^^^^^ unreachable expression
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `res`
[INFO] [stdout]   --> src/constants/constant.rs:59:16
[INFO] [stdout]    |
[INFO] [stdout] 59 |             Ok(res) => {}
[INFO] [stdout]    |                ^^^ help: if this is intentional, prefix it with an underscore: `_res`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `res`
[INFO] [stdout]   --> src/constants/constant.rs:59:16
[INFO] [stdout]    |
[INFO] [stdout] 59 |             Ok(res) => {}
[INFO] [stdout]    |                ^^^ help: if this is intentional, prefix it with an underscore: `_res`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `res`
[INFO] [stdout]   --> src/constants/constant.rs:65:24
[INFO] [stdout]    |
[INFO] [stdout] 65 |                     Ok(res) => {
[INFO] [stdout]    |                        ^^^ help: if this is intentional, prefix it with an underscore: `_res`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `res`
[INFO] [stdout]   --> src/constants/constant.rs:65:24
[INFO] [stdout]    |
[INFO] [stdout] 65 |                     Ok(res) => {
[INFO] [stdout]    |                        ^^^ help: if this is intentional, prefix it with an underscore: `_res`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `res`
[INFO] [stdout]    --> src/constants/constant.rs:111:16
[INFO] [stdout]     |
[INFO] [stdout] 111 |             Ok(res) => {
[INFO] [stdout]     |                ^^^ help: if this is intentional, prefix it with an underscore: `_res`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `res`
[INFO] [stdout]    --> src/constants/constant.rs:111:16
[INFO] [stdout]     |
[INFO] [stdout] 111 |             Ok(res) => {
[INFO] [stdout]     |                ^^^ help: if this is intentional, prefix it with an underscore: `_res`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `e`
[INFO] [stdout]    --> src/constants/constant.rs:165:17
[INFO] [stdout]     |
[INFO] [stdout] 165 |             Err(e) => Ok(Vec::new()),
[INFO] [stdout]     |                 ^ help: if this is intentional, prefix it with an underscore: `_e`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `e`
[INFO] [stdout]    --> src/constants/constant.rs:165:17
[INFO] [stdout]     |
[INFO] [stdout] 165 |             Err(e) => Ok(Vec::new()),
[INFO] [stdout]     |                 ^ help: if this is intentional, prefix it with an underscore: `_e`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `e`
[INFO] [stdout]    --> src/constants/constant.rs:182:17
[INFO] [stdout]     |
[INFO] [stdout] 182 |             Err(e) => Ok(Vec::new()),
[INFO] [stdout]     |                 ^ help: if this is intentional, prefix it with an underscore: `_e`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `e`
[INFO] [stdout]    --> src/constants/constant.rs:182:17
[INFO] [stdout]     |
[INFO] [stdout] 182 |             Err(e) => Ok(Vec::new()),
[INFO] [stdout]     |                 ^ help: if this is intentional, prefix it with an underscore: `_e`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `warning_info`
[INFO] [stdout]    --> src/constants/constant.rs:263:13
[INFO] [stdout]     |
[INFO] [stdout] 263 |         let warning_info = MinePeopleInfoInsert {
[INFO] [stdout]     |             ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_warning_info`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `warning_info`
[INFO] [stdout]    --> src/constants/constant.rs:263:13
[INFO] [stdout]     |
[INFO] [stdout] 263 |         let warning_info = MinePeopleInfoInsert {
[INFO] [stdout]     |             ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_warning_info`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `warning_info`
[INFO] [stdout]    --> src/constants/constant.rs:294:13
[INFO] [stdout]     |
[INFO] [stdout] 294 |         let warning_info = MinePeopleInfoInsert {
[INFO] [stdout]     |             ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_warning_info`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `warning_info`
[INFO] [stdout]    --> src/constants/constant.rs:294:13
[INFO] [stdout]     |
[INFO] [stdout] 294 |         let warning_info = MinePeopleInfoInsert {
[INFO] [stdout]     |             ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_warning_info`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `online_rate` is never read
[INFO] [stdout]   --> src/models/aoyinuo.rs:15:31
[INFO] [stdout]    |
[INFO] [stdout] 15 |         let mut online_rate = 0f64;
[INFO] [stdout]    |                               ^^^^ this value is reassigned later and never used
[INFO] [stdout] ...
[INFO] [stdout] 20 |             online_rate = online as f64 / total as f64;
[INFO] [stdout]    |             ------------------------------------------ `online_rate` is overwritten here before the previous value is read
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `online_rate` is never read
[INFO] [stdout]   --> src/models/aoyinuo.rs:15:31
[INFO] [stdout]    |
[INFO] [stdout] 15 |         let mut online_rate = 0f64;
[INFO] [stdout]    |                               ^^^^ this value is reassigned later and never used
[INFO] [stdout] ...
[INFO] [stdout] 20 |             online_rate = online as f64 / total as f64;
[INFO] [stdout]    |             ------------------------------------------ `online_rate` is overwritten here before the previous value is read
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `es_url`
[INFO] [stdout]   --> src/models/common.rs:42:9
[INFO] [stdout]    |
[INFO] [stdout] 42 |     let es_url = env::var("ELASTICSEARCH_HOST").expect("ELASTICSEARCH_HOST must be set");
[INFO] [stdout]    |         ^^^^^^ help: if this is intentional, prefix it with an underscore: `_es_url`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `es_url`
[INFO] [stdout]   --> src/models/common.rs:42:9
[INFO] [stdout]    |
[INFO] [stdout] 42 |     let es_url = env::var("ELASTICSEARCH_HOST").expect("ELASTICSEARCH_HOST must be set");
[INFO] [stdout]    |         ^^^^^^ help: if this is intentional, prefix it with an underscore: `_es_url`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `SimpleCache` is never constructed
[INFO] [stdout]  --> src/cache/mod.rs:5:8
[INFO] [stdout]   |
[INFO] [stdout] 5 | struct SimpleCache {
[INFO] [stdout]   |        ^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `put`, `get`, `remove`, and `clear` are never used
[INFO] [stdout]   --> src/cache/mod.rs:12:8
[INFO] [stdout]    |
[INFO] [stdout] 10 | impl SimpleCache {
[INFO] [stdout]    | ---------------- associated items in this implementation
[INFO] [stdout] 11 |     /// 创建一个新的缓存实例，设置默认过期时间
[INFO] [stdout] 12 |     fn new(ttl: Duration) -> Self {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] ...
[INFO] [stdout] 20 |     fn put(&mut self, key: String, value: String) {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] ...
[INFO] [stdout] 26 |     fn get(&mut self, key: &str) -> Option<String> {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] ...
[INFO] [stdout] 36 |     fn remove(&mut self, key: &str) {
[INFO] [stdout]    |        ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 41 |     fn clear(&mut self) {
[INFO] [stdout]    |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `insert_mine_people_info` and `query_mine_people_info` are never used
[INFO] [stdout]    --> src/constants/constant.rs:256:12
[INFO] [stdout]     |
[INFO] [stdout]  38 | impl Monitor {
[INFO] [stdout]     | ------------ methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 256 |     pub fn insert_mine_people_info(&self) {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 293 |     fn query_mine_people_info(&self) {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `DeviceOnlineCount` is never constructed
[INFO] [stdout]   --> src/db/models.rs:96:8
[INFO] [stdout]    |
[INFO] [stdout] 96 | struct DeviceOnlineCount {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `MinePeopleInfoQuery` is never constructed
[INFO] [stdout]    --> src/db/models.rs:104:12
[INFO] [stdout]     |
[INFO] [stdout] 104 | pub struct MinePeopleInfoQuery {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: static `INDEX_NAME` is never used
[INFO] [stdout]  --> src/handlers/elasticsearch.rs:8:8
[INFO] [stdout]   |
[INFO] [stdout] 8 | static INDEX_NAME: &str = "my_index";
[INFO] [stdout]   |        ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `index` is never used
[INFO] [stdout]   --> src/handlers/elasticsearch.rs:10:10
[INFO] [stdout]    |
[INFO] [stdout] 10 | async fn index() -> &'static str {
[INFO] [stdout]    |          ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `RequestLogger` is never constructed
[INFO] [stdout]   --> src/middleware/request_log.rs:15:12
[INFO] [stdout]    |
[INFO] [stdout] 15 | pub struct RequestLogger {
[INFO] [stdout]    |            ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/middleware/request_log.rs:20:12
[INFO] [stdout]    |
[INFO] [stdout] 19 | impl RequestLogger {
[INFO] [stdout]    | ------------------ associated function in this implementation
[INFO] [stdout] 20 |     pub fn new(log_file_path: String) -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `RequestLoggerMiddleware` is never constructed
[INFO] [stdout]   --> src/middleware/request_log.rs:47:12
[INFO] [stdout]    |
[INFO] [stdout] 47 | pub struct RequestLoggerMiddleware<S> {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `sensor_type`, `unit`, and `status` are never read
[INFO] [stdout]   --> src/modbus/monitor_parser.rs:7:9
[INFO] [stdout]    |
[INFO] [stdout]  6 | pub struct SensorData {
[INFO] [stdout]    |            ---------- fields in this struct
[INFO] [stdout]  7 |     pub sensor_type: String,
[INFO] [stdout]    |         ^^^^^^^^^^^
[INFO] [stdout]  8 |     pub value: f64,
[INFO] [stdout]  9 |     pub unit: String,
[INFO] [stdout]    |         ^^^^
[INFO] [stdout] 10 |     pub status: String,
[INFO] [stdout]    |         ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `SensorData` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `WindSpeedSensorParser` is never constructed
[INFO] [stdout]   --> src/modbus/monitor_parser.rs:20:12
[INFO] [stdout]    |
[INFO] [stdout] 20 | pub struct WindSpeedSensorParser;
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `TemperatureSensorParser` is never constructed
[INFO] [stdout]   --> src/modbus/monitor_parser.rs:51:12
[INFO] [stdout]    |
[INFO] [stdout] 51 | pub struct TemperatureSensorParser;
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `HumiditySensorParser` is never constructed
[INFO] [stdout]   --> src/modbus/monitor_parser.rs:74:12
[INFO] [stdout]    |
[INFO] [stdout] 74 | pub struct HumiditySensorParser;
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `No2SensorParser` is never constructed
[INFO] [stdout]   --> src/modbus/monitor_parser.rs:99:12
[INFO] [stdout]    |
[INFO] [stdout] 99 | pub struct No2SensorParser;
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `bytes_to_hex` is never used
[INFO] [stdout]    --> src/modbus/monitor_parser.rs:138:8
[INFO] [stdout]     |
[INFO] [stdout] 138 | pub fn bytes_to_hex(bytes: &[u8]) -> String {
[INFO] [stdout]     |        ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `CarbonMonoxideSensorParser` is never constructed
[INFO] [stdout]    --> src/modbus/monitor_parser.rs:147:12
[INFO] [stdout]     |
[INFO] [stdout] 147 | pub struct CarbonMonoxideSensorParser;
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `DustConcentrationSensorParser` is never constructed
[INFO] [stdout]    --> src/modbus/monitor_parser.rs:204:12
[INFO] [stdout]     |
[INFO] [stdout] 204 | pub struct DustConcentrationSensorParser;
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `as_number` is never used
[INFO] [stdout]   --> src/modbus/monitor_threshold.rs:60:12
[INFO] [stdout]    |
[INFO] [stdout] 59 | impl SensorType {
[INFO] [stdout]    | --------------- method in this implementation
[INFO] [stdout] 60 |     pub fn as_number(&self) -> i64 {
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `timestamp` is never read
[INFO] [stdout]    --> src/modbus/monitor_threshold.rs:128:9
[INFO] [stdout]     |
[INFO] [stdout] 122 | pub struct WarningInfo {
[INFO] [stdout]     |            ----------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 128 |     pub timestamp: DateTime<Local>,
[INFO] [stdout]     |         ^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `WarningInfo` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]    --> src/modbus/monitor_threshold.rs:153:8
[INFO] [stdout]     |
[INFO] [stdout] 152 | impl TemperatureThreshold {
[INFO] [stdout]     | ------------------------- associated function in this implementation
[INFO] [stdout] 153 |     fn new() -> Self {
[INFO] [stdout]     |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `HumidityThreshold` is never constructed
[INFO] [stdout]    --> src/modbus/monitor_threshold.rs:198:12
[INFO] [stdout]     |
[INFO] [stdout] 198 | pub struct HumidityThreshold {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]    --> src/modbus/monitor_threshold.rs:204:8
[INFO] [stdout]     |
[INFO] [stdout] 203 | impl HumidityThreshold {
[INFO] [stdout]     | ---------------------- associated function in this implementation
[INFO] [stdout] 204 |     fn new() -> Self {
[INFO] [stdout]     |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `check_humidty_warning` is never used
[INFO] [stdout]    --> src/modbus/monitor_threshold.rs:213:4
[INFO] [stdout]     |
[INFO] [stdout] 213 | fn check_humidty_warning(data: &SensorData, threshold: &HumidityThreshold) -> Option<WarningInfo> {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `No2Threshold` is never constructed
[INFO] [stdout]    --> src/modbus/monitor_threshold.rs:282:12
[INFO] [stdout]     |
[INFO] [stdout] 282 | pub struct No2Threshold {
[INFO] [stdout]     |            ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]    --> src/modbus/monitor_threshold.rs:286:8
[INFO] [stdout]     |
[INFO] [stdout] 285 | impl No2Threshold {
[INFO] [stdout]     | ----------------- associated function in this implementation
[INFO] [stdout] 286 |     fn new() -> Self {
[INFO] [stdout]     |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `check_no2_warning` is never used
[INFO] [stdout]    --> src/modbus/monitor_threshold.rs:291:4
[INFO] [stdout]     |
[INFO] [stdout] 291 | fn check_no2_warning(data: &SensorData, threshold: &No2Threshold) -> bool {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `DustConcentrationThreshold` is never constructed
[INFO] [stdout]    --> src/modbus/monitor_threshold.rs:297:12
[INFO] [stdout]     |
[INFO] [stdout] 297 | pub struct DustConcentrationThreshold {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]    --> src/modbus/monitor_threshold.rs:301:8
[INFO] [stdout]     |
[INFO] [stdout] 300 | impl DustConcentrationThreshold {
[INFO] [stdout]     | ------------------------------- associated function in this implementation
[INFO] [stdout] 301 |     fn new() -> Self {
[INFO] [stdout]     |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `check_dust_concentration_warning` is never used
[INFO] [stdout]    --> src/modbus/monitor_threshold.rs:306:4
[INFO] [stdout]     |
[INFO] [stdout] 306 | fn check_dust_concentration_warning(
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `send_data_to_ip` is never used
[INFO] [stdout]   --> src/modbus/tcp_server.rs:72:14
[INFO] [stdout]    |
[INFO] [stdout] 20 | impl DeviceStatusTracker {
[INFO] [stdout]    | ------------------------ method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 72 |     async fn send_data_to_ip(
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `conversation_id` is never read
[INFO] [stdout]   --> src/models/chat.rs:12:9
[INFO] [stdout]    |
[INFO] [stdout] 10 | pub struct ChatRequest {
[INFO] [stdout]    |            ----------- field in this struct
[INFO] [stdout] 11 |     pub message: String,
[INFO] [stdout] 12 |     pub conversation_id: Option<String>,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `ChatRequest` 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 `es_client` is never read
[INFO] [stdout]   --> src/models/common.rs:11:9
[INFO] [stdout]    |
[INFO] [stdout]  9 | pub struct AppState {
[INFO] [stdout]    |            -------- field in this struct
[INFO] [stdout] 10 |     pub deepseek_api_key: String,
[INFO] [stdout] 11 |     pub es_client: Arc<Mutex<Elasticsearch>>,
[INFO] [stdout]    |         ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `AppState` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Document` is never constructed
[INFO] [stdout]  --> src/models/elasticsearch.rs:3:12
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub struct Document {
[INFO] [stdout]   |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `config` is never used
[INFO] [stdout]  --> src/routes/elasticsearch.rs:4:8
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub fn config(cfg: &mut web::ServiceConfig) {
[INFO] [stdout]   |        ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `SimpleCache` is never constructed
[INFO] [stdout]  --> src/cache/mod.rs:5:8
[INFO] [stdout]   |
[INFO] [stdout] 5 | struct SimpleCache {
[INFO] [stdout]   |        ^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `put`, `get`, `remove`, and `clear` are never used
[INFO] [stdout]   --> src/cache/mod.rs:12:8
[INFO] [stdout]    |
[INFO] [stdout] 10 | impl SimpleCache {
[INFO] [stdout]    | ---------------- associated items in this implementation
[INFO] [stdout] 11 |     /// 创建一个新的缓存实例，设置默认过期时间
[INFO] [stdout] 12 |     fn new(ttl: Duration) -> Self {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] ...
[INFO] [stdout] 20 |     fn put(&mut self, key: String, value: String) {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] ...
[INFO] [stdout] 26 |     fn get(&mut self, key: &str) -> Option<String> {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] ...
[INFO] [stdout] 36 |     fn remove(&mut self, key: &str) {
[INFO] [stdout]    |        ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 41 |     fn clear(&mut self) {
[INFO] [stdout]    |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `insert_mine_people_info` and `query_mine_people_info` are never used
[INFO] [stdout]    --> src/constants/constant.rs:256:12
[INFO] [stdout]     |
[INFO] [stdout]  38 | impl Monitor {
[INFO] [stdout]     | ------------ methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 256 |     pub fn insert_mine_people_info(&self) {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 293 |     fn query_mine_people_info(&self) {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `DeviceOnlineCount` is never constructed
[INFO] [stdout]   --> src/db/models.rs:96:8
[INFO] [stdout]    |
[INFO] [stdout] 96 | struct DeviceOnlineCount {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `MinePeopleInfoQuery` is never constructed
[INFO] [stdout]    --> src/db/models.rs:104:12
[INFO] [stdout]     |
[INFO] [stdout] 104 | pub struct MinePeopleInfoQuery {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: static `INDEX_NAME` is never used
[INFO] [stdout]  --> src/handlers/elasticsearch.rs:8:8
[INFO] [stdout]   |
[INFO] [stdout] 8 | static INDEX_NAME: &str = "my_index";
[INFO] [stdout]   |        ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `index` is never used
[INFO] [stdout]   --> src/handlers/elasticsearch.rs:10:10
[INFO] [stdout]    |
[INFO] [stdout] 10 | async fn index() -> &'static str {
[INFO] [stdout]    |          ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `RequestLogger` is never constructed
[INFO] [stdout]   --> src/middleware/request_log.rs:15:12
[INFO] [stdout]    |
[INFO] [stdout] 15 | pub struct RequestLogger {
[INFO] [stdout]    |            ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/middleware/request_log.rs:20:12
[INFO] [stdout]    |
[INFO] [stdout] 19 | impl RequestLogger {
[INFO] [stdout]    | ------------------ associated function in this implementation
[INFO] [stdout] 20 |     pub fn new(log_file_path: String) -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `RequestLoggerMiddleware` is never constructed
[INFO] [stdout]   --> src/middleware/request_log.rs:47:12
[INFO] [stdout]    |
[INFO] [stdout] 47 | pub struct RequestLoggerMiddleware<S> {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `sensor_type`, `unit`, and `status` are never read
[INFO] [stdout]   --> src/modbus/monitor_parser.rs:7:9
[INFO] [stdout]    |
[INFO] [stdout]  6 | pub struct SensorData {
[INFO] [stdout]    |            ---------- fields in this struct
[INFO] [stdout]  7 |     pub sensor_type: String,
[INFO] [stdout]    |         ^^^^^^^^^^^
[INFO] [stdout]  8 |     pub value: f64,
[INFO] [stdout]  9 |     pub unit: String,
[INFO] [stdout]    |         ^^^^
[INFO] [stdout] 10 |     pub status: String,
[INFO] [stdout]    |         ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `SensorData` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `WindSpeedSensorParser` is never constructed
[INFO] [stdout]   --> src/modbus/monitor_parser.rs:20:12
[INFO] [stdout]    |
[INFO] [stdout] 20 | pub struct WindSpeedSensorParser;
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `TemperatureSensorParser` is never constructed
[INFO] [stdout]   --> src/modbus/monitor_parser.rs:51:12
[INFO] [stdout]    |
[INFO] [stdout] 51 | pub struct TemperatureSensorParser;
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `HumiditySensorParser` is never constructed
[INFO] [stdout]   --> src/modbus/monitor_parser.rs:74:12
[INFO] [stdout]    |
[INFO] [stdout] 74 | pub struct HumiditySensorParser;
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `No2SensorParser` is never constructed
[INFO] [stdout]   --> src/modbus/monitor_parser.rs:99:12
[INFO] [stdout]    |
[INFO] [stdout] 99 | pub struct No2SensorParser;
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `bytes_to_hex` is never used
[INFO] [stdout]    --> src/modbus/monitor_parser.rs:138:8
[INFO] [stdout]     |
[INFO] [stdout] 138 | pub fn bytes_to_hex(bytes: &[u8]) -> String {
[INFO] [stdout]     |        ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `CarbonMonoxideSensorParser` is never constructed
[INFO] [stdout]    --> src/modbus/monitor_parser.rs:147:12
[INFO] [stdout]     |
[INFO] [stdout] 147 | pub struct CarbonMonoxideSensorParser;
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `DustConcentrationSensorParser` is never constructed
[INFO] [stdout]    --> src/modbus/monitor_parser.rs:204:12
[INFO] [stdout]     |
[INFO] [stdout] 204 | pub struct DustConcentrationSensorParser;
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `as_number` is never used
[INFO] [stdout]   --> src/modbus/monitor_threshold.rs:60:12
[INFO] [stdout]    |
[INFO] [stdout] 59 | impl SensorType {
[INFO] [stdout]    | --------------- method in this implementation
[INFO] [stdout] 60 |     pub fn as_number(&self) -> i64 {
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `timestamp` is never read
[INFO] [stdout]    --> src/modbus/monitor_threshold.rs:128:9
[INFO] [stdout]     |
[INFO] [stdout] 122 | pub struct WarningInfo {
[INFO] [stdout]     |            ----------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 128 |     pub timestamp: DateTime<Local>,
[INFO] [stdout]     |         ^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `WarningInfo` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]    --> src/modbus/monitor_threshold.rs:153:8
[INFO] [stdout]     |
[INFO] [stdout] 152 | impl TemperatureThreshold {
[INFO] [stdout]     | ------------------------- associated function in this implementation
[INFO] [stdout] 153 |     fn new() -> Self {
[INFO] [stdout]     |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `HumidityThreshold` is never constructed
[INFO] [stdout]    --> src/modbus/monitor_threshold.rs:198:12
[INFO] [stdout]     |
[INFO] [stdout] 198 | pub struct HumidityThreshold {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]    --> src/modbus/monitor_threshold.rs:204:8
[INFO] [stdout]     |
[INFO] [stdout] 203 | impl HumidityThreshold {
[INFO] [stdout]     | ---------------------- associated function in this implementation
[INFO] [stdout] 204 |     fn new() -> Self {
[INFO] [stdout]     |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `check_humidty_warning` is never used
[INFO] [stdout]    --> src/modbus/monitor_threshold.rs:213:4
[INFO] [stdout]     |
[INFO] [stdout] 213 | fn check_humidty_warning(data: &SensorData, threshold: &HumidityThreshold) -> Option<WarningInfo> {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `No2Threshold` is never constructed
[INFO] [stdout]    --> src/modbus/monitor_threshold.rs:282:12
[INFO] [stdout]     |
[INFO] [stdout] 282 | pub struct No2Threshold {
[INFO] [stdout]     |            ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]    --> src/modbus/monitor_threshold.rs:286:8
[INFO] [stdout]     |
[INFO] [stdout] 285 | impl No2Threshold {
[INFO] [stdout]     | ----------------- associated function in this implementation
[INFO] [stdout] 286 |     fn new() -> Self {
[INFO] [stdout]     |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `check_no2_warning` is never used
[INFO] [stdout]    --> src/modbus/monitor_threshold.rs:291:4
[INFO] [stdout]     |
[INFO] [stdout] 291 | fn check_no2_warning(data: &SensorData, threshold: &No2Threshold) -> bool {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `DustConcentrationThreshold` is never constructed
[INFO] [stdout]    --> src/modbus/monitor_threshold.rs:297:12
[INFO] [stdout]     |
[INFO] [stdout] 297 | pub struct DustConcentrationThreshold {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]    --> src/modbus/monitor_threshold.rs:301:8
[INFO] [stdout]     |
[INFO] [stdout] 300 | impl DustConcentrationThreshold {
[INFO] [stdout]     | ------------------------------- associated function in this implementation
[INFO] [stdout] 301 |     fn new() -> Self {
[INFO] [stdout]     |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `check_dust_concentration_warning` is never used
[INFO] [stdout]    --> src/modbus/monitor_threshold.rs:306:4
[INFO] [stdout]     |
[INFO] [stdout] 306 | fn check_dust_concentration_warning(
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `send_data_to_ip` is never used
[INFO] [stdout]   --> src/modbus/tcp_server.rs:72:14
[INFO] [stdout]    |
[INFO] [stdout] 20 | impl DeviceStatusTracker {
[INFO] [stdout]    | ------------------------ method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 72 |     async fn send_data_to_ip(
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `conversation_id` is never read
[INFO] [stdout]   --> src/models/chat.rs:12:9
[INFO] [stdout]    |
[INFO] [stdout] 10 | pub struct ChatRequest {
[INFO] [stdout]    |            ----------- field in this struct
[INFO] [stdout] 11 |     pub message: String,
[INFO] [stdout] 12 |     pub conversation_id: Option<String>,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `ChatRequest` 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 `es_client` is never read
[INFO] [stdout]   --> src/models/common.rs:11:9
[INFO] [stdout]    |
[INFO] [stdout]  9 | pub struct AppState {
[INFO] [stdout]    |            -------- field in this struct
[INFO] [stdout] 10 |     pub deepseek_api_key: String,
[INFO] [stdout] 11 |     pub es_client: Arc<Mutex<Elasticsearch>>,
[INFO] [stdout]    |         ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `AppState` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Document` is never constructed
[INFO] [stdout]  --> src/models/elasticsearch.rs:3:12
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub struct Document {
[INFO] [stdout]   |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `config` is never used
[INFO] [stdout]  --> src/routes/elasticsearch.rs:4:8
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub fn config(cfg: &mut web::ServiceConfig) {
[INFO] [stdout]   |        ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 2m 16s
[INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: redis v0.25.4
[INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1`
[INFO] running `Command { std: "docker" "inspect" "84ba8208870363408258126359d4e2080d4f796ac7617e9106938306b1b7e8ba", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "84ba8208870363408258126359d4e2080d4f796ac7617e9106938306b1b7e8ba", kill_on_drop: false }`
[INFO] [stdout] 84ba8208870363408258126359d4e2080d4f796ac7617e9106938306b1b7e8ba
