[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] 48419649252400d1fbdf7975f26d5d8c0e01af80 [INFO] testing aperisic85/datalog-all against 1.97.0-beta.6 for beta-1.98-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Faperisic85%2Fdatalog-all" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-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-7-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/aperisic85/datalog-all on toolchain 1.97.0-beta.6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.97.0-beta.6" "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" "+1.97.0-beta.6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded jsonwebtoken v9.3.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3d5ced03c013a94a2f102a4510f48a6e9184255caf5fd8244f58017bde7f5210" "sleep" "infinity", kill_on_drop: false }` [INFO] [stdout] e04706886b8fcea711008dcf349df8c9147899fd3731e9154eaa3b7d6df21762 [INFO] running `Command { std: "docker" "start" "e04706886b8fcea711008dcf349df8c9147899fd3731e9154eaa3b7d6df21762", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e04706886b8fcea711008dcf349df8c9147899fd3731e9154eaa3b7d6df21762", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "e04706886b8fcea711008dcf349df8c9147899fd3731e9154eaa3b7d6df21762" "/opt/rustwide/cargo-home/bin/cargo" "+1.97.0-beta.6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e04706886b8fcea711008dcf349df8c9147899fd3731e9154eaa3b7d6df21762", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "e04706886b8fcea711008dcf349df8c9147899fd3731e9154eaa3b7d6df21762" "/opt/rustwide/cargo-home/bin/cargo" "+1.97.0-beta.6" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] Compiling cc v1.2.57 [INFO] [stderr] Compiling syn v2.0.117 [INFO] [stderr] Compiling getrandom v0.2.17 [INFO] [stderr] Compiling parking_lot_core v0.9.12 [INFO] [stderr] Compiling serde_json v1.0.149 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling futures-util v0.3.32 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling ahash v0.8.12 [INFO] [stderr] Compiling rustls v0.21.12 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling getrandom v0.3.4 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling base64 v0.21.7 [INFO] [stderr] Compiling sqlformat v0.2.6 [INFO] [stderr] Compiling parking_lot v0.12.5 [INFO] [stderr] Compiling crc v3.4.0 [INFO] [stderr] Compiling futures-sink v0.3.32 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling webpki-roots v0.25.4 [INFO] [stderr] Compiling sha2 v0.10.9 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling unicode-normalization v0.1.25 [INFO] [stderr] Compiling rustls-pemfile v1.0.4 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling tokio v1.50.0 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling form_urlencoded v1.2.2 [INFO] [stderr] Compiling tracing-core v0.1.36 [INFO] [stderr] Compiling slab v0.4.12 [INFO] [stderr] Compiling log v0.4.29 [INFO] [stderr] Compiling bitflags v2.11.0 [INFO] [stderr] Compiling unicode-properties v0.1.4 [INFO] [stderr] Compiling chrono v0.4.44 [INFO] [stderr] Compiling atoi v2.0.0 [INFO] [stderr] Compiling stringprep v0.1.5 [INFO] [stderr] Compiling rustix v1.1.4 [INFO] [stderr] Compiling futures-intrusive v0.5.0 [INFO] [stderr] Compiling hashlink v0.8.4 [INFO] [stderr] Compiling hkdf v0.12.4 [INFO] [stderr] Compiling md-5 v0.10.6 [INFO] [stderr] Compiling futures-channel v0.3.32 [INFO] [stderr] Compiling linux-raw-sys v0.12.1 [INFO] [stderr] Compiling simd-adler32 v0.3.8 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Compiling openssl-sys v0.9.112 [INFO] [stderr] Compiling uuid v1.22.0 [INFO] [stderr] Compiling whoami v1.6.1 [INFO] [stderr] Compiling home v0.5.12 [INFO] [stderr] Compiling miniz_oxide v0.8.9 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling thiserror v2.0.18 [INFO] [stderr] Compiling num-conv v0.2.0 [INFO] [stderr] Compiling time-macros v0.2.27 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling openssl v0.10.76 [INFO] [stderr] Compiling native-tls v0.2.18 [INFO] [stderr] Compiling flate2 v1.1.9 [INFO] [stderr] Compiling inout v0.1.4 [INFO] [stderr] Compiling compression-codecs v0.4.37 [INFO] [stderr] Compiling cipher v0.4.4 [INFO] [stderr] Compiling num-bigint v0.4.6 [INFO] [stderr] Compiling serde_path_to_error v0.1.20 [INFO] [stderr] Compiling tracing-log v0.2.0 [INFO] [stderr] Compiling blowfish v0.9.1 [INFO] [stderr] Compiling urlencoding v2.1.3 [INFO] [stderr] Compiling bcrypt v0.15.1 [INFO] [stderr] Compiling time v0.3.47 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling tempfile v3.27.0 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.1 [INFO] [stderr] Compiling zerovec-derive v0.11.2 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling tracing-attributes v0.1.31 [INFO] [stderr] Compiling tokio-macros v2.6.1 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling thiserror-impl v2.0.18 [INFO] [stderr] Compiling tokio-stream v0.1.18 [INFO] [stderr] Compiling rustls-webpki v0.101.7 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling sct v0.7.1 [INFO] [stderr] Compiling async-trait v0.1.89 [INFO] [stderr] Compiling pin-project-internal v1.1.11 [INFO] [stderr] Compiling axum-macros v0.4.2 [INFO] [stderr] Compiling tracing v0.1.44 [INFO] [stderr] Compiling simple_asn1 v0.6.4 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling tracing-subscriber v0.3.23 [INFO] [stderr] Compiling yoke v0.8.1 [INFO] [stderr] Compiling axum-core v0.4.5 [INFO] [stderr] Compiling zerovec v0.11.5 [INFO] [stderr] Compiling zerotrie v0.2.3 [INFO] [stderr] Compiling pin-project v1.1.11 [INFO] [stderr] Compiling tower v0.4.13 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling jsonwebtoken v9.3.1 [INFO] [stderr] Compiling tinystr v0.8.2 [INFO] [stderr] Compiling potential_utf v0.1.4 [INFO] [stderr] Compiling icu_locale_core v2.1.1 [INFO] [stderr] Compiling icu_collections v2.1.1 [INFO] [stderr] Compiling icu_provider v2.1.1 [INFO] [stderr] Compiling icu_properties v2.1.2 [INFO] [stderr] Compiling icu_normalizer v2.1.1 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling idna v1.1.0 [INFO] [stderr] Compiling tokio-util v0.7.18 [INFO] [stderr] Compiling tower v0.5.3 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling async-compression v0.4.41 [INFO] [stderr] Compiling url v2.5.8 [INFO] [stderr] Compiling h2 v0.4.13 [INFO] [stderr] Compiling tower-http v0.5.2 [INFO] [stderr] Compiling sqlx-core v0.7.4 [INFO] [stderr] Compiling tower-http v0.6.8 [INFO] [stderr] Compiling sqlx-postgres v0.7.4 [INFO] [stderr] Compiling hyper v1.8.1 [INFO] [stderr] Compiling hyper-util v0.1.20 [INFO] [stderr] Compiling sqlx-macros-core v0.7.4 [INFO] [stderr] Compiling hyper-tls v0.6.0 [INFO] [stderr] Compiling axum v0.7.9 [INFO] [stderr] Compiling reqwest v0.12.28 [INFO] [stderr] Compiling sqlx-macros v0.7.4 [INFO] [stderr] Compiling sqlx v0.7.4 [INFO] [stderr] Compiling datalogger-backend v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `domain::*` [INFO] [stdout] --> src/db/mod.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 5 | 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:145:14 [INFO] [stdout] | [INFO] [stdout] 145 | 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:242:14 [INFO] [stdout] | [INFO] [stdout] 242 | 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:248:14 [INFO] [stdout] | [INFO] [stdout] 248 | 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:266:14 [INFO] [stdout] | [INFO] [stdout] 266 | pub async fn delete_image(pool: &PgPool, image_id: Uuid, object_id: Uuid) -> AppResult> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_battery_voltage_history` is never used [INFO] [stdout] --> src/db/domain.rs:421:14 [INFO] [stdout] | [INFO] [stdout] 421 | pub async fn get_battery_voltage_history( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `transaction` and `signature` are never read [INFO] [stdout] --> src/models/mod.rs:20:9 [INFO] [stdout] | [INFO] [stdout] 19 | pub struct PayloadHead { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 20 | pub transaction: Option, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 21 | 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:30:9 [INFO] [stdout] | [INFO] [stdout] 27 | pub struct PayloadEnvironment { [INFO] [stdout] | ------------------ fields in this struct [INFO] [stdout] ... [INFO] [stdout] 30 | pub model: Option, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 31 | pub os_version: Option, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 32 | 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:38:9 [INFO] [stdout] | [INFO] [stdout] 36 | pub struct FieldDef { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 37 | pub name: String, [INFO] [stdout] 38 | pub processing: Option, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 39 | pub units: Option, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 40 | #[serde(rename = "type")] [INFO] [stdout] 41 | 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] 471 | pub async fn clock_check(&self) -> Result>> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 41s [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" "e04706886b8fcea711008dcf349df8c9147899fd3731e9154eaa3b7d6df21762", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "e04706886b8fcea711008dcf349df8c9147899fd3731e9154eaa3b7d6df21762" "/opt/rustwide/cargo-home/bin/cargo" "+1.97.0-beta.6" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] Compiling datalogger-backend v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `domain::*` [INFO] [stdout] --> src/db/mod.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 5 | 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:145:14 [INFO] [stdout] | [INFO] [stdout] 145 | 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:242:14 [INFO] [stdout] | [INFO] [stdout] 242 | 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:248:14 [INFO] [stdout] | [INFO] [stdout] 248 | 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:266:14 [INFO] [stdout] | [INFO] [stdout] 266 | pub async fn delete_image(pool: &PgPool, image_id: Uuid, object_id: Uuid) -> AppResult> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_battery_voltage_history` is never used [INFO] [stdout] --> src/db/domain.rs:421:14 [INFO] [stdout] | [INFO] [stdout] 421 | pub async fn get_battery_voltage_history( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `transaction` and `signature` are never read [INFO] [stdout] --> src/models/mod.rs:20:9 [INFO] [stdout] | [INFO] [stdout] 19 | pub struct PayloadHead { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 20 | pub transaction: Option, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 21 | 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:30:9 [INFO] [stdout] | [INFO] [stdout] 27 | pub struct PayloadEnvironment { [INFO] [stdout] | ------------------ fields in this struct [INFO] [stdout] ... [INFO] [stdout] 30 | pub model: Option, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 31 | pub os_version: Option, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 32 | 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:38:9 [INFO] [stdout] | [INFO] [stdout] 36 | pub struct FieldDef { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 37 | pub name: String, [INFO] [stdout] 38 | pub processing: Option, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 39 | pub units: Option, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 40 | #[serde(rename = "type")] [INFO] [stdout] 41 | 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] 471 | pub async fn clock_check(&self) -> Result>> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 12.18s [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" "e04706886b8fcea711008dcf349df8c9147899fd3731e9154eaa3b7d6df21762", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "e04706886b8fcea711008dcf349df8c9147899fd3731e9154eaa3b7d6df21762" "/opt/rustwide/cargo-home/bin/cargo" "+1.97.0-beta.6" "test" "--frozen", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `domain::*` [INFO] [stderr] --> src/db/mod.rs:5:9 [INFO] [stderr] | [INFO] [stderr] 5 | pub use domain::*; [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: field `recorded_at` is never read [INFO] [stderr] --> src/battery_capacity.rs:47:9 [INFO] [stderr] | [INFO] [stderr] 46 | pub struct DailyTotal { [INFO] [stderr] | ---------- field in this struct [INFO] [stderr] 47 | pub recorded_at: DateTime, [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: function `get_region` is never used [INFO] [stderr] --> src/db/domain.rs:27:14 [INFO] [stderr] | [INFO] [stderr] 27 | pub async fn get_region(pool: &PgPool, id: Uuid) -> AppResult> { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `get_object_by_station_id` is never used [INFO] [stderr] --> src/db/domain.rs:145:14 [INFO] [stderr] | [INFO] [stderr] 145 | pub async fn get_object_by_station_id(pool: &PgPool, sid: &str) -> AppResult> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `list_object_images` is never used [INFO] [stderr] --> src/db/domain.rs:242:14 [INFO] [stderr] | [INFO] [stderr] 242 | pub async fn list_object_images(pool: &PgPool, object_id: Uuid) -> AppResult> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `insert_image` is never used [INFO] [stderr] --> src/db/domain.rs:248:14 [INFO] [stderr] | [INFO] [stderr] 248 | pub async fn insert_image(pool: &PgPool, object_id: Uuid, filename: &str, [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `delete_image` is never used [INFO] [stderr] --> src/db/domain.rs:266:14 [INFO] [stderr] | [INFO] [stderr] 266 | pub async fn delete_image(pool: &PgPool, image_id: Uuid, object_id: Uuid) -> AppResult> { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `get_battery_voltage_history` is never used [INFO] [stderr] --> src/db/domain.rs:421:14 [INFO] [stderr] | [INFO] [stderr] 421 | pub async fn get_battery_voltage_history( [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: fields `transaction` and `signature` are never read [INFO] [stderr] --> src/models/mod.rs:20:9 [INFO] [stderr] | [INFO] [stderr] 19 | pub struct PayloadHead { [INFO] [stderr] | ----------- fields in this struct [INFO] [stderr] 20 | pub transaction: Option, [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] 21 | pub signature: Option, [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `PayloadHead` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: fields `model`, `os_version`, and `prog_name` are never read [INFO] [stderr] --> src/models/mod.rs:30:9 [INFO] [stderr] | [INFO] [stderr] 27 | pub struct PayloadEnvironment { [INFO] [stderr] | ------------------ fields in this struct [INFO] [stderr] ... [INFO] [stderr] 30 | pub model: Option, [INFO] [stderr] | ^^^^^ [INFO] [stderr] 31 | pub os_version: Option, [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] 32 | pub prog_name: Option, [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `PayloadEnvironment` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: fields `processing`, `units`, and `field_type` are never read [INFO] [stderr] --> src/models/mod.rs:38:9 [INFO] [stderr] | [INFO] [stderr] 36 | pub struct FieldDef { [INFO] [stderr] | -------- fields in this struct [INFO] [stderr] 37 | pub name: String, [INFO] [stderr] 38 | pub processing: Option, [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] 39 | pub units: Option, [INFO] [stderr] | ^^^^^ [INFO] [stderr] 40 | #[serde(rename = "type")] [INFO] [stderr] 41 | pub field_type: Option, [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `FieldDef` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: fields `program_version` and `program_features` are never read [INFO] [stderr] --> src/models/domain.rs:116:9 [INFO] [stderr] | [INFO] [stderr] 98 | pub struct CreateObjectRequest { [INFO] [stderr] | ------------------- fields in this struct [INFO] [stderr] ... [INFO] [stderr] 116 | pub program_version: Option, [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] 117 | pub program_features: Option, [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `CreateObjectRequest` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: struct `ObjectImage` is never constructed [INFO] [stderr] --> src/models/domain.rs:148:12 [INFO] [stderr] | [INFO] [stderr] 148 | pub struct ObjectImage { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `UpdateUserRequest` is never constructed [INFO] [stderr] --> src/models/domain.rs:517:12 [INFO] [stderr] | [INFO] [stderr] 517 | pub struct UpdateUserRequest { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: fields `id` and `polling_enabled` are never read [INFO] [stderr] --> src/models/domain.rs:654:9 [INFO] [stderr] | [INFO] [stderr] 653 | pub struct ObjectPollConfig { [INFO] [stderr] | ---------------- fields in this struct [INFO] [stderr] 654 | pub id: Uuid, [INFO] [stderr] | ^^ [INFO] [stderr] ... [INFO] [stderr] 660 | pub polling_enabled: bool, [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `ObjectPollConfig` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: methods `poll_table_complete`, `browse_tables`, and `clock_check` are never used [INFO] [stderr] --> src/poller/client.rs:273:18 [INFO] [stderr] | [INFO] [stderr] 161 | impl Cr300Client { [INFO] [stderr] | ---------------- methods in this implementation [INFO] [stderr] ... [INFO] [stderr] 273 | pub async fn poll_table_complete( [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 396 | pub async fn browse_tables(&self) -> Result> { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 471 | pub async fn clock_check(&self) -> Result>> { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `datalogger-backend` (bin "datalogger-backend" test) generated 16 warnings (run `cargo fix --bin "datalogger-backend" -p datalogger-backend --tests` to apply 1 suggestion) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.54s [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] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/datalogger_backend-c96d7487e3b4ac0d) [INFO] [stdout] [INFO] [stdout] running 24 tests [INFO] [stdout] test battery_capacity::tests::deep_deficit_close_to_nominal_reports_good ... ok [INFO] [stdout] test battery_capacity::tests::moderate_deficit_reports_insufficient_discharge ... ok [INFO] [stdout] test battery_capacity::tests::no_nominal_reports_no_nominal ... ok [INFO] [stdout] test battery_capacity::tests::no_discharge_reports_insufficient_discharge ... ok [INFO] [stdout] test battery_health::tests::cloudy_period_insufficient_charged_days ... ok [INFO] [stdout] test battery_capacity::tests::insufficient_samples_reports_insufficient_data ... ok [INFO] [stdout] test battery_health::tests::deep_night_sag_reports_replace ... ok [INFO] [stdout] test battery_health::tests::detects_24v_system ... ok [INFO] [stdout] test battery_capacity::tests::sunny_system_reports_insufficient_discharge ... ok [INFO] [stdout] test battery_health::tests::healthy_battery_holds_voltage ... ok [INFO] [stdout] test battery_health::tests::large_swing_reports_degraded ... ok [INFO] [stdout] test battery_health::tests::moderate_sag_reports_degraded ... ok [INFO] [stdout] test battery_health::tests::too_few_days_insufficient ... ok [INFO] [stdout] test battery_prediction::tests::declining_series_predicts_warning ... ok [INFO] [stdout] test battery_prediction::tests::stable_series_has_no_eta ... ok [INFO] [stdout] test battery_prediction::tests::too_few_samples_returns_none ... ok [INFO] [stdout] test llm::tests::maps_synonyms ... ok [INFO] [stdout] test llm::tests::focus_defaults_to_sve ... ok [INFO] [stdout] test battery_prediction::tests::stale_station_reference_is_last_sample_not_now ... ok [INFO] [stdout] test llm::tests::parses_focus ... ok [INFO] [stdout] test llm::tests::parses_plain_json ... ok [INFO] [stdout] test llm::tests::parses_with_surrounding_text ... ok [INFO] [stdout] test llm::tests::unknown_on_missing ... ok [INFO] [stdout] test llm::tests::parses_fenced_json ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 24 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "e04706886b8fcea711008dcf349df8c9147899fd3731e9154eaa3b7d6df21762", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e04706886b8fcea711008dcf349df8c9147899fd3731e9154eaa3b7d6df21762", kill_on_drop: false }` [INFO] [stdout] e04706886b8fcea711008dcf349df8c9147899fd3731e9154eaa3b7d6df21762