[INFO] cloning repository https://github.com/w3aseL/pi-weather-station [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/w3aseL/pi-weather-station" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fw3aseL%2Fpi-weather-station", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fw3aseL%2Fpi-weather-station'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 47769de09f83530bf5816b06f841d741bedfb675 [INFO] testing w3aseL/pi-weather-station against try#c066bf6804adc55193b71afdff6a56922f4a8689+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_in_2025-retry-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fw3aseL%2Fpi-weather-station" "/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/w3aseL/pi-weather-station [INFO] finished tweaking git repo https://github.com/w3aseL/pi-weather-station [INFO] tweaked toml for git repo https://github.com/w3aseL/pi-weather-station written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/w3aseL/pi-weather-station on toolchain c066bf6804adc55193b71afdff6a56922f4a8689 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c066bf6804adc55193b71afdff6a56922f4a8689" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/w3aseL/pi-weather-station 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" "+c066bf6804adc55193b71afdff6a56922f4a8689" "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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+c066bf6804adc55193b71afdff6a56922f4a8689" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 22ed781e299526ddde41afe1cfccd1e4b55654823ad6886bad62c48ef5d7e01d [INFO] running `Command { std: "docker" "start" "-a" "22ed781e299526ddde41afe1cfccd1e4b55654823ad6886bad62c48ef5d7e01d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "22ed781e299526ddde41afe1cfccd1e4b55654823ad6886bad62c48ef5d7e01d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "22ed781e299526ddde41afe1cfccd1e4b55654823ad6886bad62c48ef5d7e01d", kill_on_drop: false }` [INFO] [stdout] 22ed781e299526ddde41afe1cfccd1e4b55654823ad6886bad62c48ef5d7e01d [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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+c066bf6804adc55193b71afdff6a56922f4a8689" "build" "--frozen" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 94e4eb77e26c4ffaeacaf240851daa96c1fa9e9bc59519de88acfc5ff159c248 [INFO] running `Command { std: "docker" "start" "-a" "94e4eb77e26c4ffaeacaf240851daa96c1fa9e9bc59519de88acfc5ff159c248", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling libc v0.2.97 [INFO] [stderr] Compiling proc-macro2 v1.0.27 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling memchr v2.4.0 [INFO] [stderr] Compiling syn v1.0.73 [INFO] [stderr] Compiling cc v1.0.68 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling pin-project-lite v0.2.7 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling bytes v1.0.1 [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Compiling futures-core v0.3.15 [INFO] [stderr] Compiling typenum v1.13.0 [INFO] [stderr] Compiling proc-macro-hack v0.5.19 [INFO] [stderr] Compiling once_cell v1.8.0 [INFO] [stderr] Compiling instant v0.1.9 [INFO] [stderr] Compiling futures-channel v0.3.15 [INFO] [stderr] Compiling futures-task v0.3.15 [INFO] [stderr] Compiling matches v0.1.8 [INFO] [stderr] Compiling futures-sink v0.3.15 [INFO] [stderr] Compiling smallvec v1.6.1 [INFO] [stderr] Compiling proc-macro-nested v0.1.7 [INFO] [stderr] Compiling lock_api v0.4.4 [INFO] [stderr] Compiling pkg-config v0.3.19 [INFO] [stderr] Compiling tinyvec_macros v0.1.0 [INFO] [stderr] Compiling tinyvec v1.2.0 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling openssl-src v111.15.0+1.1.1k [INFO] [stderr] Compiling slab v0.4.3 [INFO] [stderr] Compiling futures-io v0.3.15 [INFO] [stderr] Compiling unicode-bidi v0.3.5 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Compiling itoa v0.4.7 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling futures-macro v0.3.15 [INFO] [stderr] Compiling futures-util v0.3.15 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling parking_lot_core v0.8.3 [INFO] [stderr] Compiling tokio v1.7.1 [INFO] [stderr] Compiling getrandom v0.2.3 [INFO] [stderr] Compiling mio v0.7.13 [INFO] [stderr] Compiling signal-hook-registry v1.4.0 [INFO] [stderr] Compiling unicode-normalization v0.1.19 [INFO] [stderr] Compiling crossbeam-utils v0.8.5 [INFO] [stderr] Compiling parking_lot v0.11.1 [INFO] [stderr] Compiling memoffset v0.6.4 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling serde_derive v1.0.126 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Compiling indexmap v1.7.0 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling ppv-lite86 v0.2.10 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Compiling crossbeam-epoch v0.9.5 [INFO] [stderr] Compiling subtle v2.4.0 [INFO] [stderr] Compiling openssl v0.10.35 [INFO] [stderr] Compiling serde v1.0.126 [INFO] [stderr] Compiling opaque-debug v0.3.0 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Compiling http v0.2.4 [INFO] [stderr] Compiling socket2 v0.4.0 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling tracing-core v0.1.18 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling adler v1.0.2 [INFO] [stderr] Compiling base64 v0.13.0 [INFO] [stderr] Compiling openssl-sys v0.9.65 [INFO] [stderr] Compiling backtrace v0.3.60 [INFO] [stderr] Compiling rayon-core v1.9.1 [INFO] [stderr] Compiling cpufeatures v0.1.5 [INFO] [stderr] Compiling native-tls v0.2.7 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling httparse v1.4.1 [INFO] [stderr] Compiling gimli v0.24.0 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling crypto-mac v0.10.0 [INFO] [stderr] Compiling rand v0.8.4 [INFO] [stderr] Compiling tracing v0.1.26 [INFO] [stderr] Compiling hmac v0.10.1 [INFO] [stderr] Compiling sha2 v0.9.5 [INFO] [stderr] Compiling md-5 v0.9.1 [INFO] [stderr] Compiling stringprep v0.1.2 [INFO] [stderr] Compiling object v0.25.3 [INFO] [stderr] Compiling fallible-iterator v0.2.0 [INFO] [stderr] Compiling rustc-demangle v0.1.20 [INFO] [stderr] Compiling async-trait v0.1.50 [INFO] [stderr] Compiling openssl-probe v0.1.4 [INFO] [stderr] Compiling siphasher v0.3.5 [INFO] [stderr] Compiling try-lock v0.2.3 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling crossbeam-deque v0.8.0 [INFO] [stderr] Compiling phf_shared v0.8.0 [INFO] [stderr] Compiling http-body v0.4.2 [INFO] [stderr] Compiling crossbeam-channel v0.5.1 [INFO] [stderr] Compiling form_urlencoded v1.0.1 [INFO] [stderr] Compiling time v0.1.44 [INFO] [stderr] Compiling rayon v1.5.1 [INFO] [stderr] Compiling tower-service v0.3.1 [INFO] [stderr] Compiling serde_json v1.0.64 [INFO] [stderr] Compiling httpdate v1.0.1 [INFO] [stderr] Compiling postgres-protocol v0.6.1 [INFO] [stderr] Compiling doc-comment v0.3.3 [INFO] [stderr] Compiling encoding_rs v0.8.28 [INFO] [stderr] Compiling phf v0.8.0 [INFO] [stderr] Compiling idna v0.2.3 [INFO] [stderr] Compiling nom v4.1.1 [INFO] [stderr] Compiling sysinfo v0.18.2 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling addr2line v0.15.2 [INFO] [stderr] Compiling uuid v0.8.2 [INFO] [stderr] Compiling mime v0.3.16 [INFO] [stderr] Compiling ipnet v2.3.1 [INFO] [stderr] Compiling rppal v0.12.0 [INFO] [stderr] Compiling postgres-types v0.2.1 [INFO] [stderr] Compiling url v2.2.2 [INFO] [stderr] Compiling tokio-macros v1.3.0 [INFO] [stderr] Compiling error-chain v0.10.0 [INFO] [stderr] Compiling cron v0.6.1 [INFO] [stderr] Compiling job_scheduler v1.2.1 [INFO] [stderr] Compiling futures-executor v0.3.15 [INFO] [stderr] Compiling futures v0.3.15 [INFO] [stderr] Compiling tokio-util v0.6.7 [INFO] [stderr] Compiling h2 v0.3.3 [INFO] [stderr] Compiling tokio-postgres v0.7.2 [INFO] [stderr] Compiling serde_urlencoded v0.7.0 [INFO] [stderr] Compiling postgres v0.19.1 [INFO] [stderr] Compiling toml v0.5.8 [INFO] [stderr] Compiling hyper v0.14.10 [INFO] [stderr] Compiling tokio-native-tls v0.3.0 [INFO] [stderr] Compiling hyper-tls v0.5.0 [INFO] [stderr] Compiling reqwest v0.11.4 [INFO] [stderr] Compiling pi-weather-station v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `spawn` [INFO] [stdout] --> src/hardware/dht.rs:6:27 [INFO] [stdout] | [INFO] [stdout] 6 | use std::thread::{ sleep, spawn }; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `DateTime` [INFO] [stdout] --> src/hardware/dht.rs:9:15 [INFO] [stdout] | [INFO] [stdout] 9 | use chrono::{ DateTime }; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Utc` [INFO] [stdout] --> src/hardware/dht.rs:10:23 [INFO] [stdout] | [INFO] [stdout] 10 | use chrono::offset::{ Utc }; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `EventType` [INFO] [stdout] --> src/hardware/dht.rs:12:39 [INFO] [stdout] | [INFO] [stdout] 12 | use crate::hardware::events::{ Event, EventType, Payload }; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Job` [INFO] [stdout] --> src/hardware/rain.rs:4:22 [INFO] [stdout] | [INFO] [stdout] 4 | use job_scheduler::{ Job }; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Date` and `Local` [INFO] [stdout] --> src/data/types.rs:2:30 [INFO] [stdout] | [INFO] [stdout] 2 | use chrono::{ DateTime, Utc, Date, Local }; [INFO] [stdout] | ^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Deserialize` and `Serialize` [INFO] [stdout] --> src/api/cache.rs:4:14 [INFO] [stdout] | [INFO] [stdout] 4 | use serde::{ Serialize, Deserialize }; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::Read` [INFO] [stdout] --> src/api/mod.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::io::Read; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Value` [INFO] [stdout] --> src/api/mod.rs:14:19 [INFO] [stdout] | [INFO] [stdout] 14 | use serde_json::{ Value }; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `get_daytime_data` [INFO] [stdout] --> src/api/mod.rs:16:14 [INFO] [stdout] | [INFO] [stdout] 16 | use cache::{ get_daytime_data, get_latest_data }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data` [INFO] [stdout] --> src/hardware/events.rs:52:34 [INFO] [stdout] | [INFO] [stdout] 52 | fn update_data_fields(&self, data: &mut DataPoint, daytime_info: &mut DaytimeData) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_data` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `daytime_info` [INFO] [stdout] --> src/hardware/events.rs:52:56 [INFO] [stdout] | [INFO] [stdout] 52 | fn update_data_fields(&self, data: &mut DataPoint, daytime_info: &mut DaytimeData) { [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_daytime_info` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data` [INFO] [stdout] --> src/hardware/button.rs:32:34 [INFO] [stdout] | [INFO] [stdout] 32 | fn update_data_fields(&self, data: &mut DataPoint, daytime_info: &mut DaytimeData) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `daytime_info` [INFO] [stdout] --> src/hardware/button.rs:32:56 [INFO] [stdout] | [INFO] [stdout] 32 | fn update_data_fields(&self, data: &mut DataPoint, daytime_info: &mut DaytimeData) { [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_daytime_info` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `daytime_info` [INFO] [stdout] --> src/hardware/vane.rs:98:56 [INFO] [stdout] | [INFO] [stdout] 98 | fn update_data_fields(&self, data: &mut DataPoint, daytime_info: &mut DaytimeData) { [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_daytime_info` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/data/process.rs:114:16 [INFO] [stdout] | [INFO] [stdout] 114 | if let Err(e) = res { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data` [INFO] [stdout] --> src/data/types.rs:41:37 [INFO] [stdout] | [INFO] [stdout] 41 | fn insert_many(data: Vec, client: &mut Client) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `client` [INFO] [stdout] --> src/data/types.rs:41:51 [INFO] [stdout] | [INFO] [stdout] 41 | fn insert_many(data: Vec, client: &mut Client) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_client` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `res` [INFO] [stdout] --> src/main.rs:97:13 [INFO] [stdout] | [INFO] [stdout] 97 | let res = tokio_main(); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_res` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `convert_temp_to_farenheit` is never used [INFO] [stdout] --> src/hardware/dht.rs:53:12 [INFO] [stdout] | [INFO] [stdout] 24 | impl DHTData { [INFO] [stdout] | ------------ associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 53 | pub fn convert_temp_to_farenheit(temp_c: f32) -> f32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `event_sender` is never read [INFO] [stdout] --> src/hardware/dht.rs:125:5 [INFO] [stdout] | [INFO] [stdout] 121 | pub struct DHT { [INFO] [stdout] | --- field in this struct [INFO] [stdout] ... [INFO] [stdout] 125 | event_sender: Sender, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `count_to_cm` and `count_to_in` are never used [INFO] [stdout] --> src/hardware/rain.rs:45:12 [INFO] [stdout] | [INFO] [stdout] 20 | impl RainData { [INFO] [stdout] | ------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 45 | pub fn count_to_cm(&self) -> f32 { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 49 | pub fn count_to_in(&self) -> f32 { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `insert`, `insert_many`, and `find_all` are never used [INFO] [stdout] --> src/data/mod.rs:8:8 [INFO] [stdout] | [INFO] [stdout] 6 | pub trait DatabaseType { [INFO] [stdout] | ------------ associated items in this trait [INFO] [stdout] 7 | fn create_table(client: &mut Client); [INFO] [stdout] 8 | fn insert(&self, client: &mut Client); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 9 | fn insert_many(data: Vec, client: &mut Client); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 10 | fn find_all() -> Vec; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `prev_date` is never read [INFO] [stdout] --> src/data/process.rs:128:5 [INFO] [stdout] | [INFO] [stdout] 126 | pub struct DaytimeData { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] 127 | date: Date, [INFO] [stdout] 128 | prev_date: Option>, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DaytimeData` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `config`, `sender`, and `db_client` are never read [INFO] [stdout] --> src/data/process.rs:181:5 [INFO] [stdout] | [INFO] [stdout] 180 | pub struct DataManager { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 181 | config: Config, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 182 | sender: Sender, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 188 | db_client: Client, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/data/types.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 14 | impl Rain { [INFO] [stdout] | --------- associated function in this implementation [INFO] [stdout] 15 | pub fn new(timestamp: DateTime, count: u32) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `FORMAT` is never used [INFO] [stdout] --> src/data/types.rs:97:11 [INFO] [stdout] | [INFO] [stdout] 97 | const FORMAT: &'static str = "%Y-%m-%d"; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `serialize` is never used [INFO] [stdout] --> src/data/types.rs:106:12 [INFO] [stdout] | [INFO] [stdout] 106 | pub fn serialize( [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `deserialize` is never used [INFO] [stdout] --> src/data/types.rs:124:12 [INFO] [stdout] | [INFO] [stdout] 124 | pub fn deserialize<'de, D>( [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_daytime_data` is never used [INFO] [stdout] --> src/api/cache.rs:27:9 [INFO] [stdout] | [INFO] [stdout] 11 | impl ApiCache { [INFO] [stdout] | ------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 27 | pub fn get_daytime_data(&self) -> DaytimeData { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_daytime_data` is never used [INFO] [stdout] --> src/api/cache.rs:52:8 [INFO] [stdout] | [INFO] [stdout] 52 | pub fn get_daytime_data() -> DaytimeData { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: linking with `cc` failed: exit status: 1 [INFO] [stdout] | [INFO] [stdout] = note: "cc" "-m64" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/rcrt1.o" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/crti.o" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/crtbeginS.o" "/tmp/rustcBNENoh/symbols.o" "<17 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/{libjob_scheduler-e241f3b3b245e28c.rlib,libuuid-c0b4e6c1e8e76236.rlib,libcron-9599c96c8bf6b10a.rlib,liberror_chain-4c74267bc391bbf6.rlib,libbacktrace-e2d8eaa64cbdf4d7.rlib,libminiz_oxide-16b4b8547a6b52b2.rlib,libadler-b32dea79b2f05ffd.rlib,libobject-67e914e722b32bf4.rlib,libaddr2line-4b1792baad63468f.rlib,libgimli-ce06ea6147065463.rlib,librustc_demangle-0d667499c9d4f7c9.rlib,libnom-59f20fb8975e4c86.rlib,libreqwest-6016754ec498c956.rlib,libhyper_tls-a69be7b3ac890bcc.rlib,libipnet-de7db76026111e4e.rlib,libtokio_native_tls-c069a14981798a5f.rlib,libserde_urlencoded-9d9e36e6701e2365.rlib,libmime-2517c84452183460.rlib,libencoding_rs-078442d79d5a0b72.rlib,libserde_json-dc8bbfc6454c3bf7.rlib,libryu-af883cd9b444a782.rlib,libnative_tls-b1b995bee06b3527.rlib,libopenssl_probe-8a0f606d549d520a.rlib,libopenssl-0b9489096bd36bb3.rlib,libbitflags-561a4f1321538a32.rlib,libforeign_types-025c2fe8e99a8f1a.rlib,libforeign_types_shared-823307d82477c688.rlib,libopenssl_sys-eeb7412dcb0784f7.rlib,libhyper-977bb6227fbb434b.rlib,libwant-6557201d18a06969.rlib,libtry_lock-d956e9fcf0af499a.rlib,libh2-1712d9469b2dc39b.rlib,libindexmap-205a9cda8df2427d.rlib,libhashbrown-f6484c11bf24e065.rlib,libhttparse-e67995ed73b42558.rlib,libtower_service-a4da4ae722e0ce46.rlib,libhttpdate-b4affa6a984593b6.rlib,libtracing-77897896e2c814a9.rlib,libtracing_core-472fa602705753d0.rlib,libhttp_body-7e35dd47d5d5cb7a.rlib,liburl-ee1c7992248a381e.rlib,libidna-42369471594e6f7b.rlib,libform_urlencoded-c7ca260acdafb077.rlib,libhttp-f8332ffec2c8f9a1.rlib,libitoa-99e7082793cfaa64.rlib,libfnv-81596130b397d5c3.rlib,libpostgres-d98c3465e5e85bcc.rlib,libtokio_postgres-e7795cf7db801b5e.rlib,libphf-24f8188bdfb792cc.rlib,libphf_shared-9a0e4c520cac37f7.rlib,libsiphasher-340ef969b14d0bbf.rlib,libpercent_encoding-3f452dc5e318e927.rlib,libsocket2-04165fad814b7453.rlib,libtokio_util-57628feb16352036.rlib,libtokio-b294877e9285ef12.rlib,libsignal_hook_registry-bf824222d7a354dd.rlib,libmio-fac44f169264b294.rlib,liblog-2fa663e3959e676f.rlib,libparking_lot-2dca0b6456645d8d.rlib,libparking_lot_core-e60a0daf65c8d8be.rlib,libsmallvec-a0b9fe2bb61c7c93.rlib,liblock_api-8a3a9ae637979500.rlib,libinstant-96e83b871cb6a3bd.rlib,libpostgres_types-8899bbe27a3fa7d2.rlib,libpostgres_protocol-a8a2a77071ae81bd.rlib,libbase64-1447dfff012d42f8.rlib,libstringprep-a3000a4cbb00732d.rlib,libunicode_normalization-28bea95e7b716c18.rlib,libtinyvec-f85e4e0caa5b9d82.rlib,libtinyvec_macros-c54c30cfa88e68f0.rlib,libunicode_bidi-fba63ab404db077b.rlib,libmatches-d7125afe50072f5c.rlib,libsha2-434aa61f0d616d66.rlib,libcpufeatures-8b96bec3e217b71f.rlib,librand-550286ac7632995c.rlib,librand_chacha-76682ccbeb6edfd3.rlib,libppv_lite86-5a92c3ab26105205.rlib,librand_core-a0184c68a04583bb.rlib,libgetrandom-94946756e351b095.rlib,libhmac-535751d8024b1ec5.rlib,libcrypto_mac-8ed2614cf479c33c.rlib,libsubtle-b30874e4b7c2301d.rlib,libmd5-5f6624ce44fe575a.rlib,libopaque_debug-bfd86111b0908dde.rlib,libblock_buffer-bb73cade331d8c0a.rlib,libdigest-392b0119d713202e.rlib,libgeneric_array-b8f324177b2c2b8f.rlib,libtypenum-b0ea879750aa85fb.rlib,libfutures-7b94eb4c72285776.rlib,libfutures_executor-f552b683b613823f.rlib,libfutures_util-3cdc8ded18cfe1b9.rlib,libmemchr-957e86e3927603bf.rlib,libfutures_io-d2e168d7a38f858c.rlib,libslab-77a18d92df1fb8de.rlib,libfutures_channel-fe283e239388698e.rlib,libpin_project_lite-668e52fe3a18bf8a.rlib,libfutures_sink-a45f562d8650455c.rlib,libfutures_task-745d6cc0eb00d6e5.rlib,libpin_utils-b08f1197f0cdae19.rlib,libfutures_core-891d760f6cde94e5.rlib,libbytes-f5f6908afbf67346.rlib,libbyteorder-c7092f68299ac016.rlib,libfallible_iterator-da18290346318e11.rlib,libtoml-6d6732c9d5e330cb.rlib,libserde-bbcd50a01610acd3.rlib,libsysinfo-27d3825831461d6b.rlib,libonce_cell-cadb55224f1ed138.rlib,librayon-eed040aab15b58d7.rlib,librayon_core-6bfe78f1861aa515.rlib,libnum_cpus-3e2774cbefb7bab6.rlib,libcrossbeam_deque-feab3bcfcc1b4ba7.rlib,libcrossbeam_epoch-082f09a5c5878a95.rlib,libmemoffset-55fe4c4525b1aab8.rlib,libscopeguard-73056285f12cb829.rlib,libeither-e8a0ef7222037a64.rlib,libdoc_comment-371febfbc0981078.rlib,libcrossbeam_channel-eb3ebe0039fefd61.rlib,libcrossbeam_utils-3a2e50d552e81206.rlib,libcfg_if-66d55f6b302e88c8.rlib,libchrono-2e9f16db1c3b1a29.rlib,libnum_integer-776fc74e87f61fcf.rlib,libnum_traits-e5050f906ed56291.rlib,libtime-89e1e510be7f52ca.rlib,librppal-c26c43e73e19ff16.rlib,liblibc-0af8d1e9c789790f.rlib,liblazy_static-4b136fc9bfbd2c4b.rlib}.rlib" "/lib/rustlib/x86_64-unknown-linux-musl/lib/{libstd-*,libpanic_unwind-*,libobject-*,libmemchr-*,libaddr2line-*,libgimli-*,librustc_demangle-*,libstd_detect-*,libhashbrown-*,librustc_std_workspace_alloc-*,libminiz_oxide-*,libadler2-*,libunwind-*}.rlib" "-lunwind" "/lib/rustlib/x86_64-unknown-linux-musl/lib/{libcfg_if-*,liblibc-*}.rlib" "-lc" "/lib/rustlib/x86_64-unknown-linux-musl/lib/{librustc_std_workspace_core-*,liballoc-*,libcore-*,libcompiler_builtins-*}.rlib" "-L" "/tmp/rustcBNENoh/raw-dylibs" "-Wl,-Bdynamic" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-nostartfiles" "-L" "/opt/rustwide/target/x86_64-unknown-linux-musl/debug/build/openssl-sys-1b4ef9afb4b7714d/out/openssl-build/install/lib" "-L" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained" "-L" "/lib/rustlib/x86_64-unknown-linux-musl/lib" "-o" "/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/pi_weather_station-017327a33f0794ac" "-Wl,--gc-sections" "-static-pie" "-Wl,-z,relro,-z,now" "-nodefaultlibs" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/crtendS.o" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/crtn.o" [INFO] [stdout] = note: some arguments are omitted. use `--verbose` to show all linker arguments [INFO] [stdout] = note: /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/libgetrandom-94946756e351b095.rlib(getrandom-94946756e351b095.getrandom.f0cf895e85db82fd-cgu.0.rcgu.o): in function `getrandom::util_libc::open_readonly': [INFO] [stdout] /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/getrandom-0.2.3/src/util_libc.rs:110:(.text._ZN9getrandom9util_libc13open_readonly17h820d9f1b262fa2f4E+0xb6): undefined reference to `open64' [INFO] [stdout] collect2: error: ld returned 1 exit status [INFO] [stdout] [INFO] [stdout] = note: some `extern` functions couldn't be found; some native libraries may need to be installed or have their path specified [INFO] [stdout] = note: use the `-l` flag to specify native libraries to link [INFO] [stdout] = note: use the `cargo:rustc-link-lib` directive to specify the native libraries to link with Cargo (see https://doc.rust-lang.org/cargo/reference/build-scripts.html#rustc-link-lib) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `pi-weather-station` (bin "pi-weather-station") due to 1 previous error; 31 warnings emitted [INFO] running `Command { std: "docker" "inspect" "94e4eb77e26c4ffaeacaf240851daa96c1fa9e9bc59519de88acfc5ff159c248", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "94e4eb77e26c4ffaeacaf240851daa96c1fa9e9bc59519de88acfc5ff159c248", kill_on_drop: false }` [INFO] [stdout] 94e4eb77e26c4ffaeacaf240851daa96c1fa9e9bc59519de88acfc5ff159c248