[INFO] cloning repository https://github.com/gorilik324/river
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/gorilik324/river" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgorilik324%2Friver", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgorilik324%2Friver'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 997dfad081358184559e53edbaec6d793af0f2f9
[INFO] testing gorilik324/river against 1.98.0-beta.1 for beta-1.98-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgorilik324%2Friver" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/gorilik324/river
[INFO] finished tweaking git repo https://github.com/gorilik324/river
[INFO] tweaked toml for git repo https://github.com/gorilik324/river written to /workspace/builds/worker-2-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/gorilik324/river on toolchain 1.98.0-beta.1
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.98.0-beta.1" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/gorilik324/river 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.98.0-beta.1" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded webpki v0.22.0
[INFO] [stderr]   Downloaded ureq v2.6.2
[INFO] [stderr]   Downloaded proc-macro2 v1.0.55
[INFO] [stderr]   Downloaded webpki-roots v0.22.6
[INFO] [stderr]   Downloaded rustls v0.20.8
[INFO] [stderr]   Downloaded url v2.3.1
[INFO] [stderr]   Downloaded flate2 v1.0.25
[INFO] [stderr]   Downloaded libc v0.2.140
[INFO] [stderr]   Downloaded web-sys v0.3.61
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3d5ced03c013a94a2f102a4510f48a6e9184255caf5fd8244f58017bde7f5210" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 090444664e04ecc24d7946a02db952834f736c24e8e74ef569e2e86fa4109b7a
[INFO] running `Command { std: "docker" "start" "090444664e04ecc24d7946a02db952834f736c24e8e74ef569e2e86fa4109b7a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "090444664e04ecc24d7946a02db952834f736c24e8e74ef569e2e86fa4109b7a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "090444664e04ecc24d7946a02db952834f736c24e8e74ef569e2e86fa4109b7a" "/opt/rustwide/cargo-home/bin/cargo" "+1.98.0-beta.1" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "090444664e04ecc24d7946a02db952834f736c24e8e74ef569e2e86fa4109b7a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "090444664e04ecc24d7946a02db952834f736c24e8e74ef569e2e86fa4109b7a" "/opt/rustwide/cargo-home/bin/cargo" "+1.98.0-beta.1" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling cc v1.0.79
[INFO] [stderr]    Compiling proc-macro2 v1.0.55
[INFO] [stderr]    Compiling libc v0.2.140
[INFO] [stderr]    Compiling untrusted v0.7.1
[INFO] [stderr]    Compiling crc32fast v1.3.2
[INFO] [stderr]    Compiling log v0.4.17
[INFO] [stderr]    Compiling rustls v0.20.8
[INFO] [stderr]    Compiling tinyvec v1.6.0
[INFO] [stderr]    Compiling unicode-bidi v0.3.13
[INFO] [stderr]    Compiling serde_json v1.0.95
[INFO] [stderr]    Compiling miniz_oxide v0.6.2
[INFO] [stderr]    Compiling base64 v0.13.1
[INFO] [stderr]    Compiling dotenv v0.15.0
[INFO] [stderr]    Compiling flate2 v1.0.25
[INFO] [stderr]    Compiling quote v1.0.26
[INFO] [stderr]    Compiling ring v0.16.20
[INFO] [stderr]    Compiling unicode-normalization v0.1.22
[INFO] [stderr]    Compiling syn v2.0.13
[INFO] [stderr]    Compiling idna v0.3.0
[INFO] [stderr]    Compiling url v2.3.1
[INFO] [stderr]    Compiling serde_derive v1.0.159
[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 serde v1.0.159
[INFO] [stderr]    Compiling ureq v2.6.2
[INFO] [stderr]    Compiling stock_market_bot v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: value assigned to `max_streak_count` is never read
[INFO] [stdout]    --> src/client/bar.rs:128:13
[INFO] [stdout]     |
[INFO] [stdout] 128 |             max_streak_count = streak_count;
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: maybe it is overwritten before being read?
[INFO] [stdout]     = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]  --> src/indicators/exponential_moving_average.rs:6:9
[INFO] [stdout]   |
[INFO] [stdout] 6 |     let mut alpha = 2.0 / (period as f32 + 1.0);
[INFO] [stdout]   |         ----^^^^^
[INFO] [stdout]   |         |
[INFO] [stdout]   |         help: remove this `mut`
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `symbol` and `next_page_token` are never read
[INFO] [stdout]   --> src/client/mod.rs:29:13
[INFO] [stdout]    |
[INFO] [stdout] 27 |         struct Res {
[INFO] [stdout]    |                --- fields in this struct
[INFO] [stdout] 28 |             bars: Option<Vec<Bar>>,
[INFO] [stdout] 29 |             symbol: String,
[INFO] [stdout]    |             ^^^^^^
[INFO] [stdout] 30 |             next_page_token: Option<String>,
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `trend`, `close`, `high`, `low`, and `mean_threshold` are never read
[INFO] [stdout]   --> src/client/bar.rs:25:5
[INFO] [stdout]    |
[INFO] [stdout] 24 | pub struct OrderBlock {
[INFO] [stdout]    |            ---------- fields in this struct
[INFO] [stdout] 25 |     trend: Trend,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout] 26 |     close: f32,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout] 27 |     high: f32,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] 28 |     low: f32,
[INFO] [stdout]    |     ^^^
[INFO] [stdout] 29 |     mean_threshold: f32,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `OrderBlock` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated functions `all_highs`, `all_lows`, and `all_closes` are never used
[INFO] [stdout]   --> src/client/bar.rs:34:8
[INFO] [stdout]    |
[INFO] [stdout] 33 | impl BarSet {
[INFO] [stdout]    | ----------- associated functions in this implementation
[INFO] [stdout] 34 |     fn all_highs(bars: &[Bar]) -> Vec<f32> {
[INFO] [stdout]    |        ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 44 |     fn all_lows(bars: &[Bar]) -> Vec<f32> {
[INFO] [stdout]    |        ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 54 |     fn all_closes(bars: &[Bar]) -> Vec<f32> {
[INFO] [stdout]    |        ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::collections::LinkedList`
[INFO] [stdout]  --> src/main.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::collections::LinkedList;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 15.28s
[INFO] running `Command { std: "docker" "inspect" "090444664e04ecc24d7946a02db952834f736c24e8e74ef569e2e86fa4109b7a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "090444664e04ecc24d7946a02db952834f736c24e8e74ef569e2e86fa4109b7a" "/opt/rustwide/cargo-home/bin/cargo" "+1.98.0-beta.1" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] warning: value assigned to `max_streak_count` is never read
[INFO] [stdout]    --> src/client/bar.rs:128:13
[INFO] [stdout]     |
[INFO] [stdout] 128 |             max_streak_count = streak_count;
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: maybe it is overwritten before being read?
[INFO] [stdout]     = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]  --> src/indicators/exponential_moving_average.rs:6:9
[INFO] [stdout]   |
[INFO] [stdout] 6 |     let mut alpha = 2.0 / (period as f32 + 1.0);
[INFO] [stdout]   |         ----^^^^^
[INFO] [stdout]   |         |
[INFO] [stdout]   |         help: remove this `mut`
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `symbol` and `next_page_token` are never read
[INFO] [stdout]   --> src/client/mod.rs:29:13
[INFO] [stdout]    |
[INFO] [stdout] 27 |         struct Res {
[INFO] [stdout]    |                --- fields in this struct
[INFO] [stdout] 28 |             bars: Option<Vec<Bar>>,
[INFO] [stdout] 29 |             symbol: String,
[INFO] [stdout]    |             ^^^^^^
[INFO] [stdout] 30 |             next_page_token: Option<String>,
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Compiling stock_market_bot v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: fields `trend`, `close`, `high`, `low`, and `mean_threshold` are never read
[INFO] [stdout]   --> src/client/bar.rs:25:5
[INFO] [stdout]    |
[INFO] [stdout] 24 | pub struct OrderBlock {
[INFO] [stdout]    |            ---------- fields in this struct
[INFO] [stdout] 25 |     trend: Trend,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout] 26 |     close: f32,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout] 27 |     high: f32,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] 28 |     low: f32,
[INFO] [stdout]    |     ^^^
[INFO] [stdout] 29 |     mean_threshold: f32,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `OrderBlock` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated functions `all_highs`, `all_lows`, and `all_closes` are never used
[INFO] [stdout]   --> src/client/bar.rs:34:8
[INFO] [stdout]    |
[INFO] [stdout] 33 | impl BarSet {
[INFO] [stdout]    | ----------- associated functions in this implementation
[INFO] [stdout] 34 |     fn all_highs(bars: &[Bar]) -> Vec<f32> {
[INFO] [stdout]    |        ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 44 |     fn all_lows(bars: &[Bar]) -> Vec<f32> {
[INFO] [stdout]    |        ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 54 |     fn all_closes(bars: &[Bar]) -> Vec<f32> {
[INFO] [stdout]    |        ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::collections::LinkedList`
[INFO] [stdout]  --> src/main.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::collections::LinkedList;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `max_streak_count` is never read
[INFO] [stdout]    --> src/client/bar.rs:128:13
[INFO] [stdout]     |
[INFO] [stdout] 128 |             max_streak_count = streak_count;
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: maybe it is overwritten before being read?
[INFO] [stdout]     = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]  --> src/indicators/exponential_moving_average.rs:6:9
[INFO] [stdout]   |
[INFO] [stdout] 6 |     let mut alpha = 2.0 / (period as f32 + 1.0);
[INFO] [stdout]   |         ----^^^^^
[INFO] [stdout]   |         |
[INFO] [stdout]   |         help: remove this `mut`
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `result`
[INFO] [stdout]   --> src/indicators/exponential_moving_average.rs:52:13
[INFO] [stdout]    |
[INFO] [stdout] 52 |         let result = exponential_moving_average(&data, 41);
[INFO] [stdout]    |             ^^^^^^ help: if this is intentional, prefix it with an underscore: `_result`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `result`
[INFO] [stdout]   --> src/indicators/relative_strength_index.rs:65:13
[INFO] [stdout]    |
[INFO] [stdout] 65 |         let result = relative_strength_index(&data);
[INFO] [stdout]    |             ^^^^^^ help: if this is intentional, prefix it with an underscore: `_result`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `result`
[INFO] [stdout]   --> src/indicators/moving_avg_convergent_divergent.rs:73:13
[INFO] [stdout]    |
[INFO] [stdout] 73 |         let result = moving_avg_convergent_divergent(&data);
[INFO] [stdout]    |             ^^^^^^ help: if this is intentional, prefix it with an underscore: `_result`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `result`
[INFO] [stdout]   --> src/indicators/bollinger_bands.rs:64:13
[INFO] [stdout]    |
[INFO] [stdout] 64 |         let result = bollinger_bands(&data);
[INFO] [stdout]    |             ^^^^^^ help: if this is intentional, prefix it with an underscore: `_result`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `symbol` and `next_page_token` are never read
[INFO] [stdout]   --> src/client/mod.rs:29:13
[INFO] [stdout]    |
[INFO] [stdout] 27 |         struct Res {
[INFO] [stdout]    |                --- fields in this struct
[INFO] [stdout] 28 |             bars: Option<Vec<Bar>>,
[INFO] [stdout] 29 |             symbol: String,
[INFO] [stdout]    |             ^^^^^^
[INFO] [stdout] 30 |             next_page_token: Option<String>,
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `trend`, `close`, `high`, `low`, and `mean_threshold` are never read
[INFO] [stdout]   --> src/client/bar.rs:25:5
[INFO] [stdout]    |
[INFO] [stdout] 24 | pub struct OrderBlock {
[INFO] [stdout]    |            ---------- fields in this struct
[INFO] [stdout] 25 |     trend: Trend,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout] 26 |     close: f32,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout] 27 |     high: f32,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] 28 |     low: f32,
[INFO] [stdout]    |     ^^^
[INFO] [stdout] 29 |     mean_threshold: f32,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `OrderBlock` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated functions `all_highs`, `all_lows`, and `all_closes` are never used
[INFO] [stdout]   --> src/client/bar.rs:34:8
[INFO] [stdout]    |
[INFO] [stdout] 33 | impl BarSet {
[INFO] [stdout]    | ----------- associated functions in this implementation
[INFO] [stdout] 34 |     fn all_highs(bars: &[Bar]) -> Vec<f32> {
[INFO] [stdout]    |        ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 44 |     fn all_lows(bars: &[Bar]) -> Vec<f32> {
[INFO] [stdout]    |        ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 54 |     fn all_closes(bars: &[Bar]) -> Vec<f32> {
[INFO] [stdout]    |        ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.89s
[INFO] running `Command { std: "docker" "inspect" "090444664e04ecc24d7946a02db952834f736c24e8e74ef569e2e86fa4109b7a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "090444664e04ecc24d7946a02db952834f736c24e8e74ef569e2e86fa4109b7a" "/opt/rustwide/cargo-home/bin/cargo" "+1.98.0-beta.1" "test" "--frozen", kill_on_drop: false }`
[INFO] [stderr] warning: value assigned to `max_streak_count` is never read
[INFO] [stderr]    --> src/client/bar.rs:128:13
[INFO] [stderr]     |
[INFO] [stderr] 128 |             max_streak_count = streak_count;
[INFO] [stderr]     |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = help: maybe it is overwritten before being read?
[INFO] [stderr]     = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: variable does not need to be mutable
[INFO] [stderr]  --> src/indicators/exponential_moving_average.rs:6:9
[INFO] [stderr]   |
[INFO] [stderr] 6 |     let mut alpha = 2.0 / (period as f32 + 1.0);
[INFO] [stderr]   |         ----^^^^^
[INFO] [stderr]   |         |
[INFO] [stderr]   |         help: remove this `mut`
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: fields `symbol` and `next_page_token` are never read
[INFO] [stderr]   --> src/client/mod.rs:29:13
[INFO] [stderr]    |
[INFO] [stderr] 27 |         struct Res {
[INFO] [stderr]    |                --- fields in this struct
[INFO] [stderr] 28 |             bars: Option<Vec<Bar>>,
[INFO] [stderr] 29 |             symbol: String,
[INFO] [stderr]    |             ^^^^^^
[INFO] [stderr] 30 |             next_page_token: Option<String>,
[INFO] [stderr]    |             ^^^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: fields `trend`, `close`, `high`, `low`, and `mean_threshold` are never read
[INFO] [stderr]   --> src/client/bar.rs:25:5
[INFO] [stderr]    |
[INFO] [stderr] 24 | pub struct OrderBlock {
[INFO] [stderr]    |            ---------- fields in this struct
[INFO] [stderr] 25 |     trend: Trend,
[INFO] [stderr]    |     ^^^^^
[INFO] [stderr] 26 |     close: f32,
[INFO] [stderr]    |     ^^^^^
[INFO] [stderr] 27 |     high: f32,
[INFO] [stderr]    |     ^^^^
[INFO] [stderr] 28 |     low: f32,
[INFO] [stderr]    |     ^^^
[INFO] [stderr] 29 |     mean_threshold: f32,
[INFO] [stderr]    |     ^^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `OrderBlock` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stderr] 
[INFO] [stderr] warning: associated functions `all_highs`, `all_lows`, and `all_closes` are never used
[INFO] [stderr]   --> src/client/bar.rs:34:8
[INFO] [stderr]    |
[INFO] [stderr] 33 | impl BarSet {
[INFO] [stderr]    | ----------- associated functions in this implementation
[INFO] [stderr] 34 |     fn all_highs(bars: &[Bar]) -> Vec<f32> {
[INFO] [stderr]    |        ^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 44 |     fn all_lows(bars: &[Bar]) -> Vec<f32> {
[INFO] [stderr]    |        ^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 54 |     fn all_closes(bars: &[Bar]) -> Vec<f32> {
[INFO] [stderr]    |        ^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `result`
[INFO] [stderr]   --> src/indicators/exponential_moving_average.rs:52:13
[INFO] [stderr]    |
[INFO] [stderr] 52 |         let result = exponential_moving_average(&data, 41);
[INFO] [stderr]    |             ^^^^^^ help: if this is intentional, prefix it with an underscore: `_result`
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `result`
[INFO] [stderr]   --> src/indicators/relative_strength_index.rs:65:13
[INFO] [stderr]    |
[INFO] [stderr] 65 |         let result = relative_strength_index(&data);
[INFO] [stderr]    |             ^^^^^^ help: if this is intentional, prefix it with an underscore: `_result`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `result`
[INFO] [stderr]   --> src/indicators/moving_avg_convergent_divergent.rs:73:13
[INFO] [stderr]    |
[INFO] [stderr] 73 |         let result = moving_avg_convergent_divergent(&data);
[INFO] [stderr]    |             ^^^^^^ help: if this is intentional, prefix it with an underscore: `_result`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `result`
[INFO] [stderr]   --> src/indicators/bollinger_bands.rs:64:13
[INFO] [stderr]    |
[INFO] [stderr] 64 |         let result = bollinger_bands(&data);
[INFO] [stderr]    |             ^^^^^^ help: if this is intentional, prefix it with an underscore: `_result`
[INFO] [stderr] 
[INFO] [stderr] warning: `stock_market_bot` (lib) generated 5 warnings (run `cargo fix --lib -p stock_market_bot` to apply 1 suggestion)
[INFO] [stderr] warning: `stock_market_bot` (lib test) generated 9 warnings (5 duplicates) (run `cargo fix --lib -p stock_market_bot --tests` to apply 4 suggestions)
[INFO] [stderr] warning: unused import: `std::collections::LinkedList`
[INFO] [stderr]  --> src/main.rs:2:5
[INFO] [stderr]   |
[INFO] [stderr] 2 | use std::collections::LinkedList;
[INFO] [stderr]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: `stock_market_bot` (bin "bot" test) generated 1 warning (run `cargo fix --bin "bot" -p stock_market_bot --tests` to apply 1 suggestion)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.07s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/river-f9eb745fb0bc0328)
[INFO] [stdout] 
[INFO] [stdout] running 12 tests
[INFO] [stdout] test indicators::bollinger_bands::tests::test_bollinger_bands_result ... ok
[INFO] [stdout] test indicators::exponential_moving_average::tests::test_ema_result ... ok
[INFO] [stdout] test indicators::moving_avg_convergent_divergent::tests::test_macd_result ... ok
[INFO] [stdout] test indicators::relative_strength_index::tests::test_rsi_result ... ok
[INFO] [stdout] test indicators::simple_moving_average::tests::test_sma_decimals ... ok
[INFO] [stdout] test indicators::simple_moving_average::tests::test_sma_short ... ok
[INFO] [stdout] test indicators::simple_moving_average::tests::test_sma_wholes ... ok
[INFO] [stdout] test indicators::standard_deviation::tests::test_standard_deviation_results ... ok
[INFO] [stderr]      Running unittests src/main.rs (/opt/rustwide/target/debug/deps/bot-2e23f4eb064df3da)
[INFO] [stdout] test indicators::moving_avg_convergent_divergent::tests::test_macd_error - should panic ... ok
[INFO] [stdout] test indicators::bollinger_bands::tests::test_ema_error - should panic ... ok
[INFO] [stdout] test indicators::relative_strength_index::tests::test_rsi_error - should panic ... ok
[INFO] [stdout] test indicators::exponential_moving_average::tests::test_ema_error - should panic ... ok
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 12 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.02s
[INFO] [stdout] 
[INFO] [stderr]    Doc-tests river
[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] [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" "090444664e04ecc24d7946a02db952834f736c24e8e74ef569e2e86fa4109b7a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "090444664e04ecc24d7946a02db952834f736c24e8e74ef569e2e86fa4109b7a", kill_on_drop: false }`
[INFO] [stdout] 090444664e04ecc24d7946a02db952834f736c24e8e74ef569e2e86fa4109b7a
