[INFO] cloning repository https://github.com/tymat/cmc_influxdb [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/tymat/cmc_influxdb" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftymat%2Fcmc_influxdb", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftymat%2Fcmc_influxdb'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] cd8ec6fa2fa75f9325e67f7619ac19f32c85eb11 [INFO] checking tymat/cmc_influxdb against master#779e19d8baa3e3625bd4fc5c85cbb2ad47b43155 for pr-147589-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftymat%2Fcmc_influxdb" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/tymat/cmc_influxdb [INFO] finished tweaking git repo https://github.com/tymat/cmc_influxdb [INFO] tweaked toml for git repo https://github.com/tymat/cmc_influxdb written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/tymat/cmc_influxdb 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/tymat/cmc_influxdb 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] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded zerocopy-derive v0.8.0-alpha.6 [INFO] [stderr] Downloaded colorism v0.1.0 [INFO] [stderr] Downloaded daemonize v0.5.0 [INFO] [stderr] Downloaded influxdb v0.7.2 [INFO] [stderr] Downloaded rand_chacha v0.9.0-alpha.1 [INFO] [stderr] Downloaded rand_core v0.9.0-alpha.1 [INFO] [stderr] Downloaded rand v0.9.0-alpha.1 [INFO] [stderr] Downloaded zerocopy v0.8.0-alpha.6 [INFO] [stderr] Downloaded rustix v0.38.33 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+779e19d8baa3e3625bd4fc5c85cbb2ad47b43155" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 33942810e0aedc091f959f31768828bdd1aa02cb98753d67efe84df3e266ab6d [INFO] running `Command { std: "docker" "start" "-a" "33942810e0aedc091f959f31768828bdd1aa02cb98753d67efe84df3e266ab6d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "33942810e0aedc091f959f31768828bdd1aa02cb98753d67efe84df3e266ab6d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "33942810e0aedc091f959f31768828bdd1aa02cb98753d67efe84df3e266ab6d", kill_on_drop: false }` [INFO] [stdout] 33942810e0aedc091f959f31768828bdd1aa02cb98753d67efe84df3e266ab6d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+779e19d8baa3e3625bd4fc5c85cbb2ad47b43155" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2c97df6509deb75e54db8e602c2859a42070edd73820b3f35b24f20783be3f7a [INFO] running `Command { std: "docker" "start" "-a" "2c97df6509deb75e54db8e602c2859a42070edd73820b3f35b24f20783be3f7a", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.81 [INFO] [stderr] Compiling cc v1.0.95 [INFO] [stderr] Compiling autocfg v1.2.0 [INFO] [stderr] Compiling serde v1.0.198 [INFO] [stderr] Compiling rustversion v1.0.15 [INFO] [stderr] Checking memchr v2.7.2 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Checking http v0.2.12 [INFO] [stderr] Checking getrandom v0.2.14 [INFO] [stderr] Compiling regex-syntax v0.8.3 [INFO] [stderr] Checking http v1.1.0 [INFO] [stderr] Compiling rustls v0.21.11 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling serde_json v1.0.116 [INFO] [stderr] Compiling zerocopy v0.8.0-alpha.6 [INFO] [stderr] Compiling phf v0.11.2 [INFO] [stderr] Checking iana-time-zone v0.1.60 [INFO] [stderr] Compiling thiserror v1.0.59 [INFO] [stderr] Checking phf_shared v0.11.2 [INFO] [stderr] Checking daemonize v0.5.0 [INFO] [stderr] Checking colorism v0.1.0 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Checking object v0.32.2 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling num-traits v0.2.18 [INFO] [stderr] Checking http-body v0.4.6 [INFO] [stderr] Compiling axum-core v0.4.3 [INFO] [stderr] Compiling axum v0.7.5 [INFO] [stderr] Compiling openssl-sys v0.9.102 [INFO] [stderr] Compiling ring v0.17.8 [INFO] [stderr] Compiling backtrace v0.3.71 [INFO] [stderr] Checking http-body v1.0.0 [INFO] [stderr] Checking http-body-util v0.1.1 [INFO] [stderr] Compiling regex-automata v0.4.6 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling openssl v0.10.64 [INFO] [stderr] Compiling native-tls v0.2.11 [INFO] [stderr] Checking rand_core v0.9.0-alpha.1 [INFO] [stderr] Compiling syn v2.0.60 [INFO] [stderr] Checking rand_chacha v0.9.0-alpha.1 [INFO] [stderr] Checking rand v0.9.0-alpha.1 [INFO] [stderr] Compiling regex v1.10.4 [INFO] [stderr] Compiling parse-zoneinfo v0.3.0 [INFO] [stderr] Compiling chrono-tz-build v0.3.0 [INFO] [stderr] Compiling chrono-tz v0.9.0 [INFO] [stderr] Compiling synstructure v0.12.6 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Checking rustls-webpki v0.101.7 [INFO] [stderr] Checking sct v0.7.1 [INFO] [stderr] Checking failure v0.1.8 [INFO] [stderr] Compiling tokio-macros v2.2.0 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Compiling serde_derive v1.0.198 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling pin-project-internal v1.1.5 [INFO] [stderr] Compiling thiserror-impl v1.0.59 [INFO] [stderr] Compiling async-trait v0.1.80 [INFO] [stderr] Compiling influxdb_derive v0.5.1 [INFO] [stderr] Checking tokio v1.37.0 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Checking pin-project v1.1.5 [INFO] [stderr] Checking tokio-util v0.7.10 [INFO] [stderr] Checking tokio-rustls v0.24.1 [INFO] [stderr] Checking tokio-native-tls v0.3.1 [INFO] [stderr] Checking hyper v1.3.1 [INFO] [stderr] Checking tower v0.4.13 [INFO] [stderr] Checking h2 v0.3.26 [INFO] [stderr] Checking hyper-util v0.1.3 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking chrono v0.4.38 [INFO] [stderr] Checking serde_path_to_error v0.1.16 [INFO] [stderr] Checking hyper v0.14.28 [INFO] [stderr] Checking hyper-tls v0.5.0 [INFO] [stderr] Checking hyper-rustls v0.24.2 [INFO] [stderr] Checking reqwest v0.11.27 [INFO] [stderr] Checking influxdb v0.7.2 [INFO] [stderr] Checking cmc_influx v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::fmt` [INFO] [stdout] --> src/server.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::fmt; [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: `std::str::FromStr` [INFO] [stdout] --> src/server.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::str::FromStr; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Client`, `Error`, `InfluxDbWriteable`, and `ReadQuery` [INFO] [stdout] --> src/server.rs:3:16 [INFO] [stdout] | [INFO] [stdout] 3 | use influxdb::{Client, Error, InfluxDbWriteable, ReadQuery}; [INFO] [stdout] | ^^^^^^ ^^^^^ ^^^^^^^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Json`, `http::StatusCode`, and `post` [INFO] [stdout] --> src/server.rs:5:20 [INFO] [stdout] | [INFO] [stdout] 5 | routing::{get, post}, [INFO] [stdout] | ^^^^ [INFO] [stdout] 6 | http::StatusCode, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 7 | Json, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Deserializer` and `de` [INFO] [stdout] --> src/server.rs:11:13 [INFO] [stdout] | [INFO] [stdout] 11 | use serde::{de, Deserialize, Deserializer}; [INFO] [stdout] | ^^ ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/main.rs:37:13 [INFO] [stdout] | [INFO] [stdout] 34 | / loop { [INFO] [stdout] 35 | | fetch_main(cmc_password.as_str()); [INFO] [stdout] 36 | | } [INFO] [stdout] | |_____________- any code following this expression is unreachable [INFO] [stdout] 37 | Ok(()) [INFO] [stdout] | ^^^^^^ unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fmt` [INFO] [stdout] --> src/server.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::fmt; [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: `std::str::FromStr` [INFO] [stdout] --> src/server.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::str::FromStr; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Client`, `Error`, `InfluxDbWriteable`, and `ReadQuery` [INFO] [stdout] --> src/server.rs:3:16 [INFO] [stdout] | [INFO] [stdout] 3 | use influxdb::{Client, Error, InfluxDbWriteable, ReadQuery}; [INFO] [stdout] | ^^^^^^ ^^^^^ ^^^^^^^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Json`, `http::StatusCode`, and `post` [INFO] [stdout] --> src/server.rs:5:20 [INFO] [stdout] | [INFO] [stdout] 5 | routing::{get, post}, [INFO] [stdout] | ^^^^ [INFO] [stdout] 6 | http::StatusCode, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 7 | Json, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Deserializer` and `de` [INFO] [stdout] --> src/server.rs:11:13 [INFO] [stdout] | [INFO] [stdout] 11 | use serde::{de, Deserialize, Deserializer}; [INFO] [stdout] | ^^ ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `read_result` [INFO] [stdout] --> src/main.rs:71:9 [INFO] [stdout] | [INFO] [stdout] 71 | let read_result = client.query(read_query).await?; [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_read_result` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/main.rs:37:13 [INFO] [stdout] | [INFO] [stdout] 34 | / loop { [INFO] [stdout] 35 | | fetch_main(cmc_password.as_str()); [INFO] [stdout] 36 | | } [INFO] [stdout] | |_____________- any code following this expression is unreachable [INFO] [stdout] 37 | Ok(()) [INFO] [stdout] | ^^^^^^ unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `read_data` is never used [INFO] [stdout] --> src/main.rs:67:10 [INFO] [stdout] | [INFO] [stdout] 67 | async fn read_data(series: &str) -> Result<(), Error> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/main.rs:77:5 [INFO] [stdout] | [INFO] [stdout] 76 | pub struct CryptoData { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 77 | id: i32, [INFO] [stdout] | ^^ [INFO] [stdout] 78 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 79 | symbol: String, [INFO] [stdout] 80 | slug: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 81 | num_market_pairs: i32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 82 | date_added: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 83 | tags: Vec, [INFO] [stdout] | ^^^^ [INFO] [stdout] 84 | max_supply: Option, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 85 | circulating_supply: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 86 | total_supply: Option, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 87 | infinite_supply: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 88 | platform: Option, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 89 | cmc_rank: i32, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 90 | self_reported_circulating_supply: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 91 | self_reported_market_cap: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 92 | tvl_ratio: Option, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 93 | last_updated: String, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CryptoData` 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 `volume_change_24h`, `percent_change_60d`, `market_cap_dominance`, `fully_diluted_market_cap`, `tvl`, and `last_updated` are never read [INFO] [stdout] --> src/main.rs:104:5 [INFO] [stdout] | [INFO] [stdout] 101 | pub struct CurrencyQuote { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 104 | volume_change_24h: f64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 109 | percent_change_60d: f64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 112 | market_cap_dominance: f64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 113 | fully_diluted_market_cap: f64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 114 | tvl: Option, [INFO] [stdout] | ^^^ [INFO] [stdout] 115 | last_updated: String, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CurrencyQuote` 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: multiple fields are never read [INFO] [stdout] --> src/main.rs:125:5 [INFO] [stdout] | [INFO] [stdout] 124 | pub struct CryptoListingStatus { [INFO] [stdout] | ------------------- fields in this struct [INFO] [stdout] 125 | timestamp: String, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 126 | error_code: i32, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 127 | error_message: Option, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 128 | elapsed: i32, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 129 | credit_count: i32, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 130 | notice: Option, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 131 | total_count: Option, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CryptoListingStatus` 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: field `status` is never read [INFO] [stdout] --> src/main.rs:136:5 [INFO] [stdout] | [INFO] [stdout] 135 | pub struct CryptoListing { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] 136 | status: CryptoListingStatus, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CryptoListing` 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: associated function `random` is never used [INFO] [stdout] --> src/main.rs:203:12 [INFO] [stdout] | [INFO] [stdout] 202 | impl CmcPrice { [INFO] [stdout] | ------------- associated function in this implementation [INFO] [stdout] 203 | pub fn random() -> Self { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `start_server` is never used [INFO] [stdout] --> src/server.rs:22:10 [INFO] [stdout] | [INFO] [stdout] 22 | async fn start_server() { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `app` is never used [INFO] [stdout] --> src/server.rs:29:4 [INFO] [stdout] | [INFO] [stdout] 29 | fn app() -> Router { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `cmc_price` is never used [INFO] [stdout] --> src/server.rs:34:10 [INFO] [stdout] | [INFO] [stdout] 34 | async fn cmc_price(Query(params): Query) -> String { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `main` is never used [INFO] [stdout] --> src/server.rs:38:4 [INFO] [stdout] | [INFO] [stdout] 38 | fn main() { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:35:17 [INFO] [stdout] | [INFO] [stdout] 35 | fetch_main(cmc_password.as_str()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 35 | let _ = fetch_main(cmc_password.as_str()); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `USD` should have a snake case name [INFO] [stdout] --> src/main.rs:120:5 [INFO] [stdout] | [INFO] [stdout] 120 | USD: CurrencyQuote, [INFO] [stdout] | ^^^ help: convert the identifier to snake case: `usd` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `read_result` [INFO] [stdout] --> src/main.rs:71:9 [INFO] [stdout] | [INFO] [stdout] 71 | let read_result = client.query(read_query).await?; [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_read_result` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `read_data` is never used [INFO] [stdout] --> src/main.rs:67:10 [INFO] [stdout] | [INFO] [stdout] 67 | async fn read_data(series: &str) -> Result<(), Error> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/main.rs:77:5 [INFO] [stdout] | [INFO] [stdout] 76 | pub struct CryptoData { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 77 | id: i32, [INFO] [stdout] | ^^ [INFO] [stdout] 78 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 79 | symbol: String, [INFO] [stdout] 80 | slug: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 81 | num_market_pairs: i32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 82 | date_added: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 83 | tags: Vec, [INFO] [stdout] | ^^^^ [INFO] [stdout] 84 | max_supply: Option, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 85 | circulating_supply: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 86 | total_supply: Option, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 87 | infinite_supply: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 88 | platform: Option, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 89 | cmc_rank: i32, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 90 | self_reported_circulating_supply: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 91 | self_reported_market_cap: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 92 | tvl_ratio: Option, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 93 | last_updated: String, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CryptoData` 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 `volume_change_24h`, `percent_change_60d`, `market_cap_dominance`, `fully_diluted_market_cap`, `tvl`, and `last_updated` are never read [INFO] [stdout] --> src/main.rs:104:5 [INFO] [stdout] | [INFO] [stdout] 101 | pub struct CurrencyQuote { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 104 | volume_change_24h: f64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 109 | percent_change_60d: f64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 112 | market_cap_dominance: f64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 113 | fully_diluted_market_cap: f64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 114 | tvl: Option, [INFO] [stdout] | ^^^ [INFO] [stdout] 115 | last_updated: String, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CurrencyQuote` 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: multiple fields are never read [INFO] [stdout] --> src/main.rs:125:5 [INFO] [stdout] | [INFO] [stdout] 124 | pub struct CryptoListingStatus { [INFO] [stdout] | ------------------- fields in this struct [INFO] [stdout] 125 | timestamp: String, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 126 | error_code: i32, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 127 | error_message: Option, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 128 | elapsed: i32, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 129 | credit_count: i32, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 130 | notice: Option, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 131 | total_count: Option, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CryptoListingStatus` 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: field `status` is never read [INFO] [stdout] --> src/main.rs:136:5 [INFO] [stdout] | [INFO] [stdout] 135 | pub struct CryptoListing { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] 136 | status: CryptoListingStatus, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CryptoListing` 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: associated function `random` is never used [INFO] [stdout] --> src/main.rs:203:12 [INFO] [stdout] | [INFO] [stdout] 202 | impl CmcPrice { [INFO] [stdout] | ------------- associated function in this implementation [INFO] [stdout] 203 | pub fn random() -> Self { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `start_server` is never used [INFO] [stdout] --> src/server.rs:22:10 [INFO] [stdout] | [INFO] [stdout] 22 | async fn start_server() { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `app` is never used [INFO] [stdout] --> src/server.rs:29:4 [INFO] [stdout] | [INFO] [stdout] 29 | fn app() -> Router { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `cmc_price` is never used [INFO] [stdout] --> src/server.rs:34:10 [INFO] [stdout] | [INFO] [stdout] 34 | async fn cmc_price(Query(params): Query) -> String { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `main` is never used [INFO] [stdout] --> src/server.rs:38:4 [INFO] [stdout] | [INFO] [stdout] 38 | fn main() { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:35:17 [INFO] [stdout] | [INFO] [stdout] 35 | fetch_main(cmc_password.as_str()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 35 | let _ = fetch_main(cmc_password.as_str()); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `USD` should have a snake case name [INFO] [stdout] --> src/main.rs:120:5 [INFO] [stdout] | [INFO] [stdout] 120 | USD: CurrencyQuote, [INFO] [stdout] | ^^^ help: convert the identifier to snake case: `usd` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 31.66s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: influxdb v0.7.2 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 4` [INFO] running `Command { std: "docker" "inspect" "2c97df6509deb75e54db8e602c2859a42070edd73820b3f35b24f20783be3f7a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2c97df6509deb75e54db8e602c2859a42070edd73820b3f35b24f20783be3f7a", kill_on_drop: false }` [INFO] [stdout] 2c97df6509deb75e54db8e602c2859a42070edd73820b3f35b24f20783be3f7a