[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-2022-04-10 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fscobham%2Fcryptobot_rust_example" "/workspace/builds/worker-8/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-8/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/scobham/cryptobot_rust_example on toolchain beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "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-8/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-2022-04-10" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0d330c0804b0bc2da6259e9e0ed73c88b2cfbf6b0563fa006b4ee07e28ac75ab [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "0d330c0804b0bc2da6259e9e0ed73c88b2cfbf6b0563fa006b4ee07e28ac75ab", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0d330c0804b0bc2da6259e9e0ed73c88b2cfbf6b0563fa006b4ee07e28ac75ab", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0d330c0804b0bc2da6259e9e0ed73c88b2cfbf6b0563fa006b4ee07e28ac75ab", kill_on_drop: false }` [INFO] [stdout] 0d330c0804b0bc2da6259e9e0ed73c88b2cfbf6b0563fa006b4ee07e28ac75ab [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 619426b7d2c8299ccf9954191303d48d4f30da18559c09b0d7b7d35b0fd25422 [INFO] running `Command { std: "docker" "start" "-a" "619426b7d2c8299ccf9954191303d48d4f30da18559c09b0d7b7d35b0fd25422", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling libc v0.2.88 [INFO] [stderr] Compiling syn v1.0.63 [INFO] [stderr] Compiling serde_derive v1.0.124 [INFO] [stderr] Compiling serde v1.0.124 [INFO] [stderr] Compiling cc v1.0.67 [INFO] [stderr] Compiling futures-core v0.3.13 [INFO] [stderr] Compiling futures-sink v0.3.13 [INFO] [stderr] Compiling futures-io v0.3.13 [INFO] [stderr] Compiling futures-task v0.3.13 [INFO] [stderr] Compiling openssl v0.10.32 [INFO] [stderr] Compiling httparse v1.3.5 [INFO] [stderr] Compiling humansize v1.1.0 [INFO] [stderr] Compiling askama_escape v0.3.0 [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 cookie v0.14.4 [INFO] [stderr] Compiling error-chain v0.12.4 [INFO] [stderr] Compiling tinyvec v1.1.1 [INFO] [stderr] Compiling futures-channel v0.3.13 [INFO] [stderr] Compiling tracing v0.1.25 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling openssl-sys v0.9.60 [INFO] [stderr] Compiling unicode-normalization v0.1.17 [INFO] [stderr] Compiling parking_lot_core v0.8.3 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling mio v0.7.9 [INFO] [stderr] Compiling signal-hook-registry v1.3.0 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling socket2 v0.3.19 [INFO] [stderr] Compiling time v0.1.43 [INFO] [stderr] Compiling rand_core v0.5.1 [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 native-tls v0.2.7 [INFO] [stderr] Compiling idna v0.2.2 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling addr2line v0.14.1 [INFO] [stderr] Compiling url v2.2.1 [INFO] [stderr] Compiling backtrace v0.3.56 [INFO] [stderr] Compiling rand_distr v0.2.2 [INFO] [stderr] Compiling publicsuffix v1.5.6 [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 time v0.2.25 [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 cookie_store v0.12.0 [INFO] [stderr] Compiling askama_shared v0.9.1 [INFO] [stderr] Compiling hyper v0.14.4 [INFO] [stderr] Compiling askama_derive v0.9.0 [INFO] [stderr] Compiling hyper-tls v0.5.0 [INFO] [stderr] Compiling askama v0.9.0 [INFO] [stderr] Compiling reqwest v0.11.2 [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 1m 24s [INFO] running `Command { std: "docker" "inspect" "619426b7d2c8299ccf9954191303d48d4f30da18559c09b0d7b7d35b0fd25422", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "619426b7d2c8299ccf9954191303d48d4f30da18559c09b0d7b7d35b0fd25422", kill_on_drop: false }` [INFO] [stdout] 619426b7d2c8299ccf9954191303d48d4f30da18559c09b0d7b7d35b0fd25422 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 66564040d2eff97251277158d74dd7c588be6081ab448290fd561faec3bc559b [INFO] running `Command { std: "docker" "start" "-a" "66564040d2eff97251277158d74dd7c588be6081ab448290fd561faec3bc559b", 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 7.70s [INFO] [stderr] Executable unittests src/main.rs (/opt/rustwide/target/debug/deps/cryptobot_example-7aa80a57bbe1f90c) [INFO] running `Command { std: "docker" "inspect" "66564040d2eff97251277158d74dd7c588be6081ab448290fd561faec3bc559b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "66564040d2eff97251277158d74dd7c588be6081ab448290fd561faec3bc559b", kill_on_drop: false }` [INFO] [stdout] 66564040d2eff97251277158d74dd7c588be6081ab448290fd561faec3bc559b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 65d65f40581921a2592b192138262536690be686450725255a4bbc8740a7dcc4 [INFO] running `Command { std: "docker" "start" "-a" "65d65f40581921a2592b192138262536690be686450725255a4bbc8740a7dcc4", 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.14s [INFO] [stdout] [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/cryptobot_example-7aa80a57bbe1f90c) [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" "65d65f40581921a2592b192138262536690be686450725255a4bbc8740a7dcc4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "65d65f40581921a2592b192138262536690be686450725255a4bbc8740a7dcc4", kill_on_drop: false }` [INFO] [stdout] 65d65f40581921a2592b192138262536690be686450725255a4bbc8740a7dcc4