[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] building tymat/cmc_influxdb against try#d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6 for pr-146237-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftymat%2Fcmc_influxdb" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/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-2-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/tymat/cmc_influxdb on toolchain d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "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" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 983be913de504aad0b50a0598ac8a067a722100ca8b263d50e16511da487d1ac [INFO] running `Command { std: "docker" "start" "-a" "983be913de504aad0b50a0598ac8a067a722100ca8b263d50e16511da487d1ac", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "983be913de504aad0b50a0598ac8a067a722100ca8b263d50e16511da487d1ac", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "983be913de504aad0b50a0598ac8a067a722100ca8b263d50e16511da487d1ac", kill_on_drop: false }` [INFO] [stdout] 983be913de504aad0b50a0598ac8a067a722100ca8b263d50e16511da487d1ac [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b231d4f3734fccabaa5d5542613268cfc9b9a731e3bf152ad5e90e80cdd44279 [INFO] running `Command { std: "docker" "start" "-a" "b231d4f3734fccabaa5d5542613268cfc9b9a731e3bf152ad5e90e80cdd44279", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.81 [INFO] [stderr] Compiling libc v0.2.153 [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] Compiling phf_shared v0.11.2 [INFO] [stderr] Compiling hashbrown v0.14.3 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling openssl v0.10.64 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling regex-syntax v0.8.3 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling indexmap v2.2.6 [INFO] [stderr] Compiling rustls v0.21.11 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling native-tls v0.2.11 [INFO] [stderr] Compiling syn v2.0.60 [INFO] [stderr] Compiling num-traits v0.2.18 [INFO] [stderr] Compiling phf_generator v0.11.2 [INFO] [stderr] Compiling serde_json v1.0.116 [INFO] [stderr] Compiling zerocopy v0.8.0-alpha.6 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling ryu v1.0.17 [INFO] [stderr] Compiling openssl-sys v0.9.102 [INFO] [stderr] Compiling ring v0.17.8 [INFO] [stderr] Compiling mio v0.8.11 [INFO] [stderr] Compiling num_cpus v1.16.0 [INFO] [stderr] Compiling socket2 v0.5.6 [INFO] [stderr] Compiling getrandom v0.2.14 [INFO] [stderr] Compiling phf_codegen v0.11.2 [INFO] [stderr] Compiling phf v0.11.2 [INFO] [stderr] Compiling regex-automata v0.4.6 [INFO] [stderr] Compiling backtrace v0.3.71 [INFO] [stderr] Compiling axum-core v0.4.3 [INFO] [stderr] Compiling unicode-xid v0.2.4 [INFO] [stderr] Compiling gimli v0.28.1 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Compiling thiserror v1.0.59 [INFO] [stderr] Compiling miniz_oxide v0.7.2 [INFO] [stderr] Compiling rand_core v0.9.0-alpha.1 [INFO] [stderr] Compiling http-body-util v0.1.1 [INFO] [stderr] Compiling regex v1.10.4 [INFO] [stderr] Compiling axum v0.7.5 [INFO] [stderr] Compiling object v0.32.2 [INFO] [stderr] Compiling parse-zoneinfo v0.3.0 [INFO] [stderr] Compiling rustc-demangle v0.1.23 [INFO] [stderr] Compiling chrono-tz-build v0.3.0 [INFO] [stderr] Compiling synstructure v0.12.6 [INFO] [stderr] Compiling rand_chacha v0.9.0-alpha.1 [INFO] [stderr] Compiling chrono-tz v0.9.0 [INFO] [stderr] Compiling sct v0.7.1 [INFO] [stderr] Compiling rustls-webpki v0.101.7 [INFO] [stderr] Compiling addr2line v0.21.0 [INFO] [stderr] Compiling sync_wrapper v1.0.1 [INFO] [stderr] Compiling rand v0.9.0-alpha.1 [INFO] [stderr] Compiling daemonize v0.5.0 [INFO] [stderr] Compiling colorism v0.1.0 [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 tokio v1.37.0 [INFO] [stderr] Compiling thiserror-impl v1.0.59 [INFO] [stderr] Compiling async-trait v0.1.80 [INFO] [stderr] Compiling futures-util v0.3.30 [INFO] [stderr] Compiling pin-project v1.1.5 [INFO] [stderr] Compiling influxdb_derive v0.5.1 [INFO] [stderr] Compiling failure v0.1.8 [INFO] [stderr] Compiling tokio-util v0.7.10 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling tokio-rustls v0.24.1 [INFO] [stderr] Compiling hyper v1.3.1 [INFO] [stderr] Compiling tower v0.4.13 [INFO] [stderr] Compiling h2 v0.3.26 [INFO] [stderr] Compiling hyper-util v0.1.3 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling chrono v0.4.38 [INFO] [stderr] Compiling serde_path_to_error v0.1.16 [INFO] [stderr] Compiling hyper v0.14.28 [INFO] [stderr] Compiling hyper-tls v0.5.0 [INFO] [stderr] Compiling hyper-rustls v0.24.2 [INFO] [stderr] Compiling reqwest v0.11.27 [INFO] [stderr] Compiling influxdb v0.7.2 [INFO] [stderr] Compiling 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: 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] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 57s [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 3` [INFO] running `Command { std: "docker" "inspect" "b231d4f3734fccabaa5d5542613268cfc9b9a731e3bf152ad5e90e80cdd44279", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b231d4f3734fccabaa5d5542613268cfc9b9a731e3bf152ad5e90e80cdd44279", kill_on_drop: false }` [INFO] [stdout] b231d4f3734fccabaa5d5542613268cfc9b9a731e3bf152ad5e90e80cdd44279 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9a26934aab7926a8d18966f01ab87609a8eb7556e689f76a54746848c1968179 [INFO] running `Command { std: "docker" "start" "-a" "9a26934aab7926a8d18966f01ab87609a8eb7556e689f76a54746848c1968179", kill_on_drop: false }` [INFO] [stderr] Compiling 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: 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: 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: 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: 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 `test` profile [unoptimized + debuginfo] target(s) in 1.02s [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 3` [INFO] running `Command { std: "docker" "inspect" "9a26934aab7926a8d18966f01ab87609a8eb7556e689f76a54746848c1968179", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9a26934aab7926a8d18966f01ab87609a8eb7556e689f76a54746848c1968179", kill_on_drop: false }` [INFO] [stdout] 9a26934aab7926a8d18966f01ab87609a8eb7556e689f76a54746848c1968179