[INFO] cloning repository https://github.com/ulfsjodin/SMHI_api_rust
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ulfsjodin/SMHI_api_rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fulfsjodin%2FSMHI_api_rust", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fulfsjodin%2FSMHI_api_rust'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] b6502140b93df4f59e497d95fea6cf922ba8a31c
[INFO] checking ulfsjodin/SMHI_api_rust against master#779e19d8baa3e3625bd4fc5c85cbb2ad47b43155 for pr-147589-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fulfsjodin%2FSMHI_api_rust" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/ulfsjodin/SMHI_api_rust
[INFO] finished tweaking git repo https://github.com/ulfsjodin/SMHI_api_rust
[INFO] tweaked toml for git repo https://github.com/ulfsjodin/SMHI_api_rust written to /workspace/builds/worker-4-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/ulfsjodin/SMHI_api_rust on toolchain 779e19d8baa3e3625bd4fc5c85cbb2ad47b43155
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+779e19d8baa3e3625bd4fc5c85cbb2ad47b43155" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/ulfsjodin/SMHI_api_rust 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" "+779e19d8baa3e3625bd4fc5c85cbb2ad47b43155" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded api v0.2.0
[INFO] [stderr]   Downloaded rusqlite v0.34.0
[INFO] [stderr]   Downloaded libsqlite3-sys v0.32.0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+779e19d8baa3e3625bd4fc5c85cbb2ad47b43155" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] c1cd3d01b55cb17fb4ebd1f84377f7a9d813669d1298d6894f6d98a2aa2d069d
[INFO] running `Command { std: "docker" "start" "-a" "c1cd3d01b55cb17fb4ebd1f84377f7a9d813669d1298d6894f6d98a2aa2d069d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "c1cd3d01b55cb17fb4ebd1f84377f7a9d813669d1298d6894f6d98a2aa2d069d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "c1cd3d01b55cb17fb4ebd1f84377f7a9d813669d1298d6894f6d98a2aa2d069d", kill_on_drop: false }`
[INFO] [stdout] c1cd3d01b55cb17fb4ebd1f84377f7a9d813669d1298d6894f6d98a2aa2d069d
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+779e19d8baa3e3625bd4fc5c85cbb2ad47b43155" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 65ddbad6781381758da952253545179c3d8649fc1606f60db515b4f8f2e2f17e
[INFO] running `Command { std: "docker" "start" "-a" "65ddbad6781381758da952253545179c3d8649fc1606f60db515b4f8f2e2f17e", kill_on_drop: false }`
[INFO] [stderr]    Compiling cc v1.2.18
[INFO] [stderr]    Compiling regex-syntax v0.8.5
[INFO] [stderr]     Checking hashbrown v0.15.2
[INFO] [stderr]    Compiling syn v2.0.100
[INFO] [stderr]     Checking parking_lot_core v0.9.10
[INFO] [stderr]     Checking mio v1.0.3
[INFO] [stderr]     Checking socket2 v0.5.9
[INFO] [stderr]     Checking signal-hook-registry v1.4.2
[INFO] [stderr]    Compiling phf v0.11.3
[INFO] [stderr]    Compiling libsqlite3-sys v0.32.0
[INFO] [stderr]     Checking phf_shared v0.11.3
[INFO] [stderr]     Checking rustls-pemfile v2.2.0
[INFO] [stderr]     Checking chrono v0.4.40
[INFO] [stderr]     Checking fallible-streaming-iterator v0.1.9
[INFO] [stderr]     Checking fallible-iterator v0.3.0
[INFO] [stderr]     Checking api v0.2.0
[INFO] [stderr]     Checking parking_lot v0.12.3
[INFO] [stderr]     Checking indexmap v2.9.0
[INFO] [stderr]     Checking hashlink v0.10.0
[INFO] [stderr]    Compiling openssl-sys v0.9.107
[INFO] [stderr]     Checking rusqlite v0.34.0
[INFO] [stderr]    Compiling openssl v0.10.72
[INFO] [stderr]    Compiling native-tls v0.2.14
[INFO] [stderr]    Compiling regex-automata v0.4.9
[INFO] [stderr]    Compiling synstructure v0.13.1
[INFO] [stderr]    Compiling zerofrom-derive v0.1.6
[INFO] [stderr]    Compiling yoke-derive v0.7.5
[INFO] [stderr]    Compiling zerovec-derive v0.10.3
[INFO] [stderr]    Compiling displaydoc v0.2.5
[INFO] [stderr]    Compiling tokio-macros v2.5.0
[INFO] [stderr]    Compiling icu_provider_macros v1.5.0
[INFO] [stderr]    Compiling openssl-macros v0.1.1
[INFO] [stderr]    Compiling serde_derive v1.0.219
[INFO] [stderr]    Compiling regex v1.11.1
[INFO] [stderr]     Checking tokio v1.44.2
[INFO] [stderr]     Checking zerofrom v0.1.6
[INFO] [stderr]    Compiling parse-zoneinfo v0.3.1
[INFO] [stderr]     Checking yoke v0.7.5
[INFO] [stderr]     Checking zerovec v0.10.4
[INFO] [stderr]    Compiling chrono-tz-build v0.2.1
[INFO] [stderr]    Compiling chrono-tz v0.8.6
[INFO] [stderr]     Checking tinystr v0.7.6
[INFO] [stderr]     Checking icu_collections v1.5.0
[INFO] [stderr]     Checking icu_locid v1.5.0
[INFO] [stderr]     Checking serde v1.0.219
[INFO] [stderr]     Checking icu_provider v1.5.0
[INFO] [stderr]     Checking icu_locid_transform v1.5.0
[INFO] [stderr]     Checking icu_properties v1.5.1
[INFO] [stderr]     Checking icu_normalizer v1.5.0
[INFO] [stderr]     Checking idna_adapter v1.2.0
[INFO] [stderr]     Checking idna v1.0.3
[INFO] [stderr]     Checking serde_urlencoded v0.7.1
[INFO] [stderr]     Checking serde_json v1.0.140
[INFO] [stderr]     Checking url v2.5.4
[INFO] [stderr]     Checking tokio-util v0.7.14
[INFO] [stderr]     Checking tokio-native-tls v0.3.1
[INFO] [stderr]     Checking tower v0.5.2
[INFO] [stderr]     Checking h2 v0.4.8
[INFO] [stderr]     Checking hyper v1.6.0
[INFO] [stderr]     Checking hyper-util v0.1.11
[INFO] [stderr]     Checking hyper-tls v0.6.0
[INFO] [stderr]     Checking reqwest v0.12.15
[INFO] [stderr]     Checking omstart_smhi v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `params`
[INFO] [stdout]  --> src/db/connection.rs:1:16
[INFO] [stdout]   |
[INFO] [stdout] 1 | use rusqlite::{params, Connection, Result};
[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::api::smhi`
[INFO] [stdout]  --> src/importer/import.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use crate::api::smhi;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::db::operation::insert_into_station`
[INFO] [stdout]  --> src/importer/import.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use crate::db::operation::insert_into_station;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `tokio::sync::broadcast::error`
[INFO] [stdout]  --> src/importer/import.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use tokio::sync::broadcast::error;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `params`
[INFO] [stdout]  --> src/db/connection.rs:1:16
[INFO] [stdout]   |
[INFO] [stdout] 1 | use rusqlite::{params, Connection, Result};
[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::api::smhi`
[INFO] [stdout]  --> src/importer/import.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use crate::api::smhi;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::db::operation::insert_into_station`
[INFO] [stdout]  --> src/importer/import.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use crate::db::operation::insert_into_station;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `tokio::sync::broadcast::error`
[INFO] [stdout]  --> src/importer/import.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use tokio::sync::broadcast::error;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `conn`
[INFO] [stdout]  --> src/importer/import.rs:8:34
[INFO] [stdout]   |
[INFO] [stdout] 8 | pub async fn import_station_data(conn: Connection, station_id: u32, parameter: &str) -> Result<(), Box<dyn std::error::Error>> {
[INFO] [stdout]   |                                  ^^^^ help: if this is intentional, prefix it with an underscore: `_conn`
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `parameter`
[INFO] [stdout]  --> src/importer/import.rs:8:69
[INFO] [stdout]   |
[INFO] [stdout] 8 | pub async fn import_station_data(conn: Connection, station_id: u32, parameter: &str) -> Result<(), Box<dyn std::error::Error>> {
[INFO] [stdout]   |                                                                     ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_parameter`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `observationer`
[INFO] [stdout]  --> src/importer/import.rs:9:9
[INFO] [stdout]   |
[INFO] [stdout] 9 |     let observationer = fetch_observation(Parametrar::Temperatur, station_id).await?;
[INFO] [stdout]   |         ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_observationer`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `summary` and `unit` are never read
[INFO] [stdout]   --> src/json/parser.rs:28:5
[INFO] [stdout]    |
[INFO] [stdout] 25 | pub struct Parameter {
[INFO] [stdout]    |            --------- fields in this struct
[INFO] [stdout] ...
[INFO] [stdout] 28 |     summary: String,
[INFO] [stdout]    |     ^^^^^^^
[INFO] [stdout] 29 |     unit: String,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Parameter` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: structure field `ownerCategory` should have a snake case name
[INFO] [stdout]   --> src/json/parser.rs:36:9
[INFO] [stdout]    |
[INFO] [stdout] 36 |     pub ownerCategory: String,
[INFO] [stdout]    |         ^^^^^^^^^^^^^ help: convert the identifier to snake case: `owner_category`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: structure field `measuringStations` should have a snake case name
[INFO] [stdout]   --> src/json/parser.rs:37:9
[INFO] [stdout]    |
[INFO] [stdout] 37 |     pub measuringStations: String,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `measuring_stations`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `conn`
[INFO] [stdout]  --> src/importer/import.rs:8:34
[INFO] [stdout]   |
[INFO] [stdout] 8 | pub async fn import_station_data(conn: Connection, station_id: u32, parameter: &str) -> Result<(), Box<dyn std::error::Error>> {
[INFO] [stdout]   |                                  ^^^^ help: if this is intentional, prefix it with an underscore: `_conn`
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `parameter`
[INFO] [stdout]  --> src/importer/import.rs:8:69
[INFO] [stdout]   |
[INFO] [stdout] 8 | pub async fn import_station_data(conn: Connection, station_id: u32, parameter: &str) -> Result<(), Box<dyn std::error::Error>> {
[INFO] [stdout]   |                                                                     ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_parameter`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `observationer`
[INFO] [stdout]  --> src/importer/import.rs:9:9
[INFO] [stdout]   |
[INFO] [stdout] 9 |     let observationer = fetch_observation(Parametrar::Temperatur, station_id).await?;
[INFO] [stdout]   |         ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_observationer`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `summary` and `unit` are never read
[INFO] [stdout]   --> src/json/parser.rs:28:5
[INFO] [stdout]    |
[INFO] [stdout] 25 | pub struct Parameter {
[INFO] [stdout]    |            --------- fields in this struct
[INFO] [stdout] ...
[INFO] [stdout] 28 |     summary: String,
[INFO] [stdout]    |     ^^^^^^^
[INFO] [stdout] 29 |     unit: String,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Parameter` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: structure field `ownerCategory` should have a snake case name
[INFO] [stdout]   --> src/json/parser.rs:36:9
[INFO] [stdout]    |
[INFO] [stdout] 36 |     pub ownerCategory: String,
[INFO] [stdout]    |         ^^^^^^^^^^^^^ help: convert the identifier to snake case: `owner_category`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: structure field `measuringStations` should have a snake case name
[INFO] [stdout]   --> src/json/parser.rs:37:9
[INFO] [stdout]    |
[INFO] [stdout] 37 |     pub measuringStations: String,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `measuring_stations`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `result`
[INFO] [stdout]  --> tests/timestamp_converter_test.rs:1:16
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::{i64, result};
[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: `self`
[INFO] [stdout]  --> tests/timestamp_converter_test.rs:3:47
[INFO] [stdout]   |
[INFO] [stdout] 3 | use omstart_smhi::json::timestamp_converter::{self, millis_to_cest};
[INFO] [stdout]   |                                               ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `test_millis_to_cest_outof_range` is never used
[INFO] [stdout]   --> tests/timestamp_converter_test.rs:13:4
[INFO] [stdout]    |
[INFO] [stdout] 13 | fn test_millis_to_cest_outof_range() {
[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: `params`
[INFO] [stdout]  --> src/db/connection.rs:1:16
[INFO] [stdout]   |
[INFO] [stdout] 1 | use rusqlite::{params, Connection, Result};
[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::api::smhi`
[INFO] [stdout]  --> src/importer/import.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use crate::api::smhi;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::db::operation::insert_into_station`
[INFO] [stdout]  --> src/importer/import.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use crate::db::operation::insert_into_station;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `tokio::sync::broadcast::error`
[INFO] [stdout]  --> src/importer/import.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use tokio::sync::broadcast::error;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::path::PathBuf`
[INFO] [stdout]  --> src/main.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | use std::path::PathBuf;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `params`
[INFO] [stdout]  --> src/db/connection.rs:1:16
[INFO] [stdout]   |
[INFO] [stdout] 1 | use rusqlite::{params, Connection, Result};
[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::api::smhi`
[INFO] [stdout]  --> src/importer/import.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use crate::api::smhi;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::db::operation::insert_into_station`
[INFO] [stdout]  --> src/importer/import.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use crate::db::operation::insert_into_station;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `tokio::sync::broadcast::error`
[INFO] [stdout]  --> src/importer/import.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use tokio::sync::broadcast::error;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::path::PathBuf`
[INFO] [stdout]  --> src/main.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | use std::path::PathBuf;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `conn`
[INFO] [stdout]  --> src/importer/import.rs:8:34
[INFO] [stdout]   |
[INFO] [stdout] 8 | pub async fn import_station_data(conn: Connection, station_id: u32, parameter: &str) -> Result<(), Box<dyn std::error::Error>> {
[INFO] [stdout]   |                                  ^^^^ help: if this is intentional, prefix it with an underscore: `_conn`
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `parameter`
[INFO] [stdout]  --> src/importer/import.rs:8:69
[INFO] [stdout]   |
[INFO] [stdout] 8 | pub async fn import_station_data(conn: Connection, station_id: u32, parameter: &str) -> Result<(), Box<dyn std::error::Error>> {
[INFO] [stdout]   |                                                                     ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_parameter`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `observationer`
[INFO] [stdout]  --> src/importer/import.rs:9:9
[INFO] [stdout]   |
[INFO] [stdout] 9 |     let observationer = fetch_observation(Parametrar::Temperatur, station_id).await?;
[INFO] [stdout]   |         ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_observationer`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `open_connection` is never used
[INFO] [stdout]  --> src/db/connection.rs:3:8
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub fn open_connection(databasnamn: &str) -> Result<Connection> {
[INFO] [stdout]   |        ^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `Luftryck`, `Molnbas1`, and `Sikt` are never constructed
[INFO] [stdout]   --> src/api/smhi.rs:9:5
[INFO] [stdout]    |
[INFO] [stdout]  6 | pub enum Parametrar {
[INFO] [stdout]    |          ---------- variants in this enum
[INFO] [stdout] ...
[INFO] [stdout]  9 |     Luftryck,
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 12 |     Molnbas1,
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 15 |     Sikt,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Parametrar` 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 `parameter` and `period` are never read
[INFO] [stdout]   --> src/json/parser.rs:17:9
[INFO] [stdout]    |
[INFO] [stdout] 16 | pub struct Observation {
[INFO] [stdout]    |            ----------- fields in this struct
[INFO] [stdout] 17 |     pub parameter: Parameter,
[INFO] [stdout]    |         ^^^^^^^^^
[INFO] [stdout] 18 |     pub station: Station,
[INFO] [stdout] 19 |     pub period: Period,
[INFO] [stdout]    |         ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Observation` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `key`, `name`, `summary`, and `unit` are never read
[INFO] [stdout]   --> src/json/parser.rs:26:9
[INFO] [stdout]    |
[INFO] [stdout] 25 | pub struct Parameter {
[INFO] [stdout]    |            --------- fields in this struct
[INFO] [stdout] 26 |     pub key: String,
[INFO] [stdout]    |         ^^^
[INFO] [stdout] 27 |     pub name: String, 
[INFO] [stdout]    |         ^^^^
[INFO] [stdout] 28 |     summary: String,
[INFO] [stdout]    |     ^^^^^^^
[INFO] [stdout] 29 |     unit: String,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Parameter` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `owner`, `ownerCategory`, `measuringStations`, and `height` are never read
[INFO] [stdout]   --> src/json/parser.rs:35:9
[INFO] [stdout]    |
[INFO] [stdout] 33 | pub struct Station {
[INFO] [stdout]    |            ------- fields in this struct
[INFO] [stdout] 34 |     pub name: String,
[INFO] [stdout] 35 |     pub owner: String,
[INFO] [stdout]    |         ^^^^^
[INFO] [stdout] 36 |     pub ownerCategory: String,
[INFO] [stdout]    |         ^^^^^^^^^^^^^
[INFO] [stdout] 37 |     pub measuringStations: String,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 38 |     pub height: f64,
[INFO] [stdout]    |         ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Station` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `key`, `from`, `to`, and `summary` are never read
[INFO] [stdout]   --> src/json/parser.rs:43:9
[INFO] [stdout]    |
[INFO] [stdout] 42 | pub struct Period {
[INFO] [stdout]    |            ------ fields in this struct
[INFO] [stdout] 43 |     pub key: String,
[INFO] [stdout]    |         ^^^
[INFO] [stdout] 44 |     #[serde(deserialize_with = "deserialize_millis_to_cest")]
[INFO] [stdout] 45 |     pub from: String,
[INFO] [stdout]    |         ^^^^
[INFO] [stdout] 46 |     #[serde(deserialize_with = "deserialize_millis_to_cest")]
[INFO] [stdout] 47 |     pub to: String,
[INFO] [stdout]    |         ^^
[INFO] [stdout] 48 |     pub summary: String,
[INFO] [stdout]    |         ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Period` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `from`, `to`, and `height` are never read
[INFO] [stdout]   --> src/json/parser.rs:54:9
[INFO] [stdout]    |
[INFO] [stdout] 52 | pub struct Position {
[INFO] [stdout]    |            -------- fields in this struct
[INFO] [stdout] 53 |     #[serde(deserialize_with = "deserialize_millis_to_cest")]
[INFO] [stdout] 54 |     pub from: String,
[INFO] [stdout]    |         ^^^^
[INFO] [stdout] 55 |     #[serde(deserialize_with = "deserialize_millis_to_cest")]
[INFO] [stdout] 56 |     pub to: String,
[INFO] [stdout]    |         ^^
[INFO] [stdout] 57 |     pub height: f64,
[INFO] [stdout]    |         ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Position` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `quality` is never read
[INFO] [stdout]   --> src/json/parser.rs:68:9
[INFO] [stdout]    |
[INFO] [stdout] 63 | pub struct Value {
[INFO] [stdout]    |            ----- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 68 |     pub quality: String,
[INFO] [stdout]    |         ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Value` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `import_station_data` is never used
[INFO] [stdout]  --> src/importer/import.rs:8:14
[INFO] [stdout]   |
[INFO] [stdout] 8 | pub async fn import_station_data(conn: Connection, station_id: u32, parameter: &str) -> Result<(), Box<dyn std::error::Error>> {
[INFO] [stdout]   |              ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `test_fetch` is never used
[INFO] [stdout]  --> src/debug_fetch.rs:4:14
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub async fn test_fetch() {
[INFO] [stdout]   |              ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: structure field `ownerCategory` should have a snake case name
[INFO] [stdout]   --> src/json/parser.rs:36:9
[INFO] [stdout]    |
[INFO] [stdout] 36 |     pub ownerCategory: String,
[INFO] [stdout]    |         ^^^^^^^^^^^^^ help: convert the identifier to snake case: `owner_category`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: structure field `measuringStations` should have a snake case name
[INFO] [stdout]   --> src/json/parser.rs:37:9
[INFO] [stdout]    |
[INFO] [stdout] 37 |     pub measuringStations: String,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `measuring_stations`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `conn`
[INFO] [stdout]  --> src/importer/import.rs:8:34
[INFO] [stdout]   |
[INFO] [stdout] 8 | pub async fn import_station_data(conn: Connection, station_id: u32, parameter: &str) -> Result<(), Box<dyn std::error::Error>> {
[INFO] [stdout]   |                                  ^^^^ help: if this is intentional, prefix it with an underscore: `_conn`
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `parameter`
[INFO] [stdout]  --> src/importer/import.rs:8:69
[INFO] [stdout]   |
[INFO] [stdout] 8 | pub async fn import_station_data(conn: Connection, station_id: u32, parameter: &str) -> Result<(), Box<dyn std::error::Error>> {
[INFO] [stdout]   |                                                                     ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_parameter`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `observationer`
[INFO] [stdout]  --> src/importer/import.rs:9:9
[INFO] [stdout]   |
[INFO] [stdout] 9 |     let observationer = fetch_observation(Parametrar::Temperatur, station_id).await?;
[INFO] [stdout]   |         ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_observationer`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `open_connection` is never used
[INFO] [stdout]  --> src/db/connection.rs:3:8
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub fn open_connection(databasnamn: &str) -> Result<Connection> {
[INFO] [stdout]   |        ^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `Luftryck`, `Molnbas1`, and `Sikt` are never constructed
[INFO] [stdout]   --> src/api/smhi.rs:9:5
[INFO] [stdout]    |
[INFO] [stdout]  6 | pub enum Parametrar {
[INFO] [stdout]    |          ---------- variants in this enum
[INFO] [stdout] ...
[INFO] [stdout]  9 |     Luftryck,
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 12 |     Molnbas1,
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 15 |     Sikt,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Parametrar` 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 `parameter` and `period` are never read
[INFO] [stdout]   --> src/json/parser.rs:17:9
[INFO] [stdout]    |
[INFO] [stdout] 16 | pub struct Observation {
[INFO] [stdout]    |            ----------- fields in this struct
[INFO] [stdout] 17 |     pub parameter: Parameter,
[INFO] [stdout]    |         ^^^^^^^^^
[INFO] [stdout] 18 |     pub station: Station,
[INFO] [stdout] 19 |     pub period: Period,
[INFO] [stdout]    |         ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Observation` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `key`, `name`, `summary`, and `unit` are never read
[INFO] [stdout]   --> src/json/parser.rs:26:9
[INFO] [stdout]    |
[INFO] [stdout] 25 | pub struct Parameter {
[INFO] [stdout]    |            --------- fields in this struct
[INFO] [stdout] 26 |     pub key: String,
[INFO] [stdout]    |         ^^^
[INFO] [stdout] 27 |     pub name: String, 
[INFO] [stdout]    |         ^^^^
[INFO] [stdout] 28 |     summary: String,
[INFO] [stdout]    |     ^^^^^^^
[INFO] [stdout] 29 |     unit: String,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Parameter` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `owner`, `ownerCategory`, `measuringStations`, and `height` are never read
[INFO] [stdout]   --> src/json/parser.rs:35:9
[INFO] [stdout]    |
[INFO] [stdout] 33 | pub struct Station {
[INFO] [stdout]    |            ------- fields in this struct
[INFO] [stdout] 34 |     pub name: String,
[INFO] [stdout] 35 |     pub owner: String,
[INFO] [stdout]    |         ^^^^^
[INFO] [stdout] 36 |     pub ownerCategory: String,
[INFO] [stdout]    |         ^^^^^^^^^^^^^
[INFO] [stdout] 37 |     pub measuringStations: String,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 38 |     pub height: f64,
[INFO] [stdout]    |         ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Station` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `key`, `from`, `to`, and `summary` are never read
[INFO] [stdout]   --> src/json/parser.rs:43:9
[INFO] [stdout]    |
[INFO] [stdout] 42 | pub struct Period {
[INFO] [stdout]    |            ------ fields in this struct
[INFO] [stdout] 43 |     pub key: String,
[INFO] [stdout]    |         ^^^
[INFO] [stdout] 44 |     #[serde(deserialize_with = "deserialize_millis_to_cest")]
[INFO] [stdout] 45 |     pub from: String,
[INFO] [stdout]    |         ^^^^
[INFO] [stdout] 46 |     #[serde(deserialize_with = "deserialize_millis_to_cest")]
[INFO] [stdout] 47 |     pub to: String,
[INFO] [stdout]    |         ^^
[INFO] [stdout] 48 |     pub summary: String,
[INFO] [stdout]    |         ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Period` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `from`, `to`, and `height` are never read
[INFO] [stdout]   --> src/json/parser.rs:54:9
[INFO] [stdout]    |
[INFO] [stdout] 52 | pub struct Position {
[INFO] [stdout]    |            -------- fields in this struct
[INFO] [stdout] 53 |     #[serde(deserialize_with = "deserialize_millis_to_cest")]
[INFO] [stdout] 54 |     pub from: String,
[INFO] [stdout]    |         ^^^^
[INFO] [stdout] 55 |     #[serde(deserialize_with = "deserialize_millis_to_cest")]
[INFO] [stdout] 56 |     pub to: String,
[INFO] [stdout]    |         ^^
[INFO] [stdout] 57 |     pub height: f64,
[INFO] [stdout]    |         ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Position` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `quality` is never read
[INFO] [stdout]   --> src/json/parser.rs:68:9
[INFO] [stdout]    |
[INFO] [stdout] 63 | pub struct Value {
[INFO] [stdout]    |            ----- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 68 |     pub quality: String,
[INFO] [stdout]    |         ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Value` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `import_station_data` is never used
[INFO] [stdout]  --> src/importer/import.rs:8:14
[INFO] [stdout]   |
[INFO] [stdout] 8 | pub async fn import_station_data(conn: Connection, station_id: u32, parameter: &str) -> Result<(), Box<dyn std::error::Error>> {
[INFO] [stdout]   |              ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `test_fetch` is never used
[INFO] [stdout]  --> src/debug_fetch.rs:4:14
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub async fn test_fetch() {
[INFO] [stdout]   |              ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: structure field `ownerCategory` should have a snake case name
[INFO] [stdout]   --> src/json/parser.rs:36:9
[INFO] [stdout]    |
[INFO] [stdout] 36 |     pub ownerCategory: String,
[INFO] [stdout]    |         ^^^^^^^^^^^^^ help: convert the identifier to snake case: `owner_category`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: structure field `measuringStations` should have a snake case name
[INFO] [stdout]   --> src/json/parser.rs:37:9
[INFO] [stdout]    |
[INFO] [stdout] 37 |     pub measuringStations: String,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `measuring_stations`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 31.68s
[INFO] running `Command { std: "docker" "inspect" "65ddbad6781381758da952253545179c3d8649fc1606f60db515b4f8f2e2f17e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "65ddbad6781381758da952253545179c3d8649fc1606f60db515b4f8f2e2f17e", kill_on_drop: false }`
[INFO] [stdout] 65ddbad6781381758da952253545179c3d8649fc1606f60db515b4f8f2e2f17e
