[INFO] cloning repository https://github.com/osobiehl/rust-number-crunch
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/osobiehl/rust-number-crunch" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fosobiehl%2Frust-number-crunch", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fosobiehl%2Frust-number-crunch'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 1cf4c43420aca9756e537c7d5c4d43ae53e09625
[INFO] checking osobiehl/rust-number-crunch against master#bca37a20bd376ce3fd138e7cdee7fe704e0f8814 for pr-139493-3
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fosobiehl%2Frust-number-crunch" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/osobiehl/rust-number-crunch
[INFO] finished tweaking git repo https://github.com/osobiehl/rust-number-crunch
[INFO] tweaked toml for git repo https://github.com/osobiehl/rust-number-crunch written to /workspace/builds/worker-4-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/osobiehl/rust-number-crunch on toolchain bca37a20bd376ce3fd138e7cdee7fe704e0f8814
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+bca37a20bd376ce3fd138e7cdee7fe704e0f8814" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/osobiehl/rust-number-crunch 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" "+bca37a20bd376ce3fd138e7cdee7fe704e0f8814" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded num-traits v0.2.15
[INFO] [stderr]   Downloaded ordered-float v0.5.2
[INFO] [stderr]   Downloaded either v1.8.0
[INFO] [stderr]   Downloaded wasm-bindgen-shared v0.2.83
[INFO] [stderr]   Downloaded crossbeam-deque v0.8.2
[INFO] [stderr]   Downloaded iana-time-zone v0.1.50
[INFO] [stderr]   Downloaded num-integer v0.1.45
[INFO] [stderr]   Downloaded js-sys v0.3.60
[INFO] [stderr]   Downloaded rayon-core v1.9.3
[INFO] [stderr]   Downloaded crossbeam-channel v0.5.6
[INFO] [stderr]   Downloaded rayon v1.5.3
[INFO] [stderr]   Downloaded wasm-bindgen-macro-support v0.2.83
[INFO] [stderr]   Downloaded wasm-bindgen v0.2.83
[INFO] [stderr]   Downloaded chrono v0.4.22
[INFO] [stderr]   Downloaded crossbeam-epoch v0.9.10
[INFO] [stderr]   Downloaded crossbeam-utils v0.8.11
[INFO] [stderr]   Downloaded wasm-bindgen-macro v0.2.83
[INFO] [stderr]   Downloaded wasm-bindgen-backend v0.2.83
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+bca37a20bd376ce3fd138e7cdee7fe704e0f8814" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 6ef6ad6a74d3268ccc280584e1125717c45b4619752e3a3199f5cf43d7823876
[INFO] running `Command { std: "docker" "start" "-a" "6ef6ad6a74d3268ccc280584e1125717c45b4619752e3a3199f5cf43d7823876", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "6ef6ad6a74d3268ccc280584e1125717c45b4619752e3a3199f5cf43d7823876", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "6ef6ad6a74d3268ccc280584e1125717c45b4619752e3a3199f5cf43d7823876", kill_on_drop: false }`
[INFO] [stdout] 6ef6ad6a74d3268ccc280584e1125717c45b4619752e3a3199f5cf43d7823876
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+bca37a20bd376ce3fd138e7cdee7fe704e0f8814" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] e8c4f72417ba76b944403b658bb7b7916c6e6682260177d42ef4ecc91d324caf
[INFO] running `Command { std: "docker" "start" "-a" "e8c4f72417ba76b944403b658bb7b7916c6e6682260177d42ef4ecc91d324caf", kill_on_drop: false }`
[INFO] [stderr]    Compiling crossbeam-utils v0.8.11
[INFO] [stderr]    Compiling memoffset v0.6.5
[INFO] [stderr]    Compiling num-traits v0.2.15
[INFO] [stderr]    Compiling syn v1.0.99
[INFO] [stderr]    Compiling crossbeam-epoch v0.9.10
[INFO] [stderr]     Checking scopeguard v1.1.0
[INFO] [stderr]    Compiling rayon-core v1.9.3
[INFO] [stderr]    Compiling num-integer v0.1.45
[INFO] [stderr]    Compiling rayon v1.5.3
[INFO] [stderr]     Checking void v1.0.2
[INFO] [stderr]     Checking either v1.8.0
[INFO] [stderr]     Checking time v0.1.44
[INFO] [stderr]     Checking iana-time-zone v0.1.50
[INFO] [stderr]     Checking unreachable v1.0.0
[INFO] [stderr]     Checking crossbeam-channel v0.5.6
[INFO] [stderr]     Checking crossbeam-deque v0.8.2
[INFO] [stderr]     Checking num-traits v0.1.43
[INFO] [stderr]     Checking ordered-float v0.5.2
[INFO] [stderr]     Checking chrono v0.4.22
[INFO] [stderr]    Compiling serde_derive v1.0.144
[INFO] [stderr]     Checking serde v1.0.144
[INFO] [stderr]     Checking bstr v0.2.17
[INFO] [stderr]     Checking csv v1.1.6
[INFO] [stderr]     Checking NASDAQ v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `ordered_float::NotNaN`
[INFO] [stdout]  --> src/main.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use ordered_float::NotNaN;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `rayon::array::IntoIter`
[INFO] [stdout]  --> src/main.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use rayon::array::IntoIter;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::error::Error`
[INFO] [stdout]  --> src/main.rs:9:5
[INFO] [stdout]   |
[INFO] [stdout] 9 | use std::error::Error;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::fmt::Binary`
[INFO] [stdout]   --> src/main.rs:10:5
[INFO] [stdout]    |
[INFO] [stdout] 10 | use std::fmt::Binary;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::io`
[INFO] [stdout]   --> src/main.rs:12:5
[INFO] [stdout]    |
[INFO] [stdout] 12 | use std::io;
[INFO] [stdout]    |     ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::process`
[INFO] [stdout]   --> src/main.rs:14:5
[INFO] [stdout]    |
[INFO] [stdout] 14 | use std::process;
[INFO] [stdout]    |     ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::time`
[INFO] [stdout]   --> src/main.rs:15:5
[INFO] [stdout]    |
[INFO] [stdout] 15 | use std::time;
[INFO] [stdout]    |     ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Date`, `Duration`, and `NaiveDateTime`
[INFO] [stdout]  --> src/s_and_p.rs:3:14
[INFO] [stdout]   |
[INFO] [stdout] 3 | use chrono::{Duration, DateTime, Date,NaiveDateTime};
[INFO] [stdout]   |              ^^^^^^^^            ^^^^ ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Serialize`
[INFO] [stdout]  --> src/s_and_p.rs:5:26
[INFO] [stdout]   |
[INFO] [stdout] 5 | use serde::{Deserialize, Serialize};
[INFO] [stdout]   |                          ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `StockInvestment`
[INFO] [stdout]  --> src/s_and_p.rs:7:47
[INFO] [stdout]   |
[INFO] [stdout] 7 | use crate::stock_action::StockAction::{Stock, StockInvestment};
[INFO] [stdout]   |                                               ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `BuyableSecurity`
[INFO] [stdout]  --> src/simulation.rs:1:40
[INFO] [stdout]   |
[INFO] [stdout] 1 | use crate::stock_action::StockAction::{BuyableSecurity, Stock, StockAction};
[INFO] [stdout]   |                                        ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Date` and `format::Fixed`
[INFO] [stdout]  --> src/simulation.rs:2:14
[INFO] [stdout]   |
[INFO] [stdout] 2 | use chrono::{format::Fixed, Date, DateTime, Duration, Utc};
[INFO] [stdout]   |              ^^^^^^^^^^^^^  ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `rayon::result`
[INFO] [stdout]  --> src/simulation.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use rayon::result;
[INFO] [stdout]   |     ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::cmp::Reverse`
[INFO] [stdout]  --> src/simulation.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use std::cmp::Reverse;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `fmt::Debug` and `ops::Not`
[INFO] [stdout]  --> src/simulation.rs:6:36
[INFO] [stdout]   |
[INFO] [stdout] 6 | use std::{collections::BinaryHeap, fmt::Debug, marker::PhantomData, ops::Not};
[INFO] [stdout]   |                                    ^^^^^^^^^^                       ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Duration`
[INFO] [stdout]  --> src/stock_action.rs:3:30
[INFO] [stdout]   |
[INFO] [stdout] 3 |     use chrono::{prelude::*, Duration, DateTime};
[INFO] [stdout]   |                              ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::ops::Not`
[INFO] [stdout]  --> src/dynamic_simulation.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::ops::Not;
[INFO] [stdout]   |     ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `StockSimulation`
[INFO] [stdout]  --> src/dynamic_simulation.rs:6:72
[INFO] [stdout]   |
[INFO] [stdout] 6 | use crate::simulation::{InvestmentStrategy, DollarCostAveragingLinear, StockSimulation};
[INFO] [stdout]   |                                                                        ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `BestCaseSAndP`
[INFO] [stdout]   --> src/main.rs:21:15
[INFO] [stdout]    |
[INFO] [stdout] 21 | use s_and_p::{BestCaseSAndP, SAndPHistoricalDaily, SAndPHistoricalDailyRaw, WorstCaseSAndP};
[INFO] [stdout]    |               ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `stock_action::StockAction::StockAction`
[INFO] [stdout]   --> src/main.rs:23:5
[INFO] [stdout]    |
[INFO] [stdout] 23 | use stock_action::StockAction::StockAction;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Generator`
[INFO] [stdout]   --> src/main.rs:24:51
[INFO] [stdout]    |
[INFO] [stdout] 24 | use dynamic_simulation::{DCAWithTrailingStopLoss, Generator, TimeVariantPercentage};
[INFO] [stdout]    |                                                   ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `ordered_float::NotNaN`
[INFO] [stdout]  --> src/main.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use ordered_float::NotNaN;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `rayon::array::IntoIter`
[INFO] [stdout]  --> src/main.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use rayon::array::IntoIter;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::error::Error`
[INFO] [stdout]  --> src/main.rs:9:5
[INFO] [stdout]   |
[INFO] [stdout] 9 | use std::error::Error;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::fmt::Binary`
[INFO] [stdout]   --> src/main.rs:10:5
[INFO] [stdout]    |
[INFO] [stdout] 10 | use std::fmt::Binary;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::io`
[INFO] [stdout]   --> src/main.rs:12:5
[INFO] [stdout]    |
[INFO] [stdout] 12 | use std::io;
[INFO] [stdout]    |     ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::process`
[INFO] [stdout]   --> src/main.rs:14:5
[INFO] [stdout]    |
[INFO] [stdout] 14 | use std::process;
[INFO] [stdout]    |     ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::time`
[INFO] [stdout]   --> src/main.rs:15:5
[INFO] [stdout]    |
[INFO] [stdout] 15 | use std::time;
[INFO] [stdout]    |     ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Date`, `Duration`, and `NaiveDateTime`
[INFO] [stdout]  --> src/s_and_p.rs:3:14
[INFO] [stdout]   |
[INFO] [stdout] 3 | use chrono::{Duration, DateTime, Date,NaiveDateTime};
[INFO] [stdout]   |              ^^^^^^^^            ^^^^ ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Serialize`
[INFO] [stdout]  --> src/s_and_p.rs:5:26
[INFO] [stdout]   |
[INFO] [stdout] 5 | use serde::{Deserialize, Serialize};
[INFO] [stdout]   |                          ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `StockInvestment`
[INFO] [stdout]  --> src/s_and_p.rs:7:47
[INFO] [stdout]   |
[INFO] [stdout] 7 | use crate::stock_action::StockAction::{Stock, StockInvestment};
[INFO] [stdout]   |                                               ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `BuyableSecurity`
[INFO] [stdout]  --> src/simulation.rs:1:40
[INFO] [stdout]   |
[INFO] [stdout] 1 | use crate::stock_action::StockAction::{BuyableSecurity, Stock, StockAction};
[INFO] [stdout]   |                                        ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Date` and `format::Fixed`
[INFO] [stdout]  --> src/simulation.rs:2:14
[INFO] [stdout]   |
[INFO] [stdout] 2 | use chrono::{format::Fixed, Date, DateTime, Duration, Utc};
[INFO] [stdout]   |              ^^^^^^^^^^^^^  ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `rayon::result`
[INFO] [stdout]  --> src/simulation.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use rayon::result;
[INFO] [stdout]   |     ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::cmp::Reverse`
[INFO] [stdout]  --> src/simulation.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use std::cmp::Reverse;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `fmt::Debug` and `ops::Not`
[INFO] [stdout]  --> src/simulation.rs:6:36
[INFO] [stdout]   |
[INFO] [stdout] 6 | use std::{collections::BinaryHeap, fmt::Debug, marker::PhantomData, ops::Not};
[INFO] [stdout]   |                                    ^^^^^^^^^^                       ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Duration`
[INFO] [stdout]  --> src/stock_action.rs:3:30
[INFO] [stdout]   |
[INFO] [stdout] 3 |     use chrono::{prelude::*, Duration, DateTime};
[INFO] [stdout]   |                              ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::ops::Not`
[INFO] [stdout]  --> src/dynamic_simulation.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::ops::Not;
[INFO] [stdout]   |     ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `StockSimulation`
[INFO] [stdout]  --> src/dynamic_simulation.rs:6:72
[INFO] [stdout]   |
[INFO] [stdout] 6 | use crate::simulation::{InvestmentStrategy, DollarCostAveragingLinear, StockSimulation};
[INFO] [stdout]   |                                                                        ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `BestCaseSAndP`
[INFO] [stdout]   --> src/main.rs:21:15
[INFO] [stdout]    |
[INFO] [stdout] 21 | use s_and_p::{BestCaseSAndP, SAndPHistoricalDaily, SAndPHistoricalDailyRaw, WorstCaseSAndP};
[INFO] [stdout]    |               ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `stock_action::StockAction::StockAction`
[INFO] [stdout]   --> src/main.rs:23:5
[INFO] [stdout]    |
[INFO] [stdout] 23 | use stock_action::StockAction::StockAction;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Generator`
[INFO] [stdout]   --> src/main.rs:24:51
[INFO] [stdout]    |
[INFO] [stdout] 24 | use dynamic_simulation::{DCAWithTrailingStopLoss, Generator, TimeVariantPercentage};
[INFO] [stdout]    |                                                   ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `InvestmentStrategy`
[INFO] [stdout]   --> src/main.rs:22:45
[INFO] [stdout]    |
[INFO] [stdout] 22 | use simulation::{DollarCostAveragingLinear, InvestmentStrategy, Simulation};
[INFO] [stdout]    |                                             ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `rayon::prelude`
[INFO] [stdout]  --> src/main.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | use rayon::prelude::*;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `e`
[INFO] [stdout]   --> src/s_and_p.rs:34:13
[INFO] [stdout]    |
[INFO] [stdout] 34 |         Err(e) => Err(SandPConversionError::IsNaNError)
[INFO] [stdout]    |             ^ help: if this is intentional, prefix it with an underscore: `_e`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `positions`
[INFO] [stdout]   --> src/simulation.rs:44:9
[INFO] [stdout]    |
[INFO] [stdout] 44 |         positions: &mut BinaryHeap<T>,
[INFO] [stdout]    |         ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_positions`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `current_stock`
[INFO] [stdout]   --> src/simulation.rs:45:9
[INFO] [stdout]    |
[INFO] [stdout] 45 |         current_stock: &S,
[INFO] [stdout]    |         ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_current_stock`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `amount`
[INFO] [stdout]   --> src/simulation.rs:55:32
[INFO] [stdout]    |
[INFO] [stdout] 55 |     fn return_funds(&mut self, amount: f32) {
[INFO] [stdout]    |                                ^^^^^^ help: if this is intentional, prefix it with an underscore: `_amount`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/main.rs:33:9
[INFO] [stdout]    |
[INFO] [stdout] 33 |     let mut vals = fs::read_to_string(fname).unwrap();
[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: variable does not need to be mutable
[INFO] [stdout]   --> src/main.rs:46:9
[INFO] [stdout]    |
[INFO] [stdout] 46 |     let mut elements: Vec<SAndPHistoricalDaily> = vec![];
[INFO] [stdout]    |         ----^^^^^^^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `elements`
[INFO] [stdout]   --> src/main.rs:46:9
[INFO] [stdout]    |
[INFO] [stdout] 46 |     let mut elements: Vec<SAndPHistoricalDaily> = vec![];
[INFO] [stdout]    |         ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_elements`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `SAndPSimulation` is never constructed
[INFO] [stdout]   --> src/main.rs:25:8
[INFO] [stdout]    |
[INFO] [stdout] 25 | struct SAndPSimulation {}
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `remove_shitty_csv` is never used
[INFO] [stdout]   --> src/main.rs:32:4
[INFO] [stdout]    |
[INFO] [stdout] 32 | fn remove_shitty_csv(fname: &str) -> () {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `open` and `close` are never read
[INFO] [stdout]   --> src/s_and_p.rs:20:5
[INFO] [stdout]    |
[INFO] [stdout] 18 | pub  struct SAndPHistoricalDaily{
[INFO] [stdout]    |             -------------------- fields in this struct
[INFO] [stdout] 19 |     date: DateTime<Utc>,
[INFO] [stdout] 20 |     open: NotNaN<f32>,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 23 |     close: NotNaN<f32>,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `SAndPHistoricalDaily` 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: struct `BestCaseSAndP` is never constructed
[INFO] [stdout]   --> src/s_and_p.rs:75:12
[INFO] [stdout]    |
[INFO] [stdout] 75 | pub struct BestCaseSAndP(pub SAndPHistoricalDaily);
[INFO] [stdout]    |            ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `StockActionFailure` is never used
[INFO] [stdout]  --> src/stock_action.rs:5:14
[INFO] [stdout]   |
[INFO] [stdout] 5 |     pub enum StockActionFailure {
[INFO] [stdout]   |              ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `WillImmediatelyCashOut` is never constructed
[INFO] [stdout]   --> src/stock_action.rs:19:9
[INFO] [stdout]    |
[INFO] [stdout] 17 |     pub enum StopLossFailure {
[INFO] [stdout]    |              --------------- variant in this enum
[INFO] [stdout] 18 |         UnderWipeout,
[INFO] [stdout] 19 |         WillImmediatelyCashOut,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `get_max`, `get_min`, and `get_leverage` are never used
[INFO] [stdout]   --> src/stock_action.rs:36:12
[INFO] [stdout]    |
[INFO] [stdout] 29 |     pub trait StockAction<T: BuyableSecurity>: Debug {
[INFO] [stdout]    |               ----------- methods in this trait
[INFO] [stdout] ...
[INFO] [stdout] 36 |         fn get_max(&self) -> &StockTimeSnapshot;
[INFO] [stdout]    |            ^^^^^^^
[INFO] [stdout] 37 |         fn get_min(&self) -> &StockTimeSnapshot;
[INFO] [stdout]    |            ^^^^^^^
[INFO] [stdout] 38 |         fn get_leverage(&self) -> NotNaN<f32>;
[INFO] [stdout]    |            ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `get_price` is never used
[INFO] [stdout]   --> src/stock_action.rs:42:12
[INFO] [stdout]    |
[INFO] [stdout] 41 |     pub trait BuyableSecurity: Debug {
[INFO] [stdout]    |               --------------- method in this trait
[INFO] [stdout] 42 |         fn get_price(&self) -> NotNaN<f32>;
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `invested_at` is never read
[INFO] [stdout]   --> src/stock_action.rs:55:9
[INFO] [stdout]    |
[INFO] [stdout] 51 |     pub struct StockInvestment {
[INFO] [stdout]    |                --------------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 55 |         invested_at: DateTime<Utc>,
[INFO] [stdout]    |         ^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `StockInvestment` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: structure field `Date` should have a snake case name
[INFO] [stdout]   --> src/s_and_p.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout] 11 |     Date: String,
[INFO] [stdout]    |     ^^^^ help: convert the identifier to snake case: `date`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: structure field `Open` should have a snake case name
[INFO] [stdout]   --> src/s_and_p.rs:12:5
[INFO] [stdout]    |
[INFO] [stdout] 12 |     Open: f32,
[INFO] [stdout]    |     ^^^^ help: convert the identifier to snake case (notice the capitalization): `open`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: structure field `High` should have a snake case name
[INFO] [stdout]   --> src/s_and_p.rs:13:5
[INFO] [stdout]    |
[INFO] [stdout] 13 |     High: f32,
[INFO] [stdout]    |     ^^^^ help: convert the identifier to snake case: `high`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: structure field `Low` should have a snake case name
[INFO] [stdout]   --> src/s_and_p.rs:14:5
[INFO] [stdout]    |
[INFO] [stdout] 14 |     Low: f32,
[INFO] [stdout]    |     ^^^ help: convert the identifier to snake case: `low`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: structure field `Close` should have a snake case name
[INFO] [stdout]   --> src/s_and_p.rs:15:5
[INFO] [stdout]    |
[INFO] [stdout] 15 |     Close: f32,
[INFO] [stdout]    |     ^^^^^ help: convert the identifier to snake case (notice the capitalization): `close`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `ToNotNaN` should have a snake case name
[INFO] [stdout]   --> src/s_and_p.rs:31:4
[INFO] [stdout]    |
[INFO] [stdout] 31 | fn ToNotNaN(f: f32)->Result<NotNaN<f32>, SandPConversionError>{
[INFO] [stdout]    |    ^^^^^^^^ help: convert the identifier to snake case: `to_not_na_n`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: calls to `std::mem::drop` with a reference instead of an owned value does nothing
[INFO] [stdout]    --> src/simulation.rs:101:17
[INFO] [stdout]     |
[INFO] [stdout] 101 |                 drop(current_elem);
[INFO] [stdout]     |                 ^^^^^------------^
[INFO] [stdout]     |                      |
[INFO] [stdout]     |                      argument has type `&T`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dropping_references)]` on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the expression or result
[INFO] [stdout]     |
[INFO] [stdout] 101 -                 drop(current_elem);
[INFO] [stdout] 101 +                 let _ = current_elem;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: calls to `std::mem::drop` with a reference instead of an owned value does nothing
[INFO] [stdout]    --> src/simulation.rs:110:17
[INFO] [stdout]     |
[INFO] [stdout] 110 |                 drop(current_elem);
[INFO] [stdout]     |                 ^^^^^------------^
[INFO] [stdout]     |                      |
[INFO] [stdout]     |                      argument has type `&T`
[INFO] [stdout]     |
[INFO] [stdout] help: use `let _ = ...` to ignore the expression or result
[INFO] [stdout]     |
[INFO] [stdout] 110 -                 drop(current_elem);
[INFO] [stdout] 110 +                 let _ = current_elem;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: module `StockAction` should have a snake case name
[INFO] [stdout]  --> src/stock_action.rs:1:9
[INFO] [stdout]   |
[INFO] [stdout] 1 | pub mod StockAction {
[INFO] [stdout]   |         ^^^^^^^^^^^ help: convert the identifier to snake case: `stock_action`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `InvestmentStrategy`
[INFO] [stdout]   --> src/main.rs:22:45
[INFO] [stdout]    |
[INFO] [stdout] 22 | use simulation::{DollarCostAveragingLinear, InvestmentStrategy, Simulation};
[INFO] [stdout]    |                                             ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `rayon::prelude`
[INFO] [stdout]  --> src/main.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | use rayon::prelude::*;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `e`
[INFO] [stdout]   --> src/s_and_p.rs:34:13
[INFO] [stdout]    |
[INFO] [stdout] 34 |         Err(e) => Err(SandPConversionError::IsNaNError)
[INFO] [stdout]    |             ^ help: if this is intentional, prefix it with an underscore: `_e`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `positions`
[INFO] [stdout]   --> src/simulation.rs:44:9
[INFO] [stdout]    |
[INFO] [stdout] 44 |         positions: &mut BinaryHeap<T>,
[INFO] [stdout]    |         ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_positions`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `current_stock`
[INFO] [stdout]   --> src/simulation.rs:45:9
[INFO] [stdout]    |
[INFO] [stdout] 45 |         current_stock: &S,
[INFO] [stdout]    |         ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_current_stock`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `amount`
[INFO] [stdout]   --> src/simulation.rs:55:32
[INFO] [stdout]    |
[INFO] [stdout] 55 |     fn return_funds(&mut self, amount: f32) {
[INFO] [stdout]    |                                ^^^^^^ help: if this is intentional, prefix it with an underscore: `_amount`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/main.rs:33:9
[INFO] [stdout]    |
[INFO] [stdout] 33 |     let mut vals = fs::read_to_string(fname).unwrap();
[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: variable does not need to be mutable
[INFO] [stdout]   --> src/main.rs:46:9
[INFO] [stdout]    |
[INFO] [stdout] 46 |     let mut elements: Vec<SAndPHistoricalDaily> = vec![];
[INFO] [stdout]    |         ----^^^^^^^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `elements`
[INFO] [stdout]   --> src/main.rs:46:9
[INFO] [stdout]    |
[INFO] [stdout] 46 |     let mut elements: Vec<SAndPHistoricalDaily> = vec![];
[INFO] [stdout]    |         ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_elements`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `SAndPSimulation` is never constructed
[INFO] [stdout]   --> src/main.rs:25:8
[INFO] [stdout]    |
[INFO] [stdout] 25 | struct SAndPSimulation {}
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `remove_shitty_csv` is never used
[INFO] [stdout]   --> src/main.rs:32:4
[INFO] [stdout]    |
[INFO] [stdout] 32 | fn remove_shitty_csv(fname: &str) -> () {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `open` and `close` are never read
[INFO] [stdout]   --> src/s_and_p.rs:20:5
[INFO] [stdout]    |
[INFO] [stdout] 18 | pub  struct SAndPHistoricalDaily{
[INFO] [stdout]    |             -------------------- fields in this struct
[INFO] [stdout] 19 |     date: DateTime<Utc>,
[INFO] [stdout] 20 |     open: NotNaN<f32>,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 23 |     close: NotNaN<f32>,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `SAndPHistoricalDaily` 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: struct `BestCaseSAndP` is never constructed
[INFO] [stdout]   --> src/s_and_p.rs:75:12
[INFO] [stdout]    |
[INFO] [stdout] 75 | pub struct BestCaseSAndP(pub SAndPHistoricalDaily);
[INFO] [stdout]    |            ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `StockActionFailure` is never used
[INFO] [stdout]  --> src/stock_action.rs:5:14
[INFO] [stdout]   |
[INFO] [stdout] 5 |     pub enum StockActionFailure {
[INFO] [stdout]   |              ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `WillImmediatelyCashOut` is never constructed
[INFO] [stdout]   --> src/stock_action.rs:19:9
[INFO] [stdout]    |
[INFO] [stdout] 17 |     pub enum StopLossFailure {
[INFO] [stdout]    |              --------------- variant in this enum
[INFO] [stdout] 18 |         UnderWipeout,
[INFO] [stdout] 19 |         WillImmediatelyCashOut,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `get_max`, `get_min`, and `get_leverage` are never used
[INFO] [stdout]   --> src/stock_action.rs:36:12
[INFO] [stdout]    |
[INFO] [stdout] 29 |     pub trait StockAction<T: BuyableSecurity>: Debug {
[INFO] [stdout]    |               ----------- methods in this trait
[INFO] [stdout] ...
[INFO] [stdout] 36 |         fn get_max(&self) -> &StockTimeSnapshot;
[INFO] [stdout]    |            ^^^^^^^
[INFO] [stdout] 37 |         fn get_min(&self) -> &StockTimeSnapshot;
[INFO] [stdout]    |            ^^^^^^^
[INFO] [stdout] 38 |         fn get_leverage(&self) -> NotNaN<f32>;
[INFO] [stdout]    |            ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `get_price` is never used
[INFO] [stdout]   --> src/stock_action.rs:42:12
[INFO] [stdout]    |
[INFO] [stdout] 41 |     pub trait BuyableSecurity: Debug {
[INFO] [stdout]    |               --------------- method in this trait
[INFO] [stdout] 42 |         fn get_price(&self) -> NotNaN<f32>;
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `invested_at` is never read
[INFO] [stdout]   --> src/stock_action.rs:55:9
[INFO] [stdout]    |
[INFO] [stdout] 51 |     pub struct StockInvestment {
[INFO] [stdout]    |                --------------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 55 |         invested_at: DateTime<Utc>,
[INFO] [stdout]    |         ^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `StockInvestment` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: structure field `Date` should have a snake case name
[INFO] [stdout]   --> src/s_and_p.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout] 11 |     Date: String,
[INFO] [stdout]    |     ^^^^ help: convert the identifier to snake case: `date`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: structure field `Open` should have a snake case name
[INFO] [stdout]   --> src/s_and_p.rs:12:5
[INFO] [stdout]    |
[INFO] [stdout] 12 |     Open: f32,
[INFO] [stdout]    |     ^^^^ help: convert the identifier to snake case (notice the capitalization): `open`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: structure field `High` should have a snake case name
[INFO] [stdout]   --> src/s_and_p.rs:13:5
[INFO] [stdout]    |
[INFO] [stdout] 13 |     High: f32,
[INFO] [stdout]    |     ^^^^ help: convert the identifier to snake case: `high`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: structure field `Low` should have a snake case name
[INFO] [stdout]   --> src/s_and_p.rs:14:5
[INFO] [stdout]    |
[INFO] [stdout] 14 |     Low: f32,
[INFO] [stdout]    |     ^^^ help: convert the identifier to snake case: `low`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: structure field `Close` should have a snake case name
[INFO] [stdout]   --> src/s_and_p.rs:15:5
[INFO] [stdout]    |
[INFO] [stdout] 15 |     Close: f32,
[INFO] [stdout]    |     ^^^^^ help: convert the identifier to snake case (notice the capitalization): `close`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `ToNotNaN` should have a snake case name
[INFO] [stdout]   --> src/s_and_p.rs:31:4
[INFO] [stdout]    |
[INFO] [stdout] 31 | fn ToNotNaN(f: f32)->Result<NotNaN<f32>, SandPConversionError>{
[INFO] [stdout]    |    ^^^^^^^^ help: convert the identifier to snake case: `to_not_na_n`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: calls to `std::mem::drop` with a reference instead of an owned value does nothing
[INFO] [stdout]    --> src/simulation.rs:101:17
[INFO] [stdout]     |
[INFO] [stdout] 101 |                 drop(current_elem);
[INFO] [stdout]     |                 ^^^^^------------^
[INFO] [stdout]     |                      |
[INFO] [stdout]     |                      argument has type `&T`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dropping_references)]` on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the expression or result
[INFO] [stdout]     |
[INFO] [stdout] 101 -                 drop(current_elem);
[INFO] [stdout] 101 +                 let _ = current_elem;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: calls to `std::mem::drop` with a reference instead of an owned value does nothing
[INFO] [stdout]    --> src/simulation.rs:110:17
[INFO] [stdout]     |
[INFO] [stdout] 110 |                 drop(current_elem);
[INFO] [stdout]     |                 ^^^^^------------^
[INFO] [stdout]     |                      |
[INFO] [stdout]     |                      argument has type `&T`
[INFO] [stdout]     |
[INFO] [stdout] help: use `let _ = ...` to ignore the expression or result
[INFO] [stdout]     |
[INFO] [stdout] 110 -                 drop(current_elem);
[INFO] [stdout] 110 +                 let _ = current_elem;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: module `StockAction` should have a snake case name
[INFO] [stdout]  --> src/stock_action.rs:1:9
[INFO] [stdout]   |
[INFO] [stdout] 1 | pub mod StockAction {
[INFO] [stdout]   |         ^^^^^^^^^^^ help: convert the identifier to snake case: `stock_action`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 11.06s
[INFO] running `Command { std: "docker" "inspect" "e8c4f72417ba76b944403b658bb7b7916c6e6682260177d42ef4ecc91d324caf", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "e8c4f72417ba76b944403b658bb7b7916c6e6682260177d42ef4ecc91d324caf", kill_on_drop: false }`
[INFO] [stdout] e8c4f72417ba76b944403b658bb7b7916c6e6682260177d42ef4ecc91d324caf
