[INFO] cloning repository https://github.com/Hueok/crypto_cli [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Hueok/crypto_cli" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FHueok%2Fcrypto_cli", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FHueok%2Fcrypto_cli'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 220bcad823c716527aa15bd3af9e0764b264f6af [INFO] checking Hueok/crypto_cli against master#779e19d8baa3e3625bd4fc5c85cbb2ad47b43155 for pr-147589-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FHueok%2Fcrypto_cli" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/Hueok/crypto_cli [INFO] finished tweaking git repo https://github.com/Hueok/crypto_cli [INFO] tweaked toml for git repo https://github.com/Hueok/crypto_cli written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/Hueok/crypto_cli 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/Hueok/crypto_cli 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] Downloading crates ... [INFO] [stderr] Downloaded ipnet v2.10.0 [INFO] [stderr] Downloaded schannel v0.1.24 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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] 4dbd8812ffd273770d6a191390c31b82caaafd34c13fb0400f4b50522e641c63 [INFO] running `Command { std: "docker" "start" "-a" "4dbd8812ffd273770d6a191390c31b82caaafd34c13fb0400f4b50522e641c63", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4dbd8812ffd273770d6a191390c31b82caaafd34c13fb0400f4b50522e641c63", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4dbd8812ffd273770d6a191390c31b82caaafd34c13fb0400f4b50522e641c63", kill_on_drop: false }` [INFO] [stdout] 4dbd8812ffd273770d6a191390c31b82caaafd34c13fb0400f4b50522e641c63 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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] 82f392274c8e4b3fd6bcf4535e874d945702b9fb809d299871e04e3a9cb31859 [INFO] running `Command { std: "docker" "start" "-a" "82f392274c8e4b3fd6bcf4535e874d945702b9fb809d299871e04e3a9cb31859", kill_on_drop: false }` [INFO] [stderr] Compiling cc v1.1.21 [INFO] [stderr] Compiling syn v2.0.77 [INFO] [stderr] Checking parking_lot_core v0.9.10 [INFO] [stderr] Checking socket2 v0.5.7 [INFO] [stderr] Checking signal-hook-registry v1.4.2 [INFO] [stderr] Checking mio v1.0.2 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Checking unicode-normalization v0.1.24 [INFO] [stderr] Checking http-body v0.4.6 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Checking ipnet v2.10.0 [INFO] [stderr] Checking chrono v0.4.38 [INFO] [stderr] Checking yansi v0.5.1 [INFO] [stderr] Checking idna v0.5.0 [INFO] [stderr] Checking url v2.5.2 [INFO] [stderr] Compiling openssl-sys v0.9.103 [INFO] [stderr] Compiling openssl v0.10.66 [INFO] [stderr] Compiling native-tls v0.2.12 [INFO] [stderr] Compiling tokio-macros v2.4.0 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling serde_derive v1.0.210 [INFO] [stderr] Checking tokio v1.40.0 [INFO] [stderr] Checking serde v1.0.210 [INFO] [stderr] Checking serde_json v1.0.128 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking tokio-util v0.7.12 [INFO] [stderr] Checking tokio-native-tls v0.3.1 [INFO] [stderr] Checking h2 v0.3.26 [INFO] [stderr] Checking hyper v0.14.30 [INFO] [stderr] Checking hyper-tls v0.5.0 [INFO] [stderr] Checking reqwest v0.11.27 [INFO] [stderr] Checking crypto_cli v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::error::Error` [INFO] [stdout] --> src/main.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::error::Error; [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 imports: `NaiveDateTime` and `Utc` [INFO] [stdout] --> src/main.rs:5:14 [INFO] [stdout] | [INFO] [stdout] 5 | use chrono::{NaiveDateTime, Utc, TimeZone, FixedOffset}; [INFO] [stdout] | ^^^^^^^^^^^^^ ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `TimeZone` [INFO] [stdout] --> src/main.rs:5:34 [INFO] [stdout] | [INFO] [stdout] 5 | use chrono::{NaiveDateTime, Utc, TimeZone, FixedOffset}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `utc_plus_9` [INFO] [stdout] --> src/main.rs:38:9 [INFO] [stdout] | [INFO] [stdout] 38 | let utc_plus_9 = FixedOffset::east_opt(9 * 3600).expect("Invalid offset"); [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_utc_plus_9` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `test` [INFO] [stdout] --> src/main.rs:55:9 [INFO] [stdout] | [INFO] [stdout] 55 | let test: &str = getChangeInfo(&parsed_data, current); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_test` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `now` [INFO] [stdout] --> src/main.rs:103:9 [INFO] [stdout] | [INFO] [stdout] 103 | let now: &DataPoint = &data[0]; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_now` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `getLivePrice` should have a snake case name [INFO] [stdout] --> src/main.rs:80:10 [INFO] [stdout] | [INFO] [stdout] 80 | async fn getLivePrice() -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `get_live_price` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `getChangeInfo` should have a snake case name [INFO] [stdout] --> src/main.rs:101:4 [INFO] [stdout] | [INFO] [stdout] 101 | fn getChangeInfo(data: &Vec, current: f64) -> &str { [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `get_change_info` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `getChange` should have a snake case name [INFO] [stdout] --> src/main.rs:139:4 [INFO] [stdout] | [INFO] [stdout] 139 | fn getChange(before: f64, after: f64) -> String { [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `get_change` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::error::Error` [INFO] [stdout] --> src/main.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::error::Error; [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 imports: `NaiveDateTime` and `Utc` [INFO] [stdout] --> src/main.rs:5:14 [INFO] [stdout] | [INFO] [stdout] 5 | use chrono::{NaiveDateTime, Utc, TimeZone, FixedOffset}; [INFO] [stdout] | ^^^^^^^^^^^^^ ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `TimeZone` [INFO] [stdout] --> src/main.rs:5:34 [INFO] [stdout] | [INFO] [stdout] 5 | use chrono::{NaiveDateTime, Utc, TimeZone, FixedOffset}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `utc_plus_9` [INFO] [stdout] --> src/main.rs:38:9 [INFO] [stdout] | [INFO] [stdout] 38 | let utc_plus_9 = FixedOffset::east_opt(9 * 3600).expect("Invalid offset"); [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_utc_plus_9` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `test` [INFO] [stdout] --> src/main.rs:55:9 [INFO] [stdout] | [INFO] [stdout] 55 | let test: &str = getChangeInfo(&parsed_data, current); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_test` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `now` [INFO] [stdout] --> src/main.rs:103:9 [INFO] [stdout] | [INFO] [stdout] 103 | let now: &DataPoint = &data[0]; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_now` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `getLivePrice` should have a snake case name [INFO] [stdout] --> src/main.rs:80:10 [INFO] [stdout] | [INFO] [stdout] 80 | async fn getLivePrice() -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `get_live_price` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `getChangeInfo` should have a snake case name [INFO] [stdout] --> src/main.rs:101:4 [INFO] [stdout] | [INFO] [stdout] 101 | fn getChangeInfo(data: &Vec, current: f64) -> &str { [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `get_change_info` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `getChange` should have a snake case name [INFO] [stdout] --> src/main.rs:139:4 [INFO] [stdout] | [INFO] [stdout] 139 | fn getChange(before: f64, after: f64) -> String { [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `get_change` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 33.38s [INFO] running `Command { std: "docker" "inspect" "82f392274c8e4b3fd6bcf4535e874d945702b9fb809d299871e04e3a9cb31859", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "82f392274c8e4b3fd6bcf4535e874d945702b9fb809d299871e04e3a9cb31859", kill_on_drop: false }` [INFO] [stdout] 82f392274c8e4b3fd6bcf4535e874d945702b9fb809d299871e04e3a9cb31859