[INFO] cloning repository https://github.com/scobham/cryptobot_rust_example [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/scobham/cryptobot_rust_example" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fscobham%2Fcryptobot_rust_example", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fscobham%2Fcryptobot_rust_example'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 85da9e5a8295c2cbe3675a9622e240a6b89e8316 [INFO] testing scobham/cryptobot_rust_example against beta-2021-09-08 for beta-1.56-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fscobham%2Fcryptobot_rust_example" "/workspace/builds/worker-56/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-56/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/scobham/cryptobot_rust_example on toolchain beta-2021-09-08 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2021-09-08" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/scobham/cryptobot_rust_example [INFO] finished tweaking git repo https://github.com/scobham/cryptobot_rust_example [INFO] tweaked toml for git repo https://github.com/scobham/cryptobot_rust_example written to /workspace/builds/worker-56/source/Cargo.toml [INFO] crate git repo https://github.com/scobham/cryptobot_rust_example already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2021-09-08" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded askama v0.9.0 [INFO] [stderr] Downloaded askama_derive v0.9.0 [INFO] [stderr] Downloaded security-framework v2.1.2 [INFO] [stderr] Downloaded tokio-util v0.6.4 [INFO] [stderr] Downloaded askama_escape v0.3.0 [INFO] [stderr] Downloaded reqwest v0.11.2 [INFO] [stderr] Downloaded askama_shared v0.9.1 [INFO] [stderr] Downloaded tokio v1.3.0 [INFO] [stderr] Downloaded plotly v0.6.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-56/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-56/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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2021-09-08" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7da42e46109dc0730c36a8360e60bc77b834916022ee6f03762906397f9ce53d [INFO] running `Command { std: "docker" "start" "-a" "7da42e46109dc0730c36a8360e60bc77b834916022ee6f03762906397f9ce53d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7da42e46109dc0730c36a8360e60bc77b834916022ee6f03762906397f9ce53d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7da42e46109dc0730c36a8360e60bc77b834916022ee6f03762906397f9ce53d", kill_on_drop: false }` [INFO] [stdout] 7da42e46109dc0730c36a8360e60bc77b834916022ee6f03762906397f9ce53d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-56/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-56/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=warn" "-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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2021-09-08" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f3674559dfab326b1830e5260298befa0acfc4588f3b213246a5877ec7a5a31a [INFO] running `Command { std: "docker" "start" "-a" "f3674559dfab326b1830e5260298befa0acfc4588f3b213246a5877ec7a5a31a", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling syn v1.0.63 [INFO] [stderr] Compiling openssl v0.10.32 [INFO] [stderr] Compiling humansize v1.1.0 [INFO] [stderr] Compiling askama_escape v0.3.0 [INFO] [stderr] Compiling httpdate v0.3.2 [INFO] [stderr] Compiling gimli v0.23.0 [INFO] [stderr] Compiling object v0.23.0 [INFO] [stderr] Compiling rustc-demangle v0.1.18 [INFO] [stderr] Compiling tokio v1.3.0 [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling libc v0.2.88 [INFO] [stderr] Compiling serde_derive v1.0.124 [INFO] [stderr] Compiling serde v1.0.124 [INFO] [stderr] Compiling openssl-sys v0.9.60 [INFO] [stderr] Compiling lock_api v0.4.2 [INFO] [stderr] Compiling standback v0.2.15 [INFO] [stderr] Compiling futures-channel v0.3.13 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling http v0.2.3 [INFO] [stderr] Compiling time v0.2.25 [INFO] [stderr] Compiling const_fn v0.4.5 [INFO] [stderr] Compiling nom v5.1.2 [INFO] [stderr] Compiling httparse v1.3.5 [INFO] [stderr] Compiling cookie v0.14.4 [INFO] [stderr] Compiling error-chain v0.12.4 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling unicode-normalization v0.1.17 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling idna v0.2.2 [INFO] [stderr] Compiling native-tls v0.2.7 [INFO] [stderr] Compiling parking_lot_core v0.8.3 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling signal-hook-registry v1.3.0 [INFO] [stderr] Compiling mio v0.7.9 [INFO] [stderr] Compiling socket2 v0.3.19 [INFO] [stderr] Compiling time v0.1.43 [INFO] [stderr] Compiling http-body v0.4.0 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling addr2line v0.14.1 [INFO] [stderr] Compiling url v2.2.1 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling backtrace v0.3.56 [INFO] [stderr] Compiling parking_lot v0.11.1 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling publicsuffix v1.5.6 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling rand_distr v0.2.2 [INFO] [stderr] Compiling futures-macro v0.3.13 [INFO] [stderr] Compiling tokio-macros v1.1.0 [INFO] [stderr] Compiling time-macros-impl v0.1.1 [INFO] [stderr] Compiling pin-project-internal v1.0.5 [INFO] [stderr] Compiling time-macros v0.1.1 [INFO] [stderr] Compiling futures-util v0.3.13 [INFO] [stderr] Compiling pin-project v1.0.5 [INFO] [stderr] Compiling futures-executor v0.3.13 [INFO] [stderr] Compiling futures v0.3.13 [INFO] [stderr] Compiling tokio-util v0.6.4 [INFO] [stderr] Compiling tokio-native-tls v0.3.0 [INFO] [stderr] Compiling h2 v0.3.1 [INFO] [stderr] Compiling toml v0.5.8 [INFO] [stderr] Compiling serde_json v1.0.64 [INFO] [stderr] Compiling serde_urlencoded v0.7.0 [INFO] [stderr] Compiling hyper v0.14.4 [INFO] [stderr] Compiling askama_shared v0.9.1 [INFO] [stderr] Compiling hyper-tls v0.5.0 [INFO] [stderr] Compiling cookie_store v0.12.0 [INFO] [stderr] Compiling reqwest v0.11.2 [INFO] [stderr] Compiling askama_derive v0.9.0 [INFO] [stderr] Compiling askama v0.9.0 [INFO] [stderr] Compiling plotly v0.6.0 [INFO] [stderr] Compiling cryptobot_example v0.0.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `coinstruct::CoinsMarketChart` [INFO] [stdout] --> src/main.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use coinstruct::CoinsMarketChart; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `convert_date`, `convert_vec_date`, `type_of` [INFO] [stdout] --> src/main.rs:7:13 [INFO] [stdout] | [INFO] [stdout] 7 | use utils::{type_of, convert_date, convert_vec_date, coins_market_chart}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::borrow::Borrow` [INFO] [stdout] --> src/plotting.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::borrow::Borrow; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Utc` [INFO] [stdout] --> src/plotting.rs:5:14 [INFO] [stdout] | [INFO] [stdout] 5 | use chrono::{Utc}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `GridPattern`, `LayoutGrid` [INFO] [stdout] --> src/plotting.rs:12:96 [INFO] [stdout] | [INFO] [stdout] 12 | use plotly::layout::{Axis, RangeSlider, RangeSelector, SelectorButton, SelectorStep, StepMode, LayoutGrid, GridPattern, BarMode}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `line_and_scatter_plot` [INFO] [stdout] --> src/main.rs:10:16 [INFO] [stdout] | [INFO] [stdout] 10 | use plotting::{line_and_scatter_plot, series_line_and_scatter_plot}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `iota_prices` [INFO] [stdout] --> src/main.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 15 | let iota_prices = coins_market_chart("iota").await?; [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_iota_prices` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cardano_prices` [INFO] [stdout] --> src/main.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 16 | let cardano_prices = coins_market_chart("cardano").await?; [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_cardano_prices` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `algorand_prices` [INFO] [stdout] --> src/main.rs:17:9 [INFO] [stdout] | [INFO] [stdout] 17 | let algorand_prices = coins_market_chart("algorand").await?; [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_algorand_prices` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `type_of` [INFO] [stdout] --> src/utils.rs:10:8 [INFO] [stdout] | [INFO] [stdout] 10 | pub fn type_of(_: &T) -> &'static str { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `convert_date` [INFO] [stdout] --> src/utils.rs:15:8 [INFO] [stdout] | [INFO] [stdout] 15 | pub fn convert_date(){ [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `line_and_scatter_plot` [INFO] [stdout] --> src/plotting.rs:15:8 [INFO] [stdout] | [INFO] [stdout] 15 | pub fn line_and_scatter_plot(x: &Vec, y: &Vec, coin_name: &str) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 2m 37s [INFO] running `Command { std: "docker" "inspect" "f3674559dfab326b1830e5260298befa0acfc4588f3b213246a5877ec7a5a31a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f3674559dfab326b1830e5260298befa0acfc4588f3b213246a5877ec7a5a31a", kill_on_drop: false }` [INFO] [stdout] f3674559dfab326b1830e5260298befa0acfc4588f3b213246a5877ec7a5a31a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-56/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-56/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=warn" "-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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2021-09-08" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8be7ca0a6b1c68a647551a6c2650d69f1877f31c45e577becea47076310d5dc9 [INFO] running `Command { std: "docker" "start" "-a" "8be7ca0a6b1c68a647551a6c2650d69f1877f31c45e577becea47076310d5dc9", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling cryptobot_example v0.0.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `coinstruct::CoinsMarketChart` [INFO] [stdout] --> src/main.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use coinstruct::CoinsMarketChart; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `convert_date`, `convert_vec_date`, `type_of` [INFO] [stdout] --> src/main.rs:7:13 [INFO] [stdout] | [INFO] [stdout] 7 | use utils::{type_of, convert_date, convert_vec_date, coins_market_chart}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::borrow::Borrow` [INFO] [stdout] --> src/plotting.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::borrow::Borrow; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Utc` [INFO] [stdout] --> src/plotting.rs:5:14 [INFO] [stdout] | [INFO] [stdout] 5 | use chrono::{Utc}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `GridPattern`, `LayoutGrid` [INFO] [stdout] --> src/plotting.rs:12:96 [INFO] [stdout] | [INFO] [stdout] 12 | use plotly::layout::{Axis, RangeSlider, RangeSelector, SelectorButton, SelectorStep, StepMode, LayoutGrid, GridPattern, BarMode}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `line_and_scatter_plot` [INFO] [stdout] --> src/main.rs:10:16 [INFO] [stdout] | [INFO] [stdout] 10 | use plotting::{line_and_scatter_plot, series_line_and_scatter_plot}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `iota_prices` [INFO] [stdout] --> src/main.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 15 | let iota_prices = coins_market_chart("iota").await?; [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_iota_prices` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cardano_prices` [INFO] [stdout] --> src/main.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 16 | let cardano_prices = coins_market_chart("cardano").await?; [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_cardano_prices` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `algorand_prices` [INFO] [stdout] --> src/main.rs:17:9 [INFO] [stdout] | [INFO] [stdout] 17 | let algorand_prices = coins_market_chart("algorand").await?; [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_algorand_prices` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `type_of` [INFO] [stdout] --> src/utils.rs:10:8 [INFO] [stdout] | [INFO] [stdout] 10 | pub fn type_of(_: &T) -> &'static str { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `convert_date` [INFO] [stdout] --> src/utils.rs:15:8 [INFO] [stdout] | [INFO] [stdout] 15 | pub fn convert_date(){ [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `line_and_scatter_plot` [INFO] [stdout] --> src/plotting.rs:15:8 [INFO] [stdout] | [INFO] [stdout] 15 | pub fn line_and_scatter_plot(x: &Vec, y: &Vec, coin_name: &str) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 5.51s [INFO] running `Command { std: "docker" "inspect" "8be7ca0a6b1c68a647551a6c2650d69f1877f31c45e577becea47076310d5dc9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8be7ca0a6b1c68a647551a6c2650d69f1877f31c45e577becea47076310d5dc9", kill_on_drop: false }` [INFO] [stdout] 8be7ca0a6b1c68a647551a6c2650d69f1877f31c45e577becea47076310d5dc9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-56/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-56/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=warn" "-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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2021-09-08" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 1c5ef90c365e26b4febb0adc0a280b67e89f8061b6b64c30cdcea3cfe95d5b09 [INFO] running `Command { std: "docker" "start" "-a" "1c5ef90c365e26b4febb0adc0a280b67e89f8061b6b64c30cdcea3cfe95d5b09", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `coinstruct::CoinsMarketChart` [INFO] [stderr] --> src/main.rs:4:5 [INFO] [stderr] | [INFO] [stderr] 4 | use coinstruct::CoinsMarketChart; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused imports: `convert_date`, `convert_vec_date`, `type_of` [INFO] [stderr] --> src/main.rs:7:13 [INFO] [stderr] | [INFO] [stderr] 7 | use utils::{type_of, convert_date, convert_vec_date, coins_market_chart}; [INFO] [stderr] | ^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::borrow::Borrow` [INFO] [stderr] --> src/plotting.rs:2:5 [INFO] [stderr] | [INFO] [stderr] 2 | use std::borrow::Borrow; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `Utc` [INFO] [stderr] --> src/plotting.rs:5:14 [INFO] [stderr] | [INFO] [stderr] 5 | use chrono::{Utc}; [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `GridPattern`, `LayoutGrid` [INFO] [stderr] --> src/plotting.rs:12:96 [INFO] [stderr] | [INFO] [stderr] 12 | use plotly::layout::{Axis, RangeSlider, RangeSelector, SelectorButton, SelectorStep, StepMode, LayoutGrid, GridPattern, BarMode}; [INFO] [stderr] | ^^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `line_and_scatter_plot` [INFO] [stderr] --> src/main.rs:10:16 [INFO] [stderr] | [INFO] [stderr] 10 | use plotting::{line_and_scatter_plot, series_line_and_scatter_plot}; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused variable: `iota_prices` [INFO] [stderr] --> src/main.rs:15:9 [INFO] [stderr] | [INFO] [stderr] 15 | let iota_prices = coins_market_chart("iota").await?; [INFO] [stderr] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_iota_prices` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `cardano_prices` [INFO] [stderr] --> src/main.rs:16:9 [INFO] [stderr] | [INFO] [stderr] 16 | let cardano_prices = coins_market_chart("cardano").await?; [INFO] [stderr] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_cardano_prices` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `algorand_prices` [INFO] [stderr] --> src/main.rs:17:9 [INFO] [stderr] | [INFO] [stderr] 17 | let algorand_prices = coins_market_chart("algorand").await?; [INFO] [stderr] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_algorand_prices` [INFO] [stderr] [INFO] [stderr] warning: function is never used: `type_of` [INFO] [stderr] --> src/utils.rs:10:8 [INFO] [stderr] | [INFO] [stderr] 10 | pub fn type_of(_: &T) -> &'static str { [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: function is never used: `convert_date` [INFO] [stderr] --> src/utils.rs:15:8 [INFO] [stderr] | [INFO] [stderr] 15 | pub fn convert_date(){ [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `line_and_scatter_plot` [INFO] [stderr] --> src/plotting.rs:15:8 [INFO] [stderr] | [INFO] [stderr] 15 | pub fn line_and_scatter_plot(x: &Vec, y: &Vec, coin_name: &str) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `cryptobot_example` (bin "cryptobot_example" test) generated 12 warnings [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.17s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/cryptobot_example-2fb253f173e048dc) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "1c5ef90c365e26b4febb0adc0a280b67e89f8061b6b64c30cdcea3cfe95d5b09", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1c5ef90c365e26b4febb0adc0a280b67e89f8061b6b64c30cdcea3cfe95d5b09", kill_on_drop: false }` [INFO] [stdout] 1c5ef90c365e26b4febb0adc0a280b67e89f8061b6b64c30cdcea3cfe95d5b09