[INFO] cloning repository https://github.com/aeroalgo/robots [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/aeroalgo/robots" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Faeroalgo%2Frobots", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Faeroalgo%2Frobots'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 6afe78a4d166600b77cfe0e05c29f99e4e27aee8 [INFO] testing aeroalgo/robots against 1.79.0 for beta-1.80-4 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Faeroalgo%2Frobots" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/aeroalgo/robots on toolchain 1.79.0 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.79.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/aeroalgo/robots [INFO] finished tweaking git repo https://github.com/aeroalgo/robots [INFO] tweaked toml for git repo https://github.com/aeroalgo/robots written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/aeroalgo/robots 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" "+1.79.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded cpufeatures v0.2.8 [INFO] [stderr] Downloaded uuid v1.3.4 [INFO] [stderr] Downloaded serde_bytes v0.11.9 [INFO] [stderr] Downloaded try-partialord v0.1.3 [INFO] [stderr] Downloaded tokio v1.28.2 [INFO] [stderr] Downloaded mongodb v2.5.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:dff56e7819e73ed36160586b3445e93eb0be776c16704aeeded9c3fb668b2384" "/opt/rustwide/cargo-home/bin/cargo" "+1.79.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a15f9163b12e6f56016347854461245a08e00c3a933231cb586fad12a4399af0 [INFO] running `Command { std: "docker" "start" "-a" "a15f9163b12e6f56016347854461245a08e00c3a933231cb586fad12a4399af0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a15f9163b12e6f56016347854461245a08e00c3a933231cb586fad12a4399af0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a15f9163b12e6f56016347854461245a08e00c3a933231cb586fad12a4399af0", kill_on_drop: false }` [INFO] [stdout] a15f9163b12e6f56016347854461245a08e00c3a933231cb586fad12a4399af0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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=warn" "-e" "RUSTDOCFLAGS=--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:dff56e7819e73ed36160586b3445e93eb0be776c16704aeeded9c3fb668b2384" "/opt/rustwide/cargo-home/bin/cargo" "+1.79.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 91d14cadeedb9539ddcc4fd73e2e6ee42e6a578a75ac5066baf3219b1d3bd830 [INFO] running `Command { std: "docker" "start" "-a" "91d14cadeedb9539ddcc4fd73e2e6ee42e6a578a75ac5066baf3219b1d3bd830", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.60 [INFO] [stderr] Compiling quote v1.0.28 [INFO] [stderr] Compiling unicode-ident v1.0.9 [INFO] [stderr] Compiling libc v0.2.146 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling tokio v1.28.2 [INFO] [stderr] Compiling serde v1.0.164 [INFO] [stderr] Compiling futures-channel v0.3.28 [INFO] [stderr] Compiling futures-util v0.3.28 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling radium v0.7.0 [INFO] [stderr] Compiling log v0.4.19 [INFO] [stderr] Compiling ahash v0.7.6 [INFO] [stderr] Compiling num-traits v0.2.17 [INFO] [stderr] Compiling rustls v0.20.8 [INFO] [stderr] Compiling serde_json v1.0.96 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling tap v1.0.1 [INFO] [stderr] Compiling match_cfg v0.1.0 [INFO] [stderr] Compiling cpufeatures v0.2.8 [INFO] [stderr] Compiling lock_api v0.4.10 [INFO] [stderr] Compiling time-macros v0.2.9 [INFO] [stderr] Compiling url v2.4.0 [INFO] [stderr] Compiling ipnet v2.7.2 [INFO] [stderr] Compiling wyz v0.5.1 [INFO] [stderr] Compiling funty v2.0.0 [INFO] [stderr] Compiling quick-error v1.2.3 [INFO] [stderr] Compiling lru-cache v0.1.2 [INFO] [stderr] Compiling iana-time-zone v0.1.57 [INFO] [stderr] Compiling convert_case v0.4.0 [INFO] [stderr] Compiling rustls-pemfile v1.0.2 [INFO] [stderr] Compiling sha-1 v0.10.1 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling sha2 v0.10.7 [INFO] [stderr] Compiling md-5 v0.10.5 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling pbkdf2 v0.11.0 [INFO] [stderr] Compiling stringprep v0.1.2 [INFO] [stderr] Compiling either v1.8.1 [INFO] [stderr] Compiling take_mut v0.2.2 [INFO] [stderr] Compiling sha1 v0.10.5 [INFO] [stderr] Compiling try-partialord v0.1.3 [INFO] [stderr] Compiling dotenv v0.15.0 [INFO] [stderr] Compiling rustc_version_runtime v0.2.1 [INFO] [stderr] Compiling itertools v0.11.0 [INFO] [stderr] Compiling getrandom v0.2.10 [INFO] [stderr] Compiling syn v2.0.18 [INFO] [stderr] Compiling num_cpus v1.15.0 [INFO] [stderr] Compiling mio v0.8.8 [INFO] [stderr] Compiling socket2 v0.4.9 [INFO] [stderr] Compiling signal-hook-registry v1.4.1 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Compiling parking_lot_core v0.9.8 [INFO] [stderr] Compiling hostname v0.3.1 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling resolv-conf v0.7.0 [INFO] [stderr] Compiling parking_lot v0.12.1 [INFO] [stderr] Compiling bitvec v1.0.1 [INFO] [stderr] Compiling time v0.1.45 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling chrono v0.4.26 [INFO] [stderr] Compiling time v0.3.22 [INFO] [stderr] Compiling webpki v0.22.0 [INFO] [stderr] Compiling sct v0.7.0 [INFO] [stderr] Compiling webpki-roots v0.22.6 [INFO] [stderr] Compiling darling_core v0.13.4 [INFO] [stderr] Compiling serde_derive v1.0.164 [INFO] [stderr] Compiling tokio-macros v2.1.0 [INFO] [stderr] Compiling futures-macro v0.3.28 [INFO] [stderr] Compiling thiserror-impl v1.0.40 [INFO] [stderr] Compiling async-trait v0.1.68 [INFO] [stderr] Compiling enum-as-inner v0.4.0 [INFO] [stderr] Compiling derive_more v0.99.17 [INFO] [stderr] Compiling typed-builder v0.10.0 [INFO] [stderr] Compiling derivative v2.2.0 [INFO] [stderr] Compiling thiserror v1.0.40 [INFO] [stderr] Compiling darling_macro v0.13.4 [INFO] [stderr] Compiling darling v0.13.4 [INFO] [stderr] Compiling serde_with_macros v1.5.2 [INFO] [stderr] Compiling futures-executor v0.3.28 [INFO] [stderr] Compiling futures v0.3.28 [INFO] [stderr] Compiling trust-dns-proto v0.21.2 [INFO] [stderr] Compiling tokio-rustls v0.23.4 [INFO] [stderr] Compiling tokio-util v0.7.8 [INFO] [stderr] Compiling tokio-stream v0.1.14 [INFO] [stderr] Compiling trust-dns-resolver v0.21.2 [INFO] [stderr] Compiling serde_bytes v0.11.9 [INFO] [stderr] Compiling uuid v1.3.4 [INFO] [stderr] Compiling serde_with v1.14.0 [INFO] [stderr] Compiling bson v2.6.1 [INFO] [stderr] Compiling mongodb v2.5.0 [INFO] [stderr] Compiling robots v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `MAIndicators`, `MovingAverage` [INFO] [stdout] --> src/main.rs:3:41 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::core::agt::indicators::any::{MAIndicators, MovingAverage}; [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::core::database::mongodb::MongoDbClient` [INFO] [stdout] --> src/main.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::core::database::mongodb::MongoDbClient; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `oid::ObjectId` [INFO] [stdout] --> src/app/charts/crud.rs:3:26 [INFO] [stdout] | [INFO] [stdout] 3 | use mongodb::bson::{doc, oid::ObjectId, Document}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::env` [INFO] [stdout] --> src/app/charts/crud.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::env; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/app/charts/model.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `array` [INFO] [stdout] --> src/core/agt/indicators/any.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | array, cmp::min, collections::HashMap, convert::TryInto, ops::Index, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `array`, `ops::Index` [INFO] [stdout] --> src/core/agt/indicators/source.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{array, cmp::min, collections::HashMap, convert::TryInto, ops::Index, vec}; [INFO] [stdout] | ^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `itertools::Itertools` [INFO] [stdout] --> src/core/agt/candles/source.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use itertools::Itertools; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `mongodb::bson::oid::ObjectId` [INFO] [stdout] --> src/core/agt/candles/source.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use mongodb::bson::oid::ObjectId; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `array`, `cmp::min`, `collections::HashMap`, `convert::TryInto`, `ops::Index` [INFO] [stdout] --> src/core/agt/candles/source.rs:4:11 [INFO] [stdout] | [INFO] [stdout] 4 | use std::{array, cmp::min, collections::HashMap, convert::TryInto, ops::Index}; [INFO] [stdout] | ^^^^^ ^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `try_partialord::*` [INFO] [stdout] --> src/core/agt/candles/source.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use try_partialord::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `period` [INFO] [stdout] --> src/core/agt/indicators/any.rs:177:68 [INFO] [stdout] | [INFO] [stdout] 177 | async fn calculate_vtrand(&self, hhv: Vec, llv: Vec, period: i16) -> Vec { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_period` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `period` [INFO] [stdout] --> src/core/agt/indicators/source.rs:348:9 [INFO] [stdout] | [INFO] [stdout] 348 | period: i16, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_period` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `timeframe` [INFO] [stdout] --> src/core/agt/candles/source.rs:41:13 [INFO] [stdout] | [INFO] [stdout] 41 | let timeframe = data[0].tf; [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_timeframe` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data` [INFO] [stdout] --> src/main.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 16 | let data = x.get_stochastic(10, false).await; [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 14 | let mut m5 = Source::new(all_data).await; [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `db_name`, `collection`, and `client` are never read [INFO] [stdout] --> src/app/charts/crud.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct TickerRepository { [INFO] [stdout] | ---------------- fields in this struct [INFO] [stdout] 10 | pub db_name: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 11 | pub collection: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 12 | pub client: Client, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_session` and `get_count` are never used [INFO] [stdout] --> src/app/charts/crud.rs:58:12 [INFO] [stdout] | [INFO] [stdout] 16 | impl TickerRepository { [INFO] [stdout] | --------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 58 | pub fn get_session(&self) -> Collection { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 64 | pub async fn get_count(&self, filter: Document) -> u64 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `get_key` is never used [INFO] [stdout] --> src/app/charts/model.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 18 | impl TickerCandle { [INFO] [stdout] | ----------------- associated function in this implementation [INFO] [stdout] 19 | pub fn get_key(timestamp: i32, tf: i16) -> String { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_dbs` and `get_collections` are never used [INFO] [stdout] --> src/core/database/mongodb.rs:23:18 [INFO] [stdout] | [INFO] [stdout] 10 | impl MongoDbClient { [INFO] [stdout] | ------------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 23 | pub async fn get_dbs(&self) -> Vec { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 31 | pub async fn get_collections(&self, db_name: &str) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MovingAverage` is never constructed [INFO] [stdout] --> src/core/agt/indicators/any.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct MovingAverage { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MovingAverage` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `MAIndicators` is never used [INFO] [stdout] --> src/core/agt/indicators/any.rs:14:10 [INFO] [stdout] | [INFO] [stdout] 14 | pub enum MAIndicators { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/core/agt/indicators/any.rs:26:18 [INFO] [stdout] | [INFO] [stdout] 25 | impl MovingAverage { [INFO] [stdout] | ------------------ associated items in this implementation [INFO] [stdout] 26 | pub async fn new(data: Vec) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 47 | pub async fn get_sma(&mut self, period: i16, meta: bool) -> IndicatorData { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 64 | async fn calculate_sma(&mut self, period: i16) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 83 | pub async fn get_maxfor(&mut self, period: i16, meta: bool) -> IndicatorData { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 100 | async fn calculate_maxfor(&mut self, period: i16) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 120 | pub async fn get_minfor(&mut self, period: i16, meta: bool) -> IndicatorData { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 137 | async fn calculate_minfor(&mut self, period: i16) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 156 | pub async fn get_vtrand(&mut self, period: i16, meta: bool) -> IndicatorData { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 177 | async fn calculate_vtrand(&self, hhv: Vec, llv: Vec, period: i16) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 184 | pub async fn get_geomean(&mut self, period: i16, meta: bool) -> IndicatorData { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 201 | async fn calculate_geomean(&mut self, period: i16) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 219 | pub async fn get_amma(&mut self, period: i16, meta: bool) -> IndicatorData { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 237 | async fn calculate_amma(&mut self, period: i16) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 252 | pub async fn get_sqwma(&mut self, period: i16, meta: bool) -> IndicatorData { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 269 | async fn calculate_sqwma(&mut self, period: i16) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 294 | pub async fn get_sinewma(&mut self, period: i16, meta: bool) -> IndicatorData { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 311 | async fn calculate_sinewma(&mut self, period: i16) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 337 | pub async fn get_ama(&mut self, period: i16, meta: bool) -> IndicatorData { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 354 | async fn calculate_ama(&mut self, period: i16) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 384 | pub async fn get_zlema(&mut self, period: i16, meta: bool) -> IndicatorData { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 402 | async fn calculate_zlema(&self, data: &Vec, period: i16) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 420 | pub async fn get_ema(&mut self, period: i16, meta: bool) -> IndicatorData { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 437 | async fn calculate_ema(&mut self, period: i16) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 452 | pub async fn get_tpbf(&mut self, period: i16, meta: bool) -> IndicatorData { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 472 | async fn calculate_tpbf(&mut self, h: &Vec, l: &Vec, period: i16) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 505 | pub async fn get_wma(&mut self, period: i16, meta: bool) -> IndicatorData { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 523 | async fn calculate_wma(&mut self, period: i16) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `start`, `stop`, and `step` are never read [INFO] [stdout] --> src/core/agt/indicators/common.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct OptimizationParam { [INFO] [stdout] | ----------------- fields in this struct [INFO] [stdout] 4 | pub start: i16, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 5 | pub stop: i16, [INFO] [stdout] | ^^^^ [INFO] [stdout] 6 | pub step: i16, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `OptimizationParam` 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 `optimization_param` and `multi_indicator` are never read [INFO] [stdout] --> src/core/agt/indicators/common.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct IndicatorsMeta { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] 10 | pub current_param: HashMap, [INFO] [stdout] 11 | pub optimization_param: HashMap, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 15 | pub multi_indicator: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `IndicatorsMeta` 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 `meta` is never read [INFO] [stdout] --> src/core/agt/indicators/common.rs:20:9 [INFO] [stdout] | [INFO] [stdout] 18 | pub struct IndicatorData { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] 19 | pub data: Vec, [INFO] [stdout] 20 | pub meta: IndicatorsMeta, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `IndicatorData` 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 `open`, `volume`, `timestamp`, and `timeframe` are never read [INFO] [stdout] --> src/core/agt/indicators/source.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct SourceIndicators { [INFO] [stdout] | ---------------- fields in this struct [INFO] [stdout] 13 | pub open: Vec, [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 17 | pub volume: Vec, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 18 | pub timestamp: Vec, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 19 | pub timeframe: i16, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `MAIndicators` is never used [INFO] [stdout] --> src/core/agt/indicators/source.rs:23:10 [INFO] [stdout] | [INFO] [stdout] 23 | pub enum MAIndicators { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> src/core/agt/indicators/source.rs:61:18 [INFO] [stdout] | [INFO] [stdout] 34 | impl SourceIndicators { [INFO] [stdout] | --------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 61 | pub async fn get_atr_old(&mut self, period: i16, meta: bool) -> IndicatorData { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 78 | async fn calculate_atr_old(&self, period: i16) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 100 | async fn true_range_old(&self, i: usize) -> f32 { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 109 | pub async fn get_atr(&mut self, period: i16, meta: bool) -> IndicatorData { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 126 | async fn calculate_atr(&self, period: i16) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 139 | async fn true_range(&self, period: usize, bar_num: usize) -> Vec { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 156 | pub async fn get_super_trend( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 179 | async fn calculate_super_trend(&mut self, period: i16, coeff_atr: i8) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 213 | async fn calculate_median_price(&self) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 222 | pub async fn get_watr(&mut self, period: i16, meta: bool) -> IndicatorData { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 239 | async fn calculate_watr(&self, period: i16) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `data` and `volume` are never read [INFO] [stdout] --> src/core/agt/candles/source.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct Source { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 9 | data: Vec, [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 14 | pub volume: Vec, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Element` is never used [INFO] [stdout] --> src/core/agt/candles/source.rs:19:10 [INFO] [stdout] | [INFO] [stdout] 19 | pub enum Element { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `MAIndicators` is never used [INFO] [stdout] --> src/core/agt/candles/source.rs:26:10 [INFO] [stdout] | [INFO] [stdout] 26 | pub enum MAIndicators { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `redis_uri`, `rust_log`, `rust_backtrace`, `optimization_param`, and `env_optimization` are never read [INFO] [stdout] --> src/core/settings.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct Settings { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 5 | pub mongodb_uri: String, [INFO] [stdout] 6 | pub redis_uri: String, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 7 | pub rust_log: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 8 | pub rust_backtrace: String, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 9 | pub optimization_param: OptimizationParam, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 10 | pub env_optimization: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 33 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 22s [INFO] running `Command { std: "docker" "inspect" "91d14cadeedb9539ddcc4fd73e2e6ee42e6a578a75ac5066baf3219b1d3bd830", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "91d14cadeedb9539ddcc4fd73e2e6ee42e6a578a75ac5066baf3219b1d3bd830", kill_on_drop: false }` [INFO] [stdout] 91d14cadeedb9539ddcc4fd73e2e6ee42e6a578a75ac5066baf3219b1d3bd830 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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=warn" "-e" "RUSTDOCFLAGS=--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:dff56e7819e73ed36160586b3445e93eb0be776c16704aeeded9c3fb668b2384" "/opt/rustwide/cargo-home/bin/cargo" "+1.79.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 48fb91718098a423bfd6d998dd808e08ddead37ba7d01d46f4c1b3ad807fb1f8 [INFO] running `Command { std: "docker" "start" "-a" "48fb91718098a423bfd6d998dd808e08ddead37ba7d01d46f4c1b3ad807fb1f8", kill_on_drop: false }` [INFO] [stderr] Compiling robots v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `MAIndicators`, `MovingAverage` [INFO] [stdout] --> src/main.rs:3:41 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::core::agt::indicators::any::{MAIndicators, MovingAverage}; [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::core::database::mongodb::MongoDbClient` [INFO] [stdout] --> src/main.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::core::database::mongodb::MongoDbClient; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `oid::ObjectId` [INFO] [stdout] --> src/app/charts/crud.rs:3:26 [INFO] [stdout] | [INFO] [stdout] 3 | use mongodb::bson::{doc, oid::ObjectId, Document}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::env` [INFO] [stdout] --> src/app/charts/crud.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::env; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/app/charts/model.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `array` [INFO] [stdout] --> src/core/agt/indicators/any.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | array, cmp::min, collections::HashMap, convert::TryInto, ops::Index, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `array`, `ops::Index` [INFO] [stdout] --> src/core/agt/indicators/source.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{array, cmp::min, collections::HashMap, convert::TryInto, ops::Index, vec}; [INFO] [stdout] | ^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `itertools::Itertools` [INFO] [stdout] --> src/core/agt/candles/source.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use itertools::Itertools; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `mongodb::bson::oid::ObjectId` [INFO] [stdout] --> src/core/agt/candles/source.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use mongodb::bson::oid::ObjectId; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `array`, `cmp::min`, `collections::HashMap`, `convert::TryInto`, `ops::Index` [INFO] [stdout] --> src/core/agt/candles/source.rs:4:11 [INFO] [stdout] | [INFO] [stdout] 4 | use std::{array, cmp::min, collections::HashMap, convert::TryInto, ops::Index}; [INFO] [stdout] | ^^^^^ ^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `try_partialord::*` [INFO] [stdout] --> src/core/agt/candles/source.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use try_partialord::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `period` [INFO] [stdout] --> src/core/agt/indicators/any.rs:177:68 [INFO] [stdout] | [INFO] [stdout] 177 | async fn calculate_vtrand(&self, hhv: Vec, llv: Vec, period: i16) -> Vec { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_period` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `period` [INFO] [stdout] --> src/core/agt/indicators/source.rs:348:9 [INFO] [stdout] | [INFO] [stdout] 348 | period: i16, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_period` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `timeframe` [INFO] [stdout] --> src/core/agt/candles/source.rs:41:13 [INFO] [stdout] | [INFO] [stdout] 41 | let timeframe = data[0].tf; [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_timeframe` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data` [INFO] [stdout] --> src/main.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 16 | let data = x.get_stochastic(10, false).await; [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 14 | let mut m5 = Source::new(all_data).await; [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `db_name`, `collection`, and `client` are never read [INFO] [stdout] --> src/app/charts/crud.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct TickerRepository { [INFO] [stdout] | ---------------- fields in this struct [INFO] [stdout] 10 | pub db_name: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 11 | pub collection: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 12 | pub client: Client, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_session` and `get_count` are never used [INFO] [stdout] --> src/app/charts/crud.rs:58:12 [INFO] [stdout] | [INFO] [stdout] 16 | impl TickerRepository { [INFO] [stdout] | --------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 58 | pub fn get_session(&self) -> Collection { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 64 | pub async fn get_count(&self, filter: Document) -> u64 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `get_key` is never used [INFO] [stdout] --> src/app/charts/model.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 18 | impl TickerCandle { [INFO] [stdout] | ----------------- associated function in this implementation [INFO] [stdout] 19 | pub fn get_key(timestamp: i32, tf: i16) -> String { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_dbs` and `get_collections` are never used [INFO] [stdout] --> src/core/database/mongodb.rs:23:18 [INFO] [stdout] | [INFO] [stdout] 10 | impl MongoDbClient { [INFO] [stdout] | ------------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 23 | pub async fn get_dbs(&self) -> Vec { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 31 | pub async fn get_collections(&self, db_name: &str) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MovingAverage` is never constructed [INFO] [stdout] --> src/core/agt/indicators/any.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct MovingAverage { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MovingAverage` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `MAIndicators` is never used [INFO] [stdout] --> src/core/agt/indicators/any.rs:14:10 [INFO] [stdout] | [INFO] [stdout] 14 | pub enum MAIndicators { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/core/agt/indicators/any.rs:26:18 [INFO] [stdout] | [INFO] [stdout] 25 | impl MovingAverage { [INFO] [stdout] | ------------------ associated items in this implementation [INFO] [stdout] 26 | pub async fn new(data: Vec) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 47 | pub async fn get_sma(&mut self, period: i16, meta: bool) -> IndicatorData { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 64 | async fn calculate_sma(&mut self, period: i16) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 83 | pub async fn get_maxfor(&mut self, period: i16, meta: bool) -> IndicatorData { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 100 | async fn calculate_maxfor(&mut self, period: i16) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 120 | pub async fn get_minfor(&mut self, period: i16, meta: bool) -> IndicatorData { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 137 | async fn calculate_minfor(&mut self, period: i16) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 156 | pub async fn get_vtrand(&mut self, period: i16, meta: bool) -> IndicatorData { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 177 | async fn calculate_vtrand(&self, hhv: Vec, llv: Vec, period: i16) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 184 | pub async fn get_geomean(&mut self, period: i16, meta: bool) -> IndicatorData { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 201 | async fn calculate_geomean(&mut self, period: i16) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 219 | pub async fn get_amma(&mut self, period: i16, meta: bool) -> IndicatorData { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 237 | async fn calculate_amma(&mut self, period: i16) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 252 | pub async fn get_sqwma(&mut self, period: i16, meta: bool) -> IndicatorData { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 269 | async fn calculate_sqwma(&mut self, period: i16) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 294 | pub async fn get_sinewma(&mut self, period: i16, meta: bool) -> IndicatorData { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 311 | async fn calculate_sinewma(&mut self, period: i16) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 337 | pub async fn get_ama(&mut self, period: i16, meta: bool) -> IndicatorData { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 354 | async fn calculate_ama(&mut self, period: i16) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 384 | pub async fn get_zlema(&mut self, period: i16, meta: bool) -> IndicatorData { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 402 | async fn calculate_zlema(&self, data: &Vec, period: i16) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 420 | pub async fn get_ema(&mut self, period: i16, meta: bool) -> IndicatorData { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 437 | async fn calculate_ema(&mut self, period: i16) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 452 | pub async fn get_tpbf(&mut self, period: i16, meta: bool) -> IndicatorData { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 472 | async fn calculate_tpbf(&mut self, h: &Vec, l: &Vec, period: i16) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 505 | pub async fn get_wma(&mut self, period: i16, meta: bool) -> IndicatorData { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 523 | async fn calculate_wma(&mut self, period: i16) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `start`, `stop`, and `step` are never read [INFO] [stdout] --> src/core/agt/indicators/common.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct OptimizationParam { [INFO] [stdout] | ----------------- fields in this struct [INFO] [stdout] 4 | pub start: i16, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 5 | pub stop: i16, [INFO] [stdout] | ^^^^ [INFO] [stdout] 6 | pub step: i16, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `OptimizationParam` 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 `optimization_param` and `multi_indicator` are never read [INFO] [stdout] --> src/core/agt/indicators/common.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct IndicatorsMeta { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] 10 | pub current_param: HashMap, [INFO] [stdout] 11 | pub optimization_param: HashMap, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 15 | pub multi_indicator: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `IndicatorsMeta` 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 `meta` is never read [INFO] [stdout] --> src/core/agt/indicators/common.rs:20:9 [INFO] [stdout] | [INFO] [stdout] 18 | pub struct IndicatorData { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] 19 | pub data: Vec, [INFO] [stdout] 20 | pub meta: IndicatorsMeta, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `IndicatorData` 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 `open`, `volume`, `timestamp`, and `timeframe` are never read [INFO] [stdout] --> src/core/agt/indicators/source.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct SourceIndicators { [INFO] [stdout] | ---------------- fields in this struct [INFO] [stdout] 13 | pub open: Vec, [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 17 | pub volume: Vec, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 18 | pub timestamp: Vec, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 19 | pub timeframe: i16, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `MAIndicators` is never used [INFO] [stdout] --> src/core/agt/indicators/source.rs:23:10 [INFO] [stdout] | [INFO] [stdout] 23 | pub enum MAIndicators { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> src/core/agt/indicators/source.rs:61:18 [INFO] [stdout] | [INFO] [stdout] 34 | impl SourceIndicators { [INFO] [stdout] | --------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 61 | pub async fn get_atr_old(&mut self, period: i16, meta: bool) -> IndicatorData { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 78 | async fn calculate_atr_old(&self, period: i16) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 100 | async fn true_range_old(&self, i: usize) -> f32 { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 109 | pub async fn get_atr(&mut self, period: i16, meta: bool) -> IndicatorData { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 126 | async fn calculate_atr(&self, period: i16) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 139 | async fn true_range(&self, period: usize, bar_num: usize) -> Vec { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 156 | pub async fn get_super_trend( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 179 | async fn calculate_super_trend(&mut self, period: i16, coeff_atr: i8) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 213 | async fn calculate_median_price(&self) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 222 | pub async fn get_watr(&mut self, period: i16, meta: bool) -> IndicatorData { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 239 | async fn calculate_watr(&self, period: i16) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `data` and `volume` are never read [INFO] [stdout] --> src/core/agt/candles/source.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct Source { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 9 | data: Vec, [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 14 | pub volume: Vec, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Element` is never used [INFO] [stdout] --> src/core/agt/candles/source.rs:19:10 [INFO] [stdout] | [INFO] [stdout] 19 | pub enum Element { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `MAIndicators` is never used [INFO] [stdout] --> src/core/agt/candles/source.rs:26:10 [INFO] [stdout] | [INFO] [stdout] 26 | pub enum MAIndicators { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `redis_uri`, `rust_log`, `rust_backtrace`, `optimization_param`, and `env_optimization` are never read [INFO] [stdout] --> src/core/settings.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct Settings { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 5 | pub mongodb_uri: String, [INFO] [stdout] 6 | pub redis_uri: String, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 7 | pub rust_log: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 8 | pub rust_backtrace: String, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 9 | pub optimization_param: OptimizationParam, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 10 | pub env_optimization: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 33 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.36s [INFO] running `Command { std: "docker" "inspect" "48fb91718098a423bfd6d998dd808e08ddead37ba7d01d46f4c1b3ad807fb1f8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "48fb91718098a423bfd6d998dd808e08ddead37ba7d01d46f4c1b3ad807fb1f8", kill_on_drop: false }` [INFO] [stdout] 48fb91718098a423bfd6d998dd808e08ddead37ba7d01d46f4c1b3ad807fb1f8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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=warn" "-e" "RUSTDOCFLAGS=--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:dff56e7819e73ed36160586b3445e93eb0be776c16704aeeded9c3fb668b2384" "/opt/rustwide/cargo-home/bin/cargo" "+1.79.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 4b8d54052ec3094c7b18e57949698397da11c97623a249364e1f92922d788987 [INFO] running `Command { std: "docker" "start" "-a" "4b8d54052ec3094c7b18e57949698397da11c97623a249364e1f92922d788987", kill_on_drop: false }` [INFO] [stderr] warning: unused imports: `MAIndicators`, `MovingAverage` [INFO] [stderr] --> src/main.rs:3:41 [INFO] [stderr] | [INFO] [stderr] 3 | use crate::core::agt::indicators::any::{MAIndicators, MovingAverage}; [INFO] [stderr] | ^^^^^^^^^^^^ ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `crate::core::database::mongodb::MongoDbClient` [INFO] [stderr] --> src/main.rs:5:5 [INFO] [stderr] | [INFO] [stderr] 5 | use crate::core::database::mongodb::MongoDbClient; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `oid::ObjectId` [INFO] [stderr] --> src/app/charts/crud.rs:3:26 [INFO] [stderr] | [INFO] [stderr] 3 | use mongodb::bson::{doc, oid::ObjectId, Document}; [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::env` [INFO] [stderr] --> src/app/charts/crud.rs:6:5 [INFO] [stderr] | [INFO] [stderr] 6 | use std::env; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::collections::HashMap` [INFO] [stderr] --> src/app/charts/model.rs:5:5 [INFO] [stderr] | [INFO] [stderr] 5 | use std::collections::HashMap; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `array` [INFO] [stderr] --> src/core/agt/indicators/any.rs:2:5 [INFO] [stderr] | [INFO] [stderr] 2 | array, cmp::min, collections::HashMap, convert::TryInto, ops::Index, [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `array`, `ops::Index` [INFO] [stderr] --> src/core/agt/indicators/source.rs:1:11 [INFO] [stderr] | [INFO] [stderr] 1 | use std::{array, cmp::min, collections::HashMap, convert::TryInto, ops::Index, vec}; [INFO] [stderr] | ^^^^^ ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `itertools::Itertools` [INFO] [stderr] --> src/core/agt/candles/source.rs:2:5 [INFO] [stderr] | [INFO] [stderr] 2 | use itertools::Itertools; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `mongodb::bson::oid::ObjectId` [INFO] [stderr] --> src/core/agt/candles/source.rs:3:5 [INFO] [stderr] | [INFO] [stderr] 3 | use mongodb::bson::oid::ObjectId; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `array`, `cmp::min`, `collections::HashMap`, `convert::TryInto`, `ops::Index` [INFO] [stderr] --> src/core/agt/candles/source.rs:4:11 [INFO] [stderr] | [INFO] [stderr] 4 | use std::{array, cmp::min, collections::HashMap, convert::TryInto, ops::Index}; [INFO] [stderr] | ^^^^^ ^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `try_partialord::*` [INFO] [stderr] --> src/core/agt/candles/source.rs:5:5 [INFO] [stderr] | [INFO] [stderr] 5 | use try_partialord::*; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused variable: `period` [INFO] [stderr] --> src/core/agt/indicators/any.rs:177:68 [INFO] [stderr] | [INFO] [stderr] 177 | async fn calculate_vtrand(&self, hhv: Vec, llv: Vec, period: i16) -> Vec { [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_period` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `period` [INFO] [stderr] --> src/core/agt/indicators/source.rs:348:9 [INFO] [stderr] | [INFO] [stderr] 348 | period: i16, [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_period` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `timeframe` [INFO] [stderr] --> src/core/agt/candles/source.rs:41:13 [INFO] [stderr] | [INFO] [stderr] 41 | let timeframe = data[0].tf; [INFO] [stderr] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_timeframe` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `data` [INFO] [stderr] --> src/main.rs:16:9 [INFO] [stderr] | [INFO] [stderr] 16 | let data = x.get_stochastic(10, false).await; [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_data` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/main.rs:14:9 [INFO] [stderr] | [INFO] [stderr] 14 | let mut m5 = Source::new(all_data).await; [INFO] [stderr] | ----^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_mut)]` on by default [INFO] [stderr] [INFO] [stderr] warning: fields `db_name`, `collection`, and `client` are never read [INFO] [stderr] --> src/app/charts/crud.rs:10:9 [INFO] [stderr] | [INFO] [stderr] 9 | pub struct TickerRepository { [INFO] [stderr] | ---------------- fields in this struct [INFO] [stderr] 10 | pub db_name: String, [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] 11 | pub collection: String, [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] 12 | pub client: Client, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: methods `get_session` and `get_count` are never used [INFO] [stderr] --> src/app/charts/crud.rs:58:12 [INFO] [stderr] | [INFO] [stderr] 16 | impl TickerRepository { [INFO] [stderr] | --------------------- methods in this implementation [INFO] [stderr] ... [INFO] [stderr] 58 | pub fn get_session(&self) -> Collection { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 64 | pub async fn get_count(&self, filter: Document) -> u64 { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function `get_key` is never used [INFO] [stderr] --> src/app/charts/model.rs:19:12 [INFO] [stderr] | [INFO] [stderr] 18 | impl TickerCandle { [INFO] [stderr] | ----------------- associated function in this implementation [INFO] [stderr] 19 | pub fn get_key(timestamp: i32, tf: i16) -> String { [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: methods `get_dbs` and `get_collections` are never used [INFO] [stderr] --> src/core/database/mongodb.rs:23:18 [INFO] [stderr] | [INFO] [stderr] 10 | impl MongoDbClient { [INFO] [stderr] | ------------------ methods in this implementation [INFO] [stderr] ... [INFO] [stderr] 23 | pub async fn get_dbs(&self) -> Vec { [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 31 | pub async fn get_collections(&self, db_name: &str) -> Vec { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `MovingAverage` is never constructed [INFO] [stderr] --> src/core/agt/indicators/any.rs:8:12 [INFO] [stderr] | [INFO] [stderr] 8 | pub struct MovingAverage { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `MovingAverage` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: enum `MAIndicators` is never used [INFO] [stderr] --> src/core/agt/indicators/any.rs:14:10 [INFO] [stderr] | [INFO] [stderr] 14 | pub enum MAIndicators { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: multiple associated items are never used [INFO] [stderr] --> src/core/agt/indicators/any.rs:26:18 [INFO] [stderr] | [INFO] [stderr] 25 | impl MovingAverage { [INFO] [stderr] | ------------------ associated items in this implementation [INFO] [stderr] 26 | pub async fn new(data: Vec) -> Self { [INFO] [stderr] | ^^^ [INFO] [stderr] ... [INFO] [stderr] 47 | pub async fn get_sma(&mut self, period: i16, meta: bool) -> IndicatorData { [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 64 | async fn calculate_sma(&mut self, period: i16) { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 83 | pub async fn get_maxfor(&mut self, period: i16, meta: bool) -> IndicatorData { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 100 | async fn calculate_maxfor(&mut self, period: i16) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 120 | pub async fn get_minfor(&mut self, period: i16, meta: bool) -> IndicatorData { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 137 | async fn calculate_minfor(&mut self, period: i16) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 156 | pub async fn get_vtrand(&mut self, period: i16, meta: bool) -> IndicatorData { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 177 | async fn calculate_vtrand(&self, hhv: Vec, llv: Vec, period: i16) -> Vec { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 184 | pub async fn get_geomean(&mut self, period: i16, meta: bool) -> IndicatorData { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 201 | async fn calculate_geomean(&mut self, period: i16) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 219 | pub async fn get_amma(&mut self, period: i16, meta: bool) -> IndicatorData { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 237 | async fn calculate_amma(&mut self, period: i16) { [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 252 | pub async fn get_sqwma(&mut self, period: i16, meta: bool) -> IndicatorData { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 269 | async fn calculate_sqwma(&mut self, period: i16) { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 294 | pub async fn get_sinewma(&mut self, period: i16, meta: bool) -> IndicatorData { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 311 | async fn calculate_sinewma(&mut self, period: i16) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 337 | pub async fn get_ama(&mut self, period: i16, meta: bool) -> IndicatorData { [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 354 | async fn calculate_ama(&mut self, period: i16) { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 384 | pub async fn get_zlema(&mut self, period: i16, meta: bool) -> IndicatorData { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 402 | async fn calculate_zlema(&self, data: &Vec, period: i16) -> Vec { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 420 | pub async fn get_ema(&mut self, period: i16, meta: bool) -> IndicatorData { [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 437 | async fn calculate_ema(&mut self, period: i16) { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 452 | pub async fn get_tpbf(&mut self, period: i16, meta: bool) -> IndicatorData { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 472 | async fn calculate_tpbf(&mut self, h: &Vec, l: &Vec, period: i16) { [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 505 | pub async fn get_wma(&mut self, period: i16, meta: bool) -> IndicatorData { [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 523 | async fn calculate_wma(&mut self, period: i16) { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: fields `start`, `stop`, and `step` are never read [INFO] [stderr] --> src/core/agt/indicators/common.rs:4:9 [INFO] [stderr] | [INFO] [stderr] 3 | pub struct OptimizationParam { [INFO] [stderr] | ----------------- fields in this struct [INFO] [stderr] 4 | pub start: i16, [INFO] [stderr] | ^^^^^ [INFO] [stderr] 5 | pub stop: i16, [INFO] [stderr] | ^^^^ [INFO] [stderr] 6 | pub step: i16, [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `OptimizationParam` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: fields `optimization_param` and `multi_indicator` are never read [INFO] [stderr] --> src/core/agt/indicators/common.rs:11:9 [INFO] [stderr] | [INFO] [stderr] 9 | pub struct IndicatorsMeta { [INFO] [stderr] | -------------- fields in this struct [INFO] [stderr] 10 | pub current_param: HashMap, [INFO] [stderr] 11 | pub optimization_param: HashMap, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 15 | pub multi_indicator: bool, [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `IndicatorsMeta` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: field `meta` is never read [INFO] [stderr] --> src/core/agt/indicators/common.rs:20:9 [INFO] [stderr] | [INFO] [stderr] 18 | pub struct IndicatorData { [INFO] [stderr] | ------------- field in this struct [INFO] [stderr] 19 | pub data: Vec, [INFO] [stderr] 20 | pub meta: IndicatorsMeta, [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `IndicatorData` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: fields `open`, `volume`, `timestamp`, and `timeframe` are never read [INFO] [stderr] --> src/core/agt/indicators/source.rs:13:9 [INFO] [stderr] | [INFO] [stderr] 12 | pub struct SourceIndicators { [INFO] [stderr] | ---------------- fields in this struct [INFO] [stderr] 13 | pub open: Vec, [INFO] [stderr] | ^^^^ [INFO] [stderr] ... [INFO] [stderr] 17 | pub volume: Vec, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] 18 | pub timestamp: Vec, [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] 19 | pub timeframe: i16, [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: enum `MAIndicators` is never used [INFO] [stderr] --> src/core/agt/indicators/source.rs:23:10 [INFO] [stderr] | [INFO] [stderr] 23 | pub enum MAIndicators { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: multiple methods are never used [INFO] [stderr] --> src/core/agt/indicators/source.rs:61:18 [INFO] [stderr] | [INFO] [stderr] 34 | impl SourceIndicators { [INFO] [stderr] | --------------------- methods in this implementation [INFO] [stderr] ... [INFO] [stderr] 61 | pub async fn get_atr_old(&mut self, period: i16, meta: bool) -> IndicatorData { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 78 | async fn calculate_atr_old(&self, period: i16) -> Vec { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 100 | async fn true_range_old(&self, i: usize) -> f32 { [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 109 | pub async fn get_atr(&mut self, period: i16, meta: bool) -> IndicatorData { [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 126 | async fn calculate_atr(&self, period: i16) -> Vec { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 139 | async fn true_range(&self, period: usize, bar_num: usize) -> Vec { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 156 | pub async fn get_super_trend( [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 179 | async fn calculate_super_trend(&mut self, period: i16, coeff_atr: i8) -> Vec { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 213 | async fn calculate_median_price(&self) -> Vec { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 222 | pub async fn get_watr(&mut self, period: i16, meta: bool) -> IndicatorData { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 239 | async fn calculate_watr(&self, period: i16) -> Vec { [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: fields `data` and `volume` are never read [INFO] [stderr] --> src/core/agt/candles/source.rs:9:5 [INFO] [stderr] | [INFO] [stderr] 8 | pub struct Source { [INFO] [stderr] | ------ fields in this struct [INFO] [stderr] 9 | data: Vec, [INFO] [stderr] | ^^^^ [INFO] [stderr] ... [INFO] [stderr] 14 | pub volume: Vec, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: enum `Element` is never used [INFO] [stderr] --> src/core/agt/candles/source.rs:19:10 [INFO] [stderr] | [INFO] [stderr] 19 | pub enum Element { [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: enum `MAIndicators` is never used [INFO] [stderr] --> src/core/agt/candles/source.rs:26:10 [INFO] [stderr] | [INFO] [stderr] 26 | pub enum MAIndicators { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: fields `redis_uri`, `rust_log`, `rust_backtrace`, `optimization_param`, and `env_optimization` are never read [INFO] [stderr] --> src/core/settings.rs:6:9 [INFO] [stderr] | [INFO] [stderr] 4 | pub struct Settings { [INFO] [stderr] | -------- fields in this struct [INFO] [stderr] 5 | pub mongodb_uri: String, [INFO] [stderr] 6 | pub redis_uri: String, [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] 7 | pub rust_log: String, [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] 8 | pub rust_backtrace: String, [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] 9 | pub optimization_param: OptimizationParam, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] 10 | pub env_optimization: String, [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `robots` (bin "robots" test) generated 33 warnings (run `cargo fix --bin "robots" --tests` to apply 12 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.23s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/robots-ded2d71588b0ba3f) [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" "4b8d54052ec3094c7b18e57949698397da11c97623a249364e1f92922d788987", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4b8d54052ec3094c7b18e57949698397da11c97623a249364e1f92922d788987", kill_on_drop: false }` [INFO] [stdout] 4b8d54052ec3094c7b18e57949698397da11c97623a249364e1f92922d788987 [INFO] testing aeroalgo/robots against beta-2024-06-22 for beta-1.80-4 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Faeroalgo%2Frobots" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/aeroalgo/robots on toolchain beta-2024-06-22 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2024-06-22" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/aeroalgo/robots [INFO] finished tweaking git repo https://github.com/aeroalgo/robots [INFO] tweaked toml for git repo https://github.com/aeroalgo/robots written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/aeroalgo/robots 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" "+beta-2024-06-22" "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:dff56e7819e73ed36160586b3445e93eb0be776c16704aeeded9c3fb668b2384" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2024-06-22" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 490f4d64159d9889b1a7011e8ed1cc92c4319510805f7d86d8152761c3f01c9f [INFO] running `Command { std: "docker" "start" "-a" "490f4d64159d9889b1a7011e8ed1cc92c4319510805f7d86d8152761c3f01c9f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "490f4d64159d9889b1a7011e8ed1cc92c4319510805f7d86d8152761c3f01c9f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "490f4d64159d9889b1a7011e8ed1cc92c4319510805f7d86d8152761c3f01c9f", kill_on_drop: false }` [INFO] [stdout] 490f4d64159d9889b1a7011e8ed1cc92c4319510805f7d86d8152761c3f01c9f [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=warn" "-e" "RUSTDOCFLAGS=--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:dff56e7819e73ed36160586b3445e93eb0be776c16704aeeded9c3fb668b2384" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2024-06-22" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 36a0f8dfff74bae04b0f784b5efaab1611ec0a0829169145205461a5d39fe9b7 [INFO] running `Command { std: "docker" "start" "-a" "36a0f8dfff74bae04b0f784b5efaab1611ec0a0829169145205461a5d39fe9b7", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.60 [INFO] [stderr] Compiling quote v1.0.28 [INFO] [stderr] Compiling unicode-ident v1.0.9 [INFO] [stderr] Compiling libc v0.2.146 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling serde v1.0.164 [INFO] [stderr] Compiling tokio v1.28.2 [INFO] [stderr] Compiling futures-channel v0.3.28 [INFO] [stderr] Compiling futures-util v0.3.28 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling radium v0.7.0 [INFO] [stderr] Compiling log v0.4.19 [INFO] [stderr] Compiling ahash v0.7.6 [INFO] [stderr] Compiling num-traits v0.2.17 [INFO] [stderr] Compiling tap v1.0.1 [INFO] [stderr] Compiling cpufeatures v0.2.8 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling serde_json v1.0.96 [INFO] [stderr] Compiling rustls v0.20.8 [INFO] [stderr] Compiling match_cfg v0.1.0 [INFO] [stderr] Compiling time-macros v0.2.9 [INFO] [stderr] Compiling lock_api v0.4.10 [INFO] [stderr] Compiling wyz v0.5.1 [INFO] [stderr] Compiling url v2.4.0 [INFO] [stderr] Compiling ipnet v2.7.2 [INFO] [stderr] Compiling linked-hash-map v0.5.6 [INFO] [stderr] Compiling funty v2.0.0 [INFO] [stderr] Compiling quick-error v1.2.3 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling convert_case v0.4.0 [INFO] [stderr] Compiling iana-time-zone v0.1.57 [INFO] [stderr] Compiling base64 v0.21.2 [INFO] [stderr] Compiling pbkdf2 v0.11.0 [INFO] [stderr] Compiling md-5 v0.10.5 [INFO] [stderr] Compiling lru-cache v0.1.2 [INFO] [stderr] Compiling sha2 v0.10.7 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling sha-1 v0.10.1 [INFO] [stderr] Compiling stringprep v0.1.2 [INFO] [stderr] Compiling getrandom v0.2.10 [INFO] [stderr] Compiling signal-hook-registry v1.4.1 [INFO] [stderr] Compiling mio v0.8.8 [INFO] [stderr] Compiling num_cpus v1.15.0 [INFO] [stderr] Compiling socket2 v0.4.9 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Compiling rustc_version_runtime v0.2.1 [INFO] [stderr] Compiling parking_lot_core v0.9.8 [INFO] [stderr] Compiling hostname v0.3.1 [INFO] [stderr] Compiling syn v2.0.18 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling resolv-conf v0.7.0 [INFO] [stderr] Compiling bitvec v1.0.1 [INFO] [stderr] Compiling parking_lot v0.12.1 [INFO] [stderr] Compiling time v0.1.45 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling rustls-pemfile v1.0.2 [INFO] [stderr] Compiling take_mut v0.2.2 [INFO] [stderr] Compiling either v1.8.1 [INFO] [stderr] Compiling sha1 v0.10.5 [INFO] [stderr] Compiling dotenv v0.15.0 [INFO] [stderr] Compiling try-partialord v0.1.3 [INFO] [stderr] Compiling itertools v0.11.0 [INFO] [stderr] Compiling webpki v0.22.0 [INFO] [stderr] Compiling sct v0.7.0 [INFO] [stderr] Compiling chrono v0.4.26 [INFO] [stderr] Compiling webpki-roots v0.22.6 [INFO] [stderr] Compiling time v0.3.22 [INFO] [stdout] error[E0282]: type annotations needed for `Box<_>` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/time-0.3.22/src/format_description/parse/mod.rs:83:9 [INFO] [stdout] | [INFO] [stdout] 83 | let items = format_items [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 86 | Ok(items.into()) [INFO] [stdout] | ---- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `items` an explicit type, where the placeholders `_` are specified [INFO] [stdout] | [INFO] [stdout] 83 | let items: Box<_> = format_items [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stderr] error: could not compile `time` (lib) due to 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "36a0f8dfff74bae04b0f784b5efaab1611ec0a0829169145205461a5d39fe9b7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "36a0f8dfff74bae04b0f784b5efaab1611ec0a0829169145205461a5d39fe9b7", kill_on_drop: false }` [INFO] [stdout] 36a0f8dfff74bae04b0f784b5efaab1611ec0a0829169145205461a5d39fe9b7