[INFO] cloning repository https://github.com/aperisic85/datalog-all [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/aperisic85/datalog-all" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Faperisic85%2Fdatalog-all", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Faperisic85%2Fdatalog-all'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 1f1c9072ad0830898e0392b990a9c622c472f8d2 [INFO] checking aperisic85/datalog-all against master#03c609abb6638f9d7f49f34326d4137d07f5cd61 for pr-155945 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Faperisic85%2Fdatalog-all" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/aperisic85/datalog-all [INFO] finished tweaking git repo https://github.com/aperisic85/datalog-all [INFO] tweaked toml for git repo https://github.com/aperisic85/datalog-all written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/aperisic85/datalog-all on toolchain 03c609abb6638f9d7f49f34326d4137d07f5cd61 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+03c609abb6638f9d7f49f34326d4137d07f5cd61" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/aperisic85/datalog-all 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" "+03c609abb6638f9d7f49f34326d4137d07f5cd61" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded compression-codecs v0.4.37 [INFO] [stderr] Downloaded async-compression v0.4.41 [INFO] [stderr] Downloaded openssl v0.10.76 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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" "+03c609abb6638f9d7f49f34326d4137d07f5cd61" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 95af904941b78ef04c618754fa8ae919541e9e94d0bfb1ba63413cbe23d5ef3e [INFO] running `Command { std: "docker" "start" "-a" "95af904941b78ef04c618754fa8ae919541e9e94d0bfb1ba63413cbe23d5ef3e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "95af904941b78ef04c618754fa8ae919541e9e94d0bfb1ba63413cbe23d5ef3e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "95af904941b78ef04c618754fa8ae919541e9e94d0bfb1ba63413cbe23d5ef3e", kill_on_drop: false }` [INFO] [stdout] 95af904941b78ef04c618754fa8ae919541e9e94d0bfb1ba63413cbe23d5ef3e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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" "+03c609abb6638f9d7f49f34326d4137d07f5cd61" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3f0126d3b9e4afc9ee4bc6e52f125685bdf44c2427f536bde28ec60863362425 [INFO] running `Command { std: "docker" "start" "-a" "3f0126d3b9e4afc9ee4bc6e52f125685bdf44c2427f536bde28ec60863362425", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.183 [INFO] [stderr] Compiling zerovec-derive v0.11.2 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.1 [INFO] [stderr] Compiling cc v1.2.57 [INFO] [stderr] Compiling zerocopy v0.8.42 [INFO] [stderr] Compiling stable_deref_trait v1.2.1 [INFO] [stderr] Compiling tokio-macros v2.6.1 [INFO] [stderr] Compiling typenum v1.19.0 [INFO] [stderr] Compiling serde_json v1.0.149 [INFO] [stderr] Checking futures-util v0.3.32 [INFO] [stderr] Checking http v1.4.0 [INFO] [stderr] Compiling once_cell v1.21.4 [INFO] [stderr] Compiling rustls v0.21.12 [INFO] [stderr] Compiling subtle v2.6.1 [INFO] [stderr] Checking serde v1.0.228 [INFO] [stderr] Compiling futures-core v0.3.32 [INFO] [stderr] Compiling untrusted v0.9.0 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking futures-channel v0.3.32 [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Compiling futures-sink v0.3.32 [INFO] [stderr] Compiling allocator-api2 v0.2.21 [INFO] [stderr] Compiling percent-encoding v2.3.2 [INFO] [stderr] Compiling tinyvec v1.11.0 [INFO] [stderr] Compiling form_urlencoded v1.2.2 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling tracing-core v0.1.36 [INFO] [stderr] Checking http-body v1.0.1 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Compiling futures-io v0.3.32 [INFO] [stderr] Compiling futures-task v0.3.32 [INFO] [stderr] Compiling base64 v0.21.7 [INFO] [stderr] Compiling iana-time-zone v0.1.65 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling getrandom v0.2.17 [INFO] [stderr] Compiling getrandom v0.3.4 [INFO] [stderr] Compiling parking_lot_core v0.9.12 [INFO] [stderr] Compiling socket2 v0.6.3 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling mio v1.1.1 [INFO] [stderr] Compiling yoke v0.8.1 [INFO] [stderr] Compiling parking_lot v0.12.5 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling zerovec v0.11.5 [INFO] [stderr] Checking errno v0.3.14 [INFO] [stderr] Checking signal-hook-registry v1.4.8 [INFO] [stderr] Compiling zerotrie v0.2.3 [INFO] [stderr] Compiling crypto-common v0.1.7 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling tokio v1.50.0 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Compiling openssl-sys v0.9.112 [INFO] [stderr] Checking tinystr v0.8.2 [INFO] [stderr] Checking potential_utf v0.1.4 [INFO] [stderr] Compiling openssl v0.10.76 [INFO] [stderr] Checking icu_collections v2.1.1 [INFO] [stderr] Checking icu_locale_core v2.1.1 [INFO] [stderr] Compiling bitflags v2.11.0 [INFO] [stderr] Compiling slab v0.4.12 [INFO] [stderr] Compiling rustix v1.1.4 [INFO] [stderr] Compiling cpufeatures v0.2.17 [INFO] [stderr] Compiling crc v3.4.0 [INFO] [stderr] Compiling sha2 v0.10.9 [INFO] [stderr] Checking icu_provider v2.1.1 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Checking icu_normalizer v2.1.1 [INFO] [stderr] Checking icu_properties v2.1.2 [INFO] [stderr] Compiling futures-intrusive v0.5.0 [INFO] [stderr] Compiling crossbeam-queue v0.3.12 [INFO] [stderr] Compiling sqlformat v0.2.6 [INFO] [stderr] Compiling rustls-pemfile v1.0.4 [INFO] [stderr] Compiling chrono v0.4.44 [INFO] [stderr] Compiling tracing v0.1.44 [INFO] [stderr] Compiling atoi v2.0.0 [INFO] [stderr] Compiling unicode-normalization v0.1.25 [INFO] [stderr] Checking idna_adapter v1.2.1 [INFO] [stderr] Checking idna v1.1.0 [INFO] [stderr] Checking http-body-util v0.1.3 [INFO] [stderr] Checking ahash v0.8.12 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling unicode-properties v0.1.4 [INFO] [stderr] Compiling uuid v1.22.0 [INFO] [stderr] Compiling native-tls v0.2.18 [INFO] [stderr] Compiling webpki-roots v0.25.4 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling linux-raw-sys v0.12.1 [INFO] [stderr] Compiling unicode-bidi v0.3.18 [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Checking ppv-lite86 v0.2.21 [INFO] [stderr] Checking url v2.5.8 [INFO] [stderr] Compiling stringprep v0.1.5 [INFO] [stderr] Compiling hkdf v0.12.4 [INFO] [stderr] Compiling md-5 v0.10.6 [INFO] [stderr] Checking getrandom v0.4.2 [INFO] [stderr] Compiling whoami v1.6.1 [INFO] [stderr] Compiling home v0.5.12 [INFO] [stderr] Compiling unicode-segmentation v1.12.0 [INFO] [stderr] Compiling thiserror v2.0.18 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking hashlink v0.8.4 [INFO] [stderr] Compiling sct v0.7.1 [INFO] [stderr] Compiling rustls-webpki v0.101.7 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Checking inout v0.1.4 [INFO] [stderr] Checking compression-core v0.4.31 [INFO] [stderr] Checking regex-syntax v0.8.10 [INFO] [stderr] Checking time v0.3.47 [INFO] [stderr] Checking cipher v0.4.4 [INFO] [stderr] Checking compression-codecs v0.4.37 [INFO] [stderr] Checking num-bigint v0.4.6 [INFO] [stderr] Checking tokio-util v0.7.18 [INFO] [stderr] Checking tower v0.5.3 [INFO] [stderr] Checking tokio-stream v0.1.18 [INFO] [stderr] Compiling tempfile v3.27.0 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking h2 v0.4.13 [INFO] [stderr] Compiling pin-project-internal v1.1.11 [INFO] [stderr] Compiling async-trait v0.1.89 [INFO] [stderr] Checking iri-string v0.7.10 [INFO] [stderr] Checking tokio-native-tls v0.3.1 [INFO] [stderr] Checking async-compression v0.4.41 [INFO] [stderr] Checking regex-automata v0.4.14 [INFO] [stderr] Checking blowfish v0.9.1 [INFO] [stderr] Checking pem v3.0.6 [INFO] [stderr] Checking serde_path_to_error v0.1.20 [INFO] [stderr] Compiling axum-macros v0.4.2 [INFO] [stderr] Checking matchit v0.7.3 [INFO] [stderr] Checking tower-http v0.5.2 [INFO] [stderr] Checking bcrypt v0.15.1 [INFO] [stderr] Checking axum-core v0.4.5 [INFO] [stderr] Checking simple_asn1 v0.6.4 [INFO] [stderr] Compiling sqlx-core v0.7.4 [INFO] [stderr] Checking pin-project v1.1.11 [INFO] [stderr] Checking tower v0.4.13 [INFO] [stderr] Checking jsonwebtoken v9.3.1 [INFO] [stderr] Checking tower-http v0.6.8 [INFO] [stderr] Checking matchers v0.2.0 [INFO] [stderr] Checking tracing-subscriber v0.3.23 [INFO] [stderr] Compiling sqlx-postgres v0.7.4 [INFO] [stderr] Checking hyper v1.8.1 [INFO] [stderr] Checking hyper-util v0.1.20 [INFO] [stderr] Checking hyper-tls v0.6.0 [INFO] [stderr] Checking axum v0.7.9 [INFO] [stderr] Checking reqwest v0.12.28 [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 datalogger-backend v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `domain::*` [INFO] [stdout] --> src/db/mod.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | pub use domain::*; [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: `domain::*` [INFO] [stdout] --> src/db/mod.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | pub use domain::*; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `recorded_at` is never read [INFO] [stdout] --> src/battery_capacity.rs:47:9 [INFO] [stdout] | [INFO] [stdout] 46 | pub struct DailyTotal { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 47 | pub recorded_at: DateTime, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_region` is never used [INFO] [stdout] --> src/db/domain.rs:27:14 [INFO] [stdout] | [INFO] [stdout] 27 | pub async fn get_region(pool: &PgPool, id: Uuid) -> AppResult> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_object_by_station_id` is never used [INFO] [stdout] --> src/db/domain.rs:139:14 [INFO] [stdout] | [INFO] [stdout] 139 | pub async fn get_object_by_station_id(pool: &PgPool, sid: &str) -> AppResult> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `list_object_images` is never used [INFO] [stdout] --> src/db/domain.rs:236:14 [INFO] [stdout] | [INFO] [stdout] 236 | pub async fn list_object_images(pool: &PgPool, object_id: Uuid) -> AppResult> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `insert_image` is never used [INFO] [stdout] --> src/db/domain.rs:242:14 [INFO] [stdout] | [INFO] [stdout] 242 | pub async fn insert_image(pool: &PgPool, object_id: Uuid, filename: &str, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `delete_image` is never used [INFO] [stdout] --> src/db/domain.rs:260:14 [INFO] [stdout] | [INFO] [stdout] 260 | pub async fn delete_image(pool: &PgPool, image_id: Uuid, object_id: Uuid) -> AppResult> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `transaction` and `signature` are never read [INFO] [stdout] --> src/models/mod.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 18 | pub struct PayloadHead { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 19 | pub transaction: Option, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 20 | pub signature: Option, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PayloadHead` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `model`, `os_version`, and `prog_name` are never read [INFO] [stdout] --> src/models/mod.rs:29:9 [INFO] [stdout] | [INFO] [stdout] 26 | pub struct PayloadEnvironment { [INFO] [stdout] | ------------------ fields in this struct [INFO] [stdout] ... [INFO] [stdout] 29 | pub model: Option, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 30 | pub os_version: Option, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 31 | pub prog_name: Option, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PayloadEnvironment` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `processing`, `units`, and `field_type` are never read [INFO] [stdout] --> src/models/mod.rs:37:9 [INFO] [stdout] | [INFO] [stdout] 35 | pub struct FieldDef { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 36 | pub name: String, [INFO] [stdout] 37 | pub processing: Option, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 38 | pub units: Option, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 39 | #[serde(rename = "type")] [INFO] [stdout] 40 | pub field_type: Option, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `FieldDef` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `program_version` and `program_features` are never read [INFO] [stdout] --> src/models/domain.rs:116:9 [INFO] [stdout] | [INFO] [stdout] 98 | pub struct CreateObjectRequest { [INFO] [stdout] | ------------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 116 | pub program_version: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 117 | pub program_features: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CreateObjectRequest` 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 `ObjectImage` is never constructed [INFO] [stdout] --> src/models/domain.rs:148:12 [INFO] [stdout] | [INFO] [stdout] 148 | pub struct ObjectImage { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `UpdateUserRequest` is never constructed [INFO] [stdout] --> src/models/domain.rs:517:12 [INFO] [stdout] | [INFO] [stdout] 517 | pub struct UpdateUserRequest { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `id` and `polling_enabled` are never read [INFO] [stdout] --> src/models/domain.rs:654:9 [INFO] [stdout] | [INFO] [stdout] 653 | pub struct ObjectPollConfig { [INFO] [stdout] | ---------------- fields in this struct [INFO] [stdout] 654 | pub id: Uuid, [INFO] [stdout] | ^^ [INFO] [stdout] ... [INFO] [stdout] 660 | pub polling_enabled: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ObjectPollConfig` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `poll_table_complete`, `browse_tables`, and `clock_check` are never used [INFO] [stdout] --> src/poller/client.rs:273:18 [INFO] [stdout] | [INFO] [stdout] 161 | impl Cr300Client { [INFO] [stdout] | ---------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 273 | pub async fn poll_table_complete( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 396 | pub async fn browse_tables(&self) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 463 | pub async fn clock_check(&self) -> Result>> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `recorded_at` is never read [INFO] [stdout] --> src/battery_capacity.rs:47:9 [INFO] [stdout] | [INFO] [stdout] 46 | pub struct DailyTotal { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 47 | pub recorded_at: DateTime, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_region` is never used [INFO] [stdout] --> src/db/domain.rs:27:14 [INFO] [stdout] | [INFO] [stdout] 27 | pub async fn get_region(pool: &PgPool, id: Uuid) -> AppResult> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_object_by_station_id` is never used [INFO] [stdout] --> src/db/domain.rs:139:14 [INFO] [stdout] | [INFO] [stdout] 139 | pub async fn get_object_by_station_id(pool: &PgPool, sid: &str) -> AppResult> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `list_object_images` is never used [INFO] [stdout] --> src/db/domain.rs:236:14 [INFO] [stdout] | [INFO] [stdout] 236 | pub async fn list_object_images(pool: &PgPool, object_id: Uuid) -> AppResult> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `insert_image` is never used [INFO] [stdout] --> src/db/domain.rs:242:14 [INFO] [stdout] | [INFO] [stdout] 242 | pub async fn insert_image(pool: &PgPool, object_id: Uuid, filename: &str, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `delete_image` is never used [INFO] [stdout] --> src/db/domain.rs:260:14 [INFO] [stdout] | [INFO] [stdout] 260 | pub async fn delete_image(pool: &PgPool, image_id: Uuid, object_id: Uuid) -> AppResult> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `transaction` and `signature` are never read [INFO] [stdout] --> src/models/mod.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 18 | pub struct PayloadHead { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 19 | pub transaction: Option, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 20 | pub signature: Option, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PayloadHead` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `model`, `os_version`, and `prog_name` are never read [INFO] [stdout] --> src/models/mod.rs:29:9 [INFO] [stdout] | [INFO] [stdout] 26 | pub struct PayloadEnvironment { [INFO] [stdout] | ------------------ fields in this struct [INFO] [stdout] ... [INFO] [stdout] 29 | pub model: Option, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 30 | pub os_version: Option, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 31 | pub prog_name: Option, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PayloadEnvironment` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `processing`, `units`, and `field_type` are never read [INFO] [stdout] --> src/models/mod.rs:37:9 [INFO] [stdout] | [INFO] [stdout] 35 | pub struct FieldDef { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 36 | pub name: String, [INFO] [stdout] 37 | pub processing: Option, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 38 | pub units: Option, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 39 | #[serde(rename = "type")] [INFO] [stdout] 40 | pub field_type: Option, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `FieldDef` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `program_version` and `program_features` are never read [INFO] [stdout] --> src/models/domain.rs:116:9 [INFO] [stdout] | [INFO] [stdout] 98 | pub struct CreateObjectRequest { [INFO] [stdout] | ------------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 116 | pub program_version: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 117 | pub program_features: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CreateObjectRequest` 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 `ObjectImage` is never constructed [INFO] [stdout] --> src/models/domain.rs:148:12 [INFO] [stdout] | [INFO] [stdout] 148 | pub struct ObjectImage { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `UpdateUserRequest` is never constructed [INFO] [stdout] --> src/models/domain.rs:517:12 [INFO] [stdout] | [INFO] [stdout] 517 | pub struct UpdateUserRequest { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `id` and `polling_enabled` are never read [INFO] [stdout] --> src/models/domain.rs:654:9 [INFO] [stdout] | [INFO] [stdout] 653 | pub struct ObjectPollConfig { [INFO] [stdout] | ---------------- fields in this struct [INFO] [stdout] 654 | pub id: Uuid, [INFO] [stdout] | ^^ [INFO] [stdout] ... [INFO] [stdout] 660 | pub polling_enabled: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ObjectPollConfig` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `poll_table_complete`, `browse_tables`, and `clock_check` are never used [INFO] [stdout] --> src/poller/client.rs:273:18 [INFO] [stdout] | [INFO] [stdout] 161 | impl Cr300Client { [INFO] [stdout] | ---------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 273 | pub async fn poll_table_complete( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 396 | pub async fn browse_tables(&self) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 463 | pub async fn clock_check(&self) -> Result>> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 42s [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 2` [INFO] running `Command { std: "docker" "inspect" "3f0126d3b9e4afc9ee4bc6e52f125685bdf44c2427f536bde28ec60863362425", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3f0126d3b9e4afc9ee4bc6e52f125685bdf44c2427f536bde28ec60863362425", kill_on_drop: false }` [INFO] [stdout] 3f0126d3b9e4afc9ee4bc6e52f125685bdf44c2427f536bde28ec60863362425