[INFO] cloning repository https://github.com/georgeCherry02/basic-binomial-pricer
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/georgeCherry02/basic-binomial-pricer" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FgeorgeCherry02%2Fbasic-binomial-pricer", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FgeorgeCherry02%2Fbasic-binomial-pricer'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] cee77cb7f9003fffbb18b93e81f12e8b14ddd665
[INFO] testing georgeCherry02/basic-binomial-pricer/cee77cb7f9003fffbb18b93e81f12e8b14ddd665 against try#b8e88e5ddf5521a9f43ee3f62a702388c713e4bb for pr-155114
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FgeorgeCherry02%2Fbasic-binomial-pricer" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/georgeCherry02/basic-binomial-pricer
[INFO] finished tweaking git repo https://github.com/georgeCherry02/basic-binomial-pricer
[INFO] tweaked toml for git repo https://github.com/georgeCherry02/basic-binomial-pricer written to /workspace/builds/worker-7-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/georgeCherry02/basic-binomial-pricer on toolchain b8e88e5ddf5521a9f43ee3f62a702388c713e4bb
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b8e88e5ddf5521a9f43ee3f62a702388c713e4bb" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/georgeCherry02/basic-binomial-pricer 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" "+b8e88e5ddf5521a9f43ee3f62a702388c713e4bb" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+b8e88e5ddf5521a9f43ee3f62a702388c713e4bb" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] db161de9153e078fc60f9476483d3cb95d9c2488227febc952e3692d82035cf4
[INFO] running `Command { std: "docker" "start" "-a" "db161de9153e078fc60f9476483d3cb95d9c2488227febc952e3692d82035cf4", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "db161de9153e078fc60f9476483d3cb95d9c2488227febc952e3692d82035cf4", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "db161de9153e078fc60f9476483d3cb95d9c2488227febc952e3692d82035cf4", kill_on_drop: false }`
[INFO] [stdout] db161de9153e078fc60f9476483d3cb95d9c2488227febc952e3692d82035cf4
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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=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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+b8e88e5ddf5521a9f43ee3f62a702388c713e4bb" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] bcf5bb65f6b6b2550afaaec2c0e7961e8bac974884d8a90635aa7a29e2f3617c
[INFO] running `Command { std: "docker" "start" "-a" "bcf5bb65f6b6b2550afaaec2c0e7961e8bac974884d8a90635aa7a29e2f3617c", kill_on_drop: false }`
[INFO] [stderr]    Compiling target-lexicon v0.12.16
[INFO] [stderr]    Compiling proc-macro2 v1.0.86
[INFO] [stderr]    Compiling libc v0.2.147
[INFO] [stderr]    Compiling unicode-ident v1.0.10
[INFO] [stderr]    Compiling libm v0.2.7
[INFO] [stderr]    Compiling once_cell v1.18.0
[INFO] [stderr]    Compiling num-traits v0.2.15
[INFO] [stderr]    Compiling rustix v0.38.3
[INFO] [stderr]    Compiling num-integer v0.1.45
[INFO] [stderr]    Compiling bitflags v2.3.3
[INFO] [stderr]    Compiling linux-raw-sys v0.4.3
[INFO] [stderr]    Compiling crossbeam-utils v0.8.20
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]    Compiling matrixmultiply v0.3.7
[INFO] [stderr]    Compiling bytemuck v1.14.0
[INFO] [stderr]    Compiling ppv-lite86 v0.2.17
[INFO] [stderr]    Compiling paste v1.0.14
[INFO] [stderr]    Compiling safe_arch v0.7.1
[INFO] [stderr]    Compiling pyo3-build-config v0.22.2
[INFO] [stderr]    Compiling quote v1.0.36
[INFO] [stderr]    Compiling getrandom v0.2.10
[INFO] [stderr]    Compiling syn v2.0.75
[INFO] [stderr]    Compiling memoffset v0.9.1
[INFO] [stderr]    Compiling rand_core v0.6.4
[INFO] [stderr]    Compiling num-rational v0.4.1
[INFO] [stderr]    Compiling utf8parse v0.2.1
[INFO] [stderr]    Compiling is-terminal v0.4.9
[INFO] [stderr]    Compiling rand_chacha v0.3.1
[INFO] [stderr]    Compiling rawpointer v0.2.1
[INFO] [stderr]    Compiling typenum v1.17.0
[INFO] [stderr]    Compiling num-complex v0.4.4
[INFO] [stderr]    Compiling rand v0.8.5
[INFO] [stderr]    Compiling approx v0.5.1
[INFO] [stderr]    Compiling anstyle-parse v0.2.1
[INFO] [stderr]    Compiling crossbeam-epoch v0.9.18
[INFO] [stderr]    Compiling aho-corasick v1.0.2
[INFO] [stderr]    Compiling wide v0.7.11
[INFO] [stderr]    Compiling pyo3-macros-backend v0.22.2
[INFO] [stderr]    Compiling pyo3-ffi v0.22.2
[INFO] [stderr]    Compiling pyo3 v0.22.2
[INFO] [stderr]    Compiling anstyle v1.0.1
[INFO] [stderr]    Compiling rayon-core v1.12.1
[INFO] [stderr]    Compiling colorchoice v1.0.0
[INFO] [stderr]    Compiling anstyle-query v1.0.0
[INFO] [stderr]    Compiling regex-syntax v0.7.3
[INFO] [stderr]    Compiling anstream v0.3.2
[INFO] [stderr]    Compiling rand_distr v0.4.3
[INFO] [stderr]    Compiling crossbeam-deque v0.8.5
[INFO] [stderr]    Compiling indoc v2.0.5
[INFO] [stderr]    Compiling simba v0.6.0
[INFO] [stderr]    Compiling clap_lex v0.5.0
[INFO] [stderr]    Compiling strsim v0.10.0
[INFO] [stderr]    Compiling unindent v0.2.3
[INFO] [stderr]    Compiling either v1.13.0
[INFO] [stderr]    Compiling heck v0.4.1
[INFO] [stderr]    Compiling log v0.4.19
[INFO] [stderr]    Compiling regex-automata v0.3.2
[INFO] [stderr]    Compiling clap_builder v4.3.11
[INFO] [stderr]    Compiling time v0.1.45
[INFO] [stderr]    Compiling iana-time-zone v0.1.57
[INFO] [stderr]    Compiling lazy_static v1.4.0
[INFO] [stderr]    Compiling termcolor v1.2.0
[INFO] [stderr]    Compiling chrono v0.4.26
[INFO] [stderr]    Compiling rayon v1.10.0
[INFO] [stderr]    Compiling clap_derive v4.3.2
[INFO] [stderr]    Compiling nalgebra-macros v0.1.0
[INFO] [stderr]    Compiling regex v1.9.1
[INFO] [stderr]    Compiling test-log v0.2.12
[INFO] [stderr]    Compiling env_logger v0.10.0
[INFO] [stderr]    Compiling itertools v0.13.0
[INFO] [stderr]    Compiling clap v4.3.11
[INFO] [stderr]    Compiling ndarray v0.16.1
[INFO] [stderr]    Compiling nalgebra v0.29.0
[INFO] [stderr]    Compiling pyo3-macros v0.22.2
[INFO] [stderr]    Compiling pyo3-log v0.11.0
[INFO] [stderr]    Compiling statrs v0.16.0
[INFO] [stderr]    Compiling pricer v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `analytical_greeks::BlackScholesGreeks`
[INFO] [stdout]   --> src/black_scholes/mod.rs:13:9
[INFO] [stdout]    |
[INFO] [stdout] 13 | pub use analytical_greeks::BlackScholesGreeks;
[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: `aad_ls::LongstaffSchwartzMonteCarlo`
[INFO] [stdout]   --> src/monte_carlo/mod.rs:14:9
[INFO] [stdout]    |
[INFO] [stdout] 14 | pub use aad_ls::LongstaffSchwartzMonteCarlo;
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `finite_difference::FiniteDifferenceGreeks`
[INFO] [stdout]  --> src/greeks/mod.rs:5:9
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub use finite_difference::FiniteDifferenceGreeks;
[INFO] [stdout]   |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `inputs`
[INFO] [stdout]    --> src/monte_carlo/aad_ls.rs:116:9
[INFO] [stdout]     |
[INFO] [stdout] 116 |         inputs: MonteCarloInputs,
[INFO] [stdout]     |         ^^^^^^ help: if this is intentional, prefix it with an underscore: `_inputs`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `parameters`
[INFO] [stdout]    --> src/monte_carlo/aad_ls.rs:117:9
[INFO] [stdout]     |
[INFO] [stdout] 117 |         parameters: MonteCarloParams,
[INFO] [stdout]     |         ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_parameters`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: static `DAYS_IN_YEAR` is never used
[INFO] [stdout]   --> src/black_scholes/analytical_greeks.rs:13:8
[INFO] [stdout]    |
[INFO] [stdout] 13 | static DAYS_IN_YEAR: u32 = 365;
[INFO] [stdout]    |        ^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type alias `BlackScholesGreekImplementation` is never used
[INFO] [stdout]   --> src/black_scholes/analytical_greeks.rs:17:6
[INFO] [stdout]    |
[INFO] [stdout] 17 | type BlackScholesGreekImplementation =
[INFO] [stdout]    |      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `map_to_impl` is never used
[INFO] [stdout]   --> src/black_scholes/analytical_greeks.rs:20:4
[INFO] [stdout]    |
[INFO] [stdout] 20 | fn map_to_impl(
[INFO] [stdout]    |    ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `BlackScholesGreeks` is never used
[INFO] [stdout]   --> src/black_scholes/analytical_greeks.rs:38:11
[INFO] [stdout]    |
[INFO] [stdout] 38 | pub trait BlackScholesGreeks: BlackScholes {
[INFO] [stdout]    |           ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `LongstaffSchwartzMonteCarlo` is never used
[INFO] [stdout]   --> src/monte_carlo/aad_ls.rs:21:11
[INFO] [stdout]    |
[INFO] [stdout] 21 | pub trait LongstaffSchwartzMonteCarlo: FinancialOption {
[INFO] [stdout]    |           ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `failed_to_create_gaussian_error` is never used
[INFO] [stdout]   --> src/monte_carlo/aad_ls.rs:75:4
[INFO] [stdout]    |
[INFO] [stdout] 75 | fn failed_to_create_gaussian_error(_: StatsError) -> PricerError {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `gaussian` is never used
[INFO] [stdout]   --> src/monte_carlo/aad_ls.rs:84:4
[INFO] [stdout]    |
[INFO] [stdout] 84 | fn gaussian() -> PricerResult<Normal> {
[INFO] [stdout]    |    ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `generate_monte_carlo_paths` is never used
[INFO] [stdout]   --> src/monte_carlo/aad_ls.rs:88:8
[INFO] [stdout]    |
[INFO] [stdout] 88 | pub fn generate_monte_carlo_paths(
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `zero_or_more` is never used
[INFO] [stdout]    --> src/monte_carlo/aad_ls.rs:123:4
[INFO] [stdout]     |
[INFO] [stdout] 123 | fn zero_or_more(val: f64) -> f64 {
[INFO] [stdout]     |    ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `vectomatrix` is never used
[INFO] [stdout]    --> src/monte_carlo/aad_ls.rs:131:4
[INFO] [stdout]     |
[INFO] [stdout] 131 | fn vectomatrix(vec: Vec<Vec<f64>>) -> PricerResult<Array2<f64>> {
[INFO] [stdout]     |    ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `MonteCarloParams` is never constructed
[INFO] [stdout]   --> src/monte_carlo/inputs.rs:41:12
[INFO] [stdout]    |
[INFO] [stdout] 41 | pub struct MonteCarloParams {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `EULERS_NUMBER` is never used
[INFO] [stdout]   --> src/tree/mod.rs:16:7
[INFO] [stdout]    |
[INFO] [stdout] 16 | const EULERS_NUMBER: f64 = std::f64::consts::E;
[INFO] [stdout]    |       ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `valuation_cache` is never read
[INFO] [stdout]   --> src/tree/mod.rs:22:9
[INFO] [stdout]    |
[INFO] [stdout] 19 | pub struct Tree {
[INFO] [stdout]    |            ---- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 22 |     pub valuation_cache: HashMap<Position, f64>,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Tree` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `get_child_nodes`, `calculate_node`, `value_node`, and `value` are never used
[INFO] [stdout]   --> src/tree/mod.rs:26:8
[INFO] [stdout]    |
[INFO] [stdout] 25 | impl Tree {
[INFO] [stdout]    | --------- methods in this implementation
[INFO] [stdout] 26 |     fn get_child_nodes(&self, node: &Node) -> Option<(Node, Node)> {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 37 |     fn calculate_node<O: FinancialOption>(&mut self, node: &Node, option: &O, rfr: f64) -> f64 {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 59 |     fn value_node<O: FinancialOption>(&mut self, node: &Node, option: &O, rfr: f64) -> f64 {
[INFO] [stdout]    |        ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 65 |     pub fn value<O: FinancialOption>(&mut self, option: &O, rfr: f64) -> f64 {
[INFO] [stdout]    |            ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `new_tree` is never used
[INFO] [stdout]   --> src/tree/build.rs:14:4
[INFO] [stdout]    |
[INFO] [stdout] 14 | fn new_tree(price: f64, datetime: DateTime<Utc>) -> Tree {
[INFO] [stdout]    |    ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_node_value` is never used
[INFO] [stdout]   --> src/tree/build.rs:53:4
[INFO] [stdout]    |
[INFO] [stdout] 53 | fn get_node_value(underlying_price: f64, volatility: f64, position: &Position) -> f64 {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_node` is never used
[INFO] [stdout]   --> src/tree/build.rs:59:4
[INFO] [stdout]    |
[INFO] [stdout] 59 | fn get_node(price: f64, datetime: DateTime<Utc>, volatility: f64, position: &Position) -> Node {
[INFO] [stdout]    |    ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `construct_tree` is never used
[INFO] [stdout]   --> src/tree/build.rs:68:8
[INFO] [stdout]    |
[INFO] [stdout] 68 | pub fn construct_tree(
[INFO] [stdout]    |        ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `get_branches` is never used
[INFO] [stdout]   --> src/tree/node.rs:11:12
[INFO] [stdout]    |
[INFO] [stdout] 10 | impl Position {
[INFO] [stdout]    | ------------- method in this implementation
[INFO] [stdout] 11 |     pub fn get_branches(&self) -> (Position, Position) {
[INFO] [stdout]    |            ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `datetime` is never read
[INFO] [stdout]   --> src/tree/node.rs:34:9
[INFO] [stdout]    |
[INFO] [stdout] 32 | pub struct Node {
[INFO] [stdout]    |            ---- field in this struct
[INFO] [stdout] 33 |     pub price: f64,
[INFO] [stdout] 34 |     pub datetime: DateTime<Utc>,
[INFO] [stdout]    |         ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Node` 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: trait `AnalyticalGreeks` is never used
[INFO] [stdout]   --> src/greeks/mod.rs:12:11
[INFO] [stdout]    |
[INFO] [stdout] 12 | pub trait AnalyticalGreeks {
[INFO] [stdout]    |           ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `FiniteDifferenceGreeks` is never used
[INFO] [stdout]   --> src/greeks/finite_difference.rs:13:11
[INFO] [stdout]    |
[INFO] [stdout] 13 | pub trait FiniteDifferenceGreeks {
[INFO] [stdout]    |           ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `bump_and_reprice` is never used
[INFO] [stdout]   --> src/greeks/finite_difference.rs:33:4
[INFO] [stdout]    |
[INFO] [stdout] 33 | fn bump_and_reprice<T: Pricer>(
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `BUSINESS_DAYS_IN_YEAR` is never used
[INFO] [stdout]  --> src/risk_factors/discount.rs:8:7
[INFO] [stdout]   |
[INFO] [stdout] 8 | const BUSINESS_DAYS_IN_YEAR: usize = 252;
[INFO] [stdout]   |       ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `DividendRf` is never used
[INFO] [stdout]   --> src/risk_factors/dividend.rs:22:11
[INFO] [stdout]    |
[INFO] [stdout] 22 | pub trait DividendRf {
[INFO] [stdout]    |           ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/risk_factors/price.rs:27:8
[INFO] [stdout]    |
[INFO] [stdout] 26 | impl HistoricPrices {
[INFO] [stdout]    | ------------------- associated function in this implementation
[INFO] [stdout] 27 |     fn new(symbol: Symbol, historic_daily_average: Vec<f64>) -> HistoricPrices {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `Up` and `Down` are never constructed
[INFO] [stdout]   --> src/shock/mod.rs:19:5
[INFO] [stdout]    |
[INFO] [stdout] 18 | pub enum ShockDirection {
[INFO] [stdout]    |          -------------- variants in this enum
[INFO] [stdout] 19 |     Up,
[INFO] [stdout]    |     ^^
[INFO] [stdout] 20 |     Down,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `risk_factor_id` is never read
[INFO] [stdout]   --> src/shock/mod.rs:39:5
[INFO] [stdout]    |
[INFO] [stdout] 38 | pub struct VolatilityShock {
[INFO] [stdout]    |            --------------- field in this struct
[INFO] [stdout] 39 |     risk_factor_id: Symbol,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `risk_factor_id` is never read
[INFO] [stdout]   --> src/shock/mod.rs:48:5
[INFO] [stdout]    |
[INFO] [stdout] 47 | pub struct InterestRateShock {
[INFO] [stdout]    |            ----------------- field in this struct
[INFO] [stdout] 48 |     risk_factor_id: Symbol,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `absolute_shock` is never used
[INFO] [stdout]   --> src/shock/mod.rs:89:14
[INFO] [stdout]    |
[INFO] [stdout] 89 | pub const fn absolute_shock(size: f64, direction: ShockDirection) -> ShockSize {
[INFO] [stdout]    |              ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `absolute_time_shock` is never used
[INFO] [stdout]   --> src/shock/mod.rs:92:14
[INFO] [stdout]    |
[INFO] [stdout] 92 | pub const fn absolute_time_shock(size: Duration, direction: ShockDirection) -> TimeShockSize {
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `relative_percentage_shock` is never used
[INFO] [stdout]   --> src/shock/mod.rs:95:14
[INFO] [stdout]    |
[INFO] [stdout] 95 | pub const fn relative_percentage_shock(
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `relative_basis_point_shock` is never used
[INFO] [stdout]    --> src/shock/mod.rs:101:14
[INFO] [stdout]     |
[INFO] [stdout] 101 | pub const fn relative_basis_point_shock(basis_points: u64, direction: ShockDirection) -> ShockSize {
[INFO] [stdout]     |              ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `price_shock` is never used
[INFO] [stdout]    --> src/shock/mod.rs:105:14
[INFO] [stdout]     |
[INFO] [stdout] 105 | pub const fn price_shock(risk_factor_id: Symbol, size: ShockSize) -> Shock {
[INFO] [stdout]     |              ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `interest_rate_shock` is never used
[INFO] [stdout]    --> src/shock/mod.rs:111:14
[INFO] [stdout]     |
[INFO] [stdout] 111 | pub const fn interest_rate_shock(risk_factor_id: Symbol, size: ShockSize) -> Shock {
[INFO] [stdout]     |              ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `time_shock` is never used
[INFO] [stdout]    --> src/shock/mod.rs:117:14
[INFO] [stdout]     |
[INFO] [stdout] 117 | pub const fn time_shock(size: TimeShockSize) -> Shock {
[INFO] [stdout]     |              ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `volatility_shock` is never used
[INFO] [stdout]    --> src/shock/mod.rs:120:14
[INFO] [stdout]     |
[INFO] [stdout] 120 | pub const fn volatility_shock(risk_factor_id: Symbol, size: ShockSize) -> Shock {
[INFO] [stdout]     |              ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/shock/absolute.rs:10:18
[INFO] [stdout]    |
[INFO] [stdout]  9 | impl AbsoluteShock {
[INFO] [stdout]    | ------------------ associated function in this implementation
[INFO] [stdout] 10 |     pub const fn new(size: f64, direction: ShockDirection) -> AbsoluteShock {
[INFO] [stdout]    |                  ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/shock/absolute_time.rs:12:18
[INFO] [stdout]    |
[INFO] [stdout] 11 | impl AbsoluteTimeShock {
[INFO] [stdout]    | ---------------------- associated function in this implementation
[INFO] [stdout] 12 |     pub const fn new(size: chrono::Duration, direction: ShockDirection) -> AbsoluteTimeShock {
[INFO] [stdout]    |                  ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `BasisPoint`, `Decimal`, and `Percentage` are never constructed
[INFO] [stdout]  --> src/shock/relative.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub enum RelativeShockType {
[INFO] [stdout]   |          ----------------- variants in this enum
[INFO] [stdout] 5 |     BasisPoint,
[INFO] [stdout]   |     ^^^^^^^^^^
[INFO] [stdout] 6 |     Decimal,
[INFO] [stdout]   |     ^^^^^^^
[INFO] [stdout] 7 |     Percentage,
[INFO] [stdout]   |     ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated functions `percentage`, `basis_point`, and `decimal` are never used
[INFO] [stdout]   --> src/shock/relative.rs:17:18
[INFO] [stdout]    |
[INFO] [stdout] 16 | impl RelativeShock {
[INFO] [stdout]    | ------------------ associated functions in this implementation
[INFO] [stdout] 17 |     pub const fn percentage(size: f64, direction: ShockDirection) -> RelativeShock {
[INFO] [stdout]    |                  ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 24 |     pub const fn basis_point(size: f64, direction: ShockDirection) -> RelativeShock {
[INFO] [stdout]    |                  ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 31 |     pub const fn decimal(size: f64, direction: ShockDirection) -> RelativeShock {
[INFO] [stdout]    |                  ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `AbsoluteShock` and `RelativeShock` are never constructed
[INFO] [stdout]  --> src/shock/size.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub enum ShockSize {
[INFO] [stdout]   |          --------- variants in this enum
[INFO] [stdout] 5 |     AbsoluteShock(AbsoluteShock),
[INFO] [stdout]   |     ^^^^^^^^^^^^^
[INFO] [stdout] 6 |     RelativeShock(RelativeShock),
[INFO] [stdout]   |     ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `AbsoluteShock` and `RelativeShock` are never constructed
[INFO] [stdout]   --> src/shock/size.rs:10:5
[INFO] [stdout]    |
[INFO] [stdout]  9 | pub enum TimeShockSize {
[INFO] [stdout]    |          ------------- variants in this enum
[INFO] [stdout] 10 |     AbsoluteShock(AbsoluteTimeShock),
[INFO] [stdout]    |     ^^^^^^^^^^^^^
[INFO] [stdout] 11 |     RelativeShock(RelativeShock),
[INFO] [stdout]    |     ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_datetime_range` is never used
[INFO] [stdout]   --> src/utils/date.rs:11:8
[INFO] [stdout]    |
[INFO] [stdout] 11 | pub fn get_datetime_range(
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_test_evaluation_period` is never used
[INFO] [stdout]   --> src/utils/test_utils.rs:10:4
[INFO] [stdout]    |
[INFO] [stdout] 10 | fn get_test_evaluation_period() -> (DateTime<Utc>, DateTime<Utc>) {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_ls_test_evaluation_period` is never used
[INFO] [stdout]   --> src/utils/test_utils.rs:17:4
[INFO] [stdout]    |
[INFO] [stdout] 17 | fn get_ls_test_evaluation_period() -> (DateTime<Utc>, DateTime<Utc>) {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_test_risk_factors` is never used
[INFO] [stdout]   --> src/utils/test_utils.rs:24:4
[INFO] [stdout]    |
[INFO] [stdout] 24 | fn get_test_risk_factors<T: BlackScholes>(option: &T) -> RiskFactors {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_test_ls_risk_factors` is never used
[INFO] [stdout]   --> src/utils/test_utils.rs:39:4
[INFO] [stdout]    |
[INFO] [stdout] 39 | fn get_test_ls_risk_factors<T: BlackScholes>(option: &T) -> RiskFactors {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_test_call` is never used
[INFO] [stdout]   --> src/utils/test_utils.rs:54:8
[INFO] [stdout]    |
[INFO] [stdout] 54 | pub fn get_test_call() -> (Call, DateTime<Utc>, RiskFactors) {
[INFO] [stdout]    |        ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_test_put` is never used
[INFO] [stdout]   --> src/utils/test_utils.rs:64:8
[INFO] [stdout]    |
[INFO] [stdout] 64 | pub fn get_test_put() -> (Put, DateTime<Utc>, RiskFactors) {
[INFO] [stdout]    |        ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_test_ls_put` is never used
[INFO] [stdout]   --> src/utils/test_utils.rs:74:8
[INFO] [stdout]    |
[INFO] [stdout] 74 | pub fn get_test_ls_put() -> (Put, DateTime<Utc>, RiskFactors) {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `is_close` is never used
[INFO] [stdout]   --> src/utils/test_utils.rs:84:8
[INFO] [stdout]    |
[INFO] [stdout] 84 | pub fn is_close(lhs: f64, rhs: f64, percentage_tolerance: f64) -> bool {
[INFO] [stdout]    |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `A` should have a snake case name
[INFO] [stdout]    --> src/monte_carlo/aad_ls.rs:162:17
[INFO] [stdout]     |
[INFO] [stdout] 162 |             let A: Vec<Vec<f64>> = paths
[INFO] [stdout]     |                 ^ help: convert the identifier to snake case: `a`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `B` should have a snake case name
[INFO] [stdout]    --> src/monte_carlo/aad_ls.rs:167:17
[INFO] [stdout]     |
[INFO] [stdout] 167 |             let B: Vec<Vec<f64>> = A
[INFO] [stdout]     |                 ^ help: convert the identifier to snake case: `b`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 26s
[INFO] running `Command { std: "docker" "inspect" "bcf5bb65f6b6b2550afaaec2c0e7961e8bac974884d8a90635aa7a29e2f3617c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "bcf5bb65f6b6b2550afaaec2c0e7961e8bac974884d8a90635aa7a29e2f3617c", kill_on_drop: false }`
[INFO] [stdout] bcf5bb65f6b6b2550afaaec2c0e7961e8bac974884d8a90635aa7a29e2f3617c
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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=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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+b8e88e5ddf5521a9f43ee3f62a702388c713e4bb" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] ac4de91fe7ffa78a3d179614178f64f71cfd81b6a444af618e8c473bf1e28884
[INFO] running `Command { std: "docker" "start" "-a" "ac4de91fe7ffa78a3d179614178f64f71cfd81b6a444af618e8c473bf1e28884", kill_on_drop: false }`
[INFO] [stdout] warning: unused import: `analytical_greeks::BlackScholesGreeks`
[INFO] [stdout]   --> src/black_scholes/mod.rs:13:9
[INFO] [stdout]    |
[INFO] [stdout] 13 | pub use analytical_greeks::BlackScholesGreeks;
[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: `aad_ls::LongstaffSchwartzMonteCarlo`
[INFO] [stdout]   --> src/monte_carlo/mod.rs:14:9
[INFO] [stdout]    |
[INFO] [stdout] 14 | pub use aad_ls::LongstaffSchwartzMonteCarlo;
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `finite_difference::FiniteDifferenceGreeks`
[INFO] [stdout]  --> src/greeks/mod.rs:5:9
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub use finite_difference::FiniteDifferenceGreeks;
[INFO] [stdout]   |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `inputs`
[INFO] [stdout]    --> src/monte_carlo/aad_ls.rs:116:9
[INFO] [stdout]     |
[INFO] [stdout] 116 |         inputs: MonteCarloInputs,
[INFO] [stdout]     |         ^^^^^^ help: if this is intentional, prefix it with an underscore: `_inputs`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `parameters`
[INFO] [stdout]    --> src/monte_carlo/aad_ls.rs:117:9
[INFO] [stdout]     |
[INFO] [stdout] 117 |         parameters: MonteCarloParams,
[INFO] [stdout]     |         ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_parameters`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: static `DAYS_IN_YEAR` is never used
[INFO] [stdout]   --> src/black_scholes/analytical_greeks.rs:13:8
[INFO] [stdout]    |
[INFO] [stdout] 13 | static DAYS_IN_YEAR: u32 = 365;
[INFO] [stdout]    |        ^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type alias `BlackScholesGreekImplementation` is never used
[INFO] [stdout]   --> src/black_scholes/analytical_greeks.rs:17:6
[INFO] [stdout]    |
[INFO] [stdout] 17 | type BlackScholesGreekImplementation =
[INFO] [stdout]    |      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `map_to_impl` is never used
[INFO] [stdout]   --> src/black_scholes/analytical_greeks.rs:20:4
[INFO] [stdout]    |
[INFO] [stdout] 20 | fn map_to_impl(
[INFO] [stdout]    |    ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `BlackScholesGreeks` is never used
[INFO] [stdout]   --> src/black_scholes/analytical_greeks.rs:38:11
[INFO] [stdout]    |
[INFO] [stdout] 38 | pub trait BlackScholesGreeks: BlackScholes {
[INFO] [stdout]    |           ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `LongstaffSchwartzMonteCarlo` is never used
[INFO] [stdout]   --> src/monte_carlo/aad_ls.rs:21:11
[INFO] [stdout]    |
[INFO] [stdout] 21 | pub trait LongstaffSchwartzMonteCarlo: FinancialOption {
[INFO] [stdout]    |           ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `failed_to_create_gaussian_error` is never used
[INFO] [stdout]   --> src/monte_carlo/aad_ls.rs:75:4
[INFO] [stdout]    |
[INFO] [stdout] 75 | fn failed_to_create_gaussian_error(_: StatsError) -> PricerError {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `gaussian` is never used
[INFO] [stdout]   --> src/monte_carlo/aad_ls.rs:84:4
[INFO] [stdout]    |
[INFO] [stdout] 84 | fn gaussian() -> PricerResult<Normal> {
[INFO] [stdout]    |    ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `generate_monte_carlo_paths` is never used
[INFO] [stdout]   --> src/monte_carlo/aad_ls.rs:88:8
[INFO] [stdout]    |
[INFO] [stdout] 88 | pub fn generate_monte_carlo_paths(
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `zero_or_more` is never used
[INFO] [stdout]    --> src/monte_carlo/aad_ls.rs:123:4
[INFO] [stdout]     |
[INFO] [stdout] 123 | fn zero_or_more(val: f64) -> f64 {
[INFO] [stdout]     |    ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `vectomatrix` is never used
[INFO] [stdout]    --> src/monte_carlo/aad_ls.rs:131:4
[INFO] [stdout]     |
[INFO] [stdout] 131 | fn vectomatrix(vec: Vec<Vec<f64>>) -> PricerResult<Array2<f64>> {
[INFO] [stdout]     |    ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `MonteCarloParams` is never constructed
[INFO] [stdout]   --> src/monte_carlo/inputs.rs:41:12
[INFO] [stdout]    |
[INFO] [stdout] 41 | pub struct MonteCarloParams {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `EULERS_NUMBER` is never used
[INFO] [stdout]   --> src/tree/mod.rs:16:7
[INFO] [stdout]    |
[INFO] [stdout] 16 | const EULERS_NUMBER: f64 = std::f64::consts::E;
[INFO] [stdout]    |       ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `valuation_cache` is never read
[INFO] [stdout]   --> src/tree/mod.rs:22:9
[INFO] [stdout]    |
[INFO] [stdout] 19 | pub struct Tree {
[INFO] [stdout]    |            ---- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 22 |     pub valuation_cache: HashMap<Position, f64>,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Tree` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `get_child_nodes`, `calculate_node`, `value_node`, and `value` are never used
[INFO] [stdout]   --> src/tree/mod.rs:26:8
[INFO] [stdout]    |
[INFO] [stdout] 25 | impl Tree {
[INFO] [stdout]    | --------- methods in this implementation
[INFO] [stdout] 26 |     fn get_child_nodes(&self, node: &Node) -> Option<(Node, Node)> {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 37 |     fn calculate_node<O: FinancialOption>(&mut self, node: &Node, option: &O, rfr: f64) -> f64 {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 59 |     fn value_node<O: FinancialOption>(&mut self, node: &Node, option: &O, rfr: f64) -> f64 {
[INFO] [stdout]    |        ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 65 |     pub fn value<O: FinancialOption>(&mut self, option: &O, rfr: f64) -> f64 {
[INFO] [stdout]    |            ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `new_tree` is never used
[INFO] [stdout]   --> src/tree/build.rs:14:4
[INFO] [stdout]    |
[INFO] [stdout] 14 | fn new_tree(price: f64, datetime: DateTime<Utc>) -> Tree {
[INFO] [stdout]    |    ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_node_value` is never used
[INFO] [stdout]   --> src/tree/build.rs:53:4
[INFO] [stdout]    |
[INFO] [stdout] 53 | fn get_node_value(underlying_price: f64, volatility: f64, position: &Position) -> f64 {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_node` is never used
[INFO] [stdout]   --> src/tree/build.rs:59:4
[INFO] [stdout]    |
[INFO] [stdout] 59 | fn get_node(price: f64, datetime: DateTime<Utc>, volatility: f64, position: &Position) -> Node {
[INFO] [stdout]    |    ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `construct_tree` is never used
[INFO] [stdout]   --> src/tree/build.rs:68:8
[INFO] [stdout]    |
[INFO] [stdout] 68 | pub fn construct_tree(
[INFO] [stdout]    |        ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `get_branches` is never used
[INFO] [stdout]   --> src/tree/node.rs:11:12
[INFO] [stdout]    |
[INFO] [stdout] 10 | impl Position {
[INFO] [stdout]    | ------------- method in this implementation
[INFO] [stdout] 11 |     pub fn get_branches(&self) -> (Position, Position) {
[INFO] [stdout]    |            ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `datetime` is never read
[INFO] [stdout]   --> src/tree/node.rs:34:9
[INFO] [stdout]    |
[INFO] [stdout] 32 | pub struct Node {
[INFO] [stdout]    |            ---- field in this struct
[INFO] [stdout] 33 |     pub price: f64,
[INFO] [stdout] 34 |     pub datetime: DateTime<Utc>,
[INFO] [stdout]    |         ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Node` 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: trait `AnalyticalGreeks` is never used
[INFO] [stdout]   --> src/greeks/mod.rs:12:11
[INFO] [stdout]    |
[INFO] [stdout] 12 | pub trait AnalyticalGreeks {
[INFO] [stdout]    |           ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `FiniteDifferenceGreeks` is never used
[INFO] [stdout]   --> src/greeks/finite_difference.rs:13:11
[INFO] [stdout]    |
[INFO] [stdout] 13 | pub trait FiniteDifferenceGreeks {
[INFO] [stdout]    |           ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `bump_and_reprice` is never used
[INFO] [stdout]   --> src/greeks/finite_difference.rs:33:4
[INFO] [stdout]    |
[INFO] [stdout] 33 | fn bump_and_reprice<T: Pricer>(
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `BUSINESS_DAYS_IN_YEAR` is never used
[INFO] [stdout]  --> src/risk_factors/discount.rs:8:7
[INFO] [stdout]   |
[INFO] [stdout] 8 | const BUSINESS_DAYS_IN_YEAR: usize = 252;
[INFO] [stdout]   |       ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `DividendRf` is never used
[INFO] [stdout]   --> src/risk_factors/dividend.rs:22:11
[INFO] [stdout]    |
[INFO] [stdout] 22 | pub trait DividendRf {
[INFO] [stdout]    |           ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/risk_factors/price.rs:27:8
[INFO] [stdout]    |
[INFO] [stdout] 26 | impl HistoricPrices {
[INFO] [stdout]    | ------------------- associated function in this implementation
[INFO] [stdout] 27 |     fn new(symbol: Symbol, historic_daily_average: Vec<f64>) -> HistoricPrices {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `Up` and `Down` are never constructed
[INFO] [stdout]   --> src/shock/mod.rs:19:5
[INFO] [stdout]    |
[INFO] [stdout] 18 | pub enum ShockDirection {
[INFO] [stdout]    |          -------------- variants in this enum
[INFO] [stdout] 19 |     Up,
[INFO] [stdout]    |     ^^
[INFO] [stdout] 20 |     Down,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `risk_factor_id` is never read
[INFO] [stdout]   --> src/shock/mod.rs:39:5
[INFO] [stdout]    |
[INFO] [stdout] 38 | pub struct VolatilityShock {
[INFO] [stdout]    |            --------------- field in this struct
[INFO] [stdout] 39 |     risk_factor_id: Symbol,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `risk_factor_id` is never read
[INFO] [stdout]   --> src/shock/mod.rs:48:5
[INFO] [stdout]    |
[INFO] [stdout] 47 | pub struct InterestRateShock {
[INFO] [stdout]    |            ----------------- field in this struct
[INFO] [stdout] 48 |     risk_factor_id: Symbol,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `absolute_shock` is never used
[INFO] [stdout]   --> src/shock/mod.rs:89:14
[INFO] [stdout]    |
[INFO] [stdout] 89 | pub const fn absolute_shock(size: f64, direction: ShockDirection) -> ShockSize {
[INFO] [stdout]    |              ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `absolute_time_shock` is never used
[INFO] [stdout]   --> src/shock/mod.rs:92:14
[INFO] [stdout]    |
[INFO] [stdout] 92 | pub const fn absolute_time_shock(size: Duration, direction: ShockDirection) -> TimeShockSize {
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `relative_percentage_shock` is never used
[INFO] [stdout]   --> src/shock/mod.rs:95:14
[INFO] [stdout]    |
[INFO] [stdout] 95 | pub const fn relative_percentage_shock(
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `relative_basis_point_shock` is never used
[INFO] [stdout]    --> src/shock/mod.rs:101:14
[INFO] [stdout]     |
[INFO] [stdout] 101 | pub const fn relative_basis_point_shock(basis_points: u64, direction: ShockDirection) -> ShockSize {
[INFO] [stdout]     |              ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `price_shock` is never used
[INFO] [stdout]    --> src/shock/mod.rs:105:14
[INFO] [stdout]     |
[INFO] [stdout] 105 | pub const fn price_shock(risk_factor_id: Symbol, size: ShockSize) -> Shock {
[INFO] [stdout]     |              ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `interest_rate_shock` is never used
[INFO] [stdout]    --> src/shock/mod.rs:111:14
[INFO] [stdout]     |
[INFO] [stdout] 111 | pub const fn interest_rate_shock(risk_factor_id: Symbol, size: ShockSize) -> Shock {
[INFO] [stdout]     |              ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `time_shock` is never used
[INFO] [stdout]    --> src/shock/mod.rs:117:14
[INFO] [stdout]     |
[INFO] [stdout] 117 | pub const fn time_shock(size: TimeShockSize) -> Shock {
[INFO] [stdout]     |              ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `volatility_shock` is never used
[INFO] [stdout]    --> src/shock/mod.rs:120:14
[INFO] [stdout]     |
[INFO] [stdout] 120 | pub const fn volatility_shock(risk_factor_id: Symbol, size: ShockSize) -> Shock {
[INFO] [stdout]     |              ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/shock/absolute.rs:10:18
[INFO] [stdout]    |
[INFO] [stdout]  9 | impl AbsoluteShock {
[INFO] [stdout]    | ------------------ associated function in this implementation
[INFO] [stdout] 10 |     pub const fn new(size: f64, direction: ShockDirection) -> AbsoluteShock {
[INFO] [stdout]    |                  ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/shock/absolute_time.rs:12:18
[INFO] [stdout]    |
[INFO] [stdout] 11 | impl AbsoluteTimeShock {
[INFO] [stdout]    | ---------------------- associated function in this implementation
[INFO] [stdout] 12 |     pub const fn new(size: chrono::Duration, direction: ShockDirection) -> AbsoluteTimeShock {
[INFO] [stdout]    |                  ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `BasisPoint`, `Decimal`, and `Percentage` are never constructed
[INFO] [stdout]  --> src/shock/relative.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub enum RelativeShockType {
[INFO] [stdout]   |          ----------------- variants in this enum
[INFO] [stdout] 5 |     BasisPoint,
[INFO] [stdout]   |     ^^^^^^^^^^
[INFO] [stdout] 6 |     Decimal,
[INFO] [stdout]   |     ^^^^^^^
[INFO] [stdout] 7 |     Percentage,
[INFO] [stdout]   |     ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated functions `percentage`, `basis_point`, and `decimal` are never used
[INFO] [stdout]   --> src/shock/relative.rs:17:18
[INFO] [stdout]    |
[INFO] [stdout] 16 | impl RelativeShock {
[INFO] [stdout]    | ------------------ associated functions in this implementation
[INFO] [stdout] 17 |     pub const fn percentage(size: f64, direction: ShockDirection) -> RelativeShock {
[INFO] [stdout]    |                  ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 24 |     pub const fn basis_point(size: f64, direction: ShockDirection) -> RelativeShock {
[INFO] [stdout]    |                  ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 31 |     pub const fn decimal(size: f64, direction: ShockDirection) -> RelativeShock {
[INFO] [stdout]    |                  ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `AbsoluteShock` and `RelativeShock` are never constructed
[INFO] [stdout]  --> src/shock/size.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub enum ShockSize {
[INFO] [stdout]   |          --------- variants in this enum
[INFO] [stdout] 5 |     AbsoluteShock(AbsoluteShock),
[INFO] [stdout]   |     ^^^^^^^^^^^^^
[INFO] [stdout] 6 |     RelativeShock(RelativeShock),
[INFO] [stdout]   |     ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `AbsoluteShock` and `RelativeShock` are never constructed
[INFO] [stdout]   --> src/shock/size.rs:10:5
[INFO] [stdout]    |
[INFO] [stdout]  9 | pub enum TimeShockSize {
[INFO] [stdout]    |          ------------- variants in this enum
[INFO] [stdout] 10 |     AbsoluteShock(AbsoluteTimeShock),
[INFO] [stdout]    |     ^^^^^^^^^^^^^
[INFO] [stdout] 11 |     RelativeShock(RelativeShock),
[INFO] [stdout]    |     ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_datetime_range` is never used
[INFO] [stdout]   --> src/utils/date.rs:11:8
[INFO] [stdout]    |
[INFO] [stdout] 11 | pub fn get_datetime_range(
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_test_evaluation_period` is never used
[INFO] [stdout]   --> src/utils/test_utils.rs:10:4
[INFO] [stdout]    |
[INFO] [stdout] 10 | fn get_test_evaluation_period() -> (DateTime<Utc>, DateTime<Utc>) {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_ls_test_evaluation_period` is never used
[INFO] [stdout]   --> src/utils/test_utils.rs:17:4
[INFO] [stdout]    |
[INFO] [stdout] 17 | fn get_ls_test_evaluation_period() -> (DateTime<Utc>, DateTime<Utc>) {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_test_risk_factors` is never used
[INFO] [stdout]   --> src/utils/test_utils.rs:24:4
[INFO] [stdout]    |
[INFO] [stdout] 24 | fn get_test_risk_factors<T: BlackScholes>(option: &T) -> RiskFactors {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_test_ls_risk_factors` is never used
[INFO] [stdout]   --> src/utils/test_utils.rs:39:4
[INFO] [stdout]    |
[INFO] [stdout] 39 | fn get_test_ls_risk_factors<T: BlackScholes>(option: &T) -> RiskFactors {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_test_call` is never used
[INFO] [stdout]   --> src/utils/test_utils.rs:54:8
[INFO] [stdout]    |
[INFO] [stdout] 54 | pub fn get_test_call() -> (Call, DateTime<Utc>, RiskFactors) {
[INFO] [stdout]    |        ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_test_put` is never used
[INFO] [stdout]   --> src/utils/test_utils.rs:64:8
[INFO] [stdout]    |
[INFO] [stdout] 64 | pub fn get_test_put() -> (Put, DateTime<Utc>, RiskFactors) {
[INFO] [stdout]    |        ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_test_ls_put` is never used
[INFO] [stdout]   --> src/utils/test_utils.rs:74:8
[INFO] [stdout]    |
[INFO] [stdout] 74 | pub fn get_test_ls_put() -> (Put, DateTime<Utc>, RiskFactors) {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `is_close` is never used
[INFO] [stdout]   --> src/utils/test_utils.rs:84:8
[INFO] [stdout]    |
[INFO] [stdout] 84 | pub fn is_close(lhs: f64, rhs: f64, percentage_tolerance: f64) -> bool {
[INFO] [stdout]    |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `A` should have a snake case name
[INFO] [stdout]    --> src/monte_carlo/aad_ls.rs:162:17
[INFO] [stdout]     |
[INFO] [stdout] 162 |             let A: Vec<Vec<f64>> = paths
[INFO] [stdout]     |                 ^ help: convert the identifier to snake case: `a`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `B` should have a snake case name
[INFO] [stdout]    --> src/monte_carlo/aad_ls.rs:167:17
[INFO] [stdout]     |
[INFO] [stdout] 167 |             let B: Vec<Vec<f64>> = A
[INFO] [stdout]     |                 ^ help: convert the identifier to snake case: `b`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Compiling pricer v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused variable: `inputs`
[INFO] [stdout]    --> src/monte_carlo/aad_ls.rs:116:9
[INFO] [stdout]     |
[INFO] [stdout] 116 |         inputs: MonteCarloInputs,
[INFO] [stdout]     |         ^^^^^^ help: if this is intentional, prefix it with an underscore: `_inputs`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `parameters`
[INFO] [stdout]    --> src/monte_carlo/aad_ls.rs:117:9
[INFO] [stdout]     |
[INFO] [stdout] 117 |         parameters: MonteCarloParams,
[INFO] [stdout]     |         ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_parameters`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `gamma` and `gamma_impl` are never used
[INFO] [stdout]   --> src/black_scholes/analytical_greeks.rs:47:8
[INFO] [stdout]    |
[INFO] [stdout] 38 | pub trait BlackScholesGreeks: BlackScholes {
[INFO] [stdout]    |           ------------------ methods in this trait
[INFO] [stdout] ...
[INFO] [stdout] 47 |     fn gamma(&self, valuation_time: DateTime<Utc>, risk_factors: RiskFactors) -> PricerResult<f64>
[INFO] [stdout]    |        ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 80 |     fn gamma_impl(&self, inputs: BlackScholesInputs) -> PricerResult<f64>;
[INFO] [stdout]    |        ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `get_monte_carlo_risk_factors` and `generate_monte_carlo_paths` are never used
[INFO] [stdout]   --> src/monte_carlo/aad_ls.rs:22:8
[INFO] [stdout]    |
[INFO] [stdout] 21 | pub trait LongstaffSchwartzMonteCarlo: FinancialOption {
[INFO] [stdout]    |           --------------------------- methods in this trait
[INFO] [stdout] 22 |     fn get_monte_carlo_risk_factors(
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 62 |     fn generate_monte_carlo_paths(
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `MonteCarloParams` is never constructed
[INFO] [stdout]   --> src/monte_carlo/inputs.rs:41:12
[INFO] [stdout]    |
[INFO] [stdout] 41 | pub struct MonteCarloParams {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `AnalyticalGreeks` is never used
[INFO] [stdout]   --> src/greeks/mod.rs:12:11
[INFO] [stdout]    |
[INFO] [stdout] 12 | pub trait AnalyticalGreeks {
[INFO] [stdout]    |           ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `BUSINESS_DAYS_IN_YEAR` is never used
[INFO] [stdout]  --> src/risk_factors/discount.rs:8:7
[INFO] [stdout]   |
[INFO] [stdout] 8 | const BUSINESS_DAYS_IN_YEAR: usize = 252;
[INFO] [stdout]   |       ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `DividendRf` is never used
[INFO] [stdout]   --> src/risk_factors/dividend.rs:22:11
[INFO] [stdout]    |
[INFO] [stdout] 22 | pub trait DividendRf {
[INFO] [stdout]    |           ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/risk_factors/price.rs:27:8
[INFO] [stdout]    |
[INFO] [stdout] 26 | impl HistoricPrices {
[INFO] [stdout]    | ------------------- associated function in this implementation
[INFO] [stdout] 27 |     fn new(symbol: Symbol, historic_daily_average: Vec<f64>) -> HistoricPrices {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `risk_factor_id` is never read
[INFO] [stdout]   --> src/shock/mod.rs:39:5
[INFO] [stdout]    |
[INFO] [stdout] 38 | pub struct VolatilityShock {
[INFO] [stdout]    |            --------------- field in this struct
[INFO] [stdout] 39 |     risk_factor_id: Symbol,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `risk_factor_id` is never read
[INFO] [stdout]   --> src/shock/mod.rs:48:5
[INFO] [stdout]    |
[INFO] [stdout] 47 | pub struct InterestRateShock {
[INFO] [stdout]    |            ----------------- field in this struct
[INFO] [stdout] 48 |     risk_factor_id: Symbol,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `relative_percentage_shock` is never used
[INFO] [stdout]   --> src/shock/mod.rs:95:14
[INFO] [stdout]    |
[INFO] [stdout] 95 | pub const fn relative_percentage_shock(
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `relative_basis_point_shock` is never used
[INFO] [stdout]    --> src/shock/mod.rs:101:14
[INFO] [stdout]     |
[INFO] [stdout] 101 | pub const fn relative_basis_point_shock(basis_points: u64, direction: ShockDirection) -> ShockSize {
[INFO] [stdout]     |              ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `BasisPoint`, `Decimal`, and `Percentage` are never constructed
[INFO] [stdout]  --> src/shock/relative.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub enum RelativeShockType {
[INFO] [stdout]   |          ----------------- variants in this enum
[INFO] [stdout] 5 |     BasisPoint,
[INFO] [stdout]   |     ^^^^^^^^^^
[INFO] [stdout] 6 |     Decimal,
[INFO] [stdout]   |     ^^^^^^^
[INFO] [stdout] 7 |     Percentage,
[INFO] [stdout]   |     ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated functions `percentage`, `basis_point`, and `decimal` are never used
[INFO] [stdout]   --> src/shock/relative.rs:17:18
[INFO] [stdout]    |
[INFO] [stdout] 16 | impl RelativeShock {
[INFO] [stdout]    | ------------------ associated functions in this implementation
[INFO] [stdout] 17 |     pub const fn percentage(size: f64, direction: ShockDirection) -> RelativeShock {
[INFO] [stdout]    |                  ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 24 |     pub const fn basis_point(size: f64, direction: ShockDirection) -> RelativeShock {
[INFO] [stdout]    |                  ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 31 |     pub const fn decimal(size: f64, direction: ShockDirection) -> RelativeShock {
[INFO] [stdout]    |                  ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `RelativeShock` is never constructed
[INFO] [stdout]  --> src/shock/size.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub enum ShockSize {
[INFO] [stdout]   |          --------- variant in this enum
[INFO] [stdout] 5 |     AbsoluteShock(AbsoluteShock),
[INFO] [stdout] 6 |     RelativeShock(RelativeShock),
[INFO] [stdout]   |     ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `RelativeShock` is never constructed
[INFO] [stdout]   --> src/shock/size.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout]  9 | pub enum TimeShockSize {
[INFO] [stdout]    |          ------------- variant in this enum
[INFO] [stdout] 10 |     AbsoluteShock(AbsoluteTimeShock),
[INFO] [stdout] 11 |     RelativeShock(RelativeShock),
[INFO] [stdout]    |     ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `A` should have a snake case name
[INFO] [stdout]    --> src/monte_carlo/aad_ls.rs:162:17
[INFO] [stdout]     |
[INFO] [stdout] 162 |             let A: Vec<Vec<f64>> = paths
[INFO] [stdout]     |                 ^ help: convert the identifier to snake case: `a`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `B` should have a snake case name
[INFO] [stdout]    --> src/monte_carlo/aad_ls.rs:167:17
[INFO] [stdout]     |
[INFO] [stdout] 167 |             let B: Vec<Vec<f64>> = A
[INFO] [stdout]     |                 ^ help: convert the identifier to snake case: `b`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 2.55s
[INFO] running `Command { std: "docker" "inspect" "ac4de91fe7ffa78a3d179614178f64f71cfd81b6a444af618e8c473bf1e28884", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "ac4de91fe7ffa78a3d179614178f64f71cfd81b6a444af618e8c473bf1e28884", kill_on_drop: false }`
[INFO] [stdout] ac4de91fe7ffa78a3d179614178f64f71cfd81b6a444af618e8c473bf1e28884
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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=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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+b8e88e5ddf5521a9f43ee3f62a702388c713e4bb" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 6b42291b18d0e719a0e8e4bdacce270228fff5b51c84cc75863d3d10d3a91dfa
[INFO] running `Command { std: "docker" "start" "-a" "6b42291b18d0e719a0e8e4bdacce270228fff5b51c84cc75863d3d10d3a91dfa", kill_on_drop: false }`
[INFO] [stderr] warning: unused import: `analytical_greeks::BlackScholesGreeks`
[INFO] [stderr]   --> src/black_scholes/mod.rs:13:9
[INFO] [stderr]    |
[INFO] [stderr] 13 | pub use analytical_greeks::BlackScholesGreeks;
[INFO] [stderr]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `aad_ls::LongstaffSchwartzMonteCarlo`
[INFO] [stderr]   --> src/monte_carlo/mod.rs:14:9
[INFO] [stderr]    |
[INFO] [stderr] 14 | pub use aad_ls::LongstaffSchwartzMonteCarlo;
[INFO] [stderr]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `finite_difference::FiniteDifferenceGreeks`
[INFO] [stderr]  --> src/greeks/mod.rs:5:9
[INFO] [stderr]   |
[INFO] [stderr] 5 | pub use finite_difference::FiniteDifferenceGreeks;
[INFO] [stderr]   |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `inputs`
[INFO] [stderr]    --> src/monte_carlo/aad_ls.rs:116:9
[INFO] [stderr]     |
[INFO] [stderr] 116 |         inputs: MonteCarloInputs,
[INFO] [stderr]     |         ^^^^^^ help: if this is intentional, prefix it with an underscore: `_inputs`
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `parameters`
[INFO] [stderr]    --> src/monte_carlo/aad_ls.rs:117:9
[INFO] [stderr]     |
[INFO] [stderr] 117 |         parameters: MonteCarloParams,
[INFO] [stderr]     |         ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_parameters`
[INFO] [stderr] 
[INFO] [stderr] warning: static `DAYS_IN_YEAR` is never used
[INFO] [stderr]   --> src/black_scholes/analytical_greeks.rs:13:8
[INFO] [stderr]    |
[INFO] [stderr] 13 | static DAYS_IN_YEAR: u32 = 365;
[INFO] [stderr]    |        ^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: type alias `BlackScholesGreekImplementation` is never used
[INFO] [stderr]   --> src/black_scholes/analytical_greeks.rs:17:6
[INFO] [stderr]    |
[INFO] [stderr] 17 | type BlackScholesGreekImplementation =
[INFO] [stderr]    |      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `map_to_impl` is never used
[INFO] [stderr]   --> src/black_scholes/analytical_greeks.rs:20:4
[INFO] [stderr]    |
[INFO] [stderr] 20 | fn map_to_impl(
[INFO] [stderr]    |    ^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: trait `BlackScholesGreeks` is never used
[INFO] [stderr]   --> src/black_scholes/analytical_greeks.rs:38:11
[INFO] [stderr]    |
[INFO] [stderr] 38 | pub trait BlackScholesGreeks: BlackScholes {
[INFO] [stderr]    |           ^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: trait `LongstaffSchwartzMonteCarlo` is never used
[INFO] [stderr]   --> src/monte_carlo/aad_ls.rs:21:11
[INFO] [stderr]    |
[INFO] [stderr] 21 | pub trait LongstaffSchwartzMonteCarlo: FinancialOption {
[INFO] [stderr]    |           ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `failed_to_create_gaussian_error` is never used
[INFO] [stderr]   --> src/monte_carlo/aad_ls.rs:75:4
[INFO] [stderr]    |
[INFO] [stderr] 75 | fn failed_to_create_gaussian_error(_: StatsError) -> PricerError {
[INFO] [stderr]    |    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `gaussian` is never used
[INFO] [stderr]   --> src/monte_carlo/aad_ls.rs:84:4
[INFO] [stderr]    |
[INFO] [stderr] 84 | fn gaussian() -> PricerResult<Normal> {
[INFO] [stderr]    |    ^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `generate_monte_carlo_paths` is never used
[INFO] [stderr]   --> src/monte_carlo/aad_ls.rs:88:8
[INFO] [stderr]    |
[INFO] [stderr] 88 | pub fn generate_monte_carlo_paths(
[INFO] [stderr]    |        ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `zero_or_more` is never used
[INFO] [stderr]    --> src/monte_carlo/aad_ls.rs:123:4
[INFO] [stderr]     |
[INFO] [stderr] 123 | fn zero_or_more(val: f64) -> f64 {
[INFO] [stderr]     |    ^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `vectomatrix` is never used
[INFO] [stderr]    --> src/monte_carlo/aad_ls.rs:131:4
[INFO] [stderr]     |
[INFO] [stderr] 131 | fn vectomatrix(vec: Vec<Vec<f64>>) -> PricerResult<Array2<f64>> {
[INFO] [stderr]     |    ^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `MonteCarloParams` is never constructed
[INFO] [stderr]   --> src/monte_carlo/inputs.rs:41:12
[INFO] [stderr]    |
[INFO] [stderr] 41 | pub struct MonteCarloParams {
[INFO] [stderr]    |            ^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: constant `EULERS_NUMBER` is never used
[INFO] [stderr]   --> src/tree/mod.rs:16:7
[INFO] [stderr]    |
[INFO] [stderr] 16 | const EULERS_NUMBER: f64 = std::f64::consts::E;
[INFO] [stderr]    |       ^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: field `valuation_cache` is never read
[INFO] [stderr]   --> src/tree/mod.rs:22:9
[INFO] [stderr]    |
[INFO] [stderr] 19 | pub struct Tree {
[INFO] [stderr]    |            ---- field in this struct
[INFO] [stderr] ...
[INFO] [stderr] 22 |     pub valuation_cache: HashMap<Position, f64>,
[INFO] [stderr]    |         ^^^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `Tree` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stderr] 
[INFO] [stderr] warning: methods `get_child_nodes`, `calculate_node`, `value_node`, and `value` are never used
[INFO] [stderr]   --> src/tree/mod.rs:26:8
[INFO] [stderr]    |
[INFO] [stderr] 25 | impl Tree {
[INFO] [stderr]    | --------- methods in this implementation
[INFO] [stderr] 26 |     fn get_child_nodes(&self, node: &Node) -> Option<(Node, Node)> {
[INFO] [stderr]    |        ^^^^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 37 |     fn calculate_node<O: FinancialOption>(&mut self, node: &Node, option: &O, rfr: f64) -> f64 {
[INFO] [stderr]    |        ^^^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 59 |     fn value_node<O: FinancialOption>(&mut self, node: &Node, option: &O, rfr: f64) -> f64 {
[INFO] [stderr]    |        ^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 65 |     pub fn value<O: FinancialOption>(&mut self, option: &O, rfr: f64) -> f64 {
[INFO] [stderr]    |            ^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `new_tree` is never used
[INFO] [stderr]   --> src/tree/build.rs:14:4
[INFO] [stderr]    |
[INFO] [stderr] 14 | fn new_tree(price: f64, datetime: DateTime<Utc>) -> Tree {
[INFO] [stderr]    |    ^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `get_node_value` is never used
[INFO] [stderr]   --> src/tree/build.rs:53:4
[INFO] [stderr]    |
[INFO] [stderr] 53 | fn get_node_value(underlying_price: f64, volatility: f64, position: &Position) -> f64 {
[INFO] [stderr]    |    ^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `get_node` is never used
[INFO] [stderr]   --> src/tree/build.rs:59:4
[INFO] [stderr]    |
[INFO] [stderr] 59 | fn get_node(price: f64, datetime: DateTime<Utc>, volatility: f64, position: &Position) -> Node {
[INFO] [stderr]    |    ^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `construct_tree` is never used
[INFO] [stderr]   --> src/tree/build.rs:68:8
[INFO] [stderr]    |
[INFO] [stderr] 68 | pub fn construct_tree(
[INFO] [stderr]    |        ^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: method `get_branches` is never used
[INFO] [stderr]   --> src/tree/node.rs:11:12
[INFO] [stderr]    |
[INFO] [stderr] 10 | impl Position {
[INFO] [stderr]    | ------------- method in this implementation
[INFO] [stderr] 11 |     pub fn get_branches(&self) -> (Position, Position) {
[INFO] [stderr]    |            ^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: field `datetime` is never read
[INFO] [stderr]   --> src/tree/node.rs:34:9
[INFO] [stderr]    |
[INFO] [stderr] 32 | pub struct Node {
[INFO] [stderr]    |            ---- field in this struct
[INFO] [stderr] 33 |     pub price: f64,
[INFO] [stderr] 34 |     pub datetime: DateTime<Utc>,
[INFO] [stderr]    |         ^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `Node` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stderr] 
[INFO] [stderr] warning: trait `AnalyticalGreeks` is never used
[INFO] [stderr]   --> src/greeks/mod.rs:12:11
[INFO] [stderr]    |
[INFO] [stderr] 12 | pub trait AnalyticalGreeks {
[INFO] [stderr]    |           ^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: trait `FiniteDifferenceGreeks` is never used
[INFO] [stderr]   --> src/greeks/finite_difference.rs:13:11
[INFO] [stderr]    |
[INFO] [stderr] 13 | pub trait FiniteDifferenceGreeks {
[INFO] [stderr]    |           ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `bump_and_reprice` is never used
[INFO] [stderr]   --> src/greeks/finite_difference.rs:33:4
[INFO] [stderr]    |
[INFO] [stderr] 33 | fn bump_and_reprice<T: Pricer>(
[INFO] [stderr]    |    ^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: constant `BUSINESS_DAYS_IN_YEAR` is never used
[INFO] [stderr]  --> src/risk_factors/discount.rs:8:7
[INFO] [stderr]   |
[INFO] [stderr] 8 | const BUSINESS_DAYS_IN_YEAR: usize = 252;
[INFO] [stderr]   |       ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: trait `DividendRf` is never used
[INFO] [stderr]   --> src/risk_factors/dividend.rs:22:11
[INFO] [stderr]    |
[INFO] [stderr] 22 | pub trait DividendRf {
[INFO] [stderr]    |           ^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: associated function `new` is never used
[INFO] [stderr]   --> src/risk_factors/price.rs:27:8
[INFO] [stderr]    |
[INFO] [stderr] 26 | impl HistoricPrices {
[INFO] [stderr]    | ------------------- associated function in this implementation
[INFO] [stderr] 27 |     fn new(symbol: Symbol, historic_daily_average: Vec<f64>) -> HistoricPrices {
[INFO] [stderr]    |        ^^^
[INFO] [stderr] 
[INFO] [stderr] warning: variants `Up` and `Down` are never constructed
[INFO] [stderr]   --> src/shock/mod.rs:19:5
[INFO] [stderr]    |
[INFO] [stderr] 18 | pub enum ShockDirection {
[INFO] [stderr]    |          -------------- variants in this enum
[INFO] [stderr] 19 |     Up,
[INFO] [stderr]    |     ^^
[INFO] [stderr] 20 |     Down,
[INFO] [stderr]    |     ^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: field `risk_factor_id` is never read
[INFO] [stderr]   --> src/shock/mod.rs:39:5
[INFO] [stderr]    |
[INFO] [stderr] 38 | pub struct VolatilityShock {
[INFO] [stderr]    |            --------------- field in this struct
[INFO] [stderr] 39 |     risk_factor_id: Symbol,
[INFO] [stderr]    |     ^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: field `risk_factor_id` is never read
[INFO] [stderr]   --> src/shock/mod.rs:48:5
[INFO] [stderr]    |
[INFO] [stderr] 47 | pub struct InterestRateShock {
[INFO] [stderr]    |            ----------------- field in this struct
[INFO] [stderr] 48 |     risk_factor_id: Symbol,
[INFO] [stderr]    |     ^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `absolute_shock` is never used
[INFO] [stderr]   --> src/shock/mod.rs:89:14
[INFO] [stderr]    |
[INFO] [stderr] 89 | pub const fn absolute_shock(size: f64, direction: ShockDirection) -> ShockSize {
[INFO] [stderr]    |              ^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `absolute_time_shock` is never used
[INFO] [stderr]   --> src/shock/mod.rs:92:14
[INFO] [stderr]    |
[INFO] [stderr] 92 | pub const fn absolute_time_shock(size: Duration, direction: ShockDirection) -> TimeShockSize {
[INFO] [stderr]    |              ^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `relative_percentage_shock` is never used
[INFO] [stderr]   --> src/shock/mod.rs:95:14
[INFO] [stderr]    |
[INFO] [stderr] 95 | pub const fn relative_percentage_shock(
[INFO] [stderr]    |              ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `relative_basis_point_shock` is never used
[INFO] [stderr]    --> src/shock/mod.rs:101:14
[INFO] [stderr]     |
[INFO] [stderr] 101 | pub const fn relative_basis_point_shock(basis_points: u64, direction: ShockDirection) -> ShockSize {
[INFO] [stderr]     |              ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `price_shock` is never used
[INFO] [stderr]    --> src/shock/mod.rs:105:14
[INFO] [stderr]     |
[INFO] [stderr] 105 | pub const fn price_shock(risk_factor_id: Symbol, size: ShockSize) -> Shock {
[INFO] [stderr]     |              ^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `interest_rate_shock` is never used
[INFO] [stderr]    --> src/shock/mod.rs:111:14
[INFO] [stderr]     |
[INFO] [stderr] 111 | pub const fn interest_rate_shock(risk_factor_id: Symbol, size: ShockSize) -> Shock {
[INFO] [stderr]     |              ^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `time_shock` is never used
[INFO] [stderr]    --> src/shock/mod.rs:117:14
[INFO] [stderr]     |
[INFO] [stderr] 117 | pub const fn time_shock(size: TimeShockSize) -> Shock {
[INFO] [stderr]     |              ^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `volatility_shock` is never used
[INFO] [stderr]    --> src/shock/mod.rs:120:14
[INFO] [stderr]     |
[INFO] [stderr] 120 | pub const fn volatility_shock(risk_factor_id: Symbol, size: ShockSize) -> Shock {
[INFO] [stderr]     |              ^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: associated function `new` is never used
[INFO] [stderr]   --> src/shock/absolute.rs:10:18
[INFO] [stderr]    |
[INFO] [stderr]  9 | impl AbsoluteShock {
[INFO] [stderr]    | ------------------ associated function in this implementation
[INFO] [stderr] 10 |     pub const fn new(size: f64, direction: ShockDirection) -> AbsoluteShock {
[INFO] [stderr]    |                  ^^^
[INFO] [stderr] 
[INFO] [stderr] warning: associated function `new` is never used
[INFO] [stderr]   --> src/shock/absolute_time.rs:12:18
[INFO] [stderr]    |
[INFO] [stderr] 11 | impl AbsoluteTimeShock {
[INFO] [stderr]    | ---------------------- associated function in this implementation
[INFO] [stderr] 12 |     pub const fn new(size: chrono::Duration, direction: ShockDirection) -> AbsoluteTimeShock {
[INFO] [stderr]    |                  ^^^
[INFO] [stderr] 
[INFO] [stderr] warning: variants `BasisPoint`, `Decimal`, and `Percentage` are never constructed
[INFO] [stderr]  --> src/shock/relative.rs:5:5
[INFO] [stderr]   |
[INFO] [stderr] 4 | pub enum RelativeShockType {
[INFO] [stderr]   |          ----------------- variants in this enum
[INFO] [stderr] 5 |     BasisPoint,
[INFO] [stderr]   |     ^^^^^^^^^^
[INFO] [stderr] 6 |     Decimal,
[INFO] [stderr]   |     ^^^^^^^
[INFO] [stderr] 7 |     Percentage,
[INFO] [stderr]   |     ^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: associated functions `percentage`, `basis_point`, and `decimal` are never used
[INFO] [stderr]   --> src/shock/relative.rs:17:18
[INFO] [stderr]    |
[INFO] [stderr] 16 | impl RelativeShock {
[INFO] [stderr]    | ------------------ associated functions in this implementation
[INFO] [stderr] 17 |     pub const fn percentage(size: f64, direction: ShockDirection) -> RelativeShock {
[INFO] [stderr]    |                  ^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 24 |     pub const fn basis_point(size: f64, direction: ShockDirection) -> RelativeShock {
[INFO] [stderr]    |                  ^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 31 |     pub const fn decimal(size: f64, direction: ShockDirection) -> RelativeShock {
[INFO] [stderr]    |                  ^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: variants `AbsoluteShock` and `RelativeShock` are never constructed
[INFO] [stderr]  --> src/shock/size.rs:5:5
[INFO] [stderr]   |
[INFO] [stderr] 4 | pub enum ShockSize {
[INFO] [stderr]   |          --------- variants in this enum
[INFO] [stderr] 5 |     AbsoluteShock(AbsoluteShock),
[INFO] [stderr]   |     ^^^^^^^^^^^^^
[INFO] [stderr] 6 |     RelativeShock(RelativeShock),
[INFO] [stderr]   |     ^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: variants `AbsoluteShock` and `RelativeShock` are never constructed
[INFO] [stderr]   --> src/shock/size.rs:10:5
[INFO] [stderr]    |
[INFO] [stderr]  9 | pub enum TimeShockSize {
[INFO] [stderr]    |          ------------- variants in this enum
[INFO] [stderr] 10 |     AbsoluteShock(AbsoluteTimeShock),
[INFO] [stderr]    |     ^^^^^^^^^^^^^
[INFO] [stderr] 11 |     RelativeShock(RelativeShock),
[INFO] [stderr]    |     ^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `get_datetime_range` is never used
[INFO] [stderr]   --> src/utils/date.rs:11:8
[INFO] [stderr]    |
[INFO] [stderr] 11 | pub fn get_datetime_range(
[INFO] [stderr]    |        ^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `get_test_evaluation_period` is never used
[INFO] [stderr]   --> src/utils/test_utils.rs:10:4
[INFO] [stderr]    |
[INFO] [stderr] 10 | fn get_test_evaluation_period() -> (DateTime<Utc>, DateTime<Utc>) {
[INFO] [stderr]    |    ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `get_ls_test_evaluation_period` is never used
[INFO] [stderr]   --> src/utils/test_utils.rs:17:4
[INFO] [stderr]    |
[INFO] [stderr] 17 | fn get_ls_test_evaluation_period() -> (DateTime<Utc>, DateTime<Utc>) {
[INFO] [stderr]    |    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `get_test_risk_factors` is never used
[INFO] [stderr]   --> src/utils/test_utils.rs:24:4
[INFO] [stderr]    |
[INFO] [stderr] 24 | fn get_test_risk_factors<T: BlackScholes>(option: &T) -> RiskFactors {
[INFO] [stderr]    |    ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `get_test_ls_risk_factors` is never used
[INFO] [stderr]   --> src/utils/test_utils.rs:39:4
[INFO] [stderr]    |
[INFO] [stderr] 39 | fn get_test_ls_risk_factors<T: BlackScholes>(option: &T) -> RiskFactors {
[INFO] [stderr]    |    ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `get_test_call` is never used
[INFO] [stderr]   --> src/utils/test_utils.rs:54:8
[INFO] [stderr]    |
[INFO] [stderr] 54 | pub fn get_test_call() -> (Call, DateTime<Utc>, RiskFactors) {
[INFO] [stderr]    |        ^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `get_test_put` is never used
[INFO] [stderr]   --> src/utils/test_utils.rs:64:8
[INFO] [stderr]    |
[INFO] [stderr] 64 | pub fn get_test_put() -> (Put, DateTime<Utc>, RiskFactors) {
[INFO] [stderr]    |        ^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `get_test_ls_put` is never used
[INFO] [stderr]   --> src/utils/test_utils.rs:74:8
[INFO] [stderr]    |
[INFO] [stderr] 74 | pub fn get_test_ls_put() -> (Put, DateTime<Utc>, RiskFactors) {
[INFO] [stderr]    |        ^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `is_close` is never used
[INFO] [stderr]   --> src/utils/test_utils.rs:84:8
[INFO] [stderr]    |
[INFO] [stderr] 84 | pub fn is_close(lhs: f64, rhs: f64, percentage_tolerance: f64) -> bool {
[INFO] [stderr]    |        ^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: variable `A` should have a snake case name
[INFO] [stderr]    --> src/monte_carlo/aad_ls.rs:162:17
[INFO] [stderr]     |
[INFO] [stderr] 162 |             let A: Vec<Vec<f64>> = paths
[INFO] [stderr]     |                 ^ help: convert the identifier to snake case: `a`
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: variable `B` should have a snake case name
[INFO] [stderr]    --> src/monte_carlo/aad_ls.rs:167:17
[INFO] [stderr]     |
[INFO] [stderr] 167 |             let B: Vec<Vec<f64>> = A
[INFO] [stderr]     |                 ^ help: convert the identifier to snake case: `b`
[INFO] [stderr] 
[INFO] [stderr] warning: methods `gamma` and `gamma_impl` are never used
[INFO] [stderr]   --> src/black_scholes/analytical_greeks.rs:47:8
[INFO] [stderr]    |
[INFO] [stderr] 38 | pub trait BlackScholesGreeks: BlackScholes {
[INFO] [stderr]    |           ------------------ methods in this trait
[INFO] [stderr] ...
[INFO] [stderr] 47 |     fn gamma(&self, valuation_time: DateTime<Utc>, risk_factors: RiskFactors) -> PricerResult<f64>
[INFO] [stderr]    |        ^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 80 |     fn gamma_impl(&self, inputs: BlackScholesInputs) -> PricerResult<f64>;
[INFO] [stderr]    |        ^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: methods `get_monte_carlo_risk_factors` and `generate_monte_carlo_paths` are never used
[INFO] [stderr]   --> src/monte_carlo/aad_ls.rs:22:8
[INFO] [stderr]    |
[INFO] [stderr] 21 | pub trait LongstaffSchwartzMonteCarlo: FinancialOption {
[INFO] [stderr]    |           --------------------------- methods in this trait
[INFO] [stderr] 22 |     fn get_monte_carlo_risk_factors(
[INFO] [stderr]    |        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 62 |     fn generate_monte_carlo_paths(
[INFO] [stderr]    |        ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: variant `RelativeShock` is never constructed
[INFO] [stderr]  --> src/shock/size.rs:6:5
[INFO] [stderr]   |
[INFO] [stderr] 4 | pub enum ShockSize {
[INFO] [stderr]   |          --------- variant in this enum
[INFO] [stderr] 5 |     AbsoluteShock(AbsoluteShock),
[INFO] [stderr] 6 |     RelativeShock(RelativeShock),
[INFO] [stderr]   |     ^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: variant `RelativeShock` is never constructed
[INFO] [stderr]   --> src/shock/size.rs:11:5
[INFO] [stderr]    |
[INFO] [stderr]  9 | pub enum TimeShockSize {
[INFO] [stderr]    |          ------------- variant in this enum
[INFO] [stderr] 10 |     AbsoluteShock(AbsoluteTimeShock),
[INFO] [stderr] 11 |     RelativeShock(RelativeShock),
[INFO] [stderr]    |     ^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: `pricer` (lib) generated 59 warnings (run `cargo fix --lib -p pricer` to apply 5 suggestions)
[INFO] [stderr] warning: `pricer` (lib test) generated 19 warnings (15 duplicates)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.23s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/pricer-0d65d4dd66af0535)
[INFO] [stdout] 
[INFO] [stdout] running 16 tests
[INFO] [stdout] test black_scholes::test::black_scholes_finite_difference_delta_near_analytical_delta ... ok
[INFO] [stdout] test black_scholes::test::black_scholes_finite_difference_vega_near_analytical_vega ... ok
[INFO] [stdout] test black_scholes::test::black_scholes_finite_difference_theta_near_analytical_theta ... ok
[INFO] [stdout] test black_scholes::test::half_year_black_scholes_put ... ok
[INFO] [stdout] test black_scholes::test::black_scholes_finite_difference_rho_near_analytical_rho ... ok
[INFO] [stdout] test tree::build::get_next_layer_basic ... ok
[INFO] [stdout] test black_scholes::test::half_year_black_scholes_call ... ok
[INFO] [stdout] test tree::tests::two_year_basic_call ... ok
[INFO] [stdout] test tree::build::one_year_tree_one_step ... ok
[INFO] [stdout] test tree::tests::two_year_basic_put ... ok
[INFO] [stdout] test monte_carlo::test::half_year_put_monte_carlo_near_black_scholes ... ok
[INFO] [stdout] test monte_carlo::test::half_year_call_monte_carlo_near_black_scholes ... ok
[INFO] [stdout] test greeks::test::monte_carlo_near_black_scholes_finite_difference_delta has been running for over 60 seconds
[INFO] [stdout] test greeks::test::monte_carlo_near_black_scholes_finite_difference_rho has been running for over 60 seconds
[INFO] [stdout] test greeks::test::monte_carlo_near_black_scholes_finite_difference_vega has been running for over 60 seconds
[INFO] [stdout] test monte_carlo::test::direct_mcls_test has been running for over 60 seconds
[INFO] [stdout] test greeks::test::monte_carlo_near_black_scholes_finite_difference_rho ... ok
[INFO] [stdout] test greeks::test::monte_carlo_near_black_scholes_finite_difference_vega ... ok
[INFO] [stdout] test greeks::test::monte_carlo_near_black_scholes_finite_difference_delta ... FAILED
[INFO] [stdout] test monte_carlo::test::direct_mcls_test ... ok
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- greeks::test::monte_carlo_near_black_scholes_finite_difference_delta stdout ----
[INFO] [stdout] Percentage difference: 0.22939376512769433
[INFO] [stdout] 
[INFO] [stdout] thread 'greeks::test::monte_carlo_near_black_scholes_finite_difference_delta' (25) panicked at src/greeks/test.rs:14:5:
[INFO] [stdout] Black-Scholes finite difference delta (0.7502124271096022) differs from Monte Carlo (0.9446024048594195) by more than 20%
[INFO] [stdout] stack backtrace:
[INFO] [stdout]    0:     0x60f414ad5e9a - std[fce30c26ee6459b]::backtrace_rs::backtrace::libunwind::trace
[INFO] [stdout]                                at /rustc/b8e88e5ddf5521a9f43ee3f62a702388c713e4bb/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9
[INFO] [stdout]    1:     0x60f414ad5e9a - std[fce30c26ee6459b]::backtrace_rs::backtrace::trace_unsynchronized::<std[fce30c26ee6459b]::sys::backtrace::_print_fmt::{closure#1}>
[INFO] [stdout]                                at /rustc/b8e88e5ddf5521a9f43ee3f62a702388c713e4bb/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14
[INFO] [stdout]    2:     0x60f414ad5e9a - std[fce30c26ee6459b]::sys::backtrace::_print_fmt
[INFO] [stdout]                                at /rustc/b8e88e5ddf5521a9f43ee3f62a702388c713e4bb/library/std/src/sys/backtrace.rs:74:9
[INFO] [stdout]    3:     0x60f414ad5e9a - <<std[fce30c26ee6459b]::sys::backtrace::BacktraceLock>::print::DisplayBacktrace as core[d17f6591d688f3bd]::fmt::Display>::fmt
[INFO] [stdout]                                at /rustc/b8e88e5ddf5521a9f43ee3f62a702388c713e4bb/library/std/src/sys/backtrace.rs:44:26
[INFO] [stdout]    4:     0x60f414aeb3fa - <core[d17f6591d688f3bd]::fmt::rt::Argument>::fmt
[INFO] [stdout]                                at /rustc/b8e88e5ddf5521a9f43ee3f62a702388c713e4bb/library/core/src/fmt/rt.rs:152:76
[INFO] [stdout]    5:     0x60f414aeb3fa - core[d17f6591d688f3bd]::fmt::write
[INFO] [stdout]    6:     0x60f414ada7d2 - std[fce30c26ee6459b]::io::default_write_fmt::<alloc[dad09f3a48280dba]::vec::Vec<u8>>
[INFO] [stdout]                                at /rustc/b8e88e5ddf5521a9f43ee3f62a702388c713e4bb/library/std/src/io/mod.rs:621:11
[INFO] [stdout]    7:     0x60f414ada7d2 - <alloc[dad09f3a48280dba]::vec::Vec<u8> as std[fce30c26ee6459b]::io::Write>::write_fmt
[INFO] [stdout]                                at /rustc/b8e88e5ddf5521a9f43ee3f62a702388c713e4bb/library/std/src/io/mod.rs:1976:13
[INFO] [stdout]    8:     0x60f414ab4aaf - <std[fce30c26ee6459b]::sys::backtrace::BacktraceLock>::print
[INFO] [stdout]                                at /rustc/b8e88e5ddf5521a9f43ee3f62a702388c713e4bb/library/std/src/sys/backtrace.rs:47:9
[INFO] [stdout]    9:     0x60f414ab4aaf - std[fce30c26ee6459b]::panicking::default_hook::{closure#0}
[INFO] [stdout]                                at /rustc/b8e88e5ddf5521a9f43ee3f62a702388c713e4bb/library/std/src/panicking.rs:292:27
[INFO] [stdout]   10:     0x60f414ace159 - std[fce30c26ee6459b]::panicking::default_hook
[INFO] [stdout]                                at /rustc/b8e88e5ddf5521a9f43ee3f62a702388c713e4bb/library/std/src/panicking.rs:316:9
[INFO] [stdout]   11:     0x60f4149abaec - <alloc[dad09f3a48280dba]::boxed::Box<dyn for<'a, 'b> core[d17f6591d688f3bd]::ops::function::Fn<(&'a std[fce30c26ee6459b]::panic::PanicHookInfo<'b>,), Output = ()> + core[d17f6591d688f3bd]::marker::Sync + core[d17f6591d688f3bd]::marker::Send> as core[d17f6591d688f3bd]::ops::function::Fn<(&std[fce30c26ee6459b]::panic::PanicHookInfo,)>>::call
[INFO] [stdout]                                at /rustc/b8e88e5ddf5521a9f43ee3f62a702388c713e4bb/library/alloc/src/boxed.rs:2285:9
[INFO] [stdout]   12:     0x60f4149abaec - test[9653f4f1d2ca1489]::test_main_inner::<test[9653f4f1d2ca1489]::test_main_static::{closure#0}>::{closure#0}
[INFO] [stdout]                                at /rustc/b8e88e5ddf5521a9f43ee3f62a702388c713e4bb/library/test/src/lib.rs:155:21
[INFO] [stdout]   13:     0x60f414ace3d2 - <alloc[dad09f3a48280dba]::boxed::Box<dyn for<'a, 'b> core[d17f6591d688f3bd]::ops::function::Fn<(&'a std[fce30c26ee6459b]::panic::PanicHookInfo<'b>,), Output = ()> + core[d17f6591d688f3bd]::marker::Sync + core[d17f6591d688f3bd]::marker::Send> as core[d17f6591d688f3bd]::ops::function::Fn<(&std[fce30c26ee6459b]::panic::PanicHookInfo,)>>::call
[INFO] [stdout]                                at /rustc/b8e88e5ddf5521a9f43ee3f62a702388c713e4bb/library/alloc/src/boxed.rs:2285:9
[INFO] [stdout]   14:     0x60f414ace3d2 - std[fce30c26ee6459b]::panicking::panic_with_hook
[INFO] [stdout]                                at /rustc/b8e88e5ddf5521a9f43ee3f62a702388c713e4bb/library/std/src/panicking.rs:833:13
[INFO] [stdout]   15:     0x60f414ab4b68 - std[fce30c26ee6459b]::panicking::panic_handler::{closure#0}
[INFO] [stdout]                                at /rustc/b8e88e5ddf5521a9f43ee3f62a702388c713e4bb/library/std/src/panicking.rs:698:13
[INFO] [stdout]   16:     0x60f414aa9d49 - std[fce30c26ee6459b]::sys::backtrace::__rust_end_short_backtrace::<std[fce30c26ee6459b]::panicking::panic_handler::{closure#0}, !>
[INFO] [stdout]                                at /rustc/b8e88e5ddf5521a9f43ee3f62a702388c713e4bb/library/std/src/sys/backtrace.rs:182:18
[INFO] [stdout]   17:     0x60f414ab587d - __rustc[de152adb51f02556]::rust_begin_unwind
[INFO] [stdout]                                at /rustc/b8e88e5ddf5521a9f43ee3f62a702388c713e4bb/library/std/src/panicking.rs:689:5
[INFO] [stdout]   18:     0x60f414aebbbc - core[d17f6591d688f3bd]::panicking::panic_fmt
[INFO] [stdout]                                at /rustc/b8e88e5ddf5521a9f43ee3f62a702388c713e4bb/library/core/src/panicking.rs:80:14
[INFO] [stdout]   19:     0x60f414955e62 - pricer[31844e3b30345b56]::greeks::test::monte_carlo_near_black_scholes_finite_difference_delta
[INFO] [stdout]                                at /opt/rustwide/workdir/src/greeks/test.rs:14:5
[INFO] [stdout]   20:     0x60f41495495c - pricer[31844e3b30345b56]::greeks::test::monte_carlo_near_black_scholes_finite_difference_delta::{closure#0}
[INFO] [stdout]                                at /opt/rustwide/workdir/src/greeks/test.rs:7:64
[INFO] [stdout]   21:     0x60f41499e4f6 - <pricer[31844e3b30345b56]::greeks::test::monte_carlo_near_black_scholes_finite_difference_delta::{closure#0} as core[d17f6591d688f3bd]::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]                                at /rustc/b8e88e5ddf5521a9f43ee3f62a702388c713e4bb/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   22:     0x60f41499edcb - <fn() -> core[d17f6591d688f3bd]::result::Result<(), alloc[dad09f3a48280dba]::string::String> as core[d17f6591d688f3bd]::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]                                at /rustc/b8e88e5ddf5521a9f43ee3f62a702388c713e4bb/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   23:     0x60f41499edcb - test[9653f4f1d2ca1489]::__rust_begin_short_backtrace::<core[d17f6591d688f3bd]::result::Result<(), alloc[dad09f3a48280dba]::string::String>, fn() -> core[d17f6591d688f3bd]::result::Result<(), alloc[dad09f3a48280dba]::string::String>>
[INFO] [stdout]                                at /rustc/b8e88e5ddf5521a9f43ee3f62a702388c713e4bb/library/test/src/lib.rs:724:18
[INFO] [stdout]   24:     0x60f4149ac5bb - test[9653f4f1d2ca1489]::run_test_in_process::{closure#0}
[INFO] [stdout]                                at /rustc/b8e88e5ddf5521a9f43ee3f62a702388c713e4bb/library/test/src/lib.rs:747:74
[INFO] [stdout]   25:     0x60f4149ac5bb - <core[d17f6591d688f3bd]::panic::unwind_safe::AssertUnwindSafe<test[9653f4f1d2ca1489]::run_test_in_process::{closure#0}> as core[d17f6591d688f3bd]::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]                                at /rustc/b8e88e5ddf5521a9f43ee3f62a702388c713e4bb/library/core/src/panic/unwind_safe.rs:275:9
[INFO] [stdout]   26:     0x60f4149ac5bb - std[fce30c26ee6459b]::panicking::catch_unwind::do_call::<core[d17f6591d688f3bd]::panic::unwind_safe::AssertUnwindSafe<test[9653f4f1d2ca1489]::run_test_in_process::{closure#0}>, core[d17f6591d688f3bd]::result::Result<(), alloc[dad09f3a48280dba]::string::String>>
[INFO] [stdout]                                at /rustc/b8e88e5ddf5521a9f43ee3f62a702388c713e4bb/library/std/src/panicking.rs:581:40
[INFO] [stdout]   27:     0x60f4149ac5bb - std[fce30c26ee6459b]::panicking::catch_unwind::<core[d17f6591d688f3bd]::result::Result<(), alloc[dad09f3a48280dba]::string::String>, core[d17f6591d688f3bd]::panic::unwind_safe::AssertUnwindSafe<test[9653f4f1d2ca1489]::run_test_in_process::{closure#0}>>
[INFO] [stdout]                                at /rustc/b8e88e5ddf5521a9f43ee3f62a702388c713e4bb/library/std/src/panicking.rs:544:19
[INFO] [stdout]   28:     0x60f4149ac5bb - std[fce30c26ee6459b]::panic::catch_unwind::<core[d17f6591d688f3bd]::panic::unwind_safe::AssertUnwindSafe<test[9653f4f1d2ca1489]::run_test_in_process::{closure#0}>, core[d17f6591d688f3bd]::result::Result<(), alloc[dad09f3a48280dba]::string::String>>
[INFO] [stdout]                                at /rustc/b8e88e5ddf5521a9f43ee3f62a702388c713e4bb/library/std/src/panic.rs:359:14
[INFO] [stdout]   29:     0x60f4149ac5bb - test[9653f4f1d2ca1489]::run_test_in_process
[INFO] [stdout]                                at /rustc/b8e88e5ddf5521a9f43ee3f62a702388c713e4bb/library/test/src/lib.rs:747:27
[INFO] [stdout]   30:     0x60f4149ac5bb - test[9653f4f1d2ca1489]::run_test::{closure#0}
[INFO] [stdout]                                at /rustc/b8e88e5ddf5521a9f43ee3f62a702388c713e4bb/library/test/src/lib.rs:668:43
[INFO] [stdout]   31:     0x60f4149a5cd4 - test[9653f4f1d2ca1489]::run_test::{closure#1}
[INFO] [stdout]                                at /rustc/b8e88e5ddf5521a9f43ee3f62a702388c713e4bb/library/test/src/lib.rs:698:41
[INFO] [stdout]   32:     0x60f4149a5cd4 - std[fce30c26ee6459b]::sys::backtrace::__rust_begin_short_backtrace::<test[9653f4f1d2ca1489]::run_test::{closure#1}, ()>
[INFO] [stdout]                                at /rustc/b8e88e5ddf5521a9f43ee3f62a702388c713e4bb/library/std/src/sys/backtrace.rs:166:18
[INFO] [stdout]   33:     0x60f4149af1c2 - std[fce30c26ee6459b]::thread::lifecycle::spawn_unchecked::<test[9653f4f1d2ca1489]::run_test::{closure#1}, ()>::{closure#1}::{closure#0}
[INFO] [stdout]                                at /rustc/b8e88e5ddf5521a9f43ee3f62a702388c713e4bb/library/std/src/thread/lifecycle.rs:70:13
[INFO] [stdout]   34:     0x60f4149af1c2 - <core[d17f6591d688f3bd]::panic::unwind_safe::AssertUnwindSafe<std[fce30c26ee6459b]::thread::lifecycle::spawn_unchecked<test[9653f4f1d2ca1489]::run_test::{closure#1}, ()>::{closure#1}::{closure#0}> as core[d17f6591d688f3bd]::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]                                at /rustc/b8e88e5ddf5521a9f43ee3f62a702388c713e4bb/library/core/src/panic/unwind_safe.rs:275:9
[INFO] [stdout]   35:     0x60f4149af1c2 - std[fce30c26ee6459b]::panicking::catch_unwind::do_call::<core[d17f6591d688f3bd]::panic::unwind_safe::AssertUnwindSafe<std[fce30c26ee6459b]::thread::lifecycle::spawn_unchecked<test[9653f4f1d2ca1489]::run_test::{closure#1}, ()>::{closure#1}::{closure#0}>, ()>
[INFO] [stdout]                                at /rustc/b8e88e5ddf5521a9f43ee3f62a702388c713e4bb/library/std/src/panicking.rs:581:40
[INFO] [stdout]   36:     0x60f4149af1c2 - std[fce30c26ee6459b]::panicking::catch_unwind::<(), core[d17f6591d688f3bd]::panic::unwind_safe::AssertUnwindSafe<std[fce30c26ee6459b]::thread::lifecycle::spawn_unchecked<test[9653f4f1d2ca1489]::run_test::{closure#1}, ()>::{closure#1}::{closure#0}>>
[INFO] [stdout]                                at /rustc/b8e88e5ddf5521a9f43ee3f62a702388c713e4bb/library/std/src/panicking.rs:544:19
[INFO] [stdout]   37:     0x60f4149af1c2 - std[fce30c26ee6459b]::panic::catch_unwind::<core[d17f6591d688f3bd]::panic::unwind_safe::AssertUnwindSafe<std[fce30c26ee6459b]::thread::lifecycle::spawn_unchecked<test[9653f4f1d2ca1489]::run_test::{closure#1}, ()>::{closure#1}::{closure#0}>, ()>
[INFO] [stdout]                                at /rustc/b8e88e5ddf5521a9f43ee3f62a702388c713e4bb/library/std/src/panic.rs:359:14
[INFO] [stdout]   38:     0x60f4149af1c2 - std[fce30c26ee6459b]::thread::lifecycle::spawn_unchecked::<test[9653f4f1d2ca1489]::run_test::{closure#1}, ()>::{closure#1}
[INFO] [stdout]                                at /rustc/b8e88e5ddf5521a9f43ee3f62a702388c713e4bb/library/std/src/thread/lifecycle.rs:68:26
[INFO] [stdout]   39:     0x60f4149af1c2 - <std[fce30c26ee6459b]::thread::lifecycle::spawn_unchecked<test[9653f4f1d2ca1489]::run_test::{closure#1}, ()>::{closure#1} as core[d17f6591d688f3bd]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0}
[INFO] [stdout]                                at /rustc/b8e88e5ddf5521a9f43ee3f62a702388c713e4bb/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   40:     0x60f414ad579f - <alloc[dad09f3a48280dba]::boxed::Box<dyn core[d17f6591d688f3bd]::ops::function::FnOnce<(), Output = ()> + core[d17f6591d688f3bd]::marker::Send> as core[d17f6591d688f3bd]::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]                                at /rustc/b8e88e5ddf5521a9f43ee3f62a702388c713e4bb/library/alloc/src/boxed.rs:2271:9
[INFO] [stdout]   41:     0x60f414ad579f - <std[fce30c26ee6459b]::sys::thread::unix::Thread>::new::thread_start
[INFO] [stdout]                                at /rustc/b8e88e5ddf5521a9f43ee3f62a702388c713e4bb/library/std/src/sys/thread/unix.rs:118:17
[INFO] [stdout]   42:     0x72e4c8775aa4 - <unknown>
[INFO] [stdout]   43:     0x72e4c8802a64 - clone
[INFO] [stdout]   44:                0x0 - <unknown>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout]     greeks::test::monte_carlo_near_black_scholes_finite_difference_delta
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 15 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 265.32s
[INFO] [stdout] 
[INFO] [stderr] error: test failed, to rerun pass `--lib`
[INFO] running `Command { std: "docker" "inspect" "6b42291b18d0e719a0e8e4bdacce270228fff5b51c84cc75863d3d10d3a91dfa", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "6b42291b18d0e719a0e8e4bdacce270228fff5b51c84cc75863d3d10d3a91dfa", kill_on_drop: false }`
[INFO] [stdout] 6b42291b18d0e719a0e8e4bdacce270228fff5b51c84cc75863d3d10d3a91dfa
