[INFO] cloning repository https://github.com/vikorzel/be-server
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/vikorzel/be-server" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvikorzel%2Fbe-server", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvikorzel%2Fbe-server'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] de83ca3195a347570efafb3db2e8e04b5f26c903
[INFO] checking vikorzel/be-server against master#b2f1ccf524a3a4cf9c34545167cc23b659cf1cbd for pr-155499
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvikorzel%2Fbe-server" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/vikorzel/be-server
[INFO] finished tweaking git repo https://github.com/vikorzel/be-server
[INFO] tweaked toml for git repo https://github.com/vikorzel/be-server written to /workspace/builds/worker-3-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/vikorzel/be-server on toolchain b2f1ccf524a3a4cf9c34545167cc23b659cf1cbd
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b2f1ccf524a3a4cf9c34545167cc23b659cf1cbd" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/vikorzel/be-server 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" "+b2f1ccf524a3a4cf9c34545167cc23b659cf1cbd" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded value-bag v1.8.1
[INFO] [stderr]   Downloaded smallvec v1.12.0
[INFO] [stderr]   Downloaded bumpalo v3.15.4
[INFO] [stderr]   Downloaded postgres-types v0.2.6
[INFO] [stderr]   Downloaded gloo-timers v0.2.6
[INFO] [stderr]   Downloaded strsim v0.11.0
[INFO] [stderr]   Downloaded num_threads v0.1.6
[INFO] [stderr]   Downloaded tokio-postgres v0.7.10
[INFO] [stderr]   Downloaded ctrlc v3.4.4
[INFO] [stderr]   Downloaded rustls-native-certs v0.7.0
[INFO] [stderr]   Downloaded tokio-rustls v0.25.0
[INFO] [stderr]   Downloaded cmake v0.1.50
[INFO] [stderr]   Downloaded postgres-protocol v0.6.6
[INFO] [stderr]   Downloaded clap_derive v4.5.0
[INFO] [stderr]   Downloaded event-listener v5.2.0
[INFO] [stderr]   Downloaded clap v4.5.0
[INFO] [stderr]   Downloaded polling v3.6.0
[INFO] [stderr]   Downloaded crossbeam-channel v0.5.12
[INFO] [stderr]   Downloaded async-io v2.3.2
[INFO] [stderr]   Downloaded paho-mqtt v0.12.3
[INFO] [stderr]   Downloaded clap_builder v4.5.0
[INFO] [stderr]   Downloaded hyper v1.2.0
[INFO] [stderr]   Downloaded rumqttc v0.24.0
[INFO] [stderr]   Downloaded async-std v1.12.0
[INFO] [stderr]   Downloaded chrono v0.4.37
[INFO] [stderr]   Downloaded rustls-webpki v0.102.2
[INFO] [stderr]   Downloaded async-trait v0.1.79
[INFO] [stderr]   Downloaded rustls-pemfile v2.1.1
[INFO] [stderr]   Downloaded colored v2.1.0
[INFO] [stderr]   Downloaded simple_logger v4.3.3
[INFO] [stderr]   Downloaded rustls v0.22.3
[INFO] [stderr]   Downloaded paho-mqtt-sys v0.9.0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+b2f1ccf524a3a4cf9c34545167cc23b659cf1cbd" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 73c703aadebf8ff6909460fdeca3221feb9f315d52e7e09c2c0b605cc36d9b93
[INFO] running `Command { std: "docker" "start" "-a" "73c703aadebf8ff6909460fdeca3221feb9f315d52e7e09c2c0b605cc36d9b93", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "73c703aadebf8ff6909460fdeca3221feb9f315d52e7e09c2c0b605cc36d9b93", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "73c703aadebf8ff6909460fdeca3221feb9f315d52e7e09c2c0b605cc36d9b93", kill_on_drop: false }`
[INFO] [stdout] 73c703aadebf8ff6909460fdeca3221feb9f315d52e7e09c2c0b605cc36d9b93
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+b2f1ccf524a3a4cf9c34545167cc23b659cf1cbd" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 851ebf5e684c7953ea0518c9fea1d2751bcf8b51c7b849bf62dad25381740865
[INFO] running `Command { std: "docker" "start" "-a" "851ebf5e684c7953ea0518c9fea1d2751bcf8b51c7b849bf62dad25381740865", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.78
[INFO] [stderr]    Compiling libc v0.2.153
[INFO] [stderr]    Compiling crossbeam-utils v0.8.19
[INFO] [stderr]     Checking pin-project-lite v0.2.13
[INFO] [stderr]    Compiling lock_api v0.4.11
[INFO] [stderr]    Compiling slab v0.4.9
[INFO] [stderr]     Checking value-bag v1.8.1
[INFO] [stderr]     Checking memchr v2.7.1
[INFO] [stderr]     Checking bytes v1.5.0
[INFO] [stderr]     Checking log v0.4.20
[INFO] [stderr]    Compiling cc v1.0.83
[INFO] [stderr]     Checking smallvec v1.12.0
[INFO] [stderr]    Compiling serde v1.0.203
[INFO] [stderr]    Compiling parking v2.2.0
[INFO] [stderr]    Compiling quote v1.0.35
[INFO] [stderr]    Compiling concurrent-queue v2.4.0
[INFO] [stderr]     Checking itoa v1.0.10
[INFO] [stderr]    Compiling polling v2.8.0
[INFO] [stderr]    Compiling num-traits v0.2.18
[INFO] [stderr]    Compiling event-listener v4.0.3
[INFO] [stderr]    Compiling syn v2.0.48
[INFO] [stderr]    Compiling getrandom v0.2.12
[INFO] [stderr]    Compiling async-io v1.13.0
[INFO] [stderr]    Compiling rustix v0.38.32
[INFO] [stderr]    Compiling thiserror v1.0.58
[INFO] [stderr]    Compiling event-listener-strategy v0.4.0
[INFO] [stderr]    Compiling linux-raw-sys v0.4.13
[INFO] [stderr]     Checking parking_lot_core v0.9.9
[INFO] [stderr]     Checking socket2 v0.5.5
[INFO] [stderr]     Checking signal-hook-registry v1.4.1
[INFO] [stderr]     Checking num_cpus v1.16.0
[INFO] [stderr]     Checking mio v0.8.10
[INFO] [stderr]     Checking ahash v0.8.11
[INFO] [stderr]    Compiling openssl-sys v0.9.102
[INFO] [stderr]     Checking parking_lot v0.12.1
[INFO] [stderr]    Compiling async-lock v3.3.0
[INFO] [stderr]     Checking digest v0.10.7
[INFO] [stderr]     Checking hashbrown v0.14.3
[INFO] [stderr]    Compiling futures-lite v2.3.0
[INFO] [stderr]    Compiling event-listener v5.2.0
[INFO] [stderr]    Compiling serde_json v1.0.117
[INFO] [stderr]     Checking fastrand v2.0.2
[INFO] [stderr]    Compiling event-listener-strategy v0.5.0
[INFO] [stderr]    Compiling async-task v4.7.0
[INFO] [stderr]    Compiling zerocopy v0.7.34
[INFO] [stderr]    Compiling piper v0.2.1
[INFO] [stderr]    Compiling async-channel v2.2.0
[INFO] [stderr]     Checking indexmap v2.2.6
[INFO] [stderr]    Compiling io-lifetimes v1.0.11
[INFO] [stderr]    Compiling waker-fn v1.1.1
[INFO] [stderr]    Compiling fastrand v1.9.0
[INFO] [stderr]    Compiling linux-raw-sys v0.3.8
[INFO] [stderr]     Checking http v1.1.0
[INFO] [stderr]    Compiling futures-lite v1.13.0
[INFO] [stderr]    Compiling rustix v0.37.27
[INFO] [stderr]    Compiling async-executor v1.8.0
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]    Compiling async-lock v2.8.0
[INFO] [stderr]    Compiling ring v0.17.8
[INFO] [stderr]     Checking rand_core v0.6.4
[INFO] [stderr]    Compiling socket2 v0.4.10
[INFO] [stderr]     Checking rustls-pki-types v1.4.1
[INFO] [stderr]     Checking rand_chacha v0.3.1
[INFO] [stderr]     Checking sha2 v0.10.8
[INFO] [stderr]    Compiling nom v7.1.3
[INFO] [stderr]    Compiling async-channel v1.9.0
[INFO] [stderr]     Checking hmac v0.12.1
[INFO] [stderr]    Compiling tracing-attributes v0.1.27
[INFO] [stderr]    Compiling serde_derive v1.0.203
[INFO] [stderr]    Compiling tokio-macros v2.2.0
[INFO] [stderr]    Compiling futures-macro v0.3.30
[INFO] [stderr]    Compiling thiserror-impl v1.0.58
[INFO] [stderr]    Compiling kv-log-macro v1.0.7
[INFO] [stderr]     Checking tokio v1.36.0
[INFO] [stderr]     Checking spin v0.9.8
[INFO] [stderr]     Checking futures-util v0.3.30
[INFO] [stderr]    Compiling openssl v0.10.64
[INFO] [stderr]     Checking tracing v0.1.40
[INFO] [stderr]     Checking polling v3.6.0
[INFO] [stderr]    Compiling blocking v1.5.1
[INFO] [stderr]     Checking async-io v2.3.2
[INFO] [stderr]    Compiling async-global-executor v2.4.1
[INFO] [stderr]    Compiling atoi v2.0.0
[INFO] [stderr]    Compiling pin-project-internal v1.1.5
[INFO] [stderr]    Compiling openssl-macros v0.1.1
[INFO] [stderr]    Compiling async-std v1.12.0
[INFO] [stderr]    Compiling futures-intrusive v0.5.0
[INFO] [stderr]     Checking rand v0.8.5
[INFO] [stderr]    Compiling hashlink v0.8.4
[INFO] [stderr]     Checking http-body v1.0.0
[INFO] [stderr]     Checking md-5 v0.10.6
[INFO] [stderr]    Compiling crossbeam-queue v0.3.11
[INFO] [stderr]    Compiling native-tls v0.2.11
[INFO] [stderr]     Checking tokio-util v0.7.10
[INFO] [stderr]     Checking url v2.5.0
[INFO] [stderr]     Checking pin-project v1.1.5
[INFO] [stderr]     Checking h2 v0.4.4
[INFO] [stderr]    Compiling async-attributes v1.1.2
[INFO] [stderr]    Compiling cmake v0.1.50
[INFO] [stderr]     Checking either v1.12.0
[INFO] [stderr]    Compiling rustls v0.22.3
[INFO] [stderr]     Checking utf8parse v0.2.1
[INFO] [stderr]    Compiling nix v0.28.0
[INFO] [stderr]     Checking itertools v0.12.1
[INFO] [stderr]     Checking anstyle-parse v0.2.3
[INFO] [stderr]     Checking tower v0.4.13
[INFO] [stderr]    Compiling paho-mqtt-sys v0.9.0
[INFO] [stderr]     Checking rustls-webpki v0.102.2
[INFO] [stderr]    Compiling tempfile v3.10.1
[INFO] [stderr]     Checking rustls-pemfile v2.1.1
[INFO] [stderr]     Checking sqlformat v0.2.3
[INFO] [stderr]     Checking zeroize v1.7.0
[INFO] [stderr]     Checking whoami v1.5.1
[INFO] [stderr]     Checking anstyle v1.0.6
[INFO] [stderr]    Compiling async-trait v0.1.79
[INFO] [stderr]     Checking anstyle-query v1.0.2
[INFO] [stderr]     Checking colorchoice v1.0.0
[INFO] [stderr]     Checking anstream v0.6.11
[INFO] [stderr]    Compiling time-macros v0.2.18
[INFO] [stderr]     Checking postgres-protocol v0.6.6
[INFO] [stderr]     Checking tokio-native-tls v0.3.1
[INFO] [stderr]     Checking http-body-util v0.1.1
[INFO] [stderr]     Checking futures-executor v0.3.30
[INFO] [stderr]     Checking hkdf v0.12.4
[INFO] [stderr]     Checking strsim v0.11.0
[INFO] [stderr]     Checking clap_lex v0.7.0
[INFO] [stderr]     Checking num_threads v0.1.6
[INFO] [stderr]     Checking colored v2.1.0
[INFO] [stderr]     Checking clap_builder v4.5.0
[INFO] [stderr]     Checking hyper v1.2.0
[INFO] [stderr]     Checking futures v0.3.30
[INFO] [stderr]     Checking postgres-types v0.2.6
[INFO] [stderr]     Checking time v0.3.36
[INFO] [stderr]     Checking hyper-util v0.1.3
[INFO] [stderr]     Checking tokio-rustls v0.25.0
[INFO] [stderr]     Checking rustls-native-certs v0.7.0
[INFO] [stderr]     Checking serde_urlencoded v0.7.1
[INFO] [stderr]    Compiling clap_derive v4.5.0
[INFO] [stderr]     Checking flume v0.11.0
[INFO] [stderr]     Checking crossbeam-channel v0.5.12
[INFO] [stderr]     Checking encoding_rs v0.8.33
[INFO] [stderr]     Checking hyper-tls v0.6.0
[INFO] [stderr]     Checking base64 v0.22.0
[INFO] [stderr]     Checking ipnet v2.9.0
[INFO] [stderr]     Checking sqlx-core v0.7.4
[INFO] [stderr]     Checking tokio-postgres v0.7.10
[INFO] [stderr]     Checking chrono v0.4.37
[INFO] [stderr]     Checking rumqttc v0.24.0
[INFO] [stderr]     Checking reqwest v0.12.3
[INFO] [stderr]     Checking clap v4.5.0
[INFO] [stderr]     Checking ctrlc v3.4.4
[INFO] [stderr]     Checking simple_logger v4.3.3
[INFO] [stderr]     Checking sqlx-postgres v0.7.4
[INFO] [stderr]     Checking paho-mqtt v0.12.3
[INFO] [stderr]    Compiling sqlx-macros-core v0.7.4
[INFO] [stderr]    Compiling sqlx-macros v0.7.4
[INFO] [stderr]     Checking sqlx v0.7.4
[INFO] [stderr]     Checking be-server v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `mem`
[INFO] [stdout]  --> src/device.rs:1:25
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::{error::Error, mem, usize};
[INFO] [stdout]   |                         ^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around assigned value
[INFO] [stdout]   --> src/device.rs:78:29
[INFO] [stdout]    |
[INFO] [stdout] 78 |             let device_id = (informer_id * 100 + (i as u32) + 1);
[INFO] [stdout]    |                             ^                                  ^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 78 -             let device_id = (informer_id * 100 + (i as u32) + 1);
[INFO] [stdout] 78 +             let device_id = informer_id * 100 + (i as u32) + 1 ;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `query`
[INFO] [stdout]  --> src/sqlconnector.rs:3:37
[INFO] [stdout]   |
[INFO] [stdout] 3 | use sqlx::{postgres::PgPoolOptions, query};
[INFO] [stdout]   |                                     ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `mem`
[INFO] [stdout]  --> src/device.rs:1:25
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::{error::Error, mem, usize};
[INFO] [stdout]   |                         ^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around assigned value
[INFO] [stdout]   --> src/device.rs:78:29
[INFO] [stdout]    |
[INFO] [stdout] 78 |             let device_id = (informer_id * 100 + (i as u32) + 1);
[INFO] [stdout]    |                             ^                                  ^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 78 -             let device_id = (informer_id * 100 + (i as u32) + 1);
[INFO] [stdout] 78 +             let device_id = informer_id * 100 + (i as u32) + 1 ;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `query`
[INFO] [stdout]  --> src/sqlconnector.rs:3:37
[INFO] [stdout]   |
[INFO] [stdout] 3 | use sqlx::{postgres::PgPoolOptions, query};
[INFO] [stdout]   |                                     ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `futures::TryFutureExt`
[INFO] [stdout]   --> src/datacache.rs:91:9
[INFO] [stdout]    |
[INFO] [stdout] 91 |     use futures::TryFutureExt;
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `borrow::BorrowMut`
[INFO] [stdout]   --> src/datacache.rs:92:15
[INFO] [stdout]    |
[INFO] [stdout] 92 |     use std::{borrow::BorrowMut, collections::HashMap, sync::{Arc, Mutex}};
[INFO] [stdout]    |               ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `v`
[INFO] [stdout]   --> src/datacache.rs:51:23
[INFO] [stdout]    |
[INFO] [stdout] 51 |             .map(|(k, v)| k.clone())
[INFO] [stdout]    |                       ^ help: if this is intentional, prefix it with an underscore: `_v`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `k`
[INFO] [stdout]   --> src/datacache.rs:50:23
[INFO] [stdout]    |
[INFO] [stdout] 50 |             .filter(|(k, v)| v.last_update.elapsed().unwrap().as_secs() >= self.experity_time)
[INFO] [stdout]    |                       ^ help: if this is intentional, prefix it with an underscore: `_k`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `temperature` and `humidity` are never read
[INFO] [stdout]  --> src/device.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub struct DeviceConfig {
[INFO] [stdout]   |            ------------ fields in this struct
[INFO] [stdout] 6 |     temperature: f32,
[INFO] [stdout]   |     ^^^^^^^^^^^
[INFO] [stdout] 7 |     humidity: f32
[INFO] [stdout]   |     ^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `CacheElement` is never constructed
[INFO] [stdout]  --> src/datacache.rs:6:8
[INFO] [stdout]   |
[INFO] [stdout] 6 | struct CacheElement {
[INFO] [stdout]   |        ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Datacache` is never constructed
[INFO] [stdout]   --> src/datacache.rs:11:12
[INFO] [stdout]    |
[INFO] [stdout] 11 | pub struct Datacache {
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple associated items are never used
[INFO] [stdout]   --> src/datacache.rs:19:12
[INFO] [stdout]    |
[INFO] [stdout] 18 | impl Datacache {
[INFO] [stdout]    | -------------- associated items in this implementation
[INFO] [stdout] 19 |     pub fn new(external_channel: Box<dyn ExternalDatabase>) -> Datacache {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 28 |     pub fn set_capacity(&mut self, capacity: usize) -> &mut Datacache {
[INFO] [stdout]    |            ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 33 |     pub fn set_experity_time(&mut self, experity_time: u64) -> &mut Datacache {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 38 |     fn has_capacity(&mut self) -> bool {
[INFO] [stdout]    |        ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 42 |     pub fn get_size(&self) -> usize {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 46 |     fn cleanup(&mut self) {
[INFO] [stdout]    |        ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 58 |     pub async fn set_config(&mut self, device: &mut dyn Device) -> Result<(), std::io::Error> {
[INFO] [stdout]    |                  ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `v`
[INFO] [stdout]   --> src/datacache.rs:51:23
[INFO] [stdout]    |
[INFO] [stdout] 51 |             .map(|(k, v)| k.clone())
[INFO] [stdout]    |                       ^ help: if this is intentional, prefix it with an underscore: `_v`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `k`
[INFO] [stdout]   --> src/datacache.rs:50:23
[INFO] [stdout]    |
[INFO] [stdout] 50 |             .filter(|(k, v)| v.last_update.elapsed().unwrap().as_secs() >= self.experity_time)
[INFO] [stdout]    |                       ^ help: if this is intentional, prefix it with an underscore: `_k`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `temperature` and `humidity` are never read
[INFO] [stdout]  --> src/device.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub struct DeviceConfig {
[INFO] [stdout]   |            ------------ fields in this struct
[INFO] [stdout] 6 |     temperature: f32,
[INFO] [stdout]   |     ^^^^^^^^^^^
[INFO] [stdout] 7 |     humidity: f32
[INFO] [stdout]   |     ^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::device::Device`
[INFO] [stdout]  --> src/metrics.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use crate::device::Device;
[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: `crate::device`
[INFO] [stdout]  --> src/state.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use crate::device;
[INFO] [stdout]   |     ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `be_server::device::HardDevice`
[INFO] [stdout]  --> src/main.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | use be_server::device::HardDevice;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::device::Device`
[INFO] [stdout]  --> src/metrics.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use crate::device::Device;
[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: `Device`
[INFO] [stdout]   --> src/metrics.rs:42:37
[INFO] [stdout]    |
[INFO] [stdout] 42 |     use crate::device::{HardDevice, Device};
[INFO] [stdout]    |                                     ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::device`
[INFO] [stdout]  --> src/state.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use crate::device;
[INFO] [stdout]   |     ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `be_server::device::HardDevice`
[INFO] [stdout]  --> src/main.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | use be_server::device::HardDevice;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 21.93s
[INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: sqlx-postgres v0.7.4
[INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 10`
[INFO] running `Command { std: "docker" "inspect" "851ebf5e684c7953ea0518c9fea1d2751bcf8b51c7b849bf62dad25381740865", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "851ebf5e684c7953ea0518c9fea1d2751bcf8b51c7b849bf62dad25381740865", kill_on_drop: false }`
[INFO] [stdout] 851ebf5e684c7953ea0518c9fea1d2751bcf8b51c7b849bf62dad25381740865
